@randock/nameshift-api-client 0.0.548 → 0.0.550

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.548
1
+ ## @randock/nameshift-api-client@0.0.550
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.548 --save
39
+ npm install @randock/nameshift-api-client@0.0.550 --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
- 6e97d66f53caaa43509e6569ddaab40b548d1ee3d7eac052b2008b4fd1793005e3935a8471fba5c76e0172f025c1dccc
47
+ d6eb110f80b7992415ac53ef9987238e9aa6c3352e733b64ba41e696460c9a5fe6b8cb58f8e890ef0ec151399563b37a
@@ -98,6 +98,7 @@ export declare const FeatureFlagListItemDtoNameEnum: {
98
98
  readonly BANK_ACCOUNT_NAME_CHECK: "BANK_ACCOUNT_NAME_CHECK";
99
99
  readonly MFA_ENFORCED_FOR_STAFF: "MFA_ENFORCED_FOR_STAFF";
100
100
  readonly WEBHOOKS: "WEBHOOKS";
101
+ readonly CUSTOM_LANDING_PAGE_CONTENT: "CUSTOM_LANDING_PAGE_CONTENT";
101
102
  };
102
103
  export type FeatureFlagListItemDtoNameEnum = typeof FeatureFlagListItemDtoNameEnum[keyof typeof FeatureFlagListItemDtoNameEnum];
103
104
  /**
@@ -58,7 +58,8 @@ exports.FeatureFlagListItemDtoNameEnum = {
58
58
  DOMAIN_APPRAISAL: 'DOMAIN_APPRAISAL',
59
59
  BANK_ACCOUNT_NAME_CHECK: 'BANK_ACCOUNT_NAME_CHECK',
60
60
  MFA_ENFORCED_FOR_STAFF: 'MFA_ENFORCED_FOR_STAFF',
61
- WEBHOOKS: 'WEBHOOKS'
61
+ WEBHOOKS: 'WEBHOOKS',
62
+ CUSTOM_LANDING_PAGE_CONTENT: 'CUSTOM_LANDING_PAGE_CONTENT'
62
63
  };
63
64
  /**
64
65
  * Check if a given object implements the FeatureFlagListItemDto interface.
@@ -153,6 +153,7 @@ export declare const IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWi
153
153
  readonly BANK_ACCOUNT_NAME_CHECK: "BANK_ACCOUNT_NAME_CHECK";
154
154
  readonly MFA_ENFORCED_FOR_STAFF: "MFA_ENFORCED_FOR_STAFF";
155
155
  readonly WEBHOOKS: "WEBHOOKS";
156
+ readonly CUSTOM_LANDING_PAGE_CONTENT: "CUSTOM_LANDING_PAGE_CONTENT";
156
157
  };
157
158
  export type IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum = typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum[keyof typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum];
158
159
  /**
@@ -65,7 +65,8 @@ exports.IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlag
65
65
  DOMAIN_APPRAISAL: 'DOMAIN_APPRAISAL',
66
66
  BANK_ACCOUNT_NAME_CHECK: 'BANK_ACCOUNT_NAME_CHECK',
67
67
  MFA_ENFORCED_FOR_STAFF: 'MFA_ENFORCED_FOR_STAFF',
68
- WEBHOOKS: 'WEBHOOKS'
68
+ WEBHOOKS: 'WEBHOOKS',
69
+ CUSTOM_LANDING_PAGE_CONTENT: 'CUSTOM_LANDING_PAGE_CONTENT'
69
70
  };
70
71
  /**
71
72
  * Check if a given object implements the IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto interface.
@@ -64,11 +64,26 @@ export interface LandingPageOriginalDesignSettingsDto {
64
64
  */
65
65
  externalLink: string | null;
66
66
  /**
67
- * Custom rich text (HTML) block for the landing page.
67
+ * Custom rich text (HTML) block for the landing page, by landing page locale (en-gb, nl-be, …).
68
+ * @type {{ [key: string]: string; }}
69
+ * @memberof LandingPageOriginalDesignSettingsDto
70
+ */
71
+ contents: {
72
+ [key: string]: string;
73
+ } | null;
74
+ /**
75
+ * The en-gb text of the custom rich text block; use contents.
68
76
  * @type {string}
69
77
  * @memberof LandingPageOriginalDesignSettingsDto
78
+ * @deprecated
70
79
  */
71
80
  content: string | null;
81
+ /**
82
+ * Whether the custom rich text block is shown.
83
+ * @type {boolean}
84
+ * @memberof LandingPageOriginalDesignSettingsDto
85
+ */
86
+ showContent: boolean | null;
72
87
  }
73
88
  /**
74
89
  * Check if a given object implements the LandingPageOriginalDesignSettingsDto interface.
@@ -38,8 +38,12 @@ function instanceOfLandingPageOriginalDesignSettingsDto(value) {
38
38
  return false;
39
39
  if (!('externalLink' in value) || value['externalLink'] === undefined)
40
40
  return false;
41
+ if (!('contents' in value) || value['contents'] === undefined)
42
+ return false;
41
43
  if (!('content' in value) || value['content'] === undefined)
42
44
  return false;
45
+ if (!('showContent' in value) || value['showContent'] === undefined)
46
+ return false;
43
47
  return true;
44
48
  }
45
49
  function LandingPageOriginalDesignSettingsDtoFromJSON(json) {
@@ -58,7 +62,9 @@ function LandingPageOriginalDesignSettingsDtoFromJSONTyped(json, ignoreDiscrimin
58
62
  'minDomainAuthority': json['minDomainAuthority'],
59
63
  'visitorStats': json['visitorStats'],
60
64
  'externalLink': json['externalLink'],
65
+ 'contents': json['contents'],
61
66
  'content': json['content'],
67
+ 'showContent': json['showContent'],
62
68
  };
63
69
  }
64
70
  function LandingPageOriginalDesignSettingsDtoToJSON(json) {
@@ -78,6 +84,8 @@ function LandingPageOriginalDesignSettingsDtoToJSONTyped(value, ignoreDiscrimina
78
84
  'minDomainAuthority': value['minDomainAuthority'],
79
85
  'visitorStats': value['visitorStats'],
80
86
  'externalLink': value['externalLink'],
87
+ 'contents': value['contents'],
81
88
  'content': value['content'],
89
+ 'showContent': value['showContent'],
82
90
  };
83
91
  }
@@ -64,11 +64,26 @@ export interface LandingPageOriginalDesignSettingsInput {
64
64
  */
65
65
  externalLink?: string | null;
66
66
  /**
67
- * Custom rich text (HTML) block for the landing page.
67
+ * Custom rich text (HTML) block for the landing page, by landing page locale (en-gb) or language (en, every English locale).
68
+ * @type {{ [key: string]: string | null; }}
69
+ * @memberof LandingPageOriginalDesignSettingsInput
70
+ */
71
+ contents?: {
72
+ [key: string]: string | null;
73
+ } | null;
74
+ /**
75
+ * Writes the custom rich text block in every English locale (en-gb, en-us, en-ca); use contents.
68
76
  * @type {string}
69
77
  * @memberof LandingPageOriginalDesignSettingsInput
78
+ * @deprecated
70
79
  */
71
80
  content?: string | null;
81
+ /**
82
+ * Whether the custom rich text block is shown.
83
+ * @type {boolean}
84
+ * @memberof LandingPageOriginalDesignSettingsInput
85
+ */
86
+ showContent?: boolean | null;
72
87
  }
73
88
  /**
74
89
  * Check if a given object implements the LandingPageOriginalDesignSettingsInput interface.
@@ -40,7 +40,9 @@ function LandingPageOriginalDesignSettingsInputFromJSONTyped(json, ignoreDiscrim
40
40
  'visitorStats': json['visitorStats'] == null ? undefined : json['visitorStats'],
41
41
  'minDomainAuthority': json['minDomainAuthority'] == null ? undefined : json['minDomainAuthority'],
42
42
  'externalLink': json['externalLink'] == null ? undefined : json['externalLink'],
43
+ 'contents': json['contents'] == null ? undefined : json['contents'],
43
44
  'content': json['content'] == null ? undefined : json['content'],
45
+ 'showContent': json['showContent'] == null ? undefined : json['showContent'],
44
46
  };
45
47
  }
46
48
  function LandingPageOriginalDesignSettingsInputToJSON(json) {
@@ -60,6 +62,8 @@ function LandingPageOriginalDesignSettingsInputToJSONTyped(value, ignoreDiscrimi
60
62
  'visitorStats': value['visitorStats'],
61
63
  'minDomainAuthority': value['minDomainAuthority'],
62
64
  'externalLink': value['externalLink'],
65
+ 'contents': value['contents'],
63
66
  'content': value['content'],
67
+ 'showContent': value['showContent'],
64
68
  };
65
69
  }
@@ -165,6 +165,7 @@ export declare const PrivateAccountGetMeResponseEnabledFeaturesEnum: {
165
165
  readonly BANK_ACCOUNT_NAME_CHECK: "BANK_ACCOUNT_NAME_CHECK";
166
166
  readonly MFA_ENFORCED_FOR_STAFF: "MFA_ENFORCED_FOR_STAFF";
167
167
  readonly WEBHOOKS: "WEBHOOKS";
168
+ readonly CUSTOM_LANDING_PAGE_CONTENT: "CUSTOM_LANDING_PAGE_CONTENT";
168
169
  };
169
170
  export type PrivateAccountGetMeResponseEnabledFeaturesEnum = typeof PrivateAccountGetMeResponseEnabledFeaturesEnum[keyof typeof PrivateAccountGetMeResponseEnabledFeaturesEnum];
170
171
  /**
@@ -65,7 +65,8 @@ exports.PrivateAccountGetMeResponseEnabledFeaturesEnum = {
65
65
  DOMAIN_APPRAISAL: 'DOMAIN_APPRAISAL',
66
66
  BANK_ACCOUNT_NAME_CHECK: 'BANK_ACCOUNT_NAME_CHECK',
67
67
  MFA_ENFORCED_FOR_STAFF: 'MFA_ENFORCED_FOR_STAFF',
68
- WEBHOOKS: 'WEBHOOKS'
68
+ WEBHOOKS: 'WEBHOOKS',
69
+ CUSTOM_LANDING_PAGE_CONTENT: 'CUSTOM_LANDING_PAGE_CONTENT'
69
70
  };
70
71
  /**
71
72
  * Check if a given object implements the PrivateAccountGetMeResponse interface.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.548",
3
+ "version": "0.0.550",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -103,7 +103,8 @@ export const FeatureFlagListItemDtoNameEnum = {
103
103
  DOMAIN_APPRAISAL: 'DOMAIN_APPRAISAL',
104
104
  BANK_ACCOUNT_NAME_CHECK: 'BANK_ACCOUNT_NAME_CHECK',
105
105
  MFA_ENFORCED_FOR_STAFF: 'MFA_ENFORCED_FOR_STAFF',
106
- WEBHOOKS: 'WEBHOOKS'
106
+ WEBHOOKS: 'WEBHOOKS',
107
+ CUSTOM_LANDING_PAGE_CONTENT: 'CUSTOM_LANDING_PAGE_CONTENT'
107
108
  } as const;
108
109
  export type FeatureFlagListItemDtoNameEnum = typeof FeatureFlagListItemDtoNameEnum[keyof typeof FeatureFlagListItemDtoNameEnum];
109
110
 
@@ -201,7 +201,8 @@ export const IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatur
201
201
  DOMAIN_APPRAISAL: 'DOMAIN_APPRAISAL',
202
202
  BANK_ACCOUNT_NAME_CHECK: 'BANK_ACCOUNT_NAME_CHECK',
203
203
  MFA_ENFORCED_FOR_STAFF: 'MFA_ENFORCED_FOR_STAFF',
204
- WEBHOOKS: 'WEBHOOKS'
204
+ WEBHOOKS: 'WEBHOOKS',
205
+ CUSTOM_LANDING_PAGE_CONTENT: 'CUSTOM_LANDING_PAGE_CONTENT'
205
206
  } as const;
206
207
  export type IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum = typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum[keyof typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum];
207
208
 
@@ -68,11 +68,24 @@ export interface LandingPageOriginalDesignSettingsDto {
68
68
  */
69
69
  externalLink: string | null;
70
70
  /**
71
- * Custom rich text (HTML) block for the landing page.
71
+ * Custom rich text (HTML) block for the landing page, by landing page locale (en-gb, nl-be, …).
72
+ * @type {{ [key: string]: string; }}
73
+ * @memberof LandingPageOriginalDesignSettingsDto
74
+ */
75
+ contents: { [key: string]: string; } | null;
76
+ /**
77
+ * The en-gb text of the custom rich text block; use contents.
72
78
  * @type {string}
73
79
  * @memberof LandingPageOriginalDesignSettingsDto
80
+ * @deprecated
74
81
  */
75
82
  content: string | null;
83
+ /**
84
+ * Whether the custom rich text block is shown.
85
+ * @type {boolean}
86
+ * @memberof LandingPageOriginalDesignSettingsDto
87
+ */
88
+ showContent: boolean | null;
76
89
  }
77
90
 
78
91
  /**
@@ -87,7 +100,9 @@ export function instanceOfLandingPageOriginalDesignSettingsDto(value: object): v
87
100
  if (!('minDomainAuthority' in value) || value['minDomainAuthority'] === undefined) return false;
88
101
  if (!('visitorStats' in value) || value['visitorStats'] === undefined) return false;
89
102
  if (!('externalLink' in value) || value['externalLink'] === undefined) return false;
103
+ if (!('contents' in value) || value['contents'] === undefined) return false;
90
104
  if (!('content' in value) || value['content'] === undefined) return false;
105
+ if (!('showContent' in value) || value['showContent'] === undefined) return false;
91
106
  return true;
92
107
  }
93
108
 
@@ -109,7 +124,9 @@ export function LandingPageOriginalDesignSettingsDtoFromJSONTyped(json: any, ign
109
124
  'minDomainAuthority': json['minDomainAuthority'],
110
125
  'visitorStats': json['visitorStats'],
111
126
  'externalLink': json['externalLink'],
127
+ 'contents': json['contents'],
112
128
  'content': json['content'],
129
+ 'showContent': json['showContent'],
113
130
  };
114
131
  }
115
132
 
@@ -132,7 +149,9 @@ export function LandingPageOriginalDesignSettingsDtoToJSONTyped(value?: LandingP
132
149
  'minDomainAuthority': value['minDomainAuthority'],
133
150
  'visitorStats': value['visitorStats'],
134
151
  'externalLink': value['externalLink'],
152
+ 'contents': value['contents'],
135
153
  'content': value['content'],
154
+ 'showContent': value['showContent'],
136
155
  };
137
156
  }
138
157
 
@@ -68,11 +68,24 @@ export interface LandingPageOriginalDesignSettingsInput {
68
68
  */
69
69
  externalLink?: string | null;
70
70
  /**
71
- * Custom rich text (HTML) block for the landing page.
71
+ * Custom rich text (HTML) block for the landing page, by landing page locale (en-gb) or language (en, every English locale).
72
+ * @type {{ [key: string]: string | null; }}
73
+ * @memberof LandingPageOriginalDesignSettingsInput
74
+ */
75
+ contents?: { [key: string]: string | null; } | null;
76
+ /**
77
+ * Writes the custom rich text block in every English locale (en-gb, en-us, en-ca); use contents.
72
78
  * @type {string}
73
79
  * @memberof LandingPageOriginalDesignSettingsInput
80
+ * @deprecated
74
81
  */
75
82
  content?: string | null;
83
+ /**
84
+ * Whether the custom rich text block is shown.
85
+ * @type {boolean}
86
+ * @memberof LandingPageOriginalDesignSettingsInput
87
+ */
88
+ showContent?: boolean | null;
76
89
  }
77
90
 
78
91
  /**
@@ -100,7 +113,9 @@ export function LandingPageOriginalDesignSettingsInputFromJSONTyped(json: any, i
100
113
  'visitorStats': json['visitorStats'] == null ? undefined : json['visitorStats'],
101
114
  'minDomainAuthority': json['minDomainAuthority'] == null ? undefined : json['minDomainAuthority'],
102
115
  'externalLink': json['externalLink'] == null ? undefined : json['externalLink'],
116
+ 'contents': json['contents'] == null ? undefined : json['contents'],
103
117
  'content': json['content'] == null ? undefined : json['content'],
118
+ 'showContent': json['showContent'] == null ? undefined : json['showContent'],
104
119
  };
105
120
  }
106
121
 
@@ -123,7 +138,9 @@ export function LandingPageOriginalDesignSettingsInputToJSONTyped(value?: Landin
123
138
  'visitorStats': value['visitorStats'],
124
139
  'minDomainAuthority': value['minDomainAuthority'],
125
140
  'externalLink': value['externalLink'],
141
+ 'contents': value['contents'],
126
142
  'content': value['content'],
143
+ 'showContent': value['showContent'],
127
144
  };
128
145
  }
129
146
 
@@ -213,7 +213,8 @@ export const PrivateAccountGetMeResponseEnabledFeaturesEnum = {
213
213
  DOMAIN_APPRAISAL: 'DOMAIN_APPRAISAL',
214
214
  BANK_ACCOUNT_NAME_CHECK: 'BANK_ACCOUNT_NAME_CHECK',
215
215
  MFA_ENFORCED_FOR_STAFF: 'MFA_ENFORCED_FOR_STAFF',
216
- WEBHOOKS: 'WEBHOOKS'
216
+ WEBHOOKS: 'WEBHOOKS',
217
+ CUSTOM_LANDING_PAGE_CONTENT: 'CUSTOM_LANDING_PAGE_CONTENT'
217
218
  } as const;
218
219
  export type PrivateAccountGetMeResponseEnabledFeaturesEnum = typeof PrivateAccountGetMeResponseEnabledFeaturesEnum[keyof typeof PrivateAccountGetMeResponseEnabledFeaturesEnum];
219
220