@pushwoosh/rpc-v2-http-api-data 0.1.718 → 0.1.720
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.
|
@@ -77,6 +77,10 @@ export type LineConfiguration = {
|
|
|
77
77
|
lineChannelId: string;
|
|
78
78
|
lineChannelSecret: string;
|
|
79
79
|
};
|
|
80
|
+
export type KakaoConfiguration = {
|
|
81
|
+
kakaoUserCode: string;
|
|
82
|
+
kakaoSecretKey: string;
|
|
83
|
+
};
|
|
80
84
|
export type WebConfiguration = {
|
|
81
85
|
webVapidPublicKey: string;
|
|
82
86
|
webVapidPrivateKey: string;
|
|
@@ -142,7 +146,11 @@ export type ConfigurationRequest_kind_webConfiguration = {
|
|
|
142
146
|
type: 'webConfiguration';
|
|
143
147
|
data: WebConfiguration;
|
|
144
148
|
};
|
|
145
|
-
export type
|
|
149
|
+
export type ConfigurationRequest_kind_kakaoConfiguration = {
|
|
150
|
+
type: 'kakaoConfiguration';
|
|
151
|
+
data: KakaoConfiguration;
|
|
152
|
+
};
|
|
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;
|
|
146
154
|
export type ConfigurationRequest = {
|
|
147
155
|
code?: string;
|
|
148
156
|
kind: ConfigurationRequest_kind;
|
package/data.js
CHANGED
|
@@ -2607,6 +2607,17 @@ export const data = {
|
|
|
2607
2607
|
}
|
|
2608
2608
|
}
|
|
2609
2609
|
},
|
|
2610
|
+
"pushwoosh.rpc_v2.applications_configurations.KakaoConfiguration": {
|
|
2611
|
+
"type": "I",
|
|
2612
|
+
"fields": {
|
|
2613
|
+
"kakaoUserCode": {
|
|
2614
|
+
"type": "string"
|
|
2615
|
+
},
|
|
2616
|
+
"kakaoSecretKey": {
|
|
2617
|
+
"type": "string"
|
|
2618
|
+
}
|
|
2619
|
+
}
|
|
2620
|
+
},
|
|
2610
2621
|
"pushwoosh.rpc_v2.applications_configurations.WebConfiguration": {
|
|
2611
2622
|
"type": "I",
|
|
2612
2623
|
"fields": {
|
|
@@ -2671,6 +2682,9 @@ export const data = {
|
|
|
2671
2682
|
},
|
|
2672
2683
|
"webConfiguration": {
|
|
2673
2684
|
"type": "pushwoosh.rpc_v2.applications_configurations.WebConfiguration"
|
|
2685
|
+
},
|
|
2686
|
+
"kakaoConfiguration": {
|
|
2687
|
+
"type": "pushwoosh.rpc_v2.applications_configurations.KakaoConfiguration"
|
|
2674
2688
|
}
|
|
2675
2689
|
},
|
|
2676
2690
|
"oneofs": {
|
|
@@ -2690,7 +2704,8 @@ export const data = {
|
|
|
2690
2704
|
"firefoxConfiguration",
|
|
2691
2705
|
"baiduConfiguration",
|
|
2692
2706
|
"lineConfiguration",
|
|
2693
|
-
"webConfiguration"
|
|
2707
|
+
"webConfiguration",
|
|
2708
|
+
"kakaoConfiguration"
|
|
2694
2709
|
]
|
|
2695
2710
|
}
|
|
2696
2711
|
}
|
|
@@ -4516,6 +4531,20 @@ export const data = {
|
|
|
4516
4531
|
}
|
|
4517
4532
|
}
|
|
4518
4533
|
},
|
|
4534
|
+
"pushwoosh.channels.messagingApi.v2.Content.PlatformPropertiesKakao": {
|
|
4535
|
+
"type": "I",
|
|
4536
|
+
"fields": {
|
|
4537
|
+
"content": {
|
|
4538
|
+
"type": "string"
|
|
4539
|
+
},
|
|
4540
|
+
"template": {
|
|
4541
|
+
"type": "string"
|
|
4542
|
+
},
|
|
4543
|
+
"contentVariables": {
|
|
4544
|
+
"type": "string"
|
|
4545
|
+
}
|
|
4546
|
+
}
|
|
4547
|
+
},
|
|
4519
4548
|
"pushwoosh.channels.messagingApi.v2.Content": {
|
|
4520
4549
|
"type": "I",
|
|
4521
4550
|
"fields": {
|
|
@@ -4554,6 +4583,9 @@ export const data = {
|
|
|
4554
4583
|
},
|
|
4555
4584
|
"telegram": {
|
|
4556
4585
|
"type": "pushwoosh.channels.messagingApi.v2.Content.PlatformPropertiesTelegram"
|
|
4586
|
+
},
|
|
4587
|
+
"kakao": {
|
|
4588
|
+
"type": "pushwoosh.channels.messagingApi.v2.Content.PlatformPropertiesKakao"
|
|
4557
4589
|
}
|
|
4558
4590
|
}
|
|
4559
4591
|
},
|
|
@@ -21920,6 +21952,12 @@ export const data = {
|
|
|
21920
21952
|
"response": "pushwoosh.rpc_v2.vouchers.AddVouchersResponse",
|
|
21921
21953
|
"method": "post",
|
|
21922
21954
|
"path": "/api/vouchers"
|
|
21955
|
+
},
|
|
21956
|
+
"ExportVouchers": {
|
|
21957
|
+
"request": "pushwoosh.rpc_v2.vouchers.ExportVouchersRequest",
|
|
21958
|
+
"response": "pushwoosh.rpc_v2.vouchers.ExportVouchersResponse",
|
|
21959
|
+
"method": "post",
|
|
21960
|
+
"path": "/api/vouchers/export"
|
|
21923
21961
|
}
|
|
21924
21962
|
}
|
|
21925
21963
|
},
|
|
@@ -22007,6 +22045,28 @@ export const data = {
|
|
|
22007
22045
|
}
|
|
22008
22046
|
}
|
|
22009
22047
|
},
|
|
22048
|
+
"pushwoosh.rpc_v2.vouchers.ExportVouchersRequest": {
|
|
22049
|
+
"type": "I",
|
|
22050
|
+
"fields": {
|
|
22051
|
+
"application": {
|
|
22052
|
+
"type": "string"
|
|
22053
|
+
},
|
|
22054
|
+
"pool": {
|
|
22055
|
+
"type": "string"
|
|
22056
|
+
}
|
|
22057
|
+
}
|
|
22058
|
+
},
|
|
22059
|
+
"pushwoosh.rpc_v2.vouchers.ExportVouchersResponse": {
|
|
22060
|
+
"type": "I",
|
|
22061
|
+
"fields": {
|
|
22062
|
+
"url": {
|
|
22063
|
+
"type": "string"
|
|
22064
|
+
},
|
|
22065
|
+
"filename": {
|
|
22066
|
+
"type": "string"
|
|
22067
|
+
}
|
|
22068
|
+
}
|
|
22069
|
+
},
|
|
22010
22070
|
"pushwoosh.rpc_v2.whatsapp.WhatsAppService": {
|
|
22011
22071
|
"type": "S",
|
|
22012
22072
|
"key": "whatsApp",
|
package/package.json
CHANGED
|
@@ -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
|
+
};
|