@randock/nameshift-api-client 0.0.197 → 0.0.198

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.
@@ -102,7 +102,7 @@ src/models/GetAllSubscriptions200Response1.ts
102
102
  src/models/GetBuyerLeads200Response.ts
103
103
  src/models/GetBuyerTransfers200Response.ts
104
104
  src/models/HttpException.ts
105
- src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDto.ts
105
+ src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts
106
106
  src/models/IntersectionDomainDtoWithAccountDto.ts
107
107
  src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts
108
108
  src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.197
1
+ ## @randock/nameshift-api-client@0.0.198
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.197 --save
39
+ npm install @randock/nameshift-api-client@0.0.198 --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
- 6f28801799fb1f9518d3c83a78fd2ea7fb7b8807a3ed333f0167418e806eb3a69ca6a1d242c433a3012afb165495c8f3
47
+ 968e463282777dad51e838bac66fc8929a4207ecc6ea1111896c6b4db68f4ee75cca7fad82fedc24e6d1f728c024af2c
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { AccountPaymentProviderSessionDto, AccountSettingsDto, AccountSettingsInput, IntersectionAccountDtoWithSettingsDtoWithNotificationsDto, UpdateAccountBillingInformationInput } from '../models/index';
13
+ import type { AccountPaymentProviderSessionDto, AccountSettingsDto, AccountSettingsInput, IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto, UpdateAccountBillingInformationInput } from '../models/index';
14
14
  export interface AccountsApiGetAccountPaymentProviderSessionRequest {
15
15
  accountId: string;
16
16
  }
@@ -53,11 +53,11 @@ export declare class AccountsApi extends runtime.BaseAPI {
53
53
  /**
54
54
  *
55
55
  */
56
- meRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IntersectionAccountDtoWithSettingsDtoWithNotificationsDto>>;
56
+ meRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto>>;
57
57
  /**
58
58
  *
59
59
  */
60
- me(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IntersectionAccountDtoWithSettingsDtoWithNotificationsDto>;
60
+ me(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto>;
61
61
  /**
62
62
  *
63
63
  */
@@ -206,7 +206,7 @@ var AccountsApi = /** @class */ (function (_super) {
206
206
  }, initOverrides)];
207
207
  case 3:
208
208
  response = _a.sent();
209
- return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoFromJSON)(jsonValue); })];
209
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoFromJSON)(jsonValue); })];
210
210
  }
211
211
  });
212
212
  });
@@ -27,6 +27,12 @@ export interface AccountSettingsLandingDto {
27
27
  * @memberof AccountSettingsLandingDto
28
28
  */
29
29
  showRelatedDomains: boolean;
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof AccountSettingsLandingDto
34
+ */
35
+ seoMetrics: boolean;
30
36
  /**
31
37
  *
32
38
  * @type {string}
@@ -26,6 +26,8 @@ function instanceOfAccountSettingsLandingDto(value) {
26
26
  return false;
27
27
  if (!('showRelatedDomains' in value) || value['showRelatedDomains'] === undefined)
28
28
  return false;
29
+ if (!('seoMetrics' in value) || value['seoMetrics'] === undefined)
30
+ return false;
29
31
  if (!('description' in value) || value['description'] === undefined)
30
32
  return false;
31
33
  if (!('avatar' in value) || value['avatar'] === undefined)
@@ -42,6 +44,7 @@ function AccountSettingsLandingDtoFromJSONTyped(json, ignoreDiscriminator) {
42
44
  return {
43
45
  'anonymous': json['anonymous'],
44
46
  'showRelatedDomains': json['showRelatedDomains'],
47
+ 'seoMetrics': json['seoMetrics'],
45
48
  'description': json['description'],
46
49
  'avatar': json['avatar'],
47
50
  };
@@ -57,6 +60,7 @@ function AccountSettingsLandingDtoToJSONTyped(value, ignoreDiscriminator) {
57
60
  return {
58
61
  'anonymous': value['anonymous'],
59
62
  'showRelatedDomains': value['showRelatedDomains'],
63
+ 'seoMetrics': value['seoMetrics'],
60
64
  'description': value['description'],
61
65
  'avatar': value['avatar'],
62
66
  };
@@ -17,63 +17,77 @@ import type { BillingInformationDto } from './BillingInformationDto';
17
17
  /**
18
18
  *
19
19
  * @export
20
- * @interface IntersectionAccountDtoWithSettingsDtoWithNotificationsDto
20
+ * @interface IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
21
21
  */
22
- export interface IntersectionAccountDtoWithSettingsDtoWithNotificationsDto {
22
+ export interface IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto {
23
23
  /**
24
24
  *
25
25
  * @type {string}
26
- * @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDto
26
+ * @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
27
27
  */
28
28
  id: string;
29
29
  /**
30
30
  *
31
31
  * @type {string}
32
- * @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDto
32
+ * @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
33
33
  */
34
34
  identifier: string;
35
35
  /**
36
36
  *
37
37
  * @type {string}
38
- * @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDto
38
+ * @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
39
39
  */
40
40
  name: string;
41
41
  /**
42
42
  *
43
43
  * @type {AccountMetricsDto}
44
- * @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDto
44
+ * @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
45
45
  */
46
46
  metrics: AccountMetricsDto;
47
47
  /**
48
48
  *
49
49
  * @type {PaymentProviderDto}
50
- * @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDto
50
+ * @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
51
51
  */
52
52
  paymentProvider: PaymentProviderDto | null;
53
53
  /**
54
54
  *
55
55
  * @type {BillingInformationDto}
56
- * @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDto
56
+ * @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
57
57
  */
58
58
  billingInformation: BillingInformationDto | null;
59
59
  /**
60
60
  *
61
61
  * @type {WithSettingsInner}
62
- * @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDto
62
+ * @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
63
63
  */
64
64
  settings: WithSettingsInner;
65
65
  /**
66
66
  *
67
67
  * @type {Array<AccountNotificationDto>}
68
- * @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDto
68
+ * @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
69
69
  */
70
70
  notifications: Array<AccountNotificationDto>;
71
+ /**
72
+ *
73
+ * @type {Array<string>}
74
+ * @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
75
+ */
76
+ enabledFeatures: Array<IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum>;
71
77
  }
72
78
  /**
73
- * Check if a given object implements the IntersectionAccountDtoWithSettingsDtoWithNotificationsDto interface.
79
+ * @export
80
+ */
81
+ export declare const IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum: {
82
+ readonly LEASE_TO_OWN: "LEASE_TO_OWN";
83
+ readonly SEO_METRICS: "SEO_METRICS";
84
+ };
85
+ export type IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum = typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum[keyof typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum];
86
+ /**
87
+ * Check if a given object implements the IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto interface.
74
88
  */
75
- export declare function instanceOfIntersectionAccountDtoWithSettingsDtoWithNotificationsDto(value: object): value is IntersectionAccountDtoWithSettingsDtoWithNotificationsDto;
76
- export declare function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoFromJSON(json: any): IntersectionAccountDtoWithSettingsDtoWithNotificationsDto;
77
- export declare function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionAccountDtoWithSettingsDtoWithNotificationsDto;
78
- export declare function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoToJSON(json: any): IntersectionAccountDtoWithSettingsDtoWithNotificationsDto;
79
- export declare function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoToJSONTyped(value?: IntersectionAccountDtoWithSettingsDtoWithNotificationsDto | null, ignoreDiscriminator?: boolean): any;
89
+ export declare function instanceOfIntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto(value: object): value is IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto;
90
+ export declare function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoFromJSON(json: any): IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto;
91
+ export declare function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto;
92
+ export declare function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoToJSON(json: any): IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto;
93
+ export declare function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoToJSONTyped(value?: IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto | null, ignoreDiscriminator?: boolean): any;
@@ -13,20 +13,28 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfIntersectionAccountDtoWithSettingsDtoWithNotificationsDto = instanceOfIntersectionAccountDtoWithSettingsDtoWithNotificationsDto;
17
- exports.IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoFromJSON = IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoFromJSON;
18
- exports.IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoFromJSONTyped = IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoFromJSONTyped;
19
- exports.IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoToJSON = IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoToJSON;
20
- exports.IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoToJSONTyped = IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoToJSONTyped;
16
+ exports.IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum = void 0;
17
+ exports.instanceOfIntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto = instanceOfIntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto;
18
+ exports.IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoFromJSON = IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoFromJSON;
19
+ exports.IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoFromJSONTyped = IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoFromJSONTyped;
20
+ exports.IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoToJSON = IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoToJSON;
21
+ exports.IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoToJSONTyped = IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoToJSONTyped;
21
22
  var PaymentProviderDto_1 = require("./PaymentProviderDto");
22
23
  var WithSettingsInner_1 = require("./WithSettingsInner");
23
24
  var AccountMetricsDto_1 = require("./AccountMetricsDto");
24
25
  var AccountNotificationDto_1 = require("./AccountNotificationDto");
25
26
  var BillingInformationDto_1 = require("./BillingInformationDto");
26
27
  /**
27
- * Check if a given object implements the IntersectionAccountDtoWithSettingsDtoWithNotificationsDto interface.
28
+ * @export
28
29
  */
29
- function instanceOfIntersectionAccountDtoWithSettingsDtoWithNotificationsDto(value) {
30
+ exports.IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum = {
31
+ LEASE_TO_OWN: 'LEASE_TO_OWN',
32
+ SEO_METRICS: 'SEO_METRICS'
33
+ };
34
+ /**
35
+ * Check if a given object implements the IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto interface.
36
+ */
37
+ function instanceOfIntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto(value) {
30
38
  if (!('id' in value) || value['id'] === undefined)
31
39
  return false;
32
40
  if (!('identifier' in value) || value['identifier'] === undefined)
@@ -43,12 +51,14 @@ function instanceOfIntersectionAccountDtoWithSettingsDtoWithNotificationsDto(val
43
51
  return false;
44
52
  if (!('notifications' in value) || value['notifications'] === undefined)
45
53
  return false;
54
+ if (!('enabledFeatures' in value) || value['enabledFeatures'] === undefined)
55
+ return false;
46
56
  return true;
47
57
  }
48
- function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoFromJSON(json) {
49
- return IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoFromJSONTyped(json, false);
58
+ function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoFromJSON(json) {
59
+ return IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoFromJSONTyped(json, false);
50
60
  }
51
- function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoFromJSONTyped(json, ignoreDiscriminator) {
61
+ function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoFromJSONTyped(json, ignoreDiscriminator) {
52
62
  if (json == null) {
53
63
  return json;
54
64
  }
@@ -61,12 +71,13 @@ function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoFromJSONTyped(
61
71
  'billingInformation': (0, BillingInformationDto_1.BillingInformationDtoFromJSON)(json['billingInformation']),
62
72
  'settings': (0, WithSettingsInner_1.WithSettingsInnerFromJSON)(json['settings']),
63
73
  'notifications': (json['notifications'].map(AccountNotificationDto_1.AccountNotificationDtoFromJSON)),
74
+ 'enabledFeatures': json['enabledFeatures'],
64
75
  };
65
76
  }
66
- function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoToJSON(json) {
67
- return IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoToJSONTyped(json, false);
77
+ function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoToJSON(json) {
78
+ return IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoToJSONTyped(json, false);
68
79
  }
69
- function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoToJSONTyped(value, ignoreDiscriminator) {
80
+ function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoToJSONTyped(value, ignoreDiscriminator) {
70
81
  if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
71
82
  if (value == null) {
72
83
  return value;
@@ -80,5 +91,6 @@ function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoToJSONTyped(va
80
91
  'billingInformation': (0, BillingInformationDto_1.BillingInformationDtoToJSON)(value['billingInformation']),
81
92
  'settings': (0, WithSettingsInner_1.WithSettingsInnerToJSON)(value['settings']),
82
93
  'notifications': (value['notifications'].map(AccountNotificationDto_1.AccountNotificationDtoToJSON)),
94
+ 'enabledFeatures': value['enabledFeatures'],
83
95
  };
84
96
  }
@@ -27,6 +27,12 @@ export interface LandingPageInput {
27
27
  * @memberof LandingPageInput
28
28
  */
29
29
  showRelatedDomains?: boolean;
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof LandingPageInput
34
+ */
35
+ seoMetrics?: boolean;
30
36
  /**
31
37
  *
32
38
  * @type {string}
@@ -34,6 +34,7 @@ function LandingPageInputFromJSONTyped(json, ignoreDiscriminator) {
34
34
  return {
35
35
  'anonymous': json['anonymous'] == null ? undefined : json['anonymous'],
36
36
  'showRelatedDomains': json['showRelatedDomains'] == null ? undefined : json['showRelatedDomains'],
37
+ 'seoMetrics': json['seoMetrics'] == null ? undefined : json['seoMetrics'],
37
38
  'description': json['description'] == null ? undefined : json['description'],
38
39
  };
39
40
  }
@@ -48,6 +49,7 @@ function LandingPageInputToJSONTyped(value, ignoreDiscriminator) {
48
49
  return {
49
50
  'anonymous': value['anonymous'],
50
51
  'showRelatedDomains': value['showRelatedDomains'],
52
+ 'seoMetrics': value['seoMetrics'],
51
53
  'description': value['description'],
52
54
  };
53
55
  }
@@ -77,7 +77,7 @@ export * from './GetAllSubscriptions200Response1';
77
77
  export * from './GetBuyerLeads200Response';
78
78
  export * from './GetBuyerTransfers200Response';
79
79
  export * from './HttpException';
80
- export * from './IntersectionAccountDtoWithSettingsDtoWithNotificationsDto';
80
+ export * from './IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto';
81
81
  export * from './IntersectionDomainDtoWithAccountDto';
82
82
  export * from './IntersectionDomainDtoWithHijackerDtoWithAccountDto';
83
83
  export * from './IntersectionDomainSalesInformationDtoWithDomainStatsDto';
@@ -95,7 +95,7 @@ __exportStar(require("./GetAllSubscriptions200Response1"), exports);
95
95
  __exportStar(require("./GetBuyerLeads200Response"), exports);
96
96
  __exportStar(require("./GetBuyerTransfers200Response"), exports);
97
97
  __exportStar(require("./HttpException"), exports);
98
- __exportStar(require("./IntersectionAccountDtoWithSettingsDtoWithNotificationsDto"), exports);
98
+ __exportStar(require("./IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto"), exports);
99
99
  __exportStar(require("./IntersectionDomainDtoWithAccountDto"), exports);
100
100
  __exportStar(require("./IntersectionDomainDtoWithHijackerDtoWithAccountDto"), exports);
101
101
  __exportStar(require("./IntersectionDomainSalesInformationDtoWithDomainStatsDto"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.197",
3
+ "version": "0.0.198",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -19,7 +19,7 @@ import type {
19
19
  AccountSettingsDto,
20
20
  AccountSettingsInput,
21
21
  BadRequestException,
22
- IntersectionAccountDtoWithSettingsDtoWithNotificationsDto,
22
+ IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto,
23
23
  NotFoundException,
24
24
  ThrottlerException,
25
25
  UpdateAccountBillingInformationInput,
@@ -34,8 +34,8 @@ import {
34
34
  AccountSettingsInputToJSON,
35
35
  BadRequestExceptionFromJSON,
36
36
  BadRequestExceptionToJSON,
37
- IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoFromJSON,
38
- IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoToJSON,
37
+ IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoFromJSON,
38
+ IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoToJSON,
39
39
  NotFoundExceptionFromJSON,
40
40
  NotFoundExceptionToJSON,
41
41
  ThrottlerExceptionFromJSON,
@@ -153,7 +153,7 @@ export class AccountsApi extends runtime.BaseAPI {
153
153
  /**
154
154
  *
155
155
  */
156
- async meRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IntersectionAccountDtoWithSettingsDtoWithNotificationsDto>> {
156
+ async meRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto>> {
157
157
  const queryParameters: any = {};
158
158
 
159
159
  const headerParameters: runtime.HTTPHeaders = {};
@@ -173,13 +173,13 @@ export class AccountsApi extends runtime.BaseAPI {
173
173
  query: queryParameters,
174
174
  }, initOverrides);
175
175
 
176
- return new runtime.JSONApiResponse(response, (jsonValue) => IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoFromJSON(jsonValue));
176
+ return new runtime.JSONApiResponse(response, (jsonValue) => IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoFromJSON(jsonValue));
177
177
  }
178
178
 
179
179
  /**
180
180
  *
181
181
  */
182
- async me(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IntersectionAccountDtoWithSettingsDtoWithNotificationsDto> {
182
+ async me(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto> {
183
183
  const response = await this.meRaw(initOverrides);
184
184
  return await response.value();
185
185
  }
@@ -31,6 +31,12 @@ export interface AccountSettingsLandingDto {
31
31
  * @memberof AccountSettingsLandingDto
32
32
  */
33
33
  showRelatedDomains: boolean;
34
+ /**
35
+ *
36
+ * @type {boolean}
37
+ * @memberof AccountSettingsLandingDto
38
+ */
39
+ seoMetrics: boolean;
34
40
  /**
35
41
  *
36
42
  * @type {string}
@@ -51,6 +57,7 @@ export interface AccountSettingsLandingDto {
51
57
  export function instanceOfAccountSettingsLandingDto(value: object): value is AccountSettingsLandingDto {
52
58
  if (!('anonymous' in value) || value['anonymous'] === undefined) return false;
53
59
  if (!('showRelatedDomains' in value) || value['showRelatedDomains'] === undefined) return false;
60
+ if (!('seoMetrics' in value) || value['seoMetrics'] === undefined) return false;
54
61
  if (!('description' in value) || value['description'] === undefined) return false;
55
62
  if (!('avatar' in value) || value['avatar'] === undefined) return false;
56
63
  return true;
@@ -68,6 +75,7 @@ export function AccountSettingsLandingDtoFromJSONTyped(json: any, ignoreDiscrimi
68
75
 
69
76
  'anonymous': json['anonymous'],
70
77
  'showRelatedDomains': json['showRelatedDomains'],
78
+ 'seoMetrics': json['seoMetrics'],
71
79
  'description': json['description'],
72
80
  'avatar': json['avatar'],
73
81
  };
@@ -86,6 +94,7 @@ export function AccountSettingsLandingDtoToJSONTyped(value?: AccountSettingsLand
86
94
 
87
95
  'anonymous': value['anonymous'],
88
96
  'showRelatedDomains': value['showRelatedDomains'],
97
+ 'seoMetrics': value['seoMetrics'],
89
98
  'description': value['description'],
90
99
  'avatar': value['avatar'],
91
100
  };
@@ -52,63 +52,80 @@ import {
52
52
  /**
53
53
  *
54
54
  * @export
55
- * @interface IntersectionAccountDtoWithSettingsDtoWithNotificationsDto
55
+ * @interface IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
56
56
  */
57
- export interface IntersectionAccountDtoWithSettingsDtoWithNotificationsDto {
57
+ export interface IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto {
58
58
  /**
59
59
  *
60
60
  * @type {string}
61
- * @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDto
61
+ * @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
62
62
  */
63
63
  id: string;
64
64
  /**
65
65
  *
66
66
  * @type {string}
67
- * @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDto
67
+ * @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
68
68
  */
69
69
  identifier: string;
70
70
  /**
71
71
  *
72
72
  * @type {string}
73
- * @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDto
73
+ * @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
74
74
  */
75
75
  name: string;
76
76
  /**
77
77
  *
78
78
  * @type {AccountMetricsDto}
79
- * @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDto
79
+ * @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
80
80
  */
81
81
  metrics: AccountMetricsDto;
82
82
  /**
83
83
  *
84
84
  * @type {PaymentProviderDto}
85
- * @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDto
85
+ * @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
86
86
  */
87
87
  paymentProvider: PaymentProviderDto | null;
88
88
  /**
89
89
  *
90
90
  * @type {BillingInformationDto}
91
- * @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDto
91
+ * @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
92
92
  */
93
93
  billingInformation: BillingInformationDto | null;
94
94
  /**
95
95
  *
96
96
  * @type {WithSettingsInner}
97
- * @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDto
97
+ * @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
98
98
  */
99
99
  settings: WithSettingsInner;
100
100
  /**
101
101
  *
102
102
  * @type {Array<AccountNotificationDto>}
103
- * @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDto
103
+ * @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
104
104
  */
105
105
  notifications: Array<AccountNotificationDto>;
106
+ /**
107
+ *
108
+ * @type {Array<string>}
109
+ * @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
110
+ */
111
+ enabledFeatures: Array<IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum>;
106
112
  }
107
113
 
114
+
115
+ /**
116
+ * @export
117
+ */
118
+ export const IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum = {
119
+ LEASE_TO_OWN: 'LEASE_TO_OWN',
120
+ SEO_METRICS: 'SEO_METRICS'
121
+ } as const;
122
+ export type IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum = typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum[keyof typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum];
123
+
124
+
108
125
  /**
109
- * Check if a given object implements the IntersectionAccountDtoWithSettingsDtoWithNotificationsDto interface.
126
+ * Check if a given object implements the IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto interface.
110
127
  */
111
- export function instanceOfIntersectionAccountDtoWithSettingsDtoWithNotificationsDto(value: object): value is IntersectionAccountDtoWithSettingsDtoWithNotificationsDto {
128
+ export function instanceOfIntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto(value: object): value is IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto {
112
129
  if (!('id' in value) || value['id'] === undefined) return false;
113
130
  if (!('identifier' in value) || value['identifier'] === undefined) return false;
114
131
  if (!('name' in value) || value['name'] === undefined) return false;
@@ -117,14 +134,15 @@ export function instanceOfIntersectionAccountDtoWithSettingsDtoWithNotifications
117
134
  if (!('billingInformation' in value) || value['billingInformation'] === undefined) return false;
118
135
  if (!('settings' in value) || value['settings'] === undefined) return false;
119
136
  if (!('notifications' in value) || value['notifications'] === undefined) return false;
137
+ if (!('enabledFeatures' in value) || value['enabledFeatures'] === undefined) return false;
120
138
  return true;
121
139
  }
122
140
 
123
- export function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoFromJSON(json: any): IntersectionAccountDtoWithSettingsDtoWithNotificationsDto {
124
- return IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoFromJSONTyped(json, false);
141
+ export function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoFromJSON(json: any): IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto {
142
+ return IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoFromJSONTyped(json, false);
125
143
  }
126
144
 
127
- export function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionAccountDtoWithSettingsDtoWithNotificationsDto {
145
+ export function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto {
128
146
  if (json == null) {
129
147
  return json;
130
148
  }
@@ -138,14 +156,15 @@ export function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoFromJSO
138
156
  'billingInformation': BillingInformationDtoFromJSON(json['billingInformation']),
139
157
  'settings': WithSettingsInnerFromJSON(json['settings']),
140
158
  'notifications': ((json['notifications'] as Array<any>).map(AccountNotificationDtoFromJSON)),
159
+ 'enabledFeatures': json['enabledFeatures'],
141
160
  };
142
161
  }
143
162
 
144
- export function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoToJSON(json: any): IntersectionAccountDtoWithSettingsDtoWithNotificationsDto {
145
- return IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoToJSONTyped(json, false);
163
+ export function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoToJSON(json: any): IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto {
164
+ return IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoToJSONTyped(json, false);
146
165
  }
147
166
 
148
- export function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoToJSONTyped(value?: IntersectionAccountDtoWithSettingsDtoWithNotificationsDto | null, ignoreDiscriminator: boolean = false): any {
167
+ export function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoToJSONTyped(value?: IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto | null, ignoreDiscriminator: boolean = false): any {
149
168
  if (value == null) {
150
169
  return value;
151
170
  }
@@ -160,6 +179,7 @@ export function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoToJSONT
160
179
  'billingInformation': BillingInformationDtoToJSON(value['billingInformation']),
161
180
  'settings': WithSettingsInnerToJSON(value['settings']),
162
181
  'notifications': ((value['notifications'] as Array<any>).map(AccountNotificationDtoToJSON)),
182
+ 'enabledFeatures': value['enabledFeatures'],
163
183
  };
164
184
  }
165
185
 
@@ -31,6 +31,12 @@ export interface LandingPageInput {
31
31
  * @memberof LandingPageInput
32
32
  */
33
33
  showRelatedDomains?: boolean;
34
+ /**
35
+ *
36
+ * @type {boolean}
37
+ * @memberof LandingPageInput
38
+ */
39
+ seoMetrics?: boolean;
34
40
  /**
35
41
  *
36
42
  * @type {string}
@@ -58,6 +64,7 @@ export function LandingPageInputFromJSONTyped(json: any, ignoreDiscriminator: bo
58
64
 
59
65
  'anonymous': json['anonymous'] == null ? undefined : json['anonymous'],
60
66
  'showRelatedDomains': json['showRelatedDomains'] == null ? undefined : json['showRelatedDomains'],
67
+ 'seoMetrics': json['seoMetrics'] == null ? undefined : json['seoMetrics'],
61
68
  'description': json['description'] == null ? undefined : json['description'],
62
69
  };
63
70
  }
@@ -75,6 +82,7 @@ export function LandingPageInputToJSONTyped(value?: LandingPageInput | null, ign
75
82
 
76
83
  'anonymous': value['anonymous'],
77
84
  'showRelatedDomains': value['showRelatedDomains'],
85
+ 'seoMetrics': value['seoMetrics'],
78
86
  'description': value['description'],
79
87
  };
80
88
  }
@@ -79,7 +79,7 @@ export * from './GetAllSubscriptions200Response1';
79
79
  export * from './GetBuyerLeads200Response';
80
80
  export * from './GetBuyerTransfers200Response';
81
81
  export * from './HttpException';
82
- export * from './IntersectionAccountDtoWithSettingsDtoWithNotificationsDto';
82
+ export * from './IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto';
83
83
  export * from './IntersectionDomainDtoWithAccountDto';
84
84
  export * from './IntersectionDomainDtoWithHijackerDtoWithAccountDto';
85
85
  export * from './IntersectionDomainSalesInformationDtoWithDomainStatsDto';