@pushwoosh/rpc-v2-http-api-data 0.2.445 → 0.2.447
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/applications_configurations.d.ts +15 -0
- package/data.js +31 -0
- package/package.json +1 -1
- package/pushwoosh_rpc_popup_forms_v3.d.ts +3 -1
|
@@ -3,6 +3,7 @@ export type ApplicationsConfigurationsService_Configure = RpcMethod<Configuratio
|
|
|
3
3
|
export type ApplicationsConfigurationsService_ListSmsProviders = RpcMethod<ListSmsProvidersRequest, ListSmsProvidersResponse>;
|
|
4
4
|
export type ApplicationsConfigurationsService_SendTestSms = RpcMethod<SendTestSmsRequest, SendTestSmsResponse>;
|
|
5
5
|
export type ApplicationsConfigurationsService_EnablePlatform = RpcMethod<EnablePlatformRequest, EnablePlatformResponse>;
|
|
6
|
+
export type ApplicationsConfigurationsService_CreatePassKitSigningRequest = RpcMethod<CreatePassKitSigningRequestRequest, CreatePassKitSigningRequestResponse>;
|
|
6
7
|
export interface ApplicationsConfigurationsService {
|
|
7
8
|
/** Saves the provider credentials for one delivery platform or channel of an application (code XXXXX-XXXXX) — APNs/FCM push keys, an SMS provider, email sender, Telegram/Viber token, Google Wallet, etc. — then enables that platform. Pick the matching kind in the oneof; some providers (Telegram, Huawei) also call the external provider API to register a webhook or validate the token. */
|
|
8
9
|
Configure: ApplicationsConfigurationsService_Configure;
|
|
@@ -12,6 +13,8 @@ export interface ApplicationsConfigurationsService {
|
|
|
12
13
|
SendTestSms: ApplicationsConfigurationsService_SendTestSms;
|
|
13
14
|
/** Enables or disables a single delivery platform (by numeric platform id) for an application (code XXXXX-XXXXX) without touching its stored credentials. Use to toggle a channel on or off; update_platform_configuration already enables a platform after saving its credentials. */
|
|
14
15
|
EnablePlatform: ApplicationsConfigurationsService_EnablePlatform;
|
|
16
|
+
/** Starts an Apple Wallet setup without a Mac: generates and keeps the private key for an application (code XXXXX-XXXXX) and returns the certificate signing request to upload to Apple when creating a Pass Type ID Certificate. Hand the .cer Apple issues back to update_platform_configuration (ios_passkit_configuration, key file only, no password). Calling again returns a request for the same key, so a file already uploaded to Apple keeps matching; rotate starts over with a new key. */
|
|
17
|
+
CreatePassKitSigningRequest: ApplicationsConfigurationsService_CreatePassKitSigningRequest;
|
|
15
18
|
}
|
|
16
19
|
export type AndroidConfiguration = {
|
|
17
20
|
androidFramework: string;
|
|
@@ -85,6 +88,7 @@ export type IOSVoIPConfiguration = {
|
|
|
85
88
|
* to api.push.apple.com.
|
|
86
89
|
*/
|
|
87
90
|
export type IOSPassKitConfiguration = {
|
|
91
|
+
/** Either a .p12 with its password, or the bare .cer Apple issued for a request from create_passkit_signing_request (password left empty). */
|
|
88
92
|
iosPasskitKeyFile: string;
|
|
89
93
|
iosPasskitCertPassword: string;
|
|
90
94
|
};
|
|
@@ -386,6 +390,17 @@ export type EnablePlatformRequest = {
|
|
|
386
390
|
enable?: boolean;
|
|
387
391
|
};
|
|
388
392
|
export type EnablePlatformResponse = {};
|
|
393
|
+
export type CreatePassKitSigningRequestRequest = {
|
|
394
|
+
/** Application code (format XXXXX-XXXXX) to set Apple Wallet up for. */
|
|
395
|
+
code?: string;
|
|
396
|
+
/** Start over with a new key; a request given earlier stops matching. */
|
|
397
|
+
rotate?: boolean;
|
|
398
|
+
};
|
|
399
|
+
export type CreatePassKitSigningRequestResponse = {
|
|
400
|
+
/** PEM certificate signing request; save it as file_name and upload it to Apple. */
|
|
401
|
+
csr: string;
|
|
402
|
+
fileName: string;
|
|
403
|
+
};
|
|
389
404
|
export type ListSmsProvidersRequest = {};
|
|
390
405
|
export type ListSmsProvidersResponse = {
|
|
391
406
|
providers: SmsProvider[];
|
package/data.js
CHANGED
|
@@ -6231,6 +6231,12 @@ export const data = {
|
|
|
6231
6231
|
"response": "pushwoosh.rpc_v2.applications_configurations.EnablePlatformResponse",
|
|
6232
6232
|
"method": "post",
|
|
6233
6233
|
"path": "/api/applications_configurations:enable/{code}"
|
|
6234
|
+
},
|
|
6235
|
+
"CreatePassKitSigningRequest": {
|
|
6236
|
+
"request": "pushwoosh.rpc_v2.applications_configurations.CreatePassKitSigningRequestRequest",
|
|
6237
|
+
"response": "pushwoosh.rpc_v2.applications_configurations.CreatePassKitSigningRequestResponse",
|
|
6238
|
+
"method": "post",
|
|
6239
|
+
"path": "/api/applications_configurations:passkit_signing_request/{code}"
|
|
6234
6240
|
}
|
|
6235
6241
|
}
|
|
6236
6242
|
},
|
|
@@ -6917,6 +6923,28 @@ export const data = {
|
|
|
6917
6923
|
"type": "I",
|
|
6918
6924
|
"fields": {}
|
|
6919
6925
|
},
|
|
6926
|
+
"pushwoosh.rpc_v2.applications_configurations.CreatePassKitSigningRequestRequest": {
|
|
6927
|
+
"type": "I",
|
|
6928
|
+
"fields": {
|
|
6929
|
+
"code": {
|
|
6930
|
+
"type": "string"
|
|
6931
|
+
},
|
|
6932
|
+
"rotate": {
|
|
6933
|
+
"type": "boolean"
|
|
6934
|
+
}
|
|
6935
|
+
}
|
|
6936
|
+
},
|
|
6937
|
+
"pushwoosh.rpc_v2.applications_configurations.CreatePassKitSigningRequestResponse": {
|
|
6938
|
+
"type": "I",
|
|
6939
|
+
"fields": {
|
|
6940
|
+
"csr": {
|
|
6941
|
+
"type": "string"
|
|
6942
|
+
},
|
|
6943
|
+
"fileName": {
|
|
6944
|
+
"type": "string"
|
|
6945
|
+
}
|
|
6946
|
+
}
|
|
6947
|
+
},
|
|
6920
6948
|
"pushwoosh.rpc_v2.applications_configurations.ListSmsProvidersRequest": {
|
|
6921
6949
|
"type": "I",
|
|
6922
6950
|
"fields": {}
|
|
@@ -32413,6 +32441,9 @@ export const data = {
|
|
|
32413
32441
|
"submitErrors": {
|
|
32414
32442
|
"type": "number",
|
|
32415
32443
|
"mapKeyType": "string"
|
|
32444
|
+
},
|
|
32445
|
+
"popupFormContentKind": {
|
|
32446
|
+
"type": "string"
|
|
32416
32447
|
}
|
|
32417
32448
|
}
|
|
32418
32449
|
},
|
package/package.json
CHANGED
|
@@ -137,7 +137,7 @@ export type PopupFormsService_DeactivatePopupForms = RpcMethod<DeactivatePopupFo
|
|
|
137
137
|
export type PopupFormsService_ActivatePopupForms = RpcMethod<ActivatePopupFormsRequest, ActivatePopupFormsResponse>;
|
|
138
138
|
export type PopupFormsService_DeletePopupForms = RpcMethod<DeletePopupFormsRequest, DeletePopupFormsResponse>;
|
|
139
139
|
export interface PopupFormsService {
|
|
140
|
-
/** Lists web popup forms for an application code, newest-published first, with paging, name/code search and optional status and kind filters; each item carries visitor and impression counts. Use to browse popup forms or find a popup form code before fetching details. */
|
|
140
|
+
/** Lists web popup forms for an application code, newest-published first, with paging, name/code search and optional status and kind filters; each item carries visitor and impression counts and the kind of its content (CONTENT or FORM). Use to browse popup forms or find a popup form code before fetching details. */
|
|
141
141
|
List: PopupFormsService_List;
|
|
142
142
|
/** Returns a single web popup form by its popup form code, including status, display rules, audience targeting and the associated content and subscription form. Use after list_popup_forms to inspect one form's full configuration. */
|
|
143
143
|
Get: PopupFormsService_Get;
|
|
@@ -289,6 +289,8 @@ export type ListResponse_ListItem = {
|
|
|
289
289
|
* An event without a reason is counted under "unknown".
|
|
290
290
|
*/
|
|
291
291
|
submitErrors: Record<string, number>;
|
|
292
|
+
/** Kind of the campaign's content: "CONTENT" or "FORM" (as PopupFormContent.kind). Empty when the campaign has no content or it was deleted. */
|
|
293
|
+
popupFormContentKind: string;
|
|
292
294
|
};
|
|
293
295
|
export type ListResponse = {
|
|
294
296
|
/** List of Popup Forms for the current page. */
|