@polyguard/sdk 1.0.1 → 1.0.2
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/sdk.js +703 -1153
- package/package.json +1 -1
- package/scripts/regenerate-client.sh +4 -0
- package/src/PolyguardWebsocketClientImpl.js +2 -2
- package/src/generated/.openapi-generator/FILES +10 -4
- package/src/generated/README.md +25 -34
- package/src/generated/docs/AppId.md +8 -0
- package/src/generated/docs/DefaultApi.md +40 -0
- package/src/generated/docs/LinksApi.md +162 -0
- package/src/generated/docs/SdkApi.md +54 -0
- package/src/generated/docs/SecureLinksApi.md +614 -0
- package/src/generated/docs/WellKnownApi.md +128 -0
- package/src/generated/docs/ZoomApi.md +108 -4
- package/src/generated/src/api/DefaultApi.js +36 -0
- package/src/generated/src/api/LinksApi.js +195 -0
- package/src/generated/src/api/SdkApi.js +81 -0
- package/src/generated/src/api/SecureLinksApi.js +670 -0
- package/src/generated/src/api/WellKnownApi.js +145 -0
- package/src/generated/src/api/ZoomApi.js +110 -2
- package/src/generated/src/index.js +35 -14
- package/src/generated/test/api/LinksApi.spec.js +83 -0
- package/src/generated/test/api/SdkApi.spec.js +63 -0
- package/src/generated/test/api/SecureLinksApi.spec.js +143 -0
- package/src/generated/test/api/WellKnownApi.spec.js +83 -0
- package/src/generated/test/model/AppId.spec.js +59 -0
package/package.json
CHANGED
|
@@ -33,17 +33,21 @@ fi
|
|
|
33
33
|
echo "Removing problematic model files..."
|
|
34
34
|
rm -f src/generated/src/model/Certainty.js
|
|
35
35
|
rm -f src/generated/src/model/ValidationErrorLocInner.js
|
|
36
|
+
rm -f src/generated/src/model/AppId.js
|
|
36
37
|
|
|
37
38
|
# Step 4: Comment out invalid import statements in generated code
|
|
38
39
|
echo "Patching generated files..."
|
|
39
40
|
find src/generated -type f -name "*.js" -print0 | xargs -0 sed -i.bak "s/import Certainty from '.\/model\/Certainty';/\/\/ import Certainty from '.\/model\/Certainty';/"
|
|
40
41
|
find src/generated -type f -name "*.js" -print0 | xargs -0 sed -i.bak "s/import ValidationErrorLocInner from '.\/model\/ValidationErrorLocInner';/\/\/ import ValidationErrorLocInner from '.\/model\/ValidationErrorLocInner';/"
|
|
42
|
+
find src/generated -type f -name "*.js" -print0 | xargs -0 sed -i.bak "s/import AppId from '.\/model\/AppId';/\/\/ import AppId from '.\/model\/AppId';/"
|
|
41
43
|
find src/generated -type f -name "*.js" -print0 | xargs -0 sed -i.bak "s/import Certainty from '.\/Certainty';/\/\/ import Certainty from '.\/Certainty';/"
|
|
42
44
|
find src/generated -type f -name "*.js" -print0 | xargs -0 sed -i.bak "s/import ValidationErrorLocInner from '.\/ValidationErrorLocInner';/\/\/ import ValidationErrorLocInner from '.\/ValidationErrorLocInner';/"
|
|
45
|
+
find src/generated -type f -name "*.js" -print0 | xargs -0 sed -i.bak "s/import AppId from '.\/AppId';/\/\/ import AppId from '.\/AppId';/"
|
|
43
46
|
|
|
44
47
|
# Also comment out the exports of the removed models
|
|
45
48
|
find src/generated -type f -name "*.js" -print0 | xargs -0 sed -i.bak "s/ Certainty,/\/\/ Certainty,/"
|
|
46
49
|
find src/generated -type f -name "*.js" -print0 | xargs -0 sed -i.bak "s/ ValidationErrorLocInner,/\/\/ ValidationErrorLocInner,/"
|
|
50
|
+
find src/generated -type f -name "*.js" -print0 | xargs -0 sed -i.bak "s/ AppId,/\/\/ AppId,/"
|
|
47
51
|
|
|
48
52
|
# Remove backup files created by sed
|
|
49
53
|
find src/generated -type f -name "*.js.bak" -delete
|
|
@@ -97,7 +97,7 @@ export class PolyguardWebsocketClientImpl {
|
|
|
97
97
|
try {
|
|
98
98
|
clearError();
|
|
99
99
|
const wsProtocol = window.location.protocol === 'https:' ? 'wss' : 'ws';
|
|
100
|
-
const ticketRes = await fetch(`https://${this.apiServer}/
|
|
100
|
+
const ticketRes = await fetch(`https://${this.apiServer}/v2/ticket/${this.appId}`, {
|
|
101
101
|
method: 'POST',
|
|
102
102
|
headers: { 'Content-Type': 'application/json' },
|
|
103
103
|
body: JSON.stringify({ requiredProofs: this.requiredProofs }),
|
|
@@ -112,7 +112,7 @@ export class PolyguardWebsocketClientImpl {
|
|
|
112
112
|
showError('No ticket returned from server');
|
|
113
113
|
return;
|
|
114
114
|
}
|
|
115
|
-
const wsUrl = `${wsProtocol}://${this.apiServer}/
|
|
115
|
+
const wsUrl = `${wsProtocol}://${this.apiServer}/v2/realtime/${newTicket}`;
|
|
116
116
|
ws = new ReconnectingWebSocket(wsUrl);
|
|
117
117
|
ws.addEventListener('message', (event) => {
|
|
118
118
|
try {
|
|
@@ -4,8 +4,7 @@
|
|
|
4
4
|
README.md
|
|
5
5
|
docs/ApiControllersPslStirCallRequest.md
|
|
6
6
|
docs/ApiModelsApiCallModelsCallRequest.md
|
|
7
|
-
docs/
|
|
8
|
-
docs/AuthApi.md
|
|
7
|
+
docs/AppId.md
|
|
9
8
|
docs/BlockingApi.md
|
|
10
9
|
docs/CallsApi.md
|
|
11
10
|
docs/Certainty.md
|
|
@@ -14,7 +13,10 @@ docs/DefaultApi.md
|
|
|
14
13
|
docs/HTTPValidationError.md
|
|
15
14
|
docs/InviteRequestModel.md
|
|
16
15
|
docs/JWTRequest.md
|
|
16
|
+
docs/LinksApi.md
|
|
17
17
|
docs/NumberVerification.md
|
|
18
|
+
docs/SdkApi.md
|
|
19
|
+
docs/SecureLinksApi.md
|
|
18
20
|
docs/StartAttestationRequest.md
|
|
19
21
|
docs/StartMeetingRequest.md
|
|
20
22
|
docs/StirApi.md
|
|
@@ -25,24 +27,28 @@ docs/ValidationErrorLocInner.md
|
|
|
25
27
|
docs/VeriffApi.md
|
|
26
28
|
docs/VeriffSessionRequest.md
|
|
27
29
|
docs/VerifyRequest.md
|
|
30
|
+
docs/WellKnownApi.md
|
|
28
31
|
docs/ZoomApi.md
|
|
29
32
|
git_push.sh
|
|
30
33
|
mocha.opts
|
|
31
34
|
package.json
|
|
32
35
|
src/ApiClient.js
|
|
33
|
-
src/api/AppleApi.js
|
|
34
|
-
src/api/AuthApi.js
|
|
35
36
|
src/api/BlockingApi.js
|
|
36
37
|
src/api/CallsApi.js
|
|
37
38
|
src/api/DefaultApi.js
|
|
39
|
+
src/api/LinksApi.js
|
|
40
|
+
src/api/SdkApi.js
|
|
41
|
+
src/api/SecureLinksApi.js
|
|
38
42
|
src/api/StirApi.js
|
|
39
43
|
src/api/TwilioApi.js
|
|
40
44
|
src/api/UsersApi.js
|
|
41
45
|
src/api/VeriffApi.js
|
|
46
|
+
src/api/WellKnownApi.js
|
|
42
47
|
src/api/ZoomApi.js
|
|
43
48
|
src/index.js
|
|
44
49
|
src/model/ApiControllersPslStirCallRequest.js
|
|
45
50
|
src/model/ApiModelsApiCallModelsCallRequest.js
|
|
51
|
+
src/model/AppId.js
|
|
46
52
|
src/model/Certainty.js
|
|
47
53
|
src/model/CreateLinkRequest.js
|
|
48
54
|
src/model/HTTPValidationError.js
|
package/src/generated/README.md
CHANGED
|
@@ -102,7 +102,7 @@ Please follow the [installation](#installation) instruction and execute the foll
|
|
|
102
102
|
var FastApi = require('fast_api');
|
|
103
103
|
|
|
104
104
|
|
|
105
|
-
var api = new FastApi.
|
|
105
|
+
var api = new FastApi.BlockingApi()
|
|
106
106
|
var callback = function(error, data, response) {
|
|
107
107
|
if (error) {
|
|
108
108
|
console.error(error);
|
|
@@ -110,7 +110,7 @@ var callback = function(error, data, response) {
|
|
|
110
110
|
console.log('API called successfully. Returned data: ' + data);
|
|
111
111
|
}
|
|
112
112
|
};
|
|
113
|
-
api.
|
|
113
|
+
api.ftcDeleteBlockingFtcDelete(callback);
|
|
114
114
|
|
|
115
115
|
```
|
|
116
116
|
|
|
@@ -120,38 +120,6 @@ All URIs are relative to *http://localhost*
|
|
|
120
120
|
|
|
121
121
|
Class | Method | HTTP request | Description
|
|
122
122
|
------------ | ------------- | ------------- | -------------
|
|
123
|
-
*FastApi.AppleApi* | [**appleAppSiteAssociationAppleAppSiteAssociationGet**](docs/AppleApi.md#appleAppSiteAssociationAppleAppSiteAssociationGet) | **GET** /apple-app-site-association | Apple App Site Association
|
|
124
|
-
*FastApi.AppleApi* | [**appleAppSiteAssociationWellKnownAppleAppSiteAssociationGet**](docs/AppleApi.md#appleAppSiteAssociationWellKnownAppleAppSiteAssociationGet) | **GET** /.well-known/apple-app-site-association | Apple App Site Association
|
|
125
|
-
*FastApi.AuthApi* | [**createTicketAuthTicketAppIdPost**](docs/AuthApi.md#createTicketAuthTicketAppIdPost) | **POST** /auth/ticket/{app_id} | Create Ticket
|
|
126
|
-
*FastApi.AuthApi* | [**createTicketAuthTicketAppIdPost_0**](docs/AuthApi.md#createTicketAuthTicketAppIdPost_0) | **POST** /auth/ticket/{app_id} | Create Ticket
|
|
127
|
-
*FastApi.AuthApi* | [**getLegacyRedirectInfoAuthRedirectAppIdLinkUuidGet**](docs/AuthApi.md#getLegacyRedirectInfoAuthRedirectAppIdLinkUuidGet) | **GET** /auth/redirect/{app_id}/{link_uuid} | Get Legacy Redirect Info
|
|
128
|
-
*FastApi.AuthApi* | [**getLegacyRedirectInfoAuthRedirectAppIdLinkUuidGet_0**](docs/AuthApi.md#getLegacyRedirectInfoAuthRedirectAppIdLinkUuidGet_0) | **GET** /auth/redirect/{app_id}/{link_uuid} | Get Legacy Redirect Info
|
|
129
|
-
*FastApi.AuthApi* | [**getRedirectInfoAuthPreviewAppIdLinkUuidGet**](docs/AuthApi.md#getRedirectInfoAuthPreviewAppIdLinkUuidGet) | **GET** /auth/preview/{app_id}/{link_uuid} | Get Redirect Info
|
|
130
|
-
*FastApi.AuthApi* | [**getRedirectInfoAuthPreviewAppIdLinkUuidGet_0**](docs/AuthApi.md#getRedirectInfoAuthPreviewAppIdLinkUuidGet_0) | **GET** /auth/preview/{app_id}/{link_uuid} | Get Redirect Info
|
|
131
|
-
*FastApi.AuthApi* | [**getSvgResponseAuthScanAppIdLinkUuidGet**](docs/AuthApi.md#getSvgResponseAuthScanAppIdLinkUuidGet) | **GET** /auth/scan/{app_id}/{link_uuid} | Get Svg Response
|
|
132
|
-
*FastApi.AuthApi* | [**getSvgResponseAuthScanAppIdLinkUuidGet_0**](docs/AuthApi.md#getSvgResponseAuthScanAppIdLinkUuidGet_0) | **GET** /auth/scan/{app_id}/{link_uuid} | Get Svg Response
|
|
133
|
-
*FastApi.AuthApi* | [**pgCompleteRedirectAuthRedirectAppIdLinkUuidPost**](docs/AuthApi.md#pgCompleteRedirectAuthRedirectAppIdLinkUuidPost) | **POST** /auth/redirect/{app_id}/{link_uuid} | Pg Complete Redirect
|
|
134
|
-
*FastApi.AuthApi* | [**pgCompleteRedirectAuthRedirectAppIdLinkUuidPost_0**](docs/AuthApi.md#pgCompleteRedirectAuthRedirectAppIdLinkUuidPost_0) | **POST** /auth/redirect/{app_id}/{link_uuid} | Pg Complete Redirect
|
|
135
|
-
*FastApi.AuthApi* | [**pgCreateLinkAuthLinkAppIdPut**](docs/AuthApi.md#pgCreateLinkAuthLinkAppIdPut) | **PUT** /auth/link/{app_id} | Pg Create Link
|
|
136
|
-
*FastApi.AuthApi* | [**pgCreateLinkAuthLinkAppIdPut_0**](docs/AuthApi.md#pgCreateLinkAuthLinkAppIdPut_0) | **PUT** /auth/link/{app_id} | Pg Create Link
|
|
137
|
-
*FastApi.AuthApi* | [**pgDeleteLinkAuthLinkAppIdLinkUuidDelete**](docs/AuthApi.md#pgDeleteLinkAuthLinkAppIdLinkUuidDelete) | **DELETE** /auth/link/{app_id}/{link_uuid} | Pg Delete Link
|
|
138
|
-
*FastApi.AuthApi* | [**pgDeleteLinkAuthLinkAppIdLinkUuidDelete_0**](docs/AuthApi.md#pgDeleteLinkAuthLinkAppIdLinkUuidDelete_0) | **DELETE** /auth/link/{app_id}/{link_uuid} | Pg Delete Link
|
|
139
|
-
*FastApi.AuthApi* | [**pgGetMeetingDetailsAuthZoomMeetingMeetingUuidGet**](docs/AuthApi.md#pgGetMeetingDetailsAuthZoomMeetingMeetingUuidGet) | **GET** /auth/zoom/meeting/{meeting_uuid} | Pg Get Meeting Details
|
|
140
|
-
*FastApi.AuthApi* | [**pgGetMeetingDetailsAuthZoomMeetingMeetingUuidGet_0**](docs/AuthApi.md#pgGetMeetingDetailsAuthZoomMeetingMeetingUuidGet_0) | **GET** /auth/zoom/meeting/{meeting_uuid} | Pg Get Meeting Details
|
|
141
|
-
*FastApi.AuthApi* | [**pgListMeetingLinksAuthListlinksAccountIdGet**](docs/AuthApi.md#pgListMeetingLinksAuthListlinksAccountIdGet) | **GET** /auth/listlinks/{account_id} | Pg List Meeting Links
|
|
142
|
-
*FastApi.AuthApi* | [**pgListMeetingLinksAuthListlinksAccountIdGet_0**](docs/AuthApi.md#pgListMeetingLinksAuthListlinksAccountIdGet_0) | **GET** /auth/listlinks/{account_id} | Pg List Meeting Links
|
|
143
|
-
*FastApi.AuthApi* | [**pgLoginAuthLinkAppIdLinkUuidGet**](docs/AuthApi.md#pgLoginAuthLinkAppIdLinkUuidGet) | **GET** /auth/link/{app_id}/{link_uuid} | Pg Login
|
|
144
|
-
*FastApi.AuthApi* | [**pgLoginAuthLinkAppIdLinkUuidGet_0**](docs/AuthApi.md#pgLoginAuthLinkAppIdLinkUuidGet_0) | **GET** /auth/link/{app_id}/{link_uuid} | Pg Login
|
|
145
|
-
*FastApi.AuthApi* | [**pgLoginMLinkUuidGet**](docs/AuthApi.md#pgLoginMLinkUuidGet) | **GET** /m/{link_uuid} | Pg Login
|
|
146
|
-
*FastApi.AuthApi* | [**pgLoginMLinkUuidGet_0**](docs/AuthApi.md#pgLoginMLinkUuidGet_0) | **GET** /m/{link_uuid} | Pg Login
|
|
147
|
-
*FastApi.AuthApi* | [**pgMobileRedirectMobileLinkUuidGet**](docs/AuthApi.md#pgMobileRedirectMobileLinkUuidGet) | **GET** /mobile/{link_uuid} | Pg Mobile Redirect
|
|
148
|
-
*FastApi.AuthApi* | [**pgMobileRedirectMobileLinkUuidGet_0**](docs/AuthApi.md#pgMobileRedirectMobileLinkUuidGet_0) | **GET** /mobile/{link_uuid} | Pg Mobile Redirect
|
|
149
|
-
*FastApi.AuthApi* | [**pgPollAuthPollPcreGet**](docs/AuthApi.md#pgPollAuthPollPcreGet) | **GET** /auth/poll/{pcre} | Pg Poll
|
|
150
|
-
*FastApi.AuthApi* | [**pgPollAuthPollPcreGet_0**](docs/AuthApi.md#pgPollAuthPollPcreGet_0) | **GET** /auth/poll/{pcre} | Pg Poll
|
|
151
|
-
*FastApi.AuthApi* | [**pgPreviewAuthRedirectAppIdLinkUuidHead**](docs/AuthApi.md#pgPreviewAuthRedirectAppIdLinkUuidHead) | **HEAD** /auth/redirect/{app_id}/{link_uuid} | Pg Preview
|
|
152
|
-
*FastApi.AuthApi* | [**pgPreviewAuthRedirectAppIdLinkUuidHead_0**](docs/AuthApi.md#pgPreviewAuthRedirectAppIdLinkUuidHead_0) | **HEAD** /auth/redirect/{app_id}/{link_uuid} | Pg Preview
|
|
153
|
-
*FastApi.AuthApi* | [**pgStartZoomMeetingAuthZoomStartAppIdLinkUuidPost**](docs/AuthApi.md#pgStartZoomMeetingAuthZoomStartAppIdLinkUuidPost) | **POST** /auth/zoom/start/{app_id}/{link_uuid} | Pg Start Zoom Meeting
|
|
154
|
-
*FastApi.AuthApi* | [**pgStartZoomMeetingAuthZoomStartAppIdLinkUuidPost_0**](docs/AuthApi.md#pgStartZoomMeetingAuthZoomStartAppIdLinkUuidPost_0) | **POST** /auth/zoom/start/{app_id}/{link_uuid} | Pg Start Zoom Meeting
|
|
155
123
|
*FastApi.BlockingApi* | [**ftcDeleteBlockingFtcDelete**](docs/BlockingApi.md#ftcDeleteBlockingFtcDelete) | **DELETE** /blocking/ftc | Ftc Delete
|
|
156
124
|
*FastApi.BlockingApi* | [**ftcPullBlockingFtcpullPost**](docs/BlockingApi.md#ftcPullBlockingFtcpullPost) | **POST** /blocking/ftcpull | Ftc Pull
|
|
157
125
|
*FastApi.BlockingApi* | [**fullReportBlockingFullreportGet**](docs/BlockingApi.md#fullReportBlockingFullreportGet) | **GET** /blocking/fullreport | Full Report
|
|
@@ -160,8 +128,25 @@ Class | Method | HTTP request | Description
|
|
|
160
128
|
*FastApi.CallsApi* | [**cancelCallCancelCallCallIdPost**](docs/CallsApi.md#cancelCallCancelCallCallIdPost) | **POST** /cancel_call/{call_id} | Cancel Call
|
|
161
129
|
*FastApi.CallsApi* | [**joinCallJoinCallCallIdPost**](docs/CallsApi.md#joinCallJoinCallCallIdPost) | **POST** /join_call/{call_id} | Join Call
|
|
162
130
|
*FastApi.CallsApi* | [**startCallStartCallPost**](docs/CallsApi.md#startCallStartCallPost) | **POST** /start_call/ | Start Call
|
|
131
|
+
*FastApi.DefaultApi* | [**getApplicationsApplicationsGet**](docs/DefaultApi.md#getApplicationsApplicationsGet) | **GET** /applications | Get Applications
|
|
163
132
|
*FastApi.DefaultApi* | [**rootGet**](docs/DefaultApi.md#rootGet) | **GET** / | Root
|
|
164
133
|
*FastApi.DefaultApi* | [**rootHealthGet**](docs/DefaultApi.md#rootHealthGet) | **GET** /health | Root
|
|
134
|
+
*FastApi.LinksApi* | [**pgCreateLinkV2AppIdPut**](docs/LinksApi.md#pgCreateLinkV2AppIdPut) | **PUT** /v2/{app_id} | Pg Create Link
|
|
135
|
+
*FastApi.LinksApi* | [**pgDeleteLinkV2AppIdLinkUuidDelete**](docs/LinksApi.md#pgDeleteLinkV2AppIdLinkUuidDelete) | **DELETE** /v2/{app_id}/{link_uuid} | Pg Delete Link
|
|
136
|
+
*FastApi.LinksApi* | [**pgListMeetingLinksV2ListlinksAccountIdGet**](docs/LinksApi.md#pgListMeetingLinksV2ListlinksAccountIdGet) | **GET** /v2/listlinks/{account_id} | Pg List Meeting Links
|
|
137
|
+
*FastApi.SdkApi* | [**createTicketV2TicketAppIdPost**](docs/SdkApi.md#createTicketV2TicketAppIdPost) | **POST** /v2/ticket/{app_id} | Create Ticket
|
|
138
|
+
*FastApi.SecureLinksApi* | [**getRedirectInfoV2PreviewAppIdLinkUuidGet**](docs/SecureLinksApi.md#getRedirectInfoV2PreviewAppIdLinkUuidGet) | **GET** /v2/preview/{app_id}/{link_uuid} | Get Redirect Info
|
|
139
|
+
*FastApi.SecureLinksApi* | [**getRedirectInfoV2PreviewFormatTypeAppIdLinkUuidGet**](docs/SecureLinksApi.md#getRedirectInfoV2PreviewFormatTypeAppIdLinkUuidGet) | **GET** /v2/preview/{format_type}/{app_id}/{link_uuid} | Get Redirect Info
|
|
140
|
+
*FastApi.SecureLinksApi* | [**getRedirectInfoV2PreviewLinkUuidGet**](docs/SecureLinksApi.md#getRedirectInfoV2PreviewLinkUuidGet) | **GET** /v2/preview/{link_uuid} | Get Redirect Info
|
|
141
|
+
*FastApi.SecureLinksApi* | [**getSvgResponseV2ScanAppIdLinkUuidGet**](docs/SecureLinksApi.md#getSvgResponseV2ScanAppIdLinkUuidGet) | **GET** /v2/scan/{app_id}/{link_uuid} | Get Svg Response
|
|
142
|
+
*FastApi.SecureLinksApi* | [**getSvgResponseV2ScanFormatTypeAppIdLinkUuidGet**](docs/SecureLinksApi.md#getSvgResponseV2ScanFormatTypeAppIdLinkUuidGet) | **GET** /v2/scan/{format_type}/{app_id}/{link_uuid} | Get Svg Response
|
|
143
|
+
*FastApi.SecureLinksApi* | [**pgCompleteRedirectV2RedirectAppIdLinkUuidPost**](docs/SecureLinksApi.md#pgCompleteRedirectV2RedirectAppIdLinkUuidPost) | **POST** /v2/redirect/{app_id}/{link_uuid} | Pg Complete Redirect
|
|
144
|
+
*FastApi.SecureLinksApi* | [**pgCompleteRedirectV2RedirectFormatTypeAppIdLinkUuidPost**](docs/SecureLinksApi.md#pgCompleteRedirectV2RedirectFormatTypeAppIdLinkUuidPost) | **POST** /v2/redirect/{format_type}/{app_id}/{link_uuid} | Pg Complete Redirect
|
|
145
|
+
*FastApi.SecureLinksApi* | [**pgCompleteRedirectV2RedirectLinkUuidPost**](docs/SecureLinksApi.md#pgCompleteRedirectV2RedirectLinkUuidPost) | **POST** /v2/redirect/{link_uuid} | Pg Complete Redirect
|
|
146
|
+
*FastApi.SecureLinksApi* | [**pgLoginV2AppIdLinkUuidGet**](docs/SecureLinksApi.md#pgLoginV2AppIdLinkUuidGet) | **GET** /v2/{app_id}/{link_uuid} | Pg Login
|
|
147
|
+
*FastApi.SecureLinksApi* | [**pgLoginV2FormatTypeAppIdLinkUuidGet**](docs/SecureLinksApi.md#pgLoginV2FormatTypeAppIdLinkUuidGet) | **GET** /v2/{format_type}/{app_id}/{link_uuid} | Pg Login
|
|
148
|
+
*FastApi.SecureLinksApi* | [**pgLoginV2LinkUuidGet**](docs/SecureLinksApi.md#pgLoginV2LinkUuidGet) | **GET** /v2/{link_uuid} | Pg Login
|
|
149
|
+
*FastApi.SecureLinksApi* | [**pgPollV2PollPcreGet**](docs/SecureLinksApi.md#pgPollV2PollPcreGet) | **GET** /v2/poll/{pcre} | Pg Poll
|
|
165
150
|
*FastApi.StirApi* | [**callInitiationStirCallInitiationPost**](docs/StirApi.md#callInitiationStirCallInitiationPost) | **POST** /stir/call_initiation | Call Initiation
|
|
166
151
|
*FastApi.TwilioApi* | [**twilioCheckTwilioCheckPost**](docs/TwilioApi.md#twilioCheckTwilioCheckPost) | **POST** /twilio/check | Twilio Check
|
|
167
152
|
*FastApi.TwilioApi* | [**twilioStartTwilioStartPost**](docs/TwilioApi.md#twilioStartTwilioStartPost) | **POST** /twilio/start | Twilio Start
|
|
@@ -178,12 +163,17 @@ Class | Method | HTTP request | Description
|
|
|
178
163
|
*FastApi.VeriffApi* | [**pollVeriffSessionVeriffPollSessionSessionIdPatch**](docs/VeriffApi.md#pollVeriffSessionVeriffPollSessionSessionIdPatch) | **PATCH** /veriff/poll-session/{session_id} | Poll Veriff Session
|
|
179
164
|
*FastApi.VeriffApi* | [**uploadVeriffMediaVeriffUploadMediaSessionIdPost**](docs/VeriffApi.md#uploadVeriffMediaVeriffUploadMediaSessionIdPost) | **POST** /veriff/upload-media/{session_id} | Upload Veriff Media
|
|
180
165
|
*FastApi.VeriffApi* | [**veriffWebhookVeriffWebhookPost**](docs/VeriffApi.md#veriffWebhookVeriffWebhookPost) | **POST** /veriff/webhook | Veriff Webhook
|
|
166
|
+
*FastApi.WellKnownApi* | [**appleAppSiteAssociationAppleAppSiteAssociationGet**](docs/WellKnownApi.md#appleAppSiteAssociationAppleAppSiteAssociationGet) | **GET** /apple-app-site-association | Apple App Site Association
|
|
167
|
+
*FastApi.WellKnownApi* | [**appleAppSiteAssociationWellKnownAppleAppSiteAssociationGet**](docs/WellKnownApi.md#appleAppSiteAssociationWellKnownAppleAppSiteAssociationGet) | **GET** /.well-known/apple-app-site-association | Apple App Site Association
|
|
168
|
+
*FastApi.WellKnownApi* | [**jwksWellKnownJwksJsonGet**](docs/WellKnownApi.md#jwksWellKnownJwksJsonGet) | **GET** /.well-known/jwks.json | Jwks
|
|
181
169
|
*FastApi.ZoomApi* | [**cookietestCookietestGet**](docs/ZoomApi.md#cookietestCookietestGet) | **GET** /cookietest | Cookietest
|
|
182
170
|
*FastApi.ZoomApi* | [**generateMeetingReportZoomPhoneReportsMeetingPost**](docs/ZoomApi.md#generateMeetingReportZoomPhoneReportsMeetingPost) | **POST** /zoom-phone/reports/meeting | Generate Meeting Report
|
|
183
171
|
*FastApi.ZoomApi* | [**getMeetingDetailsZoomPhoneLogsMeetingDetailsPost**](docs/ZoomApi.md#getMeetingDetailsZoomPhoneLogsMeetingDetailsPost) | **POST** /zoom-phone/logs/meeting/details | Get Meeting Details
|
|
184
172
|
*FastApi.ZoomApi* | [**getTicketZoomPhoneTicketAccountIdPost**](docs/ZoomApi.md#getTicketZoomPhoneTicketAccountIdPost) | **POST** /zoom-phone/ticket/{account_id} | Get Ticket
|
|
185
173
|
*FastApi.ZoomApi* | [**getUserLogsZoomPhoneLogsPolyUserIdGet**](docs/ZoomApi.md#getUserLogsZoomPhoneLogsPolyUserIdGet) | **GET** /zoom-phone/logs/{poly_user_id} | Get User Logs
|
|
186
174
|
*FastApi.ZoomApi* | [**meetingJwtMeetingjwtPost**](docs/ZoomApi.md#meetingJwtMeetingjwtPost) | **POST** /meetingjwt | Meeting Jwt
|
|
175
|
+
*FastApi.ZoomApi* | [**pgGetMeetingDetailsV2ZoomMeetingMeetingUuidGet**](docs/ZoomApi.md#pgGetMeetingDetailsV2ZoomMeetingMeetingUuidGet) | **GET** /v2/zoom/meeting/{meeting_uuid} | Pg Get Meeting Details
|
|
176
|
+
*FastApi.ZoomApi* | [**pgStartZoomMeetingV2ZoomStartAppIdLinkUuidPost**](docs/ZoomApi.md#pgStartZoomMeetingV2ZoomStartAppIdLinkUuidPost) | **POST** /v2/zoom/start/{app_id}/{link_uuid} | Pg Start Zoom Meeting
|
|
187
177
|
*FastApi.ZoomApi* | [**redirectToAppStoreZoomPhoneAppStoreGet**](docs/ZoomApi.md#redirectToAppStoreZoomPhoneAppStoreGet) | **GET** /zoom-phone/app-store | Redirect To App Store
|
|
188
178
|
*FastApi.ZoomApi* | [**redirectToMeetingReportZoomPhoneReportsMeetingEncodedS3UrlGet**](docs/ZoomApi.md#redirectToMeetingReportZoomPhoneReportsMeetingEncodedS3UrlGet) | **GET** /zoom-phone/reports/meeting/{encoded_s3_url} | Redirect To Meeting Report
|
|
189
179
|
*FastApi.ZoomApi* | [**testWebsocketDisconnectZoomPhoneTestDisconnectPost**](docs/ZoomApi.md#testWebsocketDisconnectZoomPhoneTestDisconnectPost) | **POST** /zoom-phone/test-disconnect | Test Websocket Disconnect
|
|
@@ -200,6 +190,7 @@ Class | Method | HTTP request | Description
|
|
|
200
190
|
|
|
201
191
|
- [FastApi.ApiControllersPslStirCallRequest](docs/ApiControllersPslStirCallRequest.md)
|
|
202
192
|
- [FastApi.ApiModelsApiCallModelsCallRequest](docs/ApiModelsApiCallModelsCallRequest.md)
|
|
193
|
+
- [FastApi.AppId](docs/AppId.md)
|
|
203
194
|
- [FastApi.Certainty](docs/Certainty.md)
|
|
204
195
|
- [FastApi.CreateLinkRequest](docs/CreateLinkRequest.md)
|
|
205
196
|
- [FastApi.HTTPValidationError](docs/HTTPValidationError.md)
|
|
@@ -4,11 +4,51 @@ All URIs are relative to *http://localhost*
|
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
|
+
[**getApplicationsApplicationsGet**](DefaultApi.md#getApplicationsApplicationsGet) | **GET** /applications | Get Applications
|
|
7
8
|
[**rootGet**](DefaultApi.md#rootGet) | **GET** / | Root
|
|
8
9
|
[**rootHealthGet**](DefaultApi.md#rootHealthGet) | **GET** /health | Root
|
|
9
10
|
|
|
10
11
|
|
|
11
12
|
|
|
13
|
+
## getApplicationsApplicationsGet
|
|
14
|
+
|
|
15
|
+
> Object getApplicationsApplicationsGet()
|
|
16
|
+
|
|
17
|
+
Get Applications
|
|
18
|
+
|
|
19
|
+
### Example
|
|
20
|
+
|
|
21
|
+
```javascript
|
|
22
|
+
import FastApi from 'fast_api';
|
|
23
|
+
|
|
24
|
+
let apiInstance = new FastApi.DefaultApi();
|
|
25
|
+
apiInstance.getApplicationsApplicationsGet((error, data, response) => {
|
|
26
|
+
if (error) {
|
|
27
|
+
console.error(error);
|
|
28
|
+
} else {
|
|
29
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### Parameters
|
|
35
|
+
|
|
36
|
+
This endpoint does not need any parameter.
|
|
37
|
+
|
|
38
|
+
### Return type
|
|
39
|
+
|
|
40
|
+
**Object**
|
|
41
|
+
|
|
42
|
+
### Authorization
|
|
43
|
+
|
|
44
|
+
No authorization required
|
|
45
|
+
|
|
46
|
+
### HTTP request headers
|
|
47
|
+
|
|
48
|
+
- **Content-Type**: Not defined
|
|
49
|
+
- **Accept**: application/json
|
|
50
|
+
|
|
51
|
+
|
|
12
52
|
## rootGet
|
|
13
53
|
|
|
14
54
|
> Object rootGet()
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
# FastApi.LinksApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
Method | HTTP request | Description
|
|
6
|
+
------------- | ------------- | -------------
|
|
7
|
+
[**pgCreateLinkV2AppIdPut**](LinksApi.md#pgCreateLinkV2AppIdPut) | **PUT** /v2/{app_id} | Pg Create Link
|
|
8
|
+
[**pgDeleteLinkV2AppIdLinkUuidDelete**](LinksApi.md#pgDeleteLinkV2AppIdLinkUuidDelete) | **DELETE** /v2/{app_id}/{link_uuid} | Pg Delete Link
|
|
9
|
+
[**pgListMeetingLinksV2ListlinksAccountIdGet**](LinksApi.md#pgListMeetingLinksV2ListlinksAccountIdGet) | **GET** /v2/listlinks/{account_id} | Pg List Meeting Links
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
## pgCreateLinkV2AppIdPut
|
|
14
|
+
|
|
15
|
+
> Object pgCreateLinkV2AppIdPut(appId, createLinkRequest, opts)
|
|
16
|
+
|
|
17
|
+
Pg Create Link
|
|
18
|
+
|
|
19
|
+
### Example
|
|
20
|
+
|
|
21
|
+
```javascript
|
|
22
|
+
import FastApi from 'fast_api';
|
|
23
|
+
|
|
24
|
+
let apiInstance = new FastApi.LinksApi();
|
|
25
|
+
let appId = new FastApi.AppId(); // AppId |
|
|
26
|
+
let createLinkRequest = new FastApi.CreateLinkRequest(); // CreateLinkRequest |
|
|
27
|
+
let opts = {
|
|
28
|
+
'clientSecret': "'ARlaFJJRMWLexEnPW4AtkCmHmerOaIGc'", // String |
|
|
29
|
+
'clientId': "'qxzT5xZCRmCDnvUqbnqHtw'" // String |
|
|
30
|
+
};
|
|
31
|
+
apiInstance.pgCreateLinkV2AppIdPut(appId, createLinkRequest, opts, (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
|
+
**appId** | [**AppId**](.md)| |
|
|
46
|
+
**createLinkRequest** | [**CreateLinkRequest**](CreateLinkRequest.md)| |
|
|
47
|
+
**clientSecret** | **String**| | [optional] [default to 'ARlaFJJRMWLexEnPW4AtkCmHmerOaIGc']
|
|
48
|
+
**clientId** | **String**| | [optional] [default to 'qxzT5xZCRmCDnvUqbnqHtw']
|
|
49
|
+
|
|
50
|
+
### Return type
|
|
51
|
+
|
|
52
|
+
**Object**
|
|
53
|
+
|
|
54
|
+
### Authorization
|
|
55
|
+
|
|
56
|
+
No authorization required
|
|
57
|
+
|
|
58
|
+
### HTTP request headers
|
|
59
|
+
|
|
60
|
+
- **Content-Type**: application/json
|
|
61
|
+
- **Accept**: application/json
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
## pgDeleteLinkV2AppIdLinkUuidDelete
|
|
65
|
+
|
|
66
|
+
> Object pgDeleteLinkV2AppIdLinkUuidDelete(appId, linkUuid, opts)
|
|
67
|
+
|
|
68
|
+
Pg Delete Link
|
|
69
|
+
|
|
70
|
+
### Example
|
|
71
|
+
|
|
72
|
+
```javascript
|
|
73
|
+
import FastApi from 'fast_api';
|
|
74
|
+
|
|
75
|
+
let apiInstance = new FastApi.LinksApi();
|
|
76
|
+
let appId = "appId_example"; // String |
|
|
77
|
+
let linkUuid = "linkUuid_example"; // String |
|
|
78
|
+
let opts = {
|
|
79
|
+
'clientSecret': "'ARlaFJJRMWLexEnPW4AtkCmHmerOaIGc'", // String |
|
|
80
|
+
'clientId': "'qxzT5xZCRmCDnvUqbnqHtw'" // String |
|
|
81
|
+
};
|
|
82
|
+
apiInstance.pgDeleteLinkV2AppIdLinkUuidDelete(appId, linkUuid, opts, (error, data, response) => {
|
|
83
|
+
if (error) {
|
|
84
|
+
console.error(error);
|
|
85
|
+
} else {
|
|
86
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
87
|
+
}
|
|
88
|
+
});
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
### Parameters
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
Name | Type | Description | Notes
|
|
95
|
+
------------- | ------------- | ------------- | -------------
|
|
96
|
+
**appId** | **String**| |
|
|
97
|
+
**linkUuid** | **String**| |
|
|
98
|
+
**clientSecret** | **String**| | [optional] [default to 'ARlaFJJRMWLexEnPW4AtkCmHmerOaIGc']
|
|
99
|
+
**clientId** | **String**| | [optional] [default to 'qxzT5xZCRmCDnvUqbnqHtw']
|
|
100
|
+
|
|
101
|
+
### Return type
|
|
102
|
+
|
|
103
|
+
**Object**
|
|
104
|
+
|
|
105
|
+
### Authorization
|
|
106
|
+
|
|
107
|
+
No authorization required
|
|
108
|
+
|
|
109
|
+
### HTTP request headers
|
|
110
|
+
|
|
111
|
+
- **Content-Type**: Not defined
|
|
112
|
+
- **Accept**: application/json
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
## pgListMeetingLinksV2ListlinksAccountIdGet
|
|
116
|
+
|
|
117
|
+
> Object pgListMeetingLinksV2ListlinksAccountIdGet(accountId, opts)
|
|
118
|
+
|
|
119
|
+
Pg List Meeting Links
|
|
120
|
+
|
|
121
|
+
### Example
|
|
122
|
+
|
|
123
|
+
```javascript
|
|
124
|
+
import FastApi from 'fast_api';
|
|
125
|
+
|
|
126
|
+
let apiInstance = new FastApi.LinksApi();
|
|
127
|
+
let accountId = "accountId_example"; // String |
|
|
128
|
+
let opts = {
|
|
129
|
+
'clientSecret': "'ARlaFJJRMWLexEnPW4AtkCmHmerOaIGc'", // String |
|
|
130
|
+
'clientId': "'qxzT5xZCRmCDnvUqbnqHtw'" // String |
|
|
131
|
+
};
|
|
132
|
+
apiInstance.pgListMeetingLinksV2ListlinksAccountIdGet(accountId, opts, (error, data, response) => {
|
|
133
|
+
if (error) {
|
|
134
|
+
console.error(error);
|
|
135
|
+
} else {
|
|
136
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
137
|
+
}
|
|
138
|
+
});
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
### Parameters
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
Name | Type | Description | Notes
|
|
145
|
+
------------- | ------------- | ------------- | -------------
|
|
146
|
+
**accountId** | **String**| |
|
|
147
|
+
**clientSecret** | **String**| | [optional] [default to 'ARlaFJJRMWLexEnPW4AtkCmHmerOaIGc']
|
|
148
|
+
**clientId** | **String**| | [optional] [default to 'qxzT5xZCRmCDnvUqbnqHtw']
|
|
149
|
+
|
|
150
|
+
### Return type
|
|
151
|
+
|
|
152
|
+
**Object**
|
|
153
|
+
|
|
154
|
+
### Authorization
|
|
155
|
+
|
|
156
|
+
No authorization required
|
|
157
|
+
|
|
158
|
+
### HTTP request headers
|
|
159
|
+
|
|
160
|
+
- **Content-Type**: Not defined
|
|
161
|
+
- **Accept**: application/json
|
|
162
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# FastApi.SdkApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
Method | HTTP request | Description
|
|
6
|
+
------------- | ------------- | -------------
|
|
7
|
+
[**createTicketV2TicketAppIdPost**](SdkApi.md#createTicketV2TicketAppIdPost) | **POST** /v2/ticket/{app_id} | Create Ticket
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
## createTicketV2TicketAppIdPost
|
|
12
|
+
|
|
13
|
+
> Object createTicketV2TicketAppIdPost(appId)
|
|
14
|
+
|
|
15
|
+
Create Ticket
|
|
16
|
+
|
|
17
|
+
Issue a short-lived ticket for a given app_id and requiredProofs. The ticket is used for real-time auth via WebSocket. Stores a link object in Redis under link-{ticket} with requiredProofs and app_id.
|
|
18
|
+
|
|
19
|
+
### Example
|
|
20
|
+
|
|
21
|
+
```javascript
|
|
22
|
+
import FastApi from 'fast_api';
|
|
23
|
+
|
|
24
|
+
let apiInstance = new FastApi.SdkApi();
|
|
25
|
+
let appId = "appId_example"; // String |
|
|
26
|
+
apiInstance.createTicketV2TicketAppIdPost(appId, (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
|
+
**appId** | **String**| |
|
|
41
|
+
|
|
42
|
+
### Return type
|
|
43
|
+
|
|
44
|
+
**Object**
|
|
45
|
+
|
|
46
|
+
### Authorization
|
|
47
|
+
|
|
48
|
+
No authorization required
|
|
49
|
+
|
|
50
|
+
### HTTP request headers
|
|
51
|
+
|
|
52
|
+
- **Content-Type**: Not defined
|
|
53
|
+
- **Accept**: application/json
|
|
54
|
+
|