@randock/nameshift-api-client 0.0.547 → 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 +15 -0
- package/dist/models/LandingPageOriginalDesignSettingsDto.js +8 -0
- package/dist/models/LandingPageOriginalDesignSettingsInput.d.ts +15 -0
- package/dist/models/LandingPageOriginalDesignSettingsInput.js +4 -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 +19 -0
- package/src/models/LandingPageOriginalDesignSettingsInput.ts +17 -0
- 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.
|
|
@@ -63,6 +63,21 @@ export interface LandingPageOriginalDesignSettingsDto {
|
|
|
63
63
|
* @memberof LandingPageOriginalDesignSettingsDto
|
|
64
64
|
*/
|
|
65
65
|
externalLink: string | null;
|
|
66
|
+
/**
|
|
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.
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof LandingPageOriginalDesignSettingsDto
|
|
78
|
+
* @deprecated
|
|
79
|
+
*/
|
|
80
|
+
content: string | null;
|
|
66
81
|
}
|
|
67
82
|
/**
|
|
68
83
|
* Check if a given object implements the LandingPageOriginalDesignSettingsDto interface.
|
|
@@ -38,6 +38,10 @@ 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;
|
|
43
|
+
if (!('content' in value) || value['content'] === undefined)
|
|
44
|
+
return false;
|
|
41
45
|
return true;
|
|
42
46
|
}
|
|
43
47
|
function LandingPageOriginalDesignSettingsDtoFromJSON(json) {
|
|
@@ -56,6 +60,8 @@ function LandingPageOriginalDesignSettingsDtoFromJSONTyped(json, ignoreDiscrimin
|
|
|
56
60
|
'minDomainAuthority': json['minDomainAuthority'],
|
|
57
61
|
'visitorStats': json['visitorStats'],
|
|
58
62
|
'externalLink': json['externalLink'],
|
|
63
|
+
'contents': json['contents'],
|
|
64
|
+
'content': json['content'],
|
|
59
65
|
};
|
|
60
66
|
}
|
|
61
67
|
function LandingPageOriginalDesignSettingsDtoToJSON(json) {
|
|
@@ -75,5 +81,7 @@ function LandingPageOriginalDesignSettingsDtoToJSONTyped(value, ignoreDiscrimina
|
|
|
75
81
|
'minDomainAuthority': value['minDomainAuthority'],
|
|
76
82
|
'visitorStats': value['visitorStats'],
|
|
77
83
|
'externalLink': value['externalLink'],
|
|
84
|
+
'contents': value['contents'],
|
|
85
|
+
'content': value['content'],
|
|
78
86
|
};
|
|
79
87
|
}
|
|
@@ -63,6 +63,21 @@ export interface LandingPageOriginalDesignSettingsInput {
|
|
|
63
63
|
* @memberof LandingPageOriginalDesignSettingsInput
|
|
64
64
|
*/
|
|
65
65
|
externalLink?: string | null;
|
|
66
|
+
/**
|
|
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.
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof LandingPageOriginalDesignSettingsInput
|
|
78
|
+
* @deprecated
|
|
79
|
+
*/
|
|
80
|
+
content?: string | null;
|
|
66
81
|
}
|
|
67
82
|
/**
|
|
68
83
|
* Check if a given object implements the LandingPageOriginalDesignSettingsInput interface.
|
|
@@ -40,6 +40,8 @@ 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'],
|
|
44
|
+
'content': json['content'] == null ? undefined : json['content'],
|
|
43
45
|
};
|
|
44
46
|
}
|
|
45
47
|
function LandingPageOriginalDesignSettingsInputToJSON(json) {
|
|
@@ -59,5 +61,7 @@ function LandingPageOriginalDesignSettingsInputToJSONTyped(value, ignoreDiscrimi
|
|
|
59
61
|
'visitorStats': value['visitorStats'],
|
|
60
62
|
'minDomainAuthority': value['minDomainAuthority'],
|
|
61
63
|
'externalLink': value['externalLink'],
|
|
64
|
+
'contents': value['contents'],
|
|
65
|
+
'content': value['content'],
|
|
62
66
|
};
|
|
63
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
|
|
|
@@ -67,6 +67,19 @@ export interface LandingPageOriginalDesignSettingsDto {
|
|
|
67
67
|
* @memberof LandingPageOriginalDesignSettingsDto
|
|
68
68
|
*/
|
|
69
69
|
externalLink: string | null;
|
|
70
|
+
/**
|
|
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.
|
|
78
|
+
* @type {string}
|
|
79
|
+
* @memberof LandingPageOriginalDesignSettingsDto
|
|
80
|
+
* @deprecated
|
|
81
|
+
*/
|
|
82
|
+
content: string | null;
|
|
70
83
|
}
|
|
71
84
|
|
|
72
85
|
/**
|
|
@@ -81,6 +94,8 @@ export function instanceOfLandingPageOriginalDesignSettingsDto(value: object): v
|
|
|
81
94
|
if (!('minDomainAuthority' in value) || value['minDomainAuthority'] === undefined) return false;
|
|
82
95
|
if (!('visitorStats' in value) || value['visitorStats'] === undefined) return false;
|
|
83
96
|
if (!('externalLink' in value) || value['externalLink'] === undefined) return false;
|
|
97
|
+
if (!('contents' in value) || value['contents'] === undefined) return false;
|
|
98
|
+
if (!('content' in value) || value['content'] === undefined) return false;
|
|
84
99
|
return true;
|
|
85
100
|
}
|
|
86
101
|
|
|
@@ -102,6 +117,8 @@ export function LandingPageOriginalDesignSettingsDtoFromJSONTyped(json: any, ign
|
|
|
102
117
|
'minDomainAuthority': json['minDomainAuthority'],
|
|
103
118
|
'visitorStats': json['visitorStats'],
|
|
104
119
|
'externalLink': json['externalLink'],
|
|
120
|
+
'contents': json['contents'],
|
|
121
|
+
'content': json['content'],
|
|
105
122
|
};
|
|
106
123
|
}
|
|
107
124
|
|
|
@@ -124,6 +141,8 @@ export function LandingPageOriginalDesignSettingsDtoToJSONTyped(value?: LandingP
|
|
|
124
141
|
'minDomainAuthority': value['minDomainAuthority'],
|
|
125
142
|
'visitorStats': value['visitorStats'],
|
|
126
143
|
'externalLink': value['externalLink'],
|
|
144
|
+
'contents': value['contents'],
|
|
145
|
+
'content': value['content'],
|
|
127
146
|
};
|
|
128
147
|
}
|
|
129
148
|
|
|
@@ -67,6 +67,19 @@ export interface LandingPageOriginalDesignSettingsInput {
|
|
|
67
67
|
* @memberof LandingPageOriginalDesignSettingsInput
|
|
68
68
|
*/
|
|
69
69
|
externalLink?: string | null;
|
|
70
|
+
/**
|
|
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.
|
|
78
|
+
* @type {string}
|
|
79
|
+
* @memberof LandingPageOriginalDesignSettingsInput
|
|
80
|
+
* @deprecated
|
|
81
|
+
*/
|
|
82
|
+
content?: string | null;
|
|
70
83
|
}
|
|
71
84
|
|
|
72
85
|
/**
|
|
@@ -94,6 +107,8 @@ export function LandingPageOriginalDesignSettingsInputFromJSONTyped(json: any, i
|
|
|
94
107
|
'visitorStats': json['visitorStats'] == null ? undefined : json['visitorStats'],
|
|
95
108
|
'minDomainAuthority': json['minDomainAuthority'] == null ? undefined : json['minDomainAuthority'],
|
|
96
109
|
'externalLink': json['externalLink'] == null ? undefined : json['externalLink'],
|
|
110
|
+
'contents': json['contents'] == null ? undefined : json['contents'],
|
|
111
|
+
'content': json['content'] == null ? undefined : json['content'],
|
|
97
112
|
};
|
|
98
113
|
}
|
|
99
114
|
|
|
@@ -116,6 +131,8 @@ export function LandingPageOriginalDesignSettingsInputToJSONTyped(value?: Landin
|
|
|
116
131
|
'visitorStats': value['visitorStats'],
|
|
117
132
|
'minDomainAuthority': value['minDomainAuthority'],
|
|
118
133
|
'externalLink': value['externalLink'],
|
|
134
|
+
'contents': value['contents'],
|
|
135
|
+
'content': value['content'],
|
|
119
136
|
};
|
|
120
137
|
}
|
|
121
138
|
|
|
@@ -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
|
|