@pushwoosh/rpc-v2-http-api-data 0.1.719 → 0.1.721

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.
@@ -63,6 +63,11 @@ export type IOSTokenConfiguration = {
63
63
  iosAuthKey: string;
64
64
  iosGateway: number;
65
65
  };
66
+ export type IOSVoIPConfiguration = {
67
+ iosVoipGateway: number;
68
+ iosVoipKeyFile: string;
69
+ iosVoipCertPassword: string;
70
+ };
66
71
  export type FirefoxConfiguration = {
67
72
  firefoxVapidKey: string;
68
73
  firefoxVapidPrivateKey: string;
@@ -130,6 +135,10 @@ export type ConfigurationRequest_kind_iosTokenConfiguration = {
130
135
  type: 'iosTokenConfiguration';
131
136
  data: IOSTokenConfiguration;
132
137
  };
138
+ export type ConfigurationRequest_kind_iosVoipConfiguration = {
139
+ type: 'iosVoipConfiguration';
140
+ data: IOSVoIPConfiguration;
141
+ };
133
142
  export type ConfigurationRequest_kind_firefoxConfiguration = {
134
143
  type: 'firefoxConfiguration';
135
144
  data: FirefoxConfiguration;
@@ -150,7 +159,7 @@ export type ConfigurationRequest_kind_kakaoConfiguration = {
150
159
  type: 'kakaoConfiguration';
151
160
  data: KakaoConfiguration;
152
161
  };
153
- export type ConfigurationRequest_kind = ConfigurationRequest_kind_androidConfiguration | ConfigurationRequest_kind_chromeConfiguration | ConfigurationRequest_kind_emailConfiguration | ConfigurationRequest_kind_huaweiConfiguration | ConfigurationRequest_kind_safariConfiguration | ConfigurationRequest_kind_windowsConfiguration | ConfigurationRequest_kind_amazonConfiguration | ConfigurationRequest_kind_osxConfiguration | ConfigurationRequest_kind_osxTokenConfiguration | ConfigurationRequest_kind_iosConfiguration | ConfigurationRequest_kind_iosTokenConfiguration | ConfigurationRequest_kind_firefoxConfiguration | ConfigurationRequest_kind_baiduConfiguration | ConfigurationRequest_kind_lineConfiguration | ConfigurationRequest_kind_webConfiguration | ConfigurationRequest_kind_kakaoConfiguration;
162
+ export type ConfigurationRequest_kind = ConfigurationRequest_kind_androidConfiguration | ConfigurationRequest_kind_chromeConfiguration | ConfigurationRequest_kind_emailConfiguration | ConfigurationRequest_kind_huaweiConfiguration | ConfigurationRequest_kind_safariConfiguration | ConfigurationRequest_kind_windowsConfiguration | ConfigurationRequest_kind_amazonConfiguration | ConfigurationRequest_kind_osxConfiguration | ConfigurationRequest_kind_osxTokenConfiguration | ConfigurationRequest_kind_iosConfiguration | ConfigurationRequest_kind_iosTokenConfiguration | ConfigurationRequest_kind_iosVoipConfiguration | ConfigurationRequest_kind_firefoxConfiguration | ConfigurationRequest_kind_baiduConfiguration | ConfigurationRequest_kind_lineConfiguration | ConfigurationRequest_kind_webConfiguration | ConfigurationRequest_kind_kakaoConfiguration;
154
163
  export type ConfigurationRequest = {
155
164
  code?: string;
156
165
  kind: ConfigurationRequest_kind;
package/data.js CHANGED
@@ -2568,6 +2568,20 @@ export const data = {
2568
2568
  }
2569
2569
  }
2570
2570
  },
2571
+ "pushwoosh.rpc_v2.applications_configurations.IOSVoIPConfiguration": {
2572
+ "type": "I",
2573
+ "fields": {
2574
+ "iosVoipGateway": {
2575
+ "type": "number"
2576
+ },
2577
+ "iosVoipKeyFile": {
2578
+ "type": "string"
2579
+ },
2580
+ "iosVoipCertPassword": {
2581
+ "type": "string"
2582
+ }
2583
+ }
2584
+ },
2571
2585
  "pushwoosh.rpc_v2.applications_configurations.FirefoxConfiguration": {
2572
2586
  "type": "I",
2573
2587
  "fields": {
@@ -2671,6 +2685,9 @@ export const data = {
2671
2685
  "iosTokenConfiguration": {
2672
2686
  "type": "pushwoosh.rpc_v2.applications_configurations.IOSTokenConfiguration"
2673
2687
  },
2688
+ "iosVoipConfiguration": {
2689
+ "type": "pushwoosh.rpc_v2.applications_configurations.IOSVoIPConfiguration"
2690
+ },
2674
2691
  "firefoxConfiguration": {
2675
2692
  "type": "pushwoosh.rpc_v2.applications_configurations.FirefoxConfiguration"
2676
2693
  },
@@ -2701,6 +2718,7 @@ export const data = {
2701
2718
  "osxTokenConfiguration",
2702
2719
  "iosConfiguration",
2703
2720
  "iosTokenConfiguration",
2721
+ "iosVoipConfiguration",
2704
2722
  "firefoxConfiguration",
2705
2723
  "baiduConfiguration",
2706
2724
  "lineConfiguration",
@@ -4531,6 +4549,20 @@ export const data = {
4531
4549
  }
4532
4550
  }
4533
4551
  },
4552
+ "pushwoosh.channels.messagingApi.v2.Content.PlatformPropertiesKakao": {
4553
+ "type": "I",
4554
+ "fields": {
4555
+ "content": {
4556
+ "type": "string"
4557
+ },
4558
+ "template": {
4559
+ "type": "string"
4560
+ },
4561
+ "contentVariables": {
4562
+ "type": "string"
4563
+ }
4564
+ }
4565
+ },
4534
4566
  "pushwoosh.channels.messagingApi.v2.Content": {
4535
4567
  "type": "I",
4536
4568
  "fields": {
@@ -4569,6 +4601,9 @@ export const data = {
4569
4601
  },
4570
4602
  "telegram": {
4571
4603
  "type": "pushwoosh.channels.messagingApi.v2.Content.PlatformPropertiesTelegram"
4604
+ },
4605
+ "kakao": {
4606
+ "type": "pushwoosh.channels.messagingApi.v2.Content.PlatformPropertiesKakao"
4572
4607
  }
4573
4608
  }
4574
4609
  },
@@ -21935,6 +21970,12 @@ export const data = {
21935
21970
  "response": "pushwoosh.rpc_v2.vouchers.AddVouchersResponse",
21936
21971
  "method": "post",
21937
21972
  "path": "/api/vouchers"
21973
+ },
21974
+ "ExportVouchers": {
21975
+ "request": "pushwoosh.rpc_v2.vouchers.ExportVouchersRequest",
21976
+ "response": "pushwoosh.rpc_v2.vouchers.ExportVouchersResponse",
21977
+ "method": "post",
21978
+ "path": "/api/vouchers/export"
21938
21979
  }
21939
21980
  }
21940
21981
  },
@@ -22022,6 +22063,28 @@ export const data = {
22022
22063
  }
22023
22064
  }
22024
22065
  },
22066
+ "pushwoosh.rpc_v2.vouchers.ExportVouchersRequest": {
22067
+ "type": "I",
22068
+ "fields": {
22069
+ "application": {
22070
+ "type": "string"
22071
+ },
22072
+ "pool": {
22073
+ "type": "string"
22074
+ }
22075
+ }
22076
+ },
22077
+ "pushwoosh.rpc_v2.vouchers.ExportVouchersResponse": {
22078
+ "type": "I",
22079
+ "fields": {
22080
+ "url": {
22081
+ "type": "string"
22082
+ },
22083
+ "filename": {
22084
+ "type": "string"
22085
+ }
22086
+ }
22087
+ },
22025
22088
  "pushwoosh.rpc_v2.whatsapp.WhatsAppService": {
22026
22089
  "type": "S",
22027
22090
  "key": "whatsApp",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.1.719",
3
+ "version": "0.1.721",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -359,6 +359,11 @@ export type Content_PlatformPropertiesSMS = {};
359
359
  export type Content_PlatformPropertiesTelegram = {
360
360
  body: string;
361
361
  };
362
+ export type Content_PlatformPropertiesKakao = {
363
+ content: string;
364
+ template: string;
365
+ contentVariables: string;
366
+ };
362
367
  export type Content = {
363
368
  ios: Content_PlatformPropertiesIos;
364
369
  android: Content_PlatformPropertiesAndroid;
@@ -372,6 +377,7 @@ export type Content = {
372
377
  ie: Content_PlatformPropertiesIE;
373
378
  windows: Content_PlatformPropertiesWindows;
374
379
  telegram: Content_PlatformPropertiesTelegram;
380
+ kakao: Content_PlatformPropertiesKakao;
375
381
  };
376
382
  export type LocalizedContent = {
377
383
  localizedContent: Record<string, Content>;
package/vouchers.d.ts CHANGED
@@ -2,6 +2,7 @@ export interface VouchersService {
2
2
  GetPools(request: GetPoolsRequest): Promise<GetPoolsResponse>;
3
3
  CreatePool(request: CreatePoolRequest): Promise<CreatePoolResponse>;
4
4
  AddVouchers(request: AddVouchersRequest): Promise<AddVouchersResponse>;
5
+ ExportVouchers(request: ExportVouchersRequest): Promise<ExportVouchersResponse>;
5
6
  }
6
7
  export type CreatePoolRequest = {
7
8
  application?: string;
@@ -31,3 +32,11 @@ export type Pool = {
31
32
  expiry: Date;
32
33
  createdAt: Date;
33
34
  };
35
+ export type ExportVouchersRequest = {
36
+ application?: string;
37
+ pool?: string;
38
+ };
39
+ export type ExportVouchersResponse = {
40
+ url: string;
41
+ filename: string;
42
+ };