@randock/nameshift-api-client 0.0.504 → 0.0.506
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +12 -2
- package/README.md +3 -3
- package/dist/apis/AdminApi.d.ts +113 -1
- package/dist/apis/AdminApi.js +500 -0
- package/dist/apis/UsersApi.d.ts +18 -18
- package/dist/apis/UsersApi.js +69 -70
- package/dist/apis/UsersPublicApi.d.ts +20 -7
- package/dist/apis/UsersPublicApi.js +54 -6
- package/dist/models/AdminUserNewsletterInput.d.ts +41 -0
- package/dist/models/AdminUserNewsletterInput.js +60 -0
- package/dist/models/AdminUserSecurityDto.d.ts +4 -4
- package/dist/models/AdminUserSecurityDto.js +3 -4
- package/dist/models/ChangeUserSignInStepsInput.d.ts +33 -0
- package/dist/models/ChangeUserSignInStepsInput.js +51 -0
- package/dist/models/CreateNewsletterInput.d.ts +171 -0
- package/dist/models/CreateNewsletterInput.js +98 -0
- package/dist/models/LoginPasswordInput.d.ts +38 -0
- package/dist/models/LoginPasswordInput.js +55 -0
- package/dist/models/NewsStoryDto.d.ts +80 -0
- package/dist/models/NewsStoryDto.js +83 -0
- package/dist/models/NewsletterDto.d.ts +251 -0
- package/dist/models/NewsletterDto.js +200 -0
- package/dist/models/NewsletterPreviewDto.d.ts +44 -0
- package/dist/models/NewsletterPreviewDto.js +59 -0
- package/dist/models/NewsletterSecondaryStoryDto.d.ts +44 -0
- package/dist/models/NewsletterSecondaryStoryDto.js +59 -0
- package/dist/models/NewsletterSecondaryStoryInput.d.ts +44 -0
- package/dist/models/NewsletterSecondaryStoryInput.js +59 -0
- package/dist/models/SecondFactorMethod.d.ts +1 -0
- package/dist/models/SecondFactorMethod.js +1 -0
- package/dist/models/SendNewsletterPreviewInput.d.ts +32 -0
- package/dist/models/SendNewsletterPreviewInput.js +51 -0
- package/dist/models/UpdateNewsletterInput.d.ts +171 -0
- package/dist/models/UpdateNewsletterInput.js +96 -0
- package/dist/models/UserLoginAttemptResult.d.ts +1 -0
- package/dist/models/UserLoginAttemptResult.js +1 -0
- package/dist/models/UserSecurityDto.d.ts +11 -11
- package/dist/models/UserSecurityDto.js +10 -10
- package/dist/models/UserSignInFactor.d.ts +26 -0
- package/dist/models/UserSignInFactor.js +52 -0
- package/dist/models/index.d.ts +12 -2
- package/dist/models/index.js +12 -2
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +454 -0
- package/src/apis/UsersApi.ts +73 -74
- package/src/apis/UsersPublicApi.ts +51 -6
- package/src/models/AdminUserNewsletterInput.ts +78 -0
- package/src/models/AdminUserSecurityDto.ts +12 -14
- package/src/models/ChangeUserSignInStepsInput.ts +74 -0
- package/src/models/CreateNewsletterInput.ts +258 -0
- package/src/models/LoginPasswordInput.ts +75 -0
- package/src/models/NewsStoryDto.ts +138 -0
- package/src/models/NewsletterDto.ts +400 -0
- package/src/models/NewsletterPreviewDto.ts +84 -0
- package/src/models/NewsletterSecondaryStoryDto.ts +84 -0
- package/src/models/NewsletterSecondaryStoryInput.ts +84 -0
- package/src/models/SecondFactorMethod.ts +1 -0
- package/src/models/SendNewsletterPreviewInput.ts +66 -0
- package/src/models/UpdateNewsletterInput.ts +257 -0
- package/src/models/UserLoginAttemptResult.ts +1 -0
- package/src/models/UserSecurityDto.ts +25 -27
- package/src/models/UserSignInFactor.ts +54 -0
- package/src/models/index.ts +12 -2
- package/dist/models/ChangeUserAuthenticationMethodInput.d.ts +0 -33
- package/dist/models/ChangeUserAuthenticationMethodInput.js +0 -52
- package/dist/models/UserAuthenticationMethod.d.ts +0 -27
- package/dist/models/UserAuthenticationMethod.js +0 -53
- package/src/models/ChangeUserAuthenticationMethodInput.ts +0 -76
- package/src/models/UserAuthenticationMethod.ts +0 -55
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.UserSignInFactor = void 0;
|
|
17
|
+
exports.instanceOfUserSignInFactor = instanceOfUserSignInFactor;
|
|
18
|
+
exports.UserSignInFactorFromJSON = UserSignInFactorFromJSON;
|
|
19
|
+
exports.UserSignInFactorFromJSONTyped = UserSignInFactorFromJSONTyped;
|
|
20
|
+
exports.UserSignInFactorToJSON = UserSignInFactorToJSON;
|
|
21
|
+
exports.UserSignInFactorToJSONTyped = UserSignInFactorToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* Factors the user set up, which the steps can ask for.
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.UserSignInFactor = {
|
|
27
|
+
PASSWORD: 'password',
|
|
28
|
+
PASSKEY: 'passkey',
|
|
29
|
+
TOTP: 'totp'
|
|
30
|
+
};
|
|
31
|
+
function instanceOfUserSignInFactor(value) {
|
|
32
|
+
for (var key in exports.UserSignInFactor) {
|
|
33
|
+
if (Object.prototype.hasOwnProperty.call(exports.UserSignInFactor, key)) {
|
|
34
|
+
if (exports.UserSignInFactor[key] === value) {
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return false;
|
|
40
|
+
}
|
|
41
|
+
function UserSignInFactorFromJSON(json) {
|
|
42
|
+
return UserSignInFactorFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function UserSignInFactorFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
function UserSignInFactorToJSON(value) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
function UserSignInFactorToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -71,6 +71,7 @@ export * from './AdminLeadListItemDomainDto';
|
|
|
71
71
|
export * from './AdminLeadListItemDto';
|
|
72
72
|
export * from './AdminListAccountDto';
|
|
73
73
|
export * from './AdminMarketplaceDto';
|
|
74
|
+
export * from './AdminUserNewsletterInput';
|
|
74
75
|
export * from './AdminUserSecurityDto';
|
|
75
76
|
export * from './AdminVerificationDepositDto';
|
|
76
77
|
export * from './AffiliatesStatsDto';
|
|
@@ -155,10 +156,10 @@ export * from './ChallengeRewardBalanceDto';
|
|
|
155
156
|
export * from './ChangeInvoiceStatusInput';
|
|
156
157
|
export * from './ChangeOrderStatusInput';
|
|
157
158
|
export * from './ChangeSubscriptionStatusInput';
|
|
158
|
-
export * from './ChangeUserAuthenticationMethodInput';
|
|
159
159
|
export * from './ChangeUserEmailWithOtpInput';
|
|
160
160
|
export * from './ChangeUserLoginLocationVerificationInput';
|
|
161
161
|
export * from './ChangeUserPasswordInput';
|
|
162
|
+
export * from './ChangeUserSignInStepsInput';
|
|
162
163
|
export * from './ChartDataPoint';
|
|
163
164
|
export * from './CheckDomainsNsInput';
|
|
164
165
|
export * from './CommissionAccountDto';
|
|
@@ -200,6 +201,7 @@ export * from './CreateLeadInput';
|
|
|
200
201
|
export * from './CreateLeadMessageInput';
|
|
201
202
|
export * from './CreateManualLeadInput';
|
|
202
203
|
export * from './CreateManualTransactionInput';
|
|
204
|
+
export * from './CreateNewsletterInput';
|
|
203
205
|
export * from './CreateOrderInput';
|
|
204
206
|
export * from './CreateSubscriptionBillingPeriodicityInput';
|
|
205
207
|
export * from './CreateSubscriptionInput';
|
|
@@ -405,6 +407,7 @@ export * from './LoginDto';
|
|
|
405
407
|
export * from './LoginInput';
|
|
406
408
|
export * from './LoginPasskeyInput';
|
|
407
409
|
export * from './LoginPasskeyOptionsInput';
|
|
410
|
+
export * from './LoginPasswordInput';
|
|
408
411
|
export * from './LoginRecoveryCodeInput';
|
|
409
412
|
export * from './LoginStatus';
|
|
410
413
|
export * from './MajesticMetrics';
|
|
@@ -419,6 +422,11 @@ export * from './MoneyDecimalDto';
|
|
|
419
422
|
export * from './MoneyDto';
|
|
420
423
|
export * from './MoneyInput';
|
|
421
424
|
export * from './MozMetrics';
|
|
425
|
+
export * from './NewsStoryDto';
|
|
426
|
+
export * from './NewsletterDto';
|
|
427
|
+
export * from './NewsletterPreviewDto';
|
|
428
|
+
export * from './NewsletterSecondaryStoryDto';
|
|
429
|
+
export * from './NewsletterSecondaryStoryInput';
|
|
422
430
|
export * from './NotificationsUnsubscribeResultDto';
|
|
423
431
|
export * from './ObjectId';
|
|
424
432
|
export * from './OrderCompanyInfoDto';
|
|
@@ -527,6 +535,7 @@ export * from './SellerTotalEarningsByCurrencyStatsItemDto';
|
|
|
527
535
|
export * from './SellerTotalRentMonthlyIncomeByCurrencyStatsItemDto';
|
|
528
536
|
export * from './SendAdminLeadAiPriceNegotiatorAgentChatMessageInput';
|
|
529
537
|
export * from './SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel';
|
|
538
|
+
export * from './SendNewsletterPreviewInput';
|
|
530
539
|
export * from './SeoMetricsDto';
|
|
531
540
|
export * from './SetAccountMarketplaceInput';
|
|
532
541
|
export * from './SetDomainTransferConfirmationInput';
|
|
@@ -593,6 +602,7 @@ export * from './UpdateLeadMuteStatusForBuyerInput';
|
|
|
593
602
|
export * from './UpdateLeadMuteStatusInput';
|
|
594
603
|
export * from './UpdateLeaseToOwnConfigurationDto';
|
|
595
604
|
export * from './UpdateMarketplaceInput';
|
|
605
|
+
export * from './UpdateNewsletterInput';
|
|
596
606
|
export * from './UpdateOrderInput';
|
|
597
607
|
export * from './UpdateRentConfigurationDto';
|
|
598
608
|
export * from './UpdateSubscriptionBillingPeriodicityInput';
|
|
@@ -603,7 +613,6 @@ export * from './UpdateSubscriptionInput';
|
|
|
603
613
|
export * from './UpdateTaskMuteStatusForBuyerInput';
|
|
604
614
|
export * from './UpdateTaskMuteStatusInput';
|
|
605
615
|
export * from './UpdateUserNotificationSettingsInput';
|
|
606
|
-
export * from './UserAuthenticationMethod';
|
|
607
616
|
export * from './UserLoginAttemptDto';
|
|
608
617
|
export * from './UserLoginAttemptMethod';
|
|
609
618
|
export * from './UserLoginAttemptResult';
|
|
@@ -615,6 +624,7 @@ export * from './UserNotificationSettingsDto';
|
|
|
615
624
|
export * from './UserPasskeyDto';
|
|
616
625
|
export * from './UserPasswordResetDto';
|
|
617
626
|
export * from './UserSecurityDto';
|
|
627
|
+
export * from './UserSignInFactor';
|
|
618
628
|
export * from './UserSignedTokenInput';
|
|
619
629
|
export * from './ValidateTaxNumberDto';
|
|
620
630
|
export * from './ValidateTaxNumberInput';
|
package/dist/models/index.js
CHANGED
|
@@ -89,6 +89,7 @@ __exportStar(require("./AdminLeadListItemDomainDto"), exports);
|
|
|
89
89
|
__exportStar(require("./AdminLeadListItemDto"), exports);
|
|
90
90
|
__exportStar(require("./AdminListAccountDto"), exports);
|
|
91
91
|
__exportStar(require("./AdminMarketplaceDto"), exports);
|
|
92
|
+
__exportStar(require("./AdminUserNewsletterInput"), exports);
|
|
92
93
|
__exportStar(require("./AdminUserSecurityDto"), exports);
|
|
93
94
|
__exportStar(require("./AdminVerificationDepositDto"), exports);
|
|
94
95
|
__exportStar(require("./AffiliatesStatsDto"), exports);
|
|
@@ -173,10 +174,10 @@ __exportStar(require("./ChallengeRewardBalanceDto"), exports);
|
|
|
173
174
|
__exportStar(require("./ChangeInvoiceStatusInput"), exports);
|
|
174
175
|
__exportStar(require("./ChangeOrderStatusInput"), exports);
|
|
175
176
|
__exportStar(require("./ChangeSubscriptionStatusInput"), exports);
|
|
176
|
-
__exportStar(require("./ChangeUserAuthenticationMethodInput"), exports);
|
|
177
177
|
__exportStar(require("./ChangeUserEmailWithOtpInput"), exports);
|
|
178
178
|
__exportStar(require("./ChangeUserLoginLocationVerificationInput"), exports);
|
|
179
179
|
__exportStar(require("./ChangeUserPasswordInput"), exports);
|
|
180
|
+
__exportStar(require("./ChangeUserSignInStepsInput"), exports);
|
|
180
181
|
__exportStar(require("./ChartDataPoint"), exports);
|
|
181
182
|
__exportStar(require("./CheckDomainsNsInput"), exports);
|
|
182
183
|
__exportStar(require("./CommissionAccountDto"), exports);
|
|
@@ -218,6 +219,7 @@ __exportStar(require("./CreateLeadInput"), exports);
|
|
|
218
219
|
__exportStar(require("./CreateLeadMessageInput"), exports);
|
|
219
220
|
__exportStar(require("./CreateManualLeadInput"), exports);
|
|
220
221
|
__exportStar(require("./CreateManualTransactionInput"), exports);
|
|
222
|
+
__exportStar(require("./CreateNewsletterInput"), exports);
|
|
221
223
|
__exportStar(require("./CreateOrderInput"), exports);
|
|
222
224
|
__exportStar(require("./CreateSubscriptionBillingPeriodicityInput"), exports);
|
|
223
225
|
__exportStar(require("./CreateSubscriptionInput"), exports);
|
|
@@ -423,6 +425,7 @@ __exportStar(require("./LoginDto"), exports);
|
|
|
423
425
|
__exportStar(require("./LoginInput"), exports);
|
|
424
426
|
__exportStar(require("./LoginPasskeyInput"), exports);
|
|
425
427
|
__exportStar(require("./LoginPasskeyOptionsInput"), exports);
|
|
428
|
+
__exportStar(require("./LoginPasswordInput"), exports);
|
|
426
429
|
__exportStar(require("./LoginRecoveryCodeInput"), exports);
|
|
427
430
|
__exportStar(require("./LoginStatus"), exports);
|
|
428
431
|
__exportStar(require("./MajesticMetrics"), exports);
|
|
@@ -437,6 +440,11 @@ __exportStar(require("./MoneyDecimalDto"), exports);
|
|
|
437
440
|
__exportStar(require("./MoneyDto"), exports);
|
|
438
441
|
__exportStar(require("./MoneyInput"), exports);
|
|
439
442
|
__exportStar(require("./MozMetrics"), exports);
|
|
443
|
+
__exportStar(require("./NewsStoryDto"), exports);
|
|
444
|
+
__exportStar(require("./NewsletterDto"), exports);
|
|
445
|
+
__exportStar(require("./NewsletterPreviewDto"), exports);
|
|
446
|
+
__exportStar(require("./NewsletterSecondaryStoryDto"), exports);
|
|
447
|
+
__exportStar(require("./NewsletterSecondaryStoryInput"), exports);
|
|
440
448
|
__exportStar(require("./NotificationsUnsubscribeResultDto"), exports);
|
|
441
449
|
__exportStar(require("./ObjectId"), exports);
|
|
442
450
|
__exportStar(require("./OrderCompanyInfoDto"), exports);
|
|
@@ -545,6 +553,7 @@ __exportStar(require("./SellerTotalEarningsByCurrencyStatsItemDto"), exports);
|
|
|
545
553
|
__exportStar(require("./SellerTotalRentMonthlyIncomeByCurrencyStatsItemDto"), exports);
|
|
546
554
|
__exportStar(require("./SendAdminLeadAiPriceNegotiatorAgentChatMessageInput"), exports);
|
|
547
555
|
__exportStar(require("./SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel"), exports);
|
|
556
|
+
__exportStar(require("./SendNewsletterPreviewInput"), exports);
|
|
548
557
|
__exportStar(require("./SeoMetricsDto"), exports);
|
|
549
558
|
__exportStar(require("./SetAccountMarketplaceInput"), exports);
|
|
550
559
|
__exportStar(require("./SetDomainTransferConfirmationInput"), exports);
|
|
@@ -611,6 +620,7 @@ __exportStar(require("./UpdateLeadMuteStatusForBuyerInput"), exports);
|
|
|
611
620
|
__exportStar(require("./UpdateLeadMuteStatusInput"), exports);
|
|
612
621
|
__exportStar(require("./UpdateLeaseToOwnConfigurationDto"), exports);
|
|
613
622
|
__exportStar(require("./UpdateMarketplaceInput"), exports);
|
|
623
|
+
__exportStar(require("./UpdateNewsletterInput"), exports);
|
|
614
624
|
__exportStar(require("./UpdateOrderInput"), exports);
|
|
615
625
|
__exportStar(require("./UpdateRentConfigurationDto"), exports);
|
|
616
626
|
__exportStar(require("./UpdateSubscriptionBillingPeriodicityInput"), exports);
|
|
@@ -621,7 +631,6 @@ __exportStar(require("./UpdateSubscriptionInput"), exports);
|
|
|
621
631
|
__exportStar(require("./UpdateTaskMuteStatusForBuyerInput"), exports);
|
|
622
632
|
__exportStar(require("./UpdateTaskMuteStatusInput"), exports);
|
|
623
633
|
__exportStar(require("./UpdateUserNotificationSettingsInput"), exports);
|
|
624
|
-
__exportStar(require("./UserAuthenticationMethod"), exports);
|
|
625
634
|
__exportStar(require("./UserLoginAttemptDto"), exports);
|
|
626
635
|
__exportStar(require("./UserLoginAttemptMethod"), exports);
|
|
627
636
|
__exportStar(require("./UserLoginAttemptResult"), exports);
|
|
@@ -633,6 +642,7 @@ __exportStar(require("./UserNotificationSettingsDto"), exports);
|
|
|
633
642
|
__exportStar(require("./UserPasskeyDto"), exports);
|
|
634
643
|
__exportStar(require("./UserPasswordResetDto"), exports);
|
|
635
644
|
__exportStar(require("./UserSecurityDto"), exports);
|
|
645
|
+
__exportStar(require("./UserSignInFactor"), exports);
|
|
636
646
|
__exportStar(require("./UserSignedTokenInput"), exports);
|
|
637
647
|
__exportStar(require("./ValidateTaxNumberDto"), exports);
|
|
638
648
|
__exportStar(require("./ValidateTaxNumberInput"), exports);
|