@bluefin-exchange/pro-sdk 0.2.3 → 0.2.7

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.
@@ -553,10 +553,12 @@ const AccountDataApiAxiosParamCreator = function (configuration) {
553
553
  * @param {string} [accountAddress] Account address to filter funding rate history by.
554
554
  * @param {number} [limit] Default 500; max 1000.
555
555
  * @param {number} [page] The page number to retrieve in a paginated response.
556
+ * @param {number} [startTimeAtMillis] Start time in milliseconds. Defaults to 7 days ago if not specified.
557
+ * @param {number} [endTimeAtMillis] End time in milliseconds. Defaults to now if not specified. Must be greater than start time and must be less than 90 days apart.
556
558
  * @param {*} [options] Override http request option.
557
559
  * @throws {RequiredError}
558
560
  */
559
- getAccountFundingRateHistory: (accountAddress_1, limit_1, page_1, ...args_1) => __awaiter(this, [accountAddress_1, limit_1, page_1, ...args_1], void 0, function* (accountAddress, limit, page, options = {}) {
561
+ getAccountFundingRateHistory: (accountAddress_1, limit_1, page_1, startTimeAtMillis_1, endTimeAtMillis_1, ...args_1) => __awaiter(this, [accountAddress_1, limit_1, page_1, startTimeAtMillis_1, endTimeAtMillis_1, ...args_1], void 0, function* (accountAddress, limit, page, startTimeAtMillis, endTimeAtMillis, options = {}) {
560
562
  const localVarPath = `/api/v1/account/fundingRateHistory`;
561
563
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
562
564
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -579,6 +581,12 @@ const AccountDataApiAxiosParamCreator = function (configuration) {
579
581
  if (page !== undefined) {
580
582
  localVarQueryParameter['page'] = page;
581
583
  }
584
+ if (startTimeAtMillis !== undefined) {
585
+ localVarQueryParameter['startTimeAtMillis'] = startTimeAtMillis;
586
+ }
587
+ if (endTimeAtMillis !== undefined) {
588
+ localVarQueryParameter['endTimeAtMillis'] = endTimeAtMillis;
589
+ }
582
590
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
583
591
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
584
592
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -620,7 +628,7 @@ const AccountDataApiAxiosParamCreator = function (configuration) {
620
628
  * @summary /account/trades
621
629
  * @param {string} [symbol] Market address to filter trades by. If not specified, returns trades for all markets.
622
630
  * @param {number} [startTimeAtMillis] Start time in milliseconds. Defaults to 7 days ago if not specified.
623
- * @param {number} [endTimeAtMillis] End time in milliseconds. Defaults to now if not specified. Must be greater than start time and must be less than 7 days apart.
631
+ * @param {number} [endTimeAtMillis] End time in milliseconds. Defaults to now if not specified. Must be greater than start time and must be less than 90 days apart.
624
632
  * @param {number} [limit] Default 500; max 1000.
625
633
  * @param {TradeType} [tradeType] Type of trade. By default returns all. UNSPECIFIED returns all.
626
634
  * @param {number} [page] The page number to retrieve in a paginated response.
@@ -673,7 +681,7 @@ const AccountDataApiAxiosParamCreator = function (configuration) {
673
681
  * @param {Array<TransactionType>} [types] Optional query parameter to filter transactions by type.
674
682
  * @param {string} [assetSymbol] Optional query parameter to filter transactions by asset bank address.
675
683
  * @param {number} [startTimeAtMillis] Start time in milliseconds. Defaults to 7 days ago if not specified.
676
- * @param {number} [endTimeAtMillis] End time in milliseconds. Defaults to now if not specified. Must be greater than start time and must be less than 7 days apart.
684
+ * @param {number} [endTimeAtMillis] End time in milliseconds. Defaults to now if not specified. Must be greater than start time and must be less than 90 days apart.
677
685
  * @param {number} [limit] Default 500; max 1000.
678
686
  * @param {number} [page] The page number to retrieve in a paginated response.
679
687
  * @param {*} [options] Override http request option.
@@ -720,7 +728,7 @@ const AccountDataApiAxiosParamCreator = function (configuration) {
720
728
  };
721
729
  }),
722
730
  /**
723
- * Sets or updates the group ID for a specific account. Accounts belonging to the same group cannot trade against each other. If the groupId is not set, the account will be removed from its group. Only the first 6 characters of the groupID are guaranteed to be respected, longer group IDs may be rejected.
731
+ * Sets or updates the group ID for a specific account. Accounts belonging to the same group cannot trade against each other. If the groupId is not set, the account will be removed from its group. Only the first 6 characters of the groupID are guaranteed to be respected, longer group IDs may be rejected.
724
732
  * @summary Set the group ID for an account.
725
733
  * @param {AccountGroupIdPatch} accountGroupIdPatch Account group ID update.
726
734
  * @param {*} [options] Override http request option.
@@ -850,13 +858,15 @@ const AccountDataApiFp = function (configuration) {
850
858
  * @param {string} [accountAddress] Account address to filter funding rate history by.
851
859
  * @param {number} [limit] Default 500; max 1000.
852
860
  * @param {number} [page] The page number to retrieve in a paginated response.
861
+ * @param {number} [startTimeAtMillis] Start time in milliseconds. Defaults to 7 days ago if not specified.
862
+ * @param {number} [endTimeAtMillis] End time in milliseconds. Defaults to now if not specified. Must be greater than start time and must be less than 90 days apart.
853
863
  * @param {*} [options] Override http request option.
854
864
  * @throws {RequiredError}
855
865
  */
856
- getAccountFundingRateHistory(accountAddress, limit, page, options) {
866
+ getAccountFundingRateHistory(accountAddress, limit, page, startTimeAtMillis, endTimeAtMillis, options) {
857
867
  return __awaiter(this, void 0, void 0, function* () {
858
868
  var _a, _b, _c;
859
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getAccountFundingRateHistory(accountAddress, limit, page, options);
869
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getAccountFundingRateHistory(accountAddress, limit, page, startTimeAtMillis, endTimeAtMillis, options);
860
870
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
861
871
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountDataApi.getAccountFundingRateHistory']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
862
872
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -882,7 +892,7 @@ const AccountDataApiFp = function (configuration) {
882
892
  * @summary /account/trades
883
893
  * @param {string} [symbol] Market address to filter trades by. If not specified, returns trades for all markets.
884
894
  * @param {number} [startTimeAtMillis] Start time in milliseconds. Defaults to 7 days ago if not specified.
885
- * @param {number} [endTimeAtMillis] End time in milliseconds. Defaults to now if not specified. Must be greater than start time and must be less than 7 days apart.
895
+ * @param {number} [endTimeAtMillis] End time in milliseconds. Defaults to now if not specified. Must be greater than start time and must be less than 90 days apart.
886
896
  * @param {number} [limit] Default 500; max 1000.
887
897
  * @param {TradeType} [tradeType] Type of trade. By default returns all. UNSPECIFIED returns all.
888
898
  * @param {number} [page] The page number to retrieve in a paginated response.
@@ -904,7 +914,7 @@ const AccountDataApiFp = function (configuration) {
904
914
  * @param {Array<TransactionType>} [types] Optional query parameter to filter transactions by type.
905
915
  * @param {string} [assetSymbol] Optional query parameter to filter transactions by asset bank address.
906
916
  * @param {number} [startTimeAtMillis] Start time in milliseconds. Defaults to 7 days ago if not specified.
907
- * @param {number} [endTimeAtMillis] End time in milliseconds. Defaults to now if not specified. Must be greater than start time and must be less than 7 days apart.
917
+ * @param {number} [endTimeAtMillis] End time in milliseconds. Defaults to now if not specified. Must be greater than start time and must be less than 90 days apart.
908
918
  * @param {number} [limit] Default 500; max 1000.
909
919
  * @param {number} [page] The page number to retrieve in a paginated response.
910
920
  * @param {*} [options] Override http request option.
@@ -920,7 +930,7 @@ const AccountDataApiFp = function (configuration) {
920
930
  });
921
931
  },
922
932
  /**
923
- * Sets or updates the group ID for a specific account. Accounts belonging to the same group cannot trade against each other. If the groupId is not set, the account will be removed from its group. Only the first 6 characters of the groupID are guaranteed to be respected, longer group IDs may be rejected.
933
+ * Sets or updates the group ID for a specific account. Accounts belonging to the same group cannot trade against each other. If the groupId is not set, the account will be removed from its group. Only the first 6 characters of the groupID are guaranteed to be respected, longer group IDs may be rejected.
924
934
  * @summary Set the group ID for an account.
925
935
  * @param {AccountGroupIdPatch} accountGroupIdPatch Account group ID update.
926
936
  * @param {*} [options] Override http request option.
@@ -993,11 +1003,13 @@ const AccountDataApiFactory = function (configuration, basePath, axios) {
993
1003
  * @param {string} [accountAddress] Account address to filter funding rate history by.
994
1004
  * @param {number} [limit] Default 500; max 1000.
995
1005
  * @param {number} [page] The page number to retrieve in a paginated response.
1006
+ * @param {number} [startTimeAtMillis] Start time in milliseconds. Defaults to 7 days ago if not specified.
1007
+ * @param {number} [endTimeAtMillis] End time in milliseconds. Defaults to now if not specified. Must be greater than start time and must be less than 90 days apart.
996
1008
  * @param {*} [options] Override http request option.
997
1009
  * @throws {RequiredError}
998
1010
  */
999
- getAccountFundingRateHistory(accountAddress, limit, page, options) {
1000
- return localVarFp.getAccountFundingRateHistory(accountAddress, limit, page, options).then((request) => request(axios, basePath));
1011
+ getAccountFundingRateHistory(accountAddress, limit, page, startTimeAtMillis, endTimeAtMillis, options) {
1012
+ return localVarFp.getAccountFundingRateHistory(accountAddress, limit, page, startTimeAtMillis, endTimeAtMillis, options).then((request) => request(axios, basePath));
1001
1013
  },
1002
1014
  /**
1003
1015
  * Retrieves the user\'s account preferences.
@@ -1013,7 +1025,7 @@ const AccountDataApiFactory = function (configuration, basePath, axios) {
1013
1025
  * @summary /account/trades
1014
1026
  * @param {string} [symbol] Market address to filter trades by. If not specified, returns trades for all markets.
1015
1027
  * @param {number} [startTimeAtMillis] Start time in milliseconds. Defaults to 7 days ago if not specified.
1016
- * @param {number} [endTimeAtMillis] End time in milliseconds. Defaults to now if not specified. Must be greater than start time and must be less than 7 days apart.
1028
+ * @param {number} [endTimeAtMillis] End time in milliseconds. Defaults to now if not specified. Must be greater than start time and must be less than 90 days apart.
1017
1029
  * @param {number} [limit] Default 500; max 1000.
1018
1030
  * @param {TradeType} [tradeType] Type of trade. By default returns all. UNSPECIFIED returns all.
1019
1031
  * @param {number} [page] The page number to retrieve in a paginated response.
@@ -1029,7 +1041,7 @@ const AccountDataApiFactory = function (configuration, basePath, axios) {
1029
1041
  * @param {Array<TransactionType>} [types] Optional query parameter to filter transactions by type.
1030
1042
  * @param {string} [assetSymbol] Optional query parameter to filter transactions by asset bank address.
1031
1043
  * @param {number} [startTimeAtMillis] Start time in milliseconds. Defaults to 7 days ago if not specified.
1032
- * @param {number} [endTimeAtMillis] End time in milliseconds. Defaults to now if not specified. Must be greater than start time and must be less than 7 days apart.
1044
+ * @param {number} [endTimeAtMillis] End time in milliseconds. Defaults to now if not specified. Must be greater than start time and must be less than 90 days apart.
1033
1045
  * @param {number} [limit] Default 500; max 1000.
1034
1046
  * @param {number} [page] The page number to retrieve in a paginated response.
1035
1047
  * @param {*} [options] Override http request option.
@@ -1039,7 +1051,7 @@ const AccountDataApiFactory = function (configuration, basePath, axios) {
1039
1051
  return localVarFp.getAccountTransactionHistory(types, assetSymbol, startTimeAtMillis, endTimeAtMillis, limit, page, options).then((request) => request(axios, basePath));
1040
1052
  },
1041
1053
  /**
1042
- * Sets or updates the group ID for a specific account. Accounts belonging to the same group cannot trade against each other. If the groupId is not set, the account will be removed from its group. Only the first 6 characters of the groupID are guaranteed to be respected, longer group IDs may be rejected.
1054
+ * Sets or updates the group ID for a specific account. Accounts belonging to the same group cannot trade against each other. If the groupId is not set, the account will be removed from its group. Only the first 6 characters of the groupID are guaranteed to be respected, longer group IDs may be rejected.
1043
1055
  * @summary Set the group ID for an account.
1044
1056
  * @param {AccountGroupIdPatch} accountGroupIdPatch Account group ID update.
1045
1057
  * @param {*} [options] Override http request option.
@@ -1095,12 +1107,14 @@ class AccountDataApi extends base_1.BaseAPI {
1095
1107
  * @param {string} [accountAddress] Account address to filter funding rate history by.
1096
1108
  * @param {number} [limit] Default 500; max 1000.
1097
1109
  * @param {number} [page] The page number to retrieve in a paginated response.
1110
+ * @param {number} [startTimeAtMillis] Start time in milliseconds. Defaults to 7 days ago if not specified.
1111
+ * @param {number} [endTimeAtMillis] End time in milliseconds. Defaults to now if not specified. Must be greater than start time and must be less than 90 days apart.
1098
1112
  * @param {*} [options] Override http request option.
1099
1113
  * @throws {RequiredError}
1100
1114
  * @memberof AccountDataApi
1101
1115
  */
1102
- getAccountFundingRateHistory(accountAddress, limit, page, options) {
1103
- return (0, exports.AccountDataApiFp)(this.configuration).getAccountFundingRateHistory(accountAddress, limit, page, options).then((request) => request(this.axios, this.basePath));
1116
+ getAccountFundingRateHistory(accountAddress, limit, page, startTimeAtMillis, endTimeAtMillis, options) {
1117
+ return (0, exports.AccountDataApiFp)(this.configuration).getAccountFundingRateHistory(accountAddress, limit, page, startTimeAtMillis, endTimeAtMillis, options).then((request) => request(this.axios, this.basePath));
1104
1118
  }
1105
1119
  /**
1106
1120
  * Retrieves the user\'s account preferences.
@@ -1117,7 +1131,7 @@ class AccountDataApi extends base_1.BaseAPI {
1117
1131
  * @summary /account/trades
1118
1132
  * @param {string} [symbol] Market address to filter trades by. If not specified, returns trades for all markets.
1119
1133
  * @param {number} [startTimeAtMillis] Start time in milliseconds. Defaults to 7 days ago if not specified.
1120
- * @param {number} [endTimeAtMillis] End time in milliseconds. Defaults to now if not specified. Must be greater than start time and must be less than 7 days apart.
1134
+ * @param {number} [endTimeAtMillis] End time in milliseconds. Defaults to now if not specified. Must be greater than start time and must be less than 90 days apart.
1121
1135
  * @param {number} [limit] Default 500; max 1000.
1122
1136
  * @param {TradeType} [tradeType] Type of trade. By default returns all. UNSPECIFIED returns all.
1123
1137
  * @param {number} [page] The page number to retrieve in a paginated response.
@@ -1134,7 +1148,7 @@ class AccountDataApi extends base_1.BaseAPI {
1134
1148
  * @param {Array<TransactionType>} [types] Optional query parameter to filter transactions by type.
1135
1149
  * @param {string} [assetSymbol] Optional query parameter to filter transactions by asset bank address.
1136
1150
  * @param {number} [startTimeAtMillis] Start time in milliseconds. Defaults to 7 days ago if not specified.
1137
- * @param {number} [endTimeAtMillis] End time in milliseconds. Defaults to now if not specified. Must be greater than start time and must be less than 7 days apart.
1151
+ * @param {number} [endTimeAtMillis] End time in milliseconds. Defaults to now if not specified. Must be greater than start time and must be less than 90 days apart.
1138
1152
  * @param {number} [limit] Default 500; max 1000.
1139
1153
  * @param {number} [page] The page number to retrieve in a paginated response.
1140
1154
  * @param {*} [options] Override http request option.
@@ -1145,7 +1159,7 @@ class AccountDataApi extends base_1.BaseAPI {
1145
1159
  return (0, exports.AccountDataApiFp)(this.configuration).getAccountTransactionHistory(types, assetSymbol, startTimeAtMillis, endTimeAtMillis, limit, page, options).then((request) => request(this.axios, this.basePath));
1146
1160
  }
1147
1161
  /**
1148
- * Sets or updates the group ID for a specific account. Accounts belonging to the same group cannot trade against each other. If the groupId is not set, the account will be removed from its group. Only the first 6 characters of the groupID are guaranteed to be respected, longer group IDs may be rejected.
1162
+ * Sets or updates the group ID for a specific account. Accounts belonging to the same group cannot trade against each other. If the groupId is not set, the account will be removed from its group. Only the first 6 characters of the groupID are guaranteed to be respected, longer group IDs may be rejected.
1149
1163
  * @summary Set the group ID for an account.
1150
1164
  * @param {AccountGroupIdPatch} accountGroupIdPatch Account group ID update.
1151
1165
  * @param {*} [options] Override http request option.
@@ -2770,6 +2784,39 @@ const RewardsApiAxiosParamCreator = function (configuration) {
2770
2784
  options: localVarRequestOptions,
2771
2785
  };
2772
2786
  }),
2787
+ /**
2788
+ * Update the ember refferal share for an affiliate.
2789
+ * @summary /rewards/affiliate/emberRefferalShare
2790
+ * @param {UpdateAffiliateEmberRefferalShareRequest} updateAffiliateEmberRefferalShareRequest
2791
+ * @param {*} [options] Override http request option.
2792
+ * @throws {RequiredError}
2793
+ */
2794
+ updateAffiliateEmberRefferalShare: (updateAffiliateEmberRefferalShareRequest_1, ...args_1) => __awaiter(this, [updateAffiliateEmberRefferalShareRequest_1, ...args_1], void 0, function* (updateAffiliateEmberRefferalShareRequest, options = {}) {
2795
+ // verify required parameter 'updateAffiliateEmberRefferalShareRequest' is not null or undefined
2796
+ (0, common_1.assertParamExists)('updateAffiliateEmberRefferalShare', 'updateAffiliateEmberRefferalShareRequest', updateAffiliateEmberRefferalShareRequest);
2797
+ const localVarPath = `/v1/rewards/affiliate/emberRefferalShare`;
2798
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2799
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2800
+ let baseOptions;
2801
+ if (configuration) {
2802
+ baseOptions = configuration.baseOptions;
2803
+ }
2804
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
2805
+ const localVarHeaderParameter = {};
2806
+ const localVarQueryParameter = {};
2807
+ // authentication bearerAuth required
2808
+ // http bearer authentication required
2809
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
2810
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2811
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2812
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2813
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2814
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateAffiliateEmberRefferalShareRequest, localVarRequestOptions, configuration);
2815
+ return {
2816
+ url: (0, common_1.toPathString)(localVarUrlObj),
2817
+ options: localVarRequestOptions,
2818
+ };
2819
+ }),
2773
2820
  /**
2774
2821
  * Update the fee config for an affiliate.
2775
2822
  * @summary /rewards/affiliate/feeConfig
@@ -3052,6 +3099,22 @@ const RewardsApiFp = function (configuration) {
3052
3099
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3053
3100
  });
3054
3101
  },
3102
+ /**
3103
+ * Update the ember refferal share for an affiliate.
3104
+ * @summary /rewards/affiliate/emberRefferalShare
3105
+ * @param {UpdateAffiliateEmberRefferalShareRequest} updateAffiliateEmberRefferalShareRequest
3106
+ * @param {*} [options] Override http request option.
3107
+ * @throws {RequiredError}
3108
+ */
3109
+ updateAffiliateEmberRefferalShare(updateAffiliateEmberRefferalShareRequest, options) {
3110
+ return __awaiter(this, void 0, void 0, function* () {
3111
+ var _a, _b, _c;
3112
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateAffiliateEmberRefferalShare(updateAffiliateEmberRefferalShareRequest, options);
3113
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3114
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['RewardsApi.updateAffiliateEmberRefferalShare']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3115
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3116
+ });
3117
+ },
3055
3118
  /**
3056
3119
  * Update the fee config for an affiliate.
3057
3120
  * @summary /rewards/affiliate/feeConfig
@@ -3233,6 +3296,16 @@ const RewardsApiFactory = function (configuration, basePath, axios) {
3233
3296
  onboardReferee(onboardRefereeRequest, options) {
3234
3297
  return localVarFp.onboardReferee(onboardRefereeRequest, options).then((request) => request(axios, basePath));
3235
3298
  },
3299
+ /**
3300
+ * Update the ember refferal share for an affiliate.
3301
+ * @summary /rewards/affiliate/emberRefferalShare
3302
+ * @param {UpdateAffiliateEmberRefferalShareRequest} updateAffiliateEmberRefferalShareRequest
3303
+ * @param {*} [options] Override http request option.
3304
+ * @throws {RequiredError}
3305
+ */
3306
+ updateAffiliateEmberRefferalShare(updateAffiliateEmberRefferalShareRequest, options) {
3307
+ return localVarFp.updateAffiliateEmberRefferalShare(updateAffiliateEmberRefferalShareRequest, options).then((request) => request(axios, basePath));
3308
+ },
3236
3309
  /**
3237
3310
  * Update the fee config for an affiliate.
3238
3311
  * @summary /rewards/affiliate/feeConfig
@@ -3422,6 +3495,17 @@ class RewardsApi extends base_1.BaseAPI {
3422
3495
  onboardReferee(onboardRefereeRequest, options) {
3423
3496
  return (0, exports.RewardsApiFp)(this.configuration).onboardReferee(onboardRefereeRequest, options).then((request) => request(this.axios, this.basePath));
3424
3497
  }
3498
+ /**
3499
+ * Update the ember refferal share for an affiliate.
3500
+ * @summary /rewards/affiliate/emberRefferalShare
3501
+ * @param {UpdateAffiliateEmberRefferalShareRequest} updateAffiliateEmberRefferalShareRequest
3502
+ * @param {*} [options] Override http request option.
3503
+ * @throws {RequiredError}
3504
+ * @memberof RewardsApi
3505
+ */
3506
+ updateAffiliateEmberRefferalShare(updateAffiliateEmberRefferalShareRequest, options) {
3507
+ return (0, exports.RewardsApiFp)(this.configuration).updateAffiliateEmberRefferalShare(updateAffiliateEmberRefferalShareRequest, options).then((request) => request(this.axios, this.basePath));
3508
+ }
3425
3509
  /**
3426
3510
  * Update the fee config for an affiliate.
3427
3511
  * @summary /rewards/affiliate/feeConfig