@northstake/northstakeapi 1.0.7 → 1.0.9

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 (155) hide show
  1. package/.openapi-generator/FILES +25 -15
  2. package/api/apis.ts +17 -9
  3. package/api/northstake.ts +47 -23
  4. package/api/portfolioApi.ts +4 -4
  5. package/api/stakingPartnerManagedUsersApi.ts +0 -279
  6. package/api/stakingPartnerManagedUsersDepositAddressesApi.ts +167 -0
  7. package/api/stakingPartnerManagedUsersPortfolioApi.ts +167 -0
  8. package/api/stakingPartnerManagedUsersStatsApi.ts +167 -0
  9. package/api/stakingPartnerManagedUsersValidatorsApi.ts +167 -0
  10. package/api/statsApi.ts +0 -73
  11. package/api/{rfqMarketPlaceBuyersApi.ts → validatorMarketplaceBuyersApi.ts} +34 -21
  12. package/api/{rfqMarketPlaceSellersApi.ts → validatorMarketplaceSellersApi.ts} +69 -60
  13. package/api/{rfqMarketPlaceWebhooksApi.ts → validatorMarketplaceWebhooksApi.ts} +7 -7
  14. package/api/validatorsApi.ts +172 -0
  15. package/dist/api/apis.d.ts +17 -9
  16. package/dist/api/apis.js +17 -9
  17. package/dist/api/northstake.d.ts +16 -8
  18. package/dist/api/northstake.js +32 -16
  19. package/dist/api/portfolioApi.d.ts +2 -2
  20. package/dist/api/portfolioApi.js +1 -1
  21. package/dist/api/stakingPartnerManagedUsersApi.d.ts +0 -55
  22. package/dist/api/stakingPartnerManagedUsersApi.js +0 -264
  23. package/dist/api/stakingPartnerManagedUsersDepositAddressesApi.d.ts +53 -0
  24. package/dist/api/stakingPartnerManagedUsersDepositAddressesApi.js +146 -0
  25. package/dist/api/stakingPartnerManagedUsersPortfolioApi.d.ts +53 -0
  26. package/dist/api/stakingPartnerManagedUsersPortfolioApi.js +146 -0
  27. package/dist/api/stakingPartnerManagedUsersStatsApi.d.ts +53 -0
  28. package/dist/api/stakingPartnerManagedUsersStatsApi.js +146 -0
  29. package/dist/api/{stakingPartnerValidatorKeysApi.d.ts → stakingPartnerManagedUsersValidatorsApi.d.ts} +5 -31
  30. package/dist/api/stakingPartnerManagedUsersValidatorsApi.js +146 -0
  31. package/dist/api/statsApi.d.ts +0 -15
  32. package/dist/api/statsApi.js +0 -68
  33. package/dist/api/{rfqMarketPlaceBuyersApi.d.ts → validatorMarketplaceBuyersApi.d.ts} +12 -10
  34. package/dist/api/{rfqMarketPlaceBuyersApi.js → validatorMarketplaceBuyersApi.js} +36 -24
  35. package/dist/api/{rfqMarketPlaceSellersApi.d.ts → validatorMarketplaceSellersApi.d.ts} +28 -26
  36. package/dist/api/{rfqMarketPlaceSellersApi.js → validatorMarketplaceSellersApi.js} +64 -57
  37. package/dist/api/{rfqMarketPlaceWebhooksApi.d.ts → validatorMarketplaceWebhooksApi.d.ts} +2 -2
  38. package/dist/api/{rfqMarketPlaceWebhooksApi.js → validatorMarketplaceWebhooksApi.js} +11 -11
  39. package/dist/api/validatorsApi.d.ts +56 -0
  40. package/dist/api/validatorsApi.js +148 -0
  41. package/dist/model/{createRFQDocumentForSellerRequest.d.ts → createRFQDocumentRequest.d.ts} +1 -1
  42. package/dist/model/{createRFQDocumentForSellerRequest.js → createRFQDocumentRequest.js} +6 -6
  43. package/dist/model/{registerRewardRecipientSettlementRequestInner.d.ts → exitEstimateBase.d.ts} +3 -3
  44. package/dist/model/exitEstimateBase.js +33 -0
  45. package/dist/model/{exitEstimate.d.ts → exitEstimateSeller.d.ts} +2 -2
  46. package/dist/model/{exitEstimate.js → exitEstimateSeller.js} +10 -10
  47. package/dist/model/models.d.ts +17 -11
  48. package/dist/model/models.js +51 -33
  49. package/dist/model/{getRewardsStatistics200ResponseInner.d.ts → portfolioEntity.d.ts} +7 -6
  50. package/dist/model/portfolioEntity.js +38 -0
  51. package/dist/model/rFQDocumentBase.d.ts +6 -3
  52. package/dist/model/rFQDocumentBase.js +8 -8
  53. package/dist/model/rFQDocumentBuyer.d.ts +7 -4
  54. package/dist/model/rFQDocumentBuyer.js +8 -8
  55. package/dist/model/{rFQDocumentBaseValidatorsInner.d.ts → rFQDocumentBuyerAllOfValidators.d.ts} +3 -3
  56. package/dist/model/{rFQDocumentBaseValidatorsInner.js → rFQDocumentBuyerAllOfValidators.js} +9 -9
  57. package/dist/model/rFQDocumentBuyerStatusFilterEnum.d.ts +19 -0
  58. package/dist/model/rFQDocumentBuyerStatusFilterEnum.js +23 -0
  59. package/dist/model/rFQDocumentSeller.d.ts +8 -4
  60. package/dist/model/rFQDocumentSeller.js +18 -13
  61. package/dist/model/rFQDocumentSellerAllOfValidators.d.ts +28 -0
  62. package/dist/model/rFQDocumentSellerAllOfValidators.js +38 -0
  63. package/dist/model/rFQDocumentSellerStatusFilterEnum.d.ts +20 -0
  64. package/dist/model/rFQDocumentSellerStatusFilterEnum.js +24 -0
  65. package/dist/model/rFQDocumentStatusEnum.d.ts +17 -0
  66. package/dist/model/rFQDocumentStatusEnum.js +21 -0
  67. package/dist/model/{acceptBidForRFQDocumentRequest.d.ts → rejectQuoteForRFQDocumentRequest.d.ts} +1 -1
  68. package/dist/model/{acceptBidForRFQDocumentRequest.js → rejectQuoteForRFQDocumentRequest.js} +6 -6
  69. package/dist/model/settlementStepEscrowPayment.d.ts +1 -0
  70. package/dist/model/settlementStepEscrowPayment.js +5 -0
  71. package/dist/model/settlementStepEscrowReleased.d.ts +2 -0
  72. package/dist/model/settlementStepEscrowReleased.js +10 -0
  73. package/dist/model/{settlementStepRewardRecipientSettlementInner.d.ts → settlementStepWithdrawalRecipientSettlement.d.ts} +1 -2
  74. package/dist/model/{settlementStepRewardRecipientSettlementInner.js → settlementStepWithdrawalRecipientSettlement.js} +6 -11
  75. package/dist/model/settlementSteps.d.ts +2 -2
  76. package/dist/model/settlementSteps.js +3 -3
  77. package/dist/model/stakeStep.d.ts +1 -1
  78. package/dist/model/stepStatus.d.ts +1 -1
  79. package/dist/model/stepStatus.js +1 -1
  80. package/dist/model/submitQuoteForRFQDocumentRequest.d.ts +25 -0
  81. package/dist/model/submitQuoteForRFQDocumentRequest.js +28 -0
  82. package/dist/model/tokenEnum.d.ts +1 -3
  83. package/dist/model/tokenEnum.js +1 -3
  84. package/dist/model/unstakeStep.d.ts +1 -1
  85. package/dist/model/unstakeStepType.d.ts +1 -1
  86. package/dist/model/unstakeStepType.js +1 -1
  87. package/dist/model/validatorContractTypeEnum.d.ts +15 -0
  88. package/dist/model/validatorContractTypeEnum.js +19 -0
  89. package/dist/model/validatorInfo.d.ts +6 -1
  90. package/dist/model/validatorInfo.js +17 -2
  91. package/dist/model/{portfolioTableRow.d.ts → validatorInfoValidatorType.d.ts} +6 -10
  92. package/dist/model/validatorInfoValidatorType.js +33 -0
  93. package/dist/model/validatorInfoValidatorTypeContract.d.ts +29 -0
  94. package/dist/model/validatorInfoValidatorTypeContract.js +33 -0
  95. package/dist/model/validatorKeyHolderEnum.d.ts +15 -0
  96. package/dist/model/validatorKeyHolderEnum.js +19 -0
  97. package/dist/model/webhookPayloadRFQAvailable.d.ts +2 -2
  98. package/dist/model/webhookPayloadRFQAvailable.js +1 -1
  99. package/dist/model/webhookPayloadRFQEscrowReleasedDetails.d.ts +1 -0
  100. package/dist/model/webhookPayloadRFQEscrowReleasedDetails.js +5 -0
  101. package/dist/model/webhookPayloadRFQValidatorWithdrawalChange.d.ts +2 -2
  102. package/dist/model/webhookPayloadRFQValidatorWithdrawalChange.js +1 -1
  103. package/dist/model/{webhookPayloadRFQValidatorWithdrawalChangeDetailsInner.d.ts → webhookPayloadRFQValidatorWithdrawalChangeDetails.d.ts} +1 -2
  104. package/dist/model/{webhookPayloadRFQValidatorWithdrawalChangeDetailsInner.js → webhookPayloadRFQValidatorWithdrawalChangeDetails.js} +6 -11
  105. package/dist/model/withdrawalStep.d.ts +1 -1
  106. package/dist/model/withdrawalStepType.d.ts +1 -1
  107. package/dist/model/withdrawalStepType.js +1 -1
  108. package/model/{createRFQDocumentForSellerRequest.ts → createRFQDocumentRequest.ts} +2 -2
  109. package/model/exitEstimateBase.ts +37 -0
  110. package/model/{exitEstimate.ts → exitEstimateSeller.ts} +7 -7
  111. package/model/models.ts +51 -33
  112. package/model/portfolioEntity.ts +46 -0
  113. package/model/rFQDocumentBase.ts +14 -11
  114. package/model/rFQDocumentBuyer.ts +15 -12
  115. package/model/{rFQDocumentBaseValidatorsInner.ts → rFQDocumentBuyerAllOfValidators.ts} +7 -7
  116. package/model/rFQDocumentBuyerStatusFilterEnum.ts +22 -0
  117. package/model/rFQDocumentSeller.ts +26 -17
  118. package/model/{registerRewardRecipientSettlementRequestInner.ts → rFQDocumentSellerAllOfValidators.ts} +15 -8
  119. package/model/rFQDocumentSellerStatusFilterEnum.ts +23 -0
  120. package/model/rFQDocumentStatusEnum.ts +20 -0
  121. package/model/{acceptBidForRFQDocumentRequest.ts → rejectQuoteForRFQDocumentRequest.ts} +2 -2
  122. package/model/settlementStepEscrowPayment.ts +6 -0
  123. package/model/settlementStepEscrowReleased.ts +12 -0
  124. package/model/{settlementStepRewardRecipientSettlementInner.ts → settlementStepWithdrawalRecipientSettlement.ts} +2 -8
  125. package/model/settlementSteps.ts +5 -5
  126. package/model/stakeStep.ts +1 -1
  127. package/model/stepStatus.ts +1 -1
  128. package/model/{rFQMarketPlaceMetadata.ts → submitQuoteForRFQDocumentRequest.ts} +5 -17
  129. package/model/tokenEnum.ts +1 -3
  130. package/model/unstakeStep.ts +1 -1
  131. package/model/unstakeStepType.ts +1 -1
  132. package/model/validatorContractTypeEnum.ts +18 -0
  133. package/model/validatorInfo.ts +23 -3
  134. package/model/validatorInfoValidatorType.ts +41 -0
  135. package/model/validatorInfoValidatorTypeContract.ts +40 -0
  136. package/model/validatorKeyHolderEnum.ts +18 -0
  137. package/model/webhookPayloadRFQAvailable.ts +3 -3
  138. package/model/webhookPayloadRFQEscrowReleasedDetails.ts +6 -0
  139. package/model/webhookPayloadRFQValidatorWithdrawalChange.ts +3 -3
  140. package/model/{webhookPayloadRFQValidatorWithdrawalChangeDetailsInner.ts → webhookPayloadRFQValidatorWithdrawalChangeDetails.ts} +2 -8
  141. package/model/withdrawalStep.ts +1 -1
  142. package/model/withdrawalStepType.ts +1 -1
  143. package/package.json +1 -1
  144. package/api/stakingPartnerValidatorKeysApi.ts +0 -292
  145. package/dist/api/stakingPartnerValidatorKeysApi.js +0 -265
  146. package/dist/model/getRewardsStatistics200ResponseInner.js +0 -48
  147. package/dist/model/getValidatorKeys200ResponseInner.d.ts +0 -40
  148. package/dist/model/getValidatorKeys200ResponseInner.js +0 -43
  149. package/dist/model/portfolioTableRow.js +0 -58
  150. package/dist/model/rFQMarketPlaceMetadata.d.ts +0 -32
  151. package/dist/model/rFQMarketPlaceMetadata.js +0 -33
  152. package/dist/model/registerRewardRecipientSettlementRequestInner.js +0 -33
  153. package/model/getRewardsStatistics200ResponseInner.ts +0 -55
  154. package/model/getValidatorKeys200ResponseInner.ts +0 -61
  155. package/model/portfolioTableRow.ts +0 -70
@@ -14,7 +14,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
14
14
  return (mod && mod.__esModule) ? mod : { "default": mod };
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.RfqMarketPlaceBuyersApi = exports.RfqMarketPlaceBuyersApiApiKeys = void 0;
17
+ exports.ValidatorMarketplaceBuyersApi = exports.ValidatorMarketplaceBuyersApiApiKeys = void 0;
18
18
  const request_1 = __importDefault(require("request"));
19
19
  const models_1 = require("../model/models");
20
20
  const models_2 = require("../model/models");
@@ -23,11 +23,11 @@ let defaultBasePath = '/v1';
23
23
  // ===============================================
24
24
  // This file is autogenerated - Please do not edit
25
25
  // ===============================================
26
- var RfqMarketPlaceBuyersApiApiKeys;
27
- (function (RfqMarketPlaceBuyersApiApiKeys) {
28
- RfqMarketPlaceBuyersApiApiKeys[RfqMarketPlaceBuyersApiApiKeys["ApiKeyAuth"] = 0] = "ApiKeyAuth";
29
- })(RfqMarketPlaceBuyersApiApiKeys || (exports.RfqMarketPlaceBuyersApiApiKeys = RfqMarketPlaceBuyersApiApiKeys = {}));
30
- class RfqMarketPlaceBuyersApi {
26
+ var ValidatorMarketplaceBuyersApiApiKeys;
27
+ (function (ValidatorMarketplaceBuyersApiApiKeys) {
28
+ ValidatorMarketplaceBuyersApiApiKeys[ValidatorMarketplaceBuyersApiApiKeys["ApiKeyAuth"] = 0] = "ApiKeyAuth";
29
+ })(ValidatorMarketplaceBuyersApiApiKeys || (exports.ValidatorMarketplaceBuyersApiApiKeys = ValidatorMarketplaceBuyersApiApiKeys = {}));
30
+ class ValidatorMarketplaceBuyersApi {
31
31
  constructor(basePathOrUsername, password, basePath) {
32
32
  this._basePath = defaultBasePath;
33
33
  this._defaultHeaders = {};
@@ -68,7 +68,7 @@ class RfqMarketPlaceBuyersApi {
68
68
  this.authentications.default = auth;
69
69
  }
70
70
  setApiKey(key, value) {
71
- this.authentications[RfqMarketPlaceBuyersApiApiKeys[key]].apiKey = value;
71
+ this.authentications[ValidatorMarketplaceBuyersApiApiKeys[key]].apiKey = value;
72
72
  }
73
73
  set accessToken(accessToken) {
74
74
  this.authentications.bearerTokenAuth.accessToken = accessToken;
@@ -78,11 +78,11 @@ class RfqMarketPlaceBuyersApi {
78
78
  }
79
79
  /**
80
80
  *
81
- * @summary Retrieve a specific RFQ document for bidding
81
+ * @summary Retrieve a specific RFQ
82
82
  * @param rfqId
83
83
  */
84
84
  async getRFQDocumentForBuyer(rfqId, options = { headers: {} }) {
85
- const localVarPath = this.basePath + '/rfqMarketPlace/buyers/documents/{rfqId}'
85
+ const localVarPath = this.basePath + '/validatorMarketplace/buyers/documents/{rfqId}'
86
86
  .replace('{' + 'rfqId' + '}', encodeURIComponent(String(rfqId)));
87
87
  let localVarQueryParameters = {};
88
88
  let localVarHeaderParams = Object.assign({}, this._defaultHeaders);
@@ -144,10 +144,11 @@ class RfqMarketPlaceBuyersApi {
144
144
  }
145
145
  /**
146
146
  *
147
- * @summary List all available RFQ documents for bidding
147
+ * @summary List RFQs
148
+ * @param status Filter by RFQ status
148
149
  */
149
- async listAvailableRFQDocumentsForBuyer(options = { headers: {} }) {
150
- const localVarPath = this.basePath + '/rfqMarketPlace/buyers/documents';
150
+ async listRFQDocumentsForBuyer(status, options = { headers: {} }) {
151
+ const localVarPath = this.basePath + '/validatorMarketplace/buyers/documents';
151
152
  let localVarQueryParameters = {};
152
153
  let localVarHeaderParams = Object.assign({}, this._defaultHeaders);
153
154
  const produces = ['application/json'];
@@ -159,6 +160,9 @@ class RfqMarketPlaceBuyersApi {
159
160
  localVarHeaderParams.Accept = produces.join(',');
160
161
  }
161
162
  let localVarFormParams = {};
163
+ if (status !== undefined) {
164
+ localVarQueryParameters['status'] = models_1.ObjectSerializer.serialize(status, "RFQDocumentBuyerStatusFilterEnum");
165
+ }
162
166
  Object.assign(localVarHeaderParams, options.headers);
163
167
  let localVarUseFormData = false;
164
168
  let localVarRequestOptions = {
@@ -204,12 +208,12 @@ class RfqMarketPlaceBuyersApi {
204
208
  }
205
209
  /**
206
210
  *
207
- * @summary Provide an escrow hash for an RFQ document
211
+ * @summary Provide a transaction hash for an escrow deposit as part of settlement
208
212
  * @param rfqId
209
213
  * @param provideEscrowHashForRFQDocumentRequest
210
214
  */
211
215
  async provideEscrowHashForRFQDocument(rfqId, provideEscrowHashForRFQDocumentRequest, options = { headers: {} }) {
212
- const localVarPath = this.basePath + '/rfqMarketPlace/buyers/documents/{rfqId}/provideEscrowHash'
216
+ const localVarPath = this.basePath + '/validatorMarketplace/buyers/documents/{rfqId}/provideEscrowHash'
213
217
  .replace('{' + 'rfqId' + '}', encodeURIComponent(String(rfqId)));
214
218
  let localVarQueryParameters = {};
215
219
  let localVarHeaderParams = Object.assign({}, this._defaultHeaders);
@@ -275,34 +279,42 @@ class RfqMarketPlaceBuyersApi {
275
279
  }
276
280
  /**
277
281
  *
278
- * @summary Submit a quote for an RFQ document
282
+ * @summary Submit a quote for an RFQ in ETH
279
283
  * @param rfqId
280
- * @param quote
284
+ * @param submitQuoteForRFQDocumentRequest
281
285
  */
282
- async submitQuoteForRFQDocument(rfqId, quote, options = { headers: {} }) {
283
- const localVarPath = this.basePath + '/rfqMarketPlace/buyers/documents/{rfqId}/submitQuote'
286
+ async submitQuoteForRFQDocument(rfqId, submitQuoteForRFQDocumentRequest, options = { headers: {} }) {
287
+ const localVarPath = this.basePath + '/validatorMarketplace/buyers/quotes/{rfqId}/submitQuote'
284
288
  .replace('{' + 'rfqId' + '}', encodeURIComponent(String(rfqId)));
285
289
  let localVarQueryParameters = {};
286
290
  let localVarHeaderParams = Object.assign({}, this._defaultHeaders);
291
+ const produces = ['application/json'];
292
+ // give precedence to 'application/json'
293
+ if (produces.indexOf('application/json') >= 0) {
294
+ localVarHeaderParams.Accept = 'application/json';
295
+ }
296
+ else {
297
+ localVarHeaderParams.Accept = produces.join(',');
298
+ }
287
299
  let localVarFormParams = {};
288
300
  // verify required parameter 'rfqId' is not null or undefined
289
301
  if (rfqId === null || rfqId === undefined) {
290
302
  throw new Error('Required parameter rfqId was null or undefined when calling submitQuoteForRFQDocument.');
291
303
  }
292
- // verify required parameter 'quote' is not null or undefined
293
- if (quote === null || quote === undefined) {
294
- throw new Error('Required parameter quote was null or undefined when calling submitQuoteForRFQDocument.');
304
+ // verify required parameter 'submitQuoteForRFQDocumentRequest' is not null or undefined
305
+ if (submitQuoteForRFQDocumentRequest === null || submitQuoteForRFQDocumentRequest === undefined) {
306
+ throw new Error('Required parameter submitQuoteForRFQDocumentRequest was null or undefined when calling submitQuoteForRFQDocument.');
295
307
  }
296
308
  Object.assign(localVarHeaderParams, options.headers);
297
309
  let localVarUseFormData = false;
298
310
  let localVarRequestOptions = {
299
- method: 'POST',
311
+ method: 'PATCH',
300
312
  qs: localVarQueryParameters,
301
313
  headers: localVarHeaderParams,
302
314
  uri: localVarPath,
303
315
  useQuerystring: this._useQuerystring,
304
316
  json: true,
305
- body: models_1.ObjectSerializer.serialize(quote, "Quote")
317
+ body: models_1.ObjectSerializer.serialize(submitQuoteForRFQDocumentRequest, "SubmitQuoteForRFQDocumentRequest")
306
318
  };
307
319
  let authenticationPromise = Promise.resolve();
308
320
  authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
@@ -337,4 +349,4 @@ class RfqMarketPlaceBuyersApi {
337
349
  });
338
350
  }
339
351
  }
340
- exports.RfqMarketPlaceBuyersApi = RfqMarketPlaceBuyersApi;
352
+ exports.ValidatorMarketplaceBuyersApi = ValidatorMarketplaceBuyersApi;
@@ -11,16 +11,17 @@
11
11
  */
12
12
  /// <reference types="node" />
13
13
  import http from 'http';
14
- import { AcceptBidForRFQDocumentRequest } from '../model/acceptBidForRFQDocumentRequest';
15
- import { CreateRFQDocumentForSellerRequest } from '../model/createRFQDocumentForSellerRequest';
14
+ import { CreateRFQDocumentRequest } from '../model/createRFQDocumentRequest';
15
+ import { ProvideEscrowHashForRFQDocumentRequest } from '../model/provideEscrowHashForRFQDocumentRequest';
16
16
  import { RFQDocumentSeller } from '../model/rFQDocumentSeller';
17
- import { RegisterRewardRecipientSettlementRequestInner } from '../model/registerRewardRecipientSettlementRequestInner';
17
+ import { RFQDocumentSellerStatusFilterEnum } from '../model/rFQDocumentSellerStatusFilterEnum';
18
+ import { RejectQuoteForRFQDocumentRequest } from '../model/rejectQuoteForRFQDocumentRequest';
18
19
  import { Interceptor } from '../model/models';
19
20
  import { HttpBearerAuth, ApiKeyAuth, JWTAuth } from '../model/models';
20
- export declare enum RfqMarketPlaceSellersApiApiKeys {
21
+ export declare enum ValidatorMarketplaceSellersApiApiKeys {
21
22
  ApiKeyAuth = 0
22
23
  }
23
- export declare class RfqMarketPlaceSellersApi {
24
+ export declare class ValidatorMarketplaceSellersApi {
24
25
  protected _basePath: string;
25
26
  protected _defaultHeaders: any;
26
27
  protected _useQuerystring: boolean;
@@ -42,11 +43,11 @@ export declare class RfqMarketPlaceSellersApi {
42
43
  private addInterceptor;
43
44
  /**
44
45
  *
45
- * @summary Accept a bid on an RFQ document by the seller
46
+ * @summary Accept quote
46
47
  * @param rfqId
47
- * @param acceptBidForRFQDocumentRequest
48
+ * @param rejectQuoteForRFQDocumentRequest
48
49
  */
49
- acceptBidForRFQDocument(rfqId: string, acceptBidForRFQDocumentRequest: AcceptBidForRFQDocumentRequest, options?: {
50
+ acceptQuoteForRFQDocument(rfqId: string, rejectQuoteForRFQDocumentRequest: RejectQuoteForRFQDocumentRequest, options?: {
50
51
  headers: {
51
52
  [name: string]: string;
52
53
  };
@@ -56,63 +57,64 @@ export declare class RfqMarketPlaceSellersApi {
56
57
  }>;
57
58
  /**
58
59
  *
59
- * @summary Create a new RFQ document for bidding
60
- * @param createRFQDocumentForSellerRequest
60
+ * @summary Create a new RFQ
61
+ * @param createRFQDocumentRequest
61
62
  */
62
- createRFQDocumentForSeller(createRFQDocumentForSellerRequest: CreateRFQDocumentForSellerRequest, options?: {
63
+ createRFQDocument(createRFQDocumentRequest: CreateRFQDocumentRequest, options?: {
63
64
  headers: {
64
65
  [name: string]: string;
65
66
  };
66
67
  }): Promise<{
67
68
  response: http.IncomingMessage;
68
- body?: any;
69
+ body: RFQDocumentSeller;
69
70
  }>;
70
71
  /**
71
72
  *
72
- * @summary Delete an RFQ document
73
+ * @summary Retrieve a specific RFQ by ID for the seller
73
74
  * @param rfqId
74
75
  */
75
- deleteRFQDocumentForSeller(rfqId: string, options?: {
76
+ getRFQDocument(rfqId: string, options?: {
76
77
  headers: {
77
78
  [name: string]: string;
78
79
  };
79
80
  }): Promise<{
80
81
  response: http.IncomingMessage;
81
- body?: any;
82
+ body: RFQDocumentSeller;
82
83
  }>;
83
84
  /**
84
85
  *
85
- * @summary Retrieve a specific RFQ document by ID for the seller
86
- * @param rfqId
86
+ * @summary List all RFQs posted by the seller with optional status filter
87
+ * @param status Filter by RFQ status
87
88
  */
88
- getRFQDocumentForSeller(rfqId: string, options?: {
89
+ listRFQDocuments(status?: RFQDocumentSellerStatusFilterEnum, options?: {
89
90
  headers: {
90
91
  [name: string]: string;
91
92
  };
92
93
  }): Promise<{
93
94
  response: http.IncomingMessage;
94
- body: RFQDocumentSeller;
95
+ body: Array<RFQDocumentSeller>;
95
96
  }>;
96
97
  /**
97
98
  *
98
- * @summary List all RFQ documents posted by the seller with optional status filter
99
- * @param status Filter by document status
99
+ * @summary Register withdrawal recipient settlement hash for an RFQ
100
+ * @param rfqId
101
+ * @param provideEscrowHashForRFQDocumentRequest
100
102
  */
101
- listRFQDocumentsForSeller(status?: 'open' | 'accepted' | 'escrow_paid' | 'reward_recipient_settling' | 'reward_recipient_settled' | 'escrow_released', options?: {
103
+ registerWithdrawalRecipientSettlement(rfqId: string, provideEscrowHashForRFQDocumentRequest: ProvideEscrowHashForRFQDocumentRequest, options?: {
102
104
  headers: {
103
105
  [name: string]: string;
104
106
  };
105
107
  }): Promise<{
106
108
  response: http.IncomingMessage;
107
- body: Array<RFQDocumentSeller>;
109
+ body?: any;
108
110
  }>;
109
111
  /**
110
112
  *
111
- * @summary Register reward recipient settlement hashes for an RFQ document
113
+ * @summary Reject Quote
112
114
  * @param rfqId
113
- * @param registerRewardRecipientSettlementRequestInner
115
+ * @param rejectQuoteForRFQDocumentRequest
114
116
  */
115
- registerRewardRecipientSettlement(rfqId: string, registerRewardRecipientSettlementRequestInner: Array<RegisterRewardRecipientSettlementRequestInner>, options?: {
117
+ rejectQuoteForRFQDocument(rfqId: string, rejectQuoteForRFQDocumentRequest: RejectQuoteForRFQDocumentRequest, options?: {
116
118
  headers: {
117
119
  [name: string]: string;
118
120
  };
@@ -14,7 +14,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
14
14
  return (mod && mod.__esModule) ? mod : { "default": mod };
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.RfqMarketPlaceSellersApi = exports.RfqMarketPlaceSellersApiApiKeys = void 0;
17
+ exports.ValidatorMarketplaceSellersApi = exports.ValidatorMarketplaceSellersApiApiKeys = void 0;
18
18
  const request_1 = __importDefault(require("request"));
19
19
  const models_1 = require("../model/models");
20
20
  const models_2 = require("../model/models");
@@ -23,11 +23,11 @@ let defaultBasePath = '/v1';
23
23
  // ===============================================
24
24
  // This file is autogenerated - Please do not edit
25
25
  // ===============================================
26
- var RfqMarketPlaceSellersApiApiKeys;
27
- (function (RfqMarketPlaceSellersApiApiKeys) {
28
- RfqMarketPlaceSellersApiApiKeys[RfqMarketPlaceSellersApiApiKeys["ApiKeyAuth"] = 0] = "ApiKeyAuth";
29
- })(RfqMarketPlaceSellersApiApiKeys || (exports.RfqMarketPlaceSellersApiApiKeys = RfqMarketPlaceSellersApiApiKeys = {}));
30
- class RfqMarketPlaceSellersApi {
26
+ var ValidatorMarketplaceSellersApiApiKeys;
27
+ (function (ValidatorMarketplaceSellersApiApiKeys) {
28
+ ValidatorMarketplaceSellersApiApiKeys[ValidatorMarketplaceSellersApiApiKeys["ApiKeyAuth"] = 0] = "ApiKeyAuth";
29
+ })(ValidatorMarketplaceSellersApiApiKeys || (exports.ValidatorMarketplaceSellersApiApiKeys = ValidatorMarketplaceSellersApiApiKeys = {}));
30
+ class ValidatorMarketplaceSellersApi {
31
31
  constructor(basePathOrUsername, password, basePath) {
32
32
  this._basePath = defaultBasePath;
33
33
  this._defaultHeaders = {};
@@ -68,7 +68,7 @@ class RfqMarketPlaceSellersApi {
68
68
  this.authentications.default = auth;
69
69
  }
70
70
  setApiKey(key, value) {
71
- this.authentications[RfqMarketPlaceSellersApiApiKeys[key]].apiKey = value;
71
+ this.authentications[ValidatorMarketplaceSellersApiApiKeys[key]].apiKey = value;
72
72
  }
73
73
  set accessToken(accessToken) {
74
74
  this.authentications.bearerTokenAuth.accessToken = accessToken;
@@ -78,12 +78,12 @@ class RfqMarketPlaceSellersApi {
78
78
  }
79
79
  /**
80
80
  *
81
- * @summary Accept a bid on an RFQ document by the seller
81
+ * @summary Accept quote
82
82
  * @param rfqId
83
- * @param acceptBidForRFQDocumentRequest
83
+ * @param rejectQuoteForRFQDocumentRequest
84
84
  */
85
- async acceptBidForRFQDocument(rfqId, acceptBidForRFQDocumentRequest, options = { headers: {} }) {
86
- const localVarPath = this.basePath + '/rfqMarketPlace/sellers/documents/{rfqId}/acceptBid'
85
+ async acceptQuoteForRFQDocument(rfqId, rejectQuoteForRFQDocumentRequest, options = { headers: {} }) {
86
+ const localVarPath = this.basePath + '/validatorMarketplace/sellers/documents/{rfqId}/acceptQuote'
87
87
  .replace('{' + 'rfqId' + '}', encodeURIComponent(String(rfqId)));
88
88
  let localVarQueryParameters = {};
89
89
  let localVarHeaderParams = Object.assign({}, this._defaultHeaders);
@@ -98,22 +98,22 @@ class RfqMarketPlaceSellersApi {
98
98
  let localVarFormParams = {};
99
99
  // verify required parameter 'rfqId' is not null or undefined
100
100
  if (rfqId === null || rfqId === undefined) {
101
- throw new Error('Required parameter rfqId was null or undefined when calling acceptBidForRFQDocument.');
101
+ throw new Error('Required parameter rfqId was null or undefined when calling acceptQuoteForRFQDocument.');
102
102
  }
103
- // verify required parameter 'acceptBidForRFQDocumentRequest' is not null or undefined
104
- if (acceptBidForRFQDocumentRequest === null || acceptBidForRFQDocumentRequest === undefined) {
105
- throw new Error('Required parameter acceptBidForRFQDocumentRequest was null or undefined when calling acceptBidForRFQDocument.');
103
+ // verify required parameter 'rejectQuoteForRFQDocumentRequest' is not null or undefined
104
+ if (rejectQuoteForRFQDocumentRequest === null || rejectQuoteForRFQDocumentRequest === undefined) {
105
+ throw new Error('Required parameter rejectQuoteForRFQDocumentRequest was null or undefined when calling acceptQuoteForRFQDocument.');
106
106
  }
107
107
  Object.assign(localVarHeaderParams, options.headers);
108
108
  let localVarUseFormData = false;
109
109
  let localVarRequestOptions = {
110
- method: 'POST',
110
+ method: 'PATCH',
111
111
  qs: localVarQueryParameters,
112
112
  headers: localVarHeaderParams,
113
113
  uri: localVarPath,
114
114
  useQuerystring: this._useQuerystring,
115
115
  json: true,
116
- body: models_1.ObjectSerializer.serialize(acceptBidForRFQDocumentRequest, "AcceptBidForRFQDocumentRequest")
116
+ body: models_1.ObjectSerializer.serialize(rejectQuoteForRFQDocumentRequest, "RejectQuoteForRFQDocumentRequest")
117
117
  };
118
118
  let authenticationPromise = Promise.resolve();
119
119
  authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
@@ -149,11 +149,11 @@ class RfqMarketPlaceSellersApi {
149
149
  }
150
150
  /**
151
151
  *
152
- * @summary Create a new RFQ document for bidding
153
- * @param createRFQDocumentForSellerRequest
152
+ * @summary Create a new RFQ
153
+ * @param createRFQDocumentRequest
154
154
  */
155
- async createRFQDocumentForSeller(createRFQDocumentForSellerRequest, options = { headers: {} }) {
156
- const localVarPath = this.basePath + '/rfqMarketPlace/sellers/documents';
155
+ async createRFQDocument(createRFQDocumentRequest, options = { headers: {} }) {
156
+ const localVarPath = this.basePath + '/validatorMarketplace/sellers/documents';
157
157
  let localVarQueryParameters = {};
158
158
  let localVarHeaderParams = Object.assign({}, this._defaultHeaders);
159
159
  const produces = ['application/json'];
@@ -165,9 +165,9 @@ class RfqMarketPlaceSellersApi {
165
165
  localVarHeaderParams.Accept = produces.join(',');
166
166
  }
167
167
  let localVarFormParams = {};
168
- // verify required parameter 'createRFQDocumentForSellerRequest' is not null or undefined
169
- if (createRFQDocumentForSellerRequest === null || createRFQDocumentForSellerRequest === undefined) {
170
- throw new Error('Required parameter createRFQDocumentForSellerRequest was null or undefined when calling createRFQDocumentForSeller.');
168
+ // verify required parameter 'createRFQDocumentRequest' is not null or undefined
169
+ if (createRFQDocumentRequest === null || createRFQDocumentRequest === undefined) {
170
+ throw new Error('Required parameter createRFQDocumentRequest was null or undefined when calling createRFQDocument.');
171
171
  }
172
172
  Object.assign(localVarHeaderParams, options.headers);
173
173
  let localVarUseFormData = false;
@@ -178,7 +178,7 @@ class RfqMarketPlaceSellersApi {
178
178
  uri: localVarPath,
179
179
  useQuerystring: this._useQuerystring,
180
180
  json: true,
181
- body: models_1.ObjectSerializer.serialize(createRFQDocumentForSellerRequest, "CreateRFQDocumentForSellerRequest")
181
+ body: models_1.ObjectSerializer.serialize(createRFQDocumentRequest, "CreateRFQDocumentRequest")
182
182
  };
183
183
  let authenticationPromise = Promise.resolve();
184
184
  authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
@@ -202,6 +202,7 @@ class RfqMarketPlaceSellersApi {
202
202
  }
203
203
  else {
204
204
  if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
205
+ body = models_1.ObjectSerializer.deserialize(body, "RFQDocumentSeller");
205
206
  resolve({ response: response, body: body });
206
207
  }
207
208
  else {
@@ -214,11 +215,11 @@ class RfqMarketPlaceSellersApi {
214
215
  }
215
216
  /**
216
217
  *
217
- * @summary Delete an RFQ document
218
+ * @summary Retrieve a specific RFQ by ID for the seller
218
219
  * @param rfqId
219
220
  */
220
- async deleteRFQDocumentForSeller(rfqId, options = { headers: {} }) {
221
- const localVarPath = this.basePath + '/rfqMarketPlace/sellers/documents/{rfqId}'
221
+ async getRFQDocument(rfqId, options = { headers: {} }) {
222
+ const localVarPath = this.basePath + '/validatorMarketplace/sellers/documents/{rfqId}'
222
223
  .replace('{' + 'rfqId' + '}', encodeURIComponent(String(rfqId)));
223
224
  let localVarQueryParameters = {};
224
225
  let localVarHeaderParams = Object.assign({}, this._defaultHeaders);
@@ -233,12 +234,12 @@ class RfqMarketPlaceSellersApi {
233
234
  let localVarFormParams = {};
234
235
  // verify required parameter 'rfqId' is not null or undefined
235
236
  if (rfqId === null || rfqId === undefined) {
236
- throw new Error('Required parameter rfqId was null or undefined when calling deleteRFQDocumentForSeller.');
237
+ throw new Error('Required parameter rfqId was null or undefined when calling getRFQDocument.');
237
238
  }
238
239
  Object.assign(localVarHeaderParams, options.headers);
239
240
  let localVarUseFormData = false;
240
241
  let localVarRequestOptions = {
241
- method: 'DELETE',
242
+ method: 'GET',
242
243
  qs: localVarQueryParameters,
243
244
  headers: localVarHeaderParams,
244
245
  uri: localVarPath,
@@ -267,6 +268,7 @@ class RfqMarketPlaceSellersApi {
267
268
  }
268
269
  else {
269
270
  if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
271
+ body = models_1.ObjectSerializer.deserialize(body, "RFQDocumentSeller");
270
272
  resolve({ response: response, body: body });
271
273
  }
272
274
  else {
@@ -279,12 +281,11 @@ class RfqMarketPlaceSellersApi {
279
281
  }
280
282
  /**
281
283
  *
282
- * @summary Retrieve a specific RFQ document by ID for the seller
283
- * @param rfqId
284
+ * @summary List all RFQs posted by the seller with optional status filter
285
+ * @param status Filter by RFQ status
284
286
  */
285
- async getRFQDocumentForSeller(rfqId, options = { headers: {} }) {
286
- const localVarPath = this.basePath + '/rfqMarketPlace/sellers/documents/{rfqId}'
287
- .replace('{' + 'rfqId' + '}', encodeURIComponent(String(rfqId)));
287
+ async listRFQDocuments(status, options = { headers: {} }) {
288
+ const localVarPath = this.basePath + '/validatorMarketplace/sellers/documents';
288
289
  let localVarQueryParameters = {};
289
290
  let localVarHeaderParams = Object.assign({}, this._defaultHeaders);
290
291
  const produces = ['application/json'];
@@ -296,9 +297,8 @@ class RfqMarketPlaceSellersApi {
296
297
  localVarHeaderParams.Accept = produces.join(',');
297
298
  }
298
299
  let localVarFormParams = {};
299
- // verify required parameter 'rfqId' is not null or undefined
300
- if (rfqId === null || rfqId === undefined) {
301
- throw new Error('Required parameter rfqId was null or undefined when calling getRFQDocumentForSeller.');
300
+ if (status !== undefined) {
301
+ localVarQueryParameters['status'] = models_1.ObjectSerializer.serialize(status, "RFQDocumentSellerStatusFilterEnum");
302
302
  }
303
303
  Object.assign(localVarHeaderParams, options.headers);
304
304
  let localVarUseFormData = false;
@@ -332,7 +332,7 @@ class RfqMarketPlaceSellersApi {
332
332
  }
333
333
  else {
334
334
  if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
335
- body = models_1.ObjectSerializer.deserialize(body, "RFQDocumentSeller");
335
+ body = models_1.ObjectSerializer.deserialize(body, "Array<RFQDocumentSeller>");
336
336
  resolve({ response: response, body: body });
337
337
  }
338
338
  else {
@@ -345,11 +345,13 @@ class RfqMarketPlaceSellersApi {
345
345
  }
346
346
  /**
347
347
  *
348
- * @summary List all RFQ documents posted by the seller with optional status filter
349
- * @param status Filter by document status
348
+ * @summary Register withdrawal recipient settlement hash for an RFQ
349
+ * @param rfqId
350
+ * @param provideEscrowHashForRFQDocumentRequest
350
351
  */
351
- async listRFQDocumentsForSeller(status, options = { headers: {} }) {
352
- const localVarPath = this.basePath + '/rfqMarketPlace/sellers/documents';
352
+ async registerWithdrawalRecipientSettlement(rfqId, provideEscrowHashForRFQDocumentRequest, options = { headers: {} }) {
353
+ const localVarPath = this.basePath + '/validatorMarketplace/sellers/documents/{rfqId}/registerWithdrawalRecipientSettlement'
354
+ .replace('{' + 'rfqId' + '}', encodeURIComponent(String(rfqId)));
353
355
  let localVarQueryParameters = {};
354
356
  let localVarHeaderParams = Object.assign({}, this._defaultHeaders);
355
357
  const produces = ['application/json'];
@@ -361,18 +363,24 @@ class RfqMarketPlaceSellersApi {
361
363
  localVarHeaderParams.Accept = produces.join(',');
362
364
  }
363
365
  let localVarFormParams = {};
364
- if (status !== undefined) {
365
- localVarQueryParameters['status'] = models_1.ObjectSerializer.serialize(status, "'open' | 'accepted' | 'escrow_paid' | 'reward_recipient_settling' | 'reward_recipient_settled' | 'escrow_released'");
366
+ // verify required parameter 'rfqId' is not null or undefined
367
+ if (rfqId === null || rfqId === undefined) {
368
+ throw new Error('Required parameter rfqId was null or undefined when calling registerWithdrawalRecipientSettlement.');
369
+ }
370
+ // verify required parameter 'provideEscrowHashForRFQDocumentRequest' is not null or undefined
371
+ if (provideEscrowHashForRFQDocumentRequest === null || provideEscrowHashForRFQDocumentRequest === undefined) {
372
+ throw new Error('Required parameter provideEscrowHashForRFQDocumentRequest was null or undefined when calling registerWithdrawalRecipientSettlement.');
366
373
  }
367
374
  Object.assign(localVarHeaderParams, options.headers);
368
375
  let localVarUseFormData = false;
369
376
  let localVarRequestOptions = {
370
- method: 'GET',
377
+ method: 'PATCH',
371
378
  qs: localVarQueryParameters,
372
379
  headers: localVarHeaderParams,
373
380
  uri: localVarPath,
374
381
  useQuerystring: this._useQuerystring,
375
382
  json: true,
383
+ body: models_1.ObjectSerializer.serialize(provideEscrowHashForRFQDocumentRequest, "ProvideEscrowHashForRFQDocumentRequest")
376
384
  };
377
385
  let authenticationPromise = Promise.resolve();
378
386
  authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
@@ -396,7 +404,6 @@ class RfqMarketPlaceSellersApi {
396
404
  }
397
405
  else {
398
406
  if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
399
- body = models_1.ObjectSerializer.deserialize(body, "Array<RFQDocumentSeller>");
400
407
  resolve({ response: response, body: body });
401
408
  }
402
409
  else {
@@ -409,12 +416,12 @@ class RfqMarketPlaceSellersApi {
409
416
  }
410
417
  /**
411
418
  *
412
- * @summary Register reward recipient settlement hashes for an RFQ document
419
+ * @summary Reject Quote
413
420
  * @param rfqId
414
- * @param registerRewardRecipientSettlementRequestInner
421
+ * @param rejectQuoteForRFQDocumentRequest
415
422
  */
416
- async registerRewardRecipientSettlement(rfqId, registerRewardRecipientSettlementRequestInner, options = { headers: {} }) {
417
- const localVarPath = this.basePath + '/rfqMarketPlace/sellers/documents/{rfqId}/registerRewardRecipientSettlement'
423
+ async rejectQuoteForRFQDocument(rfqId, rejectQuoteForRFQDocumentRequest, options = { headers: {} }) {
424
+ const localVarPath = this.basePath + '/validatorMarketplace/buyers/documents/{rfqId}'
418
425
  .replace('{' + 'rfqId' + '}', encodeURIComponent(String(rfqId)));
419
426
  let localVarQueryParameters = {};
420
427
  let localVarHeaderParams = Object.assign({}, this._defaultHeaders);
@@ -429,11 +436,11 @@ class RfqMarketPlaceSellersApi {
429
436
  let localVarFormParams = {};
430
437
  // verify required parameter 'rfqId' is not null or undefined
431
438
  if (rfqId === null || rfqId === undefined) {
432
- throw new Error('Required parameter rfqId was null or undefined when calling registerRewardRecipientSettlement.');
439
+ throw new Error('Required parameter rfqId was null or undefined when calling rejectQuoteForRFQDocument.');
433
440
  }
434
- // verify required parameter 'registerRewardRecipientSettlementRequestInner' is not null or undefined
435
- if (registerRewardRecipientSettlementRequestInner === null || registerRewardRecipientSettlementRequestInner === undefined) {
436
- throw new Error('Required parameter registerRewardRecipientSettlementRequestInner was null or undefined when calling registerRewardRecipientSettlement.');
441
+ // verify required parameter 'rejectQuoteForRFQDocumentRequest' is not null or undefined
442
+ if (rejectQuoteForRFQDocumentRequest === null || rejectQuoteForRFQDocumentRequest === undefined) {
443
+ throw new Error('Required parameter rejectQuoteForRFQDocumentRequest was null or undefined when calling rejectQuoteForRFQDocument.');
437
444
  }
438
445
  Object.assign(localVarHeaderParams, options.headers);
439
446
  let localVarUseFormData = false;
@@ -444,7 +451,7 @@ class RfqMarketPlaceSellersApi {
444
451
  uri: localVarPath,
445
452
  useQuerystring: this._useQuerystring,
446
453
  json: true,
447
- body: models_1.ObjectSerializer.serialize(registerRewardRecipientSettlementRequestInner, "Array<RegisterRewardRecipientSettlementRequestInner>")
454
+ body: models_1.ObjectSerializer.serialize(rejectQuoteForRFQDocumentRequest, "RejectQuoteForRFQDocumentRequest")
448
455
  };
449
456
  let authenticationPromise = Promise.resolve();
450
457
  authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
@@ -479,4 +486,4 @@ class RfqMarketPlaceSellersApi {
479
486
  });
480
487
  }
481
488
  }
482
- exports.RfqMarketPlaceSellersApi = RfqMarketPlaceSellersApi;
489
+ exports.ValidatorMarketplaceSellersApi = ValidatorMarketplaceSellersApi;
@@ -15,10 +15,10 @@ import { WebHookLookupAnswer } from '../model/webHookLookupAnswer';
15
15
  import { WebhookRegistration } from '../model/webhookRegistration';
16
16
  import { Interceptor } from '../model/models';
17
17
  import { HttpBearerAuth, ApiKeyAuth, JWTAuth } from '../model/models';
18
- export declare enum RfqMarketPlaceWebhooksApiApiKeys {
18
+ export declare enum ValidatorMarketplaceWebhooksApiApiKeys {
19
19
  ApiKeyAuth = 0
20
20
  }
21
- export declare class RfqMarketPlaceWebhooksApi {
21
+ export declare class ValidatorMarketplaceWebhooksApi {
22
22
  protected _basePath: string;
23
23
  protected _defaultHeaders: any;
24
24
  protected _useQuerystring: boolean;