@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
|
@@ -0,0 +1,614 @@
|
|
|
1
|
+
# FastApi.SecureLinksApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
Method | HTTP request | Description
|
|
6
|
+
------------- | ------------- | -------------
|
|
7
|
+
[**getRedirectInfoV2PreviewAppIdLinkUuidGet**](SecureLinksApi.md#getRedirectInfoV2PreviewAppIdLinkUuidGet) | **GET** /v2/preview/{app_id}/{link_uuid} | Get Redirect Info
|
|
8
|
+
[**getRedirectInfoV2PreviewFormatTypeAppIdLinkUuidGet**](SecureLinksApi.md#getRedirectInfoV2PreviewFormatTypeAppIdLinkUuidGet) | **GET** /v2/preview/{format_type}/{app_id}/{link_uuid} | Get Redirect Info
|
|
9
|
+
[**getRedirectInfoV2PreviewLinkUuidGet**](SecureLinksApi.md#getRedirectInfoV2PreviewLinkUuidGet) | **GET** /v2/preview/{link_uuid} | Get Redirect Info
|
|
10
|
+
[**getSvgResponseV2ScanAppIdLinkUuidGet**](SecureLinksApi.md#getSvgResponseV2ScanAppIdLinkUuidGet) | **GET** /v2/scan/{app_id}/{link_uuid} | Get Svg Response
|
|
11
|
+
[**getSvgResponseV2ScanFormatTypeAppIdLinkUuidGet**](SecureLinksApi.md#getSvgResponseV2ScanFormatTypeAppIdLinkUuidGet) | **GET** /v2/scan/{format_type}/{app_id}/{link_uuid} | Get Svg Response
|
|
12
|
+
[**pgCompleteRedirectV2RedirectAppIdLinkUuidPost**](SecureLinksApi.md#pgCompleteRedirectV2RedirectAppIdLinkUuidPost) | **POST** /v2/redirect/{app_id}/{link_uuid} | Pg Complete Redirect
|
|
13
|
+
[**pgCompleteRedirectV2RedirectFormatTypeAppIdLinkUuidPost**](SecureLinksApi.md#pgCompleteRedirectV2RedirectFormatTypeAppIdLinkUuidPost) | **POST** /v2/redirect/{format_type}/{app_id}/{link_uuid} | Pg Complete Redirect
|
|
14
|
+
[**pgCompleteRedirectV2RedirectLinkUuidPost**](SecureLinksApi.md#pgCompleteRedirectV2RedirectLinkUuidPost) | **POST** /v2/redirect/{link_uuid} | Pg Complete Redirect
|
|
15
|
+
[**pgLoginV2AppIdLinkUuidGet**](SecureLinksApi.md#pgLoginV2AppIdLinkUuidGet) | **GET** /v2/{app_id}/{link_uuid} | Pg Login
|
|
16
|
+
[**pgLoginV2FormatTypeAppIdLinkUuidGet**](SecureLinksApi.md#pgLoginV2FormatTypeAppIdLinkUuidGet) | **GET** /v2/{format_type}/{app_id}/{link_uuid} | Pg Login
|
|
17
|
+
[**pgLoginV2LinkUuidGet**](SecureLinksApi.md#pgLoginV2LinkUuidGet) | **GET** /v2/{link_uuid} | Pg Login
|
|
18
|
+
[**pgPollV2PollPcreGet**](SecureLinksApi.md#pgPollV2PollPcreGet) | **GET** /v2/poll/{pcre} | Pg Poll
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## getRedirectInfoV2PreviewAppIdLinkUuidGet
|
|
23
|
+
|
|
24
|
+
> Object getRedirectInfoV2PreviewAppIdLinkUuidGet(linkUuid, appId, opts)
|
|
25
|
+
|
|
26
|
+
Get Redirect Info
|
|
27
|
+
|
|
28
|
+
Get detailed information about a secure link.
|
|
29
|
+
|
|
30
|
+
### Example
|
|
31
|
+
|
|
32
|
+
```javascript
|
|
33
|
+
import FastApi from 'fast_api';
|
|
34
|
+
|
|
35
|
+
let apiInstance = new FastApi.SecureLinksApi();
|
|
36
|
+
let linkUuid = "linkUuid_example"; // String |
|
|
37
|
+
let appId = "appId_example"; // String |
|
|
38
|
+
let opts = {
|
|
39
|
+
'formatType': "'A'" // String |
|
|
40
|
+
};
|
|
41
|
+
apiInstance.getRedirectInfoV2PreviewAppIdLinkUuidGet(linkUuid, appId, opts, (error, data, response) => {
|
|
42
|
+
if (error) {
|
|
43
|
+
console.error(error);
|
|
44
|
+
} else {
|
|
45
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
### Parameters
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
Name | Type | Description | Notes
|
|
54
|
+
------------- | ------------- | ------------- | -------------
|
|
55
|
+
**linkUuid** | **String**| |
|
|
56
|
+
**appId** | **String**| |
|
|
57
|
+
**formatType** | **String**| | [optional] [default to 'A']
|
|
58
|
+
|
|
59
|
+
### Return type
|
|
60
|
+
|
|
61
|
+
**Object**
|
|
62
|
+
|
|
63
|
+
### Authorization
|
|
64
|
+
|
|
65
|
+
No authorization required
|
|
66
|
+
|
|
67
|
+
### HTTP request headers
|
|
68
|
+
|
|
69
|
+
- **Content-Type**: Not defined
|
|
70
|
+
- **Accept**: application/json
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
## getRedirectInfoV2PreviewFormatTypeAppIdLinkUuidGet
|
|
74
|
+
|
|
75
|
+
> Object getRedirectInfoV2PreviewFormatTypeAppIdLinkUuidGet(formatType, linkUuid, appId)
|
|
76
|
+
|
|
77
|
+
Get Redirect Info
|
|
78
|
+
|
|
79
|
+
Get detailed information about a secure link.
|
|
80
|
+
|
|
81
|
+
### Example
|
|
82
|
+
|
|
83
|
+
```javascript
|
|
84
|
+
import FastApi from 'fast_api';
|
|
85
|
+
|
|
86
|
+
let apiInstance = new FastApi.SecureLinksApi();
|
|
87
|
+
let formatType = "formatType_example"; // String |
|
|
88
|
+
let linkUuid = "linkUuid_example"; // String |
|
|
89
|
+
let appId = "appId_example"; // String |
|
|
90
|
+
apiInstance.getRedirectInfoV2PreviewFormatTypeAppIdLinkUuidGet(formatType, linkUuid, appId, (error, data, response) => {
|
|
91
|
+
if (error) {
|
|
92
|
+
console.error(error);
|
|
93
|
+
} else {
|
|
94
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
95
|
+
}
|
|
96
|
+
});
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
### Parameters
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
Name | Type | Description | Notes
|
|
103
|
+
------------- | ------------- | ------------- | -------------
|
|
104
|
+
**formatType** | **String**| |
|
|
105
|
+
**linkUuid** | **String**| |
|
|
106
|
+
**appId** | **String**| |
|
|
107
|
+
|
|
108
|
+
### Return type
|
|
109
|
+
|
|
110
|
+
**Object**
|
|
111
|
+
|
|
112
|
+
### Authorization
|
|
113
|
+
|
|
114
|
+
No authorization required
|
|
115
|
+
|
|
116
|
+
### HTTP request headers
|
|
117
|
+
|
|
118
|
+
- **Content-Type**: Not defined
|
|
119
|
+
- **Accept**: application/json
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
## getRedirectInfoV2PreviewLinkUuidGet
|
|
123
|
+
|
|
124
|
+
> Object getRedirectInfoV2PreviewLinkUuidGet(linkUuid, opts)
|
|
125
|
+
|
|
126
|
+
Get Redirect Info
|
|
127
|
+
|
|
128
|
+
Get detailed information about a secure link.
|
|
129
|
+
|
|
130
|
+
### Example
|
|
131
|
+
|
|
132
|
+
```javascript
|
|
133
|
+
import FastApi from 'fast_api';
|
|
134
|
+
|
|
135
|
+
let apiInstance = new FastApi.SecureLinksApi();
|
|
136
|
+
let linkUuid = "linkUuid_example"; // String |
|
|
137
|
+
let opts = {
|
|
138
|
+
'formatType': "'A'", // String |
|
|
139
|
+
'appId': "appId_example" // String |
|
|
140
|
+
};
|
|
141
|
+
apiInstance.getRedirectInfoV2PreviewLinkUuidGet(linkUuid, opts, (error, data, response) => {
|
|
142
|
+
if (error) {
|
|
143
|
+
console.error(error);
|
|
144
|
+
} else {
|
|
145
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
146
|
+
}
|
|
147
|
+
});
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
### Parameters
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
Name | Type | Description | Notes
|
|
154
|
+
------------- | ------------- | ------------- | -------------
|
|
155
|
+
**linkUuid** | **String**| |
|
|
156
|
+
**formatType** | **String**| | [optional] [default to 'A']
|
|
157
|
+
**appId** | **String**| | [optional]
|
|
158
|
+
|
|
159
|
+
### Return type
|
|
160
|
+
|
|
161
|
+
**Object**
|
|
162
|
+
|
|
163
|
+
### Authorization
|
|
164
|
+
|
|
165
|
+
No authorization required
|
|
166
|
+
|
|
167
|
+
### HTTP request headers
|
|
168
|
+
|
|
169
|
+
- **Content-Type**: Not defined
|
|
170
|
+
- **Accept**: application/json
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
## getSvgResponseV2ScanAppIdLinkUuidGet
|
|
174
|
+
|
|
175
|
+
> Object getSvgResponseV2ScanAppIdLinkUuidGet(appId, linkUuid)
|
|
176
|
+
|
|
177
|
+
Get Svg Response
|
|
178
|
+
|
|
179
|
+
### Example
|
|
180
|
+
|
|
181
|
+
```javascript
|
|
182
|
+
import FastApi from 'fast_api';
|
|
183
|
+
|
|
184
|
+
let apiInstance = new FastApi.SecureLinksApi();
|
|
185
|
+
let appId = "appId_example"; // String |
|
|
186
|
+
let linkUuid = "linkUuid_example"; // String |
|
|
187
|
+
apiInstance.getSvgResponseV2ScanAppIdLinkUuidGet(appId, linkUuid, (error, data, response) => {
|
|
188
|
+
if (error) {
|
|
189
|
+
console.error(error);
|
|
190
|
+
} else {
|
|
191
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
192
|
+
}
|
|
193
|
+
});
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
### Parameters
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
Name | Type | Description | Notes
|
|
200
|
+
------------- | ------------- | ------------- | -------------
|
|
201
|
+
**appId** | **String**| |
|
|
202
|
+
**linkUuid** | **String**| |
|
|
203
|
+
|
|
204
|
+
### Return type
|
|
205
|
+
|
|
206
|
+
**Object**
|
|
207
|
+
|
|
208
|
+
### Authorization
|
|
209
|
+
|
|
210
|
+
No authorization required
|
|
211
|
+
|
|
212
|
+
### HTTP request headers
|
|
213
|
+
|
|
214
|
+
- **Content-Type**: Not defined
|
|
215
|
+
- **Accept**: application/json
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
## getSvgResponseV2ScanFormatTypeAppIdLinkUuidGet
|
|
219
|
+
|
|
220
|
+
> Object getSvgResponseV2ScanFormatTypeAppIdLinkUuidGet(appId, linkUuid)
|
|
221
|
+
|
|
222
|
+
Get Svg Response
|
|
223
|
+
|
|
224
|
+
### Example
|
|
225
|
+
|
|
226
|
+
```javascript
|
|
227
|
+
import FastApi from 'fast_api';
|
|
228
|
+
|
|
229
|
+
let apiInstance = new FastApi.SecureLinksApi();
|
|
230
|
+
let appId = "appId_example"; // String |
|
|
231
|
+
let linkUuid = "linkUuid_example"; // String |
|
|
232
|
+
apiInstance.getSvgResponseV2ScanFormatTypeAppIdLinkUuidGet(appId, linkUuid, (error, data, response) => {
|
|
233
|
+
if (error) {
|
|
234
|
+
console.error(error);
|
|
235
|
+
} else {
|
|
236
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
237
|
+
}
|
|
238
|
+
});
|
|
239
|
+
```
|
|
240
|
+
|
|
241
|
+
### Parameters
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
Name | Type | Description | Notes
|
|
245
|
+
------------- | ------------- | ------------- | -------------
|
|
246
|
+
**appId** | **String**| |
|
|
247
|
+
**linkUuid** | **String**| |
|
|
248
|
+
|
|
249
|
+
### Return type
|
|
250
|
+
|
|
251
|
+
**Object**
|
|
252
|
+
|
|
253
|
+
### Authorization
|
|
254
|
+
|
|
255
|
+
No authorization required
|
|
256
|
+
|
|
257
|
+
### HTTP request headers
|
|
258
|
+
|
|
259
|
+
- **Content-Type**: Not defined
|
|
260
|
+
- **Accept**: application/json
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
## pgCompleteRedirectV2RedirectAppIdLinkUuidPost
|
|
264
|
+
|
|
265
|
+
> Object pgCompleteRedirectV2RedirectAppIdLinkUuidPost(linkUuid, appId, appattest, opts)
|
|
266
|
+
|
|
267
|
+
Pg Complete Redirect
|
|
268
|
+
|
|
269
|
+
### Example
|
|
270
|
+
|
|
271
|
+
```javascript
|
|
272
|
+
import FastApi from 'fast_api';
|
|
273
|
+
|
|
274
|
+
let apiInstance = new FastApi.SecureLinksApi();
|
|
275
|
+
let linkUuid = "linkUuid_example"; // String |
|
|
276
|
+
let appId = "appId_example"; // String |
|
|
277
|
+
let appattest = "appattest_example"; // String |
|
|
278
|
+
let opts = {
|
|
279
|
+
'formatType': "'A'", // String |
|
|
280
|
+
'pcre': "pcre_example" // String |
|
|
281
|
+
};
|
|
282
|
+
apiInstance.pgCompleteRedirectV2RedirectAppIdLinkUuidPost(linkUuid, appId, appattest, opts, (error, data, response) => {
|
|
283
|
+
if (error) {
|
|
284
|
+
console.error(error);
|
|
285
|
+
} else {
|
|
286
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
287
|
+
}
|
|
288
|
+
});
|
|
289
|
+
```
|
|
290
|
+
|
|
291
|
+
### Parameters
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
Name | Type | Description | Notes
|
|
295
|
+
------------- | ------------- | ------------- | -------------
|
|
296
|
+
**linkUuid** | **String**| |
|
|
297
|
+
**appId** | **String**| |
|
|
298
|
+
**appattest** | **String**| |
|
|
299
|
+
**formatType** | **String**| | [optional] [default to 'A']
|
|
300
|
+
**pcre** | **String**| | [optional]
|
|
301
|
+
|
|
302
|
+
### Return type
|
|
303
|
+
|
|
304
|
+
**Object**
|
|
305
|
+
|
|
306
|
+
### Authorization
|
|
307
|
+
|
|
308
|
+
No authorization required
|
|
309
|
+
|
|
310
|
+
### HTTP request headers
|
|
311
|
+
|
|
312
|
+
- **Content-Type**: Not defined
|
|
313
|
+
- **Accept**: application/json
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
## pgCompleteRedirectV2RedirectFormatTypeAppIdLinkUuidPost
|
|
317
|
+
|
|
318
|
+
> Object pgCompleteRedirectV2RedirectFormatTypeAppIdLinkUuidPost(formatType, linkUuid, appId, appattest, opts)
|
|
319
|
+
|
|
320
|
+
Pg Complete Redirect
|
|
321
|
+
|
|
322
|
+
### Example
|
|
323
|
+
|
|
324
|
+
```javascript
|
|
325
|
+
import FastApi from 'fast_api';
|
|
326
|
+
|
|
327
|
+
let apiInstance = new FastApi.SecureLinksApi();
|
|
328
|
+
let formatType = "formatType_example"; // String |
|
|
329
|
+
let linkUuid = "linkUuid_example"; // String |
|
|
330
|
+
let appId = "appId_example"; // String |
|
|
331
|
+
let appattest = "appattest_example"; // String |
|
|
332
|
+
let opts = {
|
|
333
|
+
'pcre': "pcre_example" // String |
|
|
334
|
+
};
|
|
335
|
+
apiInstance.pgCompleteRedirectV2RedirectFormatTypeAppIdLinkUuidPost(formatType, linkUuid, appId, appattest, opts, (error, data, response) => {
|
|
336
|
+
if (error) {
|
|
337
|
+
console.error(error);
|
|
338
|
+
} else {
|
|
339
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
340
|
+
}
|
|
341
|
+
});
|
|
342
|
+
```
|
|
343
|
+
|
|
344
|
+
### Parameters
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
Name | Type | Description | Notes
|
|
348
|
+
------------- | ------------- | ------------- | -------------
|
|
349
|
+
**formatType** | **String**| |
|
|
350
|
+
**linkUuid** | **String**| |
|
|
351
|
+
**appId** | **String**| |
|
|
352
|
+
**appattest** | **String**| |
|
|
353
|
+
**pcre** | **String**| | [optional]
|
|
354
|
+
|
|
355
|
+
### Return type
|
|
356
|
+
|
|
357
|
+
**Object**
|
|
358
|
+
|
|
359
|
+
### Authorization
|
|
360
|
+
|
|
361
|
+
No authorization required
|
|
362
|
+
|
|
363
|
+
### HTTP request headers
|
|
364
|
+
|
|
365
|
+
- **Content-Type**: Not defined
|
|
366
|
+
- **Accept**: application/json
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
## pgCompleteRedirectV2RedirectLinkUuidPost
|
|
370
|
+
|
|
371
|
+
> Object pgCompleteRedirectV2RedirectLinkUuidPost(linkUuid, appattest, opts)
|
|
372
|
+
|
|
373
|
+
Pg Complete Redirect
|
|
374
|
+
|
|
375
|
+
### Example
|
|
376
|
+
|
|
377
|
+
```javascript
|
|
378
|
+
import FastApi from 'fast_api';
|
|
379
|
+
|
|
380
|
+
let apiInstance = new FastApi.SecureLinksApi();
|
|
381
|
+
let linkUuid = "linkUuid_example"; // String |
|
|
382
|
+
let appattest = "appattest_example"; // String |
|
|
383
|
+
let opts = {
|
|
384
|
+
'formatType': "'A'", // String |
|
|
385
|
+
'pcre': "pcre_example", // String |
|
|
386
|
+
'appId': "appId_example" // String |
|
|
387
|
+
};
|
|
388
|
+
apiInstance.pgCompleteRedirectV2RedirectLinkUuidPost(linkUuid, appattest, opts, (error, data, response) => {
|
|
389
|
+
if (error) {
|
|
390
|
+
console.error(error);
|
|
391
|
+
} else {
|
|
392
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
393
|
+
}
|
|
394
|
+
});
|
|
395
|
+
```
|
|
396
|
+
|
|
397
|
+
### Parameters
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
Name | Type | Description | Notes
|
|
401
|
+
------------- | ------------- | ------------- | -------------
|
|
402
|
+
**linkUuid** | **String**| |
|
|
403
|
+
**appattest** | **String**| |
|
|
404
|
+
**formatType** | **String**| | [optional] [default to 'A']
|
|
405
|
+
**pcre** | **String**| | [optional]
|
|
406
|
+
**appId** | **String**| | [optional]
|
|
407
|
+
|
|
408
|
+
### Return type
|
|
409
|
+
|
|
410
|
+
**Object**
|
|
411
|
+
|
|
412
|
+
### Authorization
|
|
413
|
+
|
|
414
|
+
No authorization required
|
|
415
|
+
|
|
416
|
+
### HTTP request headers
|
|
417
|
+
|
|
418
|
+
- **Content-Type**: Not defined
|
|
419
|
+
- **Accept**: application/json
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
## pgLoginV2AppIdLinkUuidGet
|
|
423
|
+
|
|
424
|
+
> Object pgLoginV2AppIdLinkUuidGet(linkUuid, appId, opts)
|
|
425
|
+
|
|
426
|
+
Pg Login
|
|
427
|
+
|
|
428
|
+
PRESENTS LOGIN PAGE ON DESKTOP. HIJACKED by PSL ON MOBILE and REDIRECTED BY DECORATOR.
|
|
429
|
+
|
|
430
|
+
### Example
|
|
431
|
+
|
|
432
|
+
```javascript
|
|
433
|
+
import FastApi from 'fast_api';
|
|
434
|
+
|
|
435
|
+
let apiInstance = new FastApi.SecureLinksApi();
|
|
436
|
+
let linkUuid = "linkUuid_example"; // String |
|
|
437
|
+
let appId = "appId_example"; // String |
|
|
438
|
+
let opts = {
|
|
439
|
+
'formatType': "'A'" // String |
|
|
440
|
+
};
|
|
441
|
+
apiInstance.pgLoginV2AppIdLinkUuidGet(linkUuid, appId, opts, (error, data, response) => {
|
|
442
|
+
if (error) {
|
|
443
|
+
console.error(error);
|
|
444
|
+
} else {
|
|
445
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
446
|
+
}
|
|
447
|
+
});
|
|
448
|
+
```
|
|
449
|
+
|
|
450
|
+
### Parameters
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
Name | Type | Description | Notes
|
|
454
|
+
------------- | ------------- | ------------- | -------------
|
|
455
|
+
**linkUuid** | **String**| |
|
|
456
|
+
**appId** | **String**| |
|
|
457
|
+
**formatType** | **String**| | [optional] [default to 'A']
|
|
458
|
+
|
|
459
|
+
### Return type
|
|
460
|
+
|
|
461
|
+
**Object**
|
|
462
|
+
|
|
463
|
+
### Authorization
|
|
464
|
+
|
|
465
|
+
No authorization required
|
|
466
|
+
|
|
467
|
+
### HTTP request headers
|
|
468
|
+
|
|
469
|
+
- **Content-Type**: Not defined
|
|
470
|
+
- **Accept**: application/json
|
|
471
|
+
|
|
472
|
+
|
|
473
|
+
## pgLoginV2FormatTypeAppIdLinkUuidGet
|
|
474
|
+
|
|
475
|
+
> Object pgLoginV2FormatTypeAppIdLinkUuidGet(linkUuid, appId, formatType)
|
|
476
|
+
|
|
477
|
+
Pg Login
|
|
478
|
+
|
|
479
|
+
PRESENTS LOGIN PAGE ON DESKTOP. HIJACKED by PSL ON MOBILE and REDIRECTED BY DECORATOR.
|
|
480
|
+
|
|
481
|
+
### Example
|
|
482
|
+
|
|
483
|
+
```javascript
|
|
484
|
+
import FastApi from 'fast_api';
|
|
485
|
+
|
|
486
|
+
let apiInstance = new FastApi.SecureLinksApi();
|
|
487
|
+
let linkUuid = "linkUuid_example"; // String |
|
|
488
|
+
let appId = "appId_example"; // String |
|
|
489
|
+
let formatType = "formatType_example"; // String |
|
|
490
|
+
apiInstance.pgLoginV2FormatTypeAppIdLinkUuidGet(linkUuid, appId, formatType, (error, data, response) => {
|
|
491
|
+
if (error) {
|
|
492
|
+
console.error(error);
|
|
493
|
+
} else {
|
|
494
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
495
|
+
}
|
|
496
|
+
});
|
|
497
|
+
```
|
|
498
|
+
|
|
499
|
+
### Parameters
|
|
500
|
+
|
|
501
|
+
|
|
502
|
+
Name | Type | Description | Notes
|
|
503
|
+
------------- | ------------- | ------------- | -------------
|
|
504
|
+
**linkUuid** | **String**| |
|
|
505
|
+
**appId** | **String**| |
|
|
506
|
+
**formatType** | **String**| |
|
|
507
|
+
|
|
508
|
+
### Return type
|
|
509
|
+
|
|
510
|
+
**Object**
|
|
511
|
+
|
|
512
|
+
### Authorization
|
|
513
|
+
|
|
514
|
+
No authorization required
|
|
515
|
+
|
|
516
|
+
### HTTP request headers
|
|
517
|
+
|
|
518
|
+
- **Content-Type**: Not defined
|
|
519
|
+
- **Accept**: application/json
|
|
520
|
+
|
|
521
|
+
|
|
522
|
+
## pgLoginV2LinkUuidGet
|
|
523
|
+
|
|
524
|
+
> Object pgLoginV2LinkUuidGet(linkUuid, opts)
|
|
525
|
+
|
|
526
|
+
Pg Login
|
|
527
|
+
|
|
528
|
+
PRESENTS LOGIN PAGE ON DESKTOP. HIJACKED by PSL ON MOBILE and REDIRECTED BY DECORATOR.
|
|
529
|
+
|
|
530
|
+
### Example
|
|
531
|
+
|
|
532
|
+
```javascript
|
|
533
|
+
import FastApi from 'fast_api';
|
|
534
|
+
|
|
535
|
+
let apiInstance = new FastApi.SecureLinksApi();
|
|
536
|
+
let linkUuid = "linkUuid_example"; // String |
|
|
537
|
+
let opts = {
|
|
538
|
+
'appId': "appId_example", // String |
|
|
539
|
+
'formatType': "'A'" // String |
|
|
540
|
+
};
|
|
541
|
+
apiInstance.pgLoginV2LinkUuidGet(linkUuid, opts, (error, data, response) => {
|
|
542
|
+
if (error) {
|
|
543
|
+
console.error(error);
|
|
544
|
+
} else {
|
|
545
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
546
|
+
}
|
|
547
|
+
});
|
|
548
|
+
```
|
|
549
|
+
|
|
550
|
+
### Parameters
|
|
551
|
+
|
|
552
|
+
|
|
553
|
+
Name | Type | Description | Notes
|
|
554
|
+
------------- | ------------- | ------------- | -------------
|
|
555
|
+
**linkUuid** | **String**| |
|
|
556
|
+
**appId** | **String**| | [optional]
|
|
557
|
+
**formatType** | **String**| | [optional] [default to 'A']
|
|
558
|
+
|
|
559
|
+
### Return type
|
|
560
|
+
|
|
561
|
+
**Object**
|
|
562
|
+
|
|
563
|
+
### Authorization
|
|
564
|
+
|
|
565
|
+
No authorization required
|
|
566
|
+
|
|
567
|
+
### HTTP request headers
|
|
568
|
+
|
|
569
|
+
- **Content-Type**: Not defined
|
|
570
|
+
- **Accept**: application/json
|
|
571
|
+
|
|
572
|
+
|
|
573
|
+
## pgPollV2PollPcreGet
|
|
574
|
+
|
|
575
|
+
> Object pgPollV2PollPcreGet(pcre)
|
|
576
|
+
|
|
577
|
+
Pg Poll
|
|
578
|
+
|
|
579
|
+
### Example
|
|
580
|
+
|
|
581
|
+
```javascript
|
|
582
|
+
import FastApi from 'fast_api';
|
|
583
|
+
|
|
584
|
+
let apiInstance = new FastApi.SecureLinksApi();
|
|
585
|
+
let pcre = "pcre_example"; // String |
|
|
586
|
+
apiInstance.pgPollV2PollPcreGet(pcre, (error, data, response) => {
|
|
587
|
+
if (error) {
|
|
588
|
+
console.error(error);
|
|
589
|
+
} else {
|
|
590
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
591
|
+
}
|
|
592
|
+
});
|
|
593
|
+
```
|
|
594
|
+
|
|
595
|
+
### Parameters
|
|
596
|
+
|
|
597
|
+
|
|
598
|
+
Name | Type | Description | Notes
|
|
599
|
+
------------- | ------------- | ------------- | -------------
|
|
600
|
+
**pcre** | **String**| |
|
|
601
|
+
|
|
602
|
+
### Return type
|
|
603
|
+
|
|
604
|
+
**Object**
|
|
605
|
+
|
|
606
|
+
### Authorization
|
|
607
|
+
|
|
608
|
+
No authorization required
|
|
609
|
+
|
|
610
|
+
### HTTP request headers
|
|
611
|
+
|
|
612
|
+
- **Content-Type**: Not defined
|
|
613
|
+
- **Accept**: application/json
|
|
614
|
+
|