@randock/nameshift-api-client 0.0.548 → 0.0.549
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 +3 -3
- package/dist/models/FeatureFlagListItemDto.d.ts +1 -0
- package/dist/models/FeatureFlagListItemDto.js +2 -1
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
- package/dist/models/LandingPageOriginalDesignSettingsDto.d.ts +10 -1
- package/dist/models/LandingPageOriginalDesignSettingsDto.js +4 -0
- package/dist/models/LandingPageOriginalDesignSettingsInput.d.ts +10 -1
- package/dist/models/LandingPageOriginalDesignSettingsInput.js +2 -0
- package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
- package/dist/models/PrivateAccountGetMeResponse.js +2 -1
- package/package.json +1 -1
- package/src/models/FeatureFlagListItemDto.ts +2 -1
- package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
- package/src/models/LandingPageOriginalDesignSettingsDto.ts +11 -1
- package/src/models/LandingPageOriginalDesignSettingsInput.ts +10 -1
- package/src/models/PrivateAccountGetMeResponse.ts +2 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.549
|
|
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.
|
|
39
|
+
npm install @randock/nameshift-api-client@0.0.549 --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
|
-
|
|
47
|
+
6adad95cdea3ee60df383f9e0d768aee32abf6d570224e3cd4d7a704010ecf117399519bc2c074b53b6351c46c81ddd9
|
|
@@ -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
|
/**
|
package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js
CHANGED
|
@@ -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,9 +64,18 @@ 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;
|
|
72
81
|
}
|
|
@@ -38,6 +38,8 @@ 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;
|
|
43
45
|
return true;
|
|
@@ -58,6 +60,7 @@ function LandingPageOriginalDesignSettingsDtoFromJSONTyped(json, ignoreDiscrimin
|
|
|
58
60
|
'minDomainAuthority': json['minDomainAuthority'],
|
|
59
61
|
'visitorStats': json['visitorStats'],
|
|
60
62
|
'externalLink': json['externalLink'],
|
|
63
|
+
'contents': json['contents'],
|
|
61
64
|
'content': json['content'],
|
|
62
65
|
};
|
|
63
66
|
}
|
|
@@ -78,6 +81,7 @@ function LandingPageOriginalDesignSettingsDtoToJSONTyped(value, ignoreDiscrimina
|
|
|
78
81
|
'minDomainAuthority': value['minDomainAuthority'],
|
|
79
82
|
'visitorStats': value['visitorStats'],
|
|
80
83
|
'externalLink': value['externalLink'],
|
|
84
|
+
'contents': value['contents'],
|
|
81
85
|
'content': value['content'],
|
|
82
86
|
};
|
|
83
87
|
}
|
|
@@ -64,9 +64,18 @@ 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;
|
|
72
81
|
}
|
|
@@ -40,6 +40,7 @@ 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'],
|
|
44
45
|
};
|
|
45
46
|
}
|
|
@@ -60,6 +61,7 @@ function LandingPageOriginalDesignSettingsInputToJSONTyped(value, ignoreDiscrimi
|
|
|
60
61
|
'visitorStats': value['visitorStats'],
|
|
61
62
|
'minDomainAuthority': value['minDomainAuthority'],
|
|
62
63
|
'externalLink': value['externalLink'],
|
|
64
|
+
'contents': value['contents'],
|
|
63
65
|
'content': value['content'],
|
|
64
66
|
};
|
|
65
67
|
}
|
|
@@ -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
|
@@ -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
|
|
package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts
CHANGED
|
@@ -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,9 +68,16 @@ 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;
|
|
76
83
|
}
|
|
@@ -87,6 +94,7 @@ export function instanceOfLandingPageOriginalDesignSettingsDto(value: object): v
|
|
|
87
94
|
if (!('minDomainAuthority' in value) || value['minDomainAuthority'] === undefined) return false;
|
|
88
95
|
if (!('visitorStats' in value) || value['visitorStats'] === undefined) return false;
|
|
89
96
|
if (!('externalLink' in value) || value['externalLink'] === undefined) return false;
|
|
97
|
+
if (!('contents' in value) || value['contents'] === undefined) return false;
|
|
90
98
|
if (!('content' in value) || value['content'] === undefined) return false;
|
|
91
99
|
return true;
|
|
92
100
|
}
|
|
@@ -109,6 +117,7 @@ export function LandingPageOriginalDesignSettingsDtoFromJSONTyped(json: any, ign
|
|
|
109
117
|
'minDomainAuthority': json['minDomainAuthority'],
|
|
110
118
|
'visitorStats': json['visitorStats'],
|
|
111
119
|
'externalLink': json['externalLink'],
|
|
120
|
+
'contents': json['contents'],
|
|
112
121
|
'content': json['content'],
|
|
113
122
|
};
|
|
114
123
|
}
|
|
@@ -132,6 +141,7 @@ export function LandingPageOriginalDesignSettingsDtoToJSONTyped(value?: LandingP
|
|
|
132
141
|
'minDomainAuthority': value['minDomainAuthority'],
|
|
133
142
|
'visitorStats': value['visitorStats'],
|
|
134
143
|
'externalLink': value['externalLink'],
|
|
144
|
+
'contents': value['contents'],
|
|
135
145
|
'content': value['content'],
|
|
136
146
|
};
|
|
137
147
|
}
|
|
@@ -68,9 +68,16 @@ 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;
|
|
76
83
|
}
|
|
@@ -100,6 +107,7 @@ export function LandingPageOriginalDesignSettingsInputFromJSONTyped(json: any, i
|
|
|
100
107
|
'visitorStats': json['visitorStats'] == null ? undefined : json['visitorStats'],
|
|
101
108
|
'minDomainAuthority': json['minDomainAuthority'] == null ? undefined : json['minDomainAuthority'],
|
|
102
109
|
'externalLink': json['externalLink'] == null ? undefined : json['externalLink'],
|
|
110
|
+
'contents': json['contents'] == null ? undefined : json['contents'],
|
|
103
111
|
'content': json['content'] == null ? undefined : json['content'],
|
|
104
112
|
};
|
|
105
113
|
}
|
|
@@ -123,6 +131,7 @@ export function LandingPageOriginalDesignSettingsInputToJSONTyped(value?: Landin
|
|
|
123
131
|
'visitorStats': value['visitorStats'],
|
|
124
132
|
'minDomainAuthority': value['minDomainAuthority'],
|
|
125
133
|
'externalLink': value['externalLink'],
|
|
134
|
+
'contents': value['contents'],
|
|
126
135
|
'content': value['content'],
|
|
127
136
|
};
|
|
128
137
|
}
|
|
@@ -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
|
|