@hapl/api-queries 1.0.22 → 1.0.23

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.
@@ -18,7 +18,6 @@ export declare type CreateCallTaskHeaders = {
18
18
  export declare type CreateCallTaskBody = {
19
19
  name: CallTask['name'];
20
20
  phone: CallTask['phone'];
21
- rtoken: string;
22
21
  comment?: CallTask['comment'];
23
22
  cookies?: Record<string, string>;
24
23
  complexId?: number;
@@ -36,6 +35,7 @@ export declare type CreateCallTaskBody = {
36
35
  login: string;
37
36
  firstName: string;
38
37
  };
38
+ rtoken?: string;
39
39
  };
40
40
  export declare type CreateCallTaskData = AxiosResponse<ResultData>;
41
41
  export declare type CreateCallTaskError = AxiosError<ResultError>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hapl/api-queries",
3
- "version": "1.0.22",
3
+ "version": "1.0.23",
4
4
  "author": "Homeapp",
5
5
  "license": "MIT",
6
6
  "module": "dist/api-queries.esm.js",
@@ -12,7 +12,6 @@ export type CreateCallTaskHeaders = { 'x-auth-hc'?: string };
12
12
  export type CreateCallTaskBody = {
13
13
  name: CallTask['name'];
14
14
  phone: CallTask['phone'];
15
- rtoken: string;
16
15
  comment?: CallTask['comment'];
17
16
  cookies?: Record<string, string>;
18
17
  complexId?: number;
@@ -27,6 +26,7 @@ export type CreateCallTaskBody = {
27
26
  userAgent?: CallTask['userAgent'];
28
27
  userAgentInfo?: CallTask['userAgentInfo'];
29
28
  partner?: { login: string; firstName: string };
29
+ rtoken?: string;
30
30
  };
31
31
 
32
32
  export type CreateCallTaskData = AxiosResponse<ResultData>;