@pushwoosh/rpc-v2-http-api-data 0.2.274 → 0.2.276
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_alerts.d.ts +1 -1
- package/applications_info.d.ts +6 -0
- package/data.js +26 -0
- package/package.json +1 -1
- package/presets.d.ts +11 -0
package/applications_alerts.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export type AlertError = 'ALERT_ERROR_UNSPECIFIED'
|
|
|
9
9
|
/** warnings */
|
|
10
10
|
| 'SUBSCRIBERS_QUOTA_ALMOST_REACHED' | 'EMAIL_QUOTA_ALMOST_REACHED'
|
|
11
11
|
/** errors */
|
|
12
|
-
| 'EMAIL_QUOTA_REACHED' | 'SUSPENDED_ACCOUNT' | 'MANUALLY_SUSPENDED_ACCOUNT' | 'APPLE_CERTIFICATE_EXPIRED' | 'PAYMENT_FAILED' | 'PLATFORM_DISABLED' | 'PAYMENT_OVERDUE' | 'PAYMENT_ATTEMPT_FAILED' | 'EMAIL_CONFIGURATION_NOT_COMPLETED' | 'EMAIL_SENDING_PAUSED_COMPLAINT_RATE' | 'EMAIL_SENDING_PAUSED_HARD_BOUNCE_RATE' | 'EMAIL_SENDING_PAUSED_BOTH_RATES'
|
|
12
|
+
| 'EMAIL_QUOTA_REACHED' | 'SUSPENDED_ACCOUNT' | 'MANUALLY_SUSPENDED_ACCOUNT' | 'APPLE_CERTIFICATE_EXPIRED' | 'PAYMENT_FAILED' | 'PLATFORM_DISABLED' | 'PAYMENT_OVERDUE' | 'PAYMENT_ATTEMPT_FAILED' | 'EMAIL_CONFIGURATION_NOT_COMPLETED' | 'EMAIL_SENDING_PAUSED_COMPLAINT_RATE' | 'EMAIL_SENDING_PAUSED_HARD_BOUNCE_RATE' | 'EMAIL_SENDING_PAUSED_BOTH_RATES' | 'IOS_DELIVERY_TRACKING_NOT_CONFIGURED' | 'IOS_DELIVERY_TRACKING_MISROUTED'
|
|
13
13
|
/** recommendation */
|
|
14
14
|
| 'SDK_INTEGRATION' | 'THIRD_PARTY_INTEGRATION';
|
|
15
15
|
export type Alert = {
|
package/applications_info.d.ts
CHANGED
|
@@ -11,6 +11,11 @@ export type GetPlatformsInfoRequest = {
|
|
|
11
11
|
export type GetPlatformsInfoResponse = {
|
|
12
12
|
applicationsPlatformsInfo: ApplicationPlatformsInfo[];
|
|
13
13
|
};
|
|
14
|
+
/**
|
|
15
|
+
* Whether the platform's delivery callback reaches us. On iOS it requires a
|
|
16
|
+
* Notification Service Extension on the customer side; without one delivery is a structural zero.
|
|
17
|
+
*/
|
|
18
|
+
export type DeliveryTrackingState = 'DELIVERY_TRACKING_STATE_UNSPECIFIED' | 'DELIVERY_TRACKING_STATE_OK' | 'DELIVERY_TRACKING_STATE_NOT_CONFIGURED' | 'DELIVERY_TRACKING_STATE_MISROUTED';
|
|
14
19
|
export type ApplicationPlatformsInfo_PlatformInfo = {
|
|
15
20
|
isConfigured: boolean;
|
|
16
21
|
isActive: boolean;
|
|
@@ -18,6 +23,7 @@ export type ApplicationPlatformsInfo_PlatformInfo = {
|
|
|
18
23
|
deactivationReason: string;
|
|
19
24
|
certificateTimeLeft: Duration;
|
|
20
25
|
properties: Record<string, string>;
|
|
26
|
+
deliveryTracking: DeliveryTrackingState;
|
|
21
27
|
};
|
|
22
28
|
export type ApplicationPlatformsInfo_AppInboxInfo = {
|
|
23
29
|
available: boolean;
|
package/data.js
CHANGED
|
@@ -5930,6 +5930,8 @@ export const data = {
|
|
|
5930
5930
|
"EMAIL_SENDING_PAUSED_COMPLAINT_RATE",
|
|
5931
5931
|
"EMAIL_SENDING_PAUSED_HARD_BOUNCE_RATE",
|
|
5932
5932
|
"EMAIL_SENDING_PAUSED_BOTH_RATES",
|
|
5933
|
+
"IOS_DELIVERY_TRACKING_NOT_CONFIGURED",
|
|
5934
|
+
"IOS_DELIVERY_TRACKING_MISROUTED",
|
|
5933
5935
|
"SDK_INTEGRATION",
|
|
5934
5936
|
"THIRD_PARTY_INTEGRATION"
|
|
5935
5937
|
]
|
|
@@ -7236,6 +7238,15 @@ export const data = {
|
|
|
7236
7238
|
}
|
|
7237
7239
|
}
|
|
7238
7240
|
},
|
|
7241
|
+
"pushwoosh.rpc_v2.applications_info.DeliveryTrackingState": {
|
|
7242
|
+
"type": "E",
|
|
7243
|
+
"values": [
|
|
7244
|
+
"DELIVERY_TRACKING_STATE_UNSPECIFIED",
|
|
7245
|
+
"DELIVERY_TRACKING_STATE_OK",
|
|
7246
|
+
"DELIVERY_TRACKING_STATE_NOT_CONFIGURED",
|
|
7247
|
+
"DELIVERY_TRACKING_STATE_MISROUTED"
|
|
7248
|
+
]
|
|
7249
|
+
},
|
|
7239
7250
|
"pushwoosh.rpc_v2.applications_info.ApplicationPlatformsInfo.PlatformInfo": {
|
|
7240
7251
|
"type": "I",
|
|
7241
7252
|
"fields": {
|
|
@@ -7257,6 +7268,9 @@ export const data = {
|
|
|
7257
7268
|
"properties": {
|
|
7258
7269
|
"type": "string",
|
|
7259
7270
|
"mapKeyType": "string"
|
|
7271
|
+
},
|
|
7272
|
+
"deliveryTracking": {
|
|
7273
|
+
"type": "pushwoosh.rpc_v2.applications_info.DeliveryTrackingState"
|
|
7260
7274
|
}
|
|
7261
7275
|
}
|
|
7262
7276
|
},
|
|
@@ -28371,6 +28385,9 @@ export const data = {
|
|
|
28371
28385
|
},
|
|
28372
28386
|
"contentVersionNo": {
|
|
28373
28387
|
"type": "number"
|
|
28388
|
+
},
|
|
28389
|
+
"adCampaignId": {
|
|
28390
|
+
"type": "number"
|
|
28374
28391
|
}
|
|
28375
28392
|
}
|
|
28376
28393
|
},
|
|
@@ -28552,6 +28569,9 @@ export const data = {
|
|
|
28552
28569
|
},
|
|
28553
28570
|
"contentSource": {
|
|
28554
28571
|
"type": "pushwoosh.rpc_v2.presets.ContentSource"
|
|
28572
|
+
},
|
|
28573
|
+
"adCampaignId": {
|
|
28574
|
+
"type": "number"
|
|
28555
28575
|
}
|
|
28556
28576
|
}
|
|
28557
28577
|
},
|
|
@@ -28698,6 +28718,9 @@ export const data = {
|
|
|
28698
28718
|
},
|
|
28699
28719
|
"contentSource": {
|
|
28700
28720
|
"type": "pushwoosh.rpc_v2.presets.ContentSource"
|
|
28721
|
+
},
|
|
28722
|
+
"adCampaignId": {
|
|
28723
|
+
"type": "number"
|
|
28701
28724
|
}
|
|
28702
28725
|
}
|
|
28703
28726
|
},
|
|
@@ -28825,6 +28848,9 @@ export const data = {
|
|
|
28825
28848
|
},
|
|
28826
28849
|
"contentSource": {
|
|
28827
28850
|
"type": "pushwoosh.rpc_v2.presets.ContentSource"
|
|
28851
|
+
},
|
|
28852
|
+
"adCampaignId": {
|
|
28853
|
+
"type": "number"
|
|
28828
28854
|
}
|
|
28829
28855
|
}
|
|
28830
28856
|
},
|
package/package.json
CHANGED
package/presets.d.ts
CHANGED
|
@@ -189,6 +189,11 @@ export type Preset = {
|
|
|
189
189
|
* content approval.
|
|
190
190
|
*/
|
|
191
191
|
contentVersionNo: number;
|
|
192
|
+
/**
|
|
193
|
+
* Ad campaign this preset sells: a send made from it carries the creative
|
|
194
|
+
* instead of its own content. 0 = an ordinary push.
|
|
195
|
+
*/
|
|
196
|
+
adCampaignId: number;
|
|
192
197
|
};
|
|
193
198
|
export type ListPresetsResponse = {
|
|
194
199
|
presets: Preset[];
|
|
@@ -272,6 +277,8 @@ export type CreatePresetRequest = {
|
|
|
272
277
|
isV2?: boolean;
|
|
273
278
|
/** The recipe the content was assembled from; unset stores a hand-written preset. */
|
|
274
279
|
contentSource?: ContentSource;
|
|
280
|
+
/** Ad campaign the preset sells; 0 = an ordinary push. */
|
|
281
|
+
adCampaignId?: number;
|
|
275
282
|
};
|
|
276
283
|
export type CreatePresetResponse = {
|
|
277
284
|
preset: Preset;
|
|
@@ -344,6 +351,8 @@ export type UpdatePresetRequest = {
|
|
|
344
351
|
* an empty source clears it.
|
|
345
352
|
*/
|
|
346
353
|
contentSource?: ContentSource;
|
|
354
|
+
/** Ad campaign the preset sells; absent leaves it as it is, 0 clears it. */
|
|
355
|
+
adCampaignId?: number;
|
|
347
356
|
};
|
|
348
357
|
export type UpdatePresetPartialRequest = {
|
|
349
358
|
/** Preset code of the push preset to patch. */
|
|
@@ -406,6 +415,8 @@ export type UpdatePresetPartialRequest = {
|
|
|
406
415
|
isV2?: boolean;
|
|
407
416
|
/** The recipe the content was assembled from; unset leaves the stored one untouched. */
|
|
408
417
|
contentSource?: ContentSource;
|
|
418
|
+
/** Ad campaign the preset sells; absent leaves it as it is, 0 clears it. */
|
|
419
|
+
adCampaignId?: number;
|
|
409
420
|
};
|
|
410
421
|
export type UpdatePresetResponse = {
|
|
411
422
|
preset: Preset;
|