@randock/nameshift-api-client 0.0.309 → 0.0.310

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.
@@ -240,7 +240,6 @@ src/models/RentDto.ts
240
240
  src/models/RequestAccessTokenInput.ts
241
241
  src/models/SellerAccountReferralListItemDto.ts
242
242
  src/models/SellerAffiliateCommissionDto.ts
243
- src/models/SellerAffiliateCommissionReferralDto.ts
244
243
  src/models/SellerDomainTransferAuthCodeDto.ts
245
244
  src/models/SellerDomainTransferDomainDto.ts
246
245
  src/models/SellerDomainTransferDto.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.309
1
+ ## @randock/nameshift-api-client@0.0.310
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.309 --save
39
+ npm install @randock/nameshift-api-client@0.0.310 --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
- 645fd0a5a71f674f907c6b85429160f19959277a8565ff00a7aba1f216423bc681eaca2bcf2062ecf1eff2df2fee61ec
47
+ b0f298c0fb4a6ffe61c5a8d7b23876cacc5b2e0c09e54a4d60704f8844838ac0cfb400b05f92d0e11dd155ec40d19699
@@ -10,7 +10,6 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { MoneyDto } from './MoneyDto';
13
- import type { SellerAffiliateCommissionReferralDto } from './SellerAffiliateCommissionReferralDto';
14
13
  /**
15
14
  *
16
15
  * @export
@@ -54,11 +53,17 @@ export interface SellerAffiliateCommissionDto {
54
53
  */
55
54
  invoiceStatus: SellerAffiliateCommissionDtoInvoiceStatusEnum | null;
56
55
  /**
57
- * Referral account
58
- * @type {SellerAffiliateCommissionReferralDto}
56
+ *
57
+ * @type {string}
58
+ * @memberof SellerAffiliateCommissionDto
59
+ */
60
+ type: SellerAffiliateCommissionDtoTypeEnum;
61
+ /**
62
+ * Concept
63
+ * @type {string}
59
64
  * @memberof SellerAffiliateCommissionDto
60
65
  */
61
- referral: SellerAffiliateCommissionReferralDto;
66
+ concept: string;
62
67
  }
63
68
  /**
64
69
  * @export
@@ -79,6 +84,14 @@ export declare const SellerAffiliateCommissionDtoInvoiceStatusEnum: {
79
84
  readonly CANCELLED: "cancelled";
80
85
  };
81
86
  export type SellerAffiliateCommissionDtoInvoiceStatusEnum = typeof SellerAffiliateCommissionDtoInvoiceStatusEnum[keyof typeof SellerAffiliateCommissionDtoInvoiceStatusEnum];
87
+ /**
88
+ * @export
89
+ */
90
+ export declare const SellerAffiliateCommissionDtoTypeEnum: {
91
+ readonly DOMAIN: "domain";
92
+ readonly SELLER: "seller";
93
+ };
94
+ export type SellerAffiliateCommissionDtoTypeEnum = typeof SellerAffiliateCommissionDtoTypeEnum[keyof typeof SellerAffiliateCommissionDtoTypeEnum];
82
95
  /**
83
96
  * Check if a given object implements the SellerAffiliateCommissionDto interface.
84
97
  */
@@ -13,14 +13,13 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.SellerAffiliateCommissionDtoInvoiceStatusEnum = exports.SellerAffiliateCommissionDtoStatusEnum = void 0;
16
+ exports.SellerAffiliateCommissionDtoTypeEnum = exports.SellerAffiliateCommissionDtoInvoiceStatusEnum = exports.SellerAffiliateCommissionDtoStatusEnum = void 0;
17
17
  exports.instanceOfSellerAffiliateCommissionDto = instanceOfSellerAffiliateCommissionDto;
18
18
  exports.SellerAffiliateCommissionDtoFromJSON = SellerAffiliateCommissionDtoFromJSON;
19
19
  exports.SellerAffiliateCommissionDtoFromJSONTyped = SellerAffiliateCommissionDtoFromJSONTyped;
20
20
  exports.SellerAffiliateCommissionDtoToJSON = SellerAffiliateCommissionDtoToJSON;
21
21
  exports.SellerAffiliateCommissionDtoToJSONTyped = SellerAffiliateCommissionDtoToJSONTyped;
22
22
  var MoneyDto_1 = require("./MoneyDto");
23
- var SellerAffiliateCommissionReferralDto_1 = require("./SellerAffiliateCommissionReferralDto");
24
23
  /**
25
24
  * @export
26
25
  */
@@ -38,6 +37,13 @@ exports.SellerAffiliateCommissionDtoInvoiceStatusEnum = {
38
37
  PAID: 'paid',
39
38
  CANCELLED: 'cancelled'
40
39
  };
40
+ /**
41
+ * @export
42
+ */
43
+ exports.SellerAffiliateCommissionDtoTypeEnum = {
44
+ DOMAIN: 'domain',
45
+ SELLER: 'seller'
46
+ };
41
47
  /**
42
48
  * Check if a given object implements the SellerAffiliateCommissionDto interface.
43
49
  */
@@ -54,7 +60,9 @@ function instanceOfSellerAffiliateCommissionDto(value) {
54
60
  return false;
55
61
  if (!('invoiceStatus' in value) || value['invoiceStatus'] === undefined)
56
62
  return false;
57
- if (!('referral' in value) || value['referral'] === undefined)
63
+ if (!('type' in value) || value['type'] === undefined)
64
+ return false;
65
+ if (!('concept' in value) || value['concept'] === undefined)
58
66
  return false;
59
67
  return true;
60
68
  }
@@ -72,7 +80,8 @@ function SellerAffiliateCommissionDtoFromJSONTyped(json, ignoreDiscriminator) {
72
80
  'date': (new Date(json['date'])),
73
81
  'status': json['status'],
74
82
  'invoiceStatus': json['invoiceStatus'],
75
- 'referral': (0, SellerAffiliateCommissionReferralDto_1.SellerAffiliateCommissionReferralDtoFromJSON)(json['referral']),
83
+ 'type': json['type'],
84
+ 'concept': json['concept'],
76
85
  };
77
86
  }
78
87
  function SellerAffiliateCommissionDtoToJSON(json) {
@@ -90,6 +99,7 @@ function SellerAffiliateCommissionDtoToJSONTyped(value, ignoreDiscriminator) {
90
99
  'date': ((value['date']).toISOString()),
91
100
  'status': value['status'],
92
101
  'invoiceStatus': value['invoiceStatus'],
93
- 'referral': (0, SellerAffiliateCommissionReferralDto_1.SellerAffiliateCommissionReferralDtoToJSON)(value['referral']),
102
+ 'type': value['type'],
103
+ 'concept': value['concept'],
94
104
  };
95
105
  }
@@ -211,7 +211,6 @@ export * from './RentDto';
211
211
  export * from './RequestAccessTokenInput';
212
212
  export * from './SellerAccountReferralListItemDto';
213
213
  export * from './SellerAffiliateCommissionDto';
214
- export * from './SellerAffiliateCommissionReferralDto';
215
214
  export * from './SellerDomainTransferAuthCodeDto';
216
215
  export * from './SellerDomainTransferDomainDto';
217
216
  export * from './SellerDomainTransferDto';
@@ -229,7 +229,6 @@ __exportStar(require("./RentDto"), exports);
229
229
  __exportStar(require("./RequestAccessTokenInput"), exports);
230
230
  __exportStar(require("./SellerAccountReferralListItemDto"), exports);
231
231
  __exportStar(require("./SellerAffiliateCommissionDto"), exports);
232
- __exportStar(require("./SellerAffiliateCommissionReferralDto"), exports);
233
232
  __exportStar(require("./SellerDomainTransferAuthCodeDto"), exports);
234
233
  __exportStar(require("./SellerDomainTransferDomainDto"), exports);
235
234
  __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.309",
3
+ "version": "0.0.310",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -20,13 +20,6 @@ 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';
30
23
 
31
24
  /**
32
25
  *
@@ -71,11 +64,17 @@ export interface SellerAffiliateCommissionDto {
71
64
  */
72
65
  invoiceStatus: SellerAffiliateCommissionDtoInvoiceStatusEnum | null;
73
66
  /**
74
- * Referral account
75
- * @type {SellerAffiliateCommissionReferralDto}
67
+ *
68
+ * @type {string}
69
+ * @memberof SellerAffiliateCommissionDto
70
+ */
71
+ type: SellerAffiliateCommissionDtoTypeEnum;
72
+ /**
73
+ * Concept
74
+ * @type {string}
76
75
  * @memberof SellerAffiliateCommissionDto
77
76
  */
78
- referral: SellerAffiliateCommissionReferralDto;
77
+ concept: string;
79
78
  }
80
79
 
81
80
 
@@ -100,6 +99,15 @@ export const SellerAffiliateCommissionDtoInvoiceStatusEnum = {
100
99
  } as const;
101
100
  export type SellerAffiliateCommissionDtoInvoiceStatusEnum = typeof SellerAffiliateCommissionDtoInvoiceStatusEnum[keyof typeof SellerAffiliateCommissionDtoInvoiceStatusEnum];
102
101
 
102
+ /**
103
+ * @export
104
+ */
105
+ export const SellerAffiliateCommissionDtoTypeEnum = {
106
+ DOMAIN: 'domain',
107
+ SELLER: 'seller'
108
+ } as const;
109
+ export type SellerAffiliateCommissionDtoTypeEnum = typeof SellerAffiliateCommissionDtoTypeEnum[keyof typeof SellerAffiliateCommissionDtoTypeEnum];
110
+
103
111
 
104
112
  /**
105
113
  * Check if a given object implements the SellerAffiliateCommissionDto interface.
@@ -111,7 +119,8 @@ export function instanceOfSellerAffiliateCommissionDto(value: object): value is
111
119
  if (!('date' in value) || value['date'] === undefined) return false;
112
120
  if (!('status' in value) || value['status'] === undefined) return false;
113
121
  if (!('invoiceStatus' in value) || value['invoiceStatus'] === undefined) return false;
114
- if (!('referral' in value) || value['referral'] === undefined) return false;
122
+ if (!('type' in value) || value['type'] === undefined) return false;
123
+ if (!('concept' in value) || value['concept'] === undefined) return false;
115
124
  return true;
116
125
  }
117
126
 
@@ -131,7 +140,8 @@ export function SellerAffiliateCommissionDtoFromJSONTyped(json: any, ignoreDiscr
131
140
  'date': (new Date(json['date'])),
132
141
  'status': json['status'],
133
142
  'invoiceStatus': json['invoiceStatus'],
134
- 'referral': SellerAffiliateCommissionReferralDtoFromJSON(json['referral']),
143
+ 'type': json['type'],
144
+ 'concept': json['concept'],
135
145
  };
136
146
  }
137
147
 
@@ -152,7 +162,8 @@ export function SellerAffiliateCommissionDtoToJSONTyped(value?: SellerAffiliateC
152
162
  'date': ((value['date']).toISOString()),
153
163
  'status': value['status'],
154
164
  'invoiceStatus': value['invoiceStatus'],
155
- 'referral': SellerAffiliateCommissionReferralDtoToJSON(value['referral']),
165
+ 'type': value['type'],
166
+ 'concept': value['concept'],
156
167
  };
157
168
  }
158
169
 
@@ -213,7 +213,6 @@ export * from './RentDto';
213
213
  export * from './RequestAccessTokenInput';
214
214
  export * from './SellerAccountReferralListItemDto';
215
215
  export * from './SellerAffiliateCommissionDto';
216
- export * from './SellerAffiliateCommissionReferralDto';
217
216
  export * from './SellerDomainTransferAuthCodeDto';
218
217
  export * from './SellerDomainTransferDomainDto';
219
218
  export * from './SellerDomainTransferDto';
@@ -1,32 +0,0 @@
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;
@@ -1,51 +0,0 @@
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
- }
@@ -1,66 +0,0 @@
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
-