@randock/nameshift-api-client 0.0.296 → 0.0.298

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.
@@ -231,6 +231,7 @@ src/models/RentDto.ts
231
231
  src/models/RequestAccessTokenInput.ts
232
232
  src/models/SellerAccountReferralListItemDto.ts
233
233
  src/models/SellerAffiliateCommissionDto.ts
234
+ src/models/SellerAffiliateCommissionReferralDto.ts
234
235
  src/models/SellerDomainTransferAuthCodeDto.ts
235
236
  src/models/SellerDomainTransferDomainDto.ts
236
237
  src/models/SellerDomainTransferDto.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.296
1
+ ## @randock/nameshift-api-client@0.0.298
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.296 --save
39
+ npm install @randock/nameshift-api-client@0.0.298 --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
- 181442239f51cabd1e784d25826c73d97c01462f98edd705b41f5265d77bb2fd9b1b4a60b3ce02dc5547b94179afc9ce
47
+ 67f4a120a90a852bf5d6d53b9f6a9d39ec9dd690a2bf7af55c456de76f4c26eb743a90445a4fcac111c7db40dcdd0ca4
@@ -35,7 +35,7 @@ export interface InvoiceDto {
35
35
  * @type {InvoiceDomainDto}
36
36
  * @memberof InvoiceDto
37
37
  */
38
- domain: InvoiceDomainDto;
38
+ domain: InvoiceDomainDto | null;
39
39
  /**
40
40
  *
41
41
  * @type {Date}
@@ -78,6 +78,12 @@ export interface InvoiceDto {
78
78
  * @memberof InvoiceDto
79
79
  */
80
80
  hasChildren: boolean;
81
+ /**
82
+ *
83
+ * @type {boolean}
84
+ * @memberof InvoiceDto
85
+ */
86
+ isAffiliateCommission: boolean;
81
87
  }
82
88
  /**
83
89
  * @export
@@ -62,6 +62,8 @@ function instanceOfInvoiceDto(value) {
62
62
  return false;
63
63
  if (!('hasChildren' in value) || value['hasChildren'] === undefined)
64
64
  return false;
65
+ if (!('isAffiliateCommission' in value) || value['isAffiliateCommission'] === undefined)
66
+ return false;
65
67
  return true;
66
68
  }
67
69
  function InvoiceDtoFromJSON(json) {
@@ -82,6 +84,7 @@ function InvoiceDtoFromJSONTyped(json, ignoreDiscriminator) {
82
84
  'sellerAccount': (0, InvoiceSellerAccountDto_1.InvoiceSellerAccountDtoFromJSON)(json['sellerAccount']),
83
85
  'parent': json['parent'],
84
86
  'hasChildren': json['hasChildren'],
87
+ 'isAffiliateCommission': json['isAffiliateCommission'],
85
88
  };
86
89
  }
87
90
  function InvoiceDtoToJSON(json) {
@@ -103,5 +106,6 @@ function InvoiceDtoToJSONTyped(value, ignoreDiscriminator) {
103
106
  'sellerAccount': (0, InvoiceSellerAccountDto_1.InvoiceSellerAccountDtoToJSON)(value['sellerAccount']),
104
107
  'parent': value['parent'],
105
108
  'hasChildren': value['hasChildren'],
109
+ 'isAffiliateCommission': value['isAffiliateCommission'],
106
110
  };
107
111
  }
@@ -33,12 +33,6 @@ export interface SellerAccountReferralListItemDto {
33
33
  * @memberof SellerAccountReferralListItemDto
34
34
  */
35
35
  name: string;
36
- /**
37
- * The email address of the referral account owner
38
- * @type {string}
39
- * @memberof SellerAccountReferralListItemDto
40
- */
41
- email: string;
42
36
  /**
43
37
  * The status of the referral account
44
38
  * @type {string}
@@ -37,8 +37,6 @@ function instanceOfSellerAccountReferralListItemDto(value) {
37
37
  return false;
38
38
  if (!('name' in value) || value['name'] === undefined)
39
39
  return false;
40
- if (!('email' in value) || value['email'] === undefined)
41
- return false;
42
40
  if (!('status' in value) || value['status'] === undefined)
43
41
  return false;
44
42
  if (!('createdAt' in value) || value['createdAt'] === undefined)
@@ -56,7 +54,6 @@ function SellerAccountReferralListItemDtoFromJSONTyped(json, ignoreDiscriminator
56
54
  'id': json['id'],
57
55
  'identifier': json['identifier'],
58
56
  'name': json['name'],
59
- 'email': json['email'],
60
57
  'status': json['status'],
61
58
  'createdAt': (new Date(json['createdAt'])),
62
59
  };
@@ -73,7 +70,6 @@ function SellerAccountReferralListItemDtoToJSONTyped(value, ignoreDiscriminator)
73
70
  'id': value['id'],
74
71
  'identifier': value['identifier'],
75
72
  'name': value['name'],
76
- 'email': value['email'],
77
73
  'status': value['status'],
78
74
  'createdAt': ((value['createdAt']).toISOString()),
79
75
  };
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { MoneyDto } from './MoneyDto';
13
+ import type { SellerAffiliateCommissionReferralDto } from './SellerAffiliateCommissionReferralDto';
13
14
  /**
14
15
  *
15
16
  * @export
@@ -39,20 +40,26 @@ export interface SellerAffiliateCommissionDto {
39
40
  * @type {Date}
40
41
  * @memberof SellerAffiliateCommissionDto
41
42
  */
42
- createdAt: Date;
43
+ date: Date;
43
44
  /**
44
45
  *
45
46
  * @type {string}
46
47
  * @memberof SellerAffiliateCommissionDto
47
48
  */
48
49
  status: SellerAffiliateCommissionDtoStatusEnum;
50
+ /**
51
+ * Referral account
52
+ * @type {SellerAffiliateCommissionReferralDto}
53
+ * @memberof SellerAffiliateCommissionDto
54
+ */
55
+ referral: SellerAffiliateCommissionReferralDto;
49
56
  }
50
57
  /**
51
58
  * @export
52
59
  */
53
60
  export declare const SellerAffiliateCommissionDtoStatusEnum: {
54
61
  readonly PENDING: "pending";
55
- readonly PAID: "paid";
62
+ readonly INVOICED: "invoiced";
56
63
  readonly CANCELLED: "cancelled";
57
64
  };
58
65
  export type SellerAffiliateCommissionDtoStatusEnum = typeof SellerAffiliateCommissionDtoStatusEnum[keyof typeof SellerAffiliateCommissionDtoStatusEnum];
@@ -20,12 +20,13 @@ exports.SellerAffiliateCommissionDtoFromJSONTyped = SellerAffiliateCommissionDto
20
20
  exports.SellerAffiliateCommissionDtoToJSON = SellerAffiliateCommissionDtoToJSON;
21
21
  exports.SellerAffiliateCommissionDtoToJSONTyped = SellerAffiliateCommissionDtoToJSONTyped;
22
22
  var MoneyDto_1 = require("./MoneyDto");
23
+ var SellerAffiliateCommissionReferralDto_1 = require("./SellerAffiliateCommissionReferralDto");
23
24
  /**
24
25
  * @export
25
26
  */
26
27
  exports.SellerAffiliateCommissionDtoStatusEnum = {
27
28
  PENDING: 'pending',
28
- PAID: 'paid',
29
+ INVOICED: 'invoiced',
29
30
  CANCELLED: 'cancelled'
30
31
  };
31
32
  /**
@@ -38,10 +39,12 @@ function instanceOfSellerAffiliateCommissionDto(value) {
38
39
  return false;
39
40
  if (!('commissionAmount' in value) || value['commissionAmount'] === undefined)
40
41
  return false;
41
- if (!('createdAt' in value) || value['createdAt'] === undefined)
42
+ if (!('date' in value) || value['date'] === undefined)
42
43
  return false;
43
44
  if (!('status' in value) || value['status'] === undefined)
44
45
  return false;
46
+ if (!('referral' in value) || value['referral'] === undefined)
47
+ return false;
45
48
  return true;
46
49
  }
47
50
  function SellerAffiliateCommissionDtoFromJSON(json) {
@@ -55,8 +58,9 @@ function SellerAffiliateCommissionDtoFromJSONTyped(json, ignoreDiscriminator) {
55
58
  'id': json['id'],
56
59
  'commissionPercentage': json['commissionPercentage'],
57
60
  'commissionAmount': (0, MoneyDto_1.MoneyDtoFromJSON)(json['commissionAmount']),
58
- 'createdAt': (new Date(json['createdAt'])),
61
+ 'date': (new Date(json['date'])),
59
62
  'status': json['status'],
63
+ 'referral': (0, SellerAffiliateCommissionReferralDto_1.SellerAffiliateCommissionReferralDtoFromJSON)(json['referral']),
60
64
  };
61
65
  }
62
66
  function SellerAffiliateCommissionDtoToJSON(json) {
@@ -71,7 +75,8 @@ function SellerAffiliateCommissionDtoToJSONTyped(value, ignoreDiscriminator) {
71
75
  'id': value['id'],
72
76
  'commissionPercentage': value['commissionPercentage'],
73
77
  'commissionAmount': (0, MoneyDto_1.MoneyDtoToJSON)(value['commissionAmount']),
74
- 'createdAt': ((value['createdAt']).toISOString()),
78
+ 'date': ((value['date']).toISOString()),
75
79
  'status': value['status'],
80
+ 'referral': (0, SellerAffiliateCommissionReferralDto_1.SellerAffiliateCommissionReferralDtoToJSON)(value['referral']),
76
81
  };
77
82
  }
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift API
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface SellerAffiliateCommissionReferralDto
16
+ */
17
+ export interface SellerAffiliateCommissionReferralDto {
18
+ /**
19
+ * Referral account name
20
+ * @type {string}
21
+ * @memberof SellerAffiliateCommissionReferralDto
22
+ */
23
+ name: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the SellerAffiliateCommissionReferralDto interface.
27
+ */
28
+ export declare function instanceOfSellerAffiliateCommissionReferralDto(value: object): value is SellerAffiliateCommissionReferralDto;
29
+ export declare function SellerAffiliateCommissionReferralDtoFromJSON(json: any): SellerAffiliateCommissionReferralDto;
30
+ export declare function SellerAffiliateCommissionReferralDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): SellerAffiliateCommissionReferralDto;
31
+ export declare function SellerAffiliateCommissionReferralDtoToJSON(json: any): SellerAffiliateCommissionReferralDto;
32
+ export declare function SellerAffiliateCommissionReferralDtoToJSONTyped(value?: SellerAffiliateCommissionReferralDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift API
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfSellerAffiliateCommissionReferralDto = instanceOfSellerAffiliateCommissionReferralDto;
17
+ exports.SellerAffiliateCommissionReferralDtoFromJSON = SellerAffiliateCommissionReferralDtoFromJSON;
18
+ exports.SellerAffiliateCommissionReferralDtoFromJSONTyped = SellerAffiliateCommissionReferralDtoFromJSONTyped;
19
+ exports.SellerAffiliateCommissionReferralDtoToJSON = SellerAffiliateCommissionReferralDtoToJSON;
20
+ exports.SellerAffiliateCommissionReferralDtoToJSONTyped = SellerAffiliateCommissionReferralDtoToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the SellerAffiliateCommissionReferralDto interface.
23
+ */
24
+ function instanceOfSellerAffiliateCommissionReferralDto(value) {
25
+ if (!('name' in value) || value['name'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function SellerAffiliateCommissionReferralDtoFromJSON(json) {
30
+ return SellerAffiliateCommissionReferralDtoFromJSONTyped(json, false);
31
+ }
32
+ function SellerAffiliateCommissionReferralDtoFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'name': json['name'],
38
+ };
39
+ }
40
+ function SellerAffiliateCommissionReferralDtoToJSON(json) {
41
+ return SellerAffiliateCommissionReferralDtoToJSONTyped(json, false);
42
+ }
43
+ function SellerAffiliateCommissionReferralDtoToJSONTyped(value, ignoreDiscriminator) {
44
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'name': value['name'],
50
+ };
51
+ }
@@ -203,6 +203,7 @@ export * from './RentDto';
203
203
  export * from './RequestAccessTokenInput';
204
204
  export * from './SellerAccountReferralListItemDto';
205
205
  export * from './SellerAffiliateCommissionDto';
206
+ export * from './SellerAffiliateCommissionReferralDto';
206
207
  export * from './SellerDomainTransferAuthCodeDto';
207
208
  export * from './SellerDomainTransferDomainDto';
208
209
  export * from './SellerDomainTransferDto';
@@ -221,6 +221,7 @@ __exportStar(require("./RentDto"), exports);
221
221
  __exportStar(require("./RequestAccessTokenInput"), exports);
222
222
  __exportStar(require("./SellerAccountReferralListItemDto"), exports);
223
223
  __exportStar(require("./SellerAffiliateCommissionDto"), exports);
224
+ __exportStar(require("./SellerAffiliateCommissionReferralDto"), exports);
224
225
  __exportStar(require("./SellerDomainTransferAuthCodeDto"), exports);
225
226
  __exportStar(require("./SellerDomainTransferDomainDto"), exports);
226
227
  __exportStar(require("./SellerDomainTransferDto"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.296",
3
+ "version": "0.0.298",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -58,7 +58,7 @@ export interface InvoiceDto {
58
58
  * @type {InvoiceDomainDto}
59
59
  * @memberof InvoiceDto
60
60
  */
61
- domain: InvoiceDomainDto;
61
+ domain: InvoiceDomainDto | null;
62
62
  /**
63
63
  *
64
64
  * @type {Date}
@@ -101,6 +101,12 @@ export interface InvoiceDto {
101
101
  * @memberof InvoiceDto
102
102
  */
103
103
  hasChildren: boolean;
104
+ /**
105
+ *
106
+ * @type {boolean}
107
+ * @memberof InvoiceDto
108
+ */
109
+ isAffiliateCommission: boolean;
104
110
  }
105
111
 
106
112
 
@@ -139,6 +145,7 @@ export function instanceOfInvoiceDto(value: object): value is InvoiceDto {
139
145
  if (!('sellerAccount' in value) || value['sellerAccount'] === undefined) return false;
140
146
  if (!('parent' in value) || value['parent'] === undefined) return false;
141
147
  if (!('hasChildren' in value) || value['hasChildren'] === undefined) return false;
148
+ if (!('isAffiliateCommission' in value) || value['isAffiliateCommission'] === undefined) return false;
142
149
  return true;
143
150
  }
144
151
 
@@ -162,6 +169,7 @@ export function InvoiceDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean)
162
169
  'sellerAccount': InvoiceSellerAccountDtoFromJSON(json['sellerAccount']),
163
170
  'parent': json['parent'],
164
171
  'hasChildren': json['hasChildren'],
172
+ 'isAffiliateCommission': json['isAffiliateCommission'],
165
173
  };
166
174
  }
167
175
 
@@ -186,6 +194,7 @@ export function InvoiceDtoToJSONTyped(value?: InvoiceDto | null, ignoreDiscrimin
186
194
  'sellerAccount': InvoiceSellerAccountDtoToJSON(value['sellerAccount']),
187
195
  'parent': value['parent'],
188
196
  'hasChildren': value['hasChildren'],
197
+ 'isAffiliateCommission': value['isAffiliateCommission'],
189
198
  };
190
199
  }
191
200
 
@@ -37,12 +37,6 @@ export interface SellerAccountReferralListItemDto {
37
37
  * @memberof SellerAccountReferralListItemDto
38
38
  */
39
39
  name: string;
40
- /**
41
- * The email address of the referral account owner
42
- * @type {string}
43
- * @memberof SellerAccountReferralListItemDto
44
- */
45
- email: string;
46
40
  /**
47
41
  * The status of the referral account
48
42
  * @type {string}
@@ -76,7 +70,6 @@ export function instanceOfSellerAccountReferralListItemDto(value: object): value
76
70
  if (!('id' in value) || value['id'] === undefined) return false;
77
71
  if (!('identifier' in value) || value['identifier'] === undefined) return false;
78
72
  if (!('name' in value) || value['name'] === undefined) return false;
79
- if (!('email' in value) || value['email'] === undefined) return false;
80
73
  if (!('status' in value) || value['status'] === undefined) return false;
81
74
  if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
82
75
  return true;
@@ -95,7 +88,6 @@ export function SellerAccountReferralListItemDtoFromJSONTyped(json: any, ignoreD
95
88
  'id': json['id'],
96
89
  'identifier': json['identifier'],
97
90
  'name': json['name'],
98
- 'email': json['email'],
99
91
  'status': json['status'],
100
92
  'createdAt': (new Date(json['createdAt'])),
101
93
  };
@@ -115,7 +107,6 @@ export function SellerAccountReferralListItemDtoToJSONTyped(value?: SellerAccoun
115
107
  'id': value['id'],
116
108
  'identifier': value['identifier'],
117
109
  'name': value['name'],
118
- 'email': value['email'],
119
110
  'status': value['status'],
120
111
  'createdAt': ((value['createdAt']).toISOString()),
121
112
  };
@@ -20,6 +20,13 @@ import {
20
20
  MoneyDtoToJSON,
21
21
  MoneyDtoToJSONTyped,
22
22
  } from './MoneyDto';
23
+ import type { SellerAffiliateCommissionReferralDto } from './SellerAffiliateCommissionReferralDto';
24
+ import {
25
+ SellerAffiliateCommissionReferralDtoFromJSON,
26
+ SellerAffiliateCommissionReferralDtoFromJSONTyped,
27
+ SellerAffiliateCommissionReferralDtoToJSON,
28
+ SellerAffiliateCommissionReferralDtoToJSONTyped,
29
+ } from './SellerAffiliateCommissionReferralDto';
23
30
 
24
31
  /**
25
32
  *
@@ -50,13 +57,19 @@ export interface SellerAffiliateCommissionDto {
50
57
  * @type {Date}
51
58
  * @memberof SellerAffiliateCommissionDto
52
59
  */
53
- createdAt: Date;
60
+ date: Date;
54
61
  /**
55
62
  *
56
63
  * @type {string}
57
64
  * @memberof SellerAffiliateCommissionDto
58
65
  */
59
66
  status: SellerAffiliateCommissionDtoStatusEnum;
67
+ /**
68
+ * Referral account
69
+ * @type {SellerAffiliateCommissionReferralDto}
70
+ * @memberof SellerAffiliateCommissionDto
71
+ */
72
+ referral: SellerAffiliateCommissionReferralDto;
60
73
  }
61
74
 
62
75
 
@@ -65,7 +78,7 @@ export interface SellerAffiliateCommissionDto {
65
78
  */
66
79
  export const SellerAffiliateCommissionDtoStatusEnum = {
67
80
  PENDING: 'pending',
68
- PAID: 'paid',
81
+ INVOICED: 'invoiced',
69
82
  CANCELLED: 'cancelled'
70
83
  } as const;
71
84
  export type SellerAffiliateCommissionDtoStatusEnum = typeof SellerAffiliateCommissionDtoStatusEnum[keyof typeof SellerAffiliateCommissionDtoStatusEnum];
@@ -78,8 +91,9 @@ export function instanceOfSellerAffiliateCommissionDto(value: object): value is
78
91
  if (!('id' in value) || value['id'] === undefined) return false;
79
92
  if (!('commissionPercentage' in value) || value['commissionPercentage'] === undefined) return false;
80
93
  if (!('commissionAmount' in value) || value['commissionAmount'] === undefined) return false;
81
- if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
94
+ if (!('date' in value) || value['date'] === undefined) return false;
82
95
  if (!('status' in value) || value['status'] === undefined) return false;
96
+ if (!('referral' in value) || value['referral'] === undefined) return false;
83
97
  return true;
84
98
  }
85
99
 
@@ -96,8 +110,9 @@ export function SellerAffiliateCommissionDtoFromJSONTyped(json: any, ignoreDiscr
96
110
  'id': json['id'],
97
111
  'commissionPercentage': json['commissionPercentage'],
98
112
  'commissionAmount': MoneyDtoFromJSON(json['commissionAmount']),
99
- 'createdAt': (new Date(json['createdAt'])),
113
+ 'date': (new Date(json['date'])),
100
114
  'status': json['status'],
115
+ 'referral': SellerAffiliateCommissionReferralDtoFromJSON(json['referral']),
101
116
  };
102
117
  }
103
118
 
@@ -115,8 +130,9 @@ export function SellerAffiliateCommissionDtoToJSONTyped(value?: SellerAffiliateC
115
130
  'id': value['id'],
116
131
  'commissionPercentage': value['commissionPercentage'],
117
132
  'commissionAmount': MoneyDtoToJSON(value['commissionAmount']),
118
- 'createdAt': ((value['createdAt']).toISOString()),
133
+ 'date': ((value['date']).toISOString()),
119
134
  'status': value['status'],
135
+ 'referral': SellerAffiliateCommissionReferralDtoToJSON(value['referral']),
120
136
  };
121
137
  }
122
138
 
@@ -0,0 +1,66 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * Nameshift API
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface SellerAffiliateCommissionReferralDto
20
+ */
21
+ export interface SellerAffiliateCommissionReferralDto {
22
+ /**
23
+ * Referral account name
24
+ * @type {string}
25
+ * @memberof SellerAffiliateCommissionReferralDto
26
+ */
27
+ name: string;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the SellerAffiliateCommissionReferralDto interface.
32
+ */
33
+ export function instanceOfSellerAffiliateCommissionReferralDto(value: object): value is SellerAffiliateCommissionReferralDto {
34
+ if (!('name' in value) || value['name'] === undefined) return false;
35
+ return true;
36
+ }
37
+
38
+ export function SellerAffiliateCommissionReferralDtoFromJSON(json: any): SellerAffiliateCommissionReferralDto {
39
+ return SellerAffiliateCommissionReferralDtoFromJSONTyped(json, false);
40
+ }
41
+
42
+ export function SellerAffiliateCommissionReferralDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): SellerAffiliateCommissionReferralDto {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+
48
+ 'name': json['name'],
49
+ };
50
+ }
51
+
52
+ export function SellerAffiliateCommissionReferralDtoToJSON(json: any): SellerAffiliateCommissionReferralDto {
53
+ return SellerAffiliateCommissionReferralDtoToJSONTyped(json, false);
54
+ }
55
+
56
+ export function SellerAffiliateCommissionReferralDtoToJSONTyped(value?: SellerAffiliateCommissionReferralDto | null, ignoreDiscriminator: boolean = false): any {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+
61
+ return {
62
+
63
+ 'name': value['name'],
64
+ };
65
+ }
66
+
@@ -205,6 +205,7 @@ export * from './RentDto';
205
205
  export * from './RequestAccessTokenInput';
206
206
  export * from './SellerAccountReferralListItemDto';
207
207
  export * from './SellerAffiliateCommissionDto';
208
+ export * from './SellerAffiliateCommissionReferralDto';
208
209
  export * from './SellerDomainTransferAuthCodeDto';
209
210
  export * from './SellerDomainTransferDomainDto';
210
211
  export * from './SellerDomainTransferDto';