@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.cjs
CHANGED
|
@@ -1102,6 +1102,8 @@ 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 @@ 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
|
*
|