@polyguard/sdk 1.4.2 → 1.5.1
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/LICENSE +200 -0
- package/README.md +328 -0
- package/dist/sdk.esm.js +16 -4
- package/dist/sdk.js +16 -4
- package/dist/server.esm.js +83 -0
- package/package.json +14 -3
- package/dist/sdk.global.js +0 -11256
- package/scripts/regenerate-client.sh +0 -59
- package/src/PolyguardClient.js +0 -25
- package/src/PolyguardWebsocketClientImpl.js +0 -183
- package/src/__tests__/PolyguardClient.test.js +0 -65
- package/src/__tests__/PolyguardWebsocketClientImpl.test.js +0 -574
- package/src/__tests__/helpers/fixtures.js +0 -27
- package/src/__tests__/helpers/mockWebSocket.js +0 -66
- package/src/__tests__/sidebar.test.js +0 -289
- package/src/browser.js +0 -9
- package/src/generated/.babelrc +0 -33
- package/src/generated/.openapi-generator/FILES +0 -63
- package/src/generated/.openapi-generator/VERSION +0 -1
- package/src/generated/.openapi-generator-ignore +0 -23
- package/src/generated/.travis.yml +0 -5
- package/src/generated/README.md +0 -211
- package/src/generated/docs/ApiControllersPslStirCallRequest.md +0 -18
- package/src/generated/docs/ApiModelsApiCallModelsCallRequest.md +0 -12
- package/src/generated/docs/AppId.md +0 -8
- package/src/generated/docs/AppleApi.md +0 -88
- package/src/generated/docs/AuthApi.md +0 -1464
- package/src/generated/docs/BlockingApi.md +0 -208
- package/src/generated/docs/CallsApi.md +0 -140
- package/src/generated/docs/Certainty.md +0 -8
- package/src/generated/docs/CreateLinkRequest.md +0 -12
- package/src/generated/docs/DefaultApi.md +0 -128
- package/src/generated/docs/HTTPValidationError.md +0 -9
- package/src/generated/docs/InviteRequestModel.md +0 -10
- package/src/generated/docs/JWTRequest.md +0 -11
- package/src/generated/docs/LinksApi.md +0 -162
- package/src/generated/docs/NumberVerification.md +0 -10
- package/src/generated/docs/SdkApi.md +0 -54
- package/src/generated/docs/SecureLinksApi.md +0 -614
- package/src/generated/docs/StartAttestationRequest.md +0 -9
- package/src/generated/docs/StartMeetingRequest.md +0 -9
- package/src/generated/docs/StirApi.md +0 -52
- package/src/generated/docs/TwilioApi.md +0 -138
- package/src/generated/docs/UsersApi.md +0 -362
- package/src/generated/docs/ValidationError.md +0 -11
- package/src/generated/docs/ValidationErrorLocInner.md +0 -8
- package/src/generated/docs/VeriffApi.md +0 -188
- package/src/generated/docs/VeriffSessionRequest.md +0 -10
- package/src/generated/docs/VerifyRequest.md +0 -10
- package/src/generated/docs/WellKnownApi.md +0 -128
- package/src/generated/docs/ZoomApi.md +0 -848
- package/src/generated/git_push.sh +0 -57
- package/src/generated/mocha.opts +0 -1
- package/src/generated/package.json +0 -46
- package/src/generated/src/ApiClient.js +0 -677
- package/src/generated/src/api/AppleApi.js +0 -109
- package/src/generated/src/api/AuthApi.js +0 -1512
- package/src/generated/src/api/BlockingApi.js +0 -217
- package/src/generated/src/api/CallsApi.js +0 -164
- package/src/generated/src/api/DefaultApi.js +0 -145
- package/src/generated/src/api/LinksApi.js +0 -195
- package/src/generated/src/api/SdkApi.js +0 -81
- package/src/generated/src/api/SecureLinksApi.js +0 -670
- package/src/generated/src/api/StirApi.js +0 -80
- package/src/generated/src/api/TwilioApi.js +0 -158
- package/src/generated/src/api/UsersApi.js +0 -375
- package/src/generated/src/api/VeriffApi.js +0 -209
- package/src/generated/src/api/WellKnownApi.js +0 -145
- package/src/generated/src/api/ZoomApi.js +0 -823
- package/src/generated/src/index.js +0 -244
- package/src/generated/src/model/ApiControllersPslStirCallRequest.js +0 -211
- package/src/generated/src/model/ApiModelsApiCallModelsCallRequest.js +0 -119
- package/src/generated/src/model/CreateLinkRequest.js +0 -131
- package/src/generated/src/model/HTTPValidationError.js +0 -94
- package/src/generated/src/model/InviteRequestModel.js +0 -109
- package/src/generated/src/model/JWTRequest.js +0 -113
- package/src/generated/src/model/NumberVerification.js +0 -107
- package/src/generated/src/model/StartAttestationRequest.js +0 -95
- package/src/generated/src/model/StartMeetingRequest.js +0 -95
- package/src/generated/src/model/ValidationError.js +0 -130
- package/src/generated/src/model/VeriffSessionRequest.js +0 -107
- package/src/generated/src/model/VerifyRequest.js +0 -109
- package/src/generated/test/api/AppleApi.spec.js +0 -73
- package/src/generated/test/api/AuthApi.spec.js +0 -353
- package/src/generated/test/api/BlockingApi.spec.js +0 -103
- package/src/generated/test/api/CallsApi.spec.js +0 -83
- package/src/generated/test/api/DefaultApi.spec.js +0 -73
- package/src/generated/test/api/LinksApi.spec.js +0 -83
- package/src/generated/test/api/SdkApi.spec.js +0 -63
- package/src/generated/test/api/SecureLinksApi.spec.js +0 -143
- package/src/generated/test/api/StirApi.spec.js +0 -63
- package/src/generated/test/api/TwilioApi.spec.js +0 -83
- package/src/generated/test/api/UsersApi.spec.js +0 -133
- package/src/generated/test/api/VeriffApi.spec.js +0 -93
- package/src/generated/test/api/WellKnownApi.spec.js +0 -83
- package/src/generated/test/api/ZoomApi.spec.js +0 -213
- package/src/generated/test/model/ApiControllersPslStirCallRequest.spec.js +0 -119
- package/src/generated/test/model/ApiModelsApiCallModelsCallRequest.spec.js +0 -83
- package/src/generated/test/model/AppId.spec.js +0 -59
- package/src/generated/test/model/Certainty.spec.js +0 -59
- package/src/generated/test/model/CreateLinkRequest.spec.js +0 -83
- package/src/generated/test/model/HTTPValidationError.spec.js +0 -65
- package/src/generated/test/model/InviteRequestModel.spec.js +0 -71
- package/src/generated/test/model/JWTRequest.spec.js +0 -77
- package/src/generated/test/model/NumberVerification.spec.js +0 -71
- package/src/generated/test/model/StartAttestationRequest.spec.js +0 -65
- package/src/generated/test/model/StartMeetingRequest.spec.js +0 -65
- package/src/generated/test/model/ValidationError.spec.js +0 -77
- package/src/generated/test/model/ValidationErrorLocInner.spec.js +0 -59
- package/src/generated/test/model/VeriffSessionRequest.spec.js +0 -71
- package/src/generated/test/model/VerifyRequest.spec.js +0 -71
- package/src/index.js +0 -16
- package/src/messageHandler.js +0 -121
- package/src/ticketService.js +0 -24
- package/src/ui.js +0 -88
- package/vitest.config.js +0 -10
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
# FastApi.StirApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *http://localhost*
|
|
4
|
-
|
|
5
|
-
Method | HTTP request | Description
|
|
6
|
-
------------- | ------------- | -------------
|
|
7
|
-
[**callInitiationStirCallInitiationPost**](StirApi.md#callInitiationStirCallInitiationPost) | **POST** /stir/call_initiation | Call Initiation
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
## callInitiationStirCallInitiationPost
|
|
12
|
-
|
|
13
|
-
> Object callInitiationStirCallInitiationPost(apiControllersPslStirCallRequest)
|
|
14
|
-
|
|
15
|
-
Call Initiation
|
|
16
|
-
|
|
17
|
-
### Example
|
|
18
|
-
|
|
19
|
-
```javascript
|
|
20
|
-
import FastApi from 'fast_api';
|
|
21
|
-
|
|
22
|
-
let apiInstance = new FastApi.StirApi();
|
|
23
|
-
let apiControllersPslStirCallRequest = new FastApi.ApiControllersPslStirCallRequest(); // ApiControllersPslStirCallRequest |
|
|
24
|
-
apiInstance.callInitiationStirCallInitiationPost(apiControllersPslStirCallRequest, (error, data, response) => {
|
|
25
|
-
if (error) {
|
|
26
|
-
console.error(error);
|
|
27
|
-
} else {
|
|
28
|
-
console.log('API called successfully. Returned data: ' + data);
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
### Parameters
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
Name | Type | Description | Notes
|
|
37
|
-
------------- | ------------- | ------------- | -------------
|
|
38
|
-
**apiControllersPslStirCallRequest** | [**ApiControllersPslStirCallRequest**](ApiControllersPslStirCallRequest.md)| |
|
|
39
|
-
|
|
40
|
-
### Return type
|
|
41
|
-
|
|
42
|
-
**Object**
|
|
43
|
-
|
|
44
|
-
### Authorization
|
|
45
|
-
|
|
46
|
-
No authorization required
|
|
47
|
-
|
|
48
|
-
### HTTP request headers
|
|
49
|
-
|
|
50
|
-
- **Content-Type**: application/json
|
|
51
|
-
- **Accept**: application/json
|
|
52
|
-
|
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
# FastApi.TwilioApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *http://localhost*
|
|
4
|
-
|
|
5
|
-
Method | HTTP request | Description
|
|
6
|
-
------------- | ------------- | -------------
|
|
7
|
-
[**twilioCheckTwilioCheckPost**](TwilioApi.md#twilioCheckTwilioCheckPost) | **POST** /twilio/check | Twilio Check
|
|
8
|
-
[**twilioStartTwilioStartPost**](TwilioApi.md#twilioStartTwilioStartPost) | **POST** /twilio/start | Twilio Start
|
|
9
|
-
[**twilioWebhookTwilioWebhookPost**](TwilioApi.md#twilioWebhookTwilioWebhookPost) | **POST** /twilio/webhook | Twilio Webhook
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
## twilioCheckTwilioCheckPost
|
|
14
|
-
|
|
15
|
-
> Object twilioCheckTwilioCheckPost(numberVerification)
|
|
16
|
-
|
|
17
|
-
Twilio Check
|
|
18
|
-
|
|
19
|
-
### Example
|
|
20
|
-
|
|
21
|
-
```javascript
|
|
22
|
-
import FastApi from 'fast_api';
|
|
23
|
-
|
|
24
|
-
let apiInstance = new FastApi.TwilioApi();
|
|
25
|
-
let numberVerification = new FastApi.NumberVerification(); // NumberVerification |
|
|
26
|
-
apiInstance.twilioCheckTwilioCheckPost(numberVerification, (error, data, response) => {
|
|
27
|
-
if (error) {
|
|
28
|
-
console.error(error);
|
|
29
|
-
} else {
|
|
30
|
-
console.log('API called successfully. Returned data: ' + data);
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
### Parameters
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
Name | Type | Description | Notes
|
|
39
|
-
------------- | ------------- | ------------- | -------------
|
|
40
|
-
**numberVerification** | [**NumberVerification**](NumberVerification.md)| |
|
|
41
|
-
|
|
42
|
-
### Return type
|
|
43
|
-
|
|
44
|
-
**Object**
|
|
45
|
-
|
|
46
|
-
### Authorization
|
|
47
|
-
|
|
48
|
-
No authorization required
|
|
49
|
-
|
|
50
|
-
### HTTP request headers
|
|
51
|
-
|
|
52
|
-
- **Content-Type**: application/json
|
|
53
|
-
- **Accept**: application/json
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
## twilioStartTwilioStartPost
|
|
57
|
-
|
|
58
|
-
> Object twilioStartTwilioStartPost(numberVerification)
|
|
59
|
-
|
|
60
|
-
Twilio Start
|
|
61
|
-
|
|
62
|
-
### Example
|
|
63
|
-
|
|
64
|
-
```javascript
|
|
65
|
-
import FastApi from 'fast_api';
|
|
66
|
-
|
|
67
|
-
let apiInstance = new FastApi.TwilioApi();
|
|
68
|
-
let numberVerification = new FastApi.NumberVerification(); // NumberVerification |
|
|
69
|
-
apiInstance.twilioStartTwilioStartPost(numberVerification, (error, data, response) => {
|
|
70
|
-
if (error) {
|
|
71
|
-
console.error(error);
|
|
72
|
-
} else {
|
|
73
|
-
console.log('API called successfully. Returned data: ' + data);
|
|
74
|
-
}
|
|
75
|
-
});
|
|
76
|
-
```
|
|
77
|
-
|
|
78
|
-
### Parameters
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
Name | Type | Description | Notes
|
|
82
|
-
------------- | ------------- | ------------- | -------------
|
|
83
|
-
**numberVerification** | [**NumberVerification**](NumberVerification.md)| |
|
|
84
|
-
|
|
85
|
-
### Return type
|
|
86
|
-
|
|
87
|
-
**Object**
|
|
88
|
-
|
|
89
|
-
### Authorization
|
|
90
|
-
|
|
91
|
-
No authorization required
|
|
92
|
-
|
|
93
|
-
### HTTP request headers
|
|
94
|
-
|
|
95
|
-
- **Content-Type**: application/json
|
|
96
|
-
- **Accept**: application/json
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
## twilioWebhookTwilioWebhookPost
|
|
100
|
-
|
|
101
|
-
> Object twilioWebhookTwilioWebhookPost()
|
|
102
|
-
|
|
103
|
-
Twilio Webhook
|
|
104
|
-
|
|
105
|
-
Handle incoming webhook events from Twilio
|
|
106
|
-
|
|
107
|
-
### Example
|
|
108
|
-
|
|
109
|
-
```javascript
|
|
110
|
-
import FastApi from 'fast_api';
|
|
111
|
-
|
|
112
|
-
let apiInstance = new FastApi.TwilioApi();
|
|
113
|
-
apiInstance.twilioWebhookTwilioWebhookPost((error, data, response) => {
|
|
114
|
-
if (error) {
|
|
115
|
-
console.error(error);
|
|
116
|
-
} else {
|
|
117
|
-
console.log('API called successfully. Returned data: ' + data);
|
|
118
|
-
}
|
|
119
|
-
});
|
|
120
|
-
```
|
|
121
|
-
|
|
122
|
-
### Parameters
|
|
123
|
-
|
|
124
|
-
This endpoint does not need any parameter.
|
|
125
|
-
|
|
126
|
-
### Return type
|
|
127
|
-
|
|
128
|
-
**Object**
|
|
129
|
-
|
|
130
|
-
### Authorization
|
|
131
|
-
|
|
132
|
-
No authorization required
|
|
133
|
-
|
|
134
|
-
### HTTP request headers
|
|
135
|
-
|
|
136
|
-
- **Content-Type**: Not defined
|
|
137
|
-
- **Accept**: application/json
|
|
138
|
-
|
|
@@ -1,362 +0,0 @@
|
|
|
1
|
-
# FastApi.UsersApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *http://localhost*
|
|
4
|
-
|
|
5
|
-
Method | HTTP request | Description
|
|
6
|
-
------------- | ------------- | -------------
|
|
7
|
-
[**beginAppAttestBeginAppAttestPost**](UsersApi.md#beginAppAttestBeginAppAttestPost) | **POST** /begin_app_attest/ | Begin App Attest
|
|
8
|
-
[**checkUpdateNeededCheckUpdateNeededPost**](UsersApi.md#checkUpdateNeededCheckUpdateNeededPost) | **POST** /check_update_needed/ | Check Update Needed
|
|
9
|
-
[**deleteUserDeleteUserPost**](UsersApi.md#deleteUserDeleteUserPost) | **POST** /delete_user/ | Delete User
|
|
10
|
-
[**fetchRegisteredUsersFetchRegisteredUsersPost**](UsersApi.md#fetchRegisteredUsersFetchRegisteredUsersPost) | **POST** /fetch_registered_users/ | Fetch Registered Users
|
|
11
|
-
[**inviteUserInviteUserPost**](UsersApi.md#inviteUserInviteUserPost) | **POST** /invite_user/ | Invite User
|
|
12
|
-
[**registerUserRegisterUserPost**](UsersApi.md#registerUserRegisterUserPost) | **POST** /register_user/ | Register User
|
|
13
|
-
[**updateUserUpdateUserPut**](UsersApi.md#updateUserUpdateUserPut) | **PUT** /update_user/ | Update User
|
|
14
|
-
[**verifyAppAttestVerifyAppPost**](UsersApi.md#verifyAppAttestVerifyAppPost) | **POST** /verify_app/ | Verify App Attest
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
## beginAppAttestBeginAppAttestPost
|
|
19
|
-
|
|
20
|
-
> Object beginAppAttestBeginAppAttestPost(startAttestationRequest)
|
|
21
|
-
|
|
22
|
-
Begin App Attest
|
|
23
|
-
|
|
24
|
-
### Example
|
|
25
|
-
|
|
26
|
-
```javascript
|
|
27
|
-
import FastApi from 'fast_api';
|
|
28
|
-
|
|
29
|
-
let apiInstance = new FastApi.UsersApi();
|
|
30
|
-
let startAttestationRequest = new FastApi.StartAttestationRequest(); // StartAttestationRequest |
|
|
31
|
-
apiInstance.beginAppAttestBeginAppAttestPost(startAttestationRequest, (error, data, response) => {
|
|
32
|
-
if (error) {
|
|
33
|
-
console.error(error);
|
|
34
|
-
} else {
|
|
35
|
-
console.log('API called successfully. Returned data: ' + data);
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
### Parameters
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
Name | Type | Description | Notes
|
|
44
|
-
------------- | ------------- | ------------- | -------------
|
|
45
|
-
**startAttestationRequest** | [**StartAttestationRequest**](StartAttestationRequest.md)| |
|
|
46
|
-
|
|
47
|
-
### Return type
|
|
48
|
-
|
|
49
|
-
**Object**
|
|
50
|
-
|
|
51
|
-
### Authorization
|
|
52
|
-
|
|
53
|
-
No authorization required
|
|
54
|
-
|
|
55
|
-
### HTTP request headers
|
|
56
|
-
|
|
57
|
-
- **Content-Type**: application/json
|
|
58
|
-
- **Accept**: application/json
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
## checkUpdateNeededCheckUpdateNeededPost
|
|
62
|
-
|
|
63
|
-
> Object checkUpdateNeededCheckUpdateNeededPost(appattest)
|
|
64
|
-
|
|
65
|
-
Check Update Needed
|
|
66
|
-
|
|
67
|
-
Check if a user needs to call update_user by finding phones without alerts_device_tokens. Args: user: The user to check session: Database session Returns: Dict containing: - needs_update: bool indicating if update is needed - phone_numbers: list of phone numbers that need alerts_device_tokens
|
|
68
|
-
|
|
69
|
-
### Example
|
|
70
|
-
|
|
71
|
-
```javascript
|
|
72
|
-
import FastApi from 'fast_api';
|
|
73
|
-
|
|
74
|
-
let apiInstance = new FastApi.UsersApi();
|
|
75
|
-
let appattest = "appattest_example"; // String |
|
|
76
|
-
apiInstance.checkUpdateNeededCheckUpdateNeededPost(appattest, (error, data, response) => {
|
|
77
|
-
if (error) {
|
|
78
|
-
console.error(error);
|
|
79
|
-
} else {
|
|
80
|
-
console.log('API called successfully. Returned data: ' + data);
|
|
81
|
-
}
|
|
82
|
-
});
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
### Parameters
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
Name | Type | Description | Notes
|
|
89
|
-
------------- | ------------- | ------------- | -------------
|
|
90
|
-
**appattest** | **String**| |
|
|
91
|
-
|
|
92
|
-
### Return type
|
|
93
|
-
|
|
94
|
-
**Object**
|
|
95
|
-
|
|
96
|
-
### Authorization
|
|
97
|
-
|
|
98
|
-
No authorization required
|
|
99
|
-
|
|
100
|
-
### HTTP request headers
|
|
101
|
-
|
|
102
|
-
- **Content-Type**: Not defined
|
|
103
|
-
- **Accept**: application/json
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
## deleteUserDeleteUserPost
|
|
107
|
-
|
|
108
|
-
> Object deleteUserDeleteUserPost(appattest)
|
|
109
|
-
|
|
110
|
-
Delete User
|
|
111
|
-
|
|
112
|
-
### Example
|
|
113
|
-
|
|
114
|
-
```javascript
|
|
115
|
-
import FastApi from 'fast_api';
|
|
116
|
-
|
|
117
|
-
let apiInstance = new FastApi.UsersApi();
|
|
118
|
-
let appattest = "appattest_example"; // String |
|
|
119
|
-
apiInstance.deleteUserDeleteUserPost(appattest, (error, data, response) => {
|
|
120
|
-
if (error) {
|
|
121
|
-
console.error(error);
|
|
122
|
-
} else {
|
|
123
|
-
console.log('API called successfully. Returned data: ' + data);
|
|
124
|
-
}
|
|
125
|
-
});
|
|
126
|
-
```
|
|
127
|
-
|
|
128
|
-
### Parameters
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
Name | Type | Description | Notes
|
|
132
|
-
------------- | ------------- | ------------- | -------------
|
|
133
|
-
**appattest** | **String**| |
|
|
134
|
-
|
|
135
|
-
### Return type
|
|
136
|
-
|
|
137
|
-
**Object**
|
|
138
|
-
|
|
139
|
-
### Authorization
|
|
140
|
-
|
|
141
|
-
No authorization required
|
|
142
|
-
|
|
143
|
-
### HTTP request headers
|
|
144
|
-
|
|
145
|
-
- **Content-Type**: Not defined
|
|
146
|
-
- **Accept**: application/json
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
## fetchRegisteredUsersFetchRegisteredUsersPost
|
|
150
|
-
|
|
151
|
-
> [Object] fetchRegisteredUsersFetchRegisteredUsersPost(appattest)
|
|
152
|
-
|
|
153
|
-
Fetch Registered Users
|
|
154
|
-
|
|
155
|
-
### Example
|
|
156
|
-
|
|
157
|
-
```javascript
|
|
158
|
-
import FastApi from 'fast_api';
|
|
159
|
-
|
|
160
|
-
let apiInstance = new FastApi.UsersApi();
|
|
161
|
-
let appattest = "appattest_example"; // String |
|
|
162
|
-
apiInstance.fetchRegisteredUsersFetchRegisteredUsersPost(appattest, (error, data, response) => {
|
|
163
|
-
if (error) {
|
|
164
|
-
console.error(error);
|
|
165
|
-
} else {
|
|
166
|
-
console.log('API called successfully. Returned data: ' + data);
|
|
167
|
-
}
|
|
168
|
-
});
|
|
169
|
-
```
|
|
170
|
-
|
|
171
|
-
### Parameters
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
Name | Type | Description | Notes
|
|
175
|
-
------------- | ------------- | ------------- | -------------
|
|
176
|
-
**appattest** | **String**| |
|
|
177
|
-
|
|
178
|
-
### Return type
|
|
179
|
-
|
|
180
|
-
**[Object]**
|
|
181
|
-
|
|
182
|
-
### Authorization
|
|
183
|
-
|
|
184
|
-
No authorization required
|
|
185
|
-
|
|
186
|
-
### HTTP request headers
|
|
187
|
-
|
|
188
|
-
- **Content-Type**: Not defined
|
|
189
|
-
- **Accept**: application/json
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
## inviteUserInviteUserPost
|
|
193
|
-
|
|
194
|
-
> Object inviteUserInviteUserPost(inviteRequestModel)
|
|
195
|
-
|
|
196
|
-
Invite User
|
|
197
|
-
|
|
198
|
-
### Example
|
|
199
|
-
|
|
200
|
-
```javascript
|
|
201
|
-
import FastApi from 'fast_api';
|
|
202
|
-
|
|
203
|
-
let apiInstance = new FastApi.UsersApi();
|
|
204
|
-
let inviteRequestModel = new FastApi.InviteRequestModel(); // InviteRequestModel |
|
|
205
|
-
apiInstance.inviteUserInviteUserPost(inviteRequestModel, (error, data, response) => {
|
|
206
|
-
if (error) {
|
|
207
|
-
console.error(error);
|
|
208
|
-
} else {
|
|
209
|
-
console.log('API called successfully. Returned data: ' + data);
|
|
210
|
-
}
|
|
211
|
-
});
|
|
212
|
-
```
|
|
213
|
-
|
|
214
|
-
### Parameters
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
Name | Type | Description | Notes
|
|
218
|
-
------------- | ------------- | ------------- | -------------
|
|
219
|
-
**inviteRequestModel** | [**InviteRequestModel**](InviteRequestModel.md)| |
|
|
220
|
-
|
|
221
|
-
### Return type
|
|
222
|
-
|
|
223
|
-
**Object**
|
|
224
|
-
|
|
225
|
-
### Authorization
|
|
226
|
-
|
|
227
|
-
No authorization required
|
|
228
|
-
|
|
229
|
-
### HTTP request headers
|
|
230
|
-
|
|
231
|
-
- **Content-Type**: application/json
|
|
232
|
-
- **Accept**: application/json
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
## registerUserRegisterUserPost
|
|
236
|
-
|
|
237
|
-
> Object registerUserRegisterUserPost(appattest)
|
|
238
|
-
|
|
239
|
-
Register User
|
|
240
|
-
|
|
241
|
-
### Example
|
|
242
|
-
|
|
243
|
-
```javascript
|
|
244
|
-
import FastApi from 'fast_api';
|
|
245
|
-
|
|
246
|
-
let apiInstance = new FastApi.UsersApi();
|
|
247
|
-
let appattest = "appattest_example"; // String |
|
|
248
|
-
apiInstance.registerUserRegisterUserPost(appattest, (error, data, response) => {
|
|
249
|
-
if (error) {
|
|
250
|
-
console.error(error);
|
|
251
|
-
} else {
|
|
252
|
-
console.log('API called successfully. Returned data: ' + data);
|
|
253
|
-
}
|
|
254
|
-
});
|
|
255
|
-
```
|
|
256
|
-
|
|
257
|
-
### Parameters
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
Name | Type | Description | Notes
|
|
261
|
-
------------- | ------------- | ------------- | -------------
|
|
262
|
-
**appattest** | **String**| |
|
|
263
|
-
|
|
264
|
-
### Return type
|
|
265
|
-
|
|
266
|
-
**Object**
|
|
267
|
-
|
|
268
|
-
### Authorization
|
|
269
|
-
|
|
270
|
-
No authorization required
|
|
271
|
-
|
|
272
|
-
### HTTP request headers
|
|
273
|
-
|
|
274
|
-
- **Content-Type**: Not defined
|
|
275
|
-
- **Accept**: application/json
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
## updateUserUpdateUserPut
|
|
279
|
-
|
|
280
|
-
> Object updateUserUpdateUserPut(appattest)
|
|
281
|
-
|
|
282
|
-
Update User
|
|
283
|
-
|
|
284
|
-
### Example
|
|
285
|
-
|
|
286
|
-
```javascript
|
|
287
|
-
import FastApi from 'fast_api';
|
|
288
|
-
|
|
289
|
-
let apiInstance = new FastApi.UsersApi();
|
|
290
|
-
let appattest = "appattest_example"; // String |
|
|
291
|
-
apiInstance.updateUserUpdateUserPut(appattest, (error, data, response) => {
|
|
292
|
-
if (error) {
|
|
293
|
-
console.error(error);
|
|
294
|
-
} else {
|
|
295
|
-
console.log('API called successfully. Returned data: ' + data);
|
|
296
|
-
}
|
|
297
|
-
});
|
|
298
|
-
```
|
|
299
|
-
|
|
300
|
-
### Parameters
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
Name | Type | Description | Notes
|
|
304
|
-
------------- | ------------- | ------------- | -------------
|
|
305
|
-
**appattest** | **String**| |
|
|
306
|
-
|
|
307
|
-
### Return type
|
|
308
|
-
|
|
309
|
-
**Object**
|
|
310
|
-
|
|
311
|
-
### Authorization
|
|
312
|
-
|
|
313
|
-
No authorization required
|
|
314
|
-
|
|
315
|
-
### HTTP request headers
|
|
316
|
-
|
|
317
|
-
- **Content-Type**: Not defined
|
|
318
|
-
- **Accept**: application/json
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
## verifyAppAttestVerifyAppPost
|
|
322
|
-
|
|
323
|
-
> Object verifyAppAttestVerifyAppPost(verifyRequest)
|
|
324
|
-
|
|
325
|
-
Verify App Attest
|
|
326
|
-
|
|
327
|
-
### Example
|
|
328
|
-
|
|
329
|
-
```javascript
|
|
330
|
-
import FastApi from 'fast_api';
|
|
331
|
-
|
|
332
|
-
let apiInstance = new FastApi.UsersApi();
|
|
333
|
-
let verifyRequest = new FastApi.VerifyRequest(); // VerifyRequest |
|
|
334
|
-
apiInstance.verifyAppAttestVerifyAppPost(verifyRequest, (error, data, response) => {
|
|
335
|
-
if (error) {
|
|
336
|
-
console.error(error);
|
|
337
|
-
} else {
|
|
338
|
-
console.log('API called successfully. Returned data: ' + data);
|
|
339
|
-
}
|
|
340
|
-
});
|
|
341
|
-
```
|
|
342
|
-
|
|
343
|
-
### Parameters
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
Name | Type | Description | Notes
|
|
347
|
-
------------- | ------------- | ------------- | -------------
|
|
348
|
-
**verifyRequest** | [**VerifyRequest**](VerifyRequest.md)| |
|
|
349
|
-
|
|
350
|
-
### Return type
|
|
351
|
-
|
|
352
|
-
**Object**
|
|
353
|
-
|
|
354
|
-
### Authorization
|
|
355
|
-
|
|
356
|
-
No authorization required
|
|
357
|
-
|
|
358
|
-
### HTTP request headers
|
|
359
|
-
|
|
360
|
-
- **Content-Type**: application/json
|
|
361
|
-
- **Accept**: application/json
|
|
362
|
-
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
# FastApi.ValidationError
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
Name | Type | Description | Notes
|
|
6
|
-
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**loc** | [**[ValidationErrorLocInner]**](ValidationErrorLocInner.md) | |
|
|
8
|
-
**msg** | **String** | |
|
|
9
|
-
**type** | **String** | |
|
|
10
|
-
|
|
11
|
-
|