@pushwoosh/rpc-v2-http-api-data 0.1.754 → 0.1.755
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.d.ts +23 -0
- package/data.js +76 -0
- package/package.json +1 -1
package/applications.d.ts
CHANGED
|
@@ -10,6 +10,9 @@ export interface ApplicationsService {
|
|
|
10
10
|
SendEmailVerification(request: SendEmailVerificationRequest): Promise<SendEmailVerificationResponse>;
|
|
11
11
|
GetAccountGroupPermissions(request: GetAccountGroupPermissionsRequest): Promise<GetAccountGroupPermissionsResponse>;
|
|
12
12
|
SaveAccountGroupPermissions(request: SaveAccountGroupPermissionsRequest): Promise<SaveAccountGroupPermissionsResponse>;
|
|
13
|
+
GetControlGroupSettings(request: GetControlGroupSettingsRequest): Promise<GetControlGroupSettingsResponse>;
|
|
14
|
+
UpdateControlGroupPercentage(request: UpdateControlGroupPercentageRequest): Promise<UpdateControlGroupPercentageResponse>;
|
|
15
|
+
DisableControlGroup(request: DisableControlGroupRequest): Promise<DisableControlGroupResponse>;
|
|
13
16
|
}
|
|
14
17
|
export type ApplicationPlatformSubscribersCount = {
|
|
15
18
|
pushEnabled: number;
|
|
@@ -124,3 +127,23 @@ export type SaveAccountGroupPermissionsRequest = {
|
|
|
124
127
|
export type SaveAccountGroupPermissionsResponse = {
|
|
125
128
|
permissions: AccountGroupPermissions[];
|
|
126
129
|
};
|
|
130
|
+
export type GetControlGroupSettingsRequest = {
|
|
131
|
+
code?: string;
|
|
132
|
+
};
|
|
133
|
+
export type GetControlGroupSettingsResponse = {
|
|
134
|
+
percentage: number;
|
|
135
|
+
enabled: boolean;
|
|
136
|
+
};
|
|
137
|
+
export type UpdateControlGroupPercentageRequest = {
|
|
138
|
+
code?: string;
|
|
139
|
+
percentage?: number;
|
|
140
|
+
};
|
|
141
|
+
export type UpdateControlGroupPercentageResponse = {};
|
|
142
|
+
export type DisableControlGroupRequest = {
|
|
143
|
+
code?: string;
|
|
144
|
+
};
|
|
145
|
+
export type DisableControlGroupResponse = {};
|
|
146
|
+
export type ShuffleControlGroupRequest = {
|
|
147
|
+
code: string;
|
|
148
|
+
};
|
|
149
|
+
export type ShuffleControlGroupResponse = {};
|
package/data.js
CHANGED
|
@@ -2101,6 +2101,24 @@ export const data = {
|
|
|
2101
2101
|
"response": "pushwoosh.rpc_v2.applications.SaveAccountGroupPermissionsResponse",
|
|
2102
2102
|
"method": "put",
|
|
2103
2103
|
"path": "/api/applications/{code}/account_group_permissions"
|
|
2104
|
+
},
|
|
2105
|
+
"GetControlGroupSettings": {
|
|
2106
|
+
"request": "pushwoosh.rpc_v2.applications.GetControlGroupSettingsRequest",
|
|
2107
|
+
"response": "pushwoosh.rpc_v2.applications.GetControlGroupSettingsResponse",
|
|
2108
|
+
"method": "get",
|
|
2109
|
+
"path": "/api/applications/{code}/control_group"
|
|
2110
|
+
},
|
|
2111
|
+
"UpdateControlGroupPercentage": {
|
|
2112
|
+
"request": "pushwoosh.rpc_v2.applications.UpdateControlGroupPercentageRequest",
|
|
2113
|
+
"response": "pushwoosh.rpc_v2.applications.UpdateControlGroupPercentageResponse",
|
|
2114
|
+
"method": "post",
|
|
2115
|
+
"path": "/api/applications/{code}/control_group"
|
|
2116
|
+
},
|
|
2117
|
+
"DisableControlGroup": {
|
|
2118
|
+
"request": "pushwoosh.rpc_v2.applications.DisableControlGroupRequest",
|
|
2119
|
+
"response": "pushwoosh.rpc_v2.applications.DisableControlGroupResponse",
|
|
2120
|
+
"method": "delete",
|
|
2121
|
+
"path": "/api/applications/{code}/control_group"
|
|
2104
2122
|
}
|
|
2105
2123
|
}
|
|
2106
2124
|
},
|
|
@@ -2445,6 +2463,64 @@ export const data = {
|
|
|
2445
2463
|
}
|
|
2446
2464
|
}
|
|
2447
2465
|
},
|
|
2466
|
+
"pushwoosh.rpc_v2.applications.GetControlGroupSettingsRequest": {
|
|
2467
|
+
"type": "I",
|
|
2468
|
+
"fields": {
|
|
2469
|
+
"code": {
|
|
2470
|
+
"type": "string"
|
|
2471
|
+
}
|
|
2472
|
+
}
|
|
2473
|
+
},
|
|
2474
|
+
"pushwoosh.rpc_v2.applications.GetControlGroupSettingsResponse": {
|
|
2475
|
+
"type": "I",
|
|
2476
|
+
"fields": {
|
|
2477
|
+
"percentage": {
|
|
2478
|
+
"type": "number"
|
|
2479
|
+
},
|
|
2480
|
+
"enabled": {
|
|
2481
|
+
"type": "boolean"
|
|
2482
|
+
}
|
|
2483
|
+
}
|
|
2484
|
+
},
|
|
2485
|
+
"pushwoosh.rpc_v2.applications.UpdateControlGroupPercentageRequest": {
|
|
2486
|
+
"type": "I",
|
|
2487
|
+
"fields": {
|
|
2488
|
+
"code": {
|
|
2489
|
+
"type": "string"
|
|
2490
|
+
},
|
|
2491
|
+
"percentage": {
|
|
2492
|
+
"type": "number"
|
|
2493
|
+
}
|
|
2494
|
+
}
|
|
2495
|
+
},
|
|
2496
|
+
"pushwoosh.rpc_v2.applications.UpdateControlGroupPercentageResponse": {
|
|
2497
|
+
"type": "I",
|
|
2498
|
+
"fields": {}
|
|
2499
|
+
},
|
|
2500
|
+
"pushwoosh.rpc_v2.applications.DisableControlGroupRequest": {
|
|
2501
|
+
"type": "I",
|
|
2502
|
+
"fields": {
|
|
2503
|
+
"code": {
|
|
2504
|
+
"type": "string"
|
|
2505
|
+
}
|
|
2506
|
+
}
|
|
2507
|
+
},
|
|
2508
|
+
"pushwoosh.rpc_v2.applications.DisableControlGroupResponse": {
|
|
2509
|
+
"type": "I",
|
|
2510
|
+
"fields": {}
|
|
2511
|
+
},
|
|
2512
|
+
"pushwoosh.rpc_v2.applications.ShuffleControlGroupRequest": {
|
|
2513
|
+
"type": "I",
|
|
2514
|
+
"fields": {
|
|
2515
|
+
"code": {
|
|
2516
|
+
"type": "string"
|
|
2517
|
+
}
|
|
2518
|
+
}
|
|
2519
|
+
},
|
|
2520
|
+
"pushwoosh.rpc_v2.applications.ShuffleControlGroupResponse": {
|
|
2521
|
+
"type": "I",
|
|
2522
|
+
"fields": {}
|
|
2523
|
+
},
|
|
2448
2524
|
"pushwoosh.rpc_v2.applications.email_froms.ApplicationEmailFromsService": {
|
|
2449
2525
|
"type": "S",
|
|
2450
2526
|
"key": "applicationEmailFroms",
|