@pushwoosh/rpc-v2-http-api-data 0.1.719 → 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.
- package/data.js +45 -0
- package/package.json +1 -1
- package/pushwoosh_channels_messagingApi_v2.d.ts +6 -0
- package/vouchers.d.ts +9 -0
package/data.js
CHANGED
|
@@ -4531,6 +4531,20 @@ export const data = {
|
|
|
4531
4531
|
}
|
|
4532
4532
|
}
|
|
4533
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
|
+
},
|
|
4534
4548
|
"pushwoosh.channels.messagingApi.v2.Content": {
|
|
4535
4549
|
"type": "I",
|
|
4536
4550
|
"fields": {
|
|
@@ -4569,6 +4583,9 @@ export const data = {
|
|
|
4569
4583
|
},
|
|
4570
4584
|
"telegram": {
|
|
4571
4585
|
"type": "pushwoosh.channels.messagingApi.v2.Content.PlatformPropertiesTelegram"
|
|
4586
|
+
},
|
|
4587
|
+
"kakao": {
|
|
4588
|
+
"type": "pushwoosh.channels.messagingApi.v2.Content.PlatformPropertiesKakao"
|
|
4572
4589
|
}
|
|
4573
4590
|
}
|
|
4574
4591
|
},
|
|
@@ -21935,6 +21952,12 @@ export const data = {
|
|
|
21935
21952
|
"response": "pushwoosh.rpc_v2.vouchers.AddVouchersResponse",
|
|
21936
21953
|
"method": "post",
|
|
21937
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"
|
|
21938
21961
|
}
|
|
21939
21962
|
}
|
|
21940
21963
|
},
|
|
@@ -22022,6 +22045,28 @@ export const data = {
|
|
|
22022
22045
|
}
|
|
22023
22046
|
}
|
|
22024
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
|
+
},
|
|
22025
22070
|
"pushwoosh.rpc_v2.whatsapp.WhatsAppService": {
|
|
22026
22071
|
"type": "S",
|
|
22027
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
|
+
};
|