@pushwoosh/rpc-v2-http-api-data 0.1.600 → 0.1.601

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
@@ -8332,6 +8332,12 @@ export const data = {
8332
8332
  "response": "pushwoosh.rpc_v2.line_presets.DeleteLinePresetResponse",
8333
8333
  "method": "delete",
8334
8334
  "path": "/api/line_presets/{code}"
8335
+ },
8336
+ "Clone": {
8337
+ "request": "pushwoosh.rpc_v2.line_presets.CloneLinePresetRequest",
8338
+ "response": "pushwoosh.rpc_v2.line_presets.CloneLinePresetResponse",
8339
+ "method": "post",
8340
+ "path": "/api/line_presets:clone"
8335
8341
  }
8336
8342
  }
8337
8343
  },
@@ -8571,6 +8577,25 @@ export const data = {
8571
8577
  "type": "I",
8572
8578
  "fields": {}
8573
8579
  },
8580
+ "pushwoosh.rpc_v2.line_presets.CloneLinePresetRequest": {
8581
+ "type": "I",
8582
+ "fields": {
8583
+ "linePresetCode": {
8584
+ "type": "string"
8585
+ },
8586
+ "applicationCode": {
8587
+ "type": "string"
8588
+ }
8589
+ }
8590
+ },
8591
+ "pushwoosh.rpc_v2.line_presets.CloneLinePresetResponse": {
8592
+ "type": "I",
8593
+ "fields": {
8594
+ "linePresetCode": {
8595
+ "type": "string"
8596
+ }
8597
+ }
8598
+ },
8574
8599
  "pushwoosh.rpc_v2.messages.MessagesService": {
8575
8600
  "type": "S",
8576
8601
  "key": "messages",
package/line_presets.d.ts CHANGED
@@ -4,6 +4,7 @@ export interface linePresetsService {
4
4
  Create(request: CreateLinePresetRequest): Promise<CreateLinePresetResponse>;
5
5
  Update(request: UpdateLinePresetRequest): Promise<UpdateLinePresetResponse>;
6
6
  Delete(request: DeleteLinePresetRequest): Promise<DeleteLinePresetResponse>;
7
+ Clone(request: CloneLinePresetRequest): Promise<CloneLinePresetResponse>;
7
8
  }
8
9
  export type ListLinePresetsRequest_OrderBy = 'NAME' | 'CREATED' | 'UPDATED';
9
10
  export type ListLinePresetsRequest_OrderDirection = 'ASC' | 'DESC';
@@ -89,3 +90,10 @@ export type DeleteLinePresetRequest = {
89
90
  code?: string;
90
91
  };
91
92
  export type DeleteLinePresetResponse = {};
93
+ export type CloneLinePresetRequest = {
94
+ linePresetCode?: string;
95
+ applicationCode?: string;
96
+ };
97
+ export type CloneLinePresetResponse = {
98
+ linePresetCode: string;
99
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.1.600",
3
+ "version": "0.1.601",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",