@randock/nameshift-api-client 0.0.301 → 0.0.303

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.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.301
1
+ ## @randock/nameshift-api-client@0.0.303
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.301 --save
39
+ npm install @randock/nameshift-api-client@0.0.303 --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
- 8e398ccecc56f25d0555edfb4d9431212376b36635e4b257ea783261b5f1f6bbb00f61fca5d1ead306d1a63aec2a2400
47
+ 601223b8bcfb50d2e9d14e759d04aae91e2a2fa98b35ebadb1364cd51d65f00df5ec11b2acc73685af9c4c7ef8ca50db
@@ -45,6 +45,18 @@ export interface BuyerDto {
45
45
  * @memberof BuyerDto
46
46
  */
47
47
  buyerName: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof BuyerDto
52
+ */
53
+ emailDomain: string;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof BuyerDto
58
+ */
59
+ phoneNumber: string | null;
48
60
  }
49
61
  /**
50
62
  * Check if a given object implements the BuyerDto interface.
@@ -32,6 +32,10 @@ function instanceOfBuyerDto(value) {
32
32
  return false;
33
33
  if (!('buyerName' in value) || value['buyerName'] === undefined)
34
34
  return false;
35
+ if (!('emailDomain' in value) || value['emailDomain'] === undefined)
36
+ return false;
37
+ if (!('phoneNumber' in value) || value['phoneNumber'] === undefined)
38
+ return false;
35
39
  return true;
36
40
  }
37
41
  function BuyerDtoFromJSON(json) {
@@ -47,6 +51,8 @@ function BuyerDtoFromJSONTyped(json, ignoreDiscriminator) {
47
51
  'ipCountryCode': json['ipCountryCode'],
48
52
  'companyName': json['companyName'],
49
53
  'buyerName': json['buyerName'],
54
+ 'emailDomain': json['emailDomain'],
55
+ 'phoneNumber': json['phoneNumber'],
50
56
  };
51
57
  }
52
58
  function BuyerDtoToJSON(json) {
@@ -63,5 +69,7 @@ function BuyerDtoToJSONTyped(value, ignoreDiscriminator) {
63
69
  'ipCountryCode': value['ipCountryCode'],
64
70
  'companyName': value['companyName'],
65
71
  'buyerName': value['buyerName'],
72
+ 'emailDomain': value['emailDomain'],
73
+ 'phoneNumber': value['phoneNumber'],
66
74
  };
67
75
  }
@@ -77,11 +77,20 @@ export interface LandingPageInput {
77
77
  requestLeadBuyerCompanyName?: boolean | null;
78
78
  /**
79
79
  *
80
- * @type {boolean}
80
+ * @type {string}
81
81
  * @memberof LandingPageInput
82
82
  */
83
- requestLeadBuyerPhoneNumber?: boolean | null;
83
+ requestLeadBuyerPhoneNumber?: LandingPageInputRequestLeadBuyerPhoneNumberEnum | null;
84
84
  }
85
+ /**
86
+ * @export
87
+ */
88
+ export declare const LandingPageInputRequestLeadBuyerPhoneNumberEnum: {
89
+ readonly NO: "no";
90
+ readonly REQUIRED: "required";
91
+ readonly OPTIONAL: "optional";
92
+ };
93
+ export type LandingPageInputRequestLeadBuyerPhoneNumberEnum = typeof LandingPageInputRequestLeadBuyerPhoneNumberEnum[keyof typeof LandingPageInputRequestLeadBuyerPhoneNumberEnum];
85
94
  /**
86
95
  * Check if a given object implements the LandingPageInput interface.
87
96
  */
@@ -13,11 +13,20 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.LandingPageInputRequestLeadBuyerPhoneNumberEnum = void 0;
16
17
  exports.instanceOfLandingPageInput = instanceOfLandingPageInput;
17
18
  exports.LandingPageInputFromJSON = LandingPageInputFromJSON;
18
19
  exports.LandingPageInputFromJSONTyped = LandingPageInputFromJSONTyped;
19
20
  exports.LandingPageInputToJSON = LandingPageInputToJSON;
20
21
  exports.LandingPageInputToJSONTyped = LandingPageInputToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.LandingPageInputRequestLeadBuyerPhoneNumberEnum = {
26
+ NO: 'no',
27
+ REQUIRED: 'required',
28
+ OPTIONAL: 'optional'
29
+ };
21
30
  /**
22
31
  * Check if a given object implements the LandingPageInput interface.
23
32
  */
@@ -77,11 +77,20 @@ export interface LandingPageSettingsDto {
77
77
  requestLeadBuyerCompanyName: boolean | null;
78
78
  /**
79
79
  *
80
- * @type {boolean}
80
+ * @type {string}
81
81
  * @memberof LandingPageSettingsDto
82
82
  */
83
- requestLeadBuyerPhoneNumber: boolean | null;
83
+ requestLeadBuyerPhoneNumber: LandingPageSettingsDtoRequestLeadBuyerPhoneNumberEnum | null;
84
84
  }
85
+ /**
86
+ * @export
87
+ */
88
+ export declare const LandingPageSettingsDtoRequestLeadBuyerPhoneNumberEnum: {
89
+ readonly NO: "no";
90
+ readonly REQUIRED: "required";
91
+ readonly OPTIONAL: "optional";
92
+ };
93
+ export type LandingPageSettingsDtoRequestLeadBuyerPhoneNumberEnum = typeof LandingPageSettingsDtoRequestLeadBuyerPhoneNumberEnum[keyof typeof LandingPageSettingsDtoRequestLeadBuyerPhoneNumberEnum];
85
94
  /**
86
95
  * Check if a given object implements the LandingPageSettingsDto interface.
87
96
  */
@@ -13,11 +13,20 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.LandingPageSettingsDtoRequestLeadBuyerPhoneNumberEnum = void 0;
16
17
  exports.instanceOfLandingPageSettingsDto = instanceOfLandingPageSettingsDto;
17
18
  exports.LandingPageSettingsDtoFromJSON = LandingPageSettingsDtoFromJSON;
18
19
  exports.LandingPageSettingsDtoFromJSONTyped = LandingPageSettingsDtoFromJSONTyped;
19
20
  exports.LandingPageSettingsDtoToJSON = LandingPageSettingsDtoToJSON;
20
21
  exports.LandingPageSettingsDtoToJSONTyped = LandingPageSettingsDtoToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.LandingPageSettingsDtoRequestLeadBuyerPhoneNumberEnum = {
26
+ NO: 'no',
27
+ REQUIRED: 'required',
28
+ OPTIONAL: 'optional'
29
+ };
21
30
  /**
22
31
  * Check if a given object implements the LandingPageSettingsDto interface.
23
32
  */
@@ -23,11 +23,20 @@ export interface LeadBuyerConfigDto {
23
23
  requestLeadBuyerCompanyName: boolean;
24
24
  /**
25
25
  *
26
- * @type {boolean}
26
+ * @type {string}
27
27
  * @memberof LeadBuyerConfigDto
28
28
  */
29
- requestLeadBuyerPhoneNumber: boolean;
29
+ requestLeadBuyerPhoneNumber: LeadBuyerConfigDtoRequestLeadBuyerPhoneNumberEnum;
30
30
  }
31
+ /**
32
+ * @export
33
+ */
34
+ export declare const LeadBuyerConfigDtoRequestLeadBuyerPhoneNumberEnum: {
35
+ readonly NO: "no";
36
+ readonly REQUIRED: "required";
37
+ readonly OPTIONAL: "optional";
38
+ };
39
+ export type LeadBuyerConfigDtoRequestLeadBuyerPhoneNumberEnum = typeof LeadBuyerConfigDtoRequestLeadBuyerPhoneNumberEnum[keyof typeof LeadBuyerConfigDtoRequestLeadBuyerPhoneNumberEnum];
31
40
  /**
32
41
  * Check if a given object implements the LeadBuyerConfigDto interface.
33
42
  */
@@ -13,11 +13,20 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.LeadBuyerConfigDtoRequestLeadBuyerPhoneNumberEnum = void 0;
16
17
  exports.instanceOfLeadBuyerConfigDto = instanceOfLeadBuyerConfigDto;
17
18
  exports.LeadBuyerConfigDtoFromJSON = LeadBuyerConfigDtoFromJSON;
18
19
  exports.LeadBuyerConfigDtoFromJSONTyped = LeadBuyerConfigDtoFromJSONTyped;
19
20
  exports.LeadBuyerConfigDtoToJSON = LeadBuyerConfigDtoToJSON;
20
21
  exports.LeadBuyerConfigDtoToJSONTyped = LeadBuyerConfigDtoToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.LeadBuyerConfigDtoRequestLeadBuyerPhoneNumberEnum = {
26
+ NO: 'no',
27
+ REQUIRED: 'required',
28
+ OPTIONAL: 'optional'
29
+ };
21
30
  /**
22
31
  * Check if a given object implements the LeadBuyerConfigDto interface.
23
32
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.301",
3
+ "version": "0.0.303",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -49,6 +49,18 @@ export interface BuyerDto {
49
49
  * @memberof BuyerDto
50
50
  */
51
51
  buyerName: string;
52
+ /**
53
+ *
54
+ * @type {string}
55
+ * @memberof BuyerDto
56
+ */
57
+ emailDomain: string;
58
+ /**
59
+ *
60
+ * @type {string}
61
+ * @memberof BuyerDto
62
+ */
63
+ phoneNumber: string | null;
52
64
  }
53
65
 
54
66
  /**
@@ -60,6 +72,8 @@ export function instanceOfBuyerDto(value: object): value is BuyerDto {
60
72
  if (!('ipCountryCode' in value) || value['ipCountryCode'] === undefined) return false;
61
73
  if (!('companyName' in value) || value['companyName'] === undefined) return false;
62
74
  if (!('buyerName' in value) || value['buyerName'] === undefined) return false;
75
+ if (!('emailDomain' in value) || value['emailDomain'] === undefined) return false;
76
+ if (!('phoneNumber' in value) || value['phoneNumber'] === undefined) return false;
63
77
  return true;
64
78
  }
65
79
 
@@ -78,6 +92,8 @@ export function BuyerDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean):
78
92
  'ipCountryCode': json['ipCountryCode'],
79
93
  'companyName': json['companyName'],
80
94
  'buyerName': json['buyerName'],
95
+ 'emailDomain': json['emailDomain'],
96
+ 'phoneNumber': json['phoneNumber'],
81
97
  };
82
98
  }
83
99
 
@@ -97,6 +113,8 @@ export function BuyerDtoToJSONTyped(value?: BuyerDto | null, ignoreDiscriminator
97
113
  'ipCountryCode': value['ipCountryCode'],
98
114
  'companyName': value['companyName'],
99
115
  'buyerName': value['buyerName'],
116
+ 'emailDomain': value['emailDomain'],
117
+ 'phoneNumber': value['phoneNumber'],
100
118
  };
101
119
  }
102
120
 
@@ -81,12 +81,24 @@ export interface LandingPageInput {
81
81
  requestLeadBuyerCompanyName?: boolean | null;
82
82
  /**
83
83
  *
84
- * @type {boolean}
84
+ * @type {string}
85
85
  * @memberof LandingPageInput
86
86
  */
87
- requestLeadBuyerPhoneNumber?: boolean | null;
87
+ requestLeadBuyerPhoneNumber?: LandingPageInputRequestLeadBuyerPhoneNumberEnum | null;
88
88
  }
89
89
 
90
+
91
+ /**
92
+ * @export
93
+ */
94
+ export const LandingPageInputRequestLeadBuyerPhoneNumberEnum = {
95
+ NO: 'no',
96
+ REQUIRED: 'required',
97
+ OPTIONAL: 'optional'
98
+ } as const;
99
+ export type LandingPageInputRequestLeadBuyerPhoneNumberEnum = typeof LandingPageInputRequestLeadBuyerPhoneNumberEnum[keyof typeof LandingPageInputRequestLeadBuyerPhoneNumberEnum];
100
+
101
+
90
102
  /**
91
103
  * Check if a given object implements the LandingPageInput interface.
92
104
  */
@@ -81,12 +81,24 @@ export interface LandingPageSettingsDto {
81
81
  requestLeadBuyerCompanyName: boolean | null;
82
82
  /**
83
83
  *
84
- * @type {boolean}
84
+ * @type {string}
85
85
  * @memberof LandingPageSettingsDto
86
86
  */
87
- requestLeadBuyerPhoneNumber: boolean | null;
87
+ requestLeadBuyerPhoneNumber: LandingPageSettingsDtoRequestLeadBuyerPhoneNumberEnum | null;
88
88
  }
89
89
 
90
+
91
+ /**
92
+ * @export
93
+ */
94
+ export const LandingPageSettingsDtoRequestLeadBuyerPhoneNumberEnum = {
95
+ NO: 'no',
96
+ REQUIRED: 'required',
97
+ OPTIONAL: 'optional'
98
+ } as const;
99
+ export type LandingPageSettingsDtoRequestLeadBuyerPhoneNumberEnum = typeof LandingPageSettingsDtoRequestLeadBuyerPhoneNumberEnum[keyof typeof LandingPageSettingsDtoRequestLeadBuyerPhoneNumberEnum];
100
+
101
+
90
102
  /**
91
103
  * Check if a given object implements the LandingPageSettingsDto interface.
92
104
  */
@@ -27,12 +27,24 @@ export interface LeadBuyerConfigDto {
27
27
  requestLeadBuyerCompanyName: boolean;
28
28
  /**
29
29
  *
30
- * @type {boolean}
30
+ * @type {string}
31
31
  * @memberof LeadBuyerConfigDto
32
32
  */
33
- requestLeadBuyerPhoneNumber: boolean;
33
+ requestLeadBuyerPhoneNumber: LeadBuyerConfigDtoRequestLeadBuyerPhoneNumberEnum;
34
34
  }
35
35
 
36
+
37
+ /**
38
+ * @export
39
+ */
40
+ export const LeadBuyerConfigDtoRequestLeadBuyerPhoneNumberEnum = {
41
+ NO: 'no',
42
+ REQUIRED: 'required',
43
+ OPTIONAL: 'optional'
44
+ } as const;
45
+ export type LeadBuyerConfigDtoRequestLeadBuyerPhoneNumberEnum = typeof LeadBuyerConfigDtoRequestLeadBuyerPhoneNumberEnum[keyof typeof LeadBuyerConfigDtoRequestLeadBuyerPhoneNumberEnum];
46
+
47
+
36
48
  /**
37
49
  * Check if a given object implements the LeadBuyerConfigDto interface.
38
50
  */