@randock/nameshift-api-client 0.0.86 → 0.0.88

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.
@@ -24,6 +24,7 @@ src/models/AccountDto.ts
24
24
  src/models/AccountFinancialInput.ts
25
25
  src/models/AccountSettingsInput.ts
26
26
  src/models/AdminGetAllDomainTransfers200Response.ts
27
+ src/models/BadRequestException.ts
27
28
  src/models/BatchUpdateDomainsInput.ts
28
29
  src/models/BuyerDomainTransferAuthCodeDto.ts
29
30
  src/models/BuyerDomainTransferListItemDomainDto.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.86
1
+ ## @randock/nameshift-api-client@0.0.88
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.86 --save
39
+ npm install @randock/nameshift-api-client@0.0.88 --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
- ee5d38758bcf794796f93d41748d5ec86a720429047cffaba6ba039eea2241864027b07b490fa3bc89cd68d5a64c03c2
47
+ 8f265e60e2e63b4784ceffb732de6776bbaf850b4a68cec9c0ad967db3f6e2d1f8465a32045ba07ba7e2cb43783712ae
@@ -33,6 +33,18 @@ export interface AccountDto {
33
33
  * @memberof AccountDto
34
34
  */
35
35
  name: string;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof AccountDto
40
+ */
41
+ activeDomainTransfersNumber: number;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof AccountDto
46
+ */
47
+ activeLeadsNumber: number;
36
48
  }
37
49
  /**
38
50
  * Check if a given object implements the AccountDto interface.
@@ -27,6 +27,10 @@ function instanceOfAccountDto(value) {
27
27
  return false;
28
28
  if (!('name' in value) || value['name'] === undefined)
29
29
  return false;
30
+ if (!('activeDomainTransfersNumber' in value) || value['activeDomainTransfersNumber'] === undefined)
31
+ return false;
32
+ if (!('activeLeadsNumber' in value) || value['activeLeadsNumber'] === undefined)
33
+ return false;
30
34
  return true;
31
35
  }
32
36
  function AccountDtoFromJSON(json) {
@@ -40,6 +44,8 @@ function AccountDtoFromJSONTyped(json, ignoreDiscriminator) {
40
44
  'id': json['id'],
41
45
  'identifier': json['identifier'],
42
46
  'name': json['name'],
47
+ 'activeDomainTransfersNumber': json['activeDomainTransfersNumber'],
48
+ 'activeLeadsNumber': json['activeLeadsNumber'],
43
49
  };
44
50
  }
45
51
  function AccountDtoToJSON(value) {
@@ -50,5 +56,7 @@ function AccountDtoToJSON(value) {
50
56
  'id': value['id'],
51
57
  'identifier': value['identifier'],
52
58
  'name': value['name'],
59
+ 'activeDomainTransfersNumber': value['activeDomainTransfersNumber'],
60
+ 'activeLeadsNumber': value['activeLeadsNumber'],
53
61
  };
54
62
  }
@@ -0,0 +1,49 @@
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 BadRequestException
16
+ */
17
+ export interface BadRequestException {
18
+ /**
19
+ * Exception name
20
+ * @type {string}
21
+ * @memberof BadRequestException
22
+ */
23
+ name: string;
24
+ /**
25
+ * http status code
26
+ * @type {number}
27
+ * @memberof BadRequestException
28
+ */
29
+ statusCode: number;
30
+ /**
31
+ * error message
32
+ * @type {string}
33
+ * @memberof BadRequestException
34
+ */
35
+ message: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof BadRequestException
40
+ */
41
+ code: string;
42
+ }
43
+ /**
44
+ * Check if a given object implements the BadRequestException interface.
45
+ */
46
+ export declare function instanceOfBadRequestException(value: object): value is BadRequestException;
47
+ export declare function BadRequestExceptionFromJSON(json: any): BadRequestException;
48
+ export declare function BadRequestExceptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): BadRequestException;
49
+ export declare function BadRequestExceptionToJSON(value?: BadRequestException | null): any;
@@ -0,0 +1,58 @@
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.instanceOfBadRequestException = instanceOfBadRequestException;
17
+ exports.BadRequestExceptionFromJSON = BadRequestExceptionFromJSON;
18
+ exports.BadRequestExceptionFromJSONTyped = BadRequestExceptionFromJSONTyped;
19
+ exports.BadRequestExceptionToJSON = BadRequestExceptionToJSON;
20
+ /**
21
+ * Check if a given object implements the BadRequestException interface.
22
+ */
23
+ function instanceOfBadRequestException(value) {
24
+ if (!('name' in value) || value['name'] === undefined)
25
+ return false;
26
+ if (!('statusCode' in value) || value['statusCode'] === undefined)
27
+ return false;
28
+ if (!('message' in value) || value['message'] === undefined)
29
+ return false;
30
+ if (!('code' in value) || value['code'] === undefined)
31
+ return false;
32
+ return true;
33
+ }
34
+ function BadRequestExceptionFromJSON(json) {
35
+ return BadRequestExceptionFromJSONTyped(json, false);
36
+ }
37
+ function BadRequestExceptionFromJSONTyped(json, ignoreDiscriminator) {
38
+ if (json == null) {
39
+ return json;
40
+ }
41
+ return {
42
+ 'name': json['name'],
43
+ 'statusCode': json['statusCode'],
44
+ 'message': json['message'],
45
+ 'code': json['code'],
46
+ };
47
+ }
48
+ function BadRequestExceptionToJSON(value) {
49
+ if (value == null) {
50
+ return value;
51
+ }
52
+ return {
53
+ 'name': value['name'],
54
+ 'statusCode': value['statusCode'],
55
+ 'message': value['message'],
56
+ 'code': value['code'],
57
+ };
58
+ }
@@ -36,6 +36,18 @@ export interface IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddres
36
36
  * @memberof IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto
37
37
  */
38
38
  name: string;
39
+ /**
40
+ *
41
+ * @type {number}
42
+ * @memberof IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto
43
+ */
44
+ activeDomainTransfersNumber: number;
45
+ /**
46
+ *
47
+ * @type {number}
48
+ * @memberof IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto
49
+ */
50
+ activeLeadsNumber: number;
39
51
  /**
40
52
  *
41
53
  * @type {WithFinancialDtoInner}
@@ -30,6 +30,10 @@ function instanceOfIntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddr
30
30
  return false;
31
31
  if (!('name' in value) || value['name'] === undefined)
32
32
  return false;
33
+ if (!('activeDomainTransfersNumber' in value) || value['activeDomainTransfersNumber'] === undefined)
34
+ return false;
35
+ if (!('activeLeadsNumber' in value) || value['activeLeadsNumber'] === undefined)
36
+ return false;
33
37
  if (!('financial' in value) || value['financial'] === undefined)
34
38
  return false;
35
39
  if (!('settings' in value) || value['settings'] === undefined)
@@ -49,6 +53,8 @@ function IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDtoFrom
49
53
  'id': json['id'],
50
54
  'identifier': json['identifier'],
51
55
  'name': json['name'],
56
+ 'activeDomainTransfersNumber': json['activeDomainTransfersNumber'],
57
+ 'activeLeadsNumber': json['activeLeadsNumber'],
52
58
  'financial': (0, WithFinancialDtoInner_1.WithFinancialDtoInnerFromJSON)(json['financial']),
53
59
  'settings': (0, WithSettingsInner_1.WithSettingsInnerFromJSON)(json['settings']),
54
60
  'addresses': (json['addresses'].map(AccountAddressDto_1.AccountAddressDtoFromJSON)),
@@ -62,6 +68,8 @@ function IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDtoToJS
62
68
  'id': value['id'],
63
69
  'identifier': value['identifier'],
64
70
  'name': value['name'],
71
+ 'activeDomainTransfersNumber': value['activeDomainTransfersNumber'],
72
+ 'activeLeadsNumber': value['activeLeadsNumber'],
65
73
  'financial': (0, WithFinancialDtoInner_1.WithFinancialDtoInnerToJSON)(value['financial']),
66
74
  'settings': (0, WithSettingsInner_1.WithSettingsInnerToJSON)(value['settings']),
67
75
  'addresses': (value['addresses'].map(AccountAddressDto_1.AccountAddressDtoToJSON)),
@@ -4,6 +4,7 @@ export * from './AccountDto';
4
4
  export * from './AccountFinancialInput';
5
5
  export * from './AccountSettingsInput';
6
6
  export * from './AdminGetAllDomainTransfers200Response';
7
+ export * from './BadRequestException';
7
8
  export * from './BatchUpdateDomainsInput';
8
9
  export * from './BuyerDomainTransferAuthCodeDto';
9
10
  export * from './BuyerDomainTransferListItemDomainDto';
@@ -22,6 +22,7 @@ __exportStar(require("./AccountDto"), exports);
22
22
  __exportStar(require("./AccountFinancialInput"), exports);
23
23
  __exportStar(require("./AccountSettingsInput"), exports);
24
24
  __exportStar(require("./AdminGetAllDomainTransfers200Response"), exports);
25
+ __exportStar(require("./BadRequestException"), exports);
25
26
  __exportStar(require("./BatchUpdateDomainsInput"), exports);
26
27
  __exportStar(require("./BuyerDomainTransferAuthCodeDto"), exports);
27
28
  __exportStar(require("./BuyerDomainTransferListItemDomainDto"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.86",
3
+ "version": "0.0.88",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -16,6 +16,7 @@
16
16
  import * as runtime from '../runtime';
17
17
  import type {
18
18
  AdminGetAllDomainTransfers200Response,
19
+ BadRequestException,
19
20
  ChangeOrderStatusInput,
20
21
  DomainTransferDetailsDto,
21
22
  GetAllOrders200Response,
@@ -27,6 +28,8 @@ import type {
27
28
  import {
28
29
  AdminGetAllDomainTransfers200ResponseFromJSON,
29
30
  AdminGetAllDomainTransfers200ResponseToJSON,
31
+ BadRequestExceptionFromJSON,
32
+ BadRequestExceptionToJSON,
30
33
  ChangeOrderStatusInputFromJSON,
31
34
  ChangeOrderStatusInputToJSON,
32
35
  DomainTransferDetailsDtoFromJSON,
@@ -15,6 +15,7 @@
15
15
 
16
16
  import * as runtime from '../runtime';
17
17
  import type {
18
+ BadRequestException,
18
19
  BuyerDomainTransferAuthCodeDto,
19
20
  BuyerUserDto,
20
21
  GetBuyerTransfers200Response,
@@ -25,6 +26,8 @@ import type {
25
26
  ValidationException,
26
27
  } from '../models/index';
27
28
  import {
29
+ BadRequestExceptionFromJSON,
30
+ BadRequestExceptionToJSON,
28
31
  BuyerDomainTransferAuthCodeDtoFromJSON,
29
32
  BuyerDomainTransferAuthCodeDtoToJSON,
30
33
  BuyerUserDtoFromJSON,
@@ -15,6 +15,7 @@
15
15
 
16
16
  import * as runtime from '../runtime';
17
17
  import type {
18
+ BadRequestException,
18
19
  CreateLeadInput,
19
20
  LeadStatusDto,
20
21
  NotFoundException,
@@ -26,6 +27,8 @@ import type {
26
27
  VerifyLeadInput,
27
28
  } from '../models/index';
28
29
  import {
30
+ BadRequestExceptionFromJSON,
31
+ BadRequestExceptionToJSON,
29
32
  CreateLeadInputFromJSON,
30
33
  CreateLeadInputToJSON,
31
34
  LeadStatusDtoFromJSON,
@@ -15,6 +15,7 @@
15
15
 
16
16
  import * as runtime from '../runtime';
17
17
  import type {
18
+ BadRequestException,
18
19
  CreateOrderInput,
19
20
  NotFoundException,
20
21
  ObjectId,
@@ -24,6 +25,8 @@ import type {
24
25
  ValidationException,
25
26
  } from '../models/index';
26
27
  import {
28
+ BadRequestExceptionFromJSON,
29
+ BadRequestExceptionToJSON,
27
30
  CreateOrderInputFromJSON,
28
31
  CreateOrderInputToJSON,
29
32
  NotFoundExceptionFromJSON,
@@ -37,6 +37,18 @@ export interface AccountDto {
37
37
  * @memberof AccountDto
38
38
  */
39
39
  name: string;
40
+ /**
41
+ *
42
+ * @type {number}
43
+ * @memberof AccountDto
44
+ */
45
+ activeDomainTransfersNumber: number;
46
+ /**
47
+ *
48
+ * @type {number}
49
+ * @memberof AccountDto
50
+ */
51
+ activeLeadsNumber: number;
40
52
  }
41
53
 
42
54
  /**
@@ -46,6 +58,8 @@ export function instanceOfAccountDto(value: object): value is AccountDto {
46
58
  if (!('id' in value) || value['id'] === undefined) return false;
47
59
  if (!('identifier' in value) || value['identifier'] === undefined) return false;
48
60
  if (!('name' in value) || value['name'] === undefined) return false;
61
+ if (!('activeDomainTransfersNumber' in value) || value['activeDomainTransfersNumber'] === undefined) return false;
62
+ if (!('activeLeadsNumber' in value) || value['activeLeadsNumber'] === undefined) return false;
49
63
  return true;
50
64
  }
51
65
 
@@ -62,6 +76,8 @@ export function AccountDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean)
62
76
  'id': json['id'],
63
77
  'identifier': json['identifier'],
64
78
  'name': json['name'],
79
+ 'activeDomainTransfersNumber': json['activeDomainTransfersNumber'],
80
+ 'activeLeadsNumber': json['activeLeadsNumber'],
65
81
  };
66
82
  }
67
83
 
@@ -74,6 +90,8 @@ export function AccountDtoToJSON(value?: AccountDto | null): any {
74
90
  'id': value['id'],
75
91
  'identifier': value['identifier'],
76
92
  'name': value['name'],
93
+ 'activeDomainTransfersNumber': value['activeDomainTransfersNumber'],
94
+ 'activeLeadsNumber': value['activeLeadsNumber'],
77
95
  };
78
96
  }
79
97
 
@@ -0,0 +1,88 @@
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 BadRequestException
20
+ */
21
+ export interface BadRequestException {
22
+ /**
23
+ * Exception name
24
+ * @type {string}
25
+ * @memberof BadRequestException
26
+ */
27
+ name: string;
28
+ /**
29
+ * http status code
30
+ * @type {number}
31
+ * @memberof BadRequestException
32
+ */
33
+ statusCode: number;
34
+ /**
35
+ * error message
36
+ * @type {string}
37
+ * @memberof BadRequestException
38
+ */
39
+ message: string;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof BadRequestException
44
+ */
45
+ code: string;
46
+ }
47
+
48
+ /**
49
+ * Check if a given object implements the BadRequestException interface.
50
+ */
51
+ export function instanceOfBadRequestException(value: object): value is BadRequestException {
52
+ if (!('name' in value) || value['name'] === undefined) return false;
53
+ if (!('statusCode' in value) || value['statusCode'] === undefined) return false;
54
+ if (!('message' in value) || value['message'] === undefined) return false;
55
+ if (!('code' in value) || value['code'] === undefined) return false;
56
+ return true;
57
+ }
58
+
59
+ export function BadRequestExceptionFromJSON(json: any): BadRequestException {
60
+ return BadRequestExceptionFromJSONTyped(json, false);
61
+ }
62
+
63
+ export function BadRequestExceptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): BadRequestException {
64
+ if (json == null) {
65
+ return json;
66
+ }
67
+ return {
68
+
69
+ 'name': json['name'],
70
+ 'statusCode': json['statusCode'],
71
+ 'message': json['message'],
72
+ 'code': json['code'],
73
+ };
74
+ }
75
+
76
+ export function BadRequestExceptionToJSON(value?: BadRequestException | null): any {
77
+ if (value == null) {
78
+ return value;
79
+ }
80
+ return {
81
+
82
+ 'name': value['name'],
83
+ 'statusCode': value['statusCode'],
84
+ 'message': value['message'],
85
+ 'code': value['code'],
86
+ };
87
+ }
88
+
@@ -56,6 +56,18 @@ export interface IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddres
56
56
  * @memberof IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto
57
57
  */
58
58
  name: string;
59
+ /**
60
+ *
61
+ * @type {number}
62
+ * @memberof IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto
63
+ */
64
+ activeDomainTransfersNumber: number;
65
+ /**
66
+ *
67
+ * @type {number}
68
+ * @memberof IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto
69
+ */
70
+ activeLeadsNumber: number;
59
71
  /**
60
72
  *
61
73
  * @type {WithFinancialDtoInner}
@@ -83,6 +95,8 @@ export function instanceOfIntersectionAccountDtoWithFinancialDtoWithSettingsDtoW
83
95
  if (!('id' in value) || value['id'] === undefined) return false;
84
96
  if (!('identifier' in value) || value['identifier'] === undefined) return false;
85
97
  if (!('name' in value) || value['name'] === undefined) return false;
98
+ if (!('activeDomainTransfersNumber' in value) || value['activeDomainTransfersNumber'] === undefined) return false;
99
+ if (!('activeLeadsNumber' in value) || value['activeLeadsNumber'] === undefined) return false;
86
100
  if (!('financial' in value) || value['financial'] === undefined) return false;
87
101
  if (!('settings' in value) || value['settings'] === undefined) return false;
88
102
  if (!('addresses' in value) || value['addresses'] === undefined) return false;
@@ -102,6 +116,8 @@ export function IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddress
102
116
  'id': json['id'],
103
117
  'identifier': json['identifier'],
104
118
  'name': json['name'],
119
+ 'activeDomainTransfersNumber': json['activeDomainTransfersNumber'],
120
+ 'activeLeadsNumber': json['activeLeadsNumber'],
105
121
  'financial': WithFinancialDtoInnerFromJSON(json['financial']),
106
122
  'settings': WithSettingsInnerFromJSON(json['settings']),
107
123
  'addresses': ((json['addresses'] as Array<any>).map(AccountAddressDtoFromJSON)),
@@ -117,6 +133,8 @@ export function IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddress
117
133
  'id': value['id'],
118
134
  'identifier': value['identifier'],
119
135
  'name': value['name'],
136
+ 'activeDomainTransfersNumber': value['activeDomainTransfersNumber'],
137
+ 'activeLeadsNumber': value['activeLeadsNumber'],
120
138
  'financial': WithFinancialDtoInnerToJSON(value['financial']),
121
139
  'settings': WithSettingsInnerToJSON(value['settings']),
122
140
  'addresses': ((value['addresses'] as Array<any>).map(AccountAddressDtoToJSON)),
@@ -6,6 +6,7 @@ export * from './AccountDto';
6
6
  export * from './AccountFinancialInput';
7
7
  export * from './AccountSettingsInput';
8
8
  export * from './AdminGetAllDomainTransfers200Response';
9
+ export * from './BadRequestException';
9
10
  export * from './BatchUpdateDomainsInput';
10
11
  export * from './BuyerDomainTransferAuthCodeDto';
11
12
  export * from './BuyerDomainTransferListItemDomainDto';