@randock/nameshift-api-client 0.0.461 → 0.0.463

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.
@@ -142,6 +142,7 @@ src/models/BulkDownloadInvoicesInput.ts
142
142
  src/models/BulkMarkBuyerNotificationsAsReadInputDto.ts
143
143
  src/models/BulkMarkNotificationsAsReadInputDto.ts
144
144
  src/models/BulkUpdateDomainsWithFiltersInput.ts
145
+ src/models/BuyerAcceptanceEnum.ts
145
146
  src/models/BuyerAccessTokenDto.ts
146
147
  src/models/BuyerAuctionDetailDto.ts
147
148
  src/models/BuyerAuctionDetailDtoDomain.ts
@@ -155,6 +156,7 @@ src/models/BuyerDomainTransferAuthCodeDto.ts
155
156
  src/models/BuyerDomainTransferListItemDomainDto.ts
156
157
  src/models/BuyerDomainTransferListItemDto.ts
157
158
  src/models/BuyerDto.ts
159
+ src/models/BuyerExperienceEnum.ts
158
160
  src/models/BuyerInvoiceDomainDto.ts
159
161
  src/models/BuyerInvoiceDto.ts
160
162
  src/models/BuyerInvoiceSellerAccountDto.ts
@@ -164,6 +166,7 @@ src/models/BuyerNotificationAttachmentDto.ts
164
166
  src/models/BuyerNotificationDto.ts
165
167
  src/models/BuyerNotificationListItemDto.ts
166
168
  src/models/BuyerNotificationSettingsDto.ts
169
+ src/models/BuyerPaymentEnum.ts
167
170
  src/models/BuyerSecurityUserDto.ts
168
171
  src/models/BuyerSessionDto.ts
169
172
  src/models/BuyerSubscriptionListItemDto.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.461
1
+ ## @randock/nameshift-api-client@0.0.463
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.461 --save
39
+ npm install @randock/nameshift-api-client@0.0.463 --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
- f72075d7e5716d6c3536ddb9a81b0fc1464c8d3f9f3fac45d061e165a7a90ee132e9d4ad42f35b2d9efb8c091ccff506
47
+ ef515a5a3d74a65a729e66504944c596d93e46f19efad6cc063991b5f3115d471b1faa39aab12de1b47ce2436943e989
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
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
+ * Share of the leads the buyer started that ever reached an accepted deal: accepts_nothing (0%), accepts_very_little (below 25%), normal (25-75%), accepts_almost_anything (75-100%), accepts_anything (100%), or unknown when the buyer has a single lead and no accepted deal yet.
14
+ * @export
15
+ */
16
+ export declare const BuyerAcceptanceEnum: {
17
+ readonly UNKNOWN: "unknown";
18
+ readonly ACCEPTS_NOTHING: "accepts_nothing";
19
+ readonly ACCEPTS_VERY_LITTLE: "accepts_very_little";
20
+ readonly NORMAL: "normal";
21
+ readonly ACCEPTS_ALMOST_ANYTHING: "accepts_almost_anything";
22
+ readonly ACCEPTS_ANYTHING: "accepts_anything";
23
+ };
24
+ export type BuyerAcceptanceEnum = typeof BuyerAcceptanceEnum[keyof typeof BuyerAcceptanceEnum];
25
+ export declare function instanceOfBuyerAcceptanceEnum(value: any): boolean;
26
+ export declare function BuyerAcceptanceEnumFromJSON(json: any): BuyerAcceptanceEnum;
27
+ export declare function BuyerAcceptanceEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): BuyerAcceptanceEnum;
28
+ export declare function BuyerAcceptanceEnumToJSON(value?: BuyerAcceptanceEnum | null): any;
29
+ export declare function BuyerAcceptanceEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): BuyerAcceptanceEnum;
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
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.BuyerAcceptanceEnum = void 0;
17
+ exports.instanceOfBuyerAcceptanceEnum = instanceOfBuyerAcceptanceEnum;
18
+ exports.BuyerAcceptanceEnumFromJSON = BuyerAcceptanceEnumFromJSON;
19
+ exports.BuyerAcceptanceEnumFromJSONTyped = BuyerAcceptanceEnumFromJSONTyped;
20
+ exports.BuyerAcceptanceEnumToJSON = BuyerAcceptanceEnumToJSON;
21
+ exports.BuyerAcceptanceEnumToJSONTyped = BuyerAcceptanceEnumToJSONTyped;
22
+ /**
23
+ * Share of the leads the buyer started that ever reached an accepted deal: accepts_nothing (0%), accepts_very_little (below 25%), normal (25-75%), accepts_almost_anything (75-100%), accepts_anything (100%), or unknown when the buyer has a single lead and no accepted deal yet.
24
+ * @export
25
+ */
26
+ exports.BuyerAcceptanceEnum = {
27
+ UNKNOWN: 'unknown',
28
+ ACCEPTS_NOTHING: 'accepts_nothing',
29
+ ACCEPTS_VERY_LITTLE: 'accepts_very_little',
30
+ NORMAL: 'normal',
31
+ ACCEPTS_ALMOST_ANYTHING: 'accepts_almost_anything',
32
+ ACCEPTS_ANYTHING: 'accepts_anything'
33
+ };
34
+ function instanceOfBuyerAcceptanceEnum(value) {
35
+ for (var key in exports.BuyerAcceptanceEnum) {
36
+ if (Object.prototype.hasOwnProperty.call(exports.BuyerAcceptanceEnum, key)) {
37
+ if (exports.BuyerAcceptanceEnum[key] === value) {
38
+ return true;
39
+ }
40
+ }
41
+ }
42
+ return false;
43
+ }
44
+ function BuyerAcceptanceEnumFromJSON(json) {
45
+ return BuyerAcceptanceEnumFromJSONTyped(json, false);
46
+ }
47
+ function BuyerAcceptanceEnumFromJSONTyped(json, ignoreDiscriminator) {
48
+ return json;
49
+ }
50
+ function BuyerAcceptanceEnumToJSON(value) {
51
+ return value;
52
+ }
53
+ function BuyerAcceptanceEnumToJSONTyped(value, ignoreDiscriminator) {
54
+ return value;
55
+ }
@@ -9,6 +9,9 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { BuyerPaymentEnum } from './BuyerPaymentEnum';
13
+ import type { BuyerAcceptanceEnum } from './BuyerAcceptanceEnum';
14
+ import type { BuyerExperienceEnum } from './BuyerExperienceEnum';
12
15
  /**
13
16
  *
14
17
  * @export
@@ -57,6 +60,30 @@ export interface BuyerDto {
57
60
  * @memberof BuyerDto
58
61
  */
59
62
  phoneNumber: string | null;
63
+ /**
64
+ *
65
+ * @type {BuyerExperienceEnum}
66
+ * @memberof BuyerDto
67
+ */
68
+ experience: BuyerExperienceEnum;
69
+ /**
70
+ *
71
+ * @type {BuyerAcceptanceEnum}
72
+ * @memberof BuyerDto
73
+ */
74
+ accepted: BuyerAcceptanceEnum;
75
+ /**
76
+ *
77
+ * @type {BuyerPaymentEnum}
78
+ * @memberof BuyerDto
79
+ */
80
+ payment: BuyerPaymentEnum;
81
+ /**
82
+ * Warning that the buyer started fewer than 4 leads, so the buyer classifications are based on little data.
83
+ * @type {boolean}
84
+ * @memberof BuyerDto
85
+ */
86
+ limitedData: boolean;
60
87
  }
61
88
  /**
62
89
  * Check if a given object implements the BuyerDto interface.
@@ -18,6 +18,9 @@ exports.BuyerDtoFromJSON = BuyerDtoFromJSON;
18
18
  exports.BuyerDtoFromJSONTyped = BuyerDtoFromJSONTyped;
19
19
  exports.BuyerDtoToJSON = BuyerDtoToJSON;
20
20
  exports.BuyerDtoToJSONTyped = BuyerDtoToJSONTyped;
21
+ var BuyerPaymentEnum_1 = require("./BuyerPaymentEnum");
22
+ var BuyerAcceptanceEnum_1 = require("./BuyerAcceptanceEnum");
23
+ var BuyerExperienceEnum_1 = require("./BuyerExperienceEnum");
21
24
  /**
22
25
  * Check if a given object implements the BuyerDto interface.
23
26
  */
@@ -36,6 +39,14 @@ function instanceOfBuyerDto(value) {
36
39
  return false;
37
40
  if (!('phoneNumber' in value) || value['phoneNumber'] === undefined)
38
41
  return false;
42
+ if (!('experience' in value) || value['experience'] === undefined)
43
+ return false;
44
+ if (!('accepted' in value) || value['accepted'] === undefined)
45
+ return false;
46
+ if (!('payment' in value) || value['payment'] === undefined)
47
+ return false;
48
+ if (!('limitedData' in value) || value['limitedData'] === undefined)
49
+ return false;
39
50
  return true;
40
51
  }
41
52
  function BuyerDtoFromJSON(json) {
@@ -53,6 +64,10 @@ function BuyerDtoFromJSONTyped(json, ignoreDiscriminator) {
53
64
  'buyerName': json['buyerName'],
54
65
  'emailDomain': json['emailDomain'],
55
66
  'phoneNumber': json['phoneNumber'],
67
+ 'experience': (0, BuyerExperienceEnum_1.BuyerExperienceEnumFromJSON)(json['experience']),
68
+ 'accepted': (0, BuyerAcceptanceEnum_1.BuyerAcceptanceEnumFromJSON)(json['accepted']),
69
+ 'payment': (0, BuyerPaymentEnum_1.BuyerPaymentEnumFromJSON)(json['payment']),
70
+ 'limitedData': json['limitedData'],
56
71
  };
57
72
  }
58
73
  function BuyerDtoToJSON(json) {
@@ -71,5 +86,9 @@ function BuyerDtoToJSONTyped(value, ignoreDiscriminator) {
71
86
  'buyerName': value['buyerName'],
72
87
  'emailDomain': value['emailDomain'],
73
88
  'phoneNumber': value['phoneNumber'],
89
+ 'experience': (0, BuyerExperienceEnum_1.BuyerExperienceEnumToJSON)(value['experience']),
90
+ 'accepted': (0, BuyerAcceptanceEnum_1.BuyerAcceptanceEnumToJSON)(value['accepted']),
91
+ 'payment': (0, BuyerPaymentEnum_1.BuyerPaymentEnumToJSON)(value['payment']),
92
+ 'limitedData': value['limitedData'],
74
93
  };
75
94
  }
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
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
+ * Experience level based on the number of domains the buyer bought: none (0), active (1-3), expert (4+).
14
+ * @export
15
+ */
16
+ export declare const BuyerExperienceEnum: {
17
+ readonly NONE: "none";
18
+ readonly ACTIVE: "active";
19
+ readonly EXPERT: "expert";
20
+ };
21
+ export type BuyerExperienceEnum = typeof BuyerExperienceEnum[keyof typeof BuyerExperienceEnum];
22
+ export declare function instanceOfBuyerExperienceEnum(value: any): boolean;
23
+ export declare function BuyerExperienceEnumFromJSON(json: any): BuyerExperienceEnum;
24
+ export declare function BuyerExperienceEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): BuyerExperienceEnum;
25
+ export declare function BuyerExperienceEnumToJSON(value?: BuyerExperienceEnum | null): any;
26
+ export declare function BuyerExperienceEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): BuyerExperienceEnum;
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
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.BuyerExperienceEnum = void 0;
17
+ exports.instanceOfBuyerExperienceEnum = instanceOfBuyerExperienceEnum;
18
+ exports.BuyerExperienceEnumFromJSON = BuyerExperienceEnumFromJSON;
19
+ exports.BuyerExperienceEnumFromJSONTyped = BuyerExperienceEnumFromJSONTyped;
20
+ exports.BuyerExperienceEnumToJSON = BuyerExperienceEnumToJSON;
21
+ exports.BuyerExperienceEnumToJSONTyped = BuyerExperienceEnumToJSONTyped;
22
+ /**
23
+ * Experience level based on the number of domains the buyer bought: none (0), active (1-3), expert (4+).
24
+ * @export
25
+ */
26
+ exports.BuyerExperienceEnum = {
27
+ NONE: 'none',
28
+ ACTIVE: 'active',
29
+ EXPERT: 'expert'
30
+ };
31
+ function instanceOfBuyerExperienceEnum(value) {
32
+ for (var key in exports.BuyerExperienceEnum) {
33
+ if (Object.prototype.hasOwnProperty.call(exports.BuyerExperienceEnum, key)) {
34
+ if (exports.BuyerExperienceEnum[key] === value) {
35
+ return true;
36
+ }
37
+ }
38
+ }
39
+ return false;
40
+ }
41
+ function BuyerExperienceEnumFromJSON(json) {
42
+ return BuyerExperienceEnumFromJSONTyped(json, false);
43
+ }
44
+ function BuyerExperienceEnumFromJSONTyped(json, ignoreDiscriminator) {
45
+ return json;
46
+ }
47
+ function BuyerExperienceEnumToJSON(value) {
48
+ return value;
49
+ }
50
+ function BuyerExperienceEnumToJSONTyped(value, ignoreDiscriminator) {
51
+ return value;
52
+ }
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
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
+ * Share of the leads the buyer started that were actually paid: pays_nothing (0%), pays_very_little (below 25%), normal (25-75%), pays_almost_everything (75-100%), pays_everything (100%), or unknown when the buyer has a single lead and no purchase yet.
14
+ * @export
15
+ */
16
+ export declare const BuyerPaymentEnum: {
17
+ readonly UNKNOWN: "unknown";
18
+ readonly PAYS_NOTHING: "pays_nothing";
19
+ readonly PAYS_VERY_LITTLE: "pays_very_little";
20
+ readonly NORMAL: "normal";
21
+ readonly PAYS_ALMOST_EVERYTHING: "pays_almost_everything";
22
+ readonly PAYS_EVERYTHING: "pays_everything";
23
+ };
24
+ export type BuyerPaymentEnum = typeof BuyerPaymentEnum[keyof typeof BuyerPaymentEnum];
25
+ export declare function instanceOfBuyerPaymentEnum(value: any): boolean;
26
+ export declare function BuyerPaymentEnumFromJSON(json: any): BuyerPaymentEnum;
27
+ export declare function BuyerPaymentEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): BuyerPaymentEnum;
28
+ export declare function BuyerPaymentEnumToJSON(value?: BuyerPaymentEnum | null): any;
29
+ export declare function BuyerPaymentEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): BuyerPaymentEnum;
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
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.BuyerPaymentEnum = void 0;
17
+ exports.instanceOfBuyerPaymentEnum = instanceOfBuyerPaymentEnum;
18
+ exports.BuyerPaymentEnumFromJSON = BuyerPaymentEnumFromJSON;
19
+ exports.BuyerPaymentEnumFromJSONTyped = BuyerPaymentEnumFromJSONTyped;
20
+ exports.BuyerPaymentEnumToJSON = BuyerPaymentEnumToJSON;
21
+ exports.BuyerPaymentEnumToJSONTyped = BuyerPaymentEnumToJSONTyped;
22
+ /**
23
+ * Share of the leads the buyer started that were actually paid: pays_nothing (0%), pays_very_little (below 25%), normal (25-75%), pays_almost_everything (75-100%), pays_everything (100%), or unknown when the buyer has a single lead and no purchase yet.
24
+ * @export
25
+ */
26
+ exports.BuyerPaymentEnum = {
27
+ UNKNOWN: 'unknown',
28
+ PAYS_NOTHING: 'pays_nothing',
29
+ PAYS_VERY_LITTLE: 'pays_very_little',
30
+ NORMAL: 'normal',
31
+ PAYS_ALMOST_EVERYTHING: 'pays_almost_everything',
32
+ PAYS_EVERYTHING: 'pays_everything'
33
+ };
34
+ function instanceOfBuyerPaymentEnum(value) {
35
+ for (var key in exports.BuyerPaymentEnum) {
36
+ if (Object.prototype.hasOwnProperty.call(exports.BuyerPaymentEnum, key)) {
37
+ if (exports.BuyerPaymentEnum[key] === value) {
38
+ return true;
39
+ }
40
+ }
41
+ }
42
+ return false;
43
+ }
44
+ function BuyerPaymentEnumFromJSON(json) {
45
+ return BuyerPaymentEnumFromJSONTyped(json, false);
46
+ }
47
+ function BuyerPaymentEnumFromJSONTyped(json, ignoreDiscriminator) {
48
+ return json;
49
+ }
50
+ function BuyerPaymentEnumToJSON(value) {
51
+ return value;
52
+ }
53
+ function BuyerPaymentEnumToJSONTyped(value, ignoreDiscriminator) {
54
+ return value;
55
+ }
@@ -102,6 +102,7 @@ export * from './BulkDownloadInvoicesInput';
102
102
  export * from './BulkMarkBuyerNotificationsAsReadInputDto';
103
103
  export * from './BulkMarkNotificationsAsReadInputDto';
104
104
  export * from './BulkUpdateDomainsWithFiltersInput';
105
+ export * from './BuyerAcceptanceEnum';
105
106
  export * from './BuyerAccessTokenDto';
106
107
  export * from './BuyerAuctionDetailDto';
107
108
  export * from './BuyerAuctionDetailDtoDomain';
@@ -115,6 +116,7 @@ export * from './BuyerDomainTransferAuthCodeDto';
115
116
  export * from './BuyerDomainTransferListItemDomainDto';
116
117
  export * from './BuyerDomainTransferListItemDto';
117
118
  export * from './BuyerDto';
119
+ export * from './BuyerExperienceEnum';
118
120
  export * from './BuyerInvoiceDomainDto';
119
121
  export * from './BuyerInvoiceDto';
120
122
  export * from './BuyerInvoiceSellerAccountDto';
@@ -124,6 +126,7 @@ export * from './BuyerNotificationAttachmentDto';
124
126
  export * from './BuyerNotificationDto';
125
127
  export * from './BuyerNotificationListItemDto';
126
128
  export * from './BuyerNotificationSettingsDto';
129
+ export * from './BuyerPaymentEnum';
127
130
  export * from './BuyerSecurityUserDto';
128
131
  export * from './BuyerSessionDto';
129
132
  export * from './BuyerSubscriptionListItemDto';
@@ -120,6 +120,7 @@ __exportStar(require("./BulkDownloadInvoicesInput"), exports);
120
120
  __exportStar(require("./BulkMarkBuyerNotificationsAsReadInputDto"), exports);
121
121
  __exportStar(require("./BulkMarkNotificationsAsReadInputDto"), exports);
122
122
  __exportStar(require("./BulkUpdateDomainsWithFiltersInput"), exports);
123
+ __exportStar(require("./BuyerAcceptanceEnum"), exports);
123
124
  __exportStar(require("./BuyerAccessTokenDto"), exports);
124
125
  __exportStar(require("./BuyerAuctionDetailDto"), exports);
125
126
  __exportStar(require("./BuyerAuctionDetailDtoDomain"), exports);
@@ -133,6 +134,7 @@ __exportStar(require("./BuyerDomainTransferAuthCodeDto"), exports);
133
134
  __exportStar(require("./BuyerDomainTransferListItemDomainDto"), exports);
134
135
  __exportStar(require("./BuyerDomainTransferListItemDto"), exports);
135
136
  __exportStar(require("./BuyerDto"), exports);
137
+ __exportStar(require("./BuyerExperienceEnum"), exports);
136
138
  __exportStar(require("./BuyerInvoiceDomainDto"), exports);
137
139
  __exportStar(require("./BuyerInvoiceDto"), exports);
138
140
  __exportStar(require("./BuyerInvoiceSellerAccountDto"), exports);
@@ -142,6 +144,7 @@ __exportStar(require("./BuyerNotificationAttachmentDto"), exports);
142
144
  __exportStar(require("./BuyerNotificationDto"), exports);
143
145
  __exportStar(require("./BuyerNotificationListItemDto"), exports);
144
146
  __exportStar(require("./BuyerNotificationSettingsDto"), exports);
147
+ __exportStar(require("./BuyerPaymentEnum"), exports);
145
148
  __exportStar(require("./BuyerSecurityUserDto"), exports);
146
149
  __exportStar(require("./BuyerSessionDto"), exports);
147
150
  __exportStar(require("./BuyerSubscriptionListItemDto"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.461",
3
+ "version": "0.0.463",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -0,0 +1,57 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
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
+
16
+ /**
17
+ * Share of the leads the buyer started that ever reached an accepted deal: accepts_nothing (0%), accepts_very_little (below 25%), normal (25-75%), accepts_almost_anything (75-100%), accepts_anything (100%), or unknown when the buyer has a single lead and no accepted deal yet.
18
+ * @export
19
+ */
20
+ export const BuyerAcceptanceEnum = {
21
+ UNKNOWN: 'unknown',
22
+ ACCEPTS_NOTHING: 'accepts_nothing',
23
+ ACCEPTS_VERY_LITTLE: 'accepts_very_little',
24
+ NORMAL: 'normal',
25
+ ACCEPTS_ALMOST_ANYTHING: 'accepts_almost_anything',
26
+ ACCEPTS_ANYTHING: 'accepts_anything'
27
+ } as const;
28
+ export type BuyerAcceptanceEnum = typeof BuyerAcceptanceEnum[keyof typeof BuyerAcceptanceEnum];
29
+
30
+
31
+ export function instanceOfBuyerAcceptanceEnum(value: any): boolean {
32
+ for (const key in BuyerAcceptanceEnum) {
33
+ if (Object.prototype.hasOwnProperty.call(BuyerAcceptanceEnum, key)) {
34
+ if (BuyerAcceptanceEnum[key as keyof typeof BuyerAcceptanceEnum] === value) {
35
+ return true;
36
+ }
37
+ }
38
+ }
39
+ return false;
40
+ }
41
+
42
+ export function BuyerAcceptanceEnumFromJSON(json: any): BuyerAcceptanceEnum {
43
+ return BuyerAcceptanceEnumFromJSONTyped(json, false);
44
+ }
45
+
46
+ export function BuyerAcceptanceEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): BuyerAcceptanceEnum {
47
+ return json as BuyerAcceptanceEnum;
48
+ }
49
+
50
+ export function BuyerAcceptanceEnumToJSON(value?: BuyerAcceptanceEnum | null): any {
51
+ return value as any;
52
+ }
53
+
54
+ export function BuyerAcceptanceEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): BuyerAcceptanceEnum {
55
+ return value as BuyerAcceptanceEnum;
56
+ }
57
+
@@ -13,6 +13,28 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
+ import type { BuyerPaymentEnum } from './BuyerPaymentEnum';
17
+ import {
18
+ BuyerPaymentEnumFromJSON,
19
+ BuyerPaymentEnumFromJSONTyped,
20
+ BuyerPaymentEnumToJSON,
21
+ BuyerPaymentEnumToJSONTyped,
22
+ } from './BuyerPaymentEnum';
23
+ import type { BuyerAcceptanceEnum } from './BuyerAcceptanceEnum';
24
+ import {
25
+ BuyerAcceptanceEnumFromJSON,
26
+ BuyerAcceptanceEnumFromJSONTyped,
27
+ BuyerAcceptanceEnumToJSON,
28
+ BuyerAcceptanceEnumToJSONTyped,
29
+ } from './BuyerAcceptanceEnum';
30
+ import type { BuyerExperienceEnum } from './BuyerExperienceEnum';
31
+ import {
32
+ BuyerExperienceEnumFromJSON,
33
+ BuyerExperienceEnumFromJSONTyped,
34
+ BuyerExperienceEnumToJSON,
35
+ BuyerExperienceEnumToJSONTyped,
36
+ } from './BuyerExperienceEnum';
37
+
16
38
  /**
17
39
  *
18
40
  * @export
@@ -61,8 +83,34 @@ export interface BuyerDto {
61
83
  * @memberof BuyerDto
62
84
  */
63
85
  phoneNumber: string | null;
86
+ /**
87
+ *
88
+ * @type {BuyerExperienceEnum}
89
+ * @memberof BuyerDto
90
+ */
91
+ experience: BuyerExperienceEnum;
92
+ /**
93
+ *
94
+ * @type {BuyerAcceptanceEnum}
95
+ * @memberof BuyerDto
96
+ */
97
+ accepted: BuyerAcceptanceEnum;
98
+ /**
99
+ *
100
+ * @type {BuyerPaymentEnum}
101
+ * @memberof BuyerDto
102
+ */
103
+ payment: BuyerPaymentEnum;
104
+ /**
105
+ * Warning that the buyer started fewer than 4 leads, so the buyer classifications are based on little data.
106
+ * @type {boolean}
107
+ * @memberof BuyerDto
108
+ */
109
+ limitedData: boolean;
64
110
  }
65
111
 
112
+
113
+
66
114
  /**
67
115
  * Check if a given object implements the BuyerDto interface.
68
116
  */
@@ -74,6 +122,10 @@ export function instanceOfBuyerDto(value: object): value is BuyerDto {
74
122
  if (!('buyerName' in value) || value['buyerName'] === undefined) return false;
75
123
  if (!('emailDomain' in value) || value['emailDomain'] === undefined) return false;
76
124
  if (!('phoneNumber' in value) || value['phoneNumber'] === undefined) return false;
125
+ if (!('experience' in value) || value['experience'] === undefined) return false;
126
+ if (!('accepted' in value) || value['accepted'] === undefined) return false;
127
+ if (!('payment' in value) || value['payment'] === undefined) return false;
128
+ if (!('limitedData' in value) || value['limitedData'] === undefined) return false;
77
129
  return true;
78
130
  }
79
131
 
@@ -94,6 +146,10 @@ export function BuyerDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean):
94
146
  'buyerName': json['buyerName'],
95
147
  'emailDomain': json['emailDomain'],
96
148
  'phoneNumber': json['phoneNumber'],
149
+ 'experience': BuyerExperienceEnumFromJSON(json['experience']),
150
+ 'accepted': BuyerAcceptanceEnumFromJSON(json['accepted']),
151
+ 'payment': BuyerPaymentEnumFromJSON(json['payment']),
152
+ 'limitedData': json['limitedData'],
97
153
  };
98
154
  }
99
155
 
@@ -115,6 +171,10 @@ export function BuyerDtoToJSONTyped(value?: BuyerDto | null, ignoreDiscriminator
115
171
  'buyerName': value['buyerName'],
116
172
  'emailDomain': value['emailDomain'],
117
173
  'phoneNumber': value['phoneNumber'],
174
+ 'experience': BuyerExperienceEnumToJSON(value['experience']),
175
+ 'accepted': BuyerAcceptanceEnumToJSON(value['accepted']),
176
+ 'payment': BuyerPaymentEnumToJSON(value['payment']),
177
+ 'limitedData': value['limitedData'],
118
178
  };
119
179
  }
120
180
 
@@ -0,0 +1,54 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
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
+
16
+ /**
17
+ * Experience level based on the number of domains the buyer bought: none (0), active (1-3), expert (4+).
18
+ * @export
19
+ */
20
+ export const BuyerExperienceEnum = {
21
+ NONE: 'none',
22
+ ACTIVE: 'active',
23
+ EXPERT: 'expert'
24
+ } as const;
25
+ export type BuyerExperienceEnum = typeof BuyerExperienceEnum[keyof typeof BuyerExperienceEnum];
26
+
27
+
28
+ export function instanceOfBuyerExperienceEnum(value: any): boolean {
29
+ for (const key in BuyerExperienceEnum) {
30
+ if (Object.prototype.hasOwnProperty.call(BuyerExperienceEnum, key)) {
31
+ if (BuyerExperienceEnum[key as keyof typeof BuyerExperienceEnum] === value) {
32
+ return true;
33
+ }
34
+ }
35
+ }
36
+ return false;
37
+ }
38
+
39
+ export function BuyerExperienceEnumFromJSON(json: any): BuyerExperienceEnum {
40
+ return BuyerExperienceEnumFromJSONTyped(json, false);
41
+ }
42
+
43
+ export function BuyerExperienceEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): BuyerExperienceEnum {
44
+ return json as BuyerExperienceEnum;
45
+ }
46
+
47
+ export function BuyerExperienceEnumToJSON(value?: BuyerExperienceEnum | null): any {
48
+ return value as any;
49
+ }
50
+
51
+ export function BuyerExperienceEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): BuyerExperienceEnum {
52
+ return value as BuyerExperienceEnum;
53
+ }
54
+
@@ -0,0 +1,57 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
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
+
16
+ /**
17
+ * Share of the leads the buyer started that were actually paid: pays_nothing (0%), pays_very_little (below 25%), normal (25-75%), pays_almost_everything (75-100%), pays_everything (100%), or unknown when the buyer has a single lead and no purchase yet.
18
+ * @export
19
+ */
20
+ export const BuyerPaymentEnum = {
21
+ UNKNOWN: 'unknown',
22
+ PAYS_NOTHING: 'pays_nothing',
23
+ PAYS_VERY_LITTLE: 'pays_very_little',
24
+ NORMAL: 'normal',
25
+ PAYS_ALMOST_EVERYTHING: 'pays_almost_everything',
26
+ PAYS_EVERYTHING: 'pays_everything'
27
+ } as const;
28
+ export type BuyerPaymentEnum = typeof BuyerPaymentEnum[keyof typeof BuyerPaymentEnum];
29
+
30
+
31
+ export function instanceOfBuyerPaymentEnum(value: any): boolean {
32
+ for (const key in BuyerPaymentEnum) {
33
+ if (Object.prototype.hasOwnProperty.call(BuyerPaymentEnum, key)) {
34
+ if (BuyerPaymentEnum[key as keyof typeof BuyerPaymentEnum] === value) {
35
+ return true;
36
+ }
37
+ }
38
+ }
39
+ return false;
40
+ }
41
+
42
+ export function BuyerPaymentEnumFromJSON(json: any): BuyerPaymentEnum {
43
+ return BuyerPaymentEnumFromJSONTyped(json, false);
44
+ }
45
+
46
+ export function BuyerPaymentEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): BuyerPaymentEnum {
47
+ return json as BuyerPaymentEnum;
48
+ }
49
+
50
+ export function BuyerPaymentEnumToJSON(value?: BuyerPaymentEnum | null): any {
51
+ return value as any;
52
+ }
53
+
54
+ export function BuyerPaymentEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): BuyerPaymentEnum {
55
+ return value as BuyerPaymentEnum;
56
+ }
57
+
@@ -104,6 +104,7 @@ export * from './BulkDownloadInvoicesInput';
104
104
  export * from './BulkMarkBuyerNotificationsAsReadInputDto';
105
105
  export * from './BulkMarkNotificationsAsReadInputDto';
106
106
  export * from './BulkUpdateDomainsWithFiltersInput';
107
+ export * from './BuyerAcceptanceEnum';
107
108
  export * from './BuyerAccessTokenDto';
108
109
  export * from './BuyerAuctionDetailDto';
109
110
  export * from './BuyerAuctionDetailDtoDomain';
@@ -117,6 +118,7 @@ export * from './BuyerDomainTransferAuthCodeDto';
117
118
  export * from './BuyerDomainTransferListItemDomainDto';
118
119
  export * from './BuyerDomainTransferListItemDto';
119
120
  export * from './BuyerDto';
121
+ export * from './BuyerExperienceEnum';
120
122
  export * from './BuyerInvoiceDomainDto';
121
123
  export * from './BuyerInvoiceDto';
122
124
  export * from './BuyerInvoiceSellerAccountDto';
@@ -126,6 +128,7 @@ export * from './BuyerNotificationAttachmentDto';
126
128
  export * from './BuyerNotificationDto';
127
129
  export * from './BuyerNotificationListItemDto';
128
130
  export * from './BuyerNotificationSettingsDto';
131
+ export * from './BuyerPaymentEnum';
129
132
  export * from './BuyerSecurityUserDto';
130
133
  export * from './BuyerSessionDto';
131
134
  export * from './BuyerSubscriptionListItemDto';