@juhuu/sdk-ts 1.2.222 → 1.2.223

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/dist/index.d.mts CHANGED
@@ -1055,6 +1055,7 @@ declare class ParameterAnomalyGroupTrackersService extends Service {
1055
1055
  declare class EmzService extends Service {
1056
1056
  constructor(config: JUHUU.SetupConfig);
1057
1057
  credentials(EmzCredentialsParams: JUHUU.Emz.Credentials.Params, EmzCredentialsOptions?: JUHUU.Emz.Credentials.Options): Promise<JUHUU.HttpResponse<JUHUU.Emz.Credentials.Response>>;
1058
+ logs(EmzLogsParams: JUHUU.Emz.Logs.Params, EmzLogsOptions?: JUHUU.Emz.Logs.Options): Promise<JUHUU.HttpResponse<JUHUU.Emz.Logs.Response>>;
1058
1059
  }
1059
1060
 
1060
1061
  declare class FlowsService extends Service {
@@ -1579,6 +1580,14 @@ declare namespace JUHUU {
1579
1580
  export { };
1580
1581
  }
1581
1582
  namespace Emz {
1583
+ namespace Log {
1584
+ type Object = {
1585
+ id: string;
1586
+ userId: string;
1587
+ logArray: string[];
1588
+ createdAt: Date;
1589
+ };
1590
+ }
1582
1591
  namespace Credentials {
1583
1592
  type Params = {
1584
1593
  deviceId: string;
@@ -1591,6 +1600,16 @@ declare namespace JUHUU {
1591
1600
  emzToken: string;
1592
1601
  };
1593
1602
  }
1603
+ namespace Logs {
1604
+ type Params = {
1605
+ userId: string;
1606
+ logArray: string[];
1607
+ };
1608
+ type Options = JUHUU.RequestOptions;
1609
+ type Response = {
1610
+ emzLog: JUHUU.Emz.Log.Object;
1611
+ };
1612
+ }
1594
1613
  }
1595
1614
  namespace Tapkey {
1596
1615
  namespace Credentials {
package/dist/index.d.ts CHANGED
@@ -1055,6 +1055,7 @@ declare class ParameterAnomalyGroupTrackersService extends Service {
1055
1055
  declare class EmzService extends Service {
1056
1056
  constructor(config: JUHUU.SetupConfig);
1057
1057
  credentials(EmzCredentialsParams: JUHUU.Emz.Credentials.Params, EmzCredentialsOptions?: JUHUU.Emz.Credentials.Options): Promise<JUHUU.HttpResponse<JUHUU.Emz.Credentials.Response>>;
1058
+ logs(EmzLogsParams: JUHUU.Emz.Logs.Params, EmzLogsOptions?: JUHUU.Emz.Logs.Options): Promise<JUHUU.HttpResponse<JUHUU.Emz.Logs.Response>>;
1058
1059
  }
1059
1060
 
1060
1061
  declare class FlowsService extends Service {
@@ -1579,6 +1580,14 @@ declare namespace JUHUU {
1579
1580
  export { };
1580
1581
  }
1581
1582
  namespace Emz {
1583
+ namespace Log {
1584
+ type Object = {
1585
+ id: string;
1586
+ userId: string;
1587
+ logArray: string[];
1588
+ createdAt: Date;
1589
+ };
1590
+ }
1582
1591
  namespace Credentials {
1583
1592
  type Params = {
1584
1593
  deviceId: string;
@@ -1591,6 +1600,16 @@ declare namespace JUHUU {
1591
1600
  emzToken: string;
1592
1601
  };
1593
1602
  }
1603
+ namespace Logs {
1604
+ type Params = {
1605
+ userId: string;
1606
+ logArray: string[];
1607
+ };
1608
+ type Options = JUHUU.RequestOptions;
1609
+ type Response = {
1610
+ emzLog: JUHUU.Emz.Log.Object;
1611
+ };
1612
+ }
1594
1613
  }
1595
1614
  namespace Tapkey {
1596
1615
  namespace Credentials {
package/dist/index.js CHANGED
@@ -3368,6 +3368,21 @@ var EmzService = class extends Service {
3368
3368
  EmzCredentialsOptions
3369
3369
  );
3370
3370
  }
3371
+ async logs(EmzLogsParams, EmzLogsOptions) {
3372
+ const queryArray = [];
3373
+ return await super.sendRequest(
3374
+ {
3375
+ method: "POST",
3376
+ url: "emz/logs",
3377
+ body: {
3378
+ userId: EmzLogsParams.userId,
3379
+ logArray: EmzLogsParams.logArray
3380
+ },
3381
+ authenticationNotOptional: true
3382
+ },
3383
+ EmzLogsOptions
3384
+ );
3385
+ }
3371
3386
  };
3372
3387
 
3373
3388
  // src/flows/flows.service.ts
package/dist/index.mjs CHANGED
@@ -3324,6 +3324,21 @@ var EmzService = class extends Service {
3324
3324
  EmzCredentialsOptions
3325
3325
  );
3326
3326
  }
3327
+ async logs(EmzLogsParams, EmzLogsOptions) {
3328
+ const queryArray = [];
3329
+ return await super.sendRequest(
3330
+ {
3331
+ method: "POST",
3332
+ url: "emz/logs",
3333
+ body: {
3334
+ userId: EmzLogsParams.userId,
3335
+ logArray: EmzLogsParams.logArray
3336
+ },
3337
+ authenticationNotOptional: true
3338
+ },
3339
+ EmzLogsOptions
3340
+ );
3341
+ }
3327
3342
  };
3328
3343
 
3329
3344
  // src/flows/flows.service.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juhuu/sdk-ts",
3
- "version": "1.2.222",
3
+ "version": "1.2.223",
4
4
  "description": "Typescript wrapper for JUHUU services",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",