@randock/nameshift-api-client 0.0.470 → 0.0.472

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 (48) hide show
  1. package/.openapi-generator/FILES +9 -0
  2. package/README.md +3 -3
  3. package/dist/apis/CustomerSuccessApi.d.ts +60 -0
  4. package/dist/apis/CustomerSuccessApi.js +227 -0
  5. package/dist/apis/index.d.ts +1 -0
  6. package/dist/apis/index.js +1 -0
  7. package/dist/models/BuyerNotificationDto.d.ts +2 -0
  8. package/dist/models/BuyerNotificationDto.js +2 -0
  9. package/dist/models/BuyerNotificationListItemDto.d.ts +2 -0
  10. package/dist/models/BuyerNotificationListItemDto.js +2 -0
  11. package/dist/models/CustomerSuccessDomainAuctionDto.d.ts +86 -0
  12. package/dist/models/CustomerSuccessDomainAuctionDto.js +91 -0
  13. package/dist/models/CustomerSuccessDomainListItemDto.d.ts +255 -0
  14. package/dist/models/CustomerSuccessDomainListItemDto.js +209 -0
  15. package/dist/models/CustomerSuccessListAccountDto.d.ts +163 -0
  16. package/dist/models/CustomerSuccessListAccountDto.js +146 -0
  17. package/dist/models/CustomerSuccessListAccountMetricsDto.d.ts +80 -0
  18. package/dist/models/CustomerSuccessListAccountMetricsDto.js +83 -0
  19. package/dist/models/CustomerSuccessListAccountPortfolioSizeDto.d.ts +38 -0
  20. package/dist/models/CustomerSuccessListAccountPortfolioSizeDto.js +55 -0
  21. package/dist/models/CustomerSuccessListAccountUserDto.d.ts +44 -0
  22. package/dist/models/CustomerSuccessListAccountUserDto.js +59 -0
  23. package/dist/models/ListCustomerSuccessAccountDomains200Response.d.ts +47 -0
  24. package/dist/models/ListCustomerSuccessAccountDomains200Response.js +62 -0
  25. package/dist/models/ListCustomerSuccessAccounts200Response.d.ts +47 -0
  26. package/dist/models/ListCustomerSuccessAccounts200Response.js +62 -0
  27. package/dist/models/UserNotificationDto.d.ts +2 -0
  28. package/dist/models/UserNotificationDto.js +2 -0
  29. package/dist/models/UserNotificationListItemDto.d.ts +2 -0
  30. package/dist/models/UserNotificationListItemDto.js +2 -0
  31. package/dist/models/index.d.ts +8 -0
  32. package/dist/models/index.js +8 -0
  33. package/package.json +1 -1
  34. package/src/apis/CustomerSuccessApi.ts +187 -0
  35. package/src/apis/index.ts +1 -0
  36. package/src/models/BuyerNotificationDto.ts +2 -0
  37. package/src/models/BuyerNotificationListItemDto.ts +2 -0
  38. package/src/models/CustomerSuccessDomainAuctionDto.ts +151 -0
  39. package/src/models/CustomerSuccessDomainListItemDto.ts +426 -0
  40. package/src/models/CustomerSuccessListAccountDto.ts +278 -0
  41. package/src/models/CustomerSuccessListAccountMetricsDto.ts +138 -0
  42. package/src/models/CustomerSuccessListAccountPortfolioSizeDto.ts +75 -0
  43. package/src/models/CustomerSuccessListAccountUserDto.ts +84 -0
  44. package/src/models/ListCustomerSuccessAccountDomains200Response.ts +106 -0
  45. package/src/models/ListCustomerSuccessAccounts200Response.ts +106 -0
  46. package/src/models/UserNotificationDto.ts +2 -0
  47. package/src/models/UserNotificationListItemDto.ts +2 -0
  48. package/src/models/index.ts +8 -0
@@ -0,0 +1,146 @@
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.CustomerSuccessListAccountDtoPayoutProviderEnum = exports.CustomerSuccessListAccountDtoOnboardingStatusEnum = exports.CustomerSuccessListAccountDtoOnboardingProviderEnum = void 0;
17
+ exports.instanceOfCustomerSuccessListAccountDto = instanceOfCustomerSuccessListAccountDto;
18
+ exports.CustomerSuccessListAccountDtoFromJSON = CustomerSuccessListAccountDtoFromJSON;
19
+ exports.CustomerSuccessListAccountDtoFromJSONTyped = CustomerSuccessListAccountDtoFromJSONTyped;
20
+ exports.CustomerSuccessListAccountDtoToJSON = CustomerSuccessListAccountDtoToJSON;
21
+ exports.CustomerSuccessListAccountDtoToJSONTyped = CustomerSuccessListAccountDtoToJSONTyped;
22
+ var CustomerSuccessListAccountUserDto_1 = require("./CustomerSuccessListAccountUserDto");
23
+ var ChallengeRewardBalanceDto_1 = require("./ChallengeRewardBalanceDto");
24
+ var CustomerSuccessListAccountMetricsDto_1 = require("./CustomerSuccessListAccountMetricsDto");
25
+ var CustomerSuccessListAccountPortfolioSizeDto_1 = require("./CustomerSuccessListAccountPortfolioSizeDto");
26
+ /**
27
+ * @export
28
+ */
29
+ exports.CustomerSuccessListAccountDtoOnboardingProviderEnum = {
30
+ STRIPE: 'stripe',
31
+ SUMSUB: 'sumsub'
32
+ };
33
+ /**
34
+ * @export
35
+ */
36
+ exports.CustomerSuccessListAccountDtoOnboardingStatusEnum = {
37
+ PENDING: 'pending',
38
+ ACTIVE: 'active',
39
+ REJECTED: 'rejected'
40
+ };
41
+ /**
42
+ * @export
43
+ */
44
+ exports.CustomerSuccessListAccountDtoPayoutProviderEnum = {
45
+ STRIPE: 'stripe',
46
+ BANK_ACCOUNT: 'bank_account'
47
+ };
48
+ /**
49
+ * Check if a given object implements the CustomerSuccessListAccountDto interface.
50
+ */
51
+ function instanceOfCustomerSuccessListAccountDto(value) {
52
+ if (!('id' in value) || value['id'] === undefined)
53
+ return false;
54
+ if (!('identifier' in value) || value['identifier'] === undefined)
55
+ return false;
56
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
57
+ return false;
58
+ if (!('name' in value) || value['name'] === undefined)
59
+ return false;
60
+ if (!('type' in value) || value['type'] === undefined)
61
+ return false;
62
+ if (!('alias' in value) || value['alias'] === undefined)
63
+ return false;
64
+ if (!('aliasVerified' in value) || value['aliasVerified'] === undefined)
65
+ return false;
66
+ if (!('metrics' in value) || value['metrics'] === undefined)
67
+ return false;
68
+ if (!('lastOnline' in value) || value['lastOnline'] === undefined)
69
+ return false;
70
+ if (!('users' in value) || value['users'] === undefined)
71
+ return false;
72
+ if (!('onboardingProvider' in value) || value['onboardingProvider'] === undefined)
73
+ return false;
74
+ if (!('onboardingStatus' in value) || value['onboardingStatus'] === undefined)
75
+ return false;
76
+ if (!('payoutProvider' in value) || value['payoutProvider'] === undefined)
77
+ return false;
78
+ if (!('affiliateId' in value) || value['affiliateId'] === undefined)
79
+ return false;
80
+ if (!('portfolioSize' in value) || value['portfolioSize'] === undefined)
81
+ return false;
82
+ if (!('companyName' in value) || value['companyName'] === undefined)
83
+ return false;
84
+ if (!('allowThirdPartySalesDataSharing' in value) || value['allowThirdPartySalesDataSharing'] === undefined)
85
+ return false;
86
+ if (!('challengeRewardBalance' in value) || value['challengeRewardBalance'] === undefined)
87
+ return false;
88
+ return true;
89
+ }
90
+ function CustomerSuccessListAccountDtoFromJSON(json) {
91
+ return CustomerSuccessListAccountDtoFromJSONTyped(json, false);
92
+ }
93
+ function CustomerSuccessListAccountDtoFromJSONTyped(json, ignoreDiscriminator) {
94
+ if (json == null) {
95
+ return json;
96
+ }
97
+ return {
98
+ 'id': json['id'],
99
+ 'identifier': json['identifier'],
100
+ 'createdAt': (new Date(json['createdAt'])),
101
+ 'name': json['name'],
102
+ 'type': json['type'],
103
+ 'alias': json['alias'],
104
+ 'aliasVerified': json['aliasVerified'],
105
+ 'metrics': (0, CustomerSuccessListAccountMetricsDto_1.CustomerSuccessListAccountMetricsDtoFromJSON)(json['metrics']),
106
+ 'lastOnline': (new Date(json['lastOnline'])),
107
+ 'users': (json['users'].map(CustomerSuccessListAccountUserDto_1.CustomerSuccessListAccountUserDtoFromJSON)),
108
+ 'onboardingProvider': json['onboardingProvider'],
109
+ 'onboardingStatus': json['onboardingStatus'],
110
+ 'payoutProvider': json['payoutProvider'],
111
+ 'affiliateId': json['affiliateId'],
112
+ 'portfolioSize': (0, CustomerSuccessListAccountPortfolioSizeDto_1.CustomerSuccessListAccountPortfolioSizeDtoFromJSON)(json['portfolioSize']),
113
+ 'companyName': json['companyName'],
114
+ 'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'],
115
+ 'challengeRewardBalance': (0, ChallengeRewardBalanceDto_1.ChallengeRewardBalanceDtoFromJSON)(json['challengeRewardBalance']),
116
+ };
117
+ }
118
+ function CustomerSuccessListAccountDtoToJSON(json) {
119
+ return CustomerSuccessListAccountDtoToJSONTyped(json, false);
120
+ }
121
+ function CustomerSuccessListAccountDtoToJSONTyped(value, ignoreDiscriminator) {
122
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
123
+ if (value == null) {
124
+ return value;
125
+ }
126
+ return {
127
+ 'id': value['id'],
128
+ 'identifier': value['identifier'],
129
+ 'createdAt': ((value['createdAt']).toISOString()),
130
+ 'name': value['name'],
131
+ 'type': value['type'],
132
+ 'alias': value['alias'],
133
+ 'aliasVerified': value['aliasVerified'],
134
+ 'metrics': (0, CustomerSuccessListAccountMetricsDto_1.CustomerSuccessListAccountMetricsDtoToJSON)(value['metrics']),
135
+ 'lastOnline': ((value['lastOnline']).toISOString()),
136
+ 'users': (value['users'].map(CustomerSuccessListAccountUserDto_1.CustomerSuccessListAccountUserDtoToJSON)),
137
+ 'onboardingProvider': value['onboardingProvider'],
138
+ 'onboardingStatus': value['onboardingStatus'],
139
+ 'payoutProvider': value['payoutProvider'],
140
+ 'affiliateId': value['affiliateId'],
141
+ 'portfolioSize': (0, CustomerSuccessListAccountPortfolioSizeDto_1.CustomerSuccessListAccountPortfolioSizeDtoToJSON)(value['portfolioSize']),
142
+ 'companyName': value['companyName'],
143
+ 'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
144
+ 'challengeRewardBalance': (0, ChallengeRewardBalanceDto_1.ChallengeRewardBalanceDtoToJSON)(value['challengeRewardBalance']),
145
+ };
146
+ }
@@ -0,0 +1,80 @@
1
+ /**
2
+ * Nameshift
3
+ * 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.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface CustomerSuccessListAccountMetricsDto
16
+ */
17
+ export interface CustomerSuccessListAccountMetricsDto {
18
+ /**
19
+ * Total number of leads.
20
+ * @type {number}
21
+ * @memberof CustomerSuccessListAccountMetricsDto
22
+ */
23
+ leadsNumber: number;
24
+ /**
25
+ * Total number of domains.
26
+ * @type {number}
27
+ * @memberof CustomerSuccessListAccountMetricsDto
28
+ */
29
+ domainsNumber: number;
30
+ /**
31
+ * Number of active leads.
32
+ * @type {number}
33
+ * @memberof CustomerSuccessListAccountMetricsDto
34
+ */
35
+ activeLeadsNumber: number;
36
+ /**
37
+ * Number of active domain transfers.
38
+ * @type {number}
39
+ * @memberof CustomerSuccessListAccountMetricsDto
40
+ */
41
+ activeDomainTransfersNumber: number;
42
+ /**
43
+ * Number of open tasks.
44
+ * @type {number}
45
+ * @memberof CustomerSuccessListAccountMetricsDto
46
+ */
47
+ tasksNumber: number;
48
+ /**
49
+ * Number of sold domains.
50
+ * @type {number}
51
+ * @memberof CustomerSuccessListAccountMetricsDto
52
+ */
53
+ soldDomainsNumber: number;
54
+ /**
55
+ * Number of referrals.
56
+ * @type {number}
57
+ * @memberof CustomerSuccessListAccountMetricsDto
58
+ */
59
+ referralsNumber: number;
60
+ /**
61
+ * Number of domains pointing DNS.
62
+ * @type {number}
63
+ * @memberof CustomerSuccessListAccountMetricsDto
64
+ */
65
+ pointingDomainsNumber: number;
66
+ /**
67
+ * Number of pending challenges to collect.
68
+ * @type {number}
69
+ * @memberof CustomerSuccessListAccountMetricsDto
70
+ */
71
+ pendingChallengesToCollectNumber: number;
72
+ }
73
+ /**
74
+ * Check if a given object implements the CustomerSuccessListAccountMetricsDto interface.
75
+ */
76
+ export declare function instanceOfCustomerSuccessListAccountMetricsDto(value: object): value is CustomerSuccessListAccountMetricsDto;
77
+ export declare function CustomerSuccessListAccountMetricsDtoFromJSON(json: any): CustomerSuccessListAccountMetricsDto;
78
+ export declare function CustomerSuccessListAccountMetricsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomerSuccessListAccountMetricsDto;
79
+ export declare function CustomerSuccessListAccountMetricsDtoToJSON(json: any): CustomerSuccessListAccountMetricsDto;
80
+ export declare function CustomerSuccessListAccountMetricsDtoToJSONTyped(value?: CustomerSuccessListAccountMetricsDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,83 @@
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.instanceOfCustomerSuccessListAccountMetricsDto = instanceOfCustomerSuccessListAccountMetricsDto;
17
+ exports.CustomerSuccessListAccountMetricsDtoFromJSON = CustomerSuccessListAccountMetricsDtoFromJSON;
18
+ exports.CustomerSuccessListAccountMetricsDtoFromJSONTyped = CustomerSuccessListAccountMetricsDtoFromJSONTyped;
19
+ exports.CustomerSuccessListAccountMetricsDtoToJSON = CustomerSuccessListAccountMetricsDtoToJSON;
20
+ exports.CustomerSuccessListAccountMetricsDtoToJSONTyped = CustomerSuccessListAccountMetricsDtoToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the CustomerSuccessListAccountMetricsDto interface.
23
+ */
24
+ function instanceOfCustomerSuccessListAccountMetricsDto(value) {
25
+ if (!('leadsNumber' in value) || value['leadsNumber'] === undefined)
26
+ return false;
27
+ if (!('domainsNumber' in value) || value['domainsNumber'] === undefined)
28
+ return false;
29
+ if (!('activeLeadsNumber' in value) || value['activeLeadsNumber'] === undefined)
30
+ return false;
31
+ if (!('activeDomainTransfersNumber' in value) || value['activeDomainTransfersNumber'] === undefined)
32
+ return false;
33
+ if (!('tasksNumber' in value) || value['tasksNumber'] === undefined)
34
+ return false;
35
+ if (!('soldDomainsNumber' in value) || value['soldDomainsNumber'] === undefined)
36
+ return false;
37
+ if (!('referralsNumber' in value) || value['referralsNumber'] === undefined)
38
+ return false;
39
+ if (!('pointingDomainsNumber' in value) || value['pointingDomainsNumber'] === undefined)
40
+ return false;
41
+ if (!('pendingChallengesToCollectNumber' in value) || value['pendingChallengesToCollectNumber'] === undefined)
42
+ return false;
43
+ return true;
44
+ }
45
+ function CustomerSuccessListAccountMetricsDtoFromJSON(json) {
46
+ return CustomerSuccessListAccountMetricsDtoFromJSONTyped(json, false);
47
+ }
48
+ function CustomerSuccessListAccountMetricsDtoFromJSONTyped(json, ignoreDiscriminator) {
49
+ if (json == null) {
50
+ return json;
51
+ }
52
+ return {
53
+ 'leadsNumber': json['leadsNumber'],
54
+ 'domainsNumber': json['domainsNumber'],
55
+ 'activeLeadsNumber': json['activeLeadsNumber'],
56
+ 'activeDomainTransfersNumber': json['activeDomainTransfersNumber'],
57
+ 'tasksNumber': json['tasksNumber'],
58
+ 'soldDomainsNumber': json['soldDomainsNumber'],
59
+ 'referralsNumber': json['referralsNumber'],
60
+ 'pointingDomainsNumber': json['pointingDomainsNumber'],
61
+ 'pendingChallengesToCollectNumber': json['pendingChallengesToCollectNumber'],
62
+ };
63
+ }
64
+ function CustomerSuccessListAccountMetricsDtoToJSON(json) {
65
+ return CustomerSuccessListAccountMetricsDtoToJSONTyped(json, false);
66
+ }
67
+ function CustomerSuccessListAccountMetricsDtoToJSONTyped(value, ignoreDiscriminator) {
68
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
69
+ if (value == null) {
70
+ return value;
71
+ }
72
+ return {
73
+ 'leadsNumber': value['leadsNumber'],
74
+ 'domainsNumber': value['domainsNumber'],
75
+ 'activeLeadsNumber': value['activeLeadsNumber'],
76
+ 'activeDomainTransfersNumber': value['activeDomainTransfersNumber'],
77
+ 'tasksNumber': value['tasksNumber'],
78
+ 'soldDomainsNumber': value['soldDomainsNumber'],
79
+ 'referralsNumber': value['referralsNumber'],
80
+ 'pointingDomainsNumber': value['pointingDomainsNumber'],
81
+ 'pendingChallengesToCollectNumber': value['pendingChallengesToCollectNumber'],
82
+ };
83
+ }
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Nameshift
3
+ * 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.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface CustomerSuccessListAccountPortfolioSizeDto
16
+ */
17
+ export interface CustomerSuccessListAccountPortfolioSizeDto {
18
+ /**
19
+ * Portfolio size lower bound.
20
+ * @type {number}
21
+ * @memberof CustomerSuccessListAccountPortfolioSizeDto
22
+ */
23
+ from: number;
24
+ /**
25
+ * Portfolio size upper bound.
26
+ * @type {number}
27
+ * @memberof CustomerSuccessListAccountPortfolioSizeDto
28
+ */
29
+ to: number | null;
30
+ }
31
+ /**
32
+ * Check if a given object implements the CustomerSuccessListAccountPortfolioSizeDto interface.
33
+ */
34
+ export declare function instanceOfCustomerSuccessListAccountPortfolioSizeDto(value: object): value is CustomerSuccessListAccountPortfolioSizeDto;
35
+ export declare function CustomerSuccessListAccountPortfolioSizeDtoFromJSON(json: any): CustomerSuccessListAccountPortfolioSizeDto;
36
+ export declare function CustomerSuccessListAccountPortfolioSizeDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomerSuccessListAccountPortfolioSizeDto;
37
+ export declare function CustomerSuccessListAccountPortfolioSizeDtoToJSON(json: any): CustomerSuccessListAccountPortfolioSizeDto;
38
+ export declare function CustomerSuccessListAccountPortfolioSizeDtoToJSONTyped(value?: CustomerSuccessListAccountPortfolioSizeDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,55 @@
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.instanceOfCustomerSuccessListAccountPortfolioSizeDto = instanceOfCustomerSuccessListAccountPortfolioSizeDto;
17
+ exports.CustomerSuccessListAccountPortfolioSizeDtoFromJSON = CustomerSuccessListAccountPortfolioSizeDtoFromJSON;
18
+ exports.CustomerSuccessListAccountPortfolioSizeDtoFromJSONTyped = CustomerSuccessListAccountPortfolioSizeDtoFromJSONTyped;
19
+ exports.CustomerSuccessListAccountPortfolioSizeDtoToJSON = CustomerSuccessListAccountPortfolioSizeDtoToJSON;
20
+ exports.CustomerSuccessListAccountPortfolioSizeDtoToJSONTyped = CustomerSuccessListAccountPortfolioSizeDtoToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the CustomerSuccessListAccountPortfolioSizeDto interface.
23
+ */
24
+ function instanceOfCustomerSuccessListAccountPortfolioSizeDto(value) {
25
+ if (!('from' in value) || value['from'] === undefined)
26
+ return false;
27
+ if (!('to' in value) || value['to'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function CustomerSuccessListAccountPortfolioSizeDtoFromJSON(json) {
32
+ return CustomerSuccessListAccountPortfolioSizeDtoFromJSONTyped(json, false);
33
+ }
34
+ function CustomerSuccessListAccountPortfolioSizeDtoFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'from': json['from'],
40
+ 'to': json['to'],
41
+ };
42
+ }
43
+ function CustomerSuccessListAccountPortfolioSizeDtoToJSON(json) {
44
+ return CustomerSuccessListAccountPortfolioSizeDtoToJSONTyped(json, false);
45
+ }
46
+ function CustomerSuccessListAccountPortfolioSizeDtoToJSONTyped(value, ignoreDiscriminator) {
47
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'from': value['from'],
53
+ 'to': value['to'],
54
+ };
55
+ }
@@ -0,0 +1,44 @@
1
+ /**
2
+ * Nameshift
3
+ * 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.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface CustomerSuccessListAccountUserDto
16
+ */
17
+ export interface CustomerSuccessListAccountUserDto {
18
+ /**
19
+ * User full name.
20
+ * @type {string}
21
+ * @memberof CustomerSuccessListAccountUserDto
22
+ */
23
+ name: string;
24
+ /**
25
+ * User email address.
26
+ * @type {string}
27
+ * @memberof CustomerSuccessListAccountUserDto
28
+ */
29
+ email: string;
30
+ /**
31
+ * User phone number.
32
+ * @type {string}
33
+ * @memberof CustomerSuccessListAccountUserDto
34
+ */
35
+ phone: string | null;
36
+ }
37
+ /**
38
+ * Check if a given object implements the CustomerSuccessListAccountUserDto interface.
39
+ */
40
+ export declare function instanceOfCustomerSuccessListAccountUserDto(value: object): value is CustomerSuccessListAccountUserDto;
41
+ export declare function CustomerSuccessListAccountUserDtoFromJSON(json: any): CustomerSuccessListAccountUserDto;
42
+ export declare function CustomerSuccessListAccountUserDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomerSuccessListAccountUserDto;
43
+ export declare function CustomerSuccessListAccountUserDtoToJSON(json: any): CustomerSuccessListAccountUserDto;
44
+ export declare function CustomerSuccessListAccountUserDtoToJSONTyped(value?: CustomerSuccessListAccountUserDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,59 @@
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.instanceOfCustomerSuccessListAccountUserDto = instanceOfCustomerSuccessListAccountUserDto;
17
+ exports.CustomerSuccessListAccountUserDtoFromJSON = CustomerSuccessListAccountUserDtoFromJSON;
18
+ exports.CustomerSuccessListAccountUserDtoFromJSONTyped = CustomerSuccessListAccountUserDtoFromJSONTyped;
19
+ exports.CustomerSuccessListAccountUserDtoToJSON = CustomerSuccessListAccountUserDtoToJSON;
20
+ exports.CustomerSuccessListAccountUserDtoToJSONTyped = CustomerSuccessListAccountUserDtoToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the CustomerSuccessListAccountUserDto interface.
23
+ */
24
+ function instanceOfCustomerSuccessListAccountUserDto(value) {
25
+ if (!('name' in value) || value['name'] === undefined)
26
+ return false;
27
+ if (!('email' in value) || value['email'] === undefined)
28
+ return false;
29
+ if (!('phone' in value) || value['phone'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function CustomerSuccessListAccountUserDtoFromJSON(json) {
34
+ return CustomerSuccessListAccountUserDtoFromJSONTyped(json, false);
35
+ }
36
+ function CustomerSuccessListAccountUserDtoFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'name': json['name'],
42
+ 'email': json['email'],
43
+ 'phone': json['phone'],
44
+ };
45
+ }
46
+ function CustomerSuccessListAccountUserDtoToJSON(json) {
47
+ return CustomerSuccessListAccountUserDtoToJSONTyped(json, false);
48
+ }
49
+ function CustomerSuccessListAccountUserDtoToJSONTyped(value, ignoreDiscriminator) {
50
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
51
+ if (value == null) {
52
+ return value;
53
+ }
54
+ return {
55
+ 'name': value['name'],
56
+ 'email': value['email'],
57
+ 'phone': value['phone'],
58
+ };
59
+ }
@@ -0,0 +1,47 @@
1
+ /**
2
+ * Nameshift
3
+ * 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.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { PaginateResponseLinks } from './PaginateResponseLinks';
13
+ import type { CustomerSuccessDomainListItemDto } from './CustomerSuccessDomainListItemDto';
14
+ import type { PaginateResponseMeta } from './PaginateResponseMeta';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface ListCustomerSuccessAccountDomains200Response
19
+ */
20
+ export interface ListCustomerSuccessAccountDomains200Response {
21
+ /**
22
+ *
23
+ * @type {Array<CustomerSuccessDomainListItemDto>}
24
+ * @memberof ListCustomerSuccessAccountDomains200Response
25
+ */
26
+ data: Array<CustomerSuccessDomainListItemDto>;
27
+ /**
28
+ *
29
+ * @type {PaginateResponseMeta}
30
+ * @memberof ListCustomerSuccessAccountDomains200Response
31
+ */
32
+ meta: PaginateResponseMeta;
33
+ /**
34
+ *
35
+ * @type {PaginateResponseLinks}
36
+ * @memberof ListCustomerSuccessAccountDomains200Response
37
+ */
38
+ links: PaginateResponseLinks;
39
+ }
40
+ /**
41
+ * Check if a given object implements the ListCustomerSuccessAccountDomains200Response interface.
42
+ */
43
+ export declare function instanceOfListCustomerSuccessAccountDomains200Response(value: object): value is ListCustomerSuccessAccountDomains200Response;
44
+ export declare function ListCustomerSuccessAccountDomains200ResponseFromJSON(json: any): ListCustomerSuccessAccountDomains200Response;
45
+ export declare function ListCustomerSuccessAccountDomains200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListCustomerSuccessAccountDomains200Response;
46
+ export declare function ListCustomerSuccessAccountDomains200ResponseToJSON(json: any): ListCustomerSuccessAccountDomains200Response;
47
+ export declare function ListCustomerSuccessAccountDomains200ResponseToJSONTyped(value?: ListCustomerSuccessAccountDomains200Response | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,62 @@
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.instanceOfListCustomerSuccessAccountDomains200Response = instanceOfListCustomerSuccessAccountDomains200Response;
17
+ exports.ListCustomerSuccessAccountDomains200ResponseFromJSON = ListCustomerSuccessAccountDomains200ResponseFromJSON;
18
+ exports.ListCustomerSuccessAccountDomains200ResponseFromJSONTyped = ListCustomerSuccessAccountDomains200ResponseFromJSONTyped;
19
+ exports.ListCustomerSuccessAccountDomains200ResponseToJSON = ListCustomerSuccessAccountDomains200ResponseToJSON;
20
+ exports.ListCustomerSuccessAccountDomains200ResponseToJSONTyped = ListCustomerSuccessAccountDomains200ResponseToJSONTyped;
21
+ var PaginateResponseLinks_1 = require("./PaginateResponseLinks");
22
+ var CustomerSuccessDomainListItemDto_1 = require("./CustomerSuccessDomainListItemDto");
23
+ var PaginateResponseMeta_1 = require("./PaginateResponseMeta");
24
+ /**
25
+ * Check if a given object implements the ListCustomerSuccessAccountDomains200Response interface.
26
+ */
27
+ function instanceOfListCustomerSuccessAccountDomains200Response(value) {
28
+ if (!('data' in value) || value['data'] === undefined)
29
+ return false;
30
+ if (!('meta' in value) || value['meta'] === undefined)
31
+ return false;
32
+ if (!('links' in value) || value['links'] === undefined)
33
+ return false;
34
+ return true;
35
+ }
36
+ function ListCustomerSuccessAccountDomains200ResponseFromJSON(json) {
37
+ return ListCustomerSuccessAccountDomains200ResponseFromJSONTyped(json, false);
38
+ }
39
+ function ListCustomerSuccessAccountDomains200ResponseFromJSONTyped(json, ignoreDiscriminator) {
40
+ if (json == null) {
41
+ return json;
42
+ }
43
+ return {
44
+ 'data': (json['data'].map(CustomerSuccessDomainListItemDto_1.CustomerSuccessDomainListItemDtoFromJSON)),
45
+ 'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaFromJSON)(json['meta']),
46
+ 'links': (0, PaginateResponseLinks_1.PaginateResponseLinksFromJSON)(json['links']),
47
+ };
48
+ }
49
+ function ListCustomerSuccessAccountDomains200ResponseToJSON(json) {
50
+ return ListCustomerSuccessAccountDomains200ResponseToJSONTyped(json, false);
51
+ }
52
+ function ListCustomerSuccessAccountDomains200ResponseToJSONTyped(value, ignoreDiscriminator) {
53
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
54
+ if (value == null) {
55
+ return value;
56
+ }
57
+ return {
58
+ 'data': (value['data'].map(CustomerSuccessDomainListItemDto_1.CustomerSuccessDomainListItemDtoToJSON)),
59
+ 'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaToJSON)(value['meta']),
60
+ 'links': (0, PaginateResponseLinks_1.PaginateResponseLinksToJSON)(value['links']),
61
+ };
62
+ }
@@ -0,0 +1,47 @@
1
+ /**
2
+ * Nameshift
3
+ * 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.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { PaginateResponseLinks } from './PaginateResponseLinks';
13
+ import type { CustomerSuccessListAccountDto } from './CustomerSuccessListAccountDto';
14
+ import type { PaginateResponseMeta } from './PaginateResponseMeta';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface ListCustomerSuccessAccounts200Response
19
+ */
20
+ export interface ListCustomerSuccessAccounts200Response {
21
+ /**
22
+ *
23
+ * @type {Array<CustomerSuccessListAccountDto>}
24
+ * @memberof ListCustomerSuccessAccounts200Response
25
+ */
26
+ data: Array<CustomerSuccessListAccountDto>;
27
+ /**
28
+ *
29
+ * @type {PaginateResponseMeta}
30
+ * @memberof ListCustomerSuccessAccounts200Response
31
+ */
32
+ meta: PaginateResponseMeta;
33
+ /**
34
+ *
35
+ * @type {PaginateResponseLinks}
36
+ * @memberof ListCustomerSuccessAccounts200Response
37
+ */
38
+ links: PaginateResponseLinks;
39
+ }
40
+ /**
41
+ * Check if a given object implements the ListCustomerSuccessAccounts200Response interface.
42
+ */
43
+ export declare function instanceOfListCustomerSuccessAccounts200Response(value: object): value is ListCustomerSuccessAccounts200Response;
44
+ export declare function ListCustomerSuccessAccounts200ResponseFromJSON(json: any): ListCustomerSuccessAccounts200Response;
45
+ export declare function ListCustomerSuccessAccounts200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListCustomerSuccessAccounts200Response;
46
+ export declare function ListCustomerSuccessAccounts200ResponseToJSON(json: any): ListCustomerSuccessAccounts200Response;
47
+ export declare function ListCustomerSuccessAccounts200ResponseToJSONTyped(value?: ListCustomerSuccessAccounts200Response | null, ignoreDiscriminator?: boolean): any;