@or-sdk/idw 2.2.0-beta.1692.0 → 2.2.0-beta.1693.0

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.
Files changed (39) hide show
  1. package/dist/cjs/api/flowApi.js +7 -7
  2. package/dist/cjs/api/idwDbApi.js +3 -3
  3. package/dist/cjs/api/idwInfoApi.js +4 -4
  4. package/dist/cjs/api/idwRwcApi.js +6 -6
  5. package/dist/cjs/api/index.js.map +1 -1
  6. package/dist/cjs/api/memoryApi.js +7 -7
  7. package/dist/cjs/api/memoryApi.js.map +1 -1
  8. package/dist/cjs/api/migrationApi.js +4 -4
  9. package/dist/cjs/api/skillApi.js +7 -7
  10. package/dist/cjs/{helpres.js → helpers.js} +1 -1
  11. package/dist/cjs/helpers.js.map +1 -0
  12. package/dist/esm/api/flowApi.js +1 -1
  13. package/dist/esm/api/idwDbApi.js +1 -1
  14. package/dist/esm/api/idwInfoApi.js +1 -1
  15. package/dist/esm/api/idwRwcApi.js +1 -1
  16. package/dist/esm/api/index.js.map +1 -1
  17. package/dist/esm/api/memoryApi.js +1 -1
  18. package/dist/esm/api/memoryApi.js.map +1 -1
  19. package/dist/esm/api/migrationApi.js +1 -1
  20. package/dist/esm/api/skillApi.js +1 -1
  21. package/dist/esm/{helpres.js → helpers.js} +1 -1
  22. package/dist/esm/helpers.js.map +1 -0
  23. package/dist/types/api/index.d.ts.map +1 -1
  24. package/dist/types/api/memoryApi.d.ts.map +1 -1
  25. package/dist/types/{helpres.d.ts → helpers.d.ts} +1 -1
  26. package/dist/types/helpers.d.ts.map +1 -0
  27. package/package.json +3 -3
  28. package/src/api/flowApi.ts +1 -1
  29. package/src/api/idwDbApi.ts +1 -1
  30. package/src/api/idwInfoApi.ts +1 -1
  31. package/src/api/idwRwcApi.ts +1 -1
  32. package/src/api/index.ts +0 -3
  33. package/src/api/memoryApi.ts +1 -2
  34. package/src/api/migrationApi.ts +1 -1
  35. package/src/api/skillApi.ts +1 -1
  36. package/dist/cjs/helpres.js.map +0 -1
  37. package/dist/esm/helpres.js.map +0 -1
  38. package/dist/types/helpres.d.ts.map +0 -1
  39. /package/src/{helpres.ts → helpers.ts} +0 -0
@@ -1,14 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.FlowApi = void 0;
4
- var helpres_1 = require("../helpres");
4
+ var helpers_1 = require("../helpers");
5
5
  var FlowApi = (function () {
6
6
  function FlowApi(providers) {
7
7
  this.providers = providers;
8
8
  }
9
9
  FlowApi.prototype.getFlow = function (id) {
10
10
  return this.providers.makeRequest({
11
- route: (0, helpres_1.buildRoute)('flow'),
11
+ route: (0, helpers_1.buildRoute)('flow'),
12
12
  params: {
13
13
  id: id,
14
14
  },
@@ -16,7 +16,7 @@ var FlowApi = (function () {
16
16
  };
17
17
  FlowApi.prototype.deleteFlow = function (id) {
18
18
  return this.providers.makeRequest({
19
- route: (0, helpres_1.buildRoute)('flow'),
19
+ route: (0, helpers_1.buildRoute)('flow'),
20
20
  method: 'DELETE',
21
21
  params: {
22
22
  id: id,
@@ -25,7 +25,7 @@ var FlowApi = (function () {
25
25
  };
26
26
  FlowApi.prototype.deleteFlows = function (ids) {
27
27
  return this.providers.makeRequest({
28
- route: (0, helpres_1.buildRoute)('flows'),
28
+ route: (0, helpers_1.buildRoute)('flows'),
29
29
  method: 'DELETE',
30
30
  params: {
31
31
  ids: ids.join(),
@@ -34,21 +34,21 @@ var FlowApi = (function () {
34
34
  };
35
35
  FlowApi.prototype.upsert = function (data) {
36
36
  return this.providers.makeRequest({
37
- route: (0, helpres_1.buildRoute)('flow'),
37
+ route: (0, helpers_1.buildRoute)('flow'),
38
38
  method: 'POST',
39
39
  data: data,
40
40
  });
41
41
  };
42
42
  FlowApi.prototype.activateFlow = function (data) {
43
43
  return this.providers.makeRequest({
44
- route: (0, helpres_1.buildRoute)('flow/activate'),
44
+ route: (0, helpers_1.buildRoute)('flow/activate'),
45
45
  method: 'PUT',
46
46
  data: data,
47
47
  });
48
48
  };
49
49
  FlowApi.prototype.deactivateFlow = function (id) {
50
50
  return this.providers.makeRequest({
51
- route: (0, helpres_1.buildRoute)('flow/deactivate'),
51
+ route: (0, helpers_1.buildRoute)('flow/deactivate'),
52
52
  method: 'PUT',
53
53
  params: {
54
54
  id: id,
@@ -1,20 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.IdwDbApi = void 0;
4
- var helpres_1 = require("../helpres");
4
+ var helpers_1 = require("../helpers");
5
5
  var IdwDbApi = (function () {
6
6
  function IdwDbApi(providers) {
7
7
  this.providers = providers;
8
8
  }
9
9
  IdwDbApi.prototype.isDbExist = function () {
10
10
  return this.providers.makeRequest({
11
- route: (0, helpres_1.buildRoute)('db'),
11
+ route: (0, helpers_1.buildRoute)('db'),
12
12
  method: 'GET',
13
13
  });
14
14
  };
15
15
  IdwDbApi.prototype.prepareDb = function () {
16
16
  return this.providers.makeRequest({
17
- route: (0, helpres_1.buildRoute)('db'),
17
+ route: (0, helpers_1.buildRoute)('db'),
18
18
  method: 'POST',
19
19
  });
20
20
  };
@@ -1,26 +1,26 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.IdwInfoApi = void 0;
4
- var helpres_1 = require("../helpres");
4
+ var helpers_1 = require("../helpers");
5
5
  var IdwInfoApi = (function () {
6
6
  function IdwInfoApi(providers) {
7
7
  this.providers = providers;
8
8
  }
9
9
  IdwInfoApi.prototype.getBaseInfo = function () {
10
10
  return this.providers.makeRequest({
11
- route: (0, helpres_1.buildRoute)('idw-info'),
11
+ route: (0, helpers_1.buildRoute)('idw-info'),
12
12
  method: 'GET',
13
13
  });
14
14
  };
15
15
  IdwInfoApi.prototype.getIdwInfoWithStatistic = function () {
16
16
  return this.providers.makeRequest({
17
- route: (0, helpres_1.buildRoute)('idw-info/statistic'),
17
+ route: (0, helpers_1.buildRoute)('idw-info/statistic'),
18
18
  method: 'GET',
19
19
  });
20
20
  };
21
21
  IdwInfoApi.prototype.updateIdwInfo = function (data) {
22
22
  return this.providers.makeRequest({
23
- route: (0, helpres_1.buildRoute)('idw-info'),
23
+ route: (0, helpers_1.buildRoute)('idw-info'),
24
24
  method: 'POST',
25
25
  data: data,
26
26
  });
@@ -37,7 +37,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.IdwRwcApi = void 0;
40
- var helpres_1 = require("../helpres");
40
+ var helpers_1 = require("../helpers");
41
41
  var noop = function () { };
42
42
  var IdwRwcApi = (function () {
43
43
  function IdwRwcApi(providers) {
@@ -45,32 +45,32 @@ var IdwRwcApi = (function () {
45
45
  }
46
46
  IdwRwcApi.prototype.getIdwRwcData = function () {
47
47
  return this.providers.makeRequest({
48
- route: (0, helpres_1.buildRoute)('idw-rwc'),
48
+ route: (0, helpers_1.buildRoute)('idw-rwc'),
49
49
  method: 'GET',
50
50
  });
51
51
  };
52
52
  IdwRwcApi.prototype.upsertIdwRwcData = function (data) {
53
53
  return this.providers.makeRequest({
54
- route: (0, helpres_1.buildRoute)('idw-rwc'),
54
+ route: (0, helpers_1.buildRoute)('idw-rwc'),
55
55
  method: 'GET',
56
56
  data: data,
57
57
  });
58
58
  };
59
59
  IdwRwcApi.prototype.deleteIdwRwcData = function () {
60
60
  return this.providers.makeRequest({
61
- route: (0, helpres_1.buildRoute)('idw-rwc'),
61
+ route: (0, helpers_1.buildRoute)('idw-rwc'),
62
62
  method: 'DELETE',
63
63
  });
64
64
  };
65
65
  IdwRwcApi.prototype.installRwcChat = function () {
66
66
  return this.providers.makeRequest({
67
- route: (0, helpres_1.buildRoute)('idw-rwc/install'),
67
+ route: (0, helpers_1.buildRoute)('idw-rwc/install'),
68
68
  method: 'POST',
69
69
  });
70
70
  };
71
71
  IdwRwcApi.prototype.getChatStatus = function () {
72
72
  return this.providers.makeRequest({
73
- route: (0, helpres_1.buildRoute)('idw-rwc/install'),
73
+ route: (0, helpers_1.buildRoute)('idw-rwc/install'),
74
74
  method: 'GET',
75
75
  });
76
76
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/index.ts"],"names":[],"mappings":";;;AAAA,uCAAsC;AAA7B,oGAAA,QAAQ,OAAA;AACjB,yCAAwC;AAA/B,sGAAA,SAAS,OAAA;AAElB,+CAA8C;AAArC,4GAAA,YAAY,OAAA;AACrB,2CAA0C;AAAjC,wGAAA,UAAU,OAAA;AACnB,uCAAsC;AAA7B,oGAAA,QAAQ,OAAA;AAEjB,yCAAwC;AAA/B,sGAAA,SAAS,OAAA;AAElB,qCAAoC;AAA3B,kGAAA,OAAO,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/index.ts"],"names":[],"mappings":";;;AAAA,uCAAsC;AAA7B,oGAAA,QAAQ,OAAA;AACjB,yCAAwC;AAA/B,sGAAA,SAAS,OAAA;AAClB,+CAA8C;AAArC,4GAAA,YAAY,OAAA;AACrB,2CAA0C;AAAjC,wGAAA,UAAU,OAAA;AACnB,uCAAsC;AAA7B,oGAAA,QAAQ,OAAA;AACjB,yCAAwC;AAA/B,sGAAA,SAAS,OAAA;AAClB,qCAAoC;AAA3B,kGAAA,OAAO,OAAA"}
@@ -1,14 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.MemoryApi = void 0;
4
- var helpres_1 = require("../helpres");
4
+ var helpers_1 = require("../helpers");
5
5
  var MemoryApi = (function () {
6
6
  function MemoryApi(providers) {
7
7
  this.providers = providers;
8
8
  }
9
9
  MemoryApi.prototype.getMemory = function (id) {
10
10
  return this.providers.makeRequest({
11
- route: (0, helpres_1.buildRoute)('memory'),
11
+ route: (0, helpers_1.buildRoute)('memory'),
12
12
  params: {
13
13
  id: id,
14
14
  },
@@ -16,12 +16,12 @@ var MemoryApi = (function () {
16
16
  };
17
17
  MemoryApi.prototype.getAllMemories = function () {
18
18
  return this.providers.makeRequest({
19
- route: (0, helpres_1.buildRoute)('memories'),
19
+ route: (0, helpers_1.buildRoute)('memories'),
20
20
  });
21
21
  };
22
22
  MemoryApi.prototype.deleteMemory = function (id) {
23
23
  return this.providers.makeRequest({
24
- route: (0, helpres_1.buildRoute)('memory'),
24
+ route: (0, helpers_1.buildRoute)('memory'),
25
25
  method: 'DELETE',
26
26
  params: {
27
27
  id: id,
@@ -30,13 +30,13 @@ var MemoryApi = (function () {
30
30
  };
31
31
  MemoryApi.prototype.deleteAllMemories = function () {
32
32
  return this.providers.makeRequest({
33
- route: (0, helpres_1.buildRoute)('memories'),
33
+ route: (0, helpers_1.buildRoute)('memories'),
34
34
  method: 'DELETE',
35
35
  });
36
36
  };
37
37
  MemoryApi.prototype.updateMemory = function (id, data) {
38
38
  return this.providers.makeRequest({
39
- route: (0, helpres_1.buildRoute)('memory'),
39
+ route: (0, helpers_1.buildRoute)('memory'),
40
40
  method: 'PATCH',
41
41
  data: data,
42
42
  params: {
@@ -46,7 +46,7 @@ var MemoryApi = (function () {
46
46
  };
47
47
  MemoryApi.prototype.createMemory = function (data) {
48
48
  return this.providers.makeRequest({
49
- route: (0, helpres_1.buildRoute)('memory'),
49
+ route: (0, helpers_1.buildRoute)('memory'),
50
50
  method: 'POST',
51
51
  data: data,
52
52
  });
@@ -1 +1 @@
1
- {"version":3,"file":"memoryApi.js","sourceRoot":"","sources":["../../../src/api/memoryApi.ts"],"names":[],"mappings":";;;AAEA,sCAAwC;AAExC;IACE,mBACmB,SAAoB;QAApB,cAAS,GAAT,SAAS,CAAW;IACpC,CAAC;IAMJ,6BAAS,GAAT,UAAU,EAAU;QAClB,OAAO,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC;YAChC,KAAK,EAAE,IAAA,oBAAU,EAAC,QAAQ,CAAC;YAC3B,MAAM,EAAE;gBACN,EAAE,IAAA;aACH;SACF,CAAC,CAAC;IACL,CAAC;IAMD,kCAAc,G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@@ -1,26 +1,26 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.MigrationApi = void 0;
4
- var helpres_1 = require("../helpres");
4
+ var helpers_1 = require("../helpers");
5
5
  var MigrationApi = (function () {
6
6
  function MigrationApi(providers) {
7
7
  this.providers = providers;
8
8
  }
9
9
  MigrationApi.prototype.migrationsStatus = function () {
10
10
  return this.providers.makeRequest({
11
- route: (0, helpres_1.buildRoute)('migration'),
11
+ route: (0, helpers_1.buildRoute)('migration'),
12
12
  method: 'GET',
13
13
  });
14
14
  };
15
15
  MigrationApi.prototype.migrationsRun = function () {
16
16
  return this.providers.makeRequest({
17
- route: (0, helpres_1.buildRoute)('migration'),
17
+ route: (0, helpers_1.buildRoute)('migration'),
18
18
  method: 'POST',
19
19
  });
20
20
  };
21
21
  MigrationApi.prototype.revertLatest = function () {
22
22
  return this.providers.makeRequest({
23
- route: (0, helpres_1.buildRoute)('migration'),
23
+ route: (0, helpers_1.buildRoute)('migration'),
24
24
  method: 'DELETE',
25
25
  });
26
26
  };
@@ -1,14 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SkillApi = void 0;
4
- var helpres_1 = require("../helpres");
4
+ var helpers_1 = require("../helpers");
5
5
  var SkillApi = (function () {
6
6
  function SkillApi(providers) {
7
7
  this.providers = providers;
8
8
  }
9
9
  SkillApi.prototype.getSkill = function (id) {
10
10
  return this.providers.makeRequest({
11
- route: (0, helpres_1.buildRoute)('skill'),
11
+ route: (0, helpers_1.buildRoute)('skill'),
12
12
  params: {
13
13
  id: id,
14
14
  },
@@ -16,12 +16,12 @@ var SkillApi = (function () {
16
16
  };
17
17
  SkillApi.prototype.getAllSkills = function () {
18
18
  return this.providers.makeRequest({
19
- route: (0, helpres_1.buildRoute)('skills'),
19
+ route: (0, helpers_1.buildRoute)('skills'),
20
20
  });
21
21
  };
22
22
  SkillApi.prototype.deleteSkill = function (id) {
23
23
  return this.providers.makeRequest({
24
- route: (0, helpres_1.buildRoute)('skill'),
24
+ route: (0, helpers_1.buildRoute)('skill'),
25
25
  method: 'DELETE',
26
26
  params: {
27
27
  id: id,
@@ -30,13 +30,13 @@ var SkillApi = (function () {
30
30
  };
31
31
  SkillApi.prototype.deleteAllSkills = function () {
32
32
  return this.providers.makeRequest({
33
- route: (0, helpres_1.buildRoute)('skills'),
33
+ route: (0, helpers_1.buildRoute)('skills'),
34
34
  method: 'DELETE',
35
35
  });
36
36
  };
37
37
  SkillApi.prototype.updateSkill = function (id, data) {
38
38
  return this.providers.makeRequest({
39
- route: (0, helpres_1.buildRoute)('skill'),
39
+ route: (0, helpers_1.buildRoute)('skill'),
40
40
  method: 'PATCH',
41
41
  data: data,
42
42
  params: {
@@ -46,7 +46,7 @@ var SkillApi = (function () {
46
46
  };
47
47
  SkillApi.prototype.createSkill = function (data) {
48
48
  return this.providers.makeRequest({
49
- route: (0, helpres_1.buildRoute)('skill'),
49
+ route: (0, helpers_1.buildRoute)('skill'),
50
50
  method: 'POST',
51
51
  data: data,
52
52
  });
@@ -4,4 +4,4 @@ exports.buildRoute = void 0;
4
4
  var constants_1 = require("./constants");
5
5
  var buildRoute = function (route) { return "".concat(constants_1.IDW_PROVIDER_NAME_SPACE, "/").concat(route); };
6
6
  exports.buildRoute = buildRoute;
7
- //# sourceMappingURL=helpres.js.map
7
+ //# sourceMappingURL=helpers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../src/helpers.ts"],"names":[],"mappings":";;;AAAA,yCAAsD;AAE/C,IAAM,UAAU,GAAG,UAAC,KAAa,IAAa,OAAA,UAAG,mCAAuB,cAAI,KAAK,CAAE,EAArC,CAAqC,CAAC;AAA9E,QAAA,UAAU,cAAoE"}
@@ -1,4 +1,4 @@
1
- import { buildRoute } from '../helpres';
1
+ import { buildRoute } from '../helpers';
2
2
  export class FlowApi {
3
3
  constructor(providers) {
4
4
  this.providers = providers;
@@ -1,4 +1,4 @@
1
- import { buildRoute } from '../helpres';
1
+ import { buildRoute } from '../helpers';
2
2
  export class IdwDbApi {
3
3
  constructor(providers) {
4
4
  this.providers = providers;
@@ -1,4 +1,4 @@
1
- import { buildRoute } from '../helpres';
1
+ import { buildRoute } from '../helpers';
2
2
  export class IdwInfoApi {
3
3
  constructor(providers) {
4
4
  this.providers = providers;
@@ -7,7 +7,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
7
7
  step((generator = generator.apply(thisArg, _arguments || [])).next());
8
8
  });
9
9
  };
10
- import { buildRoute } from '../helpres';
10
+ import { buildRoute } from '../helpers';
11
11
  const noop = () => { };
12
12
  export class IdwRwcApi {
13
13
  constructor(providers) {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"}
@@ -1,4 +1,4 @@
1
- import { buildRoute } from '../helpres';
1
+ import { buildRoute } from '../helpers';
2
2
  export class MemoryApi {
3
3
  constructor(providers) {
4
4
  this.providers = providers;
@@ -1 +1 @@
1
- {"version":3,"file":"memoryApi.js","sourceRoot":"","sources":["../../../src/api/memoryApi.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAExC,MAAM,OAAO,SAAS;IACpB,YACmB,SAAoB;QAApB,cAAS,GAAT,SAAS,CAAW;IACpC,CAAC;IAMJ,SAAS,CAAC,EAAU;QAClB,OAAO,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC;YAChC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;YAC3B,MAAM,EAAE;gBACN,EAAE;aACH;SACF,CAAC,CAAC;IACL,CAAC;IAMD,cAAc;QACZ,OAAO,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC;YAChC,KAAK,EAAE,UAAU,CAAC,UAAU,CAAC;SAC9B,CAAC,CAAC;IACL,CAAC;IAMD,YAAY,CAAC,EAAU;QACrB,OAAO,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC;YAChC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;YAC3B,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE;gBACN,EAAE;aACH;SACF,CAAC,CAAC;IACL,CAAC;IAKD,iBAAiB;QACf,OAAO,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC;YAChC,KAAK,EAAE,UAAU,CAAC,UAAU,CAAC;YAC7B,MAAM,EAAE,QAAQ;SACjB,CAAC,CAAC;IACL,CAAC;IAOD,YAAY,CAAC,EAAU,EAAE,IAAsB;QAC7C,OAAO,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC;YAChC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;YAC3B,MAAM,EAAE,OAAO;YAC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AChC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;YAC3B,MAAM,EAAE,OAAO;YACf,IAAI;YACJ,MAAM,EAAE;gBACN,EAAE;aACH;SACF,CAAC,CAAC;IACL,CAAC;IAMD,YAAY,CAAC,IAAsB;QACjC,OAAO,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC;YAChC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;YAC3B,MAAM,EAAE,MAAM;YACd,IAAI;SACL,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -1,4 +1,4 @@
1
- import { buildRoute } from '../helpres';
1
+ import { buildRoute } from '../helpers';
2
2
  export class MigrationApi {
3
3
  constructor(providers) {
4
4
  this.providers = providers;
@@ -1,4 +1,4 @@
1
- import { buildRoute } from '../helpres';
1
+ import { buildRoute } from '../helpers';
2
2
  export class SkillApi {
3
3
  constructor(providers) {
4
4
  this.providers = providers;
@@ -1,3 +1,3 @@
1
1
  import { IDW_PROVIDER_NAME_SPACE } from './constants';
2
2
  export const buildRoute = (route) => `${IDW_PROVIDER_NAME_SPACE}/${route}`;
3
- //# sourceMappingURL=helpres.js.map
3
+ //# sourceMappingURL=helpers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../src/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAEtD,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,KAAa,EAAU,EAAE,CAAC,GAAG,uBAAuB,IAAI,KAAK,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"memoryApi.d.ts","sourceRoot":"","sources":["../../../src/api/memoryApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAG3F,qBAAa,SAAS;IAElB,OAAO,CAAC,QAAQ,CAAC,SAAS;gBAAT,SAAS,EAAE,SAAS;IAOvC,SAAS,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAatC,cAAc,IAAI,OAAO,CAAC,YAAY,CAAC;IAUvC,YAAY,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAavC,iBAAiB,IAAI,OAAO,CAAC,IAAI,CAAC;IAYlC,YAAY,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,gBAAgB,GAAG,OAAO,CAAC,MAAM,CAAC;IAejE,YAAY,CAAC,IAAI,EAAE,gBAAgB,GAAG,OAAO,CAAC,MAAM,CAAC;CAOtD"}
1
+ {"version":3,"file":"memoryApi.d.ts","sourceRoot":"","sources":["../../../src/api/memoryApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAG3F,qBAAa,SAAS;IAElB,OAAO,CAAC,QAAQ,CAAC,SAAS;gBAAT,SAAS,EAAE,SAAS;IAOvC,SAAS,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAYtC,cAAc,IAAI,OAAO,CAAC,YAAY,CAAC;IAUvC,YAAY,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAavC,iBAAiB,IAAI,OAAO,CAAC,IAAI,CAAC;IAYlC,YAAY,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,gBAAgB,GAAG,OAAO,CAAC,MAAM,CAAC;IAejE,YAAY,CAAC,IAAI,EAAE,gBAAgB,GAAG,OAAO,CAAC,MAAM,CAAC;CAOtD"}
@@ -1,2 +1,2 @@
1
1
  export declare const buildRoute: (route: string) => string;
2
- //# sourceMappingURL=helpres.d.ts.map
2
+ //# sourceMappingURL=helpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../src/helpers.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,UAAW,MAAM,KAAG,MAA+C,CAAC"}
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.2.0-beta.1692.0",
2
+ "version": "2.2.0-beta.1693.0",
3
3
  "name": "@or-sdk/idw",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
@@ -27,8 +27,8 @@
27
27
  "@or-sdk/accounts": "^1.2.13",
28
28
  "@or-sdk/base": "^0.28.3",
29
29
  "@or-sdk/deployer": "^1.1.5",
30
- "@or-sdk/flows": "^2.1.4-beta.1692.0",
31
- "@or-sdk/graph": "^1.6.1-beta.1692.0",
30
+ "@or-sdk/flows": "^2.1.4-beta.1693.0",
31
+ "@or-sdk/graph": "^1.6.1-beta.1693.0",
32
32
  "@or-sdk/providers": "^0.2.4",
33
33
  "@or-sdk/settings": "^0.24.11",
34
34
  "@or-sdk/users": "^0.30.2",
@@ -1,6 +1,6 @@
1
1
  import { Flow, FlowUpdateData } from '../types';
2
2
  import { Providers } from '@or-sdk/providers';
3
- import { buildRoute } from '../helpres';
3
+ import { buildRoute } from '../helpers';
4
4
 
5
5
  export class FlowApi {
6
6
  constructor(
@@ -1,5 +1,5 @@
1
1
  import { Providers } from '@or-sdk/providers';
2
- import { buildRoute } from '../helpres';
2
+ import { buildRoute } from '../helpers';
3
3
 
4
4
  export class IdwDbApi {
5
5
  constructor(
@@ -1,6 +1,6 @@
1
1
  import { Providers } from '@or-sdk/providers';
2
2
  import { IdwBaseInfo, IdwInfoWithStatistic } from '../types';
3
- import { buildRoute } from '../helpres';
3
+ import { buildRoute } from '../helpers';
4
4
 
5
5
  export class IdwInfoApi {
6
6
  constructor(
@@ -1,6 +1,6 @@
1
1
  import { Providers } from '@or-sdk/providers';
2
2
  import { ChatCheckResponse, IdwRwcData, UpsertIdwRwcData } from '../types';
3
- import { buildRoute } from '../helpres';
3
+ import { buildRoute } from '../helpers';
4
4
 
5
5
  const noop: (...args: []) => void = () => {};
6
6
 
package/src/api/index.ts CHANGED
@@ -1,10 +1,7 @@
1
1
  export { SkillApi } from './skillApi';
2
2
  export { MemoryApi } from './memoryApi';
3
-
4
3
  export { MigrationApi } from './migrationApi';
5
4
  export { IdwInfoApi } from './idwInfoApi';
6
5
  export { IdwDbApi } from './idwDbApi';
7
-
8
6
  export { IdwRwcApi } from './idwRwcApi';
9
-
10
7
  export { FlowApi } from './flowApi';
@@ -1,6 +1,6 @@
1
1
  import { Providers } from '@or-sdk/providers';
2
2
  import { ListMemories, Memory, MemoryCreateData, MemoryUpdateData } from '../types/memory';
3
- import { buildRoute } from '../helpres';
3
+ import { buildRoute } from '../helpers';
4
4
 
5
5
  export class MemoryApi {
6
6
  constructor(
@@ -20,7 +20,6 @@ export class MemoryApi {
20
20
  });
21
21
  }
22
22
 
23
-
24
23
  /**
25
24
  * @description Get all memories
26
25
  */
@@ -1,5 +1,5 @@
1
1
  import { Providers } from '@or-sdk/providers';
2
- import { buildRoute } from '../helpres';
2
+ import { buildRoute } from '../helpers';
3
3
 
4
4
  export class MigrationApi {
5
5
  constructor(
@@ -1,6 +1,6 @@
1
1
  import { Skill, ListSkills, SkillWithFlow, SkillUpdateData, SkillCreateData } from '../types';
2
2
  import { Providers } from '@or-sdk/providers';
3
- import { buildRoute } from '../helpres';
3
+ import { buildRoute } from '../helpers';
4
4
 
5
5
  export class SkillApi {
6
6
  constructor(
@@ -1 +0,0 @@
1
- {"version":3,"file":"helpres.js","sourceRoot":"","sources":["../../src/helpres.ts"],"names":[],"mappings":";;;AAAA,yCAAsD;AAE/C,IAAM,UAAU,GAAG,UAAC,KAAa,IAAa,OAAA,UAAG,mCAAuB,cAAI,KAAK,CAAE,EAArC,CAAqC,CAAC;AAA9E,QAAA,UAAU,cAAoE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"helpres.js","sourceRoot":"","sources":["../../src/helpres.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAEtD,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,KAAa,EAAU,EAAE,CAAC,GAAG,uBAAuB,IAAI,KAAK,EAAE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"helpres.d.ts","sourceRoot":"","sources":["../../src/helpres.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,UAAW,MAAM,KAAG,MAA+C,CAAC"}
File without changes