@polyguard/sdk 1.5.0 → 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/package.json +7 -3
- package/coverage/base.css +0 -224
- package/coverage/block-navigation.js +0 -87
- package/coverage/clover.xml +0 -268
- package/coverage/coverage-final.json +0 -8
- package/coverage/favicon.png +0 -0
- package/coverage/index.html +0 -131
- package/coverage/prettify.css +0 -1
- package/coverage/prettify.js +0 -2
- package/coverage/sort-arrow-sprite.png +0 -0
- package/coverage/sorter.js +0 -210
- package/coverage/src/PolyguardClient.js.html +0 -160
- package/coverage/src/PolyguardWebsocketClientImpl.js.html +0 -634
- package/coverage/src/__tests__/helpers/fixtures.js.html +0 -166
- package/coverage/src/__tests__/helpers/index.html +0 -131
- package/coverage/src/__tests__/helpers/mockWebSocket.js.html +0 -283
- package/coverage/src/index.html +0 -176
- package/coverage/src/messageHandler.js.html +0 -448
- package/coverage/src/ticketService.js.html +0 -157
- package/coverage/src/ui.js.html +0 -349
- 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 -198
- package/src/__tests__/PolyguardClient.test.js +0 -65
- package/src/__tests__/PolyguardWebsocketClientImpl.test.js +0 -617
- package/src/__tests__/helpers/fixtures.js +0 -27
- package/src/__tests__/helpers/mockWebSocket.js +0 -66
- package/src/__tests__/server.test.js +0 -148
- 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/server.js +0 -91
- package/src/ticketService.js +0 -28
- package/src/ui.js +0 -88
- package/vitest.config.js +0 -10
|
@@ -1,1512 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* FastAPI
|
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 0.1.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
import ApiClient from "../ApiClient";
|
|
16
|
-
import CreateLinkRequest from '../model/CreateLinkRequest';
|
|
17
|
-
import HTTPValidationError from '../model/HTTPValidationError';
|
|
18
|
-
import StartMeetingRequest from '../model/StartMeetingRequest';
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* Auth service.
|
|
22
|
-
* @module api/AuthApi
|
|
23
|
-
* @version 0.1.0
|
|
24
|
-
*/
|
|
25
|
-
export default class AuthApi {
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Constructs a new AuthApi.
|
|
29
|
-
* @alias module:api/AuthApi
|
|
30
|
-
* @class
|
|
31
|
-
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
32
|
-
* default to {@link module:ApiClient#instance} if unspecified.
|
|
33
|
-
*/
|
|
34
|
-
constructor(apiClient) {
|
|
35
|
-
this.apiClient = apiClient || ApiClient.instance;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* Callback function to receive the result of the createTicketAuthTicketAppIdPost operation.
|
|
41
|
-
* @callback module:api/AuthApi~createTicketAuthTicketAppIdPostCallback
|
|
42
|
-
* @param {String} error Error message, if any.
|
|
43
|
-
* @param {Object} data The data returned by the service call.
|
|
44
|
-
* @param {String} response The complete HTTP response.
|
|
45
|
-
*/
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* Create Ticket
|
|
49
|
-
* 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.
|
|
50
|
-
* @param {Number} appId
|
|
51
|
-
* @param {module:api/AuthApi~createTicketAuthTicketAppIdPostCallback} callback The callback function, accepting three arguments: error, data, response
|
|
52
|
-
* data is of type: {@link Object}
|
|
53
|
-
*/
|
|
54
|
-
createTicketAuthTicketAppIdPost(appId, callback) {
|
|
55
|
-
let postBody = null;
|
|
56
|
-
// verify the required parameter 'appId' is set
|
|
57
|
-
if (appId === undefined || appId === null) {
|
|
58
|
-
throw new Error("Missing the required parameter 'appId' when calling createTicketAuthTicketAppIdPost");
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
let pathParams = {
|
|
62
|
-
'app_id': appId
|
|
63
|
-
};
|
|
64
|
-
let queryParams = {
|
|
65
|
-
};
|
|
66
|
-
let headerParams = {
|
|
67
|
-
};
|
|
68
|
-
let formParams = {
|
|
69
|
-
};
|
|
70
|
-
|
|
71
|
-
let authNames = [];
|
|
72
|
-
let contentTypes = [];
|
|
73
|
-
let accepts = ['application/json'];
|
|
74
|
-
let returnType = Object;
|
|
75
|
-
return this.apiClient.callApi(
|
|
76
|
-
'/auth/ticket/{app_id}', 'POST',
|
|
77
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
78
|
-
authNames, contentTypes, accepts, returnType, null, callback
|
|
79
|
-
);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
* Callback function to receive the result of the createTicketAuthTicketAppIdPost_0 operation.
|
|
84
|
-
* @callback module:api/AuthApi~createTicketAuthTicketAppIdPost_0Callback
|
|
85
|
-
* @param {String} error Error message, if any.
|
|
86
|
-
* @param {Object} data The data returned by the service call.
|
|
87
|
-
* @param {String} response The complete HTTP response.
|
|
88
|
-
*/
|
|
89
|
-
|
|
90
|
-
/**
|
|
91
|
-
* Create Ticket
|
|
92
|
-
* 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.
|
|
93
|
-
* @param {Number} appId
|
|
94
|
-
* @param {module:api/AuthApi~createTicketAuthTicketAppIdPost_0Callback} callback The callback function, accepting three arguments: error, data, response
|
|
95
|
-
* data is of type: {@link Object}
|
|
96
|
-
*/
|
|
97
|
-
createTicketAuthTicketAppIdPost_0(appId, callback) {
|
|
98
|
-
let postBody = null;
|
|
99
|
-
// verify the required parameter 'appId' is set
|
|
100
|
-
if (appId === undefined || appId === null) {
|
|
101
|
-
throw new Error("Missing the required parameter 'appId' when calling createTicketAuthTicketAppIdPost_0");
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
let pathParams = {
|
|
105
|
-
'app_id': appId
|
|
106
|
-
};
|
|
107
|
-
let queryParams = {
|
|
108
|
-
};
|
|
109
|
-
let headerParams = {
|
|
110
|
-
};
|
|
111
|
-
let formParams = {
|
|
112
|
-
};
|
|
113
|
-
|
|
114
|
-
let authNames = [];
|
|
115
|
-
let contentTypes = [];
|
|
116
|
-
let accepts = ['application/json'];
|
|
117
|
-
let returnType = Object;
|
|
118
|
-
return this.apiClient.callApi(
|
|
119
|
-
'/auth/ticket/{app_id}', 'POST',
|
|
120
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
121
|
-
authNames, contentTypes, accepts, returnType, null, callback
|
|
122
|
-
);
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
/**
|
|
126
|
-
* Callback function to receive the result of the getLegacyRedirectInfoAuthRedirectAppIdLinkUuidGet operation.
|
|
127
|
-
* @callback module:api/AuthApi~getLegacyRedirectInfoAuthRedirectAppIdLinkUuidGetCallback
|
|
128
|
-
* @param {String} error Error message, if any.
|
|
129
|
-
* @param {Object} data The data returned by the service call.
|
|
130
|
-
* @param {String} response The complete HTTP response.
|
|
131
|
-
*/
|
|
132
|
-
|
|
133
|
-
/**
|
|
134
|
-
* Get Legacy Redirect Info
|
|
135
|
-
* Get detailed information about a secure link.
|
|
136
|
-
* @param {String} linkUuid
|
|
137
|
-
* @param {Number} appId
|
|
138
|
-
* @param {module:api/AuthApi~getLegacyRedirectInfoAuthRedirectAppIdLinkUuidGetCallback} callback The callback function, accepting three arguments: error, data, response
|
|
139
|
-
* data is of type: {@link Object}
|
|
140
|
-
*/
|
|
141
|
-
getLegacyRedirectInfoAuthRedirectAppIdLinkUuidGet(linkUuid, appId, callback) {
|
|
142
|
-
let postBody = null;
|
|
143
|
-
// verify the required parameter 'linkUuid' is set
|
|
144
|
-
if (linkUuid === undefined || linkUuid === null) {
|
|
145
|
-
throw new Error("Missing the required parameter 'linkUuid' when calling getLegacyRedirectInfoAuthRedirectAppIdLinkUuidGet");
|
|
146
|
-
}
|
|
147
|
-
// verify the required parameter 'appId' is set
|
|
148
|
-
if (appId === undefined || appId === null) {
|
|
149
|
-
throw new Error("Missing the required parameter 'appId' when calling getLegacyRedirectInfoAuthRedirectAppIdLinkUuidGet");
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
let pathParams = {
|
|
153
|
-
'link_uuid': linkUuid,
|
|
154
|
-
'app_id': appId
|
|
155
|
-
};
|
|
156
|
-
let queryParams = {
|
|
157
|
-
};
|
|
158
|
-
let headerParams = {
|
|
159
|
-
};
|
|
160
|
-
let formParams = {
|
|
161
|
-
};
|
|
162
|
-
|
|
163
|
-
let authNames = [];
|
|
164
|
-
let contentTypes = [];
|
|
165
|
-
let accepts = ['application/json'];
|
|
166
|
-
let returnType = Object;
|
|
167
|
-
return this.apiClient.callApi(
|
|
168
|
-
'/auth/redirect/{app_id}/{link_uuid}', 'GET',
|
|
169
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
170
|
-
authNames, contentTypes, accepts, returnType, null, callback
|
|
171
|
-
);
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
/**
|
|
175
|
-
* Callback function to receive the result of the getLegacyRedirectInfoAuthRedirectAppIdLinkUuidGet_0 operation.
|
|
176
|
-
* @callback module:api/AuthApi~getLegacyRedirectInfoAuthRedirectAppIdLinkUuidGet_0Callback
|
|
177
|
-
* @param {String} error Error message, if any.
|
|
178
|
-
* @param {Object} data The data returned by the service call.
|
|
179
|
-
* @param {String} response The complete HTTP response.
|
|
180
|
-
*/
|
|
181
|
-
|
|
182
|
-
/**
|
|
183
|
-
* Get Legacy Redirect Info
|
|
184
|
-
* Get detailed information about a secure link.
|
|
185
|
-
* @param {String} linkUuid
|
|
186
|
-
* @param {Number} appId
|
|
187
|
-
* @param {module:api/AuthApi~getLegacyRedirectInfoAuthRedirectAppIdLinkUuidGet_0Callback} callback The callback function, accepting three arguments: error, data, response
|
|
188
|
-
* data is of type: {@link Object}
|
|
189
|
-
*/
|
|
190
|
-
getLegacyRedirectInfoAuthRedirectAppIdLinkUuidGet_0(linkUuid, appId, callback) {
|
|
191
|
-
let postBody = null;
|
|
192
|
-
// verify the required parameter 'linkUuid' is set
|
|
193
|
-
if (linkUuid === undefined || linkUuid === null) {
|
|
194
|
-
throw new Error("Missing the required parameter 'linkUuid' when calling getLegacyRedirectInfoAuthRedirectAppIdLinkUuidGet_0");
|
|
195
|
-
}
|
|
196
|
-
// verify the required parameter 'appId' is set
|
|
197
|
-
if (appId === undefined || appId === null) {
|
|
198
|
-
throw new Error("Missing the required parameter 'appId' when calling getLegacyRedirectInfoAuthRedirectAppIdLinkUuidGet_0");
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
let pathParams = {
|
|
202
|
-
'link_uuid': linkUuid,
|
|
203
|
-
'app_id': appId
|
|
204
|
-
};
|
|
205
|
-
let queryParams = {
|
|
206
|
-
};
|
|
207
|
-
let headerParams = {
|
|
208
|
-
};
|
|
209
|
-
let formParams = {
|
|
210
|
-
};
|
|
211
|
-
|
|
212
|
-
let authNames = [];
|
|
213
|
-
let contentTypes = [];
|
|
214
|
-
let accepts = ['application/json'];
|
|
215
|
-
let returnType = Object;
|
|
216
|
-
return this.apiClient.callApi(
|
|
217
|
-
'/auth/redirect/{app_id}/{link_uuid}', 'GET',
|
|
218
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
219
|
-
authNames, contentTypes, accepts, returnType, null, callback
|
|
220
|
-
);
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
/**
|
|
224
|
-
* Callback function to receive the result of the getRedirectInfoAuthPreviewAppIdLinkUuidGet operation.
|
|
225
|
-
* @callback module:api/AuthApi~getRedirectInfoAuthPreviewAppIdLinkUuidGetCallback
|
|
226
|
-
* @param {String} error Error message, if any.
|
|
227
|
-
* @param {Object} data The data returned by the service call.
|
|
228
|
-
* @param {String} response The complete HTTP response.
|
|
229
|
-
*/
|
|
230
|
-
|
|
231
|
-
/**
|
|
232
|
-
* Get Redirect Info
|
|
233
|
-
* Get detailed information about a secure link.
|
|
234
|
-
* @param {String} linkUuid
|
|
235
|
-
* @param {Number} appId
|
|
236
|
-
* @param {module:api/AuthApi~getRedirectInfoAuthPreviewAppIdLinkUuidGetCallback} callback The callback function, accepting three arguments: error, data, response
|
|
237
|
-
* data is of type: {@link Object}
|
|
238
|
-
*/
|
|
239
|
-
getRedirectInfoAuthPreviewAppIdLinkUuidGet(linkUuid, appId, callback) {
|
|
240
|
-
let postBody = null;
|
|
241
|
-
// verify the required parameter 'linkUuid' is set
|
|
242
|
-
if (linkUuid === undefined || linkUuid === null) {
|
|
243
|
-
throw new Error("Missing the required parameter 'linkUuid' when calling getRedirectInfoAuthPreviewAppIdLinkUuidGet");
|
|
244
|
-
}
|
|
245
|
-
// verify the required parameter 'appId' is set
|
|
246
|
-
if (appId === undefined || appId === null) {
|
|
247
|
-
throw new Error("Missing the required parameter 'appId' when calling getRedirectInfoAuthPreviewAppIdLinkUuidGet");
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
let pathParams = {
|
|
251
|
-
'link_uuid': linkUuid,
|
|
252
|
-
'app_id': appId
|
|
253
|
-
};
|
|
254
|
-
let queryParams = {
|
|
255
|
-
};
|
|
256
|
-
let headerParams = {
|
|
257
|
-
};
|
|
258
|
-
let formParams = {
|
|
259
|
-
};
|
|
260
|
-
|
|
261
|
-
let authNames = [];
|
|
262
|
-
let contentTypes = [];
|
|
263
|
-
let accepts = ['application/json'];
|
|
264
|
-
let returnType = Object;
|
|
265
|
-
return this.apiClient.callApi(
|
|
266
|
-
'/auth/preview/{app_id}/{link_uuid}', 'GET',
|
|
267
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
268
|
-
authNames, contentTypes, accepts, returnType, null, callback
|
|
269
|
-
);
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
/**
|
|
273
|
-
* Callback function to receive the result of the getRedirectInfoAuthPreviewAppIdLinkUuidGet_0 operation.
|
|
274
|
-
* @callback module:api/AuthApi~getRedirectInfoAuthPreviewAppIdLinkUuidGet_0Callback
|
|
275
|
-
* @param {String} error Error message, if any.
|
|
276
|
-
* @param {Object} data The data returned by the service call.
|
|
277
|
-
* @param {String} response The complete HTTP response.
|
|
278
|
-
*/
|
|
279
|
-
|
|
280
|
-
/**
|
|
281
|
-
* Get Redirect Info
|
|
282
|
-
* Get detailed information about a secure link.
|
|
283
|
-
* @param {String} linkUuid
|
|
284
|
-
* @param {Number} appId
|
|
285
|
-
* @param {module:api/AuthApi~getRedirectInfoAuthPreviewAppIdLinkUuidGet_0Callback} callback The callback function, accepting three arguments: error, data, response
|
|
286
|
-
* data is of type: {@link Object}
|
|
287
|
-
*/
|
|
288
|
-
getRedirectInfoAuthPreviewAppIdLinkUuidGet_0(linkUuid, appId, callback) {
|
|
289
|
-
let postBody = null;
|
|
290
|
-
// verify the required parameter 'linkUuid' is set
|
|
291
|
-
if (linkUuid === undefined || linkUuid === null) {
|
|
292
|
-
throw new Error("Missing the required parameter 'linkUuid' when calling getRedirectInfoAuthPreviewAppIdLinkUuidGet_0");
|
|
293
|
-
}
|
|
294
|
-
// verify the required parameter 'appId' is set
|
|
295
|
-
if (appId === undefined || appId === null) {
|
|
296
|
-
throw new Error("Missing the required parameter 'appId' when calling getRedirectInfoAuthPreviewAppIdLinkUuidGet_0");
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
let pathParams = {
|
|
300
|
-
'link_uuid': linkUuid,
|
|
301
|
-
'app_id': appId
|
|
302
|
-
};
|
|
303
|
-
let queryParams = {
|
|
304
|
-
};
|
|
305
|
-
let headerParams = {
|
|
306
|
-
};
|
|
307
|
-
let formParams = {
|
|
308
|
-
};
|
|
309
|
-
|
|
310
|
-
let authNames = [];
|
|
311
|
-
let contentTypes = [];
|
|
312
|
-
let accepts = ['application/json'];
|
|
313
|
-
let returnType = Object;
|
|
314
|
-
return this.apiClient.callApi(
|
|
315
|
-
'/auth/preview/{app_id}/{link_uuid}', 'GET',
|
|
316
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
317
|
-
authNames, contentTypes, accepts, returnType, null, callback
|
|
318
|
-
);
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
/**
|
|
322
|
-
* Callback function to receive the result of the getSvgResponseAuthScanAppIdLinkUuidGet operation.
|
|
323
|
-
* @callback module:api/AuthApi~getSvgResponseAuthScanAppIdLinkUuidGetCallback
|
|
324
|
-
* @param {String} error Error message, if any.
|
|
325
|
-
* @param {Object} data The data returned by the service call.
|
|
326
|
-
* @param {String} response The complete HTTP response.
|
|
327
|
-
*/
|
|
328
|
-
|
|
329
|
-
/**
|
|
330
|
-
* Get Svg Response
|
|
331
|
-
* @param {String} linkUuid
|
|
332
|
-
* @param {Number} appId
|
|
333
|
-
* @param {module:api/AuthApi~getSvgResponseAuthScanAppIdLinkUuidGetCallback} callback The callback function, accepting three arguments: error, data, response
|
|
334
|
-
* data is of type: {@link Object}
|
|
335
|
-
*/
|
|
336
|
-
getSvgResponseAuthScanAppIdLinkUuidGet(linkUuid, appId, callback) {
|
|
337
|
-
let postBody = null;
|
|
338
|
-
// verify the required parameter 'linkUuid' is set
|
|
339
|
-
if (linkUuid === undefined || linkUuid === null) {
|
|
340
|
-
throw new Error("Missing the required parameter 'linkUuid' when calling getSvgResponseAuthScanAppIdLinkUuidGet");
|
|
341
|
-
}
|
|
342
|
-
// verify the required parameter 'appId' is set
|
|
343
|
-
if (appId === undefined || appId === null) {
|
|
344
|
-
throw new Error("Missing the required parameter 'appId' when calling getSvgResponseAuthScanAppIdLinkUuidGet");
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
let pathParams = {
|
|
348
|
-
'link_uuid': linkUuid,
|
|
349
|
-
'app_id': appId
|
|
350
|
-
};
|
|
351
|
-
let queryParams = {
|
|
352
|
-
};
|
|
353
|
-
let headerParams = {
|
|
354
|
-
};
|
|
355
|
-
let formParams = {
|
|
356
|
-
};
|
|
357
|
-
|
|
358
|
-
let authNames = [];
|
|
359
|
-
let contentTypes = [];
|
|
360
|
-
let accepts = ['application/json'];
|
|
361
|
-
let returnType = Object;
|
|
362
|
-
return this.apiClient.callApi(
|
|
363
|
-
'/auth/scan/{app_id}/{link_uuid}', 'GET',
|
|
364
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
365
|
-
authNames, contentTypes, accepts, returnType, null, callback
|
|
366
|
-
);
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
/**
|
|
370
|
-
* Callback function to receive the result of the getSvgResponseAuthScanAppIdLinkUuidGet_0 operation.
|
|
371
|
-
* @callback module:api/AuthApi~getSvgResponseAuthScanAppIdLinkUuidGet_0Callback
|
|
372
|
-
* @param {String} error Error message, if any.
|
|
373
|
-
* @param {Object} data The data returned by the service call.
|
|
374
|
-
* @param {String} response The complete HTTP response.
|
|
375
|
-
*/
|
|
376
|
-
|
|
377
|
-
/**
|
|
378
|
-
* Get Svg Response
|
|
379
|
-
* @param {String} linkUuid
|
|
380
|
-
* @param {Number} appId
|
|
381
|
-
* @param {module:api/AuthApi~getSvgResponseAuthScanAppIdLinkUuidGet_0Callback} callback The callback function, accepting three arguments: error, data, response
|
|
382
|
-
* data is of type: {@link Object}
|
|
383
|
-
*/
|
|
384
|
-
getSvgResponseAuthScanAppIdLinkUuidGet_0(linkUuid, appId, callback) {
|
|
385
|
-
let postBody = null;
|
|
386
|
-
// verify the required parameter 'linkUuid' is set
|
|
387
|
-
if (linkUuid === undefined || linkUuid === null) {
|
|
388
|
-
throw new Error("Missing the required parameter 'linkUuid' when calling getSvgResponseAuthScanAppIdLinkUuidGet_0");
|
|
389
|
-
}
|
|
390
|
-
// verify the required parameter 'appId' is set
|
|
391
|
-
if (appId === undefined || appId === null) {
|
|
392
|
-
throw new Error("Missing the required parameter 'appId' when calling getSvgResponseAuthScanAppIdLinkUuidGet_0");
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
let pathParams = {
|
|
396
|
-
'link_uuid': linkUuid,
|
|
397
|
-
'app_id': appId
|
|
398
|
-
};
|
|
399
|
-
let queryParams = {
|
|
400
|
-
};
|
|
401
|
-
let headerParams = {
|
|
402
|
-
};
|
|
403
|
-
let formParams = {
|
|
404
|
-
};
|
|
405
|
-
|
|
406
|
-
let authNames = [];
|
|
407
|
-
let contentTypes = [];
|
|
408
|
-
let accepts = ['application/json'];
|
|
409
|
-
let returnType = Object;
|
|
410
|
-
return this.apiClient.callApi(
|
|
411
|
-
'/auth/scan/{app_id}/{link_uuid}', 'GET',
|
|
412
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
413
|
-
authNames, contentTypes, accepts, returnType, null, callback
|
|
414
|
-
);
|
|
415
|
-
}
|
|
416
|
-
|
|
417
|
-
/**
|
|
418
|
-
* Callback function to receive the result of the pgCompleteRedirectAuthRedirectAppIdLinkUuidPost operation.
|
|
419
|
-
* @callback module:api/AuthApi~pgCompleteRedirectAuthRedirectAppIdLinkUuidPostCallback
|
|
420
|
-
* @param {String} error Error message, if any.
|
|
421
|
-
* @param {Object} data The data returned by the service call.
|
|
422
|
-
* @param {String} response The complete HTTP response.
|
|
423
|
-
*/
|
|
424
|
-
|
|
425
|
-
/**
|
|
426
|
-
* Pg Complete Redirect
|
|
427
|
-
* @param {String} linkUuid
|
|
428
|
-
* @param {Number} appId
|
|
429
|
-
* @param {String} appattest
|
|
430
|
-
* @param {Object} opts Optional parameters
|
|
431
|
-
* @param {String} [pcre]
|
|
432
|
-
* @param {module:api/AuthApi~pgCompleteRedirectAuthRedirectAppIdLinkUuidPostCallback} callback The callback function, accepting three arguments: error, data, response
|
|
433
|
-
* data is of type: {@link Object}
|
|
434
|
-
*/
|
|
435
|
-
pgCompleteRedirectAuthRedirectAppIdLinkUuidPost(linkUuid, appId, appattest, opts, callback) {
|
|
436
|
-
opts = opts || {};
|
|
437
|
-
let postBody = null;
|
|
438
|
-
// verify the required parameter 'linkUuid' is set
|
|
439
|
-
if (linkUuid === undefined || linkUuid === null) {
|
|
440
|
-
throw new Error("Missing the required parameter 'linkUuid' when calling pgCompleteRedirectAuthRedirectAppIdLinkUuidPost");
|
|
441
|
-
}
|
|
442
|
-
// verify the required parameter 'appId' is set
|
|
443
|
-
if (appId === undefined || appId === null) {
|
|
444
|
-
throw new Error("Missing the required parameter 'appId' when calling pgCompleteRedirectAuthRedirectAppIdLinkUuidPost");
|
|
445
|
-
}
|
|
446
|
-
// verify the required parameter 'appattest' is set
|
|
447
|
-
if (appattest === undefined || appattest === null) {
|
|
448
|
-
throw new Error("Missing the required parameter 'appattest' when calling pgCompleteRedirectAuthRedirectAppIdLinkUuidPost");
|
|
449
|
-
}
|
|
450
|
-
|
|
451
|
-
let pathParams = {
|
|
452
|
-
'link_uuid': linkUuid,
|
|
453
|
-
'app_id': appId
|
|
454
|
-
};
|
|
455
|
-
let queryParams = {
|
|
456
|
-
'pcre': opts['pcre']
|
|
457
|
-
};
|
|
458
|
-
let headerParams = {
|
|
459
|
-
'appattest': appattest
|
|
460
|
-
};
|
|
461
|
-
let formParams = {
|
|
462
|
-
};
|
|
463
|
-
|
|
464
|
-
let authNames = [];
|
|
465
|
-
let contentTypes = [];
|
|
466
|
-
let accepts = ['application/json'];
|
|
467
|
-
let returnType = Object;
|
|
468
|
-
return this.apiClient.callApi(
|
|
469
|
-
'/auth/redirect/{app_id}/{link_uuid}', 'POST',
|
|
470
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
471
|
-
authNames, contentTypes, accepts, returnType, null, callback
|
|
472
|
-
);
|
|
473
|
-
}
|
|
474
|
-
|
|
475
|
-
/**
|
|
476
|
-
* Callback function to receive the result of the pgCompleteRedirectAuthRedirectAppIdLinkUuidPost_0 operation.
|
|
477
|
-
* @callback module:api/AuthApi~pgCompleteRedirectAuthRedirectAppIdLinkUuidPost_0Callback
|
|
478
|
-
* @param {String} error Error message, if any.
|
|
479
|
-
* @param {Object} data The data returned by the service call.
|
|
480
|
-
* @param {String} response The complete HTTP response.
|
|
481
|
-
*/
|
|
482
|
-
|
|
483
|
-
/**
|
|
484
|
-
* Pg Complete Redirect
|
|
485
|
-
* @param {String} linkUuid
|
|
486
|
-
* @param {Number} appId
|
|
487
|
-
* @param {String} appattest
|
|
488
|
-
* @param {Object} opts Optional parameters
|
|
489
|
-
* @param {String} [pcre]
|
|
490
|
-
* @param {module:api/AuthApi~pgCompleteRedirectAuthRedirectAppIdLinkUuidPost_0Callback} callback The callback function, accepting three arguments: error, data, response
|
|
491
|
-
* data is of type: {@link Object}
|
|
492
|
-
*/
|
|
493
|
-
pgCompleteRedirectAuthRedirectAppIdLinkUuidPost_0(linkUuid, appId, appattest, opts, callback) {
|
|
494
|
-
opts = opts || {};
|
|
495
|
-
let postBody = null;
|
|
496
|
-
// verify the required parameter 'linkUuid' is set
|
|
497
|
-
if (linkUuid === undefined || linkUuid === null) {
|
|
498
|
-
throw new Error("Missing the required parameter 'linkUuid' when calling pgCompleteRedirectAuthRedirectAppIdLinkUuidPost_0");
|
|
499
|
-
}
|
|
500
|
-
// verify the required parameter 'appId' is set
|
|
501
|
-
if (appId === undefined || appId === null) {
|
|
502
|
-
throw new Error("Missing the required parameter 'appId' when calling pgCompleteRedirectAuthRedirectAppIdLinkUuidPost_0");
|
|
503
|
-
}
|
|
504
|
-
// verify the required parameter 'appattest' is set
|
|
505
|
-
if (appattest === undefined || appattest === null) {
|
|
506
|
-
throw new Error("Missing the required parameter 'appattest' when calling pgCompleteRedirectAuthRedirectAppIdLinkUuidPost_0");
|
|
507
|
-
}
|
|
508
|
-
|
|
509
|
-
let pathParams = {
|
|
510
|
-
'link_uuid': linkUuid,
|
|
511
|
-
'app_id': appId
|
|
512
|
-
};
|
|
513
|
-
let queryParams = {
|
|
514
|
-
'pcre': opts['pcre']
|
|
515
|
-
};
|
|
516
|
-
let headerParams = {
|
|
517
|
-
'appattest': appattest
|
|
518
|
-
};
|
|
519
|
-
let formParams = {
|
|
520
|
-
};
|
|
521
|
-
|
|
522
|
-
let authNames = [];
|
|
523
|
-
let contentTypes = [];
|
|
524
|
-
let accepts = ['application/json'];
|
|
525
|
-
let returnType = Object;
|
|
526
|
-
return this.apiClient.callApi(
|
|
527
|
-
'/auth/redirect/{app_id}/{link_uuid}', 'POST',
|
|
528
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
529
|
-
authNames, contentTypes, accepts, returnType, null, callback
|
|
530
|
-
);
|
|
531
|
-
}
|
|
532
|
-
|
|
533
|
-
/**
|
|
534
|
-
* Callback function to receive the result of the pgCreateLinkAuthLinkAppIdPut operation.
|
|
535
|
-
* @callback module:api/AuthApi~pgCreateLinkAuthLinkAppIdPutCallback
|
|
536
|
-
* @param {String} error Error message, if any.
|
|
537
|
-
* @param {Object} data The data returned by the service call.
|
|
538
|
-
* @param {String} response The complete HTTP response.
|
|
539
|
-
*/
|
|
540
|
-
|
|
541
|
-
/**
|
|
542
|
-
* Pg Create Link
|
|
543
|
-
* @param {Number} appId
|
|
544
|
-
* @param {module:model/CreateLinkRequest} createLinkRequest
|
|
545
|
-
* @param {Object} opts Optional parameters
|
|
546
|
-
* @param {String} [clientSecret = 'ghFlPlwVN11IQuTIEj4nlB1i67iQQel9')]
|
|
547
|
-
* @param {String} [clientId = '7c19WxdRTkyf9w0EDbbfbg')]
|
|
548
|
-
* @param {module:api/AuthApi~pgCreateLinkAuthLinkAppIdPutCallback} callback The callback function, accepting three arguments: error, data, response
|
|
549
|
-
* data is of type: {@link Object}
|
|
550
|
-
*/
|
|
551
|
-
pgCreateLinkAuthLinkAppIdPut(appId, createLinkRequest, opts, callback) {
|
|
552
|
-
opts = opts || {};
|
|
553
|
-
let postBody = createLinkRequest;
|
|
554
|
-
// verify the required parameter 'appId' is set
|
|
555
|
-
if (appId === undefined || appId === null) {
|
|
556
|
-
throw new Error("Missing the required parameter 'appId' when calling pgCreateLinkAuthLinkAppIdPut");
|
|
557
|
-
}
|
|
558
|
-
// verify the required parameter 'createLinkRequest' is set
|
|
559
|
-
if (createLinkRequest === undefined || createLinkRequest === null) {
|
|
560
|
-
throw new Error("Missing the required parameter 'createLinkRequest' when calling pgCreateLinkAuthLinkAppIdPut");
|
|
561
|
-
}
|
|
562
|
-
|
|
563
|
-
let pathParams = {
|
|
564
|
-
'app_id': appId
|
|
565
|
-
};
|
|
566
|
-
let queryParams = {
|
|
567
|
-
'client_secret': opts['clientSecret'],
|
|
568
|
-
'client_id': opts['clientId']
|
|
569
|
-
};
|
|
570
|
-
let headerParams = {
|
|
571
|
-
};
|
|
572
|
-
let formParams = {
|
|
573
|
-
};
|
|
574
|
-
|
|
575
|
-
let authNames = [];
|
|
576
|
-
let contentTypes = ['application/json'];
|
|
577
|
-
let accepts = ['application/json'];
|
|
578
|
-
let returnType = Object;
|
|
579
|
-
return this.apiClient.callApi(
|
|
580
|
-
'/auth/link/{app_id}', 'PUT',
|
|
581
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
582
|
-
authNames, contentTypes, accepts, returnType, null, callback
|
|
583
|
-
);
|
|
584
|
-
}
|
|
585
|
-
|
|
586
|
-
/**
|
|
587
|
-
* Callback function to receive the result of the pgCreateLinkAuthLinkAppIdPut_0 operation.
|
|
588
|
-
* @callback module:api/AuthApi~pgCreateLinkAuthLinkAppIdPut_0Callback
|
|
589
|
-
* @param {String} error Error message, if any.
|
|
590
|
-
* @param {Object} data The data returned by the service call.
|
|
591
|
-
* @param {String} response The complete HTTP response.
|
|
592
|
-
*/
|
|
593
|
-
|
|
594
|
-
/**
|
|
595
|
-
* Pg Create Link
|
|
596
|
-
* @param {Number} appId
|
|
597
|
-
* @param {module:model/CreateLinkRequest} createLinkRequest
|
|
598
|
-
* @param {Object} opts Optional parameters
|
|
599
|
-
* @param {String} [clientSecret = 'ghFlPlwVN11IQuTIEj4nlB1i67iQQel9')]
|
|
600
|
-
* @param {String} [clientId = '7c19WxdRTkyf9w0EDbbfbg')]
|
|
601
|
-
* @param {module:api/AuthApi~pgCreateLinkAuthLinkAppIdPut_0Callback} callback The callback function, accepting three arguments: error, data, response
|
|
602
|
-
* data is of type: {@link Object}
|
|
603
|
-
*/
|
|
604
|
-
pgCreateLinkAuthLinkAppIdPut_0(appId, createLinkRequest, opts, callback) {
|
|
605
|
-
opts = opts || {};
|
|
606
|
-
let postBody = createLinkRequest;
|
|
607
|
-
// verify the required parameter 'appId' is set
|
|
608
|
-
if (appId === undefined || appId === null) {
|
|
609
|
-
throw new Error("Missing the required parameter 'appId' when calling pgCreateLinkAuthLinkAppIdPut_0");
|
|
610
|
-
}
|
|
611
|
-
// verify the required parameter 'createLinkRequest' is set
|
|
612
|
-
if (createLinkRequest === undefined || createLinkRequest === null) {
|
|
613
|
-
throw new Error("Missing the required parameter 'createLinkRequest' when calling pgCreateLinkAuthLinkAppIdPut_0");
|
|
614
|
-
}
|
|
615
|
-
|
|
616
|
-
let pathParams = {
|
|
617
|
-
'app_id': appId
|
|
618
|
-
};
|
|
619
|
-
let queryParams = {
|
|
620
|
-
'client_secret': opts['clientSecret'],
|
|
621
|
-
'client_id': opts['clientId']
|
|
622
|
-
};
|
|
623
|
-
let headerParams = {
|
|
624
|
-
};
|
|
625
|
-
let formParams = {
|
|
626
|
-
};
|
|
627
|
-
|
|
628
|
-
let authNames = [];
|
|
629
|
-
let contentTypes = ['application/json'];
|
|
630
|
-
let accepts = ['application/json'];
|
|
631
|
-
let returnType = Object;
|
|
632
|
-
return this.apiClient.callApi(
|
|
633
|
-
'/auth/link/{app_id}', 'PUT',
|
|
634
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
635
|
-
authNames, contentTypes, accepts, returnType, null, callback
|
|
636
|
-
);
|
|
637
|
-
}
|
|
638
|
-
|
|
639
|
-
/**
|
|
640
|
-
* Callback function to receive the result of the pgDeleteLinkAuthLinkAppIdLinkUuidDelete operation.
|
|
641
|
-
* @callback module:api/AuthApi~pgDeleteLinkAuthLinkAppIdLinkUuidDeleteCallback
|
|
642
|
-
* @param {String} error Error message, if any.
|
|
643
|
-
* @param {Object} data The data returned by the service call.
|
|
644
|
-
* @param {String} response The complete HTTP response.
|
|
645
|
-
*/
|
|
646
|
-
|
|
647
|
-
/**
|
|
648
|
-
* Pg Delete Link
|
|
649
|
-
* @param {Number} appId
|
|
650
|
-
* @param {String} linkUuid
|
|
651
|
-
* @param {Object} opts Optional parameters
|
|
652
|
-
* @param {String} [clientSecret = 'ghFlPlwVN11IQuTIEj4nlB1i67iQQel9')]
|
|
653
|
-
* @param {String} [clientId = '7c19WxdRTkyf9w0EDbbfbg')]
|
|
654
|
-
* @param {module:api/AuthApi~pgDeleteLinkAuthLinkAppIdLinkUuidDeleteCallback} callback The callback function, accepting three arguments: error, data, response
|
|
655
|
-
* data is of type: {@link Object}
|
|
656
|
-
*/
|
|
657
|
-
pgDeleteLinkAuthLinkAppIdLinkUuidDelete(appId, linkUuid, opts, callback) {
|
|
658
|
-
opts = opts || {};
|
|
659
|
-
let postBody = null;
|
|
660
|
-
// verify the required parameter 'appId' is set
|
|
661
|
-
if (appId === undefined || appId === null) {
|
|
662
|
-
throw new Error("Missing the required parameter 'appId' when calling pgDeleteLinkAuthLinkAppIdLinkUuidDelete");
|
|
663
|
-
}
|
|
664
|
-
// verify the required parameter 'linkUuid' is set
|
|
665
|
-
if (linkUuid === undefined || linkUuid === null) {
|
|
666
|
-
throw new Error("Missing the required parameter 'linkUuid' when calling pgDeleteLinkAuthLinkAppIdLinkUuidDelete");
|
|
667
|
-
}
|
|
668
|
-
|
|
669
|
-
let pathParams = {
|
|
670
|
-
'app_id': appId,
|
|
671
|
-
'link_uuid': linkUuid
|
|
672
|
-
};
|
|
673
|
-
let queryParams = {
|
|
674
|
-
'client_secret': opts['clientSecret'],
|
|
675
|
-
'client_id': opts['clientId']
|
|
676
|
-
};
|
|
677
|
-
let headerParams = {
|
|
678
|
-
};
|
|
679
|
-
let formParams = {
|
|
680
|
-
};
|
|
681
|
-
|
|
682
|
-
let authNames = [];
|
|
683
|
-
let contentTypes = [];
|
|
684
|
-
let accepts = ['application/json'];
|
|
685
|
-
let returnType = Object;
|
|
686
|
-
return this.apiClient.callApi(
|
|
687
|
-
'/auth/link/{app_id}/{link_uuid}', 'DELETE',
|
|
688
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
689
|
-
authNames, contentTypes, accepts, returnType, null, callback
|
|
690
|
-
);
|
|
691
|
-
}
|
|
692
|
-
|
|
693
|
-
/**
|
|
694
|
-
* Callback function to receive the result of the pgDeleteLinkAuthLinkAppIdLinkUuidDelete_0 operation.
|
|
695
|
-
* @callback module:api/AuthApi~pgDeleteLinkAuthLinkAppIdLinkUuidDelete_0Callback
|
|
696
|
-
* @param {String} error Error message, if any.
|
|
697
|
-
* @param {Object} data The data returned by the service call.
|
|
698
|
-
* @param {String} response The complete HTTP response.
|
|
699
|
-
*/
|
|
700
|
-
|
|
701
|
-
/**
|
|
702
|
-
* Pg Delete Link
|
|
703
|
-
* @param {Number} appId
|
|
704
|
-
* @param {String} linkUuid
|
|
705
|
-
* @param {Object} opts Optional parameters
|
|
706
|
-
* @param {String} [clientSecret = 'ghFlPlwVN11IQuTIEj4nlB1i67iQQel9')]
|
|
707
|
-
* @param {String} [clientId = '7c19WxdRTkyf9w0EDbbfbg')]
|
|
708
|
-
* @param {module:api/AuthApi~pgDeleteLinkAuthLinkAppIdLinkUuidDelete_0Callback} callback The callback function, accepting three arguments: error, data, response
|
|
709
|
-
* data is of type: {@link Object}
|
|
710
|
-
*/
|
|
711
|
-
pgDeleteLinkAuthLinkAppIdLinkUuidDelete_0(appId, linkUuid, opts, callback) {
|
|
712
|
-
opts = opts || {};
|
|
713
|
-
let postBody = null;
|
|
714
|
-
// verify the required parameter 'appId' is set
|
|
715
|
-
if (appId === undefined || appId === null) {
|
|
716
|
-
throw new Error("Missing the required parameter 'appId' when calling pgDeleteLinkAuthLinkAppIdLinkUuidDelete_0");
|
|
717
|
-
}
|
|
718
|
-
// verify the required parameter 'linkUuid' is set
|
|
719
|
-
if (linkUuid === undefined || linkUuid === null) {
|
|
720
|
-
throw new Error("Missing the required parameter 'linkUuid' when calling pgDeleteLinkAuthLinkAppIdLinkUuidDelete_0");
|
|
721
|
-
}
|
|
722
|
-
|
|
723
|
-
let pathParams = {
|
|
724
|
-
'app_id': appId,
|
|
725
|
-
'link_uuid': linkUuid
|
|
726
|
-
};
|
|
727
|
-
let queryParams = {
|
|
728
|
-
'client_secret': opts['clientSecret'],
|
|
729
|
-
'client_id': opts['clientId']
|
|
730
|
-
};
|
|
731
|
-
let headerParams = {
|
|
732
|
-
};
|
|
733
|
-
let formParams = {
|
|
734
|
-
};
|
|
735
|
-
|
|
736
|
-
let authNames = [];
|
|
737
|
-
let contentTypes = [];
|
|
738
|
-
let accepts = ['application/json'];
|
|
739
|
-
let returnType = Object;
|
|
740
|
-
return this.apiClient.callApi(
|
|
741
|
-
'/auth/link/{app_id}/{link_uuid}', 'DELETE',
|
|
742
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
743
|
-
authNames, contentTypes, accepts, returnType, null, callback
|
|
744
|
-
);
|
|
745
|
-
}
|
|
746
|
-
|
|
747
|
-
/**
|
|
748
|
-
* Callback function to receive the result of the pgGetMeetingDetailsAuthZoomMeetingMeetingUuidGet operation.
|
|
749
|
-
* @callback module:api/AuthApi~pgGetMeetingDetailsAuthZoomMeetingMeetingUuidGetCallback
|
|
750
|
-
* @param {String} error Error message, if any.
|
|
751
|
-
* @param {Object} data The data returned by the service call.
|
|
752
|
-
* @param {String} response The complete HTTP response.
|
|
753
|
-
*/
|
|
754
|
-
|
|
755
|
-
/**
|
|
756
|
-
* Pg Get Meeting Details
|
|
757
|
-
* @param {String} meetingUuid
|
|
758
|
-
* @param {Object} opts Optional parameters
|
|
759
|
-
* @param {String} [clientSecret = 'ghFlPlwVN11IQuTIEj4nlB1i67iQQel9')]
|
|
760
|
-
* @param {String} [clientId = '7c19WxdRTkyf9w0EDbbfbg')]
|
|
761
|
-
* @param {module:api/AuthApi~pgGetMeetingDetailsAuthZoomMeetingMeetingUuidGetCallback} callback The callback function, accepting three arguments: error, data, response
|
|
762
|
-
* data is of type: {@link Object}
|
|
763
|
-
*/
|
|
764
|
-
pgGetMeetingDetailsAuthZoomMeetingMeetingUuidGet(meetingUuid, opts, callback) {
|
|
765
|
-
opts = opts || {};
|
|
766
|
-
let postBody = null;
|
|
767
|
-
// verify the required parameter 'meetingUuid' is set
|
|
768
|
-
if (meetingUuid === undefined || meetingUuid === null) {
|
|
769
|
-
throw new Error("Missing the required parameter 'meetingUuid' when calling pgGetMeetingDetailsAuthZoomMeetingMeetingUuidGet");
|
|
770
|
-
}
|
|
771
|
-
|
|
772
|
-
let pathParams = {
|
|
773
|
-
'meeting_uuid': meetingUuid
|
|
774
|
-
};
|
|
775
|
-
let queryParams = {
|
|
776
|
-
'client_secret': opts['clientSecret'],
|
|
777
|
-
'client_id': opts['clientId']
|
|
778
|
-
};
|
|
779
|
-
let headerParams = {
|
|
780
|
-
};
|
|
781
|
-
let formParams = {
|
|
782
|
-
};
|
|
783
|
-
|
|
784
|
-
let authNames = [];
|
|
785
|
-
let contentTypes = [];
|
|
786
|
-
let accepts = ['application/json'];
|
|
787
|
-
let returnType = Object;
|
|
788
|
-
return this.apiClient.callApi(
|
|
789
|
-
'/auth/zoom/meeting/{meeting_uuid}', 'GET',
|
|
790
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
791
|
-
authNames, contentTypes, accepts, returnType, null, callback
|
|
792
|
-
);
|
|
793
|
-
}
|
|
794
|
-
|
|
795
|
-
/**
|
|
796
|
-
* Callback function to receive the result of the pgGetMeetingDetailsAuthZoomMeetingMeetingUuidGet_0 operation.
|
|
797
|
-
* @callback module:api/AuthApi~pgGetMeetingDetailsAuthZoomMeetingMeetingUuidGet_0Callback
|
|
798
|
-
* @param {String} error Error message, if any.
|
|
799
|
-
* @param {Object} data The data returned by the service call.
|
|
800
|
-
* @param {String} response The complete HTTP response.
|
|
801
|
-
*/
|
|
802
|
-
|
|
803
|
-
/**
|
|
804
|
-
* Pg Get Meeting Details
|
|
805
|
-
* @param {String} meetingUuid
|
|
806
|
-
* @param {Object} opts Optional parameters
|
|
807
|
-
* @param {String} [clientSecret = 'ghFlPlwVN11IQuTIEj4nlB1i67iQQel9')]
|
|
808
|
-
* @param {String} [clientId = '7c19WxdRTkyf9w0EDbbfbg')]
|
|
809
|
-
* @param {module:api/AuthApi~pgGetMeetingDetailsAuthZoomMeetingMeetingUuidGet_0Callback} callback The callback function, accepting three arguments: error, data, response
|
|
810
|
-
* data is of type: {@link Object}
|
|
811
|
-
*/
|
|
812
|
-
pgGetMeetingDetailsAuthZoomMeetingMeetingUuidGet_0(meetingUuid, opts, callback) {
|
|
813
|
-
opts = opts || {};
|
|
814
|
-
let postBody = null;
|
|
815
|
-
// verify the required parameter 'meetingUuid' is set
|
|
816
|
-
if (meetingUuid === undefined || meetingUuid === null) {
|
|
817
|
-
throw new Error("Missing the required parameter 'meetingUuid' when calling pgGetMeetingDetailsAuthZoomMeetingMeetingUuidGet_0");
|
|
818
|
-
}
|
|
819
|
-
|
|
820
|
-
let pathParams = {
|
|
821
|
-
'meeting_uuid': meetingUuid
|
|
822
|
-
};
|
|
823
|
-
let queryParams = {
|
|
824
|
-
'client_secret': opts['clientSecret'],
|
|
825
|
-
'client_id': opts['clientId']
|
|
826
|
-
};
|
|
827
|
-
let headerParams = {
|
|
828
|
-
};
|
|
829
|
-
let formParams = {
|
|
830
|
-
};
|
|
831
|
-
|
|
832
|
-
let authNames = [];
|
|
833
|
-
let contentTypes = [];
|
|
834
|
-
let accepts = ['application/json'];
|
|
835
|
-
let returnType = Object;
|
|
836
|
-
return this.apiClient.callApi(
|
|
837
|
-
'/auth/zoom/meeting/{meeting_uuid}', 'GET',
|
|
838
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
839
|
-
authNames, contentTypes, accepts, returnType, null, callback
|
|
840
|
-
);
|
|
841
|
-
}
|
|
842
|
-
|
|
843
|
-
/**
|
|
844
|
-
* Callback function to receive the result of the pgListMeetingLinksAuthListlinksAccountIdGet operation.
|
|
845
|
-
* @callback module:api/AuthApi~pgListMeetingLinksAuthListlinksAccountIdGetCallback
|
|
846
|
-
* @param {String} error Error message, if any.
|
|
847
|
-
* @param {Object} data The data returned by the service call.
|
|
848
|
-
* @param {String} response The complete HTTP response.
|
|
849
|
-
*/
|
|
850
|
-
|
|
851
|
-
/**
|
|
852
|
-
* Pg List Meeting Links
|
|
853
|
-
* @param {String} accountId
|
|
854
|
-
* @param {Object} opts Optional parameters
|
|
855
|
-
* @param {String} [clientSecret = 'ghFlPlwVN11IQuTIEj4nlB1i67iQQel9')]
|
|
856
|
-
* @param {String} [clientId = '7c19WxdRTkyf9w0EDbbfbg')]
|
|
857
|
-
* @param {module:api/AuthApi~pgListMeetingLinksAuthListlinksAccountIdGetCallback} callback The callback function, accepting three arguments: error, data, response
|
|
858
|
-
* data is of type: {@link Object}
|
|
859
|
-
*/
|
|
860
|
-
pgListMeetingLinksAuthListlinksAccountIdGet(accountId, opts, callback) {
|
|
861
|
-
opts = opts || {};
|
|
862
|
-
let postBody = null;
|
|
863
|
-
// verify the required parameter 'accountId' is set
|
|
864
|
-
if (accountId === undefined || accountId === null) {
|
|
865
|
-
throw new Error("Missing the required parameter 'accountId' when calling pgListMeetingLinksAuthListlinksAccountIdGet");
|
|
866
|
-
}
|
|
867
|
-
|
|
868
|
-
let pathParams = {
|
|
869
|
-
'account_id': accountId
|
|
870
|
-
};
|
|
871
|
-
let queryParams = {
|
|
872
|
-
'client_secret': opts['clientSecret'],
|
|
873
|
-
'client_id': opts['clientId']
|
|
874
|
-
};
|
|
875
|
-
let headerParams = {
|
|
876
|
-
};
|
|
877
|
-
let formParams = {
|
|
878
|
-
};
|
|
879
|
-
|
|
880
|
-
let authNames = [];
|
|
881
|
-
let contentTypes = [];
|
|
882
|
-
let accepts = ['application/json'];
|
|
883
|
-
let returnType = Object;
|
|
884
|
-
return this.apiClient.callApi(
|
|
885
|
-
'/auth/listlinks/{account_id}', 'GET',
|
|
886
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
887
|
-
authNames, contentTypes, accepts, returnType, null, callback
|
|
888
|
-
);
|
|
889
|
-
}
|
|
890
|
-
|
|
891
|
-
/**
|
|
892
|
-
* Callback function to receive the result of the pgListMeetingLinksAuthListlinksAccountIdGet_0 operation.
|
|
893
|
-
* @callback module:api/AuthApi~pgListMeetingLinksAuthListlinksAccountIdGet_0Callback
|
|
894
|
-
* @param {String} error Error message, if any.
|
|
895
|
-
* @param {Object} data The data returned by the service call.
|
|
896
|
-
* @param {String} response The complete HTTP response.
|
|
897
|
-
*/
|
|
898
|
-
|
|
899
|
-
/**
|
|
900
|
-
* Pg List Meeting Links
|
|
901
|
-
* @param {String} accountId
|
|
902
|
-
* @param {Object} opts Optional parameters
|
|
903
|
-
* @param {String} [clientSecret = 'ghFlPlwVN11IQuTIEj4nlB1i67iQQel9')]
|
|
904
|
-
* @param {String} [clientId = '7c19WxdRTkyf9w0EDbbfbg')]
|
|
905
|
-
* @param {module:api/AuthApi~pgListMeetingLinksAuthListlinksAccountIdGet_0Callback} callback The callback function, accepting three arguments: error, data, response
|
|
906
|
-
* data is of type: {@link Object}
|
|
907
|
-
*/
|
|
908
|
-
pgListMeetingLinksAuthListlinksAccountIdGet_0(accountId, opts, callback) {
|
|
909
|
-
opts = opts || {};
|
|
910
|
-
let postBody = null;
|
|
911
|
-
// verify the required parameter 'accountId' is set
|
|
912
|
-
if (accountId === undefined || accountId === null) {
|
|
913
|
-
throw new Error("Missing the required parameter 'accountId' when calling pgListMeetingLinksAuthListlinksAccountIdGet_0");
|
|
914
|
-
}
|
|
915
|
-
|
|
916
|
-
let pathParams = {
|
|
917
|
-
'account_id': accountId
|
|
918
|
-
};
|
|
919
|
-
let queryParams = {
|
|
920
|
-
'client_secret': opts['clientSecret'],
|
|
921
|
-
'client_id': opts['clientId']
|
|
922
|
-
};
|
|
923
|
-
let headerParams = {
|
|
924
|
-
};
|
|
925
|
-
let formParams = {
|
|
926
|
-
};
|
|
927
|
-
|
|
928
|
-
let authNames = [];
|
|
929
|
-
let contentTypes = [];
|
|
930
|
-
let accepts = ['application/json'];
|
|
931
|
-
let returnType = Object;
|
|
932
|
-
return this.apiClient.callApi(
|
|
933
|
-
'/auth/listlinks/{account_id}', 'GET',
|
|
934
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
935
|
-
authNames, contentTypes, accepts, returnType, null, callback
|
|
936
|
-
);
|
|
937
|
-
}
|
|
938
|
-
|
|
939
|
-
/**
|
|
940
|
-
* Callback function to receive the result of the pgLoginAuthLinkAppIdLinkUuidGet operation.
|
|
941
|
-
* @callback module:api/AuthApi~pgLoginAuthLinkAppIdLinkUuidGetCallback
|
|
942
|
-
* @param {String} error Error message, if any.
|
|
943
|
-
* @param {Object} data The data returned by the service call.
|
|
944
|
-
* @param {String} response The complete HTTP response.
|
|
945
|
-
*/
|
|
946
|
-
|
|
947
|
-
/**
|
|
948
|
-
* Pg Login
|
|
949
|
-
* @param {String} linkUuid
|
|
950
|
-
* @param {Number} appId
|
|
951
|
-
* @param {module:api/AuthApi~pgLoginAuthLinkAppIdLinkUuidGetCallback} callback The callback function, accepting three arguments: error, data, response
|
|
952
|
-
* data is of type: {@link Object}
|
|
953
|
-
*/
|
|
954
|
-
pgLoginAuthLinkAppIdLinkUuidGet(linkUuid, appId, callback) {
|
|
955
|
-
let postBody = null;
|
|
956
|
-
// verify the required parameter 'linkUuid' is set
|
|
957
|
-
if (linkUuid === undefined || linkUuid === null) {
|
|
958
|
-
throw new Error("Missing the required parameter 'linkUuid' when calling pgLoginAuthLinkAppIdLinkUuidGet");
|
|
959
|
-
}
|
|
960
|
-
// verify the required parameter 'appId' is set
|
|
961
|
-
if (appId === undefined || appId === null) {
|
|
962
|
-
throw new Error("Missing the required parameter 'appId' when calling pgLoginAuthLinkAppIdLinkUuidGet");
|
|
963
|
-
}
|
|
964
|
-
|
|
965
|
-
let pathParams = {
|
|
966
|
-
'link_uuid': linkUuid,
|
|
967
|
-
'app_id': appId
|
|
968
|
-
};
|
|
969
|
-
let queryParams = {
|
|
970
|
-
};
|
|
971
|
-
let headerParams = {
|
|
972
|
-
};
|
|
973
|
-
let formParams = {
|
|
974
|
-
};
|
|
975
|
-
|
|
976
|
-
let authNames = [];
|
|
977
|
-
let contentTypes = [];
|
|
978
|
-
let accepts = ['application/json'];
|
|
979
|
-
let returnType = Object;
|
|
980
|
-
return this.apiClient.callApi(
|
|
981
|
-
'/auth/link/{app_id}/{link_uuid}', 'GET',
|
|
982
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
983
|
-
authNames, contentTypes, accepts, returnType, null, callback
|
|
984
|
-
);
|
|
985
|
-
}
|
|
986
|
-
|
|
987
|
-
/**
|
|
988
|
-
* Callback function to receive the result of the pgLoginAuthLinkAppIdLinkUuidGet_0 operation.
|
|
989
|
-
* @callback module:api/AuthApi~pgLoginAuthLinkAppIdLinkUuidGet_0Callback
|
|
990
|
-
* @param {String} error Error message, if any.
|
|
991
|
-
* @param {Object} data The data returned by the service call.
|
|
992
|
-
* @param {String} response The complete HTTP response.
|
|
993
|
-
*/
|
|
994
|
-
|
|
995
|
-
/**
|
|
996
|
-
* Pg Login
|
|
997
|
-
* @param {String} linkUuid
|
|
998
|
-
* @param {Number} appId
|
|
999
|
-
* @param {module:api/AuthApi~pgLoginAuthLinkAppIdLinkUuidGet_0Callback} callback The callback function, accepting three arguments: error, data, response
|
|
1000
|
-
* data is of type: {@link Object}
|
|
1001
|
-
*/
|
|
1002
|
-
pgLoginAuthLinkAppIdLinkUuidGet_0(linkUuid, appId, callback) {
|
|
1003
|
-
let postBody = null;
|
|
1004
|
-
// verify the required parameter 'linkUuid' is set
|
|
1005
|
-
if (linkUuid === undefined || linkUuid === null) {
|
|
1006
|
-
throw new Error("Missing the required parameter 'linkUuid' when calling pgLoginAuthLinkAppIdLinkUuidGet_0");
|
|
1007
|
-
}
|
|
1008
|
-
// verify the required parameter 'appId' is set
|
|
1009
|
-
if (appId === undefined || appId === null) {
|
|
1010
|
-
throw new Error("Missing the required parameter 'appId' when calling pgLoginAuthLinkAppIdLinkUuidGet_0");
|
|
1011
|
-
}
|
|
1012
|
-
|
|
1013
|
-
let pathParams = {
|
|
1014
|
-
'link_uuid': linkUuid,
|
|
1015
|
-
'app_id': appId
|
|
1016
|
-
};
|
|
1017
|
-
let queryParams = {
|
|
1018
|
-
};
|
|
1019
|
-
let headerParams = {
|
|
1020
|
-
};
|
|
1021
|
-
let formParams = {
|
|
1022
|
-
};
|
|
1023
|
-
|
|
1024
|
-
let authNames = [];
|
|
1025
|
-
let contentTypes = [];
|
|
1026
|
-
let accepts = ['application/json'];
|
|
1027
|
-
let returnType = Object;
|
|
1028
|
-
return this.apiClient.callApi(
|
|
1029
|
-
'/auth/link/{app_id}/{link_uuid}', 'GET',
|
|
1030
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1031
|
-
authNames, contentTypes, accepts, returnType, null, callback
|
|
1032
|
-
);
|
|
1033
|
-
}
|
|
1034
|
-
|
|
1035
|
-
/**
|
|
1036
|
-
* Callback function to receive the result of the pgLoginMLinkUuidGet operation.
|
|
1037
|
-
* @callback module:api/AuthApi~pgLoginMLinkUuidGetCallback
|
|
1038
|
-
* @param {String} error Error message, if any.
|
|
1039
|
-
* @param {Object} data The data returned by the service call.
|
|
1040
|
-
* @param {String} response The complete HTTP response.
|
|
1041
|
-
*/
|
|
1042
|
-
|
|
1043
|
-
/**
|
|
1044
|
-
* Pg Login
|
|
1045
|
-
* @param {String} linkUuid
|
|
1046
|
-
* @param {Object} opts Optional parameters
|
|
1047
|
-
* @param {Number} [appId = 1)]
|
|
1048
|
-
* @param {module:api/AuthApi~pgLoginMLinkUuidGetCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1049
|
-
* data is of type: {@link Object}
|
|
1050
|
-
*/
|
|
1051
|
-
pgLoginMLinkUuidGet(linkUuid, opts, callback) {
|
|
1052
|
-
opts = opts || {};
|
|
1053
|
-
let postBody = null;
|
|
1054
|
-
// verify the required parameter 'linkUuid' is set
|
|
1055
|
-
if (linkUuid === undefined || linkUuid === null) {
|
|
1056
|
-
throw new Error("Missing the required parameter 'linkUuid' when calling pgLoginMLinkUuidGet");
|
|
1057
|
-
}
|
|
1058
|
-
|
|
1059
|
-
let pathParams = {
|
|
1060
|
-
'link_uuid': linkUuid
|
|
1061
|
-
};
|
|
1062
|
-
let queryParams = {
|
|
1063
|
-
'app_id': opts['appId']
|
|
1064
|
-
};
|
|
1065
|
-
let headerParams = {
|
|
1066
|
-
};
|
|
1067
|
-
let formParams = {
|
|
1068
|
-
};
|
|
1069
|
-
|
|
1070
|
-
let authNames = [];
|
|
1071
|
-
let contentTypes = [];
|
|
1072
|
-
let accepts = ['application/json'];
|
|
1073
|
-
let returnType = Object;
|
|
1074
|
-
return this.apiClient.callApi(
|
|
1075
|
-
'/m/{link_uuid}', 'GET',
|
|
1076
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1077
|
-
authNames, contentTypes, accepts, returnType, null, callback
|
|
1078
|
-
);
|
|
1079
|
-
}
|
|
1080
|
-
|
|
1081
|
-
/**
|
|
1082
|
-
* Callback function to receive the result of the pgLoginMLinkUuidGet_0 operation.
|
|
1083
|
-
* @callback module:api/AuthApi~pgLoginMLinkUuidGet_0Callback
|
|
1084
|
-
* @param {String} error Error message, if any.
|
|
1085
|
-
* @param {Object} data The data returned by the service call.
|
|
1086
|
-
* @param {String} response The complete HTTP response.
|
|
1087
|
-
*/
|
|
1088
|
-
|
|
1089
|
-
/**
|
|
1090
|
-
* Pg Login
|
|
1091
|
-
* @param {String} linkUuid
|
|
1092
|
-
* @param {Object} opts Optional parameters
|
|
1093
|
-
* @param {Number} [appId = 1)]
|
|
1094
|
-
* @param {module:api/AuthApi~pgLoginMLinkUuidGet_0Callback} callback The callback function, accepting three arguments: error, data, response
|
|
1095
|
-
* data is of type: {@link Object}
|
|
1096
|
-
*/
|
|
1097
|
-
pgLoginMLinkUuidGet_0(linkUuid, opts, callback) {
|
|
1098
|
-
opts = opts || {};
|
|
1099
|
-
let postBody = null;
|
|
1100
|
-
// verify the required parameter 'linkUuid' is set
|
|
1101
|
-
if (linkUuid === undefined || linkUuid === null) {
|
|
1102
|
-
throw new Error("Missing the required parameter 'linkUuid' when calling pgLoginMLinkUuidGet_0");
|
|
1103
|
-
}
|
|
1104
|
-
|
|
1105
|
-
let pathParams = {
|
|
1106
|
-
'link_uuid': linkUuid
|
|
1107
|
-
};
|
|
1108
|
-
let queryParams = {
|
|
1109
|
-
'app_id': opts['appId']
|
|
1110
|
-
};
|
|
1111
|
-
let headerParams = {
|
|
1112
|
-
};
|
|
1113
|
-
let formParams = {
|
|
1114
|
-
};
|
|
1115
|
-
|
|
1116
|
-
let authNames = [];
|
|
1117
|
-
let contentTypes = [];
|
|
1118
|
-
let accepts = ['application/json'];
|
|
1119
|
-
let returnType = Object;
|
|
1120
|
-
return this.apiClient.callApi(
|
|
1121
|
-
'/m/{link_uuid}', 'GET',
|
|
1122
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1123
|
-
authNames, contentTypes, accepts, returnType, null, callback
|
|
1124
|
-
);
|
|
1125
|
-
}
|
|
1126
|
-
|
|
1127
|
-
/**
|
|
1128
|
-
* Callback function to receive the result of the pgMobileRedirectMobileLinkUuidGet operation.
|
|
1129
|
-
* @callback module:api/AuthApi~pgMobileRedirectMobileLinkUuidGetCallback
|
|
1130
|
-
* @param {String} error Error message, if any.
|
|
1131
|
-
* @param {Object} data The data returned by the service call.
|
|
1132
|
-
* @param {String} response The complete HTTP response.
|
|
1133
|
-
*/
|
|
1134
|
-
|
|
1135
|
-
/**
|
|
1136
|
-
* Pg Mobile Redirect
|
|
1137
|
-
* Short URL for mobile redirect, embedded in QR code
|
|
1138
|
-
* @param {String} linkUuid
|
|
1139
|
-
* @param {module:api/AuthApi~pgMobileRedirectMobileLinkUuidGetCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1140
|
-
* data is of type: {@link Object}
|
|
1141
|
-
*/
|
|
1142
|
-
pgMobileRedirectMobileLinkUuidGet(linkUuid, callback) {
|
|
1143
|
-
let postBody = null;
|
|
1144
|
-
// verify the required parameter 'linkUuid' is set
|
|
1145
|
-
if (linkUuid === undefined || linkUuid === null) {
|
|
1146
|
-
throw new Error("Missing the required parameter 'linkUuid' when calling pgMobileRedirectMobileLinkUuidGet");
|
|
1147
|
-
}
|
|
1148
|
-
|
|
1149
|
-
let pathParams = {
|
|
1150
|
-
'link_uuid': linkUuid
|
|
1151
|
-
};
|
|
1152
|
-
let queryParams = {
|
|
1153
|
-
};
|
|
1154
|
-
let headerParams = {
|
|
1155
|
-
};
|
|
1156
|
-
let formParams = {
|
|
1157
|
-
};
|
|
1158
|
-
|
|
1159
|
-
let authNames = [];
|
|
1160
|
-
let contentTypes = [];
|
|
1161
|
-
let accepts = ['application/json'];
|
|
1162
|
-
let returnType = Object;
|
|
1163
|
-
return this.apiClient.callApi(
|
|
1164
|
-
'/mobile/{link_uuid}', 'GET',
|
|
1165
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1166
|
-
authNames, contentTypes, accepts, returnType, null, callback
|
|
1167
|
-
);
|
|
1168
|
-
}
|
|
1169
|
-
|
|
1170
|
-
/**
|
|
1171
|
-
* Callback function to receive the result of the pgMobileRedirectMobileLinkUuidGet_0 operation.
|
|
1172
|
-
* @callback module:api/AuthApi~pgMobileRedirectMobileLinkUuidGet_0Callback
|
|
1173
|
-
* @param {String} error Error message, if any.
|
|
1174
|
-
* @param {Object} data The data returned by the service call.
|
|
1175
|
-
* @param {String} response The complete HTTP response.
|
|
1176
|
-
*/
|
|
1177
|
-
|
|
1178
|
-
/**
|
|
1179
|
-
* Pg Mobile Redirect
|
|
1180
|
-
* Short URL for mobile redirect, embedded in QR code
|
|
1181
|
-
* @param {String} linkUuid
|
|
1182
|
-
* @param {module:api/AuthApi~pgMobileRedirectMobileLinkUuidGet_0Callback} callback The callback function, accepting three arguments: error, data, response
|
|
1183
|
-
* data is of type: {@link Object}
|
|
1184
|
-
*/
|
|
1185
|
-
pgMobileRedirectMobileLinkUuidGet_0(linkUuid, callback) {
|
|
1186
|
-
let postBody = null;
|
|
1187
|
-
// verify the required parameter 'linkUuid' is set
|
|
1188
|
-
if (linkUuid === undefined || linkUuid === null) {
|
|
1189
|
-
throw new Error("Missing the required parameter 'linkUuid' when calling pgMobileRedirectMobileLinkUuidGet_0");
|
|
1190
|
-
}
|
|
1191
|
-
|
|
1192
|
-
let pathParams = {
|
|
1193
|
-
'link_uuid': linkUuid
|
|
1194
|
-
};
|
|
1195
|
-
let queryParams = {
|
|
1196
|
-
};
|
|
1197
|
-
let headerParams = {
|
|
1198
|
-
};
|
|
1199
|
-
let formParams = {
|
|
1200
|
-
};
|
|
1201
|
-
|
|
1202
|
-
let authNames = [];
|
|
1203
|
-
let contentTypes = [];
|
|
1204
|
-
let accepts = ['application/json'];
|
|
1205
|
-
let returnType = Object;
|
|
1206
|
-
return this.apiClient.callApi(
|
|
1207
|
-
'/mobile/{link_uuid}', 'GET',
|
|
1208
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1209
|
-
authNames, contentTypes, accepts, returnType, null, callback
|
|
1210
|
-
);
|
|
1211
|
-
}
|
|
1212
|
-
|
|
1213
|
-
/**
|
|
1214
|
-
* Callback function to receive the result of the pgPollAuthPollPcreGet operation.
|
|
1215
|
-
* @callback module:api/AuthApi~pgPollAuthPollPcreGetCallback
|
|
1216
|
-
* @param {String} error Error message, if any.
|
|
1217
|
-
* @param {Object} data The data returned by the service call.
|
|
1218
|
-
* @param {String} response The complete HTTP response.
|
|
1219
|
-
*/
|
|
1220
|
-
|
|
1221
|
-
/**
|
|
1222
|
-
* Pg Poll
|
|
1223
|
-
* @param {String} pcre
|
|
1224
|
-
* @param {module:api/AuthApi~pgPollAuthPollPcreGetCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1225
|
-
* data is of type: {@link Object}
|
|
1226
|
-
*/
|
|
1227
|
-
pgPollAuthPollPcreGet(pcre, callback) {
|
|
1228
|
-
let postBody = null;
|
|
1229
|
-
// verify the required parameter 'pcre' is set
|
|
1230
|
-
if (pcre === undefined || pcre === null) {
|
|
1231
|
-
throw new Error("Missing the required parameter 'pcre' when calling pgPollAuthPollPcreGet");
|
|
1232
|
-
}
|
|
1233
|
-
|
|
1234
|
-
let pathParams = {
|
|
1235
|
-
'pcre': pcre
|
|
1236
|
-
};
|
|
1237
|
-
let queryParams = {
|
|
1238
|
-
};
|
|
1239
|
-
let headerParams = {
|
|
1240
|
-
};
|
|
1241
|
-
let formParams = {
|
|
1242
|
-
};
|
|
1243
|
-
|
|
1244
|
-
let authNames = [];
|
|
1245
|
-
let contentTypes = [];
|
|
1246
|
-
let accepts = ['application/json'];
|
|
1247
|
-
let returnType = Object;
|
|
1248
|
-
return this.apiClient.callApi(
|
|
1249
|
-
'/auth/poll/{pcre}', 'GET',
|
|
1250
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1251
|
-
authNames, contentTypes, accepts, returnType, null, callback
|
|
1252
|
-
);
|
|
1253
|
-
}
|
|
1254
|
-
|
|
1255
|
-
/**
|
|
1256
|
-
* Callback function to receive the result of the pgPollAuthPollPcreGet_0 operation.
|
|
1257
|
-
* @callback module:api/AuthApi~pgPollAuthPollPcreGet_0Callback
|
|
1258
|
-
* @param {String} error Error message, if any.
|
|
1259
|
-
* @param {Object} data The data returned by the service call.
|
|
1260
|
-
* @param {String} response The complete HTTP response.
|
|
1261
|
-
*/
|
|
1262
|
-
|
|
1263
|
-
/**
|
|
1264
|
-
* Pg Poll
|
|
1265
|
-
* @param {String} pcre
|
|
1266
|
-
* @param {module:api/AuthApi~pgPollAuthPollPcreGet_0Callback} callback The callback function, accepting three arguments: error, data, response
|
|
1267
|
-
* data is of type: {@link Object}
|
|
1268
|
-
*/
|
|
1269
|
-
pgPollAuthPollPcreGet_0(pcre, callback) {
|
|
1270
|
-
let postBody = null;
|
|
1271
|
-
// verify the required parameter 'pcre' is set
|
|
1272
|
-
if (pcre === undefined || pcre === null) {
|
|
1273
|
-
throw new Error("Missing the required parameter 'pcre' when calling pgPollAuthPollPcreGet_0");
|
|
1274
|
-
}
|
|
1275
|
-
|
|
1276
|
-
let pathParams = {
|
|
1277
|
-
'pcre': pcre
|
|
1278
|
-
};
|
|
1279
|
-
let queryParams = {
|
|
1280
|
-
};
|
|
1281
|
-
let headerParams = {
|
|
1282
|
-
};
|
|
1283
|
-
let formParams = {
|
|
1284
|
-
};
|
|
1285
|
-
|
|
1286
|
-
let authNames = [];
|
|
1287
|
-
let contentTypes = [];
|
|
1288
|
-
let accepts = ['application/json'];
|
|
1289
|
-
let returnType = Object;
|
|
1290
|
-
return this.apiClient.callApi(
|
|
1291
|
-
'/auth/poll/{pcre}', 'GET',
|
|
1292
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1293
|
-
authNames, contentTypes, accepts, returnType, null, callback
|
|
1294
|
-
);
|
|
1295
|
-
}
|
|
1296
|
-
|
|
1297
|
-
/**
|
|
1298
|
-
* Callback function to receive the result of the pgPreviewAuthRedirectAppIdLinkUuidHead operation.
|
|
1299
|
-
* @callback module:api/AuthApi~pgPreviewAuthRedirectAppIdLinkUuidHeadCallback
|
|
1300
|
-
* @param {String} error Error message, if any.
|
|
1301
|
-
* @param {Object} data The data returned by the service call.
|
|
1302
|
-
* @param {String} response The complete HTTP response.
|
|
1303
|
-
*/
|
|
1304
|
-
|
|
1305
|
-
/**
|
|
1306
|
-
* Pg Preview
|
|
1307
|
-
* @param {String} linkUuid
|
|
1308
|
-
* @param {Number} appId
|
|
1309
|
-
* @param {module:api/AuthApi~pgPreviewAuthRedirectAppIdLinkUuidHeadCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1310
|
-
* data is of type: {@link Object}
|
|
1311
|
-
*/
|
|
1312
|
-
pgPreviewAuthRedirectAppIdLinkUuidHead(linkUuid, appId, callback) {
|
|
1313
|
-
let postBody = null;
|
|
1314
|
-
// verify the required parameter 'linkUuid' is set
|
|
1315
|
-
if (linkUuid === undefined || linkUuid === null) {
|
|
1316
|
-
throw new Error("Missing the required parameter 'linkUuid' when calling pgPreviewAuthRedirectAppIdLinkUuidHead");
|
|
1317
|
-
}
|
|
1318
|
-
// verify the required parameter 'appId' is set
|
|
1319
|
-
if (appId === undefined || appId === null) {
|
|
1320
|
-
throw new Error("Missing the required parameter 'appId' when calling pgPreviewAuthRedirectAppIdLinkUuidHead");
|
|
1321
|
-
}
|
|
1322
|
-
|
|
1323
|
-
let pathParams = {
|
|
1324
|
-
'link_uuid': linkUuid,
|
|
1325
|
-
'app_id': appId
|
|
1326
|
-
};
|
|
1327
|
-
let queryParams = {
|
|
1328
|
-
};
|
|
1329
|
-
let headerParams = {
|
|
1330
|
-
};
|
|
1331
|
-
let formParams = {
|
|
1332
|
-
};
|
|
1333
|
-
|
|
1334
|
-
let authNames = [];
|
|
1335
|
-
let contentTypes = [];
|
|
1336
|
-
let accepts = ['application/json'];
|
|
1337
|
-
let returnType = Object;
|
|
1338
|
-
return this.apiClient.callApi(
|
|
1339
|
-
'/auth/redirect/{app_id}/{link_uuid}', 'HEAD',
|
|
1340
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1341
|
-
authNames, contentTypes, accepts, returnType, null, callback
|
|
1342
|
-
);
|
|
1343
|
-
}
|
|
1344
|
-
|
|
1345
|
-
/**
|
|
1346
|
-
* Callback function to receive the result of the pgPreviewAuthRedirectAppIdLinkUuidHead_0 operation.
|
|
1347
|
-
* @callback module:api/AuthApi~pgPreviewAuthRedirectAppIdLinkUuidHead_0Callback
|
|
1348
|
-
* @param {String} error Error message, if any.
|
|
1349
|
-
* @param {Object} data The data returned by the service call.
|
|
1350
|
-
* @param {String} response The complete HTTP response.
|
|
1351
|
-
*/
|
|
1352
|
-
|
|
1353
|
-
/**
|
|
1354
|
-
* Pg Preview
|
|
1355
|
-
* @param {String} linkUuid
|
|
1356
|
-
* @param {Number} appId
|
|
1357
|
-
* @param {module:api/AuthApi~pgPreviewAuthRedirectAppIdLinkUuidHead_0Callback} callback The callback function, accepting three arguments: error, data, response
|
|
1358
|
-
* data is of type: {@link Object}
|
|
1359
|
-
*/
|
|
1360
|
-
pgPreviewAuthRedirectAppIdLinkUuidHead_0(linkUuid, appId, callback) {
|
|
1361
|
-
let postBody = null;
|
|
1362
|
-
// verify the required parameter 'linkUuid' is set
|
|
1363
|
-
if (linkUuid === undefined || linkUuid === null) {
|
|
1364
|
-
throw new Error("Missing the required parameter 'linkUuid' when calling pgPreviewAuthRedirectAppIdLinkUuidHead_0");
|
|
1365
|
-
}
|
|
1366
|
-
// verify the required parameter 'appId' is set
|
|
1367
|
-
if (appId === undefined || appId === null) {
|
|
1368
|
-
throw new Error("Missing the required parameter 'appId' when calling pgPreviewAuthRedirectAppIdLinkUuidHead_0");
|
|
1369
|
-
}
|
|
1370
|
-
|
|
1371
|
-
let pathParams = {
|
|
1372
|
-
'link_uuid': linkUuid,
|
|
1373
|
-
'app_id': appId
|
|
1374
|
-
};
|
|
1375
|
-
let queryParams = {
|
|
1376
|
-
};
|
|
1377
|
-
let headerParams = {
|
|
1378
|
-
};
|
|
1379
|
-
let formParams = {
|
|
1380
|
-
};
|
|
1381
|
-
|
|
1382
|
-
let authNames = [];
|
|
1383
|
-
let contentTypes = [];
|
|
1384
|
-
let accepts = ['application/json'];
|
|
1385
|
-
let returnType = Object;
|
|
1386
|
-
return this.apiClient.callApi(
|
|
1387
|
-
'/auth/redirect/{app_id}/{link_uuid}', 'HEAD',
|
|
1388
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1389
|
-
authNames, contentTypes, accepts, returnType, null, callback
|
|
1390
|
-
);
|
|
1391
|
-
}
|
|
1392
|
-
|
|
1393
|
-
/**
|
|
1394
|
-
* Callback function to receive the result of the pgStartZoomMeetingAuthZoomStartAppIdLinkUuidPost operation.
|
|
1395
|
-
* @callback module:api/AuthApi~pgStartZoomMeetingAuthZoomStartAppIdLinkUuidPostCallback
|
|
1396
|
-
* @param {String} error Error message, if any.
|
|
1397
|
-
* @param {Object} data The data returned by the service call.
|
|
1398
|
-
* @param {String} response The complete HTTP response.
|
|
1399
|
-
*/
|
|
1400
|
-
|
|
1401
|
-
/**
|
|
1402
|
-
* Pg Start Zoom Meeting
|
|
1403
|
-
* @param {Number} appId
|
|
1404
|
-
* @param {String} linkUuid
|
|
1405
|
-
* @param {module:model/StartMeetingRequest} startMeetingRequest
|
|
1406
|
-
* @param {Object} opts Optional parameters
|
|
1407
|
-
* @param {String} [clientSecret = 'ghFlPlwVN11IQuTIEj4nlB1i67iQQel9')]
|
|
1408
|
-
* @param {String} [clientId = '7c19WxdRTkyf9w0EDbbfbg')]
|
|
1409
|
-
* @param {module:api/AuthApi~pgStartZoomMeetingAuthZoomStartAppIdLinkUuidPostCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1410
|
-
* data is of type: {@link Object}
|
|
1411
|
-
*/
|
|
1412
|
-
pgStartZoomMeetingAuthZoomStartAppIdLinkUuidPost(appId, linkUuid, startMeetingRequest, opts, callback) {
|
|
1413
|
-
opts = opts || {};
|
|
1414
|
-
let postBody = startMeetingRequest;
|
|
1415
|
-
// verify the required parameter 'appId' is set
|
|
1416
|
-
if (appId === undefined || appId === null) {
|
|
1417
|
-
throw new Error("Missing the required parameter 'appId' when calling pgStartZoomMeetingAuthZoomStartAppIdLinkUuidPost");
|
|
1418
|
-
}
|
|
1419
|
-
// verify the required parameter 'linkUuid' is set
|
|
1420
|
-
if (linkUuid === undefined || linkUuid === null) {
|
|
1421
|
-
throw new Error("Missing the required parameter 'linkUuid' when calling pgStartZoomMeetingAuthZoomStartAppIdLinkUuidPost");
|
|
1422
|
-
}
|
|
1423
|
-
// verify the required parameter 'startMeetingRequest' is set
|
|
1424
|
-
if (startMeetingRequest === undefined || startMeetingRequest === null) {
|
|
1425
|
-
throw new Error("Missing the required parameter 'startMeetingRequest' when calling pgStartZoomMeetingAuthZoomStartAppIdLinkUuidPost");
|
|
1426
|
-
}
|
|
1427
|
-
|
|
1428
|
-
let pathParams = {
|
|
1429
|
-
'app_id': appId,
|
|
1430
|
-
'link_uuid': linkUuid
|
|
1431
|
-
};
|
|
1432
|
-
let queryParams = {
|
|
1433
|
-
'client_secret': opts['clientSecret'],
|
|
1434
|
-
'client_id': opts['clientId']
|
|
1435
|
-
};
|
|
1436
|
-
let headerParams = {
|
|
1437
|
-
};
|
|
1438
|
-
let formParams = {
|
|
1439
|
-
};
|
|
1440
|
-
|
|
1441
|
-
let authNames = [];
|
|
1442
|
-
let contentTypes = ['application/json'];
|
|
1443
|
-
let accepts = ['application/json'];
|
|
1444
|
-
let returnType = Object;
|
|
1445
|
-
return this.apiClient.callApi(
|
|
1446
|
-
'/auth/zoom/start/{app_id}/{link_uuid}', 'POST',
|
|
1447
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1448
|
-
authNames, contentTypes, accepts, returnType, null, callback
|
|
1449
|
-
);
|
|
1450
|
-
}
|
|
1451
|
-
|
|
1452
|
-
/**
|
|
1453
|
-
* Callback function to receive the result of the pgStartZoomMeetingAuthZoomStartAppIdLinkUuidPost_0 operation.
|
|
1454
|
-
* @callback module:api/AuthApi~pgStartZoomMeetingAuthZoomStartAppIdLinkUuidPost_0Callback
|
|
1455
|
-
* @param {String} error Error message, if any.
|
|
1456
|
-
* @param {Object} data The data returned by the service call.
|
|
1457
|
-
* @param {String} response The complete HTTP response.
|
|
1458
|
-
*/
|
|
1459
|
-
|
|
1460
|
-
/**
|
|
1461
|
-
* Pg Start Zoom Meeting
|
|
1462
|
-
* @param {Number} appId
|
|
1463
|
-
* @param {String} linkUuid
|
|
1464
|
-
* @param {module:model/StartMeetingRequest} startMeetingRequest
|
|
1465
|
-
* @param {Object} opts Optional parameters
|
|
1466
|
-
* @param {String} [clientSecret = 'ghFlPlwVN11IQuTIEj4nlB1i67iQQel9')]
|
|
1467
|
-
* @param {String} [clientId = '7c19WxdRTkyf9w0EDbbfbg')]
|
|
1468
|
-
* @param {module:api/AuthApi~pgStartZoomMeetingAuthZoomStartAppIdLinkUuidPost_0Callback} callback The callback function, accepting three arguments: error, data, response
|
|
1469
|
-
* data is of type: {@link Object}
|
|
1470
|
-
*/
|
|
1471
|
-
pgStartZoomMeetingAuthZoomStartAppIdLinkUuidPost_0(appId, linkUuid, startMeetingRequest, opts, callback) {
|
|
1472
|
-
opts = opts || {};
|
|
1473
|
-
let postBody = startMeetingRequest;
|
|
1474
|
-
// verify the required parameter 'appId' is set
|
|
1475
|
-
if (appId === undefined || appId === null) {
|
|
1476
|
-
throw new Error("Missing the required parameter 'appId' when calling pgStartZoomMeetingAuthZoomStartAppIdLinkUuidPost_0");
|
|
1477
|
-
}
|
|
1478
|
-
// verify the required parameter 'linkUuid' is set
|
|
1479
|
-
if (linkUuid === undefined || linkUuid === null) {
|
|
1480
|
-
throw new Error("Missing the required parameter 'linkUuid' when calling pgStartZoomMeetingAuthZoomStartAppIdLinkUuidPost_0");
|
|
1481
|
-
}
|
|
1482
|
-
// verify the required parameter 'startMeetingRequest' is set
|
|
1483
|
-
if (startMeetingRequest === undefined || startMeetingRequest === null) {
|
|
1484
|
-
throw new Error("Missing the required parameter 'startMeetingRequest' when calling pgStartZoomMeetingAuthZoomStartAppIdLinkUuidPost_0");
|
|
1485
|
-
}
|
|
1486
|
-
|
|
1487
|
-
let pathParams = {
|
|
1488
|
-
'app_id': appId,
|
|
1489
|
-
'link_uuid': linkUuid
|
|
1490
|
-
};
|
|
1491
|
-
let queryParams = {
|
|
1492
|
-
'client_secret': opts['clientSecret'],
|
|
1493
|
-
'client_id': opts['clientId']
|
|
1494
|
-
};
|
|
1495
|
-
let headerParams = {
|
|
1496
|
-
};
|
|
1497
|
-
let formParams = {
|
|
1498
|
-
};
|
|
1499
|
-
|
|
1500
|
-
let authNames = [];
|
|
1501
|
-
let contentTypes = ['application/json'];
|
|
1502
|
-
let accepts = ['application/json'];
|
|
1503
|
-
let returnType = Object;
|
|
1504
|
-
return this.apiClient.callApi(
|
|
1505
|
-
'/auth/zoom/start/{app_id}/{link_uuid}', 'POST',
|
|
1506
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1507
|
-
authNames, contentTypes, accepts, returnType, null, callback
|
|
1508
|
-
);
|
|
1509
|
-
}
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
}
|