@pushwoosh/rpc-v2-http-api-data 0.1.957 → 0.1.958

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.
@@ -1,9 +1,13 @@
1
1
  import { RpcMethod } from './commonTypes';
2
2
  export type ApplicationEmailFromsService_List = RpcMethod<ListRequest, ListResponse>;
3
3
  export type ApplicationEmailFromsService_Use = RpcMethod<UseRequest, UseResponse>;
4
+ export type ApplicationEmailFromsService_GetEmailFooter = RpcMethod<GetEmailFooterRequest, GetEmailFooterResponse>;
5
+ export type ApplicationEmailFromsService_SetEmailFooter = RpcMethod<SetEmailFooterRequest, SetEmailFooterResponse>;
4
6
  export interface ApplicationEmailFromsService {
5
7
  List: ApplicationEmailFromsService_List;
6
8
  Use: ApplicationEmailFromsService_Use;
9
+ GetEmailFooter: ApplicationEmailFromsService_GetEmailFooter;
10
+ SetEmailFooter: ApplicationEmailFromsService_SetEmailFooter;
7
11
  }
8
12
  export type ListRequest = {
9
13
  application?: string;
@@ -16,3 +20,37 @@ export type UseRequest = {
16
20
  email?: string;
17
21
  };
18
22
  export type UseResponse = {};
23
+ export type SocialPlatform = 'SOCIAL_PLATFORM_UNSPECIFIED' | 'SOCIAL_PLATFORM_FACEBOOK' | 'SOCIAL_PLATFORM_X' | 'SOCIAL_PLATFORM_INSTAGRAM' | 'SOCIAL_PLATFORM_LINKEDIN' | 'SOCIAL_PLATFORM_YOUTUBE' | 'SOCIAL_PLATFORM_TIKTOK';
24
+ export type AppStorePlatform = 'APP_STORE_PLATFORM_UNSPECIFIED' | 'APP_STORE_PLATFORM_APP_STORE' | 'APP_STORE_PLATFORM_GOOGLE_PLAY';
25
+ export type NavLink = {
26
+ label: string;
27
+ url: string;
28
+ };
29
+ export type SocialLink = {
30
+ platform: SocialPlatform;
31
+ url: string;
32
+ };
33
+ export type AppBadge = {
34
+ platform: AppStorePlatform;
35
+ url: string;
36
+ };
37
+ export type EmailFooter = {
38
+ companyName: string;
39
+ address: string;
40
+ copyright: string;
41
+ unsubscribeLabel: string;
42
+ links: NavLink[];
43
+ social: SocialLink[];
44
+ appBadges: AppBadge[];
45
+ };
46
+ export type GetEmailFooterRequest = {
47
+ application?: string;
48
+ };
49
+ export type GetEmailFooterResponse = {
50
+ footer: EmailFooter;
51
+ };
52
+ export type SetEmailFooterRequest = {
53
+ application?: string;
54
+ footer?: EmailFooter;
55
+ };
56
+ export type SetEmailFooterResponse = {};
package/data.js CHANGED
@@ -3127,6 +3127,18 @@ export const data = {
3127
3127
  "response": "pushwoosh.rpc_v2.applications.email_froms.UseResponse",
3128
3128
  "method": "post",
3129
3129
  "path": "/api/application_email_froms"
3130
+ },
3131
+ "GetEmailFooter": {
3132
+ "request": "pushwoosh.rpc_v2.applications.email_froms.GetEmailFooterRequest",
3133
+ "response": "pushwoosh.rpc_v2.applications.email_froms.GetEmailFooterResponse",
3134
+ "method": "get",
3135
+ "path": "/api/application_email_footer/{application}"
3136
+ },
3137
+ "SetEmailFooter": {
3138
+ "request": "pushwoosh.rpc_v2.applications.email_froms.SetEmailFooterRequest",
3139
+ "response": "pushwoosh.rpc_v2.applications.email_froms.SetEmailFooterResponse",
3140
+ "method": "post",
3141
+ "path": "/api/application_email_footer/{application}"
3130
3142
  }
3131
3143
  }
3132
3144
  },
@@ -3162,6 +3174,119 @@ export const data = {
3162
3174
  "type": "I",
3163
3175
  "fields": {}
3164
3176
  },
3177
+ "pushwoosh.rpc_v2.applications.email_froms.SocialPlatform": {
3178
+ "type": "E",
3179
+ "values": [
3180
+ "SOCIAL_PLATFORM_UNSPECIFIED",
3181
+ "SOCIAL_PLATFORM_FACEBOOK",
3182
+ "SOCIAL_PLATFORM_X",
3183
+ "SOCIAL_PLATFORM_INSTAGRAM",
3184
+ "SOCIAL_PLATFORM_LINKEDIN",
3185
+ "SOCIAL_PLATFORM_YOUTUBE",
3186
+ "SOCIAL_PLATFORM_TIKTOK"
3187
+ ]
3188
+ },
3189
+ "pushwoosh.rpc_v2.applications.email_froms.AppStorePlatform": {
3190
+ "type": "E",
3191
+ "values": [
3192
+ "APP_STORE_PLATFORM_UNSPECIFIED",
3193
+ "APP_STORE_PLATFORM_APP_STORE",
3194
+ "APP_STORE_PLATFORM_GOOGLE_PLAY"
3195
+ ]
3196
+ },
3197
+ "pushwoosh.rpc_v2.applications.email_froms.NavLink": {
3198
+ "type": "I",
3199
+ "fields": {
3200
+ "label": {
3201
+ "type": "string"
3202
+ },
3203
+ "url": {
3204
+ "type": "string"
3205
+ }
3206
+ }
3207
+ },
3208
+ "pushwoosh.rpc_v2.applications.email_froms.SocialLink": {
3209
+ "type": "I",
3210
+ "fields": {
3211
+ "platform": {
3212
+ "type": "pushwoosh.rpc_v2.applications.email_froms.SocialPlatform"
3213
+ },
3214
+ "url": {
3215
+ "type": "string"
3216
+ }
3217
+ }
3218
+ },
3219
+ "pushwoosh.rpc_v2.applications.email_froms.AppBadge": {
3220
+ "type": "I",
3221
+ "fields": {
3222
+ "platform": {
3223
+ "type": "pushwoosh.rpc_v2.applications.email_froms.AppStorePlatform"
3224
+ },
3225
+ "url": {
3226
+ "type": "string"
3227
+ }
3228
+ }
3229
+ },
3230
+ "pushwoosh.rpc_v2.applications.email_froms.EmailFooter": {
3231
+ "type": "I",
3232
+ "fields": {
3233
+ "companyName": {
3234
+ "type": "string"
3235
+ },
3236
+ "address": {
3237
+ "type": "string"
3238
+ },
3239
+ "copyright": {
3240
+ "type": "string"
3241
+ },
3242
+ "unsubscribeLabel": {
3243
+ "type": "string"
3244
+ },
3245
+ "links": {
3246
+ "type": "pushwoosh.rpc_v2.applications.email_froms.NavLink",
3247
+ "array": true
3248
+ },
3249
+ "social": {
3250
+ "type": "pushwoosh.rpc_v2.applications.email_froms.SocialLink",
3251
+ "array": true
3252
+ },
3253
+ "appBadges": {
3254
+ "type": "pushwoosh.rpc_v2.applications.email_froms.AppBadge",
3255
+ "array": true
3256
+ }
3257
+ }
3258
+ },
3259
+ "pushwoosh.rpc_v2.applications.email_froms.GetEmailFooterRequest": {
3260
+ "type": "I",
3261
+ "fields": {
3262
+ "application": {
3263
+ "type": "string"
3264
+ }
3265
+ }
3266
+ },
3267
+ "pushwoosh.rpc_v2.applications.email_froms.GetEmailFooterResponse": {
3268
+ "type": "I",
3269
+ "fields": {
3270
+ "footer": {
3271
+ "type": "pushwoosh.rpc_v2.applications.email_froms.EmailFooter"
3272
+ }
3273
+ }
3274
+ },
3275
+ "pushwoosh.rpc_v2.applications.email_froms.SetEmailFooterRequest": {
3276
+ "type": "I",
3277
+ "fields": {
3278
+ "application": {
3279
+ "type": "string"
3280
+ },
3281
+ "footer": {
3282
+ "type": "pushwoosh.rpc_v2.applications.email_froms.EmailFooter"
3283
+ }
3284
+ }
3285
+ },
3286
+ "pushwoosh.rpc_v2.applications.email_froms.SetEmailFooterResponse": {
3287
+ "type": "I",
3288
+ "fields": {}
3289
+ },
3165
3290
  "pushwoosh.rpc_v2.applications.sounds.ApplicationSoundsService": {
3166
3291
  "type": "S",
3167
3292
  "key": "applicationSounds",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.1.957",
3
+ "version": "0.1.958",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",