@monarkmarkets/api-client 1.2.18 → 1.2.20

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.
Files changed (3) hide show
  1. package/dist/Client.d.ts +183 -172
  2. package/dist/Client.js +344 -258
  3. package/package.json +1 -1
package/dist/Client.js CHANGED
@@ -17,7 +17,7 @@ export class Client {
17
17
  * @param body (optional) Address information to normalize.
18
18
  * @return Normalized address returned.
19
19
  */
20
- normalize(body) {
20
+ normalizeAddress(body) {
21
21
  let url_ = this.baseUrl + "/primary/v1/address/normalize";
22
22
  url_ = url_.replace(/[?&]$/, "");
23
23
  const content_ = JSON.stringify(body);
@@ -30,10 +30,10 @@ export class Client {
30
30
  }
31
31
  };
32
32
  return this.http.fetch(url_, options_).then((_response) => {
33
- return this.processNormalize(_response);
33
+ return this.processNormalizeAddress(_response);
34
34
  });
35
35
  }
36
- processNormalize(response) {
36
+ processNormalizeAddress(response) {
37
37
  const status = response.status;
38
38
  let _headers = {};
39
39
  if (response.headers && response.headers.forEach) {
@@ -73,7 +73,7 @@ export class Client {
73
73
  * @param id The Document ID for the document to retrieve.
74
74
  * @return OK
75
75
  */
76
- document(id) {
76
+ getDocumentById(id) {
77
77
  let url_ = this.baseUrl + "/primary/v1/document/{id}";
78
78
  if (id === undefined || id === null)
79
79
  throw new Error("The parameter 'id' must be defined.");
@@ -86,10 +86,10 @@ export class Client {
86
86
  }
87
87
  };
88
88
  return this.http.fetch(url_, options_).then((_response) => {
89
- return this.processDocument(_response);
89
+ return this.processGetDocumentById(_response);
90
90
  });
91
91
  }
92
- processDocument(response) {
92
+ processGetDocumentById(response) {
93
93
  const status = response.status;
94
94
  let _headers = {};
95
95
  if (response.headers && response.headers.forEach) {
@@ -137,7 +137,7 @@ export class Client {
137
137
  * @param sortOrder (optional)
138
138
  * @return OK
139
139
  */
140
- document2(investorId, preIPOCompanyId, preIPOCompanySPVId, preIPOCompanyInvestmentId, investorSubscriptionId, registeredFundId, registeredFundSubscriptionId, documentType, page, pageSize, exactMatch, sortOrder) {
140
+ getAllDocuments(investorId, preIPOCompanyId, preIPOCompanySPVId, preIPOCompanyInvestmentId, investorSubscriptionId, registeredFundId, registeredFundSubscriptionId, documentType, page, pageSize, exactMatch, sortOrder) {
141
141
  let url_ = this.baseUrl + "/primary/v1/document?";
142
142
  if (investorId === null)
143
143
  throw new Error("The parameter 'investorId' cannot be null.");
@@ -195,10 +195,10 @@ export class Client {
195
195
  }
196
196
  };
197
197
  return this.http.fetch(url_, options_).then((_response) => {
198
- return this.processDocument2(_response);
198
+ return this.processGetAllDocuments(_response);
199
199
  });
200
200
  }
201
- processDocument2(response) {
201
+ processGetAllDocuments(response) {
202
202
  const status = response.status;
203
203
  let _headers = {};
204
204
  if (response.headers && response.headers.forEach) {
@@ -226,7 +226,7 @@ export class Client {
226
226
  * @param body (optional) Data about the signing.
227
227
  * @return No Content
228
228
  */
229
- sign(id, body) {
229
+ signDocument(id, body) {
230
230
  let url_ = this.baseUrl + "/primary/v1/document/{id}/sign";
231
231
  if (id === undefined || id === null)
232
232
  throw new Error("The parameter 'id' must be defined.");
@@ -241,10 +241,10 @@ export class Client {
241
241
  }
242
242
  };
243
243
  return this.http.fetch(url_, options_).then((_response) => {
244
- return this.processSign(_response);
244
+ return this.processSignDocument(_response);
245
245
  });
246
246
  }
247
- processSign(response) {
247
+ processSignDocument(response) {
248
248
  const status = response.status;
249
249
  let _headers = {};
250
250
  if (response.headers && response.headers.forEach) {
@@ -276,7 +276,7 @@ export class Client {
276
276
  * @param id The Document ID for the document to download.
277
277
  * @param token The secure token required to access the document.
278
278
  */
279
- download(id, token) {
279
+ downloadDocument(id, token) {
280
280
  let url_ = this.baseUrl + "/primary/v1/document/{id}/download/{token}";
281
281
  if (id === undefined || id === null)
282
282
  throw new Error("The parameter 'id' must be defined.");
@@ -290,10 +290,10 @@ export class Client {
290
290
  headers: {}
291
291
  };
292
292
  return this.http.fetch(url_, options_).then((_response) => {
293
- return this.processDownload(_response);
293
+ return this.processDownloadDocument(_response);
294
294
  });
295
295
  }
296
- processDownload(response) {
296
+ processDownloadDocument(response) {
297
297
  const status = response.status;
298
298
  let _headers = {};
299
299
  if (response.headers && response.headers.forEach) {
@@ -333,7 +333,7 @@ export class Client {
333
333
  * @param body (optional) create Financial Advisor information.
334
334
  * @return The newly created Financial Advisor.
335
335
  */
336
- financialAdvisorPOST(body) {
336
+ createFinancialAdvisor(body) {
337
337
  let url_ = this.baseUrl + "/primary/v1/financial-advisor";
338
338
  url_ = url_.replace(/[?&]$/, "");
339
339
  const content_ = JSON.stringify(body);
@@ -346,10 +346,10 @@ export class Client {
346
346
  }
347
347
  };
348
348
  return this.http.fetch(url_, options_).then((_response) => {
349
- return this.processFinancialAdvisorPOST(_response);
349
+ return this.processCreateFinancialAdvisor(_response);
350
350
  });
351
351
  }
352
- processFinancialAdvisorPOST(response) {
352
+ processCreateFinancialAdvisor(response) {
353
353
  const status = response.status;
354
354
  let _headers = {};
355
355
  if (response.headers && response.headers.forEach) {
@@ -384,7 +384,7 @@ export class Client {
384
384
  * @param body (optional) update Financial Advisor information.
385
385
  * @return The updated Financial Advisor.
386
386
  */
387
- financialAdvisorPUT(body) {
387
+ updateFinancialAdvisor(body) {
388
388
  let url_ = this.baseUrl + "/primary/v1/financial-advisor";
389
389
  url_ = url_.replace(/[?&]$/, "");
390
390
  const content_ = JSON.stringify(body);
@@ -397,10 +397,10 @@ export class Client {
397
397
  }
398
398
  };
399
399
  return this.http.fetch(url_, options_).then((_response) => {
400
- return this.processFinancialAdvisorPUT(_response);
400
+ return this.processUpdateFinancialAdvisor(_response);
401
401
  });
402
402
  }
403
- processFinancialAdvisorPUT(response) {
403
+ processUpdateFinancialAdvisor(response) {
404
404
  const status = response.status;
405
405
  let _headers = {};
406
406
  if (response.headers && response.headers.forEach) {
@@ -440,7 +440,7 @@ export class Client {
440
440
  * @param financialInstitutionId (optional) Optional filter by Financial Institution ID.
441
441
  * @return Returns the list of Financial Advisors.
442
442
  */
443
- financialAdvisorGET(page, pageSize, sortOrder, financialInstitutionId) {
443
+ getAllFinancialAdvisors(page, pageSize, sortOrder, financialInstitutionId) {
444
444
  let url_ = this.baseUrl + "/primary/v1/financial-advisor?";
445
445
  if (page === null)
446
446
  throw new Error("The parameter 'page' cannot be null.");
@@ -466,10 +466,10 @@ export class Client {
466
466
  }
467
467
  };
468
468
  return this.http.fetch(url_, options_).then((_response) => {
469
- return this.processFinancialAdvisorGET(_response);
469
+ return this.processGetAllFinancialAdvisors(_response);
470
470
  });
471
471
  }
472
- processFinancialAdvisorGET(response) {
472
+ processGetAllFinancialAdvisors(response) {
473
473
  const status = response.status;
474
474
  let _headers = {};
475
475
  if (response.headers && response.headers.forEach) {
@@ -496,7 +496,7 @@ export class Client {
496
496
  * @param id Id of the Financial Advisor to find.
497
497
  * @return Returns the Financial Advisor with the specified Id.
498
498
  */
499
- financialAdvisorGET2(id) {
499
+ getFinancialAdvisorById(id) {
500
500
  let url_ = this.baseUrl + "/primary/v1/financial-advisor/{id}";
501
501
  if (id === undefined || id === null)
502
502
  throw new Error("The parameter 'id' must be defined.");
@@ -509,10 +509,10 @@ export class Client {
509
509
  }
510
510
  };
511
511
  return this.http.fetch(url_, options_).then((_response) => {
512
- return this.processFinancialAdvisorGET2(_response);
512
+ return this.processGetFinancialAdvisorById(_response);
513
513
  });
514
514
  }
515
- processFinancialAdvisorGET2(response) {
515
+ processGetFinancialAdvisorById(response) {
516
516
  const status = response.status;
517
517
  let _headers = {};
518
518
  if (response.headers && response.headers.forEach) {
@@ -547,7 +547,7 @@ export class Client {
547
547
  * @param id ID of the Financial Institution to retrieve.
548
548
  * @return OK
549
549
  */
550
- financialInstitution(id) {
550
+ getFinancialInstitutionById(id) {
551
551
  let url_ = this.baseUrl + "/primary/v1/financial-institution/{id}";
552
552
  if (id === undefined || id === null)
553
553
  throw new Error("The parameter 'id' must be defined.");
@@ -560,10 +560,10 @@ export class Client {
560
560
  }
561
561
  };
562
562
  return this.http.fetch(url_, options_).then((_response) => {
563
- return this.processFinancialInstitution(_response);
563
+ return this.processGetFinancialInstitutionById(_response);
564
564
  });
565
565
  }
566
- processFinancialInstitution(response) {
566
+ processGetFinancialInstitutionById(response) {
567
567
  const status = response.status;
568
568
  let _headers = {};
569
569
  if (response.headers && response.headers.forEach) {
@@ -603,7 +603,7 @@ export class Client {
603
603
  * @param sortOrder (optional)
604
604
  * @return OK
605
605
  */
606
- financialInstitution2(page, pageSize, referenceId, sortOrder) {
606
+ getAllFinancialInstitutions(page, pageSize, referenceId, sortOrder) {
607
607
  let url_ = this.baseUrl + "/primary/v1/financial-institution?";
608
608
  if (page === null)
609
609
  throw new Error("The parameter 'page' cannot be null.");
@@ -629,10 +629,10 @@ export class Client {
629
629
  }
630
630
  };
631
631
  return this.http.fetch(url_, options_).then((_response) => {
632
- return this.processFinancialInstitution2(_response);
632
+ return this.processGetAllFinancialInstitutions(_response);
633
633
  });
634
634
  }
635
- processFinancialInstitution2(response) {
635
+ processGetAllFinancialInstitutions(response) {
636
636
  const status = response.status;
637
637
  let _headers = {};
638
638
  if (response.headers && response.headers.forEach) {
@@ -659,7 +659,7 @@ export class Client {
659
659
  * @param body (optional) The request containing the updated reference information.
660
660
  * @return No Content
661
661
  */
662
- reference(body) {
662
+ updateFinancialInstitutionReferenceId(body) {
663
663
  let url_ = this.baseUrl + "/primary/v1/financial-institution/reference";
664
664
  url_ = url_.replace(/[?&]$/, "");
665
665
  const content_ = JSON.stringify(body);
@@ -671,10 +671,10 @@ export class Client {
671
671
  }
672
672
  };
673
673
  return this.http.fetch(url_, options_).then((_response) => {
674
- return this.processReference(_response);
674
+ return this.processUpdateFinancialInstitutionReferenceId(_response);
675
675
  });
676
676
  }
677
- processReference(response) {
677
+ processUpdateFinancialInstitutionReferenceId(response) {
678
678
  const status = response.status;
679
679
  let _headers = {};
680
680
  if (response.headers && response.headers.forEach) {
@@ -706,7 +706,7 @@ export class Client {
706
706
  * @param body (optional) create IndicationOfInterest information.
707
707
  * @return The newly created IndicationOfInterest.
708
708
  */
709
- indicationOfInterestPOST(body) {
709
+ createIndicationOfInterest(body) {
710
710
  let url_ = this.baseUrl + "/primary/v1/indication-of-interest";
711
711
  url_ = url_.replace(/[?&]$/, "");
712
712
  const content_ = JSON.stringify(body);
@@ -719,10 +719,10 @@ export class Client {
719
719
  }
720
720
  };
721
721
  return this.http.fetch(url_, options_).then((_response) => {
722
- return this.processIndicationOfInterestPOST(_response);
722
+ return this.processCreateIndicationOfInterest(_response);
723
723
  });
724
724
  }
725
- processIndicationOfInterestPOST(response) {
725
+ processCreateIndicationOfInterest(response) {
726
726
  const status = response.status;
727
727
  let _headers = {};
728
728
  if (response.headers && response.headers.forEach) {
@@ -757,7 +757,7 @@ export class Client {
757
757
  * @param body (optional) Update Indication of Interest information.
758
758
  * @return The updated Indication of Interest.
759
759
  */
760
- indicationOfInterestPUT(body) {
760
+ updateIndicationOfInterest(body) {
761
761
  let url_ = this.baseUrl + "/primary/v1/indication-of-interest";
762
762
  url_ = url_.replace(/[?&]$/, "");
763
763
  const content_ = JSON.stringify(body);
@@ -770,10 +770,10 @@ export class Client {
770
770
  }
771
771
  };
772
772
  return this.http.fetch(url_, options_).then((_response) => {
773
- return this.processIndicationOfInterestPUT(_response);
773
+ return this.processUpdateIndicationOfInterest(_response);
774
774
  });
775
775
  }
776
- processIndicationOfInterestPUT(response) {
776
+ processUpdateIndicationOfInterest(response) {
777
777
  const status = response.status;
778
778
  let _headers = {};
779
779
  if (response.headers && response.headers.forEach) {
@@ -823,7 +823,7 @@ export class Client {
823
823
  * @param sortOrder (optional) Which direction to sort by.
824
824
  * @return Returns the list of IndicationOfInterest.
825
825
  */
826
- indicationOfInterestGET(searchTerm, investorId, page, pageSize, sortProperty, sortOrder) {
826
+ getAllIndicationOfInterests(searchTerm, investorId, page, pageSize, sortProperty, sortOrder) {
827
827
  let url_ = this.baseUrl + "/primary/v1/indication-of-interest?";
828
828
  if (searchTerm === null)
829
829
  throw new Error("The parameter 'searchTerm' cannot be null.");
@@ -857,10 +857,10 @@ export class Client {
857
857
  }
858
858
  };
859
859
  return this.http.fetch(url_, options_).then((_response) => {
860
- return this.processIndicationOfInterestGET(_response);
860
+ return this.processGetAllIndicationOfInterests(_response);
861
861
  });
862
862
  }
863
- processIndicationOfInterestGET(response) {
863
+ processGetAllIndicationOfInterests(response) {
864
864
  const status = response.status;
865
865
  let _headers = {};
866
866
  if (response.headers && response.headers.forEach) {
@@ -887,7 +887,7 @@ export class Client {
887
887
  * @param id The ID of the Indication of Interest to delete.
888
888
  * @return The Indication of Interest was successfully deleted.
889
889
  */
890
- indicationOfInterestDELETE(id) {
890
+ deleteIndicationOfInterest(id) {
891
891
  let url_ = this.baseUrl + "/primary/v1/indication-of-interest/{id}";
892
892
  if (id === undefined || id === null)
893
893
  throw new Error("The parameter 'id' must be defined.");
@@ -898,10 +898,10 @@ export class Client {
898
898
  headers: {}
899
899
  };
900
900
  return this.http.fetch(url_, options_).then((_response) => {
901
- return this.processIndicationOfInterestDELETE(_response);
901
+ return this.processDeleteIndicationOfInterest(_response);
902
902
  });
903
903
  }
904
- processIndicationOfInterestDELETE(response) {
904
+ processDeleteIndicationOfInterest(response) {
905
905
  const status = response.status;
906
906
  let _headers = {};
907
907
  if (response.headers && response.headers.forEach) {
@@ -933,7 +933,7 @@ export class Client {
933
933
  * @param id Unique ID of the IOI to find.
934
934
  * @return Returns the IndicationOfInterest with the specified Id.
935
935
  */
936
- indicationOfInterestGET2(id) {
936
+ getIndicationOfInterestById(id) {
937
937
  let url_ = this.baseUrl + "/primary/v1/indication-of-interest/{id}";
938
938
  if (id === undefined || id === null)
939
939
  throw new Error("The parameter 'id' must be defined.");
@@ -946,10 +946,10 @@ export class Client {
946
946
  }
947
947
  };
948
948
  return this.http.fetch(url_, options_).then((_response) => {
949
- return this.processIndicationOfInterestGET2(_response);
949
+ return this.processGetIndicationOfInterestById(_response);
950
950
  });
951
951
  }
952
- processIndicationOfInterestGET2(response) {
952
+ processGetIndicationOfInterestById(response) {
953
953
  const status = response.status;
954
954
  let _headers = {};
955
955
  if (response.headers && response.headers.forEach) {
@@ -984,7 +984,7 @@ export class Client {
984
984
  * @param body (optional) create Investor information.
985
985
  * @return The created Investor.
986
986
  */
987
- investorPOST(body) {
987
+ createInvestor(body) {
988
988
  let url_ = this.baseUrl + "/primary/v1/investor";
989
989
  url_ = url_.replace(/[?&]$/, "");
990
990
  const content_ = JSON.stringify(body);
@@ -997,10 +997,10 @@ export class Client {
997
997
  }
998
998
  };
999
999
  return this.http.fetch(url_, options_).then((_response) => {
1000
- return this.processInvestorPOST(_response);
1000
+ return this.processCreateInvestor(_response);
1001
1001
  });
1002
1002
  }
1003
- processInvestorPOST(response) {
1003
+ processCreateInvestor(response) {
1004
1004
  const status = response.status;
1005
1005
  let _headers = {};
1006
1006
  if (response.headers && response.headers.forEach) {
@@ -1035,7 +1035,7 @@ export class Client {
1035
1035
  * @param body (optional) Update Investor Request.
1036
1036
  * @return The Updated Investor.
1037
1037
  */
1038
- investorPUT(body) {
1038
+ updateInvestor(body) {
1039
1039
  let url_ = this.baseUrl + "/primary/v1/investor";
1040
1040
  url_ = url_.replace(/[?&]$/, "");
1041
1041
  const content_ = JSON.stringify(body);
@@ -1048,10 +1048,10 @@ export class Client {
1048
1048
  }
1049
1049
  };
1050
1050
  return this.http.fetch(url_, options_).then((_response) => {
1051
- return this.processInvestorPUT(_response);
1051
+ return this.processUpdateInvestor(_response);
1052
1052
  });
1053
1053
  }
1054
- processInvestorPUT(response) {
1054
+ processUpdateInvestor(response) {
1055
1055
  const status = response.status;
1056
1056
  let _headers = {};
1057
1057
  if (response.headers && response.headers.forEach) {
@@ -1100,7 +1100,7 @@ export class Client {
1100
1100
  * @param financialInstitutionId (optional) Optional filter to get by the Financial Institution.
1101
1101
  * @return Returns the paginated list of Investors.
1102
1102
  */
1103
- investorGET(page, pageSize, sortOrder, investorStatus, financialInstitutionId) {
1103
+ getAllInvestors(page, pageSize, sortOrder, investorStatus, financialInstitutionId) {
1104
1104
  let url_ = this.baseUrl + "/primary/v1/investor?";
1105
1105
  if (page === null)
1106
1106
  throw new Error("The parameter 'page' cannot be null.");
@@ -1130,10 +1130,10 @@ export class Client {
1130
1130
  }
1131
1131
  };
1132
1132
  return this.http.fetch(url_, options_).then((_response) => {
1133
- return this.processInvestorGET(_response);
1133
+ return this.processGetAllInvestors(_response);
1134
1134
  });
1135
1135
  }
1136
- processInvestorGET(response) {
1136
+ processGetAllInvestors(response) {
1137
1137
  const status = response.status;
1138
1138
  let _headers = {};
1139
1139
  if (response.headers && response.headers.forEach) {
@@ -1168,7 +1168,7 @@ export class Client {
1168
1168
  * @param body (optional) M:primary_offering_web_api.Controllers.InvestorController.UpdateInvestorAccreditation(primary_offering_api_models.Investors.UpdateInvestorAccreditation,System.Threading.CancellationToken) from body.
1169
1169
  * @return No Content
1170
1170
  */
1171
- accreditation(body) {
1171
+ updateInvestorAccreditation(body) {
1172
1172
  let url_ = this.baseUrl + "/primary/v1/investor/accreditation";
1173
1173
  url_ = url_.replace(/[?&]$/, "");
1174
1174
  const content_ = JSON.stringify(body);
@@ -1180,10 +1180,10 @@ export class Client {
1180
1180
  }
1181
1181
  };
1182
1182
  return this.http.fetch(url_, options_).then((_response) => {
1183
- return this.processAccreditation(_response);
1183
+ return this.processUpdateInvestorAccreditation(_response);
1184
1184
  });
1185
1185
  }
1186
- processAccreditation(response) {
1186
+ processUpdateInvestorAccreditation(response) {
1187
1187
  const status = response.status;
1188
1188
  let _headers = {};
1189
1189
  if (response.headers && response.headers.forEach) {
@@ -1215,7 +1215,7 @@ export class Client {
1215
1215
  * @param id ID of the Investor to find.
1216
1216
  * @return Returns the Investor with the specified ID.
1217
1217
  */
1218
- investorGET2(id) {
1218
+ getInvestorById(id) {
1219
1219
  let url_ = this.baseUrl + "/primary/v1/investor/{id}";
1220
1220
  if (id === undefined || id === null)
1221
1221
  throw new Error("The parameter 'id' must be defined.");
@@ -1228,10 +1228,10 @@ export class Client {
1228
1228
  }
1229
1229
  };
1230
1230
  return this.http.fetch(url_, options_).then((_response) => {
1231
- return this.processInvestorGET2(_response);
1231
+ return this.processGetInvestorById(_response);
1232
1232
  });
1233
1233
  }
1234
- processInvestorGET2(response) {
1234
+ processGetInvestorById(response) {
1235
1235
  const status = response.status;
1236
1236
  let _headers = {};
1237
1237
  if (response.headers && response.headers.forEach) {
@@ -1274,7 +1274,7 @@ export class Client {
1274
1274
  * @param investorReferenceId InvestorReferenceId of the Investor to find.
1275
1275
  * @return Returns the Investor with the specified InvestorReference.
1276
1276
  */
1277
- byReference(investorReferenceId) {
1277
+ getInvestorByInvestorReference(investorReferenceId) {
1278
1278
  let url_ = this.baseUrl + "/primary/v1/investor/by-reference/{investorReferenceId}";
1279
1279
  if (investorReferenceId === undefined || investorReferenceId === null)
1280
1280
  throw new Error("The parameter 'investorReferenceId' must be defined.");
@@ -1287,10 +1287,10 @@ export class Client {
1287
1287
  }
1288
1288
  };
1289
1289
  return this.http.fetch(url_, options_).then((_response) => {
1290
- return this.processByReference(_response);
1290
+ return this.processGetInvestorByInvestorReference(_response);
1291
1291
  });
1292
1292
  }
1293
- processByReference(response) {
1293
+ processGetInvestorByInvestorReference(response) {
1294
1294
  const status = response.status;
1295
1295
  let _headers = {};
1296
1296
  if (response.headers && response.headers.forEach) {
@@ -1325,7 +1325,7 @@ export class Client {
1325
1325
  * @param investorId ID of the investor to get individual entity investors for.
1326
1326
  * @return Returns the list of individual entity investors.
1327
1327
  */
1328
- individualEntityInvestorAll(investorId) {
1328
+ getIndividualEntityInvestors(investorId) {
1329
1329
  let url_ = this.baseUrl + "/primary/v1/investor/{investorId}/individual-entity-investor";
1330
1330
  if (investorId === undefined || investorId === null)
1331
1331
  throw new Error("The parameter 'investorId' must be defined.");
@@ -1338,10 +1338,10 @@ export class Client {
1338
1338
  }
1339
1339
  };
1340
1340
  return this.http.fetch(url_, options_).then((_response) => {
1341
- return this.processIndividualEntityInvestorAll(_response);
1341
+ return this.processGetIndividualEntityInvestors(_response);
1342
1342
  });
1343
1343
  }
1344
- processIndividualEntityInvestorAll(response) {
1344
+ processGetIndividualEntityInvestors(response) {
1345
1345
  const status = response.status;
1346
1346
  let _headers = {};
1347
1347
  if (response.headers && response.headers.forEach) {
@@ -1375,7 +1375,7 @@ export class Client {
1375
1375
  * @param body (optional)
1376
1376
  * @return OK
1377
1377
  */
1378
- individualEntityInvestorPOST(investorId, body) {
1378
+ createIndividualEntityInvestor(investorId, body) {
1379
1379
  let url_ = this.baseUrl + "/primary/v1/investor/{investorId}/individual-entity-investor";
1380
1380
  if (investorId === undefined || investorId === null)
1381
1381
  throw new Error("The parameter 'investorId' must be defined.");
@@ -1391,10 +1391,10 @@ export class Client {
1391
1391
  }
1392
1392
  };
1393
1393
  return this.http.fetch(url_, options_).then((_response) => {
1394
- return this.processIndividualEntityInvestorPOST(_response);
1394
+ return this.processCreateIndividualEntityInvestor(_response);
1395
1395
  });
1396
1396
  }
1397
- processIndividualEntityInvestorPOST(response) {
1397
+ processCreateIndividualEntityInvestor(response) {
1398
1398
  const status = response.status;
1399
1399
  let _headers = {};
1400
1400
  if (response.headers && response.headers.forEach) {
@@ -1442,7 +1442,7 @@ export class Client {
1442
1442
  * @param body (optional)
1443
1443
  * @return The Updated Investor.
1444
1444
  */
1445
- individualEntityInvestorPUT(investorId, body) {
1445
+ updateIndividualEntityInvestor(investorId, body) {
1446
1446
  let url_ = this.baseUrl + "/primary/v1/investor/{investorId}/individual-entity-investor";
1447
1447
  if (investorId === undefined || investorId === null)
1448
1448
  throw new Error("The parameter 'investorId' must be defined.");
@@ -1458,10 +1458,10 @@ export class Client {
1458
1458
  }
1459
1459
  };
1460
1460
  return this.http.fetch(url_, options_).then((_response) => {
1461
- return this.processIndividualEntityInvestorPUT(_response);
1461
+ return this.processUpdateIndividualEntityInvestor(_response);
1462
1462
  });
1463
1463
  }
1464
- processIndividualEntityInvestorPUT(response) {
1464
+ processUpdateIndividualEntityInvestor(response) {
1465
1465
  const status = response.status;
1466
1466
  let _headers = {};
1467
1467
  if (response.headers && response.headers.forEach) {
@@ -1510,7 +1510,7 @@ export class Client {
1510
1510
  * @param id ID of the UBO to delete.
1511
1511
  * @return No Content
1512
1512
  */
1513
- individualEntityInvestorDELETE(investorId, id) {
1513
+ deleteIndividualEntityInvestor(investorId, id) {
1514
1514
  let url_ = this.baseUrl + "/primary/v1/investor/{investorId}/individual-entity-investor/{id}";
1515
1515
  if (investorId === undefined || investorId === null)
1516
1516
  throw new Error("The parameter 'investorId' must be defined.");
@@ -1524,10 +1524,10 @@ export class Client {
1524
1524
  headers: {}
1525
1525
  };
1526
1526
  return this.http.fetch(url_, options_).then((_response) => {
1527
- return this.processIndividualEntityInvestorDELETE(_response);
1527
+ return this.processDeleteIndividualEntityInvestor(_response);
1528
1528
  });
1529
1529
  }
1530
- processIndividualEntityInvestorDELETE(response) {
1530
+ processDeleteIndividualEntityInvestor(response) {
1531
1531
  const status = response.status;
1532
1532
  let _headers = {};
1533
1533
  if (response.headers && response.headers.forEach) {
@@ -1567,7 +1567,7 @@ export class Client {
1567
1567
  * @param body (optional) Investor Subscription Properties.
1568
1568
  * @return Created
1569
1569
  */
1570
- investorSubscriptionPOST(body) {
1570
+ createInvestorSubscription(body) {
1571
1571
  let url_ = this.baseUrl + "/primary/v1/investor-subscription";
1572
1572
  url_ = url_.replace(/[?&]$/, "");
1573
1573
  const content_ = JSON.stringify(body);
@@ -1580,10 +1580,10 @@ export class Client {
1580
1580
  }
1581
1581
  };
1582
1582
  return this.http.fetch(url_, options_).then((_response) => {
1583
- return this.processInvestorSubscriptionPOST(_response);
1583
+ return this.processCreateInvestorSubscription(_response);
1584
1584
  });
1585
1585
  }
1586
- processInvestorSubscriptionPOST(response) {
1586
+ processCreateInvestorSubscription(response) {
1587
1587
  const status = response.status;
1588
1588
  let _headers = {};
1589
1589
  if (response.headers && response.headers.forEach) {
@@ -1629,7 +1629,7 @@ export class Client {
1629
1629
  * @param sortOrder (optional)
1630
1630
  * @return OK
1631
1631
  */
1632
- investorSubscriptionGET(preIpoCompanySpvId, page, pageSize, investorId, status, preIPOCompanyName, preIPOCompanySPVName, tradingSymbol, orderReferenceId, sortOrder) {
1632
+ getAllSubscriptions(preIpoCompanySpvId, page, pageSize, investorId, status, preIPOCompanyName, preIPOCompanySPVName, tradingSymbol, orderReferenceId, sortOrder) {
1633
1633
  let url_ = this.baseUrl + "/primary/v1/investor-subscription?";
1634
1634
  if (preIpoCompanySpvId === null)
1635
1635
  throw new Error("The parameter 'preIpoCompanySpvId' cannot be null.");
@@ -1679,10 +1679,10 @@ export class Client {
1679
1679
  }
1680
1680
  };
1681
1681
  return this.http.fetch(url_, options_).then((_response) => {
1682
- return this.processInvestorSubscriptionGET(_response);
1682
+ return this.processGetAllSubscriptions(_response);
1683
1683
  });
1684
1684
  }
1685
- processInvestorSubscriptionGET(response) {
1685
+ processGetAllSubscriptions(response) {
1686
1686
  const status = response.status;
1687
1687
  let _headers = {};
1688
1688
  if (response.headers && response.headers.forEach) {
@@ -1709,7 +1709,7 @@ export class Client {
1709
1709
  * @param body (optional) The request containing the updated order reference information.
1710
1710
  * @return No Content
1711
1711
  */
1712
- investorSubscriptionPUT(body) {
1712
+ updateInvestorSubscription(body) {
1713
1713
  let url_ = this.baseUrl + "/primary/v1/investor-subscription";
1714
1714
  url_ = url_.replace(/[?&]$/, "");
1715
1715
  const content_ = JSON.stringify(body);
@@ -1721,10 +1721,10 @@ export class Client {
1721
1721
  }
1722
1722
  };
1723
1723
  return this.http.fetch(url_, options_).then((_response) => {
1724
- return this.processInvestorSubscriptionPUT(_response);
1724
+ return this.processUpdateInvestorSubscription(_response);
1725
1725
  });
1726
1726
  }
1727
- processInvestorSubscriptionPUT(response) {
1727
+ processUpdateInvestorSubscription(response) {
1728
1728
  const status = response.status;
1729
1729
  let _headers = {};
1730
1730
  if (response.headers && response.headers.forEach) {
@@ -1757,7 +1757,7 @@ export class Client {
1757
1757
  * @param spvId Filter InvestorSubscription by SPV ID.
1758
1758
  * @return OK
1759
1759
  */
1760
- preIpoCompanySpv(investorId, spvId) {
1760
+ getInvestorSubscriptionByInvestorAndSpv(investorId, spvId) {
1761
1761
  let url_ = this.baseUrl + "/primary/v1/investor-subscription/investor/{investorId}/pre-ipo-company-spv/{spvId}";
1762
1762
  if (investorId === undefined || investorId === null)
1763
1763
  throw new Error("The parameter 'investorId' must be defined.");
@@ -1773,10 +1773,10 @@ export class Client {
1773
1773
  }
1774
1774
  };
1775
1775
  return this.http.fetch(url_, options_).then((_response) => {
1776
- return this.processPreIpoCompanySpv(_response);
1776
+ return this.processGetInvestorSubscriptionByInvestorAndSpv(_response);
1777
1777
  });
1778
1778
  }
1779
- processPreIpoCompanySpv(response) {
1779
+ processGetInvestorSubscriptionByInvestorAndSpv(response) {
1780
1780
  const status = response.status;
1781
1781
  let _headers = {};
1782
1782
  if (response.headers && response.headers.forEach) {
@@ -1811,7 +1811,7 @@ export class Client {
1811
1811
  * @param investorId Filter InvestorSubscriptions by Investor ID.
1812
1812
  * @return OK
1813
1813
  */
1814
- investorAll(investorId) {
1814
+ getInvestorSubscriptionsByInvestor(investorId) {
1815
1815
  let url_ = this.baseUrl + "/primary/v1/investor-subscription/investor/{investorId}";
1816
1816
  if (investorId === undefined || investorId === null)
1817
1817
  throw new Error("The parameter 'investorId' must be defined.");
@@ -1824,10 +1824,10 @@ export class Client {
1824
1824
  }
1825
1825
  };
1826
1826
  return this.http.fetch(url_, options_).then((_response) => {
1827
- return this.processInvestorAll(_response);
1827
+ return this.processGetInvestorSubscriptionsByInvestor(_response);
1828
1828
  });
1829
1829
  }
1830
- processInvestorAll(response) {
1830
+ processGetInvestorSubscriptionsByInvestor(response) {
1831
1831
  const status = response.status;
1832
1832
  let _headers = {};
1833
1833
  if (response.headers && response.headers.forEach) {
@@ -1869,7 +1869,7 @@ export class Client {
1869
1869
  * @param id ID of the InvestorSubscription to find.
1870
1870
  * @return OK
1871
1871
  */
1872
- investorSubscriptionGET2(id) {
1872
+ getInvestorSubscriptionById(id) {
1873
1873
  let url_ = this.baseUrl + "/primary/v1/investor-subscription/{id}";
1874
1874
  if (id === undefined || id === null)
1875
1875
  throw new Error("The parameter 'id' must be defined.");
@@ -1882,10 +1882,10 @@ export class Client {
1882
1882
  }
1883
1883
  };
1884
1884
  return this.http.fetch(url_, options_).then((_response) => {
1885
- return this.processInvestorSubscriptionGET2(_response);
1885
+ return this.processGetInvestorSubscriptionById(_response);
1886
1886
  });
1887
1887
  }
1888
- processInvestorSubscriptionGET2(response) {
1888
+ processGetInvestorSubscriptionById(response) {
1889
1889
  const status = response.status;
1890
1890
  let _headers = {};
1891
1891
  if (response.headers && response.headers.forEach) {
@@ -1921,7 +1921,7 @@ export class Client {
1921
1921
  * @param body (optional)
1922
1922
  * @return OK
1923
1923
  */
1924
- sign2(id, body) {
1924
+ signInvestorSubscription(id, body) {
1925
1925
  let url_ = this.baseUrl + "/primary/v1/investor-subscription/{id}/sign";
1926
1926
  if (id === undefined || id === null)
1927
1927
  throw new Error("The parameter 'id' must be defined.");
@@ -1937,10 +1937,10 @@ export class Client {
1937
1937
  }
1938
1938
  };
1939
1939
  return this.http.fetch(url_, options_).then((_response) => {
1940
- return this.processSign2(_response);
1940
+ return this.processSignInvestorSubscription(_response);
1941
1941
  });
1942
1942
  }
1943
- processSign2(response) {
1943
+ processSignInvestorSubscription(response) {
1944
1944
  const status = response.status;
1945
1945
  let _headers = {};
1946
1946
  if (response.headers && response.headers.forEach) {
@@ -1975,7 +1975,7 @@ export class Client {
1975
1975
  * @param body (optional) The request containing the updated order reference information.
1976
1976
  * @return No Content
1977
1977
  */
1978
- orderReference(body) {
1978
+ updateInvestorSubscriptionOrderReference(body) {
1979
1979
  let url_ = this.baseUrl + "/primary/v1/investor-subscription/order-reference";
1980
1980
  url_ = url_.replace(/[?&]$/, "");
1981
1981
  const content_ = JSON.stringify(body);
@@ -1987,10 +1987,10 @@ export class Client {
1987
1987
  }
1988
1988
  };
1989
1989
  return this.http.fetch(url_, options_).then((_response) => {
1990
- return this.processOrderReference(_response);
1990
+ return this.processUpdateInvestorSubscriptionOrderReference(_response);
1991
1991
  });
1992
1992
  }
1993
- processOrderReference(response) {
1993
+ processUpdateInvestorSubscriptionOrderReference(response) {
1994
1994
  const status = response.status;
1995
1995
  let _headers = {};
1996
1996
  if (response.headers && response.headers.forEach) {
@@ -2022,7 +2022,7 @@ export class Client {
2022
2022
  * @param investorSubscriptionId The ID of the InvestorSubscription to get the actions for.
2023
2023
  * @return OK
2024
2024
  */
2025
- investorSubscriptionAll(investorSubscriptionId) {
2025
+ getAllInvestorSubscriptionActions(investorSubscriptionId) {
2026
2026
  let url_ = this.baseUrl + "/primary/v1/investor-subscription-action/investor-subscription/{investorSubscriptionId}";
2027
2027
  if (investorSubscriptionId === undefined || investorSubscriptionId === null)
2028
2028
  throw new Error("The parameter 'investorSubscriptionId' must be defined.");
@@ -2035,10 +2035,10 @@ export class Client {
2035
2035
  }
2036
2036
  };
2037
2037
  return this.http.fetch(url_, options_).then((_response) => {
2038
- return this.processInvestorSubscriptionAll(_response);
2038
+ return this.processGetAllInvestorSubscriptionActions(_response);
2039
2039
  });
2040
2040
  }
2041
- processInvestorSubscriptionAll(response) {
2041
+ processGetAllInvestorSubscriptionActions(response) {
2042
2042
  const status = response.status;
2043
2043
  let _headers = {};
2044
2044
  if (response.headers && response.headers.forEach) {
@@ -2080,7 +2080,7 @@ export class Client {
2080
2080
  * @param id ID of the InvestorSubscriptionAction to find.
2081
2081
  * @return OK
2082
2082
  */
2083
- investorSubscriptionAction(id) {
2083
+ getInvestorSubscriptionActionById(id) {
2084
2084
  let url_ = this.baseUrl + "/primary/v1/investor-subscription-action/{id}";
2085
2085
  if (id === undefined || id === null)
2086
2086
  throw new Error("The parameter 'id' must be defined.");
@@ -2093,10 +2093,10 @@ export class Client {
2093
2093
  }
2094
2094
  };
2095
2095
  return this.http.fetch(url_, options_).then((_response) => {
2096
- return this.processInvestorSubscriptionAction(_response);
2096
+ return this.processGetInvestorSubscriptionActionById(_response);
2097
2097
  });
2098
2098
  }
2099
- processInvestorSubscriptionAction(response) {
2099
+ processGetInvestorSubscriptionActionById(response) {
2100
2100
  const status = response.status;
2101
2101
  let _headers = {};
2102
2102
  if (response.headers && response.headers.forEach) {
@@ -2132,7 +2132,7 @@ export class Client {
2132
2132
  * @param body (optional)
2133
2133
  * @return No Content
2134
2134
  */
2135
- complete(id, body) {
2135
+ completeInvestorSubscriptionAction(id, body) {
2136
2136
  let url_ = this.baseUrl + "/primary/v1/investor-subscription-action/{id}/complete";
2137
2137
  if (id === undefined || id === null)
2138
2138
  throw new Error("The parameter 'id' must be defined.");
@@ -2147,10 +2147,10 @@ export class Client {
2147
2147
  }
2148
2148
  };
2149
2149
  return this.http.fetch(url_, options_).then((_response) => {
2150
- return this.processComplete(_response);
2150
+ return this.processCompleteInvestorSubscriptionAction(_response);
2151
2151
  });
2152
2152
  }
2153
- processComplete(response) {
2153
+ processCompleteInvestorSubscriptionAction(response) {
2154
2154
  const status = response.status;
2155
2155
  let _headers = {};
2156
2156
  if (response.headers && response.headers.forEach) {
@@ -3257,7 +3257,7 @@ export class Client {
3257
3257
  * Get the Partner of the authenticated user.
3258
3258
  * @return Returns the Partner with the specified Id.
3259
3259
  */
3260
- partner() {
3260
+ getPartner() {
3261
3261
  let url_ = this.baseUrl + "/primary/v1/partner";
3262
3262
  url_ = url_.replace(/[?&]$/, "");
3263
3263
  let options_ = {
@@ -3267,10 +3267,10 @@ export class Client {
3267
3267
  }
3268
3268
  };
3269
3269
  return this.http.fetch(url_, options_).then((_response) => {
3270
- return this.processPartner(_response);
3270
+ return this.processGetPartner(_response);
3271
3271
  });
3272
3272
  }
3273
- processPartner(response) {
3273
+ processGetPartner(response) {
3274
3274
  const status = response.status;
3275
3275
  let _headers = {};
3276
3276
  if (response.headers && response.headers.forEach) {
@@ -3306,7 +3306,7 @@ export class Client {
3306
3306
  * @param body (optional) The mapping fields and their values that are to be merged into the template.
3307
3307
  * @return OK
3308
3308
  */
3309
- generateDocument(id, body) {
3309
+ generatePdfDocument(id, body) {
3310
3310
  let url_ = this.baseUrl + "/primary/v1/pdf-document/generate-document/{id}";
3311
3311
  if (id === undefined || id === null)
3312
3312
  throw new Error("The parameter 'id' must be defined.");
@@ -3322,10 +3322,10 @@ export class Client {
3322
3322
  }
3323
3323
  };
3324
3324
  return this.http.fetch(url_, options_).then((_response) => {
3325
- return this.processGenerateDocument(_response);
3325
+ return this.processGeneratePdfDocument(_response);
3326
3326
  });
3327
3327
  }
3328
- processGenerateDocument(response) {
3328
+ processGeneratePdfDocument(response) {
3329
3329
  const status = response.status;
3330
3330
  let _headers = {};
3331
3331
  if (response.headers && response.headers.forEach) {
@@ -3804,7 +3804,7 @@ export class Client {
3804
3804
  * @param id ID of the PreIPOCompany to find.
3805
3805
  * @return Returns the PreIPOCompany with the specified Id.
3806
3806
  */
3807
- preIpoCompany(id) {
3807
+ getPreIPOCompanyById(id) {
3808
3808
  let url_ = this.baseUrl + "/primary/v1/pre-ipo-company/{id}";
3809
3809
  if (id === undefined || id === null)
3810
3810
  throw new Error("The parameter 'id' must be defined.");
@@ -3817,10 +3817,10 @@ export class Client {
3817
3817
  }
3818
3818
  };
3819
3819
  return this.http.fetch(url_, options_).then((_response) => {
3820
- return this.processPreIpoCompany(_response);
3820
+ return this.processGetPreIPOCompanyById(_response);
3821
3821
  });
3822
3822
  }
3823
- processPreIpoCompany(response) {
3823
+ processGetPreIPOCompanyById(response) {
3824
3824
  const status = response.status;
3825
3825
  let _headers = {};
3826
3826
  if (response.headers && response.headers.forEach) {
@@ -3876,7 +3876,7 @@ export class Client {
3876
3876
  * @param isActive (optional) Optional active state filter.
3877
3877
  * @return OK
3878
3878
  */
3879
- preIpoCompany2(page, pageSize, searchTerm, searchCategories, sortBy, sortOrder, minLastValuation, maxLastValuation, minTotalFunding, maxTotalFunding, listingType, isActive) {
3879
+ getAllPreIPOCompanies(page, pageSize, searchTerm, searchCategories, sortBy, sortOrder, minLastValuation, maxLastValuation, minTotalFunding, maxTotalFunding, listingType, isActive) {
3880
3880
  let url_ = this.baseUrl + "/primary/v1/pre-ipo-company?";
3881
3881
  if (page === null)
3882
3882
  throw new Error("The parameter 'page' cannot be null.");
@@ -3934,10 +3934,10 @@ export class Client {
3934
3934
  }
3935
3935
  };
3936
3936
  return this.http.fetch(url_, options_).then((_response) => {
3937
- return this.processPreIpoCompany2(_response);
3937
+ return this.processGetAllPreIPOCompanies(_response);
3938
3938
  });
3939
3939
  }
3940
- processPreIpoCompany2(response) {
3940
+ processGetAllPreIPOCompanies(response) {
3941
3941
  const status = response.status;
3942
3942
  let _headers = {};
3943
3943
  if (response.headers && response.headers.forEach) {
@@ -3986,9 +3986,10 @@ export class Client {
3986
3986
  * @param includes (optional) Optional list of additional data to include with the response (e.g., News, Research, Investments).
3987
3987
  * @param listingType (optional) Optional listing status filter.
3988
3988
  * @param isActive (optional) Optional active state filter.
3989
+ * @param isApproved (optional) Optional spv partner approval state filter.
3989
3990
  * @return Returns the filtered and paginated list of detailed PreIPOCompanies.
3990
3991
  */
3991
- detailed(filterId, filterBy, page, pageSize, includes, listingType, isActive) {
3992
+ getAllDetailedPreIPOCompanies(filterId, filterBy, page, pageSize, includes, listingType, isActive, isApproved) {
3992
3993
  let url_ = this.baseUrl + "/primary/v1/pre-ipo-company/detailed?";
3993
3994
  if (filterId === null)
3994
3995
  throw new Error("The parameter 'filterId' cannot be null.");
@@ -4018,6 +4019,10 @@ export class Client {
4018
4019
  throw new Error("The parameter 'isActive' cannot be null.");
4019
4020
  else if (isActive !== undefined)
4020
4021
  url_ += "isActive=" + encodeURIComponent("" + isActive) + "&";
4022
+ if (isApproved === null)
4023
+ throw new Error("The parameter 'isApproved' cannot be null.");
4024
+ else if (isApproved !== undefined)
4025
+ url_ += "isApproved=" + encodeURIComponent("" + isApproved) + "&";
4021
4026
  url_ = url_.replace(/[?&]$/, "");
4022
4027
  let options_ = {
4023
4028
  method: "GET",
@@ -4026,10 +4031,10 @@ export class Client {
4026
4031
  }
4027
4032
  };
4028
4033
  return this.http.fetch(url_, options_).then((_response) => {
4029
- return this.processDetailed(_response);
4034
+ return this.processGetAllDetailedPreIPOCompanies(_response);
4030
4035
  });
4031
4036
  }
4032
- processDetailed(response) {
4037
+ processGetAllDetailedPreIPOCompanies(response) {
4033
4038
  const status = response.status;
4034
4039
  let _headers = {};
4035
4040
  if (response.headers && response.headers.forEach) {
@@ -4072,7 +4077,7 @@ export class Client {
4072
4077
  * @param id ID of the PreIPOCompanyFundingRound to find.
4073
4078
  * @return Returns the PreIPOCompanyFundingRound with the specified Id.
4074
4079
  */
4075
- preIpoCompanyFundingRound(id) {
4080
+ getPreIPOCompanyFundingRoundById(id) {
4076
4081
  let url_ = this.baseUrl + "/primary/v1/pre-ipo-company-funding-round/{id}";
4077
4082
  if (id === undefined || id === null)
4078
4083
  throw new Error("The parameter 'id' must be defined.");
@@ -4085,10 +4090,10 @@ export class Client {
4085
4090
  }
4086
4091
  };
4087
4092
  return this.http.fetch(url_, options_).then((_response) => {
4088
- return this.processPreIpoCompanyFundingRound(_response);
4093
+ return this.processGetPreIPOCompanyFundingRoundById(_response);
4089
4094
  });
4090
4095
  }
4091
- processPreIpoCompanyFundingRound(response) {
4096
+ processGetPreIPOCompanyFundingRoundById(response) {
4092
4097
  const status = response.status;
4093
4098
  let _headers = {};
4094
4099
  if (response.headers && response.headers.forEach) {
@@ -4137,7 +4142,7 @@ export class Client {
4137
4142
  * @param sortOrder (optional)
4138
4143
  * @return OK
4139
4144
  */
4140
- preIpoCompanyFundingRound2(page, pageSize, preIPOCompanyId, searchTerm, sortOrder) {
4145
+ getAllPreIPOCompanyFundingRounds(page, pageSize, preIPOCompanyId, searchTerm, sortOrder) {
4141
4146
  let url_ = this.baseUrl + "/primary/v1/pre-ipo-company-funding-round?";
4142
4147
  if (page === null)
4143
4148
  throw new Error("The parameter 'page' cannot be null.");
@@ -4167,10 +4172,10 @@ export class Client {
4167
4172
  }
4168
4173
  };
4169
4174
  return this.http.fetch(url_, options_).then((_response) => {
4170
- return this.processPreIpoCompanyFundingRound2(_response);
4175
+ return this.processGetAllPreIPOCompanyFundingRounds(_response);
4171
4176
  });
4172
4177
  }
4173
- processPreIpoCompanyFundingRound2(response) {
4178
+ processGetAllPreIPOCompanyFundingRounds(response) {
4174
4179
  const status = response.status;
4175
4180
  let _headers = {};
4176
4181
  if (response.headers && response.headers.forEach) {
@@ -4214,7 +4219,7 @@ export class Client {
4214
4219
  * @param investorId The investorId making the request
4215
4220
  * @return Returns the PreIPOCompanyInvestment with the specified Id.
4216
4221
  */
4217
- investorGET3(id, investorId) {
4222
+ getPreIPOCompanyInvestmentById(id, investorId) {
4218
4223
  let url_ = this.baseUrl + "/primary/v1/pre-ipo-company-investment/{id}/investor/{investorId}";
4219
4224
  if (id === undefined || id === null)
4220
4225
  throw new Error("The parameter 'id' must be defined.");
@@ -4230,10 +4235,10 @@ export class Client {
4230
4235
  }
4231
4236
  };
4232
4237
  return this.http.fetch(url_, options_).then((_response) => {
4233
- return this.processInvestorGET3(_response);
4238
+ return this.processGetPreIPOCompanyInvestmentById(_response);
4234
4239
  });
4235
4240
  }
4236
- processInvestorGET3(response) {
4241
+ processGetPreIPOCompanyInvestmentById(response) {
4237
4242
  const status = response.status;
4238
4243
  let _headers = {};
4239
4244
  if (response.headers && response.headers.forEach) {
@@ -4283,7 +4288,7 @@ export class Client {
4283
4288
  * @param sortOrder (optional)
4284
4289
  * @return OK
4285
4290
  */
4286
- investorGET4(investorId, nameFilter, page, pageSize, preIpoCompanyId, sortOrder) {
4291
+ getAllPreIPOCompanyInvestments(investorId, nameFilter, page, pageSize, preIpoCompanyId, sortOrder) {
4287
4292
  let url_ = this.baseUrl + "/primary/v1/pre-ipo-company-investment/investor/{investorId}?";
4288
4293
  if (investorId === undefined || investorId === null)
4289
4294
  throw new Error("The parameter 'investorId' must be defined.");
@@ -4316,10 +4321,10 @@ export class Client {
4316
4321
  }
4317
4322
  };
4318
4323
  return this.http.fetch(url_, options_).then((_response) => {
4319
- return this.processInvestorGET4(_response);
4324
+ return this.processGetAllPreIPOCompanyInvestments(_response);
4320
4325
  });
4321
4326
  }
4322
- processInvestorGET4(response) {
4327
+ processGetAllPreIPOCompanyInvestments(response) {
4323
4328
  const status = response.status;
4324
4329
  let _headers = {};
4325
4330
  if (response.headers && response.headers.forEach) {
@@ -4362,7 +4367,7 @@ export class Client {
4362
4367
  * @param id ID of the PreIPOCompanyNews to find.
4363
4368
  * @return Returns the PreIPOCompanyNews with the specified Id.
4364
4369
  */
4365
- preIpoCompanyNews(id) {
4370
+ getPreIPOCompanyNewsById(id) {
4366
4371
  let url_ = this.baseUrl + "/primary/v1/pre-ipo-company-news/{id}";
4367
4372
  if (id === undefined || id === null)
4368
4373
  throw new Error("The parameter 'id' must be defined.");
@@ -4375,10 +4380,10 @@ export class Client {
4375
4380
  }
4376
4381
  };
4377
4382
  return this.http.fetch(url_, options_).then((_response) => {
4378
- return this.processPreIpoCompanyNews(_response);
4383
+ return this.processGetPreIPOCompanyNewsById(_response);
4379
4384
  });
4380
4385
  }
4381
- processPreIpoCompanyNews(response) {
4386
+ processGetPreIPOCompanyNewsById(response) {
4382
4387
  const status = response.status;
4383
4388
  let _headers = {};
4384
4389
  if (response.headers && response.headers.forEach) {
@@ -4427,7 +4432,7 @@ export class Client {
4427
4432
  * @param sortOrder (optional)
4428
4433
  * @return OK
4429
4434
  */
4430
- preIpoCompanyNews2(searchTerm, page, pageSize, preIPOCompanyId, sortOrder) {
4435
+ getAllPreIPOCompanyNews(searchTerm, page, pageSize, preIPOCompanyId, sortOrder) {
4431
4436
  let url_ = this.baseUrl + "/primary/v1/pre-ipo-company-news?";
4432
4437
  if (searchTerm === null)
4433
4438
  throw new Error("The parameter 'searchTerm' cannot be null.");
@@ -4457,10 +4462,10 @@ export class Client {
4457
4462
  }
4458
4463
  };
4459
4464
  return this.http.fetch(url_, options_).then((_response) => {
4460
- return this.processPreIpoCompanyNews2(_response);
4465
+ return this.processGetAllPreIPOCompanyNews(_response);
4461
4466
  });
4462
4467
  }
4463
- processPreIpoCompanyNews2(response) {
4468
+ processGetAllPreIPOCompanyNews(response) {
4464
4469
  const status = response.status;
4465
4470
  let _headers = {};
4466
4471
  if (response.headers && response.headers.forEach) {
@@ -4503,7 +4508,7 @@ export class Client {
4503
4508
  * @param id ID of the PreIPOCompanyResearch to find.
4504
4509
  * @return Returns the PreIPOCompanyResearch with the specified Id.
4505
4510
  */
4506
- preIpoCompanyResearch(id) {
4511
+ getPreIPOCompanyResearchById(id) {
4507
4512
  let url_ = this.baseUrl + "/primary/v1/pre-ipo-company-research/{id}";
4508
4513
  if (id === undefined || id === null)
4509
4514
  throw new Error("The parameter 'id' must be defined.");
@@ -4516,10 +4521,10 @@ export class Client {
4516
4521
  }
4517
4522
  };
4518
4523
  return this.http.fetch(url_, options_).then((_response) => {
4519
- return this.processPreIpoCompanyResearch(_response);
4524
+ return this.processGetPreIPOCompanyResearchById(_response);
4520
4525
  });
4521
4526
  }
4522
- processPreIpoCompanyResearch(response) {
4527
+ processGetPreIPOCompanyResearchById(response) {
4523
4528
  const status = response.status;
4524
4529
  let _headers = {};
4525
4530
  if (response.headers && response.headers.forEach) {
@@ -4570,7 +4575,7 @@ export class Client {
4570
4575
  * @param relation (optional)
4571
4576
  * @return OK
4572
4577
  */
4573
- preIpoCompanyResearch2(page, pageSize, searchTerm, preIPOCompanyId, sortOrder, researchType, relation) {
4578
+ getPreIPOCompanyResearchAll(page, pageSize, searchTerm, preIPOCompanyId, sortOrder, researchType, relation) {
4574
4579
  let url_ = this.baseUrl + "/primary/v1/pre-ipo-company-research?";
4575
4580
  if (page === null)
4576
4581
  throw new Error("The parameter 'page' cannot be null.");
@@ -4608,10 +4613,10 @@ export class Client {
4608
4613
  }
4609
4614
  };
4610
4615
  return this.http.fetch(url_, options_).then((_response) => {
4611
- return this.processPreIpoCompanyResearch2(_response);
4616
+ return this.processGetPreIPOCompanyResearchAll(_response);
4612
4617
  });
4613
4618
  }
4614
- processPreIpoCompanyResearch2(response) {
4619
+ processGetPreIPOCompanyResearchAll(response) {
4615
4620
  const status = response.status;
4616
4621
  let _headers = {};
4617
4622
  if (response.headers && response.headers.forEach) {
@@ -4656,7 +4661,7 @@ export class Client {
4656
4661
  * @param includeDocuments (optional) Returns specific documents associated with an SPV.
4657
4662
  * @return Returns the PreIPOCompanySPV with the specified Id.
4658
4663
  */
4659
- investorGET5(id, investorId, includeDocuments) {
4664
+ getPreIPOCompanySPVById(id, investorId, includeDocuments) {
4660
4665
  let url_ = this.baseUrl + "/primary/v1/pre-ipo-company-spv/{id}/investor/{investorId}?";
4661
4666
  if (id === undefined || id === null)
4662
4667
  throw new Error("The parameter 'id' must be defined.");
@@ -4676,10 +4681,86 @@ export class Client {
4676
4681
  }
4677
4682
  };
4678
4683
  return this.http.fetch(url_, options_).then((_response) => {
4679
- return this.processInvestorGET5(_response);
4684
+ return this.processGetPreIPOCompanySPVById(_response);
4680
4685
  });
4681
4686
  }
4682
- processInvestorGET5(response) {
4687
+ processGetPreIPOCompanySPVById(response) {
4688
+ const status = response.status;
4689
+ let _headers = {};
4690
+ if (response.headers && response.headers.forEach) {
4691
+ response.headers.forEach((v, k) => _headers[k] = v);
4692
+ }
4693
+ ;
4694
+ if (status === 200) {
4695
+ return response.text().then((_responseText) => {
4696
+ let result200 = null;
4697
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
4698
+ result200 = PreIPOCompanySPV.fromJS(resultData200);
4699
+ return result200;
4700
+ });
4701
+ }
4702
+ else if (status === 400) {
4703
+ return response.text().then((_responseText) => {
4704
+ let result400 = null;
4705
+ let resultData400 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
4706
+ result400 = ProblemDetails.fromJS(resultData400);
4707
+ return throwException("Bad Request", status, _responseText, _headers, result400);
4708
+ });
4709
+ }
4710
+ else if (status === 404) {
4711
+ return response.text().then((_responseText) => {
4712
+ let result404 = null;
4713
+ let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
4714
+ result404 = ProblemDetails.fromJS(resultData404);
4715
+ return throwException("PreIPOCompanySPV not found.", status, _responseText, _headers, result404);
4716
+ });
4717
+ }
4718
+ else if (status === 403) {
4719
+ return response.text().then((_responseText) => {
4720
+ let result403 = null;
4721
+ let resultData403 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
4722
+ result403 = ProblemDetails.fromJS(resultData403);
4723
+ return throwException("Investor cannot access SPV\'s.", status, _responseText, _headers, result403);
4724
+ });
4725
+ }
4726
+ else if (status !== 200 && status !== 204) {
4727
+ return response.text().then((_responseText) => {
4728
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
4729
+ });
4730
+ }
4731
+ return Promise.resolve(null);
4732
+ }
4733
+ /**
4734
+ * Get a PreIPOCompanySPV by Cusip
4735
+ * @param cusip Cusip of the PreIPOCompanySPV to find.
4736
+ * @param investorId Investor that the SPV's are being retrieved for.
4737
+ * @param includeDocuments (optional) Returns specific documents associated with an SPV.
4738
+ * @return Returns the PreIPOCompanySPV with the specified Cusip.
4739
+ */
4740
+ getPreIPOCompanySPVByCusip(cusip, investorId, includeDocuments) {
4741
+ let url_ = this.baseUrl + "/primary/v1/pre-ipo-company-spv/cusip/{cusip}/investor/{investorId}?";
4742
+ if (cusip === undefined || cusip === null)
4743
+ throw new Error("The parameter 'cusip' must be defined.");
4744
+ url_ = url_.replace("{cusip}", encodeURIComponent("" + cusip));
4745
+ if (investorId === undefined || investorId === null)
4746
+ throw new Error("The parameter 'investorId' must be defined.");
4747
+ url_ = url_.replace("{investorId}", encodeURIComponent("" + investorId));
4748
+ if (includeDocuments === null)
4749
+ throw new Error("The parameter 'includeDocuments' cannot be null.");
4750
+ else if (includeDocuments !== undefined)
4751
+ url_ += "includeDocuments=" + encodeURIComponent("" + includeDocuments) + "&";
4752
+ url_ = url_.replace(/[?&]$/, "");
4753
+ let options_ = {
4754
+ method: "GET",
4755
+ headers: {
4756
+ "Accept": "application/json"
4757
+ }
4758
+ };
4759
+ return this.http.fetch(url_, options_).then((_response) => {
4760
+ return this.processGetPreIPOCompanySPVByCusip(_response);
4761
+ });
4762
+ }
4763
+ processGetPreIPOCompanySPVByCusip(response) {
4683
4764
  const status = response.status;
4684
4765
  let _headers = {};
4685
4766
  if (response.headers && response.headers.forEach) {
@@ -4732,6 +4813,7 @@ export class Client {
4732
4813
  * @param nameFilter (optional) Optional param to filter returned spv's based on the company name.
4733
4814
  * @param preIPOCompanyId (optional) Optional param to only return spv's for the preIPOCompany.
4734
4815
  * @param preIPOCompanyInvestmentId (optional) Optional param to only return spv's for the preIPOCompanyInvestment.
4816
+ * @param isApproved (optional) Optional param to filter spvs based on partner approvals.
4735
4817
  * @param page (optional) Number of the page to retrieve.
4736
4818
  Defaults to 1 if not specified.
4737
4819
  * @param pageSize (optional) Size of the page to retrieve.
@@ -4740,7 +4822,7 @@ export class Client {
4740
4822
  * @param sortBy (optional)
4741
4823
  * @return OK
4742
4824
  */
4743
- investorGET6(investorId, monarkStage, exemptionsClaimed, nameFilter, preIPOCompanyId, preIPOCompanyInvestmentId, page, pageSize, sortOrder, sortBy) {
4825
+ getAllPreIPOCompanySPVs(investorId, monarkStage, exemptionsClaimed, nameFilter, preIPOCompanyId, preIPOCompanyInvestmentId, isApproved, page, pageSize, sortOrder, sortBy) {
4744
4826
  let url_ = this.baseUrl + "/primary/v1/pre-ipo-company-spv/investor/{investorId}?";
4745
4827
  if (investorId === undefined || investorId === null)
4746
4828
  throw new Error("The parameter 'investorId' must be defined.");
@@ -4765,6 +4847,10 @@ export class Client {
4765
4847
  throw new Error("The parameter 'preIPOCompanyInvestmentId' cannot be null.");
4766
4848
  else if (preIPOCompanyInvestmentId !== undefined)
4767
4849
  url_ += "preIPOCompanyInvestmentId=" + encodeURIComponent("" + preIPOCompanyInvestmentId) + "&";
4850
+ if (isApproved === null)
4851
+ throw new Error("The parameter 'isApproved' cannot be null.");
4852
+ else if (isApproved !== undefined)
4853
+ url_ += "isApproved=" + encodeURIComponent("" + isApproved) + "&";
4768
4854
  if (page === null)
4769
4855
  throw new Error("The parameter 'page' cannot be null.");
4770
4856
  else if (page !== undefined)
@@ -4789,10 +4875,10 @@ export class Client {
4789
4875
  }
4790
4876
  };
4791
4877
  return this.http.fetch(url_, options_).then((_response) => {
4792
- return this.processInvestorGET6(_response);
4878
+ return this.processGetAllPreIPOCompanySPVs(_response);
4793
4879
  });
4794
4880
  }
4795
- processInvestorGET6(response) {
4881
+ processGetAllPreIPOCompanySPVs(response) {
4796
4882
  const status = response.status;
4797
4883
  let _headers = {};
4798
4884
  if (response.headers && response.headers.forEach) {
@@ -4838,7 +4924,7 @@ export class Client {
4838
4924
  Defaults to 25 if not specified.
4839
4925
  * @return Returns the list of approved SPVs.
4840
4926
  */
4841
- spvs(page, pageSize) {
4927
+ getPartnerApprovedSPVs(page, pageSize) {
4842
4928
  let url_ = this.baseUrl + "/primary/v1/pre-ipo-company-spv-partner-approval/partner/spvs?";
4843
4929
  if (page === null)
4844
4930
  throw new Error("The parameter 'page' cannot be null.");
@@ -4856,10 +4942,10 @@ export class Client {
4856
4942
  }
4857
4943
  };
4858
4944
  return this.http.fetch(url_, options_).then((_response) => {
4859
- return this.processSpvs(_response);
4945
+ return this.processGetPartnerApprovedSPVs(_response);
4860
4946
  });
4861
4947
  }
4862
- processSpvs(response) {
4948
+ processGetPartnerApprovedSPVs(response) {
4863
4949
  const status = response.status;
4864
4950
  let _headers = {};
4865
4951
  if (response.headers && response.headers.forEach) {
@@ -4894,7 +4980,7 @@ export class Client {
4894
4980
  * @param spvId ID of the SPV.
4895
4981
  * @return Returns whether approval exists.
4896
4982
  */
4897
- isApproved(spvId) {
4983
+ isSpvApproved(spvId) {
4898
4984
  let url_ = this.baseUrl + "/primary/v1/pre-ipo-company-spv-partner-approval/spv/{spvId}/is-approved";
4899
4985
  if (spvId === undefined || spvId === null)
4900
4986
  throw new Error("The parameter 'spvId' must be defined.");
@@ -4907,10 +4993,10 @@ export class Client {
4907
4993
  }
4908
4994
  };
4909
4995
  return this.http.fetch(url_, options_).then((_response) => {
4910
- return this.processIsApproved(_response);
4996
+ return this.processIsSpvApproved(_response);
4911
4997
  });
4912
4998
  }
4913
- processIsApproved(response) {
4999
+ processIsSpvApproved(response) {
4914
5000
  const status = response.status;
4915
5001
  let _headers = {};
4916
5002
  if (response.headers && response.headers.forEach) {
@@ -4946,7 +5032,7 @@ export class Client {
4946
5032
  * @param body (optional) Approval request containing optional notes.
4947
5033
  * @return SPV successfully approved.
4948
5034
  */
4949
- approve(spvId, body) {
5035
+ approveSpv(spvId, body) {
4950
5036
  let url_ = this.baseUrl + "/primary/v1/pre-ipo-company-spv-partner-approval/spv/{spvId}/approve";
4951
5037
  if (spvId === undefined || spvId === null)
4952
5038
  throw new Error("The parameter 'spvId' must be defined.");
@@ -4962,10 +5048,10 @@ export class Client {
4962
5048
  }
4963
5049
  };
4964
5050
  return this.http.fetch(url_, options_).then((_response) => {
4965
- return this.processApprove(_response);
5051
+ return this.processApproveSpv(_response);
4966
5052
  });
4967
5053
  }
4968
- processApprove(response) {
5054
+ processApproveSpv(response) {
4969
5055
  const status = response.status;
4970
5056
  let _headers = {};
4971
5057
  if (response.headers && response.headers.forEach) {
@@ -5008,7 +5094,7 @@ export class Client {
5008
5094
  * @param spvId ID of the SPV.
5009
5095
  * @return Returns the approval record.
5010
5096
  */
5011
- approval(spvId) {
5097
+ getPartnerSpvApproval(spvId) {
5012
5098
  let url_ = this.baseUrl + "/primary/v1/pre-ipo-company-spv-partner-approval/spv/{spvId}/approval";
5013
5099
  if (spvId === undefined || spvId === null)
5014
5100
  throw new Error("The parameter 'spvId' must be defined.");
@@ -5021,10 +5107,10 @@ export class Client {
5021
5107
  }
5022
5108
  };
5023
5109
  return this.http.fetch(url_, options_).then((_response) => {
5024
- return this.processApproval(_response);
5110
+ return this.processGetPartnerSpvApproval(_response);
5025
5111
  });
5026
5112
  }
5027
- processApproval(response) {
5113
+ processGetPartnerSpvApproval(response) {
5028
5114
  const status = response.status;
5029
5115
  let _headers = {};
5030
5116
  if (response.headers && response.headers.forEach) {
@@ -5058,7 +5144,7 @@ export class Client {
5058
5144
  * Gets an approval record by Id.
5059
5145
  * @return Returns an approval record.
5060
5146
  */
5061
- preIpoCompanySpvPartnerApproval(approvalId) {
5147
+ getPartnerSpvApprovalById(approvalId) {
5062
5148
  let url_ = this.baseUrl + "/primary/v1/pre-ipo-company-spv-partner-approval/{approvalId}";
5063
5149
  if (approvalId === undefined || approvalId === null)
5064
5150
  throw new Error("The parameter 'approvalId' must be defined.");
@@ -5071,10 +5157,10 @@ export class Client {
5071
5157
  }
5072
5158
  };
5073
5159
  return this.http.fetch(url_, options_).then((_response) => {
5074
- return this.processPreIpoCompanySpvPartnerApproval(_response);
5160
+ return this.processGetPartnerSpvApprovalById(_response);
5075
5161
  });
5076
5162
  }
5077
- processPreIpoCompanySpvPartnerApproval(response) {
5163
+ processGetPartnerSpvApprovalById(response) {
5078
5164
  const status = response.status;
5079
5165
  let _headers = {};
5080
5166
  if (response.headers && response.headers.forEach) {
@@ -5113,7 +5199,7 @@ export class Client {
5113
5199
  * @param sortOrder (optional) Sort order for results.
5114
5200
  * @return Returns the list of approval records.
5115
5201
  */
5116
- preIpoCompanySpvPartnerApproval2(page, pageSize, sortOrder) {
5202
+ getAllPartnerSpvApprovals(page, pageSize, sortOrder) {
5117
5203
  let url_ = this.baseUrl + "/primary/v1/pre-ipo-company-spv-partner-approval?";
5118
5204
  if (page === null)
5119
5205
  throw new Error("The parameter 'page' cannot be null.");
@@ -5135,10 +5221,10 @@ export class Client {
5135
5221
  }
5136
5222
  };
5137
5223
  return this.http.fetch(url_, options_).then((_response) => {
5138
- return this.processPreIpoCompanySpvPartnerApproval2(_response);
5224
+ return this.processGetAllPartnerSpvApprovals(_response);
5139
5225
  });
5140
5226
  }
5141
- processPreIpoCompanySpvPartnerApproval2(response) {
5227
+ processGetAllPartnerSpvApprovals(response) {
5142
5228
  const status = response.status;
5143
5229
  let _headers = {};
5144
5230
  if (response.headers && response.headers.forEach) {
@@ -5164,7 +5250,7 @@ export class Client {
5164
5250
  * @param body (optional)
5165
5251
  * @return Created
5166
5252
  */
5167
- questionnairePOST(body) {
5253
+ createQuestionnaire(body) {
5168
5254
  let url_ = this.baseUrl + "/primary/v1/questionnaire";
5169
5255
  url_ = url_.replace(/[?&]$/, "");
5170
5256
  const content_ = JSON.stringify(body);
@@ -5177,10 +5263,10 @@ export class Client {
5177
5263
  }
5178
5264
  };
5179
5265
  return this.http.fetch(url_, options_).then((_response) => {
5180
- return this.processQuestionnairePOST(_response);
5266
+ return this.processCreateQuestionnaire(_response);
5181
5267
  });
5182
5268
  }
5183
- processQuestionnairePOST(response) {
5269
+ processCreateQuestionnaire(response) {
5184
5270
  const status = response.status;
5185
5271
  let _headers = {};
5186
5272
  if (response.headers && response.headers.forEach) {
@@ -5214,7 +5300,7 @@ export class Client {
5214
5300
  * @param body (optional)
5215
5301
  * @return OK
5216
5302
  */
5217
- questionnairePUT(body) {
5303
+ updateQuestionnaire(body) {
5218
5304
  let url_ = this.baseUrl + "/primary/v1/questionnaire";
5219
5305
  url_ = url_.replace(/[?&]$/, "");
5220
5306
  const content_ = JSON.stringify(body);
@@ -5227,10 +5313,10 @@ export class Client {
5227
5313
  }
5228
5314
  };
5229
5315
  return this.http.fetch(url_, options_).then((_response) => {
5230
- return this.processQuestionnairePUT(_response);
5316
+ return this.processUpdateQuestionnaire(_response);
5231
5317
  });
5232
5318
  }
5233
- processQuestionnairePUT(response) {
5319
+ processUpdateQuestionnaire(response) {
5234
5320
  const status = response.status;
5235
5321
  let _headers = {};
5236
5322
  if (response.headers && response.headers.forEach) {
@@ -5277,7 +5363,7 @@ export class Client {
5277
5363
  * @param sortOrder (optional)
5278
5364
  * @return Returns the list of Questionnaires.
5279
5365
  */
5280
- questionnaireGET(page, pageSize, sortOrder) {
5366
+ getAllQuestionnaires(page, pageSize, sortOrder) {
5281
5367
  let url_ = this.baseUrl + "/primary/v1/questionnaire?";
5282
5368
  if (page === null)
5283
5369
  throw new Error("The parameter 'page' cannot be null.");
@@ -5299,10 +5385,10 @@ export class Client {
5299
5385
  }
5300
5386
  };
5301
5387
  return this.http.fetch(url_, options_).then((_response) => {
5302
- return this.processQuestionnaireGET(_response);
5388
+ return this.processGetAllQuestionnaires(_response);
5303
5389
  });
5304
5390
  }
5305
- processQuestionnaireGET(response) {
5391
+ processGetAllQuestionnaires(response) {
5306
5392
  const status = response.status;
5307
5393
  let _headers = {};
5308
5394
  if (response.headers && response.headers.forEach) {
@@ -5343,7 +5429,7 @@ export class Client {
5343
5429
  /**
5344
5430
  * @return No Content
5345
5431
  */
5346
- questionnaireDELETE(id) {
5432
+ deleteQuestionnaire(id) {
5347
5433
  let url_ = this.baseUrl + "/primary/v1/questionnaire/{id}";
5348
5434
  if (id === undefined || id === null)
5349
5435
  throw new Error("The parameter 'id' must be defined.");
@@ -5354,10 +5440,10 @@ export class Client {
5354
5440
  headers: {}
5355
5441
  };
5356
5442
  return this.http.fetch(url_, options_).then((_response) => {
5357
- return this.processQuestionnaireDELETE(_response);
5443
+ return this.processDeleteQuestionnaire(_response);
5358
5444
  });
5359
5445
  }
5360
- processQuestionnaireDELETE(response) {
5446
+ processDeleteQuestionnaire(response) {
5361
5447
  const status = response.status;
5362
5448
  let _headers = {};
5363
5449
  if (response.headers && response.headers.forEach) {
@@ -5389,7 +5475,7 @@ export class Client {
5389
5475
  * @param id ID of the Questionnaire to find.
5390
5476
  * @return Returns the Questionnaire with the specified Id.
5391
5477
  */
5392
- questionnaireGET2(id) {
5478
+ getQuestionnaireById(id) {
5393
5479
  let url_ = this.baseUrl + "/primary/v1/questionnaire/{id}";
5394
5480
  if (id === undefined || id === null)
5395
5481
  throw new Error("The parameter 'id' must be defined.");
@@ -5402,10 +5488,10 @@ export class Client {
5402
5488
  }
5403
5489
  };
5404
5490
  return this.http.fetch(url_, options_).then((_response) => {
5405
- return this.processQuestionnaireGET2(_response);
5491
+ return this.processGetQuestionnaireById(_response);
5406
5492
  });
5407
5493
  }
5408
- processQuestionnaireGET2(response) {
5494
+ processGetQuestionnaireById(response) {
5409
5495
  const status = response.status;
5410
5496
  let _headers = {};
5411
5497
  if (response.headers && response.headers.forEach) {
@@ -5440,7 +5526,7 @@ export class Client {
5440
5526
  * @param body (optional) create QuestionnaireAnswer information.
5441
5527
  * @return The newly created QuestionnaireAnswer.
5442
5528
  */
5443
- questionnaireAnswerPOST(body) {
5529
+ createQuestionnaireAnswer(body) {
5444
5530
  let url_ = this.baseUrl + "/primary/v1/questionnaire-answer";
5445
5531
  url_ = url_.replace(/[?&]$/, "");
5446
5532
  const content_ = JSON.stringify(body);
@@ -5453,10 +5539,10 @@ export class Client {
5453
5539
  }
5454
5540
  };
5455
5541
  return this.http.fetch(url_, options_).then((_response) => {
5456
- return this.processQuestionnaireAnswerPOST(_response);
5542
+ return this.processCreateQuestionnaireAnswer(_response);
5457
5543
  });
5458
5544
  }
5459
- processQuestionnaireAnswerPOST(response) {
5545
+ processCreateQuestionnaireAnswer(response) {
5460
5546
  const status = response.status;
5461
5547
  let _headers = {};
5462
5548
  if (response.headers && response.headers.forEach) {
@@ -5497,7 +5583,7 @@ export class Client {
5497
5583
  * @param sortOrder (optional)
5498
5584
  * @return Returns the list of Questionnaire.
5499
5585
  */
5500
- questionnaireAnswerGET(investorId, questionnaireId, page, pageSize, sortOrder) {
5586
+ getAllQuestionnaireAnswers(investorId, questionnaireId, page, pageSize, sortOrder) {
5501
5587
  let url_ = this.baseUrl + "/primary/v1/questionnaire-answer?";
5502
5588
  if (investorId === null)
5503
5589
  throw new Error("The parameter 'investorId' cannot be null.");
@@ -5527,10 +5613,10 @@ export class Client {
5527
5613
  }
5528
5614
  };
5529
5615
  return this.http.fetch(url_, options_).then((_response) => {
5530
- return this.processQuestionnaireAnswerGET(_response);
5616
+ return this.processGetAllQuestionnaireAnswers(_response);
5531
5617
  });
5532
5618
  }
5533
- processQuestionnaireAnswerGET(response) {
5619
+ processGetAllQuestionnaireAnswers(response) {
5534
5620
  const status = response.status;
5535
5621
  let _headers = {};
5536
5622
  if (response.headers && response.headers.forEach) {
@@ -5557,7 +5643,7 @@ export class Client {
5557
5643
  * @param id ID of the QuestionnaireAnswer to find.
5558
5644
  * @return Returns the QuestionnaireAnswer with the specified Id.
5559
5645
  */
5560
- questionnaireAnswerGET2(id) {
5646
+ getQuestionnaireAnswerById(id) {
5561
5647
  let url_ = this.baseUrl + "/primary/v1/questionnaire-answer/{id}";
5562
5648
  if (id === undefined || id === null)
5563
5649
  throw new Error("The parameter 'id' must be defined.");
@@ -5570,10 +5656,10 @@ export class Client {
5570
5656
  }
5571
5657
  };
5572
5658
  return this.http.fetch(url_, options_).then((_response) => {
5573
- return this.processQuestionnaireAnswerGET2(_response);
5659
+ return this.processGetQuestionnaireAnswerById(_response);
5574
5660
  });
5575
5661
  }
5576
- processQuestionnaireAnswerGET2(response) {
5662
+ processGetQuestionnaireAnswerById(response) {
5577
5663
  const status = response.status;
5578
5664
  let _headers = {};
5579
5665
  if (response.headers && response.headers.forEach) {
@@ -5609,7 +5695,7 @@ export class Client {
5609
5695
  * @param includeDocuments (optional) Return associated documents
5610
5696
  * @return Returns the RegisteredFund with the specified Id.
5611
5697
  */
5612
- registeredFund(id, includeDocuments) {
5698
+ getRegisteredFundById(id, includeDocuments) {
5613
5699
  let url_ = this.baseUrl + "/primary/v1/registered-fund/{id}?";
5614
5700
  if (id === undefined || id === null)
5615
5701
  throw new Error("The parameter 'id' must be defined.");
@@ -5626,10 +5712,10 @@ export class Client {
5626
5712
  }
5627
5713
  };
5628
5714
  return this.http.fetch(url_, options_).then((_response) => {
5629
- return this.processRegisteredFund(_response);
5715
+ return this.processGetRegisteredFundById(_response);
5630
5716
  });
5631
5717
  }
5632
- processRegisteredFund(response) {
5718
+ processGetRegisteredFundById(response) {
5633
5719
  const status = response.status;
5634
5720
  let _headers = {};
5635
5721
  if (response.headers && response.headers.forEach) {
@@ -5669,7 +5755,7 @@ export class Client {
5669
5755
  * @param sortOrder (optional) Which way to sort order, defaults to Descending.
5670
5756
  * @return OK
5671
5757
  */
5672
- registeredFund2(page, pageSize, searchTerm, sortOrder) {
5758
+ getAllRegisteredFunds(page, pageSize, searchTerm, sortOrder) {
5673
5759
  let url_ = this.baseUrl + "/primary/v1/registered-fund?";
5674
5760
  if (page === null)
5675
5761
  throw new Error("The parameter 'page' cannot be null.");
@@ -5695,10 +5781,10 @@ export class Client {
5695
5781
  }
5696
5782
  };
5697
5783
  return this.http.fetch(url_, options_).then((_response) => {
5698
- return this.processRegisteredFund2(_response);
5784
+ return this.processGetAllRegisteredFunds(_response);
5699
5785
  });
5700
5786
  }
5701
- processRegisteredFund2(response) {
5787
+ processGetAllRegisteredFunds(response) {
5702
5788
  const status = response.status;
5703
5789
  let _headers = {};
5704
5790
  if (response.headers && response.headers.forEach) {
@@ -5741,7 +5827,7 @@ export class Client {
5741
5827
  * @param body (optional) The subscription creation request.
5742
5828
  * @return Created
5743
5829
  */
5744
- registeredFundSubscriptionPOST(body) {
5830
+ createRegisteredFundSubscription(body) {
5745
5831
  let url_ = this.baseUrl + "/primary/v1/registered-fund-subscription";
5746
5832
  url_ = url_.replace(/[?&]$/, "");
5747
5833
  const content_ = JSON.stringify(body);
@@ -5754,10 +5840,10 @@ export class Client {
5754
5840
  }
5755
5841
  };
5756
5842
  return this.http.fetch(url_, options_).then((_response) => {
5757
- return this.processRegisteredFundSubscriptionPOST(_response);
5843
+ return this.processCreateRegisteredFundSubscription(_response);
5758
5844
  });
5759
5845
  }
5760
- processRegisteredFundSubscriptionPOST(response) {
5846
+ processCreateRegisteredFundSubscription(response) {
5761
5847
  const status = response.status;
5762
5848
  let _headers = {};
5763
5849
  if (response.headers && response.headers.forEach) {
@@ -5798,7 +5884,7 @@ export class Client {
5798
5884
  * @param sortOrder (optional) Sort order for results (default: Descending).
5799
5885
  * @return OK
5800
5886
  */
5801
- registeredFundSubscriptionGET(page, pageSize, registeredFundId, investorId, sortOrder) {
5887
+ getAllRegisteredFundSubscriptions(page, pageSize, registeredFundId, investorId, sortOrder) {
5802
5888
  let url_ = this.baseUrl + "/primary/v1/registered-fund-subscription?";
5803
5889
  if (page === null)
5804
5890
  throw new Error("The parameter 'page' cannot be null.");
@@ -5828,10 +5914,10 @@ export class Client {
5828
5914
  }
5829
5915
  };
5830
5916
  return this.http.fetch(url_, options_).then((_response) => {
5831
- return this.processRegisteredFundSubscriptionGET(_response);
5917
+ return this.processGetAllRegisteredFundSubscriptions(_response);
5832
5918
  });
5833
5919
  }
5834
- processRegisteredFundSubscriptionGET(response) {
5920
+ processGetAllRegisteredFundSubscriptions(response) {
5835
5921
  const status = response.status;
5836
5922
  let _headers = {};
5837
5923
  if (response.headers && response.headers.forEach) {
@@ -5866,7 +5952,7 @@ export class Client {
5866
5952
  * @param id The subscription ID.
5867
5953
  * @return OK
5868
5954
  */
5869
- registeredFundSubscriptionGET2(id) {
5955
+ getRegisteredFundSubscriptionById(id) {
5870
5956
  let url_ = this.baseUrl + "/primary/v1/registered-fund-subscription/{id}";
5871
5957
  if (id === undefined || id === null)
5872
5958
  throw new Error("The parameter 'id' must be defined.");
@@ -5879,10 +5965,10 @@ export class Client {
5879
5965
  }
5880
5966
  };
5881
5967
  return this.http.fetch(url_, options_).then((_response) => {
5882
- return this.processRegisteredFundSubscriptionGET2(_response);
5968
+ return this.processGetRegisteredFundSubscriptionById(_response);
5883
5969
  });
5884
5970
  }
5885
- processRegisteredFundSubscriptionGET2(response) {
5971
+ processGetRegisteredFundSubscriptionById(response) {
5886
5972
  const status = response.status;
5887
5973
  let _headers = {};
5888
5974
  if (response.headers && response.headers.forEach) {
@@ -5926,7 +6012,7 @@ export class Client {
5926
6012
  * @param body (optional)
5927
6013
  * @return OK
5928
6014
  */
5929
- preview(id, body) {
6015
+ generateRegisteredFundSubscriptionPreview(id, body) {
5930
6016
  let url_ = this.baseUrl + "/primary/v1/registered-fund-subscription/{id}/preview";
5931
6017
  if (id === undefined || id === null)
5932
6018
  throw new Error("The parameter 'id' must be defined.");
@@ -5942,10 +6028,10 @@ export class Client {
5942
6028
  }
5943
6029
  };
5944
6030
  return this.http.fetch(url_, options_).then((_response) => {
5945
- return this.processPreview(_response);
6031
+ return this.processGenerateRegisteredFundSubscriptionPreview(_response);
5946
6032
  });
5947
6033
  }
5948
- processPreview(response) {
6034
+ processGenerateRegisteredFundSubscriptionPreview(response) {
5949
6035
  const status = response.status;
5950
6036
  let _headers = {};
5951
6037
  if (response.headers && response.headers.forEach) {
@@ -5986,7 +6072,7 @@ export class Client {
5986
6072
  * @param body (optional) The signature request.
5987
6073
  * @return OK
5988
6074
  */
5989
- signInvestor(id, body) {
6075
+ signRegisteredFundSubscriptionByInvestor(id, body) {
5990
6076
  let url_ = this.baseUrl + "/primary/v1/registered-fund-subscription/{id}/sign-investor";
5991
6077
  if (id === undefined || id === null)
5992
6078
  throw new Error("The parameter 'id' must be defined.");
@@ -6002,10 +6088,10 @@ export class Client {
6002
6088
  }
6003
6089
  };
6004
6090
  return this.http.fetch(url_, options_).then((_response) => {
6005
- return this.processSignInvestor(_response);
6091
+ return this.processSignRegisteredFundSubscriptionByInvestor(_response);
6006
6092
  });
6007
6093
  }
6008
- processSignInvestor(response) {
6094
+ processSignRegisteredFundSubscriptionByInvestor(response) {
6009
6095
  const status = response.status;
6010
6096
  let _headers = {};
6011
6097
  if (response.headers && response.headers.forEach) {
@@ -6049,7 +6135,7 @@ export class Client {
6049
6135
  * @param body (optional) The signature request.
6050
6136
  * @return OK
6051
6137
  */
6052
- signAdvisor(id, body) {
6138
+ signRegisteredFundSubscriptionByAdvisor(id, body) {
6053
6139
  let url_ = this.baseUrl + "/primary/v1/registered-fund-subscription/{id}/sign-advisor";
6054
6140
  if (id === undefined || id === null)
6055
6141
  throw new Error("The parameter 'id' must be defined.");
@@ -6065,10 +6151,10 @@ export class Client {
6065
6151
  }
6066
6152
  };
6067
6153
  return this.http.fetch(url_, options_).then((_response) => {
6068
- return this.processSignAdvisor(_response);
6154
+ return this.processSignRegisteredFundSubscriptionByAdvisor(_response);
6069
6155
  });
6070
6156
  }
6071
- processSignAdvisor(response) {
6157
+ processSignRegisteredFundSubscriptionByAdvisor(response) {
6072
6158
  const status = response.status;
6073
6159
  let _headers = {};
6074
6160
  if (response.headers && response.headers.forEach) {
@@ -6112,7 +6198,7 @@ export class Client {
6112
6198
  * @param id The subscription ID.
6113
6199
  * @return OK
6114
6200
  */
6115
- document3(id) {
6201
+ getRegisteredFundSubscriptionDocument(id) {
6116
6202
  let url_ = this.baseUrl + "/primary/v1/registered-fund-subscription/{id}/document";
6117
6203
  if (id === undefined || id === null)
6118
6204
  throw new Error("The parameter 'id' must be defined.");
@@ -6125,10 +6211,10 @@ export class Client {
6125
6211
  }
6126
6212
  };
6127
6213
  return this.http.fetch(url_, options_).then((_response) => {
6128
- return this.processDocument3(_response);
6214
+ return this.processGetRegisteredFundSubscriptionDocument(_response);
6129
6215
  });
6130
6216
  }
6131
- processDocument3(response) {
6217
+ processGetRegisteredFundSubscriptionDocument(response) {
6132
6218
  const status = response.status;
6133
6219
  let _headers = {};
6134
6220
  if (response.headers && response.headers.forEach) {
@@ -6182,7 +6268,7 @@ export class Client {
6182
6268
  * @param responsibleParty (optional) Optional filter by responsible party.
6183
6269
  * @return OK
6184
6270
  */
6185
- registeredFundSubscriptionAll(registeredFundSubscriptionId, responsibleParty) {
6271
+ getAllRegisteredFundSubscriptionActions(registeredFundSubscriptionId, responsibleParty) {
6186
6272
  let url_ = this.baseUrl + "/primary/v1/registered-fund-subscription-action/registered-fund-subscription/{registeredFundSubscriptionId}?";
6187
6273
  if (registeredFundSubscriptionId === undefined || registeredFundSubscriptionId === null)
6188
6274
  throw new Error("The parameter 'registeredFundSubscriptionId' must be defined.");
@@ -6199,10 +6285,10 @@ export class Client {
6199
6285
  }
6200
6286
  };
6201
6287
  return this.http.fetch(url_, options_).then((_response) => {
6202
- return this.processRegisteredFundSubscriptionAll(_response);
6288
+ return this.processGetAllRegisteredFundSubscriptionActions(_response);
6203
6289
  });
6204
6290
  }
6205
- processRegisteredFundSubscriptionAll(response) {
6291
+ processGetAllRegisteredFundSubscriptionActions(response) {
6206
6292
  const status = response.status;
6207
6293
  let _headers = {};
6208
6294
  if (response.headers && response.headers.forEach) {
@@ -6244,7 +6330,7 @@ export class Client {
6244
6330
  * @param id ID of the RegisteredFundSubscriptionAction to find.
6245
6331
  * @return OK
6246
6332
  */
6247
- registeredFundSubscriptionAction(id) {
6333
+ getRegisteredFundSubscriptionActionById(id) {
6248
6334
  let url_ = this.baseUrl + "/primary/v1/registered-fund-subscription-action/{id}";
6249
6335
  if (id === undefined || id === null)
6250
6336
  throw new Error("The parameter 'id' must be defined.");
@@ -6257,10 +6343,10 @@ export class Client {
6257
6343
  }
6258
6344
  };
6259
6345
  return this.http.fetch(url_, options_).then((_response) => {
6260
- return this.processRegisteredFundSubscriptionAction(_response);
6346
+ return this.processGetRegisteredFundSubscriptionActionById(_response);
6261
6347
  });
6262
6348
  }
6263
- processRegisteredFundSubscriptionAction(response) {
6349
+ processGetRegisteredFundSubscriptionActionById(response) {
6264
6350
  const status = response.status;
6265
6351
  let _headers = {};
6266
6352
  if (response.headers && response.headers.forEach) {
@@ -6296,7 +6382,7 @@ export class Client {
6296
6382
  * @param body (optional)
6297
6383
  * @return No Content
6298
6384
  */
6299
- complete2(id, body) {
6385
+ completeRegisteredFundSubscriptionAction(id, body) {
6300
6386
  let url_ = this.baseUrl + "/primary/v1/registered-fund-subscription-action/{id}/complete";
6301
6387
  if (id === undefined || id === null)
6302
6388
  throw new Error("The parameter 'id' must be defined.");
@@ -6311,10 +6397,10 @@ export class Client {
6311
6397
  }
6312
6398
  };
6313
6399
  return this.http.fetch(url_, options_).then((_response) => {
6314
- return this.processComplete2(_response);
6400
+ return this.processCompleteRegisteredFundSubscriptionAction(_response);
6315
6401
  });
6316
6402
  }
6317
- processComplete2(response) {
6403
+ processCompleteRegisteredFundSubscriptionAction(response) {
6318
6404
  const status = response.status;
6319
6405
  let _headers = {};
6320
6406
  if (response.headers && response.headers.forEach) {
@@ -6345,7 +6431,7 @@ export class Client {
6345
6431
  * Get the API version
6346
6432
  * @return Returns the API version
6347
6433
  */
6348
- version() {
6434
+ getVersion() {
6349
6435
  let url_ = this.baseUrl + "/primary/v1/version";
6350
6436
  url_ = url_.replace(/[?&]$/, "");
6351
6437
  let options_ = {
@@ -6355,10 +6441,10 @@ export class Client {
6355
6441
  }
6356
6442
  };
6357
6443
  return this.http.fetch(url_, options_).then((_response) => {
6358
- return this.processVersion(_response);
6444
+ return this.processGetVersion(_response);
6359
6445
  });
6360
6446
  }
6361
- processVersion(response) {
6447
+ processGetVersion(response) {
6362
6448
  const status = response.status;
6363
6449
  let _headers = {};
6364
6450
  if (response.headers && response.headers.forEach) {
@@ -6385,7 +6471,7 @@ export class Client {
6385
6471
  * @param body (optional) Create Webhook information.
6386
6472
  * @return The newly created Webhook.
6387
6473
  */
6388
- webhookPOST(body) {
6474
+ createWebhook(body) {
6389
6475
  let url_ = this.baseUrl + "/primary/v1/webhook";
6390
6476
  url_ = url_.replace(/[?&]$/, "");
6391
6477
  const content_ = JSON.stringify(body);
@@ -6398,10 +6484,10 @@ export class Client {
6398
6484
  }
6399
6485
  };
6400
6486
  return this.http.fetch(url_, options_).then((_response) => {
6401
- return this.processWebhookPOST(_response);
6487
+ return this.processCreateWebhook(_response);
6402
6488
  });
6403
6489
  }
6404
- processWebhookPOST(response) {
6490
+ processCreateWebhook(response) {
6405
6491
  const status = response.status;
6406
6492
  let _headers = {};
6407
6493
  if (response.headers && response.headers.forEach) {
@@ -6440,7 +6526,7 @@ export class Client {
6440
6526
  * @param sortOrder (optional) Order of which to sort the webhooks by. Default is Descending
6441
6527
  * @return Returns a list of Webhooks.
6442
6528
  */
6443
- webhookGET(page, pageSize, sortOrder) {
6529
+ getAllWebhooks(page, pageSize, sortOrder) {
6444
6530
  let url_ = this.baseUrl + "/primary/v1/webhook?";
6445
6531
  if (page === null)
6446
6532
  throw new Error("The parameter 'page' cannot be null.");
@@ -6462,10 +6548,10 @@ export class Client {
6462
6548
  }
6463
6549
  };
6464
6550
  return this.http.fetch(url_, options_).then((_response) => {
6465
- return this.processWebhookGET(_response);
6551
+ return this.processGetAllWebhooks(_response);
6466
6552
  });
6467
6553
  }
6468
- processWebhookGET(response) {
6554
+ processGetAllWebhooks(response) {
6469
6555
  const status = response.status;
6470
6556
  let _headers = {};
6471
6557
  if (response.headers && response.headers.forEach) {
@@ -6505,7 +6591,7 @@ export class Client {
6505
6591
  * @param body (optional) Update Webhook Request.
6506
6592
  * @return The Updated Webhook.
6507
6593
  */
6508
- webhookPUT(body) {
6594
+ updateWebhook(body) {
6509
6595
  let url_ = this.baseUrl + "/primary/v1/webhook";
6510
6596
  url_ = url_.replace(/[?&]$/, "");
6511
6597
  const content_ = JSON.stringify(body);
@@ -6517,10 +6603,10 @@ export class Client {
6517
6603
  }
6518
6604
  };
6519
6605
  return this.http.fetch(url_, options_).then((_response) => {
6520
- return this.processWebhookPUT(_response);
6606
+ return this.processUpdateWebhook(_response);
6521
6607
  });
6522
6608
  }
6523
- processWebhookPUT(response) {
6609
+ processUpdateWebhook(response) {
6524
6610
  const status = response.status;
6525
6611
  let _headers = {};
6526
6612
  if (response.headers && response.headers.forEach) {
@@ -6560,7 +6646,7 @@ export class Client {
6560
6646
  * @param id Id of the webhook to get.
6561
6647
  * @return Returns the Webhook with the specified Id.
6562
6648
  */
6563
- webhookGET2(id) {
6649
+ getWebhookById(id) {
6564
6650
  let url_ = this.baseUrl + "/primary/v1/webhook/{id}";
6565
6651
  if (id === undefined || id === null)
6566
6652
  throw new Error("The parameter 'id' must be defined.");
@@ -6573,10 +6659,10 @@ export class Client {
6573
6659
  }
6574
6660
  };
6575
6661
  return this.http.fetch(url_, options_).then((_response) => {
6576
- return this.processWebhookGET2(_response);
6662
+ return this.processGetWebhookById(_response);
6577
6663
  });
6578
6664
  }
6579
- processWebhookGET2(response) {
6665
+ processGetWebhookById(response) {
6580
6666
  const status = response.status;
6581
6667
  let _headers = {};
6582
6668
  if (response.headers && response.headers.forEach) {
@@ -6611,7 +6697,7 @@ export class Client {
6611
6697
  * @param id The Webhooks ID.
6612
6698
  * @return The Webhook was deleted.
6613
6699
  */
6614
- webhookDELETE(id) {
6700
+ deleteWebhook(id) {
6615
6701
  let url_ = this.baseUrl + "/primary/v1/webhook/{id}";
6616
6702
  if (id === undefined || id === null)
6617
6703
  throw new Error("The parameter 'id' must be defined.");
@@ -6622,10 +6708,10 @@ export class Client {
6622
6708
  headers: {}
6623
6709
  };
6624
6710
  return this.http.fetch(url_, options_).then((_response) => {
6625
- return this.processWebhookDELETE(_response);
6711
+ return this.processDeleteWebhook(_response);
6626
6712
  });
6627
6713
  }
6628
- processWebhookDELETE(response) {
6714
+ processDeleteWebhook(response) {
6629
6715
  const status = response.status;
6630
6716
  let _headers = {};
6631
6717
  if (response.headers && response.headers.forEach) {
@@ -6679,7 +6765,7 @@ export class Client {
6679
6765
  * @param deliveryStatus (optional) Optional filter by delivery status.
6680
6766
  * @return Returns a list of Webhook Events.
6681
6767
  */
6682
- events(id, from, to, page, pageSize, sortOrder, eventType, deliveryStatus) {
6768
+ getAllWebhookEvents(id, from, to, page, pageSize, sortOrder, eventType, deliveryStatus) {
6683
6769
  let url_ = this.baseUrl + "/primary/v1/webhook/{id}/events?";
6684
6770
  if (id === undefined || id === null)
6685
6771
  throw new Error("The parameter 'id' must be defined.");
@@ -6720,10 +6806,10 @@ export class Client {
6720
6806
  }
6721
6807
  };
6722
6808
  return this.http.fetch(url_, options_).then((_response) => {
6723
- return this.processEvents(_response);
6809
+ return this.processGetAllWebhookEvents(_response);
6724
6810
  });
6725
6811
  }
6726
- processEvents(response) {
6812
+ processGetAllWebhookEvents(response) {
6727
6813
  const status = response.status;
6728
6814
  let _headers = {};
6729
6815
  if (response.headers && response.headers.forEach) {