cmd-control-client-lib 3.0.318 → 3.0.321

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.
@@ -49,4 +49,7 @@ export declare type ChatState = chatIdType & {
49
49
  /** video ability */
50
50
  canVideo?: EnumBooleanDigitized;
51
51
  flags?: ComaSeparatedValues<ChatFlags> | ChatFlags;
52
+ /** clipping */
53
+ recordClip?: EnumBooleanDigitized;
54
+ canClip?: EnumBooleanDigitized;
52
55
  };
@@ -173,7 +173,7 @@ export declare class CMDC_PUBLICCHAT implements ICOMMAND {
173
173
  export declare class CMDP_CTIP implements ICOMMAND {
174
174
  action: ACTION;
175
175
  params: clientID & {
176
- cent: number;
176
+ cent: string;
177
177
  gift: ComaSeparatedValues<string>;
178
178
  currency: EnumCurrency;
179
179
  };
@@ -186,7 +186,7 @@ export declare class CMDP_CTIP_RESPONSE extends CMDP_CTIP implements IRESPONSE {
186
186
  export declare class CMDP_CCHARGE implements ICOMMAND {
187
187
  action: ACTION;
188
188
  params: clientID & {
189
- amount: number;
189
+ amount: string;
190
190
  };
191
191
  }
192
192
  export declare class CMDP_CCHARGE_RESPONSE extends CMDP_CCHARGE implements IRESPONSE {
@@ -196,3 +196,39 @@ export declare class CMDP_CCHARGE_RESPONSE extends CMDP_CCHARGE implements IRESP
196
196
  successfully: EnumBooleanStringified;
197
197
  };
198
198
  }
199
+ export declare type clipSnapshot = {
200
+ time: number;
201
+ imgSrc: string;
202
+ };
203
+ export declare class CMDC_CLIP implements ICOMMAND {
204
+ action: ACTION;
205
+ params: clientID & {
206
+ chatID: string;
207
+ clipID: string;
208
+ name: string;
209
+ duration: string;
210
+ price: string;
211
+ currency: EnumCurrency;
212
+ snapshot: JSONString<clipSnapshot[]>;
213
+ };
214
+ }
215
+ export declare class CMDP_CGETCLIPS implements ICOMMAND {
216
+ action: ACTION;
217
+ params: clientID;
218
+ }
219
+ export declare class CMDP_CGETCLIPS_RESPONSE extends CMDP_CGETCLIPS implements IRESPONSE {
220
+ result: RESULT;
221
+ commands: CMDC_CLIP[];
222
+ values: IKeyMaybeValue;
223
+ }
224
+ export declare class CMDP_CBUYCLIP implements ICOMMAND {
225
+ action: ACTION;
226
+ params: clientID & {
227
+ clipID: string;
228
+ };
229
+ }
230
+ export declare class CMDP_CBUYCLIP_RESPONSE extends CMDP_CBUYCLIP implements IRESPONSE {
231
+ result: RESULT;
232
+ commands: ICOMMAND[];
233
+ values: IKeyMaybeValue;
234
+ }
@@ -199,5 +199,8 @@ export declare enum ACTION {
199
199
  CMDP_GETTOYLIST = "CMDP_GETTOYLIST",
200
200
  CMDP_TOYCOMMAND = "CMDP_TOYCOMMAND",
201
201
  CMDC_TOYCOMMAND = "CMDC_TOYCOMMAND",
202
- CMDC_TOYLIST = "CMDC_TOYLIST"
202
+ CMDC_TOYLIST = "CMDC_TOYLIST",
203
+ CMDC_CLIP = "CMDC_CLIP",
204
+ CMDP_CGETCLIPS = "CMDP_CGETCLIPS",
205
+ CMDP_CBUYCLIP = "CMDP_CBUYCLIP"
203
206
  }
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.318",
4
+ "version": "3.0.321",
5
5
  "directories": {
6
6
  "lib": "./dist"
7
7
  },