@pushwoosh/rpc-v2-http-api-data 0.1.602 → 0.1.604

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 CHANGED
@@ -18632,12 +18632,6 @@ export const data = {
18632
18632
  "response": "pushwoosh.rpc_v2.send_rate.UpdateSendRateResponse",
18633
18633
  "method": "put",
18634
18634
  "path": "/api/send_rate/{application}"
18635
- },
18636
- "Create": {
18637
- "request": "pushwoosh.rpc_v2.send_rate.CreateSendRateRequest",
18638
- "response": "pushwoosh.rpc_v2.send_rate.CreateSendRateResponse",
18639
- "method": "post",
18640
- "path": "/api/send_rate"
18641
18635
  }
18642
18636
  }
18643
18637
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.1.602",
3
+ "version": "0.1.604",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
package/send_rate.d.ts CHANGED
@@ -1,7 +1,6 @@
1
1
  export interface SendRateService {
2
2
  Get(request: GetSendRateRequest): Promise<GetSendRateResponse>;
3
3
  Update(request: UpdateSendRateRequest): Promise<UpdateSendRateResponse>;
4
- Create(request: CreateSendRateRequest): Promise<CreateSendRateResponse>;
5
4
  }
6
5
  export type Info = {
7
6
  count: number;
@@ -20,11 +19,11 @@ export type GetSendRateResponse = {
20
19
  sendRate: SendRate;
21
20
  };
22
21
  export type CreateSendRateRequest = {
23
- application?: string;
24
- push?: Info;
25
- email?: Info;
26
- sms?: Info;
27
- inApp?: Info;
22
+ application: string;
23
+ push: Info;
24
+ email: Info;
25
+ sms: Info;
26
+ inApp: Info;
28
27
  };
29
28
  export type CreateSendRateResponse = {
30
29
  sendRate: SendRate;