@randock/nameshift-api-client 0.0.212 → 0.0.213

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.212
1
+ ## @randock/nameshift-api-client@0.0.213
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.212 --save
39
+ npm install @randock/nameshift-api-client@0.0.213 --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
- 4c94f072c60f0194a797da504e5ba2c90a0b767a41c0ebb22c6c02379a776c07cc26ea28bcc714b7aa37728941cce962
47
+ 4027072ef2729166725a1257ffe0376f16a4d85a6229d92ac04b9e8b1b484f0ad014dab46fbaffc190729a16da39e3c1
@@ -61,6 +61,12 @@ export interface AccountDto {
61
61
  * @memberof AccountDto
62
62
  */
63
63
  billingInformation: BillingInformationDto | null;
64
+ /**
65
+ *
66
+ * @type {number}
67
+ * @memberof AccountDto
68
+ */
69
+ leaseToOwnKickbackPercentage: number;
64
70
  }
65
71
  /**
66
72
  * Check if a given object implements the AccountDto interface.
@@ -40,6 +40,8 @@ function instanceOfAccountDto(value) {
40
40
  return false;
41
41
  if (!('billingInformation' in value) || value['billingInformation'] === undefined)
42
42
  return false;
43
+ if (!('leaseToOwnKickbackPercentage' in value) || value['leaseToOwnKickbackPercentage'] === undefined)
44
+ return false;
43
45
  return true;
44
46
  }
45
47
  function AccountDtoFromJSON(json) {
@@ -57,6 +59,7 @@ function AccountDtoFromJSONTyped(json, ignoreDiscriminator) {
57
59
  'onboarding': (0, AccountOnboardingDto_1.AccountOnboardingDtoFromJSON)(json['onboarding']),
58
60
  'payout': (0, AccountPayoutDto_1.AccountPayoutDtoFromJSON)(json['payout']),
59
61
  'billingInformation': (0, BillingInformationDto_1.BillingInformationDtoFromJSON)(json['billingInformation']),
62
+ 'leaseToOwnKickbackPercentage': json['leaseToOwnKickbackPercentage'],
60
63
  };
61
64
  }
62
65
  function AccountDtoToJSON(json) {
@@ -75,5 +78,6 @@ function AccountDtoToJSONTyped(value, ignoreDiscriminator) {
75
78
  'onboarding': (0, AccountOnboardingDto_1.AccountOnboardingDtoToJSON)(value['onboarding']),
76
79
  'payout': (0, AccountPayoutDto_1.AccountPayoutDtoToJSON)(value['payout']),
77
80
  'billingInformation': (0, BillingInformationDto_1.BillingInformationDtoToJSON)(value['billingInformation']),
81
+ 'leaseToOwnKickbackPercentage': value['leaseToOwnKickbackPercentage'],
78
82
  };
79
83
  }
@@ -21,6 +21,12 @@ export interface AdminAccountSettingsInput {
21
21
  * @memberof AdminAccountSettingsInput
22
22
  */
23
23
  automaticPayouts?: boolean;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof AdminAccountSettingsInput
28
+ */
29
+ leaseToOwnKickBackPercentage?: number;
24
30
  }
25
31
  /**
26
32
  * Check if a given object implements the AdminAccountSettingsInput interface.
@@ -33,6 +33,7 @@ function AdminAccountSettingsInputFromJSONTyped(json, ignoreDiscriminator) {
33
33
  }
34
34
  return {
35
35
  'automaticPayouts': json['automaticPayouts'] == null ? undefined : json['automaticPayouts'],
36
+ 'leaseToOwnKickBackPercentage': json['leaseToOwnKickBackPercentage'] == null ? undefined : json['leaseToOwnKickBackPercentage'],
36
37
  };
37
38
  }
38
39
  function AdminAccountSettingsInputToJSON(json) {
@@ -45,5 +46,6 @@ function AdminAccountSettingsInputToJSONTyped(value, ignoreDiscriminator) {
45
46
  }
46
47
  return {
47
48
  'automaticPayouts': value['automaticPayouts'],
49
+ 'leaseToOwnKickBackPercentage': value['leaseToOwnKickBackPercentage'],
48
50
  };
49
51
  }
@@ -63,6 +63,12 @@ export interface IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFe
63
63
  * @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
64
64
  */
65
65
  billingInformation: BillingInformationDto | null;
66
+ /**
67
+ *
68
+ * @type {number}
69
+ * @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
70
+ */
71
+ leaseToOwnKickbackPercentage: number;
66
72
  /**
67
73
  *
68
74
  * @type {WithSettingsInner}
@@ -51,6 +51,8 @@ function instanceOfIntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWith
51
51
  return false;
52
52
  if (!('billingInformation' in value) || value['billingInformation'] === undefined)
53
53
  return false;
54
+ if (!('leaseToOwnKickbackPercentage' in value) || value['leaseToOwnKickbackPercentage'] === undefined)
55
+ return false;
54
56
  if (!('settings' in value) || value['settings'] === undefined)
55
57
  return false;
56
58
  if (!('notifications' in value) || value['notifications'] === undefined)
@@ -74,6 +76,7 @@ function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFla
74
76
  'onboarding': (0, AccountOnboardingDto_1.AccountOnboardingDtoFromJSON)(json['onboarding']),
75
77
  'payout': (0, AccountPayoutDto_1.AccountPayoutDtoFromJSON)(json['payout']),
76
78
  'billingInformation': (0, BillingInformationDto_1.BillingInformationDtoFromJSON)(json['billingInformation']),
79
+ 'leaseToOwnKickbackPercentage': json['leaseToOwnKickbackPercentage'],
77
80
  'settings': (0, WithSettingsInner_1.WithSettingsInnerFromJSON)(json['settings']),
78
81
  'notifications': (json['notifications'].map(AccountNotificationDto_1.AccountNotificationDtoFromJSON)),
79
82
  'enabledFeatures': json['enabledFeatures'],
@@ -95,6 +98,7 @@ function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFla
95
98
  'onboarding': (0, AccountOnboardingDto_1.AccountOnboardingDtoToJSON)(value['onboarding']),
96
99
  'payout': (0, AccountPayoutDto_1.AccountPayoutDtoToJSON)(value['payout']),
97
100
  'billingInformation': (0, BillingInformationDto_1.BillingInformationDtoToJSON)(value['billingInformation']),
101
+ 'leaseToOwnKickbackPercentage': value['leaseToOwnKickbackPercentage'],
98
102
  'settings': (0, WithSettingsInner_1.WithSettingsInnerToJSON)(value['settings']),
99
103
  'notifications': (value['notifications'].map(AccountNotificationDto_1.AccountNotificationDtoToJSON)),
100
104
  'enabledFeatures': value['enabledFeatures'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.212",
3
+ "version": "0.0.213",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -90,6 +90,12 @@ export interface AccountDto {
90
90
  * @memberof AccountDto
91
91
  */
92
92
  billingInformation: BillingInformationDto | null;
93
+ /**
94
+ *
95
+ * @type {number}
96
+ * @memberof AccountDto
97
+ */
98
+ leaseToOwnKickbackPercentage: number;
93
99
  }
94
100
 
95
101
  /**
@@ -103,6 +109,7 @@ export function instanceOfAccountDto(value: object): value is AccountDto {
103
109
  if (!('onboarding' in value) || value['onboarding'] === undefined) return false;
104
110
  if (!('payout' in value) || value['payout'] === undefined) return false;
105
111
  if (!('billingInformation' in value) || value['billingInformation'] === undefined) return false;
112
+ if (!('leaseToOwnKickbackPercentage' in value) || value['leaseToOwnKickbackPercentage'] === undefined) return false;
106
113
  return true;
107
114
  }
108
115
 
@@ -123,6 +130,7 @@ export function AccountDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean)
123
130
  'onboarding': AccountOnboardingDtoFromJSON(json['onboarding']),
124
131
  'payout': AccountPayoutDtoFromJSON(json['payout']),
125
132
  'billingInformation': BillingInformationDtoFromJSON(json['billingInformation']),
133
+ 'leaseToOwnKickbackPercentage': json['leaseToOwnKickbackPercentage'],
126
134
  };
127
135
  }
128
136
 
@@ -144,6 +152,7 @@ export function AccountDtoToJSONTyped(value?: AccountDto | null, ignoreDiscrimin
144
152
  'onboarding': AccountOnboardingDtoToJSON(value['onboarding']),
145
153
  'payout': AccountPayoutDtoToJSON(value['payout']),
146
154
  'billingInformation': BillingInformationDtoToJSON(value['billingInformation']),
155
+ 'leaseToOwnKickbackPercentage': value['leaseToOwnKickbackPercentage'],
147
156
  };
148
157
  }
149
158
 
@@ -25,6 +25,12 @@ export interface AdminAccountSettingsInput {
25
25
  * @memberof AdminAccountSettingsInput
26
26
  */
27
27
  automaticPayouts?: boolean;
28
+ /**
29
+ *
30
+ * @type {number}
31
+ * @memberof AdminAccountSettingsInput
32
+ */
33
+ leaseToOwnKickBackPercentage?: number;
28
34
  }
29
35
 
30
36
  /**
@@ -45,6 +51,7 @@ export function AdminAccountSettingsInputFromJSONTyped(json: any, ignoreDiscrimi
45
51
  return {
46
52
 
47
53
  'automaticPayouts': json['automaticPayouts'] == null ? undefined : json['automaticPayouts'],
54
+ 'leaseToOwnKickBackPercentage': json['leaseToOwnKickBackPercentage'] == null ? undefined : json['leaseToOwnKickBackPercentage'],
48
55
  };
49
56
  }
50
57
 
@@ -60,6 +67,7 @@ export function AdminAccountSettingsInputToJSONTyped(value?: AdminAccountSetting
60
67
  return {
61
68
 
62
69
  'automaticPayouts': value['automaticPayouts'],
70
+ 'leaseToOwnKickBackPercentage': value['leaseToOwnKickBackPercentage'],
63
71
  };
64
72
  }
65
73
 
@@ -104,6 +104,12 @@ export interface IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFe
104
104
  * @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
105
105
  */
106
106
  billingInformation: BillingInformationDto | null;
107
+ /**
108
+ *
109
+ * @type {number}
110
+ * @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
111
+ */
112
+ leaseToOwnKickbackPercentage: number;
107
113
  /**
108
114
  *
109
115
  * @type {WithSettingsInner}
@@ -147,6 +153,7 @@ export function instanceOfIntersectionAccountDtoWithSettingsDtoWithNotifications
147
153
  if (!('onboarding' in value) || value['onboarding'] === undefined) return false;
148
154
  if (!('payout' in value) || value['payout'] === undefined) return false;
149
155
  if (!('billingInformation' in value) || value['billingInformation'] === undefined) return false;
156
+ if (!('leaseToOwnKickbackPercentage' in value) || value['leaseToOwnKickbackPercentage'] === undefined) return false;
150
157
  if (!('settings' in value) || value['settings'] === undefined) return false;
151
158
  if (!('notifications' in value) || value['notifications'] === undefined) return false;
152
159
  if (!('enabledFeatures' in value) || value['enabledFeatures'] === undefined) return false;
@@ -170,6 +177,7 @@ export function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFea
170
177
  'onboarding': AccountOnboardingDtoFromJSON(json['onboarding']),
171
178
  'payout': AccountPayoutDtoFromJSON(json['payout']),
172
179
  'billingInformation': BillingInformationDtoFromJSON(json['billingInformation']),
180
+ 'leaseToOwnKickbackPercentage': json['leaseToOwnKickbackPercentage'],
173
181
  'settings': WithSettingsInnerFromJSON(json['settings']),
174
182
  'notifications': ((json['notifications'] as Array<any>).map(AccountNotificationDtoFromJSON)),
175
183
  'enabledFeatures': json['enabledFeatures'],
@@ -194,6 +202,7 @@ export function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFea
194
202
  'onboarding': AccountOnboardingDtoToJSON(value['onboarding']),
195
203
  'payout': AccountPayoutDtoToJSON(value['payout']),
196
204
  'billingInformation': BillingInformationDtoToJSON(value['billingInformation']),
205
+ 'leaseToOwnKickbackPercentage': value['leaseToOwnKickbackPercentage'],
197
206
  'settings': WithSettingsInnerToJSON(value['settings']),
198
207
  'notifications': ((value['notifications'] as Array<any>).map(AccountNotificationDtoToJSON)),
199
208
  'enabledFeatures': value['enabledFeatures'],