@memori.ai/memori-api-client 0.4.6 → 0.6.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.
package/CHANGELOG.md ADDED
@@ -0,0 +1,165 @@
1
+
2
+
3
+ ## [0.6.0](https://github.com/memori-ai/memori-api-client/compare/v0.5.0...v0.6.0) (2022-12-20)
4
+
5
+
6
+ ### Features
7
+
8
+ * update Memori and Memory typings ([c796d2e](https://github.com/memori-ai/memori-api-client/commit/c796d2ed31161f9f3f20d0d62df0c174bbb4b872))
9
+
10
+
11
+ ### Maintenance
12
+
13
+ * update package.json files ([8deca06](https://github.com/memori-ai/memori-api-client/commit/8deca06d42c1110a13e2572b794ff0bcfd65076f))
14
+
15
+ ## [0.5.0](https://github.com/memori-ai/memori-api-client/compare/v0.4.6...v0.5.0) (2022-12-13)
16
+
17
+
18
+ ### Features
19
+
20
+ * add MemoriContentUpdated ([c252a68](https://github.com/memori-ai/memori-api-client/commit/c252a68cefc239fd7413556f397ccf785f57e04c))
21
+
22
+ ## [0.4.6](https://github.com/memori-ai/memori-api-client/compare/v0.4.5...v0.4.6) (2022-12-07)
23
+
24
+
25
+ ### Maintenance
26
+
27
+ * add description in package.json ([4526d38](https://github.com/memori-ai/memori-api-client/commit/4526d3816b1ad36f2f1b281ab6b46f64f0cfd4fd))
28
+
29
+ ## [0.4.5](https://github.com/memori-ai/memori-api-client/compare/v0.4.4...v0.4.5) (2022-12-06)
30
+
31
+
32
+ ### Maintenance
33
+
34
+ * add prebump build with release-it ([1e892e3](https://github.com/memori-ai/memori-api-client/commit/1e892e33452c0c2ebed56e59c538f5bdce5e31de))
35
+ * **deps:** bump terser from 4.8.0 to 4.8.1 ([8fe97ad](https://github.com/memori-ai/memori-api-client/commit/8fe97ad0a0779fe48266d6f9472158f393a94b49))
36
+
37
+ ## [0.4.4](https://github.com/memori-ai/memori-api-client/compare/v0.4.3...v0.4.4) (2022-11-28)
38
+
39
+
40
+ ### Maintenance
41
+
42
+ * run dist ([5853078](https://github.com/memori-ai/memori-api-client/commit/58530783784df5d11643516269eaf258edaca699))
43
+
44
+ ## [0.4.3](https://github.com/memori-ai/memori-api-client/compare/v0.4.2...v0.4.3) (2022-11-28)
45
+
46
+
47
+ ### Features
48
+
49
+ * add type on paginated contents query ([b823f73](https://github.com/memori-ai/memori-api-client/commit/b823f733d3ece8ce6dfddb0c8d48bfb72fbcbdec))
50
+
51
+ ## [0.4.2](https://github.com/memori-ai/memori-api-client/compare/v0.4.1...v0.4.2) (2022-11-25)
52
+
53
+
54
+ ### Bug Fixes
55
+
56
+ * unans questions pagination params type ([2ccf150](https://github.com/memori-ai/memori-api-client/commit/2ccf150eae4c970f7aee49c985241ef0af12b00b))
57
+
58
+ ## [0.4.1](https://github.com/memori-ai/memori-api-client/compare/v0.4.0...v0.4.1) (2022-11-25)
59
+
60
+
61
+ ### Changes
62
+
63
+ * unanswered question response with suggestions from engine ([1b3819c](https://github.com/memori-ai/memori-api-client/commit/1b3819cc058143bc671868f065e10e3441957f30))
64
+
65
+ ## [0.4.0](https://github.com/memori-ai/memori-api-client/compare/v0.3.3...v0.4.0) (2022-11-25)
66
+
67
+
68
+ ### Features
69
+
70
+ * add paginated queries ([2aea177](https://github.com/memori-ai/memori-api-client/commit/2aea1772f4ec9c19c8b11df27bf11b9c35b9c6ae))
71
+
72
+ ## [0.3.3](https://github.com/memori-ai/memori-api-client/compare/v0.3.2...v0.3.3) (2022-11-24)
73
+
74
+
75
+ ### Maintenance
76
+
77
+ * add open session with initial question in typings ([75f2f88](https://github.com/memori-ai/memori-api-client/commit/75f2f8893e0d24294addab6db823290445e48064))
78
+
79
+ ## [0.3.2](https://github.com/memori-ai/memori-api-client/compare/v0.3.1...v0.3.2) (2022-11-24)
80
+
81
+
82
+ ### Bug Fixes
83
+
84
+ * properties typings ([976ce37](https://github.com/memori-ai/memori-api-client/commit/976ce37830e09b3786a5da3bd78f3ca60fa705d7))
85
+
86
+ ## [0.3.1](https://github.com/memori-ai/memori-api-client/compare/v0.3.0...v0.3.1) (2022-11-21)
87
+
88
+
89
+ ### Maintenance
90
+
91
+ * build add new api, update ([e69f833](https://github.com/memori-ai/memori-api-client/commit/e69f83311466d63da7fe4e783393895ebac1232b))
92
+
93
+ ## [0.3.0](https://github.com/memori-ai/memori-api-client/compare/v0.2.1...v0.3.0) (2022-11-21)
94
+
95
+
96
+ ### Features
97
+
98
+ * add new api, update ([0952a37](https://github.com/memori-ai/memori-api-client/commit/0952a376d9e4662b702e3b02d99eb577dcb9aa5d))
99
+
100
+ ## [0.2.1](https://github.com/memori-ai/memori-api-client/compare/v0.2.0...v0.2.1) (2022-07-25)
101
+
102
+
103
+ ### Maintenance
104
+
105
+ * update dist ([01032df](https://github.com/memori-ai/memori-api-client/commit/01032df21c57d02e37c8653fedb8f339f8a56b6a))
106
+
107
+ ## [0.2.0](https://github.com/memori-ai/memori-api-client/compare/v0.1.2...v0.2.0) (2022-07-25)
108
+
109
+
110
+ ### Features
111
+
112
+ * add contextVars apis ([864a6fc](https://github.com/memori-ai/memori-api-client/commit/864a6fc12fd5d44fdb403bc083cc0f17205d18eb))
113
+
114
+
115
+ ### Changes
116
+
117
+ * patch memori accepts partial memori object ([8b52bc9](https://github.com/memori-ai/memori-api-client/commit/8b52bc93e245c80b643addd956e1ef86d007008e))
118
+
119
+ ## [0.1.2](https://github.com/memori-ai/memori-api-client/compare/v0.1.1...v0.1.2) (2022-07-14)
120
+
121
+
122
+ ### Bug Fixes
123
+
124
+ * remove disabling of microsoft speech sdk telemetry, will re-enabling it (ref: microsoft/cognitive-services-speech-sdk-js[#552](https://github.com/memori-ai/memori-api-client/issues/552)) ([763c294](https://github.com/memori-ai/memori-api-client/commit/763c29485c3a616be3c52826abdad7cefc0a65f7))
125
+
126
+ ## [0.1.1](https://github.com/memori-ai/memori-api-client/compare/v0.1.0...v0.1.1) (2022-07-13)
127
+
128
+
129
+ ### Changes
130
+
131
+ * remove test env, run test with actual method, remove useless private api calls ([d432fe7](https://github.com/memori-ai/memori-api-client/commit/d432fe70ea0ab55176bac44195be6c7dc6c27674))
132
+
133
+ ## 0.1.0 (2022-07-13)
134
+
135
+
136
+ ### Features
137
+
138
+ * add backend apis and tests ([aa4216b](https://github.com/memori-ai/memori-api-client/commit/aa4216be6beec0a129959ca62f43b4f24d6c664b))
139
+ * add backend apis and tests ([1405d37](https://github.com/memori-ai/memori-api-client/commit/1405d37a1bd66eb05b82dc561229f297713efa9b))
140
+ * add engine apis and tests ([63efa57](https://github.com/memori-ai/memori-api-client/commit/63efa57ef8931d79dbea635e727a024a6878d8ad))
141
+ * add helpers + constants ([f485643](https://github.com/memori-ai/memori-api-client/commit/f485643911bec9775f9ee61c5124a8265116e557))
142
+ * add media helper ([9f7c8e1](https://github.com/memori-ai/memori-api-client/commit/9f7c8e1564e6c4ccaf82c8515ec5d973a746cc89))
143
+ * add speech client sdk ([ab63d0b](https://github.com/memori-ai/memori-api-client/commit/ab63d0bd1efe532a4481dda2ec887b38dcc102c2))
144
+
145
+
146
+ ### Bug Fixes
147
+
148
+ * fixes for windows for end of line ([27c0309](https://github.com/memori-ai/memori-api-client/commit/27c030981395fe7159235fa06c4a467e9d7fbc75))
149
+ * typo in jsdoc ([16496e5](https://github.com/memori-ai/memori-api-client/commit/16496e5d49f667a47e1309ea46732fbd32815c3a))
150
+
151
+
152
+ ### Changes
153
+
154
+ * typings import, engine apis directly in client ([56efcca](https://github.com/memori-ai/memori-api-client/commit/56efccac5a717218b958579200e5b39dec23eba3))
155
+ * use cross-fetch ([9a9e073](https://github.com/memori-ai/memori-api-client/commit/9a9e0739494a4a887eb22c71142c682f121820fb))
156
+
157
+
158
+ ### Maintenance
159
+
160
+ * add dist dir to git ([073b52a](https://github.com/memori-ai/memori-api-client/commit/073b52a158463a86008996c3c83d1991eddb6b18))
161
+ * first import ([6b2f327](https://github.com/memori-ai/memori-api-client/commit/6b2f327940719aff0aee0f2dc4e6005c60624635))
162
+ * prepare for release ([d542d65](https://github.com/memori-ai/memori-api-client/commit/d542d65560fa83d19af9e4872fdebc9203cb4963))
163
+ * run build on pre-release ([2f93f10](https://github.com/memori-ai/memori-api-client/commit/2f93f101403c9dcedc2b8777c376227bd4f9a75c))
164
+ * update lockfile ([96240fd](https://github.com/memori-ai/memori-api-client/commit/96240fd02996e8bfc3c98d3b8b999932fb47af11))
165
+ * update typings ([08fc01b](https://github.com/memori-ai/memori-api-client/commit/08fc01b8c4dbb790acb06c6ba676b593c969e47d))
@@ -134,5 +134,12 @@ declare const _default: (apiUrl: string) => {
134
134
  ownerTenantName: string;
135
135
  ownerUserName: string;
136
136
  }) => Promise<ResponseSpec>;
137
+ /**
138
+ * Signals that the content of a Memori object has been updated.
139
+ * Consequently, a run of the Content Quality Job will be scheduled as soon as possible.
140
+ * @param {string} authToken - The login token
141
+ * @param {string} memoriID - The ID of the Memori object
142
+ */
143
+ memoriContentUpdated: (authToken: string, memoriID: string) => Promise<ResponseSpec>;
137
144
  };
138
145
  export default _default;
@@ -608,6 +608,19 @@ var memori = (function (apiUrl) {
608
608
  body: memori,
609
609
  method: 'POST'
610
610
  });
611
+ },
612
+
613
+ /**
614
+ * Signals that the content of a Memori object has been updated.
615
+ * Consequently, a run of the Content Quality Job will be scheduled as soon as possible.
616
+ * @param {string} authToken - The login token
617
+ * @param {string} memoriID - The ID of the Memori object
618
+ */
619
+ memoriContentUpdated: function memoriContentUpdated(authToken, memoriID) {
620
+ return apiFetcher("/MemoriContentUpdated/" + authToken + "/" + memoriID, {
621
+ apiUrl: apiUrl,
622
+ method: 'POST'
623
+ });
611
624
  }
612
625
  };
613
626
  });