@randock/nameshift-api-client 0.0.333 → 0.0.334

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.
@@ -74,6 +74,7 @@ src/models/AirwallexDepositDtoFee.ts
74
74
  src/models/AuBankAccountDetails.ts
75
75
  src/models/AuctionBidDto.ts
76
76
  src/models/AuctionBidInput.ts
77
+ src/models/AuctionBidMetricsDto.ts
77
78
  src/models/AuctionBuyerDto.ts
78
79
  src/models/AuctionBuyerWithTokenDto.ts
79
80
  src/models/AuctionDto.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.333
1
+ ## @randock/nameshift-api-client@0.0.334
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.333 --save
39
+ npm install @randock/nameshift-api-client@0.0.334 --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
- 78092cd4a8aa570d931ff84131acb6ed3450053d9f77d953d8bed4736900e882c32df421d70cf0f1463801a6e73a4ab5
47
+ 4b339cad1c27202b0e2720d5750e71180c78f18c38d733d59802f3c374e2c81c827da196bde9c250a7892382f13adb81
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { MoneyDto } from './MoneyDto';
13
+ import type { AuctionBidMetricsDto } from './AuctionBidMetricsDto';
13
14
  /**
14
15
  *
15
16
  * @export
@@ -40,6 +41,30 @@ export interface AuctionBidDto {
40
41
  * @memberof AuctionBidDto
41
42
  */
42
43
  createdAt: Date;
44
+ /**
45
+ * Auction Bid is email verified
46
+ * @type {boolean}
47
+ * @memberof AuctionBidDto
48
+ */
49
+ isEmailVerified: boolean;
50
+ /**
51
+ * Auction Bid is phone verified
52
+ * @type {boolean}
53
+ * @memberof AuctionBidDto
54
+ */
55
+ isPhoneVerified: boolean;
56
+ /**
57
+ * Auction Bid is KYC completed
58
+ * @type {boolean}
59
+ * @memberof AuctionBidDto
60
+ */
61
+ isKycCompleted: boolean;
62
+ /**
63
+ * Auction Bidder metrics
64
+ * @type {AuctionBidMetricsDto}
65
+ * @memberof AuctionBidDto
66
+ */
67
+ metrics: AuctionBidMetricsDto;
43
68
  }
44
69
  /**
45
70
  * Check if a given object implements the AuctionBidDto interface.
@@ -19,6 +19,7 @@ exports.AuctionBidDtoFromJSONTyped = AuctionBidDtoFromJSONTyped;
19
19
  exports.AuctionBidDtoToJSON = AuctionBidDtoToJSON;
20
20
  exports.AuctionBidDtoToJSONTyped = AuctionBidDtoToJSONTyped;
21
21
  var MoneyDto_1 = require("./MoneyDto");
22
+ var AuctionBidMetricsDto_1 = require("./AuctionBidMetricsDto");
22
23
  /**
23
24
  * Check if a given object implements the AuctionBidDto interface.
24
25
  */
@@ -31,6 +32,14 @@ function instanceOfAuctionBidDto(value) {
31
32
  return false;
32
33
  if (!('createdAt' in value) || value['createdAt'] === undefined)
33
34
  return false;
35
+ if (!('isEmailVerified' in value) || value['isEmailVerified'] === undefined)
36
+ return false;
37
+ if (!('isPhoneVerified' in value) || value['isPhoneVerified'] === undefined)
38
+ return false;
39
+ if (!('isKycCompleted' in value) || value['isKycCompleted'] === undefined)
40
+ return false;
41
+ if (!('metrics' in value) || value['metrics'] === undefined)
42
+ return false;
34
43
  return true;
35
44
  }
36
45
  function AuctionBidDtoFromJSON(json) {
@@ -45,6 +54,10 @@ function AuctionBidDtoFromJSONTyped(json, ignoreDiscriminator) {
45
54
  'amount': (0, MoneyDto_1.MoneyDtoFromJSON)(json['amount']),
46
55
  'nickname': json['nickname'],
47
56
  'createdAt': (new Date(json['createdAt'])),
57
+ 'isEmailVerified': json['isEmailVerified'],
58
+ 'isPhoneVerified': json['isPhoneVerified'],
59
+ 'isKycCompleted': json['isKycCompleted'],
60
+ 'metrics': (0, AuctionBidMetricsDto_1.AuctionBidMetricsDtoFromJSON)(json['metrics']),
48
61
  };
49
62
  }
50
63
  function AuctionBidDtoToJSON(json) {
@@ -60,5 +73,9 @@ function AuctionBidDtoToJSONTyped(value, ignoreDiscriminator) {
60
73
  'amount': (0, MoneyDto_1.MoneyDtoToJSON)(value['amount']),
61
74
  'nickname': value['nickname'],
62
75
  'createdAt': ((value['createdAt']).toISOString()),
76
+ 'isEmailVerified': value['isEmailVerified'],
77
+ 'isPhoneVerified': value['isPhoneVerified'],
78
+ 'isKycCompleted': value['isKycCompleted'],
79
+ 'metrics': (0, AuctionBidMetricsDto_1.AuctionBidMetricsDtoToJSON)(value['metrics']),
63
80
  };
64
81
  }
@@ -0,0 +1,38 @@
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 AuctionBidMetricsDto
16
+ */
17
+ export interface AuctionBidMetricsDto {
18
+ /**
19
+ * Number of auctions the buyer has participated in
20
+ * @type {number}
21
+ * @memberof AuctionBidMetricsDto
22
+ */
23
+ auctionsNumber: number;
24
+ /**
25
+ * Total number of bids placed by the buyer across all auctions
26
+ * @type {number}
27
+ * @memberof AuctionBidMetricsDto
28
+ */
29
+ auctionsBidsNumber: number;
30
+ }
31
+ /**
32
+ * Check if a given object implements the AuctionBidMetricsDto interface.
33
+ */
34
+ export declare function instanceOfAuctionBidMetricsDto(value: object): value is AuctionBidMetricsDto;
35
+ export declare function AuctionBidMetricsDtoFromJSON(json: any): AuctionBidMetricsDto;
36
+ export declare function AuctionBidMetricsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuctionBidMetricsDto;
37
+ export declare function AuctionBidMetricsDtoToJSON(json: any): AuctionBidMetricsDto;
38
+ export declare function AuctionBidMetricsDtoToJSONTyped(value?: AuctionBidMetricsDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,55 @@
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.instanceOfAuctionBidMetricsDto = instanceOfAuctionBidMetricsDto;
17
+ exports.AuctionBidMetricsDtoFromJSON = AuctionBidMetricsDtoFromJSON;
18
+ exports.AuctionBidMetricsDtoFromJSONTyped = AuctionBidMetricsDtoFromJSONTyped;
19
+ exports.AuctionBidMetricsDtoToJSON = AuctionBidMetricsDtoToJSON;
20
+ exports.AuctionBidMetricsDtoToJSONTyped = AuctionBidMetricsDtoToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the AuctionBidMetricsDto interface.
23
+ */
24
+ function instanceOfAuctionBidMetricsDto(value) {
25
+ if (!('auctionsNumber' in value) || value['auctionsNumber'] === undefined)
26
+ return false;
27
+ if (!('auctionsBidsNumber' in value) || value['auctionsBidsNumber'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function AuctionBidMetricsDtoFromJSON(json) {
32
+ return AuctionBidMetricsDtoFromJSONTyped(json, false);
33
+ }
34
+ function AuctionBidMetricsDtoFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'auctionsNumber': json['auctionsNumber'],
40
+ 'auctionsBidsNumber': json['auctionsBidsNumber'],
41
+ };
42
+ }
43
+ function AuctionBidMetricsDtoToJSON(json) {
44
+ return AuctionBidMetricsDtoToJSONTyped(json, false);
45
+ }
46
+ function AuctionBidMetricsDtoToJSONTyped(value, ignoreDiscriminator) {
47
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'auctionsNumber': value['auctionsNumber'],
53
+ 'auctionsBidsNumber': value['auctionsBidsNumber'],
54
+ };
55
+ }
@@ -41,6 +41,7 @@ export * from './AirwallexDepositDtoFee';
41
41
  export * from './AuBankAccountDetails';
42
42
  export * from './AuctionBidDto';
43
43
  export * from './AuctionBidInput';
44
+ export * from './AuctionBidMetricsDto';
44
45
  export * from './AuctionBuyerDto';
45
46
  export * from './AuctionBuyerWithTokenDto';
46
47
  export * from './AuctionDto';
@@ -59,6 +59,7 @@ __exportStar(require("./AirwallexDepositDtoFee"), exports);
59
59
  __exportStar(require("./AuBankAccountDetails"), exports);
60
60
  __exportStar(require("./AuctionBidDto"), exports);
61
61
  __exportStar(require("./AuctionBidInput"), exports);
62
+ __exportStar(require("./AuctionBidMetricsDto"), exports);
62
63
  __exportStar(require("./AuctionBuyerDto"), exports);
63
64
  __exportStar(require("./AuctionBuyerWithTokenDto"), exports);
64
65
  __exportStar(require("./AuctionDto"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.333",
3
+ "version": "0.0.334",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -20,6 +20,13 @@ import {
20
20
  MoneyDtoToJSON,
21
21
  MoneyDtoToJSONTyped,
22
22
  } from './MoneyDto';
23
+ import type { AuctionBidMetricsDto } from './AuctionBidMetricsDto';
24
+ import {
25
+ AuctionBidMetricsDtoFromJSON,
26
+ AuctionBidMetricsDtoFromJSONTyped,
27
+ AuctionBidMetricsDtoToJSON,
28
+ AuctionBidMetricsDtoToJSONTyped,
29
+ } from './AuctionBidMetricsDto';
23
30
 
24
31
  /**
25
32
  *
@@ -51,6 +58,30 @@ export interface AuctionBidDto {
51
58
  * @memberof AuctionBidDto
52
59
  */
53
60
  createdAt: Date;
61
+ /**
62
+ * Auction Bid is email verified
63
+ * @type {boolean}
64
+ * @memberof AuctionBidDto
65
+ */
66
+ isEmailVerified: boolean;
67
+ /**
68
+ * Auction Bid is phone verified
69
+ * @type {boolean}
70
+ * @memberof AuctionBidDto
71
+ */
72
+ isPhoneVerified: boolean;
73
+ /**
74
+ * Auction Bid is KYC completed
75
+ * @type {boolean}
76
+ * @memberof AuctionBidDto
77
+ */
78
+ isKycCompleted: boolean;
79
+ /**
80
+ * Auction Bidder metrics
81
+ * @type {AuctionBidMetricsDto}
82
+ * @memberof AuctionBidDto
83
+ */
84
+ metrics: AuctionBidMetricsDto;
54
85
  }
55
86
 
56
87
  /**
@@ -61,6 +92,10 @@ export function instanceOfAuctionBidDto(value: object): value is AuctionBidDto {
61
92
  if (!('amount' in value) || value['amount'] === undefined) return false;
62
93
  if (!('nickname' in value) || value['nickname'] === undefined) return false;
63
94
  if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
95
+ if (!('isEmailVerified' in value) || value['isEmailVerified'] === undefined) return false;
96
+ if (!('isPhoneVerified' in value) || value['isPhoneVerified'] === undefined) return false;
97
+ if (!('isKycCompleted' in value) || value['isKycCompleted'] === undefined) return false;
98
+ if (!('metrics' in value) || value['metrics'] === undefined) return false;
64
99
  return true;
65
100
  }
66
101
 
@@ -78,6 +113,10 @@ export function AuctionBidDtoFromJSONTyped(json: any, ignoreDiscriminator: boole
78
113
  'amount': MoneyDtoFromJSON(json['amount']),
79
114
  'nickname': json['nickname'],
80
115
  'createdAt': (new Date(json['createdAt'])),
116
+ 'isEmailVerified': json['isEmailVerified'],
117
+ 'isPhoneVerified': json['isPhoneVerified'],
118
+ 'isKycCompleted': json['isKycCompleted'],
119
+ 'metrics': AuctionBidMetricsDtoFromJSON(json['metrics']),
81
120
  };
82
121
  }
83
122
 
@@ -96,6 +135,10 @@ export function AuctionBidDtoToJSONTyped(value?: AuctionBidDto | null, ignoreDis
96
135
  'amount': MoneyDtoToJSON(value['amount']),
97
136
  'nickname': value['nickname'],
98
137
  'createdAt': ((value['createdAt']).toISOString()),
138
+ 'isEmailVerified': value['isEmailVerified'],
139
+ 'isPhoneVerified': value['isPhoneVerified'],
140
+ 'isKycCompleted': value['isKycCompleted'],
141
+ 'metrics': AuctionBidMetricsDtoToJSON(value['metrics']),
99
142
  };
100
143
  }
101
144
 
@@ -0,0 +1,75 @@
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 AuctionBidMetricsDto
20
+ */
21
+ export interface AuctionBidMetricsDto {
22
+ /**
23
+ * Number of auctions the buyer has participated in
24
+ * @type {number}
25
+ * @memberof AuctionBidMetricsDto
26
+ */
27
+ auctionsNumber: number;
28
+ /**
29
+ * Total number of bids placed by the buyer across all auctions
30
+ * @type {number}
31
+ * @memberof AuctionBidMetricsDto
32
+ */
33
+ auctionsBidsNumber: number;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the AuctionBidMetricsDto interface.
38
+ */
39
+ export function instanceOfAuctionBidMetricsDto(value: object): value is AuctionBidMetricsDto {
40
+ if (!('auctionsNumber' in value) || value['auctionsNumber'] === undefined) return false;
41
+ if (!('auctionsBidsNumber' in value) || value['auctionsBidsNumber'] === undefined) return false;
42
+ return true;
43
+ }
44
+
45
+ export function AuctionBidMetricsDtoFromJSON(json: any): AuctionBidMetricsDto {
46
+ return AuctionBidMetricsDtoFromJSONTyped(json, false);
47
+ }
48
+
49
+ export function AuctionBidMetricsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuctionBidMetricsDto {
50
+ if (json == null) {
51
+ return json;
52
+ }
53
+ return {
54
+
55
+ 'auctionsNumber': json['auctionsNumber'],
56
+ 'auctionsBidsNumber': json['auctionsBidsNumber'],
57
+ };
58
+ }
59
+
60
+ export function AuctionBidMetricsDtoToJSON(json: any): AuctionBidMetricsDto {
61
+ return AuctionBidMetricsDtoToJSONTyped(json, false);
62
+ }
63
+
64
+ export function AuctionBidMetricsDtoToJSONTyped(value?: AuctionBidMetricsDto | null, ignoreDiscriminator: boolean = false): any {
65
+ if (value == null) {
66
+ return value;
67
+ }
68
+
69
+ return {
70
+
71
+ 'auctionsNumber': value['auctionsNumber'],
72
+ 'auctionsBidsNumber': value['auctionsBidsNumber'],
73
+ };
74
+ }
75
+
@@ -43,6 +43,7 @@ export * from './AirwallexDepositDtoFee';
43
43
  export * from './AuBankAccountDetails';
44
44
  export * from './AuctionBidDto';
45
45
  export * from './AuctionBidInput';
46
+ export * from './AuctionBidMetricsDto';
46
47
  export * from './AuctionBuyerDto';
47
48
  export * from './AuctionBuyerWithTokenDto';
48
49
  export * from './AuctionDto';