cmd-control-client-lib 3.0.168 → 3.0.170

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.
@@ -41,6 +41,7 @@ export * from "./protocol/live/livechat";
41
41
  export * from "./protocol/live/ticketshow";
42
42
  export * from "./protocol/messenger/expo";
43
43
  export * from "./protocol/messenger/signup";
44
+ export * from "./protocol/messenger/mobile";
44
45
  export * from "./protocol/single-c2c";
45
46
  export * from "./protocol/status";
46
47
  export * from "./protocol/exit-code";
@@ -156,5 +156,6 @@ export declare enum ACTION {
156
156
  CMDP_SMSGREACTION = "CMDP_SMSGREACTION",
157
157
  CMDC_SSTATUS = "CMDC_SSTATUS",
158
158
  CMDP_SGETMESSAGEHISTORY = "CMDP_SGETMESSAGEHISTORY",
159
- CMDP_SMSGESTIMATE = "CMDP_SMSGESTIMATE"
159
+ CMDP_SMSGESTIMATE = "CMDP_SMSGESTIMATE",
160
+ CMDP_SETMOBILETOKEN = "CMDP_SETMOBILETOKEN"
160
161
  }
@@ -1,4 +1,4 @@
1
- import { EnumBooleanStringified } from "../../@types/enum-boolean-stringified";
1
+ import { EnumBooleanStringified } from "../../@types";
2
2
  export declare enum SupportedLanguage {
3
3
  DE = "de",
4
4
  EN = "en",
@@ -1,5 +1,5 @@
1
1
  import { chatIdType } from "../chatstate";
2
- import { IMayHaveChannelId } from "./../channel";
2
+ import { IMayHaveChannelId } from "../channel";
3
3
  import { ACTION } from "../command/action";
4
4
  import { baseParamsType } from "../command/baseparams";
5
5
  import { ICOMMAND, IKeyMaybeValue, IRESPONSE, RESULT } from "../command/icommand";
@@ -1,5 +1,5 @@
1
1
  import { CMDP_LOGIN, CMDP_LOGIN_RESPONSE } from "../login";
2
- import { ACTION } from "../../cmd-protocol";
2
+ import { ACTION } from "../command/action";
3
3
  /**
4
4
  * 8320 only
5
5
  */
@@ -1,4 +1,4 @@
1
- import { EnumBooleanDigitized } from "../@types/enum-boolean-digitized";
1
+ import { EnumBooleanDigitized } from "../@types";
2
2
  import { IBACKENDPAYLOAD } from "./backend";
3
3
  import { ACTION } from "./command/action";
4
4
  import { baseParamsType } from "./command/baseparams";
@@ -50,7 +50,7 @@ export declare class CMDP_SUPLOADMEDIA_RESPONSE extends CMDP_SUPLOADMEDIA implem
50
50
  result: RESULT;
51
51
  commands: ICOMMAND[];
52
52
  values: IKeyMaybeValue & {
53
- /** channels skipped from upload if media already was purchased and you try to make a new offer */
53
+ /** channels skipped from upload if media already was purchased, and you try to make a new offer */
54
54
  skippedChannels?: string;
55
55
  };
56
56
  /** backendpayload */
@@ -235,7 +235,7 @@ export declare class CMDP_SMSGREACTION_RESPONSE extends CMDP_SMSGREACTION implem
235
235
  export declare class CMDP_SMSGESTIMATE implements ICOMMAND {
236
236
  action: ACTION;
237
237
  params: baseParamsType & (getChannelsParamsType | channelIdSelector) & {
238
- mediaMd5: string;
238
+ mediaMd5?: string;
239
239
  countOnly?: EnumBooleanStringified;
240
240
  };
241
241
  }
@@ -1,8 +1,5 @@
1
1
  import { ICOMMAND, ACTION, IRESPONSE, RESULT, IKeyMaybeValue } from "../../cmd-protocol";
2
2
  import { baseParamsType } from "../command/baseparams";
3
- /**
4
- * update media device infos
5
- */
6
3
  export declare class CMDP_SETEXPOTOKEN implements ICOMMAND {
7
4
  action: ACTION;
8
5
  params: baseParamsType & {
@@ -0,0 +1,22 @@
1
+ import { ICOMMAND, ACTION, IRESPONSE, RESULT, IKeyMaybeValue } from "../../cmd-protocol";
2
+ import { baseParamsType } from "../command/baseparams";
3
+ export declare enum EnumMobileTokenType {
4
+ EXPO = "expo",
5
+ FCM = "fcm",
6
+ APN = "apn"
7
+ }
8
+ export declare class CMDP_SETMOBILETOKEN implements ICOMMAND {
9
+ action: ACTION;
10
+ params: baseParamsType & {
11
+ type?: EnumMobileTokenType;
12
+ token?: string;
13
+ };
14
+ }
15
+ /**
16
+ * reponse.
17
+ */
18
+ export declare class CMDP_SETMOBILETOKEN_RESPONSE extends CMDP_SETMOBILETOKEN implements IRESPONSE {
19
+ result: RESULT;
20
+ commands: ICOMMAND[];
21
+ values: IKeyMaybeValue;
22
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cmd-control-client-lib",
3
3
  "description": "Cmd-Client-Library",
4
- "version": "3.0.168",
4
+ "version": "3.0.170",
5
5
  "directories": {
6
6
  "lib": "./dist"
7
7
  },