@randock/nameshift-api-client 0.0.471 → 0.0.473

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 (85) hide show
  1. package/README.md +3 -3
  2. package/dist/apis/AdminApi.d.ts +6 -6
  3. package/dist/apis/LeadsPublicApi.d.ts +2 -2
  4. package/dist/apis/LeadsPublicApi.js +16 -5
  5. package/dist/apis/MarketingApi.d.ts +2 -2
  6. package/dist/apis/StatsApi.d.ts +5 -5
  7. package/dist/models/AccountChallengeRewardUsageListItemDtoMetadata.d.ts +1 -1
  8. package/dist/models/AccountChallengeRewardUsageListItemDtoMetadata.js +3 -1
  9. package/dist/models/AdminBankDepositDto.d.ts +4 -2
  10. package/dist/models/AdminChallengeListItemDto.d.ts +4 -2
  11. package/dist/models/AggregatedPaginationResponse.d.ts +4 -2
  12. package/dist/models/AirwallexDepositDto.d.ts +4 -2
  13. package/dist/models/AirwallexDepositDtoFee.d.ts +2 -2
  14. package/dist/models/AirwallexDepositDtoFee.js +6 -2
  15. package/dist/models/BuyerDto.d.ts +3 -3
  16. package/dist/models/BuyerNotificationDto.d.ts +1 -0
  17. package/dist/models/BuyerNotificationDto.js +1 -0
  18. package/dist/models/BuyerNotificationListItemDto.d.ts +1 -0
  19. package/dist/models/BuyerNotificationListItemDto.js +1 -0
  20. package/dist/models/CommissionAction.d.ts +1 -1
  21. package/dist/models/CommissionAction.js +1 -1
  22. package/dist/models/CommissionAddUpdateActionInput.d.ts +1 -1
  23. package/dist/models/CommissionConfigurationInput.d.ts +1 -1
  24. package/dist/models/CommissionDeleteActionInput.d.ts +1 -1
  25. package/dist/models/CommissionFactor.d.ts +1 -1
  26. package/dist/models/CommissionFactor.js +1 -1
  27. package/dist/models/CreateAccountPaymentInput.d.ts +4 -2
  28. package/dist/models/CreateApiKeyInput.d.ts +2 -2
  29. package/dist/models/CreateApiKeyInput.js +2 -2
  30. package/dist/models/FixedCommissionPayloadDto.d.ts +1 -1
  31. package/dist/models/FixedCommissionPayloadSimulationInput.d.ts +1 -1
  32. package/dist/models/FixedCommissionReasonPayloadDto.d.ts +1 -1
  33. package/dist/models/List200Response3.d.ts +4 -2
  34. package/dist/models/List200Response4.d.ts +4 -2
  35. package/dist/models/OrderDto.d.ts +4 -2
  36. package/dist/models/OwnedDomainDto.d.ts +4 -2
  37. package/dist/models/SalesCountCommissionPayloadDto.d.ts +1 -1
  38. package/dist/models/SalesCountCommissionPayloadSimulationInput.d.ts +1 -1
  39. package/dist/models/SalesCountCommissionReasonPayloadDto.d.ts +1 -1
  40. package/dist/models/SellerScaleChallengeListItemDto.d.ts +4 -2
  41. package/dist/models/SubscriptionDto.d.ts +4 -2
  42. package/dist/models/UpdateApiKeyInput.d.ts +2 -2
  43. package/dist/models/UpdateApiKeyInput.js +2 -2
  44. package/dist/models/UpdateChallengeInput.d.ts +4 -2
  45. package/dist/models/UserNotificationDto.d.ts +1 -0
  46. package/dist/models/UserNotificationDto.js +1 -0
  47. package/dist/models/UserNotificationListItemDto.d.ts +1 -0
  48. package/dist/models/UserNotificationListItemDto.js +1 -0
  49. package/package.json +1 -1
  50. package/src/apis/AdminApi.ts +8 -5
  51. package/src/apis/LeadsPublicApi.ts +12 -4
  52. package/src/apis/MarketingApi.ts +4 -1
  53. package/src/apis/StatsApi.ts +7 -4
  54. package/src/models/AccountChallengeRewardUsageListItemDtoMetadata.ts +3 -2
  55. package/src/models/AdminBankDepositDto.ts +2 -2
  56. package/src/models/AdminChallengeListItemDto.ts +2 -2
  57. package/src/models/AggregatedPaginationResponse.ts +2 -2
  58. package/src/models/AirwallexDepositDto.ts +2 -2
  59. package/src/models/AirwallexDepositDtoFee.ts +6 -4
  60. package/src/models/BuyerDto.ts +3 -3
  61. package/src/models/BuyerNotificationDto.ts +1 -0
  62. package/src/models/BuyerNotificationListItemDto.ts +1 -0
  63. package/src/models/CommissionAction.ts +1 -1
  64. package/src/models/CommissionAddUpdateActionInput.ts +1 -1
  65. package/src/models/CommissionConfigurationInput.ts +1 -1
  66. package/src/models/CommissionDeleteActionInput.ts +1 -1
  67. package/src/models/CommissionFactor.ts +1 -1
  68. package/src/models/CreateAccountPaymentInput.ts +2 -2
  69. package/src/models/CreateApiKeyInput.ts +4 -4
  70. package/src/models/FixedCommissionPayloadDto.ts +1 -1
  71. package/src/models/FixedCommissionPayloadSimulationInput.ts +1 -1
  72. package/src/models/FixedCommissionReasonPayloadDto.ts +1 -1
  73. package/src/models/List200Response3.ts +2 -2
  74. package/src/models/List200Response4.ts +2 -2
  75. package/src/models/OrderDto.ts +2 -2
  76. package/src/models/OwnedDomainDto.ts +2 -2
  77. package/src/models/SalesCountCommissionPayloadDto.ts +1 -1
  78. package/src/models/SalesCountCommissionPayloadSimulationInput.ts +1 -1
  79. package/src/models/SalesCountCommissionReasonPayloadDto.ts +1 -1
  80. package/src/models/SellerScaleChallengeListItemDto.ts +2 -2
  81. package/src/models/SubscriptionDto.ts +2 -2
  82. package/src/models/UpdateApiKeyInput.ts +4 -4
  83. package/src/models/UpdateChallengeInput.ts +2 -2
  84. package/src/models/UserNotificationDto.ts +1 -0
  85. package/src/models/UserNotificationListItemDto.ts +1 -0
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.471
1
+ ## @randock/nameshift-api-client@0.0.473
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @randock/nameshift-api-client@0.0.471 --save
39
+ npm install @randock/nameshift-api-client@0.0.473 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -44,4 +44,4 @@ _unPublished (not recommended):_
44
44
  ```
45
45
  npm install PATH_TO_GENERATED_PACKAGE --save
46
46
  ```
47
- f00e4924e32532df29048172ec31a2da18134508b5acefc918c38d56632f1e69fd2aae78dd6e0b9a3621715871a3f4b5
47
+ a093e6a7833c55dff1fb061e5da50149fc5490267991a2183f9fcdfe89d40d6a1330d85b8eac3b3ff13217c07f6d017f
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { AccountNameshiftCommissionByTypeDto, AccountPaymentMethodProfileDto, AccountSettingsDto, AdminAccountLoginDto, AdminAccountSettingsInput, AdminBuyerLoginDto, AdminChallengeListDto, AdminCompanyStatsDto, AdminDashboardStatsDto, AdminGetAllDomainTransfers200Response, AdminMarketplaceDto, BulkCommissionActionsInput, ChangeInvoiceStatusInput, ChangeOrderStatusInput, ChangeSubscriptionStatusInput, CommissionListDto, CommissionSimulationResultDto, CreateChallengeInput, DomainLockDto, DomainStatsDto, DomainTldsDto, DomainTransferDetailsDto, GetAccountChallengeRewardUsagesListDto, GetAllAuctions200Response, GetAllFeatureFlags200Response, GetAllInvoices200Response, GetAllOrders200Response, GetAllOwnedDomains200Response, GetAllSubscriptions200Response, IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto, LeadMessageDto, LedgerMutationsDto, LinkBankDepositToBankAccountInput, LinkBankDepositToInvoiceInput, ListAccounts200Response, ListBankAccounts200Response, ListBankDeposits200Response, ListDomains200Response, ListLeads200Response, ObjectId, SellerSalesByTldStatsItemDto, SellerSalesCountStatsItemDto, SendAdminLeadAiPriceNegotiatorAgentChatMessageInput, SimulateCommissionInput, SubscriptionDetailsDto, UpdateAccountChallengeRewardBalanceInput, UpdateChallengeInput, UpdateFeatureFlagInput, UpdateMarketplaceInput } from '../models/index';
13
+ import type { AccountNameshiftCommissionByTypeDto, AccountPaymentMethodProfileDto, AccountSettingsDto, AdminAccountLoginDto, AdminAccountSettingsInput, AdminBuyerLoginDto, AdminChallengeListDto, AdminCompanyStatsDto, AdminDashboardStatsDto, AdminGetAllDomainTransfers200Response, AdminMarketplaceDto, BulkCommissionActionsInput, ChangeInvoiceStatusInput, ChangeOrderStatusInput, ChangeSubscriptionStatusInput, CommissionListDto, CommissionSimulationResultDto, CreateChallengeInput, DomainLockDto, DomainStatsDto, DomainTldsDto, DomainTransferDetailsDto, GetAccountChallengeRewardUsagesListDto, GetAllAuctions200Response, GetAllFeatureFlags200Response, GetAllInvoices200Response, GetAllOrders200Response, GetAllOwnedDomains200Response, GetAllSubscriptions200Response, IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto, LeadMessageDto, LedgerMutationsDto, LinkBankDepositToBankAccountInput, LinkBankDepositToInvoiceInput, ListAccounts200Response, ListBankAccounts200Response, ListBankDeposits200Response, ListDomains200Response, ListLeads200Response, ObjectId, SellerSalesByTldStatsItemDto, SellerSalesCountStatsItemDto, SendAdminLeadAiPriceNegotiatorAgentChatMessageInput, SimulateCommissionInput, StatsFilterInputDateRange, SubscriptionDetailsDto, UpdateAccountChallengeRewardBalanceInput, UpdateChallengeInput, UpdateFeatureFlagInput, UpdateMarketplaceInput } from '../models/index';
14
14
  export interface AdminApiAdminDeleteAuctionRequest {
15
15
  auctionId: string;
16
16
  }
@@ -76,7 +76,7 @@ export interface AdminApiGetAccountSettingsRequest {
76
76
  accountId: string;
77
77
  }
78
78
  export interface AdminApiGetAdminDashboardStatsRequest {
79
- dateRange?: any | null;
79
+ dateRange?: StatsFilterInputDateRange | null;
80
80
  }
81
81
  export interface AdminApiGetAdminDomainTransferDetailsRequest {
82
82
  domainTransferId: string;
@@ -84,10 +84,10 @@ export interface AdminApiGetAdminDomainTransferDetailsRequest {
84
84
  export interface AdminApiGetAdminSalesByTldRequest {
85
85
  currency: string;
86
86
  accountId?: string;
87
- dateRange?: any | null;
87
+ dateRange?: StatsFilterInputDateRange | null;
88
88
  }
89
89
  export interface AdminApiGetAllAccountsSalesCountRequest {
90
- dateRange?: any | null;
90
+ dateRange?: StatsFilterInputDateRange | null;
91
91
  }
92
92
  export interface AdminApiGetAllAuctionsRequest {
93
93
  filter?: {
@@ -152,7 +152,7 @@ export interface AdminApiGetAllSubscriptionsRequest {
152
152
  filterStatus?: string;
153
153
  }
154
154
  export interface AdminApiGetCompanyStatsRequest {
155
- dateRange?: any | null;
155
+ dateRange?: StatsFilterInputDateRange | null;
156
156
  }
157
157
  export interface AdminApiGetDomainStatsRequest {
158
158
  domainName: string;
@@ -231,7 +231,7 @@ export interface AdminApiListLedgerMutationsRequest {
231
231
  ledgerId: string;
232
232
  page?: number;
233
233
  limit?: number;
234
- dateRange?: any | null;
234
+ dateRange?: StatsFilterInputDateRange | null;
235
235
  }
236
236
  export interface AdminApiLoginAsRequest {
237
237
  accountId: string;
@@ -93,12 +93,12 @@ export declare class LeadsPublicApi extends runtime.BaseAPI {
93
93
  * Updates buyer contact details on an existing lead while it is still in an updatable status. No authentication required.
94
94
  * Update a lead
95
95
  */
96
- updateLeadRaw(requestParameters: LeadsPublicApiUpdateLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
96
+ updateLeadRaw(requestParameters: LeadsPublicApiUpdateLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ObjectId>>;
97
97
  /**
98
98
  * Updates buyer contact details on an existing lead while it is still in an updatable status. No authentication required.
99
99
  * Update a lead
100
100
  */
101
- updateLead(requestParameters: LeadsPublicApiUpdateLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
101
+ updateLead(requestParameters: LeadsPublicApiUpdateLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ObjectId | null | undefined>;
102
102
  /**
103
103
  * Verifies a lead using the one-time code sent to the buyer email. No authentication required.
104
104
  * Verify a lead
@@ -336,7 +336,7 @@ var LeadsPublicApi = /** @class */ (function (_super) {
336
336
  }, initOverrides)];
337
337
  case 1:
338
338
  response = _a.sent();
339
- return [2 /*return*/, new runtime.VoidApiResponse(response)];
339
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ObjectIdFromJSON)(jsonValue); })];
340
340
  }
341
341
  });
342
342
  });
@@ -347,12 +347,23 @@ var LeadsPublicApi = /** @class */ (function (_super) {
347
347
  */
348
348
  LeadsPublicApi.prototype.updateLead = function (requestParameters, initOverrides) {
349
349
  return __awaiter(this, void 0, void 0, function () {
350
- return __generator(this, function (_a) {
351
- switch (_a.label) {
350
+ var response, _a;
351
+ return __generator(this, function (_b) {
352
+ switch (_b.label) {
352
353
  case 0: return [4 /*yield*/, this.updateLeadRaw(requestParameters, initOverrides)];
353
354
  case 1:
354
- _a.sent();
355
- return [2 /*return*/];
355
+ response = _b.sent();
356
+ _a = response.raw.status;
357
+ switch (_a) {
358
+ case 202: return [3 /*break*/, 2];
359
+ case 204: return [3 /*break*/, 4];
360
+ }
361
+ return [3 /*break*/, 5];
362
+ case 2: return [4 /*yield*/, response.value()];
363
+ case 3: return [2 /*return*/, _b.sent()];
364
+ case 4: return [2 /*return*/, null];
365
+ case 5: return [4 /*yield*/, response.value()];
366
+ case 6: return [2 /*return*/, _b.sent()];
356
367
  }
357
368
  });
358
369
  });
@@ -10,9 +10,9 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { GetMarketingSales200Response, MarketingDashboardStatsDto, MarketingSalesFiltersDto } from '../models/index';
13
+ import type { GetMarketingSales200Response, MarketingDashboardStatsDto, MarketingSalesFiltersDto, StatsFilterInputDateRange } from '../models/index';
14
14
  export interface MarketingApiGetMarketingDashboardStatsRequest {
15
- dateRange?: any | null;
15
+ dateRange?: StatsFilterInputDateRange | null;
16
16
  }
17
17
  export interface MarketingApiGetMarketingSalesRequest {
18
18
  filter?: {
@@ -10,19 +10,19 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { SellerPendingPayoutsByCurrencyStatsItemDto, SellerRemainingAndTotalLeaseToOwnByCurrencyStatsItemDto, SellerSalesByTldStatsItemDto, SellerSalesCountStatsItemDto, SellerTotalEarningsByCurrencyOverTimeStatsItemDto, SellerTotalEarningsByCurrencyStatsItemDto, SellerTotalRentMonthlyIncomeByCurrencyStatsItemDto } from '../models/index';
13
+ import type { SellerPendingPayoutsByCurrencyStatsItemDto, SellerRemainingAndTotalLeaseToOwnByCurrencyStatsItemDto, SellerSalesByTldStatsItemDto, SellerSalesCountStatsItemDto, SellerTotalEarningsByCurrencyOverTimeStatsItemDto, SellerTotalEarningsByCurrencyStatsItemDto, SellerTotalRentMonthlyIncomeByCurrencyStatsItemDto, StatsFilterInputDateRange } from '../models/index';
14
14
  export interface StatsApiGetSalesByTldRequest {
15
15
  currency: string;
16
- dateRange?: any | null;
16
+ dateRange?: StatsFilterInputDateRange | null;
17
17
  }
18
18
  export interface StatsApiGetSalesCountRequest {
19
- dateRange?: any | null;
19
+ dateRange?: StatsFilterInputDateRange | null;
20
20
  }
21
21
  export interface StatsApiGetTotalEarningsByCurrencyRequest {
22
- dateRange?: any | null;
22
+ dateRange?: StatsFilterInputDateRange | null;
23
23
  }
24
24
  export interface StatsApiGetTotalEarningsByCurrencyOverTimeRequest {
25
- dateRange?: any | null;
25
+ dateRange?: StatsFilterInputDateRange | null;
26
26
  }
27
27
  /**
28
28
  *
@@ -20,7 +20,7 @@ export interface AccountChallengeRewardUsageListItemDtoMetadata {
20
20
  * @type {string}
21
21
  * @memberof AccountChallengeRewardUsageListItemDtoMetadata
22
22
  */
23
- initialCommissionPercentage?: string;
23
+ initialCommissionPercentage: string;
24
24
  }
25
25
  /**
26
26
  * Check if a given object implements the AccountChallengeRewardUsageListItemDtoMetadata interface.
@@ -22,6 +22,8 @@ exports.AccountChallengeRewardUsageListItemDtoMetadataToJSONTyped = AccountChall
22
22
  * Check if a given object implements the AccountChallengeRewardUsageListItemDtoMetadata interface.
23
23
  */
24
24
  function instanceOfAccountChallengeRewardUsageListItemDtoMetadata(value) {
25
+ if (!('initialCommissionPercentage' in value) || value['initialCommissionPercentage'] === undefined)
26
+ return false;
25
27
  return true;
26
28
  }
27
29
  function AccountChallengeRewardUsageListItemDtoMetadataFromJSON(json) {
@@ -32,7 +34,7 @@ function AccountChallengeRewardUsageListItemDtoMetadataFromJSONTyped(json, ignor
32
34
  return json;
33
35
  }
34
36
  return {
35
- 'initialCommissionPercentage': json['initialCommissionPercentage'] == null ? undefined : json['initialCommissionPercentage'],
37
+ 'initialCommissionPercentage': json['initialCommissionPercentage'],
36
38
  };
37
39
  }
38
40
  function AccountChallengeRewardUsageListItemDtoMetadataToJSON(json) {
@@ -61,10 +61,12 @@ export interface AdminBankDepositDto {
61
61
  invoiceTransaction: AdminBankDepositInvoiceTransactionDto | null;
62
62
  /**
63
63
  * Raw deposit payload from the payment provider.
64
- * @type {object}
64
+ * @type {{ [key: string]: any; }}
65
65
  * @memberof AdminBankDepositDto
66
66
  */
67
- raw: object;
67
+ raw: {
68
+ [key: string]: any;
69
+ };
68
70
  }
69
71
  /**
70
72
  * Check if a given object implements the AdminBankDepositDto interface.
@@ -59,10 +59,12 @@ export interface AdminChallengeListItemDto {
59
59
  rewardPoints: number;
60
60
  /**
61
61
  * Scale (threshold -> reward points); only when rewardType is scale
62
- * @type {object}
62
+ * @type {{ [key: string]: number; }}
63
63
  * @memberof AdminChallengeListItemDto
64
64
  */
65
- scale?: object;
65
+ scale?: {
66
+ [key: string]: number;
67
+ };
66
68
  }
67
69
  /**
68
70
  * @export
@@ -17,10 +17,12 @@
17
17
  export interface AggregatedPaginationResponse {
18
18
  /**
19
19
  * Aggregation results keyed by aggregation name.
20
- * @type {object}
20
+ * @type {{ [key: string]: any; }}
21
21
  * @memberof AggregatedPaginationResponse
22
22
  */
23
- aggregations: object;
23
+ aggregations: {
24
+ [key: string]: any;
25
+ };
24
26
  }
25
27
  /**
26
28
  * Check if a given object implements the AggregatedPaginationResponse interface.
@@ -48,10 +48,12 @@ export interface AirwallexDepositDto {
48
48
  fee: AirwallexDepositDtoFee;
49
49
  /**
50
50
  * Payer information from the payment provider.
51
- * @type {object}
51
+ * @type {{ [key: string]: any; }}
52
52
  * @memberof AirwallexDepositDto
53
53
  */
54
- payer: object;
54
+ payer: {
55
+ [key: string]: any;
56
+ };
55
57
  }
56
58
  /**
57
59
  * Check if a given object implements the AirwallexDepositDto interface.
@@ -20,13 +20,13 @@ export interface AirwallexDepositDtoFee {
20
20
  * @type {number}
21
21
  * @memberof AirwallexDepositDtoFee
22
22
  */
23
- amount?: number;
23
+ amount: number;
24
24
  /**
25
25
  *
26
26
  * @type {string}
27
27
  * @memberof AirwallexDepositDtoFee
28
28
  */
29
- currency?: string;
29
+ currency: string;
30
30
  }
31
31
  /**
32
32
  * Check if a given object implements the AirwallexDepositDtoFee interface.
@@ -22,6 +22,10 @@ exports.AirwallexDepositDtoFeeToJSONTyped = AirwallexDepositDtoFeeToJSONTyped;
22
22
  * Check if a given object implements the AirwallexDepositDtoFee interface.
23
23
  */
24
24
  function instanceOfAirwallexDepositDtoFee(value) {
25
+ if (!('amount' in value) || value['amount'] === undefined)
26
+ return false;
27
+ if (!('currency' in value) || value['currency'] === undefined)
28
+ return false;
25
29
  return true;
26
30
  }
27
31
  function AirwallexDepositDtoFeeFromJSON(json) {
@@ -32,8 +36,8 @@ function AirwallexDepositDtoFeeFromJSONTyped(json, ignoreDiscriminator) {
32
36
  return json;
33
37
  }
34
38
  return {
35
- 'amount': json['amount'] == null ? undefined : json['amount'],
36
- 'currency': json['currency'] == null ? undefined : json['currency'],
39
+ 'amount': json['amount'],
40
+ 'currency': json['currency'],
37
41
  };
38
42
  }
39
43
  function AirwallexDepositDtoFeeToJSON(json) {
@@ -67,19 +67,19 @@ export interface BuyerDto {
67
67
  */
68
68
  phoneNumber: string | null;
69
69
  /**
70
- *
70
+ * Experience level based on the number of domains the buyer bought: none (0), active (1-3), expert (4+).
71
71
  * @type {BuyerExperienceEnum}
72
72
  * @memberof BuyerDto
73
73
  */
74
74
  experience: BuyerExperienceEnum;
75
75
  /**
76
- *
76
+ * Share of the leads the buyer started that ever reached an accepted deal: accepts_nothing (0%), accepts_very_little (below 25%), normal (25-75%), accepts_almost_anything (75-100%), accepts_anything (100%), or unknown when the buyer has a single lead and no accepted deal yet.
77
77
  * @type {BuyerAcceptanceEnum}
78
78
  * @memberof BuyerDto
79
79
  */
80
80
  accepted: BuyerAcceptanceEnum;
81
81
  /**
82
- *
82
+ * Share of the leads the buyer started that were actually paid: pays_nothing (0%), pays_very_little (below 25%), normal (25-75%), pays_almost_everything (75-100%), pays_everything (100%), or unknown when the buyer has a single lead and no purchase yet.
83
83
  * @type {BuyerPaymentEnum}
84
84
  * @memberof BuyerDto
85
85
  */
@@ -118,6 +118,7 @@ export declare const BuyerNotificationDtoTypeEnum: {
118
118
  readonly BUYER_INVOICE: "buyer_invoice";
119
119
  readonly BUYER_RENT_INSTALLMENT_INVOICE: "buyer_rent_installment_invoice";
120
120
  readonly BUYER_LEASE_TO_OWN_INSTALLMENT_INVOICE: "buyer_lease_to_own_installment_invoice";
121
+ readonly BUYER_BANK_TRANSFER_PAYMENT_DETAILS: "buyer_bank_transfer_payment_details";
121
122
  readonly SELLER_BULK_DOWNLOAD_INVOICES_COMPLETED: "seller_bulk_download_invoices_completed";
122
123
  readonly SELLER_BULK_DOWNLOAD_INVOICES_FAILED: "seller_bulk_download_invoices_failed";
123
124
  readonly EPP_BATCH_UPDATE_DOMAINS_RESULTS: "epp.batch.update.domains.results";
@@ -79,6 +79,7 @@ exports.BuyerNotificationDtoTypeEnum = {
79
79
  BUYER_INVOICE: 'buyer_invoice',
80
80
  BUYER_RENT_INSTALLMENT_INVOICE: 'buyer_rent_installment_invoice',
81
81
  BUYER_LEASE_TO_OWN_INSTALLMENT_INVOICE: 'buyer_lease_to_own_installment_invoice',
82
+ BUYER_BANK_TRANSFER_PAYMENT_DETAILS: 'buyer_bank_transfer_payment_details',
82
83
  SELLER_BULK_DOWNLOAD_INVOICES_COMPLETED: 'seller_bulk_download_invoices_completed',
83
84
  SELLER_BULK_DOWNLOAD_INVOICES_FAILED: 'seller_bulk_download_invoices_failed',
84
85
  EPP_BATCH_UPDATE_DOMAINS_RESULTS: 'epp.batch.update.domains.results',
@@ -111,6 +111,7 @@ export declare const BuyerNotificationListItemDtoTypeEnum: {
111
111
  readonly BUYER_INVOICE: "buyer_invoice";
112
112
  readonly BUYER_RENT_INSTALLMENT_INVOICE: "buyer_rent_installment_invoice";
113
113
  readonly BUYER_LEASE_TO_OWN_INSTALLMENT_INVOICE: "buyer_lease_to_own_installment_invoice";
114
+ readonly BUYER_BANK_TRANSFER_PAYMENT_DETAILS: "buyer_bank_transfer_payment_details";
114
115
  readonly SELLER_BULK_DOWNLOAD_INVOICES_COMPLETED: "seller_bulk_download_invoices_completed";
115
116
  readonly SELLER_BULK_DOWNLOAD_INVOICES_FAILED: "seller_bulk_download_invoices_failed";
116
117
  readonly EPP_BATCH_UPDATE_DOMAINS_RESULTS: "epp.batch.update.domains.results";
@@ -78,6 +78,7 @@ exports.BuyerNotificationListItemDtoTypeEnum = {
78
78
  BUYER_INVOICE: 'buyer_invoice',
79
79
  BUYER_RENT_INSTALLMENT_INVOICE: 'buyer_rent_installment_invoice',
80
80
  BUYER_LEASE_TO_OWN_INSTALLMENT_INVOICE: 'buyer_lease_to_own_installment_invoice',
81
+ BUYER_BANK_TRANSFER_PAYMENT_DETAILS: 'buyer_bank_transfer_payment_details',
81
82
  SELLER_BULK_DOWNLOAD_INVOICES_COMPLETED: 'seller_bulk_download_invoices_completed',
82
83
  SELLER_BULK_DOWNLOAD_INVOICES_FAILED: 'seller_bulk_download_invoices_failed',
83
84
  EPP_BATCH_UPDATE_DOMAINS_RESULTS: 'epp.batch.update.domains.results',
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- * Bulk action type: delete an existing commission
13
+ * Bulk action type: add a new commission or update an existing one
14
14
  * @export
15
15
  */
16
16
  export declare const CommissionAction: {
@@ -20,7 +20,7 @@ exports.CommissionActionFromJSONTyped = CommissionActionFromJSONTyped;
20
20
  exports.CommissionActionToJSON = CommissionActionToJSON;
21
21
  exports.CommissionActionToJSONTyped = CommissionActionToJSONTyped;
22
22
  /**
23
- * Bulk action type: delete an existing commission
23
+ * Bulk action type: add a new commission or update an existing one
24
24
  * @export
25
25
  */
26
26
  exports.CommissionAction = {
@@ -18,7 +18,7 @@ import type { CommissionPayloadInput } from './CommissionPayloadInput';
18
18
  */
19
19
  export interface CommissionAddUpdateActionInput {
20
20
  /**
21
- *
21
+ * Bulk action type: add a new commission or update an existing one
22
22
  * @type {CommissionAction}
23
23
  * @memberof CommissionAddUpdateActionInput
24
24
  */
@@ -17,7 +17,7 @@ import type { CommissionFactor } from './CommissionFactor';
17
17
  */
18
18
  export interface CommissionConfigurationInput {
19
19
  /**
20
- *
20
+ * Factor that determines how the commission is calculated
21
21
  * @type {CommissionFactor}
22
22
  * @memberof CommissionConfigurationInput
23
23
  */
@@ -18,7 +18,7 @@ import type { CommissionPayloadIdInput } from './CommissionPayloadIdInput';
18
18
  */
19
19
  export interface CommissionDeleteActionInput {
20
20
  /**
21
- *
21
+ * Bulk action type: delete an existing commission
22
22
  * @type {CommissionAction}
23
23
  * @memberof CommissionDeleteActionInput
24
24
  */
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- * Commission factor (MONTHLY_SALES_COUNT)
13
+ * Commission factor: fixed.
14
14
  * @export
15
15
  */
16
16
  export declare const CommissionFactor: {
@@ -20,7 +20,7 @@ exports.CommissionFactorFromJSONTyped = CommissionFactorFromJSONTyped;
20
20
  exports.CommissionFactorToJSON = CommissionFactorToJSON;
21
21
  exports.CommissionFactorToJSONTyped = CommissionFactorToJSONTyped;
22
22
  /**
23
- * Commission factor (MONTHLY_SALES_COUNT)
23
+ * Commission factor: fixed.
24
24
  * @export
25
25
  */
26
26
  exports.CommissionFactor = {
@@ -29,10 +29,12 @@ export interface CreateAccountPaymentInput {
29
29
  domainId?: string | null;
30
30
  /**
31
31
  * Additional payment metadata
32
- * @type {object}
32
+ * @type {{ [key: string]: any; }}
33
33
  * @memberof CreateAccountPaymentInput
34
34
  */
35
- payload?: object;
35
+ payload?: {
36
+ [key: string]: any;
37
+ };
36
38
  }
37
39
  /**
38
40
  * @export
@@ -23,10 +23,10 @@ export interface CreateApiKeyInput {
23
23
  name: string;
24
24
  /**
25
25
  * Scopes to grant. Must be a subset of the scopes returned by the available-scopes endpoint; a key can only reach endpoints covered by its scopes.
26
- * @type {Array<string>}
26
+ * @type {Set<string>}
27
27
  * @memberof CreateApiKeyInput
28
28
  */
29
- scope: Array<CreateApiKeyInputScopeEnum>;
29
+ scope: Set<CreateApiKeyInputScopeEnum>;
30
30
  /**
31
31
  * When the key should stop working. Omit for a key that never expires.
32
32
  * @type {Date}
@@ -76,7 +76,7 @@ function CreateApiKeyInputFromJSONTyped(json, ignoreDiscriminator) {
76
76
  }
77
77
  return {
78
78
  'name': json['name'],
79
- 'scope': json['scope'],
79
+ 'scope': new Set(json['scope']),
80
80
  'expiresAt': json['expiresAt'] == null ? undefined : (new Date(json['expiresAt'])),
81
81
  };
82
82
  }
@@ -90,7 +90,7 @@ function CreateApiKeyInputToJSONTyped(value, ignoreDiscriminator) {
90
90
  }
91
91
  return {
92
92
  'name': value['name'],
93
- 'scope': value['scope'],
93
+ 'scope': Array.from(value['scope']),
94
94
  'expiresAt': value['expiresAt'] == null ? undefined : ((value['expiresAt']).toISOString()),
95
95
  };
96
96
  }
@@ -17,7 +17,7 @@ import type { CommissionFactor } from './CommissionFactor';
17
17
  */
18
18
  export interface FixedCommissionPayloadDto {
19
19
  /**
20
- *
20
+ * Commission factor: fixed.
21
21
  * @type {CommissionFactor}
22
22
  * @memberof FixedCommissionPayloadDto
23
23
  */
@@ -17,7 +17,7 @@ import type { CommissionFactor } from './CommissionFactor';
17
17
  */
18
18
  export interface FixedCommissionPayloadSimulationInput {
19
19
  /**
20
- *
20
+ * Commission factor (FIXED)
21
21
  * @type {CommissionFactor}
22
22
  * @memberof FixedCommissionPayloadSimulationInput
23
23
  */
@@ -17,7 +17,7 @@ import type { CommissionFactor } from './CommissionFactor';
17
17
  */
18
18
  export interface FixedCommissionReasonPayloadDto {
19
19
  /**
20
- *
20
+ * Commission factor: fixed.
21
21
  * @type {CommissionFactor}
22
22
  * @memberof FixedCommissionReasonPayloadDto
23
23
  */
@@ -43,10 +43,12 @@ export interface List200Response3 {
43
43
  pagination: CursorBasedPageInfo;
44
44
  /**
45
45
  * Aggregation results keyed by aggregation name.
46
- * @type {object}
46
+ * @type {{ [key: string]: any; }}
47
47
  * @memberof List200Response3
48
48
  */
49
- aggregations: object;
49
+ aggregations: {
50
+ [key: string]: any;
51
+ };
50
52
  }
51
53
  /**
52
54
  * @export
@@ -43,10 +43,12 @@ export interface List200Response4 {
43
43
  pagination: CursorBasedPageInfo;
44
44
  /**
45
45
  * Aggregation results keyed by aggregation name.
46
- * @type {object}
46
+ * @type {{ [key: string]: any; }}
47
47
  * @memberof List200Response4
48
48
  */
49
- aggregations: object;
49
+ aggregations: {
50
+ [key: string]: any;
51
+ };
50
52
  }
51
53
  /**
52
54
  * @export
@@ -130,10 +130,12 @@ export interface OrderDto {
130
130
  enabledPaymentMethods: Array<OrderDtoEnabledPaymentMethodsEnum>;
131
131
  /**
132
132
  * Available payment methods per gateway (canonical ids), keyed by PaymentGateway. Empty when the cache is missing or expired.
133
- * @type {object}
133
+ * @type {{ [key: string]: any; }}
134
134
  * @memberof OrderDto
135
135
  */
136
- availablePaymentMethods: object;
136
+ availablePaymentMethods: {
137
+ [key: string]: any;
138
+ };
137
139
  /**
138
140
  * Selected payment method on the active transaction (canonical)
139
141
  * @type {string}
@@ -53,10 +53,12 @@ export interface OwnedDomainDto {
53
53
  hosting: OwnedDomainDtoHostingEnum;
54
54
  /**
55
55
  * Last response from the external registry service.
56
- * @type {object}
56
+ * @type {{ [key: string]: any; }}
57
57
  * @memberof OwnedDomainDto
58
58
  */
59
- lastExternalServiceResponse: object;
59
+ lastExternalServiceResponse: {
60
+ [key: string]: any;
61
+ };
60
62
  /**
61
63
  * Domain transfer status.
62
64
  * @type {string}
@@ -18,7 +18,7 @@ import type { CommissionPercentageRangeDto } from './CommissionPercentageRangeDt
18
18
  */
19
19
  export interface SalesCountCommissionPayloadDto {
20
20
  /**
21
- *
21
+ * Commission factor: monthly sales count.
22
22
  * @type {CommissionFactor}
23
23
  * @memberof SalesCountCommissionPayloadDto
24
24
  */
@@ -18,7 +18,7 @@ import type { CommissionPercentageRangeInput } from './CommissionPercentageRange
18
18
  */
19
19
  export interface SalesCountCommissionPayloadSimulationInput {
20
20
  /**
21
- *
21
+ * Commission factor (MONTHLY_SALES_COUNT)
22
22
  * @type {CommissionFactor}
23
23
  * @memberof SalesCountCommissionPayloadSimulationInput
24
24
  */
@@ -18,7 +18,7 @@ import type { CommissionPercentageRangeDto } from './CommissionPercentageRangeDt
18
18
  */
19
19
  export interface SalesCountCommissionReasonPayloadDto {
20
20
  /**
21
- *
21
+ * Commission factor: monthly sales count.
22
22
  * @type {CommissionFactor}
23
23
  * @memberof SalesCountCommissionReasonPayloadDto
24
24
  */
@@ -47,10 +47,12 @@ export interface SellerScaleChallengeListItemDto {
47
47
  rewardType: SellerScaleChallengeListItemDtoRewardTypeEnum;
48
48
  /**
49
49
  * Threshold -> reward points (e.g. { "10": 0.1, "50": 0.25, "250": 0.5 })
50
- * @type {object}
50
+ * @type {{ [key: string]: number; }}
51
51
  * @memberof SellerScaleChallengeListItemDto
52
52
  */
53
- scale: object;
53
+ scale: {
54
+ [key: string]: number;
55
+ };
54
56
  /**
55
57
  * Current value for this period (e.g. for keep_pointing_domains: number of domains pointing to our server)
56
58
  * @type {number}
@@ -139,10 +139,12 @@ export interface SubscriptionDto {
139
139
  hasPendingTransaction: boolean;
140
140
  /**
141
141
  * Available payment methods per gateway (canonical ids), keyed by PaymentGateway. Empty when the cache is missing or expired.
142
- * @type {object}
142
+ * @type {{ [key: string]: any; }}
143
143
  * @memberof SubscriptionDto
144
144
  */
145
- availablePaymentMethods: object;
145
+ availablePaymentMethods: {
146
+ [key: string]: any;
147
+ };
146
148
  /**
147
149
  * Selected payment method on the active transaction (canonical)
148
150
  * @type {string}