@bytexbyte/ike-app-api 1.0.56 → 1.0.57

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.
@@ -185,10 +185,13 @@ declare class IKEAppUserApi extends BxBApi {
185
185
  error: 'You are not logged in.' | 'Incorrect userId.' | 'Incorrect tagTokenId.' | 'Incorrect action.' | 'Incorrect detail.' | 'You cannot create log to this user.' | 'Field(s) cannot be empty.' | 'User not found.' | 'User has not been verified.';
186
186
  }>;
187
187
  updateIncodeId(userId: string, body: {
188
- token: string;
189
- interviewId: string;
188
+ token?: string;
189
+ interviewId?: string;
190
+ incodeId?: string;
190
191
  }): Promise<UpdateResult & {
191
192
  incodeId: string | null;
193
+ } | {
194
+ error: 'Missing incodeId or token and interviewId';
192
195
  }>;
193
196
  }
194
197
  export default IKEAppUserApi;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytexbyte/ike-app-api",
3
- "version": "1.0.56",
3
+ "version": "1.0.57",
4
4
  "description": "app api",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",