@matech/thebigpos-sdk 3.25.0-dev-7825 → 3.25.0-dev-7851
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.cjs +18 -0
- package/dist/index.cjs.map +2 -2
- package/dist/index.d.ts +21 -0
- package/dist/index.js +18 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +39 -2
package/dist/index.d.ts
CHANGED
|
@@ -5484,6 +5484,9 @@ export interface ReorderUserTableViewsRequest {
|
|
|
5484
5484
|
export interface RequestImpersonationRequest {
|
|
5485
5485
|
email: string;
|
|
5486
5486
|
}
|
|
5487
|
+
export interface ResendChallengeCodeRequest {
|
|
5488
|
+
sessionId: string;
|
|
5489
|
+
}
|
|
5487
5490
|
export interface ResetPasswordRequest {
|
|
5488
5491
|
token: string;
|
|
5489
5492
|
password: string;
|
|
@@ -8705,6 +8708,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8705
8708
|
* @secure
|
|
8706
8709
|
* @response `200` `UserDeactivated` OK
|
|
8707
8710
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
8711
|
+
* @response `429` `ProblemDetails` Too Many Requests
|
|
8712
|
+
* @response `503` `void` Service Unavailable
|
|
8708
8713
|
*/
|
|
8709
8714
|
getToken: (data: TokenRequest, params?: RequestParams) => Promise<AxiosResponse<UserDeactivated, any, {}, any>>;
|
|
8710
8715
|
/**
|
|
@@ -8716,9 +8721,25 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8716
8721
|
* @request POST:/api/token/code
|
|
8717
8722
|
* @secure
|
|
8718
8723
|
* @response `200` `UserDeactivated` OK
|
|
8724
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
8719
8725
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
8726
|
+
* @response `429` `ProblemDetails` Too Many Requests
|
|
8720
8727
|
*/
|
|
8721
8728
|
getTokenFromChallengeCode: (data: TokenChallengeRequest, params?: RequestParams) => Promise<AxiosResponse<UserDeactivated, any, {}, any>>;
|
|
8729
|
+
/**
|
|
8730
|
+
* No description
|
|
8731
|
+
*
|
|
8732
|
+
* @tags Authentication
|
|
8733
|
+
* @name ResendChallengeCode
|
|
8734
|
+
* @summary Resend Challenge Code
|
|
8735
|
+
* @request POST:/api/token/code/resend
|
|
8736
|
+
* @secure
|
|
8737
|
+
* @response `204` `void` No Content
|
|
8738
|
+
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
8739
|
+
* @response `429` `ProblemDetails` Too Many Requests
|
|
8740
|
+
* @response `503` `void` Service Unavailable
|
|
8741
|
+
*/
|
|
8742
|
+
resendChallengeCode: (data: ResendChallengeCodeRequest, params?: RequestParams) => Promise<AxiosResponse<void, any, {}, any>>;
|
|
8722
8743
|
/**
|
|
8723
8744
|
* No description
|
|
8724
8745
|
*
|
package/dist/index.js
CHANGED
|
@@ -1102,6 +1102,8 @@ export class Api extends HttpClient {
|
|
|
1102
1102
|
* @secure
|
|
1103
1103
|
* @response `200` `UserDeactivated` OK
|
|
1104
1104
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1105
|
+
* @response `429` `ProblemDetails` Too Many Requests
|
|
1106
|
+
* @response `503` `void` Service Unavailable
|
|
1105
1107
|
*/
|
|
1106
1108
|
getToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1107
1109
|
/**
|
|
@@ -1113,9 +1115,25 @@ export class Api extends HttpClient {
|
|
|
1113
1115
|
* @request POST:/api/token/code
|
|
1114
1116
|
* @secure
|
|
1115
1117
|
* @response `200` `UserDeactivated` OK
|
|
1118
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
1116
1119
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1120
|
+
* @response `429` `ProblemDetails` Too Many Requests
|
|
1117
1121
|
*/
|
|
1118
1122
|
getTokenFromChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1123
|
+
/**
|
|
1124
|
+
* No description
|
|
1125
|
+
*
|
|
1126
|
+
* @tags Authentication
|
|
1127
|
+
* @name ResendChallengeCode
|
|
1128
|
+
* @summary Resend Challenge Code
|
|
1129
|
+
* @request POST:/api/token/code/resend
|
|
1130
|
+
* @secure
|
|
1131
|
+
* @response `204` `void` No Content
|
|
1132
|
+
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1133
|
+
* @response `429` `ProblemDetails` Too Many Requests
|
|
1134
|
+
* @response `503` `void` Service Unavailable
|
|
1135
|
+
*/
|
|
1136
|
+
resendChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code/resend`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
1119
1137
|
/**
|
|
1120
1138
|
* No description
|
|
1121
1139
|
*
|