@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 CHANGED
@@ -5951,8 +5951,6 @@
5951
5951
  ApiClient: () => ApiClient_default,
5952
5952
  ApiControllersPslStirCallRequest: () => ApiControllersPslStirCallRequest_default,
5953
5953
  ApiModelsApiCallModelsCallRequest: () => ApiModelsApiCallModelsCallRequest_default,
5954
- AppleApi: () => AppleApi,
5955
- AuthApi: () => AuthApi,
5956
5954
  BlockingApi: () => BlockingApi,
5957
5955
  CallsApi: () => CallsApi,
5958
5956
  CreateLinkRequest: () => CreateLinkRequest_default,
@@ -5960,7 +5958,10 @@
5960
5958
  HTTPValidationError: () => HTTPValidationError_default,
5961
5959
  InviteRequestModel: () => InviteRequestModel_default,
5962
5960
  JWTRequest: () => JWTRequest_default,
5961
+ LinksApi: () => LinksApi,
5963
5962
  NumberVerification: () => NumberVerification_default,
5963
+ SdkApi: () => SdkApi,
5964
+ SecureLinksApi: () => SecureLinksApi,
5964
5965
  StartAttestationRequest: () => StartAttestationRequest_default,
5965
5966
  StartMeetingRequest: () => StartMeetingRequest_default,
5966
5967
  StirApi: () => StirApi,
@@ -5970,6 +5971,7 @@
5970
5971
  VeriffApi: () => VeriffApi,
5971
5972
  VeriffSessionRequest: () => VeriffSessionRequest_default,
5972
5973
  VerifyRequest: () => VerifyRequest_default,
5974
+ WellKnownApi: () => WellKnownApi,
5973
5975
  ZoomApi: () => ZoomApi
5974
5976
  });
5975
5977
 
@@ -7309,11 +7311,11 @@
7309
7311
  VerifyRequest.prototype["keyId"] = void 0;
7310
7312
  var VerifyRequest_default = VerifyRequest;
7311
7313
 
7312
- // src/generated/src/api/AppleApi.js
7313
- var AppleApi = class {
7314
+ // src/generated/src/api/BlockingApi.js
7315
+ var BlockingApi = class {
7314
7316
  /**
7315
- * Constructs a new AppleApi.
7316
- * @alias module:api/AppleApi
7317
+ * Constructs a new BlockingApi.
7318
+ * @alias module:api/BlockingApi
7317
7319
  * @class
7318
7320
  * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
7319
7321
  * default to {@link module:ApiClient#instance} if unspecified.
@@ -7322,18 +7324,18 @@
7322
7324
  this.apiClient = apiClient || ApiClient_default.instance;
7323
7325
  }
7324
7326
  /**
7325
- * Callback function to receive the result of the appleAppSiteAssociationAppleAppSiteAssociationGet operation.
7326
- * @callback module:api/AppleApi~appleAppSiteAssociationAppleAppSiteAssociationGetCallback
7327
+ * Callback function to receive the result of the ftcDeleteBlockingFtcDelete operation.
7328
+ * @callback module:api/BlockingApi~ftcDeleteBlockingFtcDeleteCallback
7327
7329
  * @param {String} error Error message, if any.
7328
7330
  * @param {Object} data The data returned by the service call.
7329
7331
  * @param {String} response The complete HTTP response.
7330
7332
  */
7331
7333
  /**
7332
- * Apple App Site Association
7333
- * @param {module:api/AppleApi~appleAppSiteAssociationAppleAppSiteAssociationGetCallback} callback The callback function, accepting three arguments: error, data, response
7334
+ * Ftc Delete
7335
+ * @param {module:api/BlockingApi~ftcDeleteBlockingFtcDeleteCallback} callback The callback function, accepting three arguments: error, data, response
7334
7336
  * data is of type: {@link Object}
7335
7337
  */
7336
- appleAppSiteAssociationAppleAppSiteAssociationGet(callback) {
7338
+ ftcDeleteBlockingFtcDelete(callback) {
7337
7339
  let postBody = null;
7338
7340
  let pathParams = {};
7339
7341
  let queryParams = {};
@@ -7344,8 +7346,8 @@
7344
7346
  let accepts = ["application/json"];
7345
7347
  let returnType = Object;
7346
7348
  return this.apiClient.callApi(
7347
- "/apple-app-site-association",
7348
- "GET",
7349
+ "/blocking/ftc",
7350
+ "DELETE",
7349
7351
  pathParams,
7350
7352
  queryParams,
7351
7353
  headerParams,
@@ -7360,18 +7362,18 @@
7360
7362
  );
7361
7363
  }
7362
7364
  /**
7363
- * Callback function to receive the result of the appleAppSiteAssociationWellKnownAppleAppSiteAssociationGet operation.
7364
- * @callback module:api/AppleApi~appleAppSiteAssociationWellKnownAppleAppSiteAssociationGetCallback
7365
+ * Callback function to receive the result of the ftcPullBlockingFtcpullPost operation.
7366
+ * @callback module:api/BlockingApi~ftcPullBlockingFtcpullPostCallback
7365
7367
  * @param {String} error Error message, if any.
7366
7368
  * @param {Object} data The data returned by the service call.
7367
7369
  * @param {String} response The complete HTTP response.
7368
7370
  */
7369
7371
  /**
7370
- * Apple App Site Association
7371
- * @param {module:api/AppleApi~appleAppSiteAssociationWellKnownAppleAppSiteAssociationGetCallback} callback The callback function, accepting three arguments: error, data, response
7372
+ * Ftc Pull
7373
+ * @param {module:api/BlockingApi~ftcPullBlockingFtcpullPostCallback} callback The callback function, accepting three arguments: error, data, response
7372
7374
  * data is of type: {@link Object}
7373
7375
  */
7374
- appleAppSiteAssociationWellKnownAppleAppSiteAssociationGet(callback) {
7376
+ ftcPullBlockingFtcpullPost(callback) {
7375
7377
  let postBody = null;
7376
7378
  let pathParams = {};
7377
7379
  let queryParams = {};
@@ -7382,8 +7384,8 @@
7382
7384
  let accepts = ["application/json"];
7383
7385
  let returnType = Object;
7384
7386
  return this.apiClient.callApi(
7385
- "/.well-known/apple-app-site-association",
7386
- "GET",
7387
+ "/blocking/ftcpull",
7388
+ "POST",
7387
7389
  pathParams,
7388
7390
  queryParams,
7389
7391
  headerParams,
@@ -7397,42 +7399,21 @@
7397
7399
  callback
7398
7400
  );
7399
7401
  }
7400
- };
7401
-
7402
- // src/generated/src/api/AuthApi.js
7403
- var AuthApi = class {
7404
- /**
7405
- * Constructs a new AuthApi.
7406
- * @alias module:api/AuthApi
7407
- * @class
7408
- * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
7409
- * default to {@link module:ApiClient#instance} if unspecified.
7410
- */
7411
- constructor(apiClient) {
7412
- this.apiClient = apiClient || ApiClient_default.instance;
7413
- }
7414
7402
  /**
7415
- * Callback function to receive the result of the createTicketAuthTicketAppIdPost operation.
7416
- * @callback module:api/AuthApi~createTicketAuthTicketAppIdPostCallback
7403
+ * Callback function to receive the result of the fullReportBlockingFullreportGet operation.
7404
+ * @callback module:api/BlockingApi~fullReportBlockingFullreportGetCallback
7417
7405
  * @param {String} error Error message, if any.
7418
7406
  * @param {Object} data The data returned by the service call.
7419
7407
  * @param {String} response The complete HTTP response.
7420
7408
  */
7421
7409
  /**
7422
- * Create Ticket
7423
- * 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.
7424
- * @param {Number} appId
7425
- * @param {module:api/AuthApi~createTicketAuthTicketAppIdPostCallback} callback The callback function, accepting three arguments: error, data, response
7410
+ * Full Report
7411
+ * @param {module:api/BlockingApi~fullReportBlockingFullreportGetCallback} callback The callback function, accepting three arguments: error, data, response
7426
7412
  * data is of type: {@link Object}
7427
7413
  */
7428
- createTicketAuthTicketAppIdPost(appId, callback) {
7414
+ fullReportBlockingFullreportGet(callback) {
7429
7415
  let postBody = null;
7430
- if (appId === void 0 || appId === null) {
7431
- throw new Error("Missing the required parameter 'appId' when calling createTicketAuthTicketAppIdPost");
7432
- }
7433
- let pathParams = {
7434
- "app_id": appId
7435
- };
7416
+ let pathParams = {};
7436
7417
  let queryParams = {};
7437
7418
  let headerParams = {};
7438
7419
  let formParams = {};
@@ -7441,8 +7422,8 @@
7441
7422
  let accepts = ["application/json"];
7442
7423
  let returnType = Object;
7443
7424
  return this.apiClient.callApi(
7444
- "/auth/ticket/{app_id}",
7445
- "POST",
7425
+ "/blocking/fullreport",
7426
+ "GET",
7446
7427
  pathParams,
7447
7428
  queryParams,
7448
7429
  headerParams,
@@ -7457,27 +7438,20 @@
7457
7438
  );
7458
7439
  }
7459
7440
  /**
7460
- * Callback function to receive the result of the createTicketAuthTicketAppIdPost_0 operation.
7461
- * @callback module:api/AuthApi~createTicketAuthTicketAppIdPost_0Callback
7441
+ * Callback function to receive the result of the fullReportBlockingFullreportPost operation.
7442
+ * @callback module:api/BlockingApi~fullReportBlockingFullreportPostCallback
7462
7443
  * @param {String} error Error message, if any.
7463
7444
  * @param {Object} data The data returned by the service call.
7464
7445
  * @param {String} response The complete HTTP response.
7465
7446
  */
7466
7447
  /**
7467
- * Create Ticket
7468
- * 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.
7469
- * @param {Number} appId
7470
- * @param {module:api/AuthApi~createTicketAuthTicketAppIdPost_0Callback} callback The callback function, accepting three arguments: error, data, response
7448
+ * Full Report
7449
+ * @param {module:api/BlockingApi~fullReportBlockingFullreportPostCallback} callback The callback function, accepting three arguments: error, data, response
7471
7450
  * data is of type: {@link Object}
7472
7451
  */
7473
- createTicketAuthTicketAppIdPost_0(appId, callback) {
7452
+ fullReportBlockingFullreportPost(callback) {
7474
7453
  let postBody = null;
7475
- if (appId === void 0 || appId === null) {
7476
- throw new Error("Missing the required parameter 'appId' when calling createTicketAuthTicketAppIdPost_0");
7477
- }
7478
- let pathParams = {
7479
- "app_id": appId
7480
- };
7454
+ let pathParams = {};
7481
7455
  let queryParams = {};
7482
7456
  let headerParams = {};
7483
7457
  let formParams = {};
@@ -7486,7 +7460,7 @@
7486
7460
  let accepts = ["application/json"];
7487
7461
  let returnType = Object;
7488
7462
  return this.apiClient.callApi(
7489
- "/auth/ticket/{app_id}",
7463
+ "/blocking/fullreport",
7490
7464
  "POST",
7491
7465
  pathParams,
7492
7466
  queryParams,
@@ -7502,32 +7476,20 @@
7502
7476
  );
7503
7477
  }
7504
7478
  /**
7505
- * Callback function to receive the result of the getLegacyRedirectInfoAuthRedirectAppIdLinkUuidGet operation.
7506
- * @callback module:api/AuthApi~getLegacyRedirectInfoAuthRedirectAppIdLinkUuidGetCallback
7479
+ * Callback function to receive the result of the fullReportHeadBlockingFullreportHead operation.
7480
+ * @callback module:api/BlockingApi~fullReportHeadBlockingFullreportHeadCallback
7507
7481
  * @param {String} error Error message, if any.
7508
7482
  * @param {Object} data The data returned by the service call.
7509
7483
  * @param {String} response The complete HTTP response.
7510
7484
  */
7511
7485
  /**
7512
- * Get Legacy Redirect Info
7513
- * Get detailed information about a secure link.
7514
- * @param {String} linkUuid
7515
- * @param {Number} appId
7516
- * @param {module:api/AuthApi~getLegacyRedirectInfoAuthRedirectAppIdLinkUuidGetCallback} callback The callback function, accepting three arguments: error, data, response
7486
+ * Full Report Head
7487
+ * @param {module:api/BlockingApi~fullReportHeadBlockingFullreportHeadCallback} callback The callback function, accepting three arguments: error, data, response
7517
7488
  * data is of type: {@link Object}
7518
7489
  */
7519
- getLegacyRedirectInfoAuthRedirectAppIdLinkUuidGet(linkUuid, appId, callback) {
7490
+ fullReportHeadBlockingFullreportHead(callback) {
7520
7491
  let postBody = null;
7521
- if (linkUuid === void 0 || linkUuid === null) {
7522
- throw new Error("Missing the required parameter 'linkUuid' when calling getLegacyRedirectInfoAuthRedirectAppIdLinkUuidGet");
7523
- }
7524
- if (appId === void 0 || appId === null) {
7525
- throw new Error("Missing the required parameter 'appId' when calling getLegacyRedirectInfoAuthRedirectAppIdLinkUuidGet");
7526
- }
7527
- let pathParams = {
7528
- "link_uuid": linkUuid,
7529
- "app_id": appId
7530
- };
7492
+ let pathParams = {};
7531
7493
  let queryParams = {};
7532
7494
  let headerParams = {};
7533
7495
  let formParams = {};
@@ -7536,8 +7498,8 @@
7536
7498
  let accepts = ["application/json"];
7537
7499
  let returnType = Object;
7538
7500
  return this.apiClient.callApi(
7539
- "/auth/redirect/{app_id}/{link_uuid}",
7540
- "GET",
7501
+ "/blocking/fullreport",
7502
+ "HEAD",
7541
7503
  pathParams,
7542
7504
  queryParams,
7543
7505
  headerParams,
@@ -7551,32 +7513,40 @@
7551
7513
  callback
7552
7514
  );
7553
7515
  }
7516
+ };
7517
+
7518
+ // src/generated/src/api/CallsApi.js
7519
+ var CallsApi = class {
7520
+ /**
7521
+ * Constructs a new CallsApi.
7522
+ * @alias module:api/CallsApi
7523
+ * @class
7524
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
7525
+ * default to {@link module:ApiClient#instance} if unspecified.
7526
+ */
7527
+ constructor(apiClient) {
7528
+ this.apiClient = apiClient || ApiClient_default.instance;
7529
+ }
7554
7530
  /**
7555
- * Callback function to receive the result of the getLegacyRedirectInfoAuthRedirectAppIdLinkUuidGet_0 operation.
7556
- * @callback module:api/AuthApi~getLegacyRedirectInfoAuthRedirectAppIdLinkUuidGet_0Callback
7531
+ * Callback function to receive the result of the cancelCallCancelCallCallIdPost operation.
7532
+ * @callback module:api/CallsApi~cancelCallCancelCallCallIdPostCallback
7557
7533
  * @param {String} error Error message, if any.
7558
7534
  * @param {Object} data The data returned by the service call.
7559
7535
  * @param {String} response The complete HTTP response.
7560
7536
  */
7561
7537
  /**
7562
- * Get Legacy Redirect Info
7563
- * Get detailed information about a secure link.
7564
- * @param {String} linkUuid
7565
- * @param {Number} appId
7566
- * @param {module:api/AuthApi~getLegacyRedirectInfoAuthRedirectAppIdLinkUuidGet_0Callback} callback The callback function, accepting three arguments: error, data, response
7538
+ * Cancel Call
7539
+ * @param {String} callId
7540
+ * @param {module:api/CallsApi~cancelCallCancelCallCallIdPostCallback} callback The callback function, accepting three arguments: error, data, response
7567
7541
  * data is of type: {@link Object}
7568
7542
  */
7569
- getLegacyRedirectInfoAuthRedirectAppIdLinkUuidGet_0(linkUuid, appId, callback) {
7543
+ cancelCallCancelCallCallIdPost(callId, callback) {
7570
7544
  let postBody = null;
7571
- if (linkUuid === void 0 || linkUuid === null) {
7572
- throw new Error("Missing the required parameter 'linkUuid' when calling getLegacyRedirectInfoAuthRedirectAppIdLinkUuidGet_0");
7573
- }
7574
- if (appId === void 0 || appId === null) {
7575
- throw new Error("Missing the required parameter 'appId' when calling getLegacyRedirectInfoAuthRedirectAppIdLinkUuidGet_0");
7545
+ if (callId === void 0 || callId === null) {
7546
+ throw new Error("Missing the required parameter 'callId' when calling cancelCallCancelCallCallIdPost");
7576
7547
  }
7577
7548
  let pathParams = {
7578
- "link_uuid": linkUuid,
7579
- "app_id": appId
7549
+ "call_id": callId
7580
7550
  };
7581
7551
  let queryParams = {};
7582
7552
  let headerParams = {};
@@ -7586,8 +7556,8 @@
7586
7556
  let accepts = ["application/json"];
7587
7557
  let returnType = Object;
7588
7558
  return this.apiClient.callApi(
7589
- "/auth/redirect/{app_id}/{link_uuid}",
7590
- "GET",
7559
+ "/cancel_call/{call_id}",
7560
+ "POST",
7591
7561
  pathParams,
7592
7562
  queryParams,
7593
7563
  headerParams,
@@ -7602,31 +7572,25 @@
7602
7572
  );
7603
7573
  }
7604
7574
  /**
7605
- * Callback function to receive the result of the getRedirectInfoAuthPreviewAppIdLinkUuidGet operation.
7606
- * @callback module:api/AuthApi~getRedirectInfoAuthPreviewAppIdLinkUuidGetCallback
7575
+ * Callback function to receive the result of the joinCallJoinCallCallIdPost operation.
7576
+ * @callback module:api/CallsApi~joinCallJoinCallCallIdPostCallback
7607
7577
  * @param {String} error Error message, if any.
7608
7578
  * @param {Object} data The data returned by the service call.
7609
7579
  * @param {String} response The complete HTTP response.
7610
7580
  */
7611
7581
  /**
7612
- * Get Redirect Info
7613
- * Get detailed information about a secure link.
7614
- * @param {String} linkUuid
7615
- * @param {Number} appId
7616
- * @param {module:api/AuthApi~getRedirectInfoAuthPreviewAppIdLinkUuidGetCallback} callback The callback function, accepting three arguments: error, data, response
7582
+ * Join Call
7583
+ * @param {String} callId
7584
+ * @param {module:api/CallsApi~joinCallJoinCallCallIdPostCallback} callback The callback function, accepting three arguments: error, data, response
7617
7585
  * data is of type: {@link Object}
7618
7586
  */
7619
- getRedirectInfoAuthPreviewAppIdLinkUuidGet(linkUuid, appId, callback) {
7587
+ joinCallJoinCallCallIdPost(callId, callback) {
7620
7588
  let postBody = null;
7621
- if (linkUuid === void 0 || linkUuid === null) {
7622
- throw new Error("Missing the required parameter 'linkUuid' when calling getRedirectInfoAuthPreviewAppIdLinkUuidGet");
7623
- }
7624
- if (appId === void 0 || appId === null) {
7625
- throw new Error("Missing the required parameter 'appId' when calling getRedirectInfoAuthPreviewAppIdLinkUuidGet");
7589
+ if (callId === void 0 || callId === null) {
7590
+ throw new Error("Missing the required parameter 'callId' when calling joinCallJoinCallCallIdPost");
7626
7591
  }
7627
7592
  let pathParams = {
7628
- "link_uuid": linkUuid,
7629
- "app_id": appId
7593
+ "call_id": callId
7630
7594
  };
7631
7595
  let queryParams = {};
7632
7596
  let headerParams = {};
@@ -7636,8 +7600,8 @@
7636
7600
  let accepts = ["application/json"];
7637
7601
  let returnType = Object;
7638
7602
  return this.apiClient.callApi(
7639
- "/auth/preview/{app_id}/{link_uuid}",
7640
- "GET",
7603
+ "/join_call/{call_id}",
7604
+ "POST",
7641
7605
  pathParams,
7642
7606
  queryParams,
7643
7607
  headerParams,
@@ -7652,42 +7616,34 @@
7652
7616
  );
7653
7617
  }
7654
7618
  /**
7655
- * Callback function to receive the result of the getRedirectInfoAuthPreviewAppIdLinkUuidGet_0 operation.
7656
- * @callback module:api/AuthApi~getRedirectInfoAuthPreviewAppIdLinkUuidGet_0Callback
7619
+ * Callback function to receive the result of the startCallStartCallPost operation.
7620
+ * @callback module:api/CallsApi~startCallStartCallPostCallback
7657
7621
  * @param {String} error Error message, if any.
7658
7622
  * @param {Object} data The data returned by the service call.
7659
7623
  * @param {String} response The complete HTTP response.
7660
7624
  */
7661
7625
  /**
7662
- * Get Redirect Info
7663
- * Get detailed information about a secure link.
7664
- * @param {String} linkUuid
7665
- * @param {Number} appId
7666
- * @param {module:api/AuthApi~getRedirectInfoAuthPreviewAppIdLinkUuidGet_0Callback} callback The callback function, accepting three arguments: error, data, response
7626
+ * Start Call
7627
+ * @param {module:model/ApiModelsApiCallModelsCallRequest} apiModelsApiCallModelsCallRequest
7628
+ * @param {module:api/CallsApi~startCallStartCallPostCallback} callback The callback function, accepting three arguments: error, data, response
7667
7629
  * data is of type: {@link Object}
7668
7630
  */
7669
- getRedirectInfoAuthPreviewAppIdLinkUuidGet_0(linkUuid, appId, callback) {
7670
- let postBody = null;
7671
- if (linkUuid === void 0 || linkUuid === null) {
7672
- throw new Error("Missing the required parameter 'linkUuid' when calling getRedirectInfoAuthPreviewAppIdLinkUuidGet_0");
7673
- }
7674
- if (appId === void 0 || appId === null) {
7675
- throw new Error("Missing the required parameter 'appId' when calling getRedirectInfoAuthPreviewAppIdLinkUuidGet_0");
7631
+ startCallStartCallPost(apiModelsApiCallModelsCallRequest, callback) {
7632
+ let postBody = apiModelsApiCallModelsCallRequest;
7633
+ if (apiModelsApiCallModelsCallRequest === void 0 || apiModelsApiCallModelsCallRequest === null) {
7634
+ throw new Error("Missing the required parameter 'apiModelsApiCallModelsCallRequest' when calling startCallStartCallPost");
7676
7635
  }
7677
- let pathParams = {
7678
- "link_uuid": linkUuid,
7679
- "app_id": appId
7680
- };
7636
+ let pathParams = {};
7681
7637
  let queryParams = {};
7682
7638
  let headerParams = {};
7683
7639
  let formParams = {};
7684
7640
  let authNames = [];
7685
- let contentTypes = [];
7641
+ let contentTypes = ["application/json"];
7686
7642
  let accepts = ["application/json"];
7687
7643
  let returnType = Object;
7688
7644
  return this.apiClient.callApi(
7689
- "/auth/preview/{app_id}/{link_uuid}",
7690
- "GET",
7645
+ "/start_call/",
7646
+ "POST",
7691
7647
  pathParams,
7692
7648
  queryParams,
7693
7649
  headerParams,
@@ -7701,32 +7657,35 @@
7701
7657
  callback
7702
7658
  );
7703
7659
  }
7660
+ };
7661
+
7662
+ // src/generated/src/api/DefaultApi.js
7663
+ var DefaultApi = class {
7664
+ /**
7665
+ * Constructs a new DefaultApi.
7666
+ * @alias module:api/DefaultApi
7667
+ * @class
7668
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
7669
+ * default to {@link module:ApiClient#instance} if unspecified.
7670
+ */
7671
+ constructor(apiClient) {
7672
+ this.apiClient = apiClient || ApiClient_default.instance;
7673
+ }
7704
7674
  /**
7705
- * Callback function to receive the result of the getSvgResponseAuthScanAppIdLinkUuidGet operation.
7706
- * @callback module:api/AuthApi~getSvgResponseAuthScanAppIdLinkUuidGetCallback
7675
+ * Callback function to receive the result of the getApplicationsApplicationsGet operation.
7676
+ * @callback module:api/DefaultApi~getApplicationsApplicationsGetCallback
7707
7677
  * @param {String} error Error message, if any.
7708
7678
  * @param {Object} data The data returned by the service call.
7709
7679
  * @param {String} response The complete HTTP response.
7710
7680
  */
7711
7681
  /**
7712
- * Get Svg Response
7713
- * @param {String} linkUuid
7714
- * @param {Number} appId
7715
- * @param {module:api/AuthApi~getSvgResponseAuthScanAppIdLinkUuidGetCallback} callback The callback function, accepting three arguments: error, data, response
7682
+ * Get Applications
7683
+ * @param {module:api/DefaultApi~getApplicationsApplicationsGetCallback} callback The callback function, accepting three arguments: error, data, response
7716
7684
  * data is of type: {@link Object}
7717
7685
  */
7718
- getSvgResponseAuthScanAppIdLinkUuidGet(linkUuid, appId, callback) {
7686
+ getApplicationsApplicationsGet(callback) {
7719
7687
  let postBody = null;
7720
- if (linkUuid === void 0 || linkUuid === null) {
7721
- throw new Error("Missing the required parameter 'linkUuid' when calling getSvgResponseAuthScanAppIdLinkUuidGet");
7722
- }
7723
- if (appId === void 0 || appId === null) {
7724
- throw new Error("Missing the required parameter 'appId' when calling getSvgResponseAuthScanAppIdLinkUuidGet");
7725
- }
7726
- let pathParams = {
7727
- "link_uuid": linkUuid,
7728
- "app_id": appId
7729
- };
7688
+ let pathParams = {};
7730
7689
  let queryParams = {};
7731
7690
  let headerParams = {};
7732
7691
  let formParams = {};
@@ -7735,7 +7694,7 @@
7735
7694
  let accepts = ["application/json"];
7736
7695
  let returnType = Object;
7737
7696
  return this.apiClient.callApi(
7738
- "/auth/scan/{app_id}/{link_uuid}",
7697
+ "/applications",
7739
7698
  "GET",
7740
7699
  pathParams,
7741
7700
  queryParams,
@@ -7751,31 +7710,20 @@
7751
7710
  );
7752
7711
  }
7753
7712
  /**
7754
- * Callback function to receive the result of the getSvgResponseAuthScanAppIdLinkUuidGet_0 operation.
7755
- * @callback module:api/AuthApi~getSvgResponseAuthScanAppIdLinkUuidGet_0Callback
7713
+ * Callback function to receive the result of the rootGet operation.
7714
+ * @callback module:api/DefaultApi~rootGetCallback
7756
7715
  * @param {String} error Error message, if any.
7757
7716
  * @param {Object} data The data returned by the service call.
7758
7717
  * @param {String} response The complete HTTP response.
7759
7718
  */
7760
7719
  /**
7761
- * Get Svg Response
7762
- * @param {String} linkUuid
7763
- * @param {Number} appId
7764
- * @param {module:api/AuthApi~getSvgResponseAuthScanAppIdLinkUuidGet_0Callback} callback The callback function, accepting three arguments: error, data, response
7720
+ * Root
7721
+ * @param {module:api/DefaultApi~rootGetCallback} callback The callback function, accepting three arguments: error, data, response
7765
7722
  * data is of type: {@link Object}
7766
7723
  */
7767
- getSvgResponseAuthScanAppIdLinkUuidGet_0(linkUuid, appId, callback) {
7724
+ rootGet(callback) {
7768
7725
  let postBody = null;
7769
- if (linkUuid === void 0 || linkUuid === null) {
7770
- throw new Error("Missing the required parameter 'linkUuid' when calling getSvgResponseAuthScanAppIdLinkUuidGet_0");
7771
- }
7772
- if (appId === void 0 || appId === null) {
7773
- throw new Error("Missing the required parameter 'appId' when calling getSvgResponseAuthScanAppIdLinkUuidGet_0");
7774
- }
7775
- let pathParams = {
7776
- "link_uuid": linkUuid,
7777
- "app_id": appId
7778
- };
7726
+ let pathParams = {};
7779
7727
  let queryParams = {};
7780
7728
  let headerParams = {};
7781
7729
  let formParams = {};
@@ -7784,7 +7732,7 @@
7784
7732
  let accepts = ["application/json"];
7785
7733
  let returnType = Object;
7786
7734
  return this.apiClient.callApi(
7787
- "/auth/scan/{app_id}/{link_uuid}",
7735
+ "/",
7788
7736
  "GET",
7789
7737
  pathParams,
7790
7738
  queryParams,
@@ -7800,52 +7748,30 @@
7800
7748
  );
7801
7749
  }
7802
7750
  /**
7803
- * Callback function to receive the result of the pgCompleteRedirectAuthRedirectAppIdLinkUuidPost operation.
7804
- * @callback module:api/AuthApi~pgCompleteRedirectAuthRedirectAppIdLinkUuidPostCallback
7751
+ * Callback function to receive the result of the rootHealthGet operation.
7752
+ * @callback module:api/DefaultApi~rootHealthGetCallback
7805
7753
  * @param {String} error Error message, if any.
7806
7754
  * @param {Object} data The data returned by the service call.
7807
7755
  * @param {String} response The complete HTTP response.
7808
7756
  */
7809
7757
  /**
7810
- * Pg Complete Redirect
7811
- * @param {String} linkUuid
7812
- * @param {Number} appId
7813
- * @param {String} appattest
7814
- * @param {Object} opts Optional parameters
7815
- * @param {String} [pcre]
7816
- * @param {module:api/AuthApi~pgCompleteRedirectAuthRedirectAppIdLinkUuidPostCallback} callback The callback function, accepting three arguments: error, data, response
7758
+ * Root
7759
+ * @param {module:api/DefaultApi~rootHealthGetCallback} callback The callback function, accepting three arguments: error, data, response
7817
7760
  * data is of type: {@link Object}
7818
7761
  */
7819
- pgCompleteRedirectAuthRedirectAppIdLinkUuidPost(linkUuid, appId, appattest, opts, callback) {
7820
- opts = opts || {};
7762
+ rootHealthGet(callback) {
7821
7763
  let postBody = null;
7822
- if (linkUuid === void 0 || linkUuid === null) {
7823
- throw new Error("Missing the required parameter 'linkUuid' when calling pgCompleteRedirectAuthRedirectAppIdLinkUuidPost");
7824
- }
7825
- if (appId === void 0 || appId === null) {
7826
- throw new Error("Missing the required parameter 'appId' when calling pgCompleteRedirectAuthRedirectAppIdLinkUuidPost");
7827
- }
7828
- if (appattest === void 0 || appattest === null) {
7829
- throw new Error("Missing the required parameter 'appattest' when calling pgCompleteRedirectAuthRedirectAppIdLinkUuidPost");
7830
- }
7831
- let pathParams = {
7832
- "link_uuid": linkUuid,
7833
- "app_id": appId
7834
- };
7835
- let queryParams = {
7836
- "pcre": opts["pcre"]
7837
- };
7838
- let headerParams = {
7839
- "appattest": appattest
7840
- };
7764
+ let pathParams = {};
7765
+ let queryParams = {};
7766
+ let headerParams = {};
7841
7767
  let formParams = {};
7842
7768
  let authNames = [];
7843
7769
  let contentTypes = [];
7844
7770
  let accepts = ["application/json"];
7845
7771
  let returnType = Object;
7846
7772
  return this.apiClient.callApi(
7847
- "/auth/redirect/{app_id}/{link_uuid}",
7848
- "POST",
7773
+ "/health",
7774
+ "GET",
7849
7775
  pathParams,
7850
7776
  queryParams,
7851
7777
  headerParams,
@@ -7859,91 +7785,45 @@
7859
7785
  callback
7860
7786
  );
7861
7787
  }
7788
+ };
7789
+
7790
+ // src/generated/src/api/LinksApi.js
7791
+ var LinksApi = class {
7792
+ /**
7793
+ * Constructs a new LinksApi.
7794
+ * @alias module:api/LinksApi
7795
+ * @class
7796
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
7797
+ * default to {@link module:ApiClient#instance} if unspecified.
7798
+ */
7799
+ constructor(apiClient) {
7800
+ this.apiClient = apiClient || ApiClient_default.instance;
7801
+ }
7862
7802
  /**
7863
- * Callback function to receive the result of the pgCompleteRedirectAuthRedirectAppIdLinkUuidPost_0 operation.
7864
- * @callback module:api/AuthApi~pgCompleteRedirectAuthRedirectAppIdLinkUuidPost_0Callback
7803
+ * Callback function to receive the result of the pgCreateLinkV2AppIdPut operation.
7804
+ * @callback module:api/LinksApi~pgCreateLinkV2AppIdPutCallback
7865
7805
  * @param {String} error Error message, if any.
7866
7806
  * @param {Object} data The data returned by the service call.
7867
7807
  * @param {String} response The complete HTTP response.
7868
7808
  */
7869
7809
  /**
7870
- * Pg Complete Redirect
7871
- * @param {String} linkUuid
7872
- * @param {Number} appId
7873
- * @param {String} appattest
7810
+ * Pg Create Link
7811
+ * @param {module:model/AppId} appId
7812
+ * @param {module:model/CreateLinkRequest} createLinkRequest
7874
7813
  * @param {Object} opts Optional parameters
7875
- * @param {String} [pcre]
7876
- * @param {module:api/AuthApi~pgCompleteRedirectAuthRedirectAppIdLinkUuidPost_0Callback} callback The callback function, accepting three arguments: error, data, response
7877
- * data is of type: {@link Object}
7878
- */
7879
- pgCompleteRedirectAuthRedirectAppIdLinkUuidPost_0(linkUuid, appId, appattest, opts, callback) {
7880
- opts = opts || {};
7881
- let postBody = null;
7882
- if (linkUuid === void 0 || linkUuid === null) {
7883
- throw new Error("Missing the required parameter 'linkUuid' when calling pgCompleteRedirectAuthRedirectAppIdLinkUuidPost_0");
7884
- }
7885
- if (appId === void 0 || appId === null) {
7886
- throw new Error("Missing the required parameter 'appId' when calling pgCompleteRedirectAuthRedirectAppIdLinkUuidPost_0");
7887
- }
7888
- if (appattest === void 0 || appattest === null) {
7889
- throw new Error("Missing the required parameter 'appattest' when calling pgCompleteRedirectAuthRedirectAppIdLinkUuidPost_0");
7890
- }
7891
- let pathParams = {
7892
- "link_uuid": linkUuid,
7893
- "app_id": appId
7894
- };
7895
- let queryParams = {
7896
- "pcre": opts["pcre"]
7897
- };
7898
- let headerParams = {
7899
- "appattest": appattest
7900
- };
7901
- let formParams = {};
7902
- let authNames = [];
7903
- let contentTypes = [];
7904
- let accepts = ["application/json"];
7905
- let returnType = Object;
7906
- return this.apiClient.callApi(
7907
- "/auth/redirect/{app_id}/{link_uuid}",
7908
- "POST",
7909
- pathParams,
7910
- queryParams,
7911
- headerParams,
7912
- formParams,
7913
- postBody,
7914
- authNames,
7915
- contentTypes,
7916
- accepts,
7917
- returnType,
7918
- null,
7919
- callback
7920
- );
7921
- }
7922
- /**
7923
- * Callback function to receive the result of the pgCreateLinkAuthLinkAppIdPut operation.
7924
- * @callback module:api/AuthApi~pgCreateLinkAuthLinkAppIdPutCallback
7925
- * @param {String} error Error message, if any.
7926
- * @param {Object} data The data returned by the service call.
7927
- * @param {String} response The complete HTTP response.
7928
- */
7929
- /**
7930
- * Pg Create Link
7931
- * @param {Number} appId
7932
- * @param {module:model/CreateLinkRequest} createLinkRequest
7933
- * @param {Object} opts Optional parameters
7934
- * @param {String} [clientSecret = 'ghFlPlwVN11IQuTIEj4nlB1i67iQQel9')]
7935
- * @param {String} [clientId = '7c19WxdRTkyf9w0EDbbfbg')]
7936
- * @param {module:api/AuthApi~pgCreateLinkAuthLinkAppIdPutCallback} callback The callback function, accepting three arguments: error, data, response
7814
+ * @param {String} [clientSecret = 'ARlaFJJRMWLexEnPW4AtkCmHmerOaIGc')]
7815
+ * @param {String} [clientId = 'qxzT5xZCRmCDnvUqbnqHtw')]
7816
+ * @param {module:api/LinksApi~pgCreateLinkV2AppIdPutCallback} callback The callback function, accepting three arguments: error, data, response
7937
7817
  * data is of type: {@link Object}
7938
7818
  */
7939
- pgCreateLinkAuthLinkAppIdPut(appId, createLinkRequest, opts, callback) {
7819
+ pgCreateLinkV2AppIdPut(appId, createLinkRequest, opts, callback) {
7940
7820
  opts = opts || {};
7941
7821
  let postBody = createLinkRequest;
7942
7822
  if (appId === void 0 || appId === null) {
7943
- throw new Error("Missing the required parameter 'appId' when calling pgCreateLinkAuthLinkAppIdPut");
7823
+ throw new Error("Missing the required parameter 'appId' when calling pgCreateLinkV2AppIdPut");
7944
7824
  }
7945
7825
  if (createLinkRequest === void 0 || createLinkRequest === null) {
7946
- throw new Error("Missing the required parameter 'createLinkRequest' when calling pgCreateLinkAuthLinkAppIdPut");
7826
+ throw new Error("Missing the required parameter 'createLinkRequest' when calling pgCreateLinkV2AppIdPut");
7947
7827
  }
7948
7828
  let pathParams = {
7949
7829
  "app_id": appId
@@ -7959,7 +7839,7 @@
7959
7839
  let accepts = ["application/json"];
7960
7840
  let returnType = Object;
7961
7841
  return this.apiClient.callApi(
7962
- "/auth/link/{app_id}",
7842
+ "/v2/{app_id}",
7963
7843
  "PUT",
7964
7844
  pathParams,
7965
7845
  queryParams,
@@ -7975,33 +7855,34 @@
7975
7855
  );
7976
7856
  }
7977
7857
  /**
7978
- * Callback function to receive the result of the pgCreateLinkAuthLinkAppIdPut_0 operation.
7979
- * @callback module:api/AuthApi~pgCreateLinkAuthLinkAppIdPut_0Callback
7858
+ * Callback function to receive the result of the pgDeleteLinkV2AppIdLinkUuidDelete operation.
7859
+ * @callback module:api/LinksApi~pgDeleteLinkV2AppIdLinkUuidDeleteCallback
7980
7860
  * @param {String} error Error message, if any.
7981
7861
  * @param {Object} data The data returned by the service call.
7982
7862
  * @param {String} response The complete HTTP response.
7983
7863
  */
7984
7864
  /**
7985
- * Pg Create Link
7986
- * @param {Number} appId
7987
- * @param {module:model/CreateLinkRequest} createLinkRequest
7865
+ * Pg Delete Link
7866
+ * @param {String} appId
7867
+ * @param {String} linkUuid
7988
7868
  * @param {Object} opts Optional parameters
7989
- * @param {String} [clientSecret = 'ghFlPlwVN11IQuTIEj4nlB1i67iQQel9')]
7990
- * @param {String} [clientId = '7c19WxdRTkyf9w0EDbbfbg')]
7991
- * @param {module:api/AuthApi~pgCreateLinkAuthLinkAppIdPut_0Callback} callback The callback function, accepting three arguments: error, data, response
7869
+ * @param {String} [clientSecret = 'ARlaFJJRMWLexEnPW4AtkCmHmerOaIGc')]
7870
+ * @param {String} [clientId = 'qxzT5xZCRmCDnvUqbnqHtw')]
7871
+ * @param {module:api/LinksApi~pgDeleteLinkV2AppIdLinkUuidDeleteCallback} callback The callback function, accepting three arguments: error, data, response
7992
7872
  * data is of type: {@link Object}
7993
7873
  */
7994
- pgCreateLinkAuthLinkAppIdPut_0(appId, createLinkRequest, opts, callback) {
7874
+ pgDeleteLinkV2AppIdLinkUuidDelete(appId, linkUuid, opts, callback) {
7995
7875
  opts = opts || {};
7996
- let postBody = createLinkRequest;
7876
+ let postBody = null;
7997
7877
  if (appId === void 0 || appId === null) {
7998
- throw new Error("Missing the required parameter 'appId' when calling pgCreateLinkAuthLinkAppIdPut_0");
7878
+ throw new Error("Missing the required parameter 'appId' when calling pgDeleteLinkV2AppIdLinkUuidDelete");
7999
7879
  }
8000
- if (createLinkRequest === void 0 || createLinkRequest === null) {
8001
- throw new Error("Missing the required parameter 'createLinkRequest' when calling pgCreateLinkAuthLinkAppIdPut_0");
7880
+ if (linkUuid === void 0 || linkUuid === null) {
7881
+ throw new Error("Missing the required parameter 'linkUuid' when calling pgDeleteLinkV2AppIdLinkUuidDelete");
8002
7882
  }
8003
7883
  let pathParams = {
8004
- "app_id": appId
7884
+ "app_id": appId,
7885
+ "link_uuid": linkUuid
8005
7886
  };
8006
7887
  let queryParams = {
8007
7888
  "client_secret": opts["clientSecret"],
@@ -8010,12 +7891,12 @@
8010
7891
  let headerParams = {};
8011
7892
  let formParams = {};
8012
7893
  let authNames = [];
8013
- let contentTypes = ["application/json"];
7894
+ let contentTypes = [];
8014
7895
  let accepts = ["application/json"];
8015
7896
  let returnType = Object;
8016
7897
  return this.apiClient.callApi(
8017
- "/auth/link/{app_id}",
8018
- "PUT",
7898
+ "/v2/{app_id}/{link_uuid}",
7899
+ "DELETE",
8019
7900
  pathParams,
8020
7901
  queryParams,
8021
7902
  headerParams,
@@ -8030,34 +7911,29 @@
8030
7911
  );
8031
7912
  }
8032
7913
  /**
8033
- * Callback function to receive the result of the pgDeleteLinkAuthLinkAppIdLinkUuidDelete operation.
8034
- * @callback module:api/AuthApi~pgDeleteLinkAuthLinkAppIdLinkUuidDeleteCallback
7914
+ * Callback function to receive the result of the pgListMeetingLinksV2ListlinksAccountIdGet operation.
7915
+ * @callback module:api/LinksApi~pgListMeetingLinksV2ListlinksAccountIdGetCallback
8035
7916
  * @param {String} error Error message, if any.
8036
7917
  * @param {Object} data The data returned by the service call.
8037
7918
  * @param {String} response The complete HTTP response.
8038
7919
  */
8039
7920
  /**
8040
- * Pg Delete Link
8041
- * @param {Number} appId
8042
- * @param {String} linkUuid
7921
+ * Pg List Meeting Links
7922
+ * @param {String} accountId
8043
7923
  * @param {Object} opts Optional parameters
8044
- * @param {String} [clientSecret = 'ghFlPlwVN11IQuTIEj4nlB1i67iQQel9')]
8045
- * @param {String} [clientId = '7c19WxdRTkyf9w0EDbbfbg')]
8046
- * @param {module:api/AuthApi~pgDeleteLinkAuthLinkAppIdLinkUuidDeleteCallback} callback The callback function, accepting three arguments: error, data, response
7924
+ * @param {String} [clientSecret = 'ARlaFJJRMWLexEnPW4AtkCmHmerOaIGc')]
7925
+ * @param {String} [clientId = 'qxzT5xZCRmCDnvUqbnqHtw')]
7926
+ * @param {module:api/LinksApi~pgListMeetingLinksV2ListlinksAccountIdGetCallback} callback The callback function, accepting three arguments: error, data, response
8047
7927
  * data is of type: {@link Object}
8048
7928
  */
8049
- pgDeleteLinkAuthLinkAppIdLinkUuidDelete(appId, linkUuid, opts, callback) {
7929
+ pgListMeetingLinksV2ListlinksAccountIdGet(accountId, opts, callback) {
8050
7930
  opts = opts || {};
8051
7931
  let postBody = null;
8052
- if (appId === void 0 || appId === null) {
8053
- throw new Error("Missing the required parameter 'appId' when calling pgDeleteLinkAuthLinkAppIdLinkUuidDelete");
8054
- }
8055
- if (linkUuid === void 0 || linkUuid === null) {
8056
- throw new Error("Missing the required parameter 'linkUuid' when calling pgDeleteLinkAuthLinkAppIdLinkUuidDelete");
7932
+ if (accountId === void 0 || accountId === null) {
7933
+ throw new Error("Missing the required parameter 'accountId' when calling pgListMeetingLinksV2ListlinksAccountIdGet");
8057
7934
  }
8058
7935
  let pathParams = {
8059
- "app_id": appId,
8060
- "link_uuid": linkUuid
7936
+ "account_id": accountId
8061
7937
  };
8062
7938
  let queryParams = {
8063
7939
  "client_secret": opts["clientSecret"],
@@ -8070,8 +7946,8 @@
8070
7946
  let accepts = ["application/json"];
8071
7947
  let returnType = Object;
8072
7948
  return this.apiClient.callApi(
8073
- "/auth/link/{app_id}/{link_uuid}",
8074
- "DELETE",
7949
+ "/v2/listlinks/{account_id}",
7950
+ "GET",
8075
7951
  pathParams,
8076
7952
  queryParams,
8077
7953
  headerParams,
@@ -8085,40 +7961,43 @@
8085
7961
  callback
8086
7962
  );
8087
7963
  }
7964
+ };
7965
+
7966
+ // src/generated/src/api/SdkApi.js
7967
+ var SdkApi = class {
7968
+ /**
7969
+ * Constructs a new SdkApi.
7970
+ * @alias module:api/SdkApi
7971
+ * @class
7972
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
7973
+ * default to {@link module:ApiClient#instance} if unspecified.
7974
+ */
7975
+ constructor(apiClient) {
7976
+ this.apiClient = apiClient || ApiClient_default.instance;
7977
+ }
8088
7978
  /**
8089
- * Callback function to receive the result of the pgDeleteLinkAuthLinkAppIdLinkUuidDelete_0 operation.
8090
- * @callback module:api/AuthApi~pgDeleteLinkAuthLinkAppIdLinkUuidDelete_0Callback
7979
+ * Callback function to receive the result of the createTicketV2TicketAppIdPost operation.
7980
+ * @callback module:api/SdkApi~createTicketV2TicketAppIdPostCallback
8091
7981
  * @param {String} error Error message, if any.
8092
7982
  * @param {Object} data The data returned by the service call.
8093
7983
  * @param {String} response The complete HTTP response.
8094
7984
  */
8095
7985
  /**
8096
- * Pg Delete Link
8097
- * @param {Number} appId
8098
- * @param {String} linkUuid
8099
- * @param {Object} opts Optional parameters
8100
- * @param {String} [clientSecret = 'ghFlPlwVN11IQuTIEj4nlB1i67iQQel9')]
8101
- * @param {String} [clientId = '7c19WxdRTkyf9w0EDbbfbg')]
8102
- * @param {module:api/AuthApi~pgDeleteLinkAuthLinkAppIdLinkUuidDelete_0Callback} callback The callback function, accepting three arguments: error, data, response
7986
+ * Create Ticket
7987
+ * 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.
7988
+ * @param {String} appId
7989
+ * @param {module:api/SdkApi~createTicketV2TicketAppIdPostCallback} callback The callback function, accepting three arguments: error, data, response
8103
7990
  * data is of type: {@link Object}
8104
7991
  */
8105
- pgDeleteLinkAuthLinkAppIdLinkUuidDelete_0(appId, linkUuid, opts, callback) {
8106
- opts = opts || {};
7992
+ createTicketV2TicketAppIdPost(appId, callback) {
8107
7993
  let postBody = null;
8108
7994
  if (appId === void 0 || appId === null) {
8109
- throw new Error("Missing the required parameter 'appId' when calling pgDeleteLinkAuthLinkAppIdLinkUuidDelete_0");
8110
- }
8111
- if (linkUuid === void 0 || linkUuid === null) {
8112
- throw new Error("Missing the required parameter 'linkUuid' when calling pgDeleteLinkAuthLinkAppIdLinkUuidDelete_0");
7995
+ throw new Error("Missing the required parameter 'appId' when calling createTicketV2TicketAppIdPost");
8113
7996
  }
8114
7997
  let pathParams = {
8115
- "app_id": appId,
8116
- "link_uuid": linkUuid
8117
- };
8118
- let queryParams = {
8119
- "client_secret": opts["clientSecret"],
8120
- "client_id": opts["clientId"]
7998
+ "app_id": appId
8121
7999
  };
8000
+ let queryParams = {};
8122
8001
  let headerParams = {};
8123
8002
  let formParams = {};
8124
8003
  let authNames = [];
@@ -8126,8 +8005,8 @@
8126
8005
  let accepts = ["application/json"];
8127
8006
  let returnType = Object;
8128
8007
  return this.apiClient.callApi(
8129
- "/auth/link/{app_id}/{link_uuid}",
8130
- "DELETE",
8008
+ "/v2/ticket/{app_id}",
8009
+ "POST",
8131
8010
  pathParams,
8132
8011
  queryParams,
8133
8012
  headerParams,
@@ -8141,34 +8020,52 @@
8141
8020
  callback
8142
8021
  );
8143
8022
  }
8023
+ };
8024
+
8025
+ // src/generated/src/api/SecureLinksApi.js
8026
+ var SecureLinksApi = class {
8027
+ /**
8028
+ * Constructs a new SecureLinksApi.
8029
+ * @alias module:api/SecureLinksApi
8030
+ * @class
8031
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
8032
+ * default to {@link module:ApiClient#instance} if unspecified.
8033
+ */
8034
+ constructor(apiClient) {
8035
+ this.apiClient = apiClient || ApiClient_default.instance;
8036
+ }
8144
8037
  /**
8145
- * Callback function to receive the result of the pgGetMeetingDetailsAuthZoomMeetingMeetingUuidGet operation.
8146
- * @callback module:api/AuthApi~pgGetMeetingDetailsAuthZoomMeetingMeetingUuidGetCallback
8038
+ * Callback function to receive the result of the getRedirectInfoV2PreviewAppIdLinkUuidGet operation.
8039
+ * @callback module:api/SecureLinksApi~getRedirectInfoV2PreviewAppIdLinkUuidGetCallback
8147
8040
  * @param {String} error Error message, if any.
8148
8041
  * @param {Object} data The data returned by the service call.
8149
8042
  * @param {String} response The complete HTTP response.
8150
8043
  */
8151
8044
  /**
8152
- * Pg Get Meeting Details
8153
- * @param {String} meetingUuid
8045
+ * Get Redirect Info
8046
+ * Get detailed information about a secure link.
8047
+ * @param {String} linkUuid
8048
+ * @param {String} appId
8154
8049
  * @param {Object} opts Optional parameters
8155
- * @param {String} [clientSecret = 'ghFlPlwVN11IQuTIEj4nlB1i67iQQel9')]
8156
- * @param {String} [clientId = '7c19WxdRTkyf9w0EDbbfbg')]
8157
- * @param {module:api/AuthApi~pgGetMeetingDetailsAuthZoomMeetingMeetingUuidGetCallback} callback The callback function, accepting three arguments: error, data, response
8050
+ * @param {String} [formatType = 'A')]
8051
+ * @param {module:api/SecureLinksApi~getRedirectInfoV2PreviewAppIdLinkUuidGetCallback} callback The callback function, accepting three arguments: error, data, response
8158
8052
  * data is of type: {@link Object}
8159
8053
  */
8160
- pgGetMeetingDetailsAuthZoomMeetingMeetingUuidGet(meetingUuid, opts, callback) {
8054
+ getRedirectInfoV2PreviewAppIdLinkUuidGet(linkUuid, appId, opts, callback) {
8161
8055
  opts = opts || {};
8162
8056
  let postBody = null;
8163
- if (meetingUuid === void 0 || meetingUuid === null) {
8164
- throw new Error("Missing the required parameter 'meetingUuid' when calling pgGetMeetingDetailsAuthZoomMeetingMeetingUuidGet");
8057
+ if (linkUuid === void 0 || linkUuid === null) {
8058
+ throw new Error("Missing the required parameter 'linkUuid' when calling getRedirectInfoV2PreviewAppIdLinkUuidGet");
8059
+ }
8060
+ if (appId === void 0 || appId === null) {
8061
+ throw new Error("Missing the required parameter 'appId' when calling getRedirectInfoV2PreviewAppIdLinkUuidGet");
8165
8062
  }
8166
8063
  let pathParams = {
8167
- "meeting_uuid": meetingUuid
8064
+ "link_uuid": linkUuid,
8065
+ "app_id": appId
8168
8066
  };
8169
8067
  let queryParams = {
8170
- "client_secret": opts["clientSecret"],
8171
- "client_id": opts["clientId"]
8068
+ "format_type": opts["formatType"]
8172
8069
  };
8173
8070
  let headerParams = {};
8174
8071
  let formParams = {};
@@ -8177,7 +8074,7 @@
8177
8074
  let accepts = ["application/json"];
8178
8075
  let returnType = Object;
8179
8076
  return this.apiClient.callApi(
8180
- "/auth/zoom/meeting/{meeting_uuid}",
8077
+ "/v2/preview/{app_id}/{link_uuid}",
8181
8078
  "GET",
8182
8079
  pathParams,
8183
8080
  queryParams,
@@ -8193,34 +8090,38 @@
8193
8090
  );
8194
8091
  }
8195
8092
  /**
8196
- * Callback function to receive the result of the pgGetMeetingDetailsAuthZoomMeetingMeetingUuidGet_0 operation.
8197
- * @callback module:api/AuthApi~pgGetMeetingDetailsAuthZoomMeetingMeetingUuidGet_0Callback
8093
+ * Callback function to receive the result of the getRedirectInfoV2PreviewFormatTypeAppIdLinkUuidGet operation.
8094
+ * @callback module:api/SecureLinksApi~getRedirectInfoV2PreviewFormatTypeAppIdLinkUuidGetCallback
8198
8095
  * @param {String} error Error message, if any.
8199
8096
  * @param {Object} data The data returned by the service call.
8200
8097
  * @param {String} response The complete HTTP response.
8201
8098
  */
8202
8099
  /**
8203
- * Pg Get Meeting Details
8204
- * @param {String} meetingUuid
8205
- * @param {Object} opts Optional parameters
8206
- * @param {String} [clientSecret = 'ghFlPlwVN11IQuTIEj4nlB1i67iQQel9')]
8207
- * @param {String} [clientId = '7c19WxdRTkyf9w0EDbbfbg')]
8208
- * @param {module:api/AuthApi~pgGetMeetingDetailsAuthZoomMeetingMeetingUuidGet_0Callback} callback The callback function, accepting three arguments: error, data, response
8100
+ * Get Redirect Info
8101
+ * Get detailed information about a secure link.
8102
+ * @param {String} formatType
8103
+ * @param {String} linkUuid
8104
+ * @param {String} appId
8105
+ * @param {module:api/SecureLinksApi~getRedirectInfoV2PreviewFormatTypeAppIdLinkUuidGetCallback} callback The callback function, accepting three arguments: error, data, response
8209
8106
  * data is of type: {@link Object}
8210
8107
  */
8211
- pgGetMeetingDetailsAuthZoomMeetingMeetingUuidGet_0(meetingUuid, opts, callback) {
8212
- opts = opts || {};
8108
+ getRedirectInfoV2PreviewFormatTypeAppIdLinkUuidGet(formatType, linkUuid, appId, callback) {
8213
8109
  let postBody = null;
8214
- if (meetingUuid === void 0 || meetingUuid === null) {
8215
- throw new Error("Missing the required parameter 'meetingUuid' when calling pgGetMeetingDetailsAuthZoomMeetingMeetingUuidGet_0");
8110
+ if (formatType === void 0 || formatType === null) {
8111
+ throw new Error("Missing the required parameter 'formatType' when calling getRedirectInfoV2PreviewFormatTypeAppIdLinkUuidGet");
8112
+ }
8113
+ if (linkUuid === void 0 || linkUuid === null) {
8114
+ throw new Error("Missing the required parameter 'linkUuid' when calling getRedirectInfoV2PreviewFormatTypeAppIdLinkUuidGet");
8115
+ }
8116
+ if (appId === void 0 || appId === null) {
8117
+ throw new Error("Missing the required parameter 'appId' when calling getRedirectInfoV2PreviewFormatTypeAppIdLinkUuidGet");
8216
8118
  }
8217
8119
  let pathParams = {
8218
- "meeting_uuid": meetingUuid
8219
- };
8220
- let queryParams = {
8221
- "client_secret": opts["clientSecret"],
8222
- "client_id": opts["clientId"]
8120
+ "format_type": formatType,
8121
+ "link_uuid": linkUuid,
8122
+ "app_id": appId
8223
8123
  };
8124
+ let queryParams = {};
8224
8125
  let headerParams = {};
8225
8126
  let formParams = {};
8226
8127
  let authNames = [];
@@ -8228,7 +8129,7 @@
8228
8129
  let accepts = ["application/json"];
8229
8130
  let returnType = Object;
8230
8131
  return this.apiClient.callApi(
8231
- "/auth/zoom/meeting/{meeting_uuid}",
8132
+ "/v2/preview/{format_type}/{app_id}/{link_uuid}",
8232
8133
  "GET",
8233
8134
  pathParams,
8234
8135
  queryParams,
@@ -8244,33 +8145,34 @@
8244
8145
  );
8245
8146
  }
8246
8147
  /**
8247
- * Callback function to receive the result of the pgListMeetingLinksAuthListlinksAccountIdGet operation.
8248
- * @callback module:api/AuthApi~pgListMeetingLinksAuthListlinksAccountIdGetCallback
8148
+ * Callback function to receive the result of the getRedirectInfoV2PreviewLinkUuidGet operation.
8149
+ * @callback module:api/SecureLinksApi~getRedirectInfoV2PreviewLinkUuidGetCallback
8249
8150
  * @param {String} error Error message, if any.
8250
8151
  * @param {Object} data The data returned by the service call.
8251
8152
  * @param {String} response The complete HTTP response.
8252
8153
  */
8253
8154
  /**
8254
- * Pg List Meeting Links
8255
- * @param {String} accountId
8155
+ * Get Redirect Info
8156
+ * Get detailed information about a secure link.
8157
+ * @param {String} linkUuid
8256
8158
  * @param {Object} opts Optional parameters
8257
- * @param {String} [clientSecret = 'ghFlPlwVN11IQuTIEj4nlB1i67iQQel9')]
8258
- * @param {String} [clientId = '7c19WxdRTkyf9w0EDbbfbg')]
8259
- * @param {module:api/AuthApi~pgListMeetingLinksAuthListlinksAccountIdGetCallback} callback The callback function, accepting three arguments: error, data, response
8159
+ * @param {String} [formatType = 'A')]
8160
+ * @param {String} [appId]
8161
+ * @param {module:api/SecureLinksApi~getRedirectInfoV2PreviewLinkUuidGetCallback} callback The callback function, accepting three arguments: error, data, response
8260
8162
  * data is of type: {@link Object}
8261
8163
  */
8262
- pgListMeetingLinksAuthListlinksAccountIdGet(accountId, opts, callback) {
8164
+ getRedirectInfoV2PreviewLinkUuidGet(linkUuid, opts, callback) {
8263
8165
  opts = opts || {};
8264
8166
  let postBody = null;
8265
- if (accountId === void 0 || accountId === null) {
8266
- throw new Error("Missing the required parameter 'accountId' when calling pgListMeetingLinksAuthListlinksAccountIdGet");
8167
+ if (linkUuid === void 0 || linkUuid === null) {
8168
+ throw new Error("Missing the required parameter 'linkUuid' when calling getRedirectInfoV2PreviewLinkUuidGet");
8267
8169
  }
8268
8170
  let pathParams = {
8269
- "account_id": accountId
8171
+ "link_uuid": linkUuid
8270
8172
  };
8271
8173
  let queryParams = {
8272
- "client_secret": opts["clientSecret"],
8273
- "client_id": opts["clientId"]
8174
+ "format_type": opts["formatType"],
8175
+ "app_id": opts["appId"]
8274
8176
  };
8275
8177
  let headerParams = {};
8276
8178
  let formParams = {};
@@ -8279,7 +8181,7 @@
8279
8181
  let accepts = ["application/json"];
8280
8182
  let returnType = Object;
8281
8183
  return this.apiClient.callApi(
8282
- "/auth/listlinks/{account_id}",
8184
+ "/v2/preview/{link_uuid}",
8283
8185
  "GET",
8284
8186
  pathParams,
8285
8187
  queryParams,
@@ -8295,34 +8197,32 @@
8295
8197
  );
8296
8198
  }
8297
8199
  /**
8298
- * Callback function to receive the result of the pgListMeetingLinksAuthListlinksAccountIdGet_0 operation.
8299
- * @callback module:api/AuthApi~pgListMeetingLinksAuthListlinksAccountIdGet_0Callback
8200
+ * Callback function to receive the result of the getSvgResponseV2ScanAppIdLinkUuidGet operation.
8201
+ * @callback module:api/SecureLinksApi~getSvgResponseV2ScanAppIdLinkUuidGetCallback
8300
8202
  * @param {String} error Error message, if any.
8301
8203
  * @param {Object} data The data returned by the service call.
8302
8204
  * @param {String} response The complete HTTP response.
8303
8205
  */
8304
8206
  /**
8305
- * Pg List Meeting Links
8306
- * @param {String} accountId
8307
- * @param {Object} opts Optional parameters
8308
- * @param {String} [clientSecret = 'ghFlPlwVN11IQuTIEj4nlB1i67iQQel9')]
8309
- * @param {String} [clientId = '7c19WxdRTkyf9w0EDbbfbg')]
8310
- * @param {module:api/AuthApi~pgListMeetingLinksAuthListlinksAccountIdGet_0Callback} callback The callback function, accepting three arguments: error, data, response
8207
+ * Get Svg Response
8208
+ * @param {String} appId
8209
+ * @param {String} linkUuid
8210
+ * @param {module:api/SecureLinksApi~getSvgResponseV2ScanAppIdLinkUuidGetCallback} callback The callback function, accepting three arguments: error, data, response
8311
8211
  * data is of type: {@link Object}
8312
8212
  */
8313
- pgListMeetingLinksAuthListlinksAccountIdGet_0(accountId, opts, callback) {
8314
- opts = opts || {};
8213
+ getSvgResponseV2ScanAppIdLinkUuidGet(appId, linkUuid, callback) {
8315
8214
  let postBody = null;
8316
- if (accountId === void 0 || accountId === null) {
8317
- throw new Error("Missing the required parameter 'accountId' when calling pgListMeetingLinksAuthListlinksAccountIdGet_0");
8215
+ if (appId === void 0 || appId === null) {
8216
+ throw new Error("Missing the required parameter 'appId' when calling getSvgResponseV2ScanAppIdLinkUuidGet");
8217
+ }
8218
+ if (linkUuid === void 0 || linkUuid === null) {
8219
+ throw new Error("Missing the required parameter 'linkUuid' when calling getSvgResponseV2ScanAppIdLinkUuidGet");
8318
8220
  }
8319
8221
  let pathParams = {
8320
- "account_id": accountId
8321
- };
8322
- let queryParams = {
8323
- "client_secret": opts["clientSecret"],
8324
- "client_id": opts["clientId"]
8222
+ "app_id": appId,
8223
+ "link_uuid": linkUuid
8325
8224
  };
8225
+ let queryParams = {};
8326
8226
  let headerParams = {};
8327
8227
  let formParams = {};
8328
8228
  let authNames = [];
@@ -8330,7 +8230,7 @@
8330
8230
  let accepts = ["application/json"];
8331
8231
  let returnType = Object;
8332
8232
  return this.apiClient.callApi(
8333
- "/auth/listlinks/{account_id}",
8233
+ "/v2/scan/{app_id}/{link_uuid}",
8334
8234
  "GET",
8335
8235
  pathParams,
8336
8236
  queryParams,
@@ -8346,30 +8246,30 @@
8346
8246
  );
8347
8247
  }
8348
8248
  /**
8349
- * Callback function to receive the result of the pgLoginAuthLinkAppIdLinkUuidGet operation.
8350
- * @callback module:api/AuthApi~pgLoginAuthLinkAppIdLinkUuidGetCallback
8249
+ * Callback function to receive the result of the getSvgResponseV2ScanFormatTypeAppIdLinkUuidGet operation.
8250
+ * @callback module:api/SecureLinksApi~getSvgResponseV2ScanFormatTypeAppIdLinkUuidGetCallback
8351
8251
  * @param {String} error Error message, if any.
8352
8252
  * @param {Object} data The data returned by the service call.
8353
8253
  * @param {String} response The complete HTTP response.
8354
8254
  */
8355
8255
  /**
8356
- * Pg Login
8256
+ * Get Svg Response
8257
+ * @param {String} appId
8357
8258
  * @param {String} linkUuid
8358
- * @param {Number} appId
8359
- * @param {module:api/AuthApi~pgLoginAuthLinkAppIdLinkUuidGetCallback} callback The callback function, accepting three arguments: error, data, response
8259
+ * @param {module:api/SecureLinksApi~getSvgResponseV2ScanFormatTypeAppIdLinkUuidGetCallback} callback The callback function, accepting three arguments: error, data, response
8360
8260
  * data is of type: {@link Object}
8361
8261
  */
8362
- pgLoginAuthLinkAppIdLinkUuidGet(linkUuid, appId, callback) {
8262
+ getSvgResponseV2ScanFormatTypeAppIdLinkUuidGet(appId, linkUuid, callback) {
8363
8263
  let postBody = null;
8364
- if (linkUuid === void 0 || linkUuid === null) {
8365
- throw new Error("Missing the required parameter 'linkUuid' when calling pgLoginAuthLinkAppIdLinkUuidGet");
8366
- }
8367
8264
  if (appId === void 0 || appId === null) {
8368
- throw new Error("Missing the required parameter 'appId' when calling pgLoginAuthLinkAppIdLinkUuidGet");
8265
+ throw new Error("Missing the required parameter 'appId' when calling getSvgResponseV2ScanFormatTypeAppIdLinkUuidGet");
8266
+ }
8267
+ if (linkUuid === void 0 || linkUuid === null) {
8268
+ throw new Error("Missing the required parameter 'linkUuid' when calling getSvgResponseV2ScanFormatTypeAppIdLinkUuidGet");
8369
8269
  }
8370
8270
  let pathParams = {
8371
- "link_uuid": linkUuid,
8372
- "app_id": appId
8271
+ "app_id": appId,
8272
+ "link_uuid": linkUuid
8373
8273
  };
8374
8274
  let queryParams = {};
8375
8275
  let headerParams = {};
@@ -8379,7 +8279,7 @@
8379
8279
  let accepts = ["application/json"];
8380
8280
  let returnType = Object;
8381
8281
  return this.apiClient.callApi(
8382
- "/auth/link/{app_id}/{link_uuid}",
8282
+ "/v2/scan/{format_type}/{app_id}/{link_uuid}",
8383
8283
  "GET",
8384
8284
  pathParams,
8385
8285
  queryParams,
@@ -8395,41 +8295,54 @@
8395
8295
  );
8396
8296
  }
8397
8297
  /**
8398
- * Callback function to receive the result of the pgLoginAuthLinkAppIdLinkUuidGet_0 operation.
8399
- * @callback module:api/AuthApi~pgLoginAuthLinkAppIdLinkUuidGet_0Callback
8298
+ * Callback function to receive the result of the pgCompleteRedirectV2RedirectAppIdLinkUuidPost operation.
8299
+ * @callback module:api/SecureLinksApi~pgCompleteRedirectV2RedirectAppIdLinkUuidPostCallback
8400
8300
  * @param {String} error Error message, if any.
8401
8301
  * @param {Object} data The data returned by the service call.
8402
8302
  * @param {String} response The complete HTTP response.
8403
8303
  */
8404
8304
  /**
8405
- * Pg Login
8305
+ * Pg Complete Redirect
8406
8306
  * @param {String} linkUuid
8407
- * @param {Number} appId
8408
- * @param {module:api/AuthApi~pgLoginAuthLinkAppIdLinkUuidGet_0Callback} callback The callback function, accepting three arguments: error, data, response
8307
+ * @param {String} appId
8308
+ * @param {String} appattest
8309
+ * @param {Object} opts Optional parameters
8310
+ * @param {String} [formatType = 'A')]
8311
+ * @param {String} [pcre]
8312
+ * @param {module:api/SecureLinksApi~pgCompleteRedirectV2RedirectAppIdLinkUuidPostCallback} callback The callback function, accepting three arguments: error, data, response
8409
8313
  * data is of type: {@link Object}
8410
8314
  */
8411
- pgLoginAuthLinkAppIdLinkUuidGet_0(linkUuid, appId, callback) {
8315
+ pgCompleteRedirectV2RedirectAppIdLinkUuidPost(linkUuid, appId, appattest, opts, callback) {
8316
+ opts = opts || {};
8412
8317
  let postBody = null;
8413
8318
  if (linkUuid === void 0 || linkUuid === null) {
8414
- throw new Error("Missing the required parameter 'linkUuid' when calling pgLoginAuthLinkAppIdLinkUuidGet_0");
8319
+ throw new Error("Missing the required parameter 'linkUuid' when calling pgCompleteRedirectV2RedirectAppIdLinkUuidPost");
8415
8320
  }
8416
8321
  if (appId === void 0 || appId === null) {
8417
- throw new Error("Missing the required parameter 'appId' when calling pgLoginAuthLinkAppIdLinkUuidGet_0");
8322
+ throw new Error("Missing the required parameter 'appId' when calling pgCompleteRedirectV2RedirectAppIdLinkUuidPost");
8323
+ }
8324
+ if (appattest === void 0 || appattest === null) {
8325
+ throw new Error("Missing the required parameter 'appattest' when calling pgCompleteRedirectV2RedirectAppIdLinkUuidPost");
8418
8326
  }
8419
8327
  let pathParams = {
8420
8328
  "link_uuid": linkUuid,
8421
8329
  "app_id": appId
8422
8330
  };
8423
- let queryParams = {};
8424
- let headerParams = {};
8331
+ let queryParams = {
8332
+ "format_type": opts["formatType"],
8333
+ "pcre": opts["pcre"]
8334
+ };
8335
+ let headerParams = {
8336
+ "appattest": appattest
8337
+ };
8425
8338
  let formParams = {};
8426
8339
  let authNames = [];
8427
8340
  let contentTypes = [];
8428
8341
  let accepts = ["application/json"];
8429
8342
  let returnType = Object;
8430
8343
  return this.apiClient.callApi(
8431
- "/auth/link/{app_id}/{link_uuid}",
8432
- "GET",
8344
+ "/v2/redirect/{app_id}/{link_uuid}",
8345
+ "POST",
8433
8346
  pathParams,
8434
8347
  queryParams,
8435
8348
  headerParams,
@@ -8444,41 +8357,57 @@
8444
8357
  );
8445
8358
  }
8446
8359
  /**
8447
- * Callback function to receive the result of the pgLoginMLinkUuidGet operation.
8448
- * @callback module:api/AuthApi~pgLoginMLinkUuidGetCallback
8360
+ * Callback function to receive the result of the pgCompleteRedirectV2RedirectFormatTypeAppIdLinkUuidPost operation.
8361
+ * @callback module:api/SecureLinksApi~pgCompleteRedirectV2RedirectFormatTypeAppIdLinkUuidPostCallback
8449
8362
  * @param {String} error Error message, if any.
8450
8363
  * @param {Object} data The data returned by the service call.
8451
8364
  * @param {String} response The complete HTTP response.
8452
8365
  */
8453
8366
  /**
8454
- * Pg Login
8367
+ * Pg Complete Redirect
8368
+ * @param {String} formatType
8455
8369
  * @param {String} linkUuid
8370
+ * @param {String} appId
8371
+ * @param {String} appattest
8456
8372
  * @param {Object} opts Optional parameters
8457
- * @param {Number} [appId = 1)]
8458
- * @param {module:api/AuthApi~pgLoginMLinkUuidGetCallback} callback The callback function, accepting three arguments: error, data, response
8373
+ * @param {String} [pcre]
8374
+ * @param {module:api/SecureLinksApi~pgCompleteRedirectV2RedirectFormatTypeAppIdLinkUuidPostCallback} callback The callback function, accepting three arguments: error, data, response
8459
8375
  * data is of type: {@link Object}
8460
8376
  */
8461
- pgLoginMLinkUuidGet(linkUuid, opts, callback) {
8377
+ pgCompleteRedirectV2RedirectFormatTypeAppIdLinkUuidPost(formatType, linkUuid, appId, appattest, opts, callback) {
8462
8378
  opts = opts || {};
8463
8379
  let postBody = null;
8380
+ if (formatType === void 0 || formatType === null) {
8381
+ throw new Error("Missing the required parameter 'formatType' when calling pgCompleteRedirectV2RedirectFormatTypeAppIdLinkUuidPost");
8382
+ }
8464
8383
  if (linkUuid === void 0 || linkUuid === null) {
8465
- throw new Error("Missing the required parameter 'linkUuid' when calling pgLoginMLinkUuidGet");
8384
+ throw new Error("Missing the required parameter 'linkUuid' when calling pgCompleteRedirectV2RedirectFormatTypeAppIdLinkUuidPost");
8385
+ }
8386
+ if (appId === void 0 || appId === null) {
8387
+ throw new Error("Missing the required parameter 'appId' when calling pgCompleteRedirectV2RedirectFormatTypeAppIdLinkUuidPost");
8388
+ }
8389
+ if (appattest === void 0 || appattest === null) {
8390
+ throw new Error("Missing the required parameter 'appattest' when calling pgCompleteRedirectV2RedirectFormatTypeAppIdLinkUuidPost");
8466
8391
  }
8467
8392
  let pathParams = {
8468
- "link_uuid": linkUuid
8393
+ "format_type": formatType,
8394
+ "link_uuid": linkUuid,
8395
+ "app_id": appId
8469
8396
  };
8470
8397
  let queryParams = {
8471
- "app_id": opts["appId"]
8398
+ "pcre": opts["pcre"]
8399
+ };
8400
+ let headerParams = {
8401
+ "appattest": appattest
8472
8402
  };
8473
- let headerParams = {};
8474
8403
  let formParams = {};
8475
8404
  let authNames = [];
8476
8405
  let contentTypes = [];
8477
8406
  let accepts = ["application/json"];
8478
8407
  let returnType = Object;
8479
8408
  return this.apiClient.callApi(
8480
- "/m/{link_uuid}",
8481
- "GET",
8409
+ "/v2/redirect/{format_type}/{app_id}/{link_uuid}",
8410
+ "POST",
8482
8411
  pathParams,
8483
8412
  queryParams,
8484
8413
  headerParams,
@@ -8493,41 +8422,51 @@
8493
8422
  );
8494
8423
  }
8495
8424
  /**
8496
- * Callback function to receive the result of the pgLoginMLinkUuidGet_0 operation.
8497
- * @callback module:api/AuthApi~pgLoginMLinkUuidGet_0Callback
8425
+ * Callback function to receive the result of the pgCompleteRedirectV2RedirectLinkUuidPost operation.
8426
+ * @callback module:api/SecureLinksApi~pgCompleteRedirectV2RedirectLinkUuidPostCallback
8498
8427
  * @param {String} error Error message, if any.
8499
8428
  * @param {Object} data The data returned by the service call.
8500
8429
  * @param {String} response The complete HTTP response.
8501
8430
  */
8502
8431
  /**
8503
- * Pg Login
8432
+ * Pg Complete Redirect
8504
8433
  * @param {String} linkUuid
8434
+ * @param {String} appattest
8505
8435
  * @param {Object} opts Optional parameters
8506
- * @param {Number} [appId = 1)]
8507
- * @param {module:api/AuthApi~pgLoginMLinkUuidGet_0Callback} callback The callback function, accepting three arguments: error, data, response
8436
+ * @param {String} [formatType = 'A')]
8437
+ * @param {String} [pcre]
8438
+ * @param {String} [appId]
8439
+ * @param {module:api/SecureLinksApi~pgCompleteRedirectV2RedirectLinkUuidPostCallback} callback The callback function, accepting three arguments: error, data, response
8508
8440
  * data is of type: {@link Object}
8509
8441
  */
8510
- pgLoginMLinkUuidGet_0(linkUuid, opts, callback) {
8442
+ pgCompleteRedirectV2RedirectLinkUuidPost(linkUuid, appattest, opts, callback) {
8511
8443
  opts = opts || {};
8512
8444
  let postBody = null;
8513
8445
  if (linkUuid === void 0 || linkUuid === null) {
8514
- throw new Error("Missing the required parameter 'linkUuid' when calling pgLoginMLinkUuidGet_0");
8446
+ throw new Error("Missing the required parameter 'linkUuid' when calling pgCompleteRedirectV2RedirectLinkUuidPost");
8447
+ }
8448
+ if (appattest === void 0 || appattest === null) {
8449
+ throw new Error("Missing the required parameter 'appattest' when calling pgCompleteRedirectV2RedirectLinkUuidPost");
8515
8450
  }
8516
8451
  let pathParams = {
8517
8452
  "link_uuid": linkUuid
8518
8453
  };
8519
8454
  let queryParams = {
8455
+ "format_type": opts["formatType"],
8456
+ "pcre": opts["pcre"],
8520
8457
  "app_id": opts["appId"]
8521
8458
  };
8522
- let headerParams = {};
8459
+ let headerParams = {
8460
+ "appattest": appattest
8461
+ };
8523
8462
  let formParams = {};
8524
8463
  let authNames = [];
8525
8464
  let contentTypes = [];
8526
8465
  let accepts = ["application/json"];
8527
8466
  let returnType = Object;
8528
8467
  return this.apiClient.callApi(
8529
- "/m/{link_uuid}",
8530
- "GET",
8468
+ "/v2/redirect/{link_uuid}",
8469
+ "POST",
8531
8470
  pathParams,
8532
8471
  queryParams,
8533
8472
  headerParams,
@@ -8542,28 +8481,38 @@
8542
8481
  );
8543
8482
  }
8544
8483
  /**
8545
- * Callback function to receive the result of the pgMobileRedirectMobileLinkUuidGet operation.
8546
- * @callback module:api/AuthApi~pgMobileRedirectMobileLinkUuidGetCallback
8484
+ * Callback function to receive the result of the pgLoginV2AppIdLinkUuidGet operation.
8485
+ * @callback module:api/SecureLinksApi~pgLoginV2AppIdLinkUuidGetCallback
8547
8486
  * @param {String} error Error message, if any.
8548
8487
  * @param {Object} data The data returned by the service call.
8549
8488
  * @param {String} response The complete HTTP response.
8550
8489
  */
8551
8490
  /**
8552
- * Pg Mobile Redirect
8553
- * Short URL for mobile redirect, embedded in QR code
8491
+ * Pg Login
8492
+ * PRESENTS LOGIN PAGE ON DESKTOP. HIJACKED by PSL ON MOBILE and REDIRECTED BY DECORATOR.
8554
8493
  * @param {String} linkUuid
8555
- * @param {module:api/AuthApi~pgMobileRedirectMobileLinkUuidGetCallback} callback The callback function, accepting three arguments: error, data, response
8494
+ * @param {String} appId
8495
+ * @param {Object} opts Optional parameters
8496
+ * @param {String} [formatType = 'A')]
8497
+ * @param {module:api/SecureLinksApi~pgLoginV2AppIdLinkUuidGetCallback} callback The callback function, accepting three arguments: error, data, response
8556
8498
  * data is of type: {@link Object}
8557
8499
  */
8558
- pgMobileRedirectMobileLinkUuidGet(linkUuid, callback) {
8500
+ pgLoginV2AppIdLinkUuidGet(linkUuid, appId, opts, callback) {
8501
+ opts = opts || {};
8559
8502
  let postBody = null;
8560
8503
  if (linkUuid === void 0 || linkUuid === null) {
8561
- throw new Error("Missing the required parameter 'linkUuid' when calling pgMobileRedirectMobileLinkUuidGet");
8504
+ throw new Error("Missing the required parameter 'linkUuid' when calling pgLoginV2AppIdLinkUuidGet");
8505
+ }
8506
+ if (appId === void 0 || appId === null) {
8507
+ throw new Error("Missing the required parameter 'appId' when calling pgLoginV2AppIdLinkUuidGet");
8562
8508
  }
8563
8509
  let pathParams = {
8564
- "link_uuid": linkUuid
8510
+ "link_uuid": linkUuid,
8511
+ "app_id": appId
8512
+ };
8513
+ let queryParams = {
8514
+ "format_type": opts["formatType"]
8565
8515
  };
8566
- let queryParams = {};
8567
8516
  let headerParams = {};
8568
8517
  let formParams = {};
8569
8518
  let authNames = [];
@@ -8571,7 +8520,7 @@
8571
8520
  let accepts = ["application/json"];
8572
8521
  let returnType = Object;
8573
8522
  return this.apiClient.callApi(
8574
- "/mobile/{link_uuid}",
8523
+ "/v2/{app_id}/{link_uuid}",
8575
8524
  "GET",
8576
8525
  pathParams,
8577
8526
  queryParams,
@@ -8587,212 +8536,36 @@
8587
8536
  );
8588
8537
  }
8589
8538
  /**
8590
- * Callback function to receive the result of the pgMobileRedirectMobileLinkUuidGet_0 operation.
8591
- * @callback module:api/AuthApi~pgMobileRedirectMobileLinkUuidGet_0Callback
8539
+ * Callback function to receive the result of the pgLoginV2FormatTypeAppIdLinkUuidGet operation.
8540
+ * @callback module:api/SecureLinksApi~pgLoginV2FormatTypeAppIdLinkUuidGetCallback
8592
8541
  * @param {String} error Error message, if any.
8593
8542
  * @param {Object} data The data returned by the service call.
8594
8543
  * @param {String} response The complete HTTP response.
8595
8544
  */
8596
8545
  /**
8597
- * Pg Mobile Redirect
8598
- * Short URL for mobile redirect, embedded in QR code
8546
+ * Pg Login
8547
+ * PRESENTS LOGIN PAGE ON DESKTOP. HIJACKED by PSL ON MOBILE and REDIRECTED BY DECORATOR.
8599
8548
  * @param {String} linkUuid
8600
- * @param {module:api/AuthApi~pgMobileRedirectMobileLinkUuidGet_0Callback} callback The callback function, accepting three arguments: error, data, response
8549
+ * @param {String} appId
8550
+ * @param {String} formatType
8551
+ * @param {module:api/SecureLinksApi~pgLoginV2FormatTypeAppIdLinkUuidGetCallback} callback The callback function, accepting three arguments: error, data, response
8601
8552
  * data is of type: {@link Object}
8602
8553
  */
8603
- pgMobileRedirectMobileLinkUuidGet_0(linkUuid, callback) {
8554
+ pgLoginV2FormatTypeAppIdLinkUuidGet(linkUuid, appId, formatType, callback) {
8604
8555
  let postBody = null;
8605
8556
  if (linkUuid === void 0 || linkUuid === null) {
8606
- throw new Error("Missing the required parameter 'linkUuid' when calling pgMobileRedirectMobileLinkUuidGet_0");
8607
- }
8608
- let pathParams = {
8609
- "link_uuid": linkUuid
8610
- };
8611
- let queryParams = {};
8612
- let headerParams = {};
8613
- let formParams = {};
8614
- let authNames = [];
8615
- let contentTypes = [];
8616
- let accepts = ["application/json"];
8617
- let returnType = Object;
8618
- return this.apiClient.callApi(
8619
- "/mobile/{link_uuid}",
8620
- "GET",
8621
- pathParams,
8622
- queryParams,
8623
- headerParams,
8624
- formParams,
8625
- postBody,
8626
- authNames,
8627
- contentTypes,
8628
- accepts,
8629
- returnType,
8630
- null,
8631
- callback
8632
- );
8633
- }
8634
- /**
8635
- * Callback function to receive the result of the pgPollAuthPollPcreGet operation.
8636
- * @callback module:api/AuthApi~pgPollAuthPollPcreGetCallback
8637
- * @param {String} error Error message, if any.
8638
- * @param {Object} data The data returned by the service call.
8639
- * @param {String} response The complete HTTP response.
8640
- */
8641
- /**
8642
- * Pg Poll
8643
- * @param {String} pcre
8644
- * @param {module:api/AuthApi~pgPollAuthPollPcreGetCallback} callback The callback function, accepting three arguments: error, data, response
8645
- * data is of type: {@link Object}
8646
- */
8647
- pgPollAuthPollPcreGet(pcre, callback) {
8648
- let postBody = null;
8649
- if (pcre === void 0 || pcre === null) {
8650
- throw new Error("Missing the required parameter 'pcre' when calling pgPollAuthPollPcreGet");
8651
- }
8652
- let pathParams = {
8653
- "pcre": pcre
8654
- };
8655
- let queryParams = {};
8656
- let headerParams = {};
8657
- let formParams = {};
8658
- let authNames = [];
8659
- let contentTypes = [];
8660
- let accepts = ["application/json"];
8661
- let returnType = Object;
8662
- return this.apiClient.callApi(
8663
- "/auth/poll/{pcre}",
8664
- "GET",
8665
- pathParams,
8666
- queryParams,
8667
- headerParams,
8668
- formParams,
8669
- postBody,
8670
- authNames,
8671
- contentTypes,
8672
- accepts,
8673
- returnType,
8674
- null,
8675
- callback
8676
- );
8677
- }
8678
- /**
8679
- * Callback function to receive the result of the pgPollAuthPollPcreGet_0 operation.
8680
- * @callback module:api/AuthApi~pgPollAuthPollPcreGet_0Callback
8681
- * @param {String} error Error message, if any.
8682
- * @param {Object} data The data returned by the service call.
8683
- * @param {String} response The complete HTTP response.
8684
- */
8685
- /**
8686
- * Pg Poll
8687
- * @param {String} pcre
8688
- * @param {module:api/AuthApi~pgPollAuthPollPcreGet_0Callback} callback The callback function, accepting three arguments: error, data, response
8689
- * data is of type: {@link Object}
8690
- */
8691
- pgPollAuthPollPcreGet_0(pcre, callback) {
8692
- let postBody = null;
8693
- if (pcre === void 0 || pcre === null) {
8694
- throw new Error("Missing the required parameter 'pcre' when calling pgPollAuthPollPcreGet_0");
8695
- }
8696
- let pathParams = {
8697
- "pcre": pcre
8698
- };
8699
- let queryParams = {};
8700
- let headerParams = {};
8701
- let formParams = {};
8702
- let authNames = [];
8703
- let contentTypes = [];
8704
- let accepts = ["application/json"];
8705
- let returnType = Object;
8706
- return this.apiClient.callApi(
8707
- "/auth/poll/{pcre}",
8708
- "GET",
8709
- pathParams,
8710
- queryParams,
8711
- headerParams,
8712
- formParams,
8713
- postBody,
8714
- authNames,
8715
- contentTypes,
8716
- accepts,
8717
- returnType,
8718
- null,
8719
- callback
8720
- );
8721
- }
8722
- /**
8723
- * Callback function to receive the result of the pgPreviewAuthRedirectAppIdLinkUuidHead operation.
8724
- * @callback module:api/AuthApi~pgPreviewAuthRedirectAppIdLinkUuidHeadCallback
8725
- * @param {String} error Error message, if any.
8726
- * @param {Object} data The data returned by the service call.
8727
- * @param {String} response The complete HTTP response.
8728
- */
8729
- /**
8730
- * Pg Preview
8731
- * @param {String} linkUuid
8732
- * @param {Number} appId
8733
- * @param {module:api/AuthApi~pgPreviewAuthRedirectAppIdLinkUuidHeadCallback} callback The callback function, accepting three arguments: error, data, response
8734
- * data is of type: {@link Object}
8735
- */
8736
- pgPreviewAuthRedirectAppIdLinkUuidHead(linkUuid, appId, callback) {
8737
- let postBody = null;
8738
- if (linkUuid === void 0 || linkUuid === null) {
8739
- throw new Error("Missing the required parameter 'linkUuid' when calling pgPreviewAuthRedirectAppIdLinkUuidHead");
8740
- }
8741
- if (appId === void 0 || appId === null) {
8742
- throw new Error("Missing the required parameter 'appId' when calling pgPreviewAuthRedirectAppIdLinkUuidHead");
8743
- }
8744
- let pathParams = {
8745
- "link_uuid": linkUuid,
8746
- "app_id": appId
8747
- };
8748
- let queryParams = {};
8749
- let headerParams = {};
8750
- let formParams = {};
8751
- let authNames = [];
8752
- let contentTypes = [];
8753
- let accepts = ["application/json"];
8754
- let returnType = Object;
8755
- return this.apiClient.callApi(
8756
- "/auth/redirect/{app_id}/{link_uuid}",
8757
- "HEAD",
8758
- pathParams,
8759
- queryParams,
8760
- headerParams,
8761
- formParams,
8762
- postBody,
8763
- authNames,
8764
- contentTypes,
8765
- accepts,
8766
- returnType,
8767
- null,
8768
- callback
8769
- );
8770
- }
8771
- /**
8772
- * Callback function to receive the result of the pgPreviewAuthRedirectAppIdLinkUuidHead_0 operation.
8773
- * @callback module:api/AuthApi~pgPreviewAuthRedirectAppIdLinkUuidHead_0Callback
8774
- * @param {String} error Error message, if any.
8775
- * @param {Object} data The data returned by the service call.
8776
- * @param {String} response The complete HTTP response.
8777
- */
8778
- /**
8779
- * Pg Preview
8780
- * @param {String} linkUuid
8781
- * @param {Number} appId
8782
- * @param {module:api/AuthApi~pgPreviewAuthRedirectAppIdLinkUuidHead_0Callback} callback The callback function, accepting three arguments: error, data, response
8783
- * data is of type: {@link Object}
8784
- */
8785
- pgPreviewAuthRedirectAppIdLinkUuidHead_0(linkUuid, appId, callback) {
8786
- let postBody = null;
8787
- if (linkUuid === void 0 || linkUuid === null) {
8788
- throw new Error("Missing the required parameter 'linkUuid' when calling pgPreviewAuthRedirectAppIdLinkUuidHead_0");
8789
- }
8790
- if (appId === void 0 || appId === null) {
8791
- throw new Error("Missing the required parameter 'appId' when calling pgPreviewAuthRedirectAppIdLinkUuidHead_0");
8557
+ throw new Error("Missing the required parameter 'linkUuid' when calling pgLoginV2FormatTypeAppIdLinkUuidGet");
8558
+ }
8559
+ if (appId === void 0 || appId === null) {
8560
+ throw new Error("Missing the required parameter 'appId' when calling pgLoginV2FormatTypeAppIdLinkUuidGet");
8561
+ }
8562
+ if (formatType === void 0 || formatType === null) {
8563
+ throw new Error("Missing the required parameter 'formatType' when calling pgLoginV2FormatTypeAppIdLinkUuidGet");
8792
8564
  }
8793
8565
  let pathParams = {
8794
8566
  "link_uuid": linkUuid,
8795
- "app_id": appId
8567
+ "app_id": appId,
8568
+ "format_type": formatType
8796
8569
  };
8797
8570
  let queryParams = {};
8798
8571
  let headerParams = {};
@@ -8802,476 +8575,8 @@
8802
8575
  let accepts = ["application/json"];
8803
8576
  let returnType = Object;
8804
8577
  return this.apiClient.callApi(
8805
- "/auth/redirect/{app_id}/{link_uuid}",
8806
- "HEAD",
8807
- pathParams,
8808
- queryParams,
8809
- headerParams,
8810
- formParams,
8811
- postBody,
8812
- authNames,
8813
- contentTypes,
8814
- accepts,
8815
- returnType,
8816
- null,
8817
- callback
8818
- );
8819
- }
8820
- /**
8821
- * Callback function to receive the result of the pgStartZoomMeetingAuthZoomStartAppIdLinkUuidPost operation.
8822
- * @callback module:api/AuthApi~pgStartZoomMeetingAuthZoomStartAppIdLinkUuidPostCallback
8823
- * @param {String} error Error message, if any.
8824
- * @param {Object} data The data returned by the service call.
8825
- * @param {String} response The complete HTTP response.
8826
- */
8827
- /**
8828
- * Pg Start Zoom Meeting
8829
- * @param {Number} appId
8830
- * @param {String} linkUuid
8831
- * @param {module:model/StartMeetingRequest} startMeetingRequest
8832
- * @param {Object} opts Optional parameters
8833
- * @param {String} [clientSecret = 'ghFlPlwVN11IQuTIEj4nlB1i67iQQel9')]
8834
- * @param {String} [clientId = '7c19WxdRTkyf9w0EDbbfbg')]
8835
- * @param {module:api/AuthApi~pgStartZoomMeetingAuthZoomStartAppIdLinkUuidPostCallback} callback The callback function, accepting three arguments: error, data, response
8836
- * data is of type: {@link Object}
8837
- */
8838
- pgStartZoomMeetingAuthZoomStartAppIdLinkUuidPost(appId, linkUuid, startMeetingRequest, opts, callback) {
8839
- opts = opts || {};
8840
- let postBody = startMeetingRequest;
8841
- if (appId === void 0 || appId === null) {
8842
- throw new Error("Missing the required parameter 'appId' when calling pgStartZoomMeetingAuthZoomStartAppIdLinkUuidPost");
8843
- }
8844
- if (linkUuid === void 0 || linkUuid === null) {
8845
- throw new Error("Missing the required parameter 'linkUuid' when calling pgStartZoomMeetingAuthZoomStartAppIdLinkUuidPost");
8846
- }
8847
- if (startMeetingRequest === void 0 || startMeetingRequest === null) {
8848
- throw new Error("Missing the required parameter 'startMeetingRequest' when calling pgStartZoomMeetingAuthZoomStartAppIdLinkUuidPost");
8849
- }
8850
- let pathParams = {
8851
- "app_id": appId,
8852
- "link_uuid": linkUuid
8853
- };
8854
- let queryParams = {
8855
- "client_secret": opts["clientSecret"],
8856
- "client_id": opts["clientId"]
8857
- };
8858
- let headerParams = {};
8859
- let formParams = {};
8860
- let authNames = [];
8861
- let contentTypes = ["application/json"];
8862
- let accepts = ["application/json"];
8863
- let returnType = Object;
8864
- return this.apiClient.callApi(
8865
- "/auth/zoom/start/{app_id}/{link_uuid}",
8866
- "POST",
8867
- pathParams,
8868
- queryParams,
8869
- headerParams,
8870
- formParams,
8871
- postBody,
8872
- authNames,
8873
- contentTypes,
8874
- accepts,
8875
- returnType,
8876
- null,
8877
- callback
8878
- );
8879
- }
8880
- /**
8881
- * Callback function to receive the result of the pgStartZoomMeetingAuthZoomStartAppIdLinkUuidPost_0 operation.
8882
- * @callback module:api/AuthApi~pgStartZoomMeetingAuthZoomStartAppIdLinkUuidPost_0Callback
8883
- * @param {String} error Error message, if any.
8884
- * @param {Object} data The data returned by the service call.
8885
- * @param {String} response The complete HTTP response.
8886
- */
8887
- /**
8888
- * Pg Start Zoom Meeting
8889
- * @param {Number} appId
8890
- * @param {String} linkUuid
8891
- * @param {module:model/StartMeetingRequest} startMeetingRequest
8892
- * @param {Object} opts Optional parameters
8893
- * @param {String} [clientSecret = 'ghFlPlwVN11IQuTIEj4nlB1i67iQQel9')]
8894
- * @param {String} [clientId = '7c19WxdRTkyf9w0EDbbfbg')]
8895
- * @param {module:api/AuthApi~pgStartZoomMeetingAuthZoomStartAppIdLinkUuidPost_0Callback} callback The callback function, accepting three arguments: error, data, response
8896
- * data is of type: {@link Object}
8897
- */
8898
- pgStartZoomMeetingAuthZoomStartAppIdLinkUuidPost_0(appId, linkUuid, startMeetingRequest, opts, callback) {
8899
- opts = opts || {};
8900
- let postBody = startMeetingRequest;
8901
- if (appId === void 0 || appId === null) {
8902
- throw new Error("Missing the required parameter 'appId' when calling pgStartZoomMeetingAuthZoomStartAppIdLinkUuidPost_0");
8903
- }
8904
- if (linkUuid === void 0 || linkUuid === null) {
8905
- throw new Error("Missing the required parameter 'linkUuid' when calling pgStartZoomMeetingAuthZoomStartAppIdLinkUuidPost_0");
8906
- }
8907
- if (startMeetingRequest === void 0 || startMeetingRequest === null) {
8908
- throw new Error("Missing the required parameter 'startMeetingRequest' when calling pgStartZoomMeetingAuthZoomStartAppIdLinkUuidPost_0");
8909
- }
8910
- let pathParams = {
8911
- "app_id": appId,
8912
- "link_uuid": linkUuid
8913
- };
8914
- let queryParams = {
8915
- "client_secret": opts["clientSecret"],
8916
- "client_id": opts["clientId"]
8917
- };
8918
- let headerParams = {};
8919
- let formParams = {};
8920
- let authNames = [];
8921
- let contentTypes = ["application/json"];
8922
- let accepts = ["application/json"];
8923
- let returnType = Object;
8924
- return this.apiClient.callApi(
8925
- "/auth/zoom/start/{app_id}/{link_uuid}",
8926
- "POST",
8927
- pathParams,
8928
- queryParams,
8929
- headerParams,
8930
- formParams,
8931
- postBody,
8932
- authNames,
8933
- contentTypes,
8934
- accepts,
8935
- returnType,
8936
- null,
8937
- callback
8938
- );
8939
- }
8940
- };
8941
-
8942
- // src/generated/src/api/BlockingApi.js
8943
- var BlockingApi = class {
8944
- /**
8945
- * Constructs a new BlockingApi.
8946
- * @alias module:api/BlockingApi
8947
- * @class
8948
- * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
8949
- * default to {@link module:ApiClient#instance} if unspecified.
8950
- */
8951
- constructor(apiClient) {
8952
- this.apiClient = apiClient || ApiClient_default.instance;
8953
- }
8954
- /**
8955
- * Callback function to receive the result of the ftcDeleteBlockingFtcDelete operation.
8956
- * @callback module:api/BlockingApi~ftcDeleteBlockingFtcDeleteCallback
8957
- * @param {String} error Error message, if any.
8958
- * @param {Object} data The data returned by the service call.
8959
- * @param {String} response The complete HTTP response.
8960
- */
8961
- /**
8962
- * Ftc Delete
8963
- * @param {module:api/BlockingApi~ftcDeleteBlockingFtcDeleteCallback} callback The callback function, accepting three arguments: error, data, response
8964
- * data is of type: {@link Object}
8965
- */
8966
- ftcDeleteBlockingFtcDelete(callback) {
8967
- let postBody = null;
8968
- let pathParams = {};
8969
- let queryParams = {};
8970
- let headerParams = {};
8971
- let formParams = {};
8972
- let authNames = [];
8973
- let contentTypes = [];
8974
- let accepts = ["application/json"];
8975
- let returnType = Object;
8976
- return this.apiClient.callApi(
8977
- "/blocking/ftc",
8978
- "DELETE",
8979
- pathParams,
8980
- queryParams,
8981
- headerParams,
8982
- formParams,
8983
- postBody,
8984
- authNames,
8985
- contentTypes,
8986
- accepts,
8987
- returnType,
8988
- null,
8989
- callback
8990
- );
8991
- }
8992
- /**
8993
- * Callback function to receive the result of the ftcPullBlockingFtcpullPost operation.
8994
- * @callback module:api/BlockingApi~ftcPullBlockingFtcpullPostCallback
8995
- * @param {String} error Error message, if any.
8996
- * @param {Object} data The data returned by the service call.
8997
- * @param {String} response The complete HTTP response.
8998
- */
8999
- /**
9000
- * Ftc Pull
9001
- * @param {module:api/BlockingApi~ftcPullBlockingFtcpullPostCallback} callback The callback function, accepting three arguments: error, data, response
9002
- * data is of type: {@link Object}
9003
- */
9004
- ftcPullBlockingFtcpullPost(callback) {
9005
- let postBody = null;
9006
- let pathParams = {};
9007
- let queryParams = {};
9008
- let headerParams = {};
9009
- let formParams = {};
9010
- let authNames = [];
9011
- let contentTypes = [];
9012
- let accepts = ["application/json"];
9013
- let returnType = Object;
9014
- return this.apiClient.callApi(
9015
- "/blocking/ftcpull",
9016
- "POST",
9017
- pathParams,
9018
- queryParams,
9019
- headerParams,
9020
- formParams,
9021
- postBody,
9022
- authNames,
9023
- contentTypes,
9024
- accepts,
9025
- returnType,
9026
- null,
9027
- callback
9028
- );
9029
- }
9030
- /**
9031
- * Callback function to receive the result of the fullReportBlockingFullreportGet operation.
9032
- * @callback module:api/BlockingApi~fullReportBlockingFullreportGetCallback
9033
- * @param {String} error Error message, if any.
9034
- * @param {Object} data The data returned by the service call.
9035
- * @param {String} response The complete HTTP response.
9036
- */
9037
- /**
9038
- * Full Report
9039
- * @param {module:api/BlockingApi~fullReportBlockingFullreportGetCallback} callback The callback function, accepting three arguments: error, data, response
9040
- * data is of type: {@link Object}
9041
- */
9042
- fullReportBlockingFullreportGet(callback) {
9043
- let postBody = null;
9044
- let pathParams = {};
9045
- let queryParams = {};
9046
- let headerParams = {};
9047
- let formParams = {};
9048
- let authNames = [];
9049
- let contentTypes = [];
9050
- let accepts = ["application/json"];
9051
- let returnType = Object;
9052
- return this.apiClient.callApi(
9053
- "/blocking/fullreport",
9054
- "GET",
9055
- pathParams,
9056
- queryParams,
9057
- headerParams,
9058
- formParams,
9059
- postBody,
9060
- authNames,
9061
- contentTypes,
9062
- accepts,
9063
- returnType,
9064
- null,
9065
- callback
9066
- );
9067
- }
9068
- /**
9069
- * Callback function to receive the result of the fullReportBlockingFullreportPost operation.
9070
- * @callback module:api/BlockingApi~fullReportBlockingFullreportPostCallback
9071
- * @param {String} error Error message, if any.
9072
- * @param {Object} data The data returned by the service call.
9073
- * @param {String} response The complete HTTP response.
9074
- */
9075
- /**
9076
- * Full Report
9077
- * @param {module:api/BlockingApi~fullReportBlockingFullreportPostCallback} callback The callback function, accepting three arguments: error, data, response
9078
- * data is of type: {@link Object}
9079
- */
9080
- fullReportBlockingFullreportPost(callback) {
9081
- let postBody = null;
9082
- let pathParams = {};
9083
- let queryParams = {};
9084
- let headerParams = {};
9085
- let formParams = {};
9086
- let authNames = [];
9087
- let contentTypes = [];
9088
- let accepts = ["application/json"];
9089
- let returnType = Object;
9090
- return this.apiClient.callApi(
9091
- "/blocking/fullreport",
9092
- "POST",
9093
- pathParams,
9094
- queryParams,
9095
- headerParams,
9096
- formParams,
9097
- postBody,
9098
- authNames,
9099
- contentTypes,
9100
- accepts,
9101
- returnType,
9102
- null,
9103
- callback
9104
- );
9105
- }
9106
- /**
9107
- * Callback function to receive the result of the fullReportHeadBlockingFullreportHead operation.
9108
- * @callback module:api/BlockingApi~fullReportHeadBlockingFullreportHeadCallback
9109
- * @param {String} error Error message, if any.
9110
- * @param {Object} data The data returned by the service call.
9111
- * @param {String} response The complete HTTP response.
9112
- */
9113
- /**
9114
- * Full Report Head
9115
- * @param {module:api/BlockingApi~fullReportHeadBlockingFullreportHeadCallback} callback The callback function, accepting three arguments: error, data, response
9116
- * data is of type: {@link Object}
9117
- */
9118
- fullReportHeadBlockingFullreportHead(callback) {
9119
- let postBody = null;
9120
- let pathParams = {};
9121
- let queryParams = {};
9122
- let headerParams = {};
9123
- let formParams = {};
9124
- let authNames = [];
9125
- let contentTypes = [];
9126
- let accepts = ["application/json"];
9127
- let returnType = Object;
9128
- return this.apiClient.callApi(
9129
- "/blocking/fullreport",
9130
- "HEAD",
9131
- pathParams,
9132
- queryParams,
9133
- headerParams,
9134
- formParams,
9135
- postBody,
9136
- authNames,
9137
- contentTypes,
9138
- accepts,
9139
- returnType,
9140
- null,
9141
- callback
9142
- );
9143
- }
9144
- };
9145
-
9146
- // src/generated/src/api/CallsApi.js
9147
- var CallsApi = class {
9148
- /**
9149
- * Constructs a new CallsApi.
9150
- * @alias module:api/CallsApi
9151
- * @class
9152
- * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
9153
- * default to {@link module:ApiClient#instance} if unspecified.
9154
- */
9155
- constructor(apiClient) {
9156
- this.apiClient = apiClient || ApiClient_default.instance;
9157
- }
9158
- /**
9159
- * Callback function to receive the result of the cancelCallCancelCallCallIdPost operation.
9160
- * @callback module:api/CallsApi~cancelCallCancelCallCallIdPostCallback
9161
- * @param {String} error Error message, if any.
9162
- * @param {Object} data The data returned by the service call.
9163
- * @param {String} response The complete HTTP response.
9164
- */
9165
- /**
9166
- * Cancel Call
9167
- * @param {String} callId
9168
- * @param {module:api/CallsApi~cancelCallCancelCallCallIdPostCallback} callback The callback function, accepting three arguments: error, data, response
9169
- * data is of type: {@link Object}
9170
- */
9171
- cancelCallCancelCallCallIdPost(callId, callback) {
9172
- let postBody = null;
9173
- if (callId === void 0 || callId === null) {
9174
- throw new Error("Missing the required parameter 'callId' when calling cancelCallCancelCallCallIdPost");
9175
- }
9176
- let pathParams = {
9177
- "call_id": callId
9178
- };
9179
- let queryParams = {};
9180
- let headerParams = {};
9181
- let formParams = {};
9182
- let authNames = [];
9183
- let contentTypes = [];
9184
- let accepts = ["application/json"];
9185
- let returnType = Object;
9186
- return this.apiClient.callApi(
9187
- "/cancel_call/{call_id}",
9188
- "POST",
9189
- pathParams,
9190
- queryParams,
9191
- headerParams,
9192
- formParams,
9193
- postBody,
9194
- authNames,
9195
- contentTypes,
9196
- accepts,
9197
- returnType,
9198
- null,
9199
- callback
9200
- );
9201
- }
9202
- /**
9203
- * Callback function to receive the result of the joinCallJoinCallCallIdPost operation.
9204
- * @callback module:api/CallsApi~joinCallJoinCallCallIdPostCallback
9205
- * @param {String} error Error message, if any.
9206
- * @param {Object} data The data returned by the service call.
9207
- * @param {String} response The complete HTTP response.
9208
- */
9209
- /**
9210
- * Join Call
9211
- * @param {String} callId
9212
- * @param {module:api/CallsApi~joinCallJoinCallCallIdPostCallback} callback The callback function, accepting three arguments: error, data, response
9213
- * data is of type: {@link Object}
9214
- */
9215
- joinCallJoinCallCallIdPost(callId, callback) {
9216
- let postBody = null;
9217
- if (callId === void 0 || callId === null) {
9218
- throw new Error("Missing the required parameter 'callId' when calling joinCallJoinCallCallIdPost");
9219
- }
9220
- let pathParams = {
9221
- "call_id": callId
9222
- };
9223
- let queryParams = {};
9224
- let headerParams = {};
9225
- let formParams = {};
9226
- let authNames = [];
9227
- let contentTypes = [];
9228
- let accepts = ["application/json"];
9229
- let returnType = Object;
9230
- return this.apiClient.callApi(
9231
- "/join_call/{call_id}",
9232
- "POST",
9233
- pathParams,
9234
- queryParams,
9235
- headerParams,
9236
- formParams,
9237
- postBody,
9238
- authNames,
9239
- contentTypes,
9240
- accepts,
9241
- returnType,
9242
- null,
9243
- callback
9244
- );
9245
- }
9246
- /**
9247
- * Callback function to receive the result of the startCallStartCallPost operation.
9248
- * @callback module:api/CallsApi~startCallStartCallPostCallback
9249
- * @param {String} error Error message, if any.
9250
- * @param {Object} data The data returned by the service call.
9251
- * @param {String} response The complete HTTP response.
9252
- */
9253
- /**
9254
- * Start Call
9255
- * @param {module:model/ApiModelsApiCallModelsCallRequest} apiModelsApiCallModelsCallRequest
9256
- * @param {module:api/CallsApi~startCallStartCallPostCallback} callback The callback function, accepting three arguments: error, data, response
9257
- * data is of type: {@link Object}
9258
- */
9259
- startCallStartCallPost(apiModelsApiCallModelsCallRequest, callback) {
9260
- let postBody = apiModelsApiCallModelsCallRequest;
9261
- if (apiModelsApiCallModelsCallRequest === void 0 || apiModelsApiCallModelsCallRequest === null) {
9262
- throw new Error("Missing the required parameter 'apiModelsApiCallModelsCallRequest' when calling startCallStartCallPost");
9263
- }
9264
- let pathParams = {};
9265
- let queryParams = {};
9266
- let headerParams = {};
9267
- let formParams = {};
9268
- let authNames = [];
9269
- let contentTypes = ["application/json"];
9270
- let accepts = ["application/json"];
9271
- let returnType = Object;
9272
- return this.apiClient.callApi(
9273
- "/start_call/",
9274
- "POST",
8578
+ "/v2/{format_type}/{app_id}/{link_uuid}",
8579
+ "GET",
9275
8580
  pathParams,
9276
8581
  queryParams,
9277
8582
  headerParams,
@@ -9285,36 +8590,36 @@
9285
8590
  callback
9286
8591
  );
9287
8592
  }
9288
- };
9289
-
9290
- // src/generated/src/api/DefaultApi.js
9291
- var DefaultApi = class {
9292
- /**
9293
- * Constructs a new DefaultApi.
9294
- * @alias module:api/DefaultApi
9295
- * @class
9296
- * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
9297
- * default to {@link module:ApiClient#instance} if unspecified.
9298
- */
9299
- constructor(apiClient) {
9300
- this.apiClient = apiClient || ApiClient_default.instance;
9301
- }
9302
8593
  /**
9303
- * Callback function to receive the result of the rootGet operation.
9304
- * @callback module:api/DefaultApi~rootGetCallback
8594
+ * Callback function to receive the result of the pgLoginV2LinkUuidGet operation.
8595
+ * @callback module:api/SecureLinksApi~pgLoginV2LinkUuidGetCallback
9305
8596
  * @param {String} error Error message, if any.
9306
8597
  * @param {Object} data The data returned by the service call.
9307
8598
  * @param {String} response The complete HTTP response.
9308
8599
  */
9309
8600
  /**
9310
- * Root
9311
- * @param {module:api/DefaultApi~rootGetCallback} callback The callback function, accepting three arguments: error, data, response
8601
+ * Pg Login
8602
+ * PRESENTS LOGIN PAGE ON DESKTOP. HIJACKED by PSL ON MOBILE and REDIRECTED BY DECORATOR.
8603
+ * @param {String} linkUuid
8604
+ * @param {Object} opts Optional parameters
8605
+ * @param {String} [appId]
8606
+ * @param {String} [formatType = 'A')]
8607
+ * @param {module:api/SecureLinksApi~pgLoginV2LinkUuidGetCallback} callback The callback function, accepting three arguments: error, data, response
9312
8608
  * data is of type: {@link Object}
9313
8609
  */
9314
- rootGet(callback) {
8610
+ pgLoginV2LinkUuidGet(linkUuid, opts, callback) {
8611
+ opts = opts || {};
9315
8612
  let postBody = null;
9316
- let pathParams = {};
9317
- let queryParams = {};
8613
+ if (linkUuid === void 0 || linkUuid === null) {
8614
+ throw new Error("Missing the required parameter 'linkUuid' when calling pgLoginV2LinkUuidGet");
8615
+ }
8616
+ let pathParams = {
8617
+ "link_uuid": linkUuid
8618
+ };
8619
+ let queryParams = {
8620
+ "app_id": opts["appId"],
8621
+ "format_type": opts["formatType"]
8622
+ };
9318
8623
  let headerParams = {};
9319
8624
  let formParams = {};
9320
8625
  let authNames = [];
@@ -9322,7 +8627,7 @@
9322
8627
  let accepts = ["application/json"];
9323
8628
  let returnType = Object;
9324
8629
  return this.apiClient.callApi(
9325
- "/",
8630
+ "/v2/{link_uuid}",
9326
8631
  "GET",
9327
8632
  pathParams,
9328
8633
  queryParams,
@@ -9338,20 +8643,26 @@
9338
8643
  );
9339
8644
  }
9340
8645
  /**
9341
- * Callback function to receive the result of the rootHealthGet operation.
9342
- * @callback module:api/DefaultApi~rootHealthGetCallback
8646
+ * Callback function to receive the result of the pgPollV2PollPcreGet operation.
8647
+ * @callback module:api/SecureLinksApi~pgPollV2PollPcreGetCallback
9343
8648
  * @param {String} error Error message, if any.
9344
8649
  * @param {Object} data The data returned by the service call.
9345
8650
  * @param {String} response The complete HTTP response.
9346
8651
  */
9347
8652
  /**
9348
- * Root
9349
- * @param {module:api/DefaultApi~rootHealthGetCallback} callback The callback function, accepting three arguments: error, data, response
8653
+ * Pg Poll
8654
+ * @param {String} pcre
8655
+ * @param {module:api/SecureLinksApi~pgPollV2PollPcreGetCallback} callback The callback function, accepting three arguments: error, data, response
9350
8656
  * data is of type: {@link Object}
9351
8657
  */
9352
- rootHealthGet(callback) {
8658
+ pgPollV2PollPcreGet(pcre, callback) {
9353
8659
  let postBody = null;
9354
- let pathParams = {};
8660
+ if (pcre === void 0 || pcre === null) {
8661
+ throw new Error("Missing the required parameter 'pcre' when calling pgPollV2PollPcreGet");
8662
+ }
8663
+ let pathParams = {
8664
+ "pcre": pcre
8665
+ };
9355
8666
  let queryParams = {};
9356
8667
  let headerParams = {};
9357
8668
  let formParams = {};
@@ -9360,7 +8671,7 @@
9360
8671
  let accepts = ["application/json"];
9361
8672
  let returnType = Object;
9362
8673
  return this.apiClient.callApi(
9363
- "/health",
8674
+ "/v2/poll/{pcre}",
9364
8675
  "GET",
9365
8676
  pathParams,
9366
8677
  queryParams,
@@ -10122,6 +9433,134 @@
10122
9433
  }
10123
9434
  };
10124
9435
 
9436
+ // src/generated/src/api/WellKnownApi.js
9437
+ var WellKnownApi = class {
9438
+ /**
9439
+ * Constructs a new WellKnownApi.
9440
+ * @alias module:api/WellKnownApi
9441
+ * @class
9442
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
9443
+ * default to {@link module:ApiClient#instance} if unspecified.
9444
+ */
9445
+ constructor(apiClient) {
9446
+ this.apiClient = apiClient || ApiClient_default.instance;
9447
+ }
9448
+ /**
9449
+ * Callback function to receive the result of the appleAppSiteAssociationAppleAppSiteAssociationGet operation.
9450
+ * @callback module:api/WellKnownApi~appleAppSiteAssociationAppleAppSiteAssociationGetCallback
9451
+ * @param {String} error Error message, if any.
9452
+ * @param {Object} data The data returned by the service call.
9453
+ * @param {String} response The complete HTTP response.
9454
+ */
9455
+ /**
9456
+ * Apple App Site Association
9457
+ * @param {module:api/WellKnownApi~appleAppSiteAssociationAppleAppSiteAssociationGetCallback} callback The callback function, accepting three arguments: error, data, response
9458
+ * data is of type: {@link Object}
9459
+ */
9460
+ appleAppSiteAssociationAppleAppSiteAssociationGet(callback) {
9461
+ let postBody = null;
9462
+ let pathParams = {};
9463
+ let queryParams = {};
9464
+ let headerParams = {};
9465
+ let formParams = {};
9466
+ let authNames = [];
9467
+ let contentTypes = [];
9468
+ let accepts = ["application/json"];
9469
+ let returnType = Object;
9470
+ return this.apiClient.callApi(
9471
+ "/apple-app-site-association",
9472
+ "GET",
9473
+ pathParams,
9474
+ queryParams,
9475
+ headerParams,
9476
+ formParams,
9477
+ postBody,
9478
+ authNames,
9479
+ contentTypes,
9480
+ accepts,
9481
+ returnType,
9482
+ null,
9483
+ callback
9484
+ );
9485
+ }
9486
+ /**
9487
+ * Callback function to receive the result of the appleAppSiteAssociationWellKnownAppleAppSiteAssociationGet operation.
9488
+ * @callback module:api/WellKnownApi~appleAppSiteAssociationWellKnownAppleAppSiteAssociationGetCallback
9489
+ * @param {String} error Error message, if any.
9490
+ * @param {Object} data The data returned by the service call.
9491
+ * @param {String} response The complete HTTP response.
9492
+ */
9493
+ /**
9494
+ * Apple App Site Association
9495
+ * @param {module:api/WellKnownApi~appleAppSiteAssociationWellKnownAppleAppSiteAssociationGetCallback} callback The callback function, accepting three arguments: error, data, response
9496
+ * data is of type: {@link Object}
9497
+ */
9498
+ appleAppSiteAssociationWellKnownAppleAppSiteAssociationGet(callback) {
9499
+ let postBody = null;
9500
+ let pathParams = {};
9501
+ let queryParams = {};
9502
+ let headerParams = {};
9503
+ let formParams = {};
9504
+ let authNames = [];
9505
+ let contentTypes = [];
9506
+ let accepts = ["application/json"];
9507
+ let returnType = Object;
9508
+ return this.apiClient.callApi(
9509
+ "/.well-known/apple-app-site-association",
9510
+ "GET",
9511
+ pathParams,
9512
+ queryParams,
9513
+ headerParams,
9514
+ formParams,
9515
+ postBody,
9516
+ authNames,
9517
+ contentTypes,
9518
+ accepts,
9519
+ returnType,
9520
+ null,
9521
+ callback
9522
+ );
9523
+ }
9524
+ /**
9525
+ * Callback function to receive the result of the jwksWellKnownJwksJsonGet operation.
9526
+ * @callback module:api/WellKnownApi~jwksWellKnownJwksJsonGetCallback
9527
+ * @param {String} error Error message, if any.
9528
+ * @param {Object} data The data returned by the service call.
9529
+ * @param {String} response The complete HTTP response.
9530
+ */
9531
+ /**
9532
+ * Jwks
9533
+ * @param {module:api/WellKnownApi~jwksWellKnownJwksJsonGetCallback} callback The callback function, accepting three arguments: error, data, response
9534
+ * data is of type: {@link Object}
9535
+ */
9536
+ jwksWellKnownJwksJsonGet(callback) {
9537
+ let postBody = null;
9538
+ let pathParams = {};
9539
+ let queryParams = {};
9540
+ let headerParams = {};
9541
+ let formParams = {};
9542
+ let authNames = [];
9543
+ let contentTypes = [];
9544
+ let accepts = ["application/json"];
9545
+ let returnType = Object;
9546
+ return this.apiClient.callApi(
9547
+ "/.well-known/jwks.json",
9548
+ "GET",
9549
+ pathParams,
9550
+ queryParams,
9551
+ headerParams,
9552
+ formParams,
9553
+ postBody,
9554
+ authNames,
9555
+ contentTypes,
9556
+ accepts,
9557
+ returnType,
9558
+ null,
9559
+ callback
9560
+ );
9561
+ }
9562
+ };
9563
+
10125
9564
  // src/generated/src/api/ZoomApi.js
10126
9565
  var ZoomApi = class {
10127
9566
  /**
@@ -10262,8 +9701,8 @@
10262
9701
  * Get a ticket for the given account ID and uid for webhook startup.
10263
9702
  * @param {String} accountId
10264
9703
  * @param {Object} opts Optional parameters
10265
- * @param {String} [clientSecret = 'ghFlPlwVN11IQuTIEj4nlB1i67iQQel9')]
10266
- * @param {String} [clientId = '7c19WxdRTkyf9w0EDbbfbg')]
9704
+ * @param {String} [clientSecret = 'ARlaFJJRMWLexEnPW4AtkCmHmerOaIGc')]
9705
+ * @param {String} [clientId = 'qxzT5xZCRmCDnvUqbnqHtw')]
10267
9706
  * @param {module:api/ZoomApi~getTicketZoomPhoneTicketAccountIdPostCallback} callback The callback function, accepting three arguments: error, data, response
10268
9707
  * data is of type: {@link Object}
10269
9708
  */
@@ -10396,6 +9835,117 @@
10396
9835
  callback
10397
9836
  );
10398
9837
  }
9838
+ /**
9839
+ * Callback function to receive the result of the pgGetMeetingDetailsV2ZoomMeetingMeetingUuidGet operation.
9840
+ * @callback module:api/ZoomApi~pgGetMeetingDetailsV2ZoomMeetingMeetingUuidGetCallback
9841
+ * @param {String} error Error message, if any.
9842
+ * @param {Object} data The data returned by the service call.
9843
+ * @param {String} response The complete HTTP response.
9844
+ */
9845
+ /**
9846
+ * Pg Get Meeting Details
9847
+ * @param {String} meetingUuid
9848
+ * @param {Object} opts Optional parameters
9849
+ * @param {String} [clientSecret = 'ARlaFJJRMWLexEnPW4AtkCmHmerOaIGc')]
9850
+ * @param {String} [clientId = 'qxzT5xZCRmCDnvUqbnqHtw')]
9851
+ * @param {module:api/ZoomApi~pgGetMeetingDetailsV2ZoomMeetingMeetingUuidGetCallback} callback The callback function, accepting three arguments: error, data, response
9852
+ * data is of type: {@link Object}
9853
+ */
9854
+ pgGetMeetingDetailsV2ZoomMeetingMeetingUuidGet(meetingUuid, opts, callback) {
9855
+ opts = opts || {};
9856
+ let postBody = null;
9857
+ if (meetingUuid === void 0 || meetingUuid === null) {
9858
+ throw new Error("Missing the required parameter 'meetingUuid' when calling pgGetMeetingDetailsV2ZoomMeetingMeetingUuidGet");
9859
+ }
9860
+ let pathParams = {
9861
+ "meeting_uuid": meetingUuid
9862
+ };
9863
+ let queryParams = {
9864
+ "client_secret": opts["clientSecret"],
9865
+ "client_id": opts["clientId"]
9866
+ };
9867
+ let headerParams = {};
9868
+ let formParams = {};
9869
+ let authNames = [];
9870
+ let contentTypes = [];
9871
+ let accepts = ["application/json"];
9872
+ let returnType = Object;
9873
+ return this.apiClient.callApi(
9874
+ "/v2/zoom/meeting/{meeting_uuid}",
9875
+ "GET",
9876
+ pathParams,
9877
+ queryParams,
9878
+ headerParams,
9879
+ formParams,
9880
+ postBody,
9881
+ authNames,
9882
+ contentTypes,
9883
+ accepts,
9884
+ returnType,
9885
+ null,
9886
+ callback
9887
+ );
9888
+ }
9889
+ /**
9890
+ * Callback function to receive the result of the pgStartZoomMeetingV2ZoomStartAppIdLinkUuidPost operation.
9891
+ * @callback module:api/ZoomApi~pgStartZoomMeetingV2ZoomStartAppIdLinkUuidPostCallback
9892
+ * @param {String} error Error message, if any.
9893
+ * @param {Object} data The data returned by the service call.
9894
+ * @param {String} response The complete HTTP response.
9895
+ */
9896
+ /**
9897
+ * Pg Start Zoom Meeting
9898
+ * @param {String} appId
9899
+ * @param {String} linkUuid
9900
+ * @param {module:model/StartMeetingRequest} startMeetingRequest
9901
+ * @param {Object} opts Optional parameters
9902
+ * @param {String} [clientSecret = 'ARlaFJJRMWLexEnPW4AtkCmHmerOaIGc')]
9903
+ * @param {String} [clientId = 'qxzT5xZCRmCDnvUqbnqHtw')]
9904
+ * @param {module:api/ZoomApi~pgStartZoomMeetingV2ZoomStartAppIdLinkUuidPostCallback} callback The callback function, accepting three arguments: error, data, response
9905
+ * data is of type: {@link Object}
9906
+ */
9907
+ pgStartZoomMeetingV2ZoomStartAppIdLinkUuidPost(appId, linkUuid, startMeetingRequest, opts, callback) {
9908
+ opts = opts || {};
9909
+ let postBody = startMeetingRequest;
9910
+ if (appId === void 0 || appId === null) {
9911
+ throw new Error("Missing the required parameter 'appId' when calling pgStartZoomMeetingV2ZoomStartAppIdLinkUuidPost");
9912
+ }
9913
+ if (linkUuid === void 0 || linkUuid === null) {
9914
+ throw new Error("Missing the required parameter 'linkUuid' when calling pgStartZoomMeetingV2ZoomStartAppIdLinkUuidPost");
9915
+ }
9916
+ if (startMeetingRequest === void 0 || startMeetingRequest === null) {
9917
+ throw new Error("Missing the required parameter 'startMeetingRequest' when calling pgStartZoomMeetingV2ZoomStartAppIdLinkUuidPost");
9918
+ }
9919
+ let pathParams = {
9920
+ "app_id": appId,
9921
+ "link_uuid": linkUuid
9922
+ };
9923
+ let queryParams = {
9924
+ "client_secret": opts["clientSecret"],
9925
+ "client_id": opts["clientId"]
9926
+ };
9927
+ let headerParams = {};
9928
+ let formParams = {};
9929
+ let authNames = [];
9930
+ let contentTypes = ["application/json"];
9931
+ let accepts = ["application/json"];
9932
+ let returnType = Object;
9933
+ return this.apiClient.callApi(
9934
+ "/v2/zoom/start/{app_id}/{link_uuid}",
9935
+ "POST",
9936
+ pathParams,
9937
+ queryParams,
9938
+ headerParams,
9939
+ formParams,
9940
+ postBody,
9941
+ authNames,
9942
+ contentTypes,
9943
+ accepts,
9944
+ returnType,
9945
+ null,
9946
+ callback
9947
+ );
9948
+ }
10399
9949
  /**
10400
9950
  * Callback function to receive the result of the redirectToAppStoreZoomPhoneAppStoreGet operation.
10401
9951
  * @callback module:api/ZoomApi~redirectToAppStoreZoomPhoneAppStoreGetCallback
@@ -11485,7 +11035,7 @@
11485
11035
  try {
11486
11036
  clearError();
11487
11037
  const wsProtocol = window.location.protocol === "https:" ? "wss" : "ws";
11488
- const ticketRes = await fetch(`https://${this.apiServer}/auth/ticket/${this.appId}`, {
11038
+ const ticketRes = await fetch(`https://${this.apiServer}/v2/ticket/${this.appId}`, {
11489
11039
  method: "POST",
11490
11040
  headers: { "Content-Type": "application/json" },
11491
11041
  body: JSON.stringify({ requiredProofs: this.requiredProofs })
@@ -11500,7 +11050,7 @@
11500
11050
  showError("No ticket returned from server");
11501
11051
  return;
11502
11052
  }
11503
- const wsUrl = `${wsProtocol}://${this.apiServer}/auth/realtime/${newTicket}`;
11053
+ const wsUrl = `${wsProtocol}://${this.apiServer}/v2/realtime/${newTicket}`;
11504
11054
  ws = new reconnecting_websocket_mjs_default(wsUrl);
11505
11055
  ws.addEventListener("message", (event) => {
11506
11056
  try {