@randock/nameshift-api-client 0.0.59 → 0.0.61

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.59
1
+ ## @randock/nameshift-api-client@0.0.61
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.59 --save
39
+ npm install @randock/nameshift-api-client@0.0.61 --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
- bdd18f246d47d2f3ffeb8037325b272826816abdbf9e0fa8b7e95008a0b1a2e2aa6311d5e974cd8837b170ddfe9c115a
47
+ b785a8462a3ce576e5ee49e1d0159f5badf451f9d7ba89c4d3446b95f696d87f6508a270e9b34ae0ec34018a661ca09d
@@ -81,6 +81,12 @@ export interface BuyDomainInput {
81
81
  * @memberof BuyDomainInput
82
82
  */
83
83
  address: string;
84
+ /**
85
+ *
86
+ * @type {string}
87
+ * @memberof BuyDomainInput
88
+ */
89
+ locale: string;
84
90
  }
85
91
  /**
86
92
  * Check if a given object implements the BuyDomainInput interface.
@@ -40,6 +40,8 @@ function instanceOfBuyDomainInput(value) {
40
40
  return false;
41
41
  if (!('address' in value) || value['address'] === undefined)
42
42
  return false;
43
+ if (!('locale' in value) || value['locale'] === undefined)
44
+ return false;
43
45
  return true;
44
46
  }
45
47
  exports.instanceOfBuyDomainInput = instanceOfBuyDomainInput;
@@ -63,6 +65,7 @@ function BuyDomainInputFromJSONTyped(json, ignoreDiscriminator) {
63
65
  'city': json['city'],
64
66
  'postalCode': json['postalCode'],
65
67
  'address': json['address'],
68
+ 'locale': json['locale'],
66
69
  };
67
70
  }
68
71
  exports.BuyDomainInputFromJSONTyped = BuyDomainInputFromJSONTyped;
@@ -82,6 +85,7 @@ function BuyDomainInputToJSON(value) {
82
85
  'city': value['city'],
83
86
  'postalCode': value['postalCode'],
84
87
  'address': value['address'],
88
+ 'locale': value['locale'],
85
89
  };
86
90
  }
87
91
  exports.BuyDomainInputToJSON = BuyDomainInputToJSON;
@@ -33,18 +33,6 @@ export interface BuyerUserDto {
33
33
  * @memberof BuyerUserDto
34
34
  */
35
35
  email: string;
36
- /**
37
- * Buyer user firstname
38
- * @type {string}
39
- * @memberof BuyerUserDto
40
- */
41
- firstname: string;
42
- /**
43
- * Buyer user lastname
44
- * @type {string}
45
- * @memberof BuyerUserDto
46
- */
47
- lastname: string;
48
36
  /**
49
37
  * Buyer user roles
50
38
  * @type {Array<string>}
@@ -24,10 +24,6 @@ function instanceOfBuyerUserDto(value) {
24
24
  return false;
25
25
  if (!('email' in value) || value['email'] === undefined)
26
26
  return false;
27
- if (!('firstname' in value) || value['firstname'] === undefined)
28
- return false;
29
- if (!('lastname' in value) || value['lastname'] === undefined)
30
- return false;
31
27
  if (!('roles' in value) || value['roles'] === undefined)
32
28
  return false;
33
29
  return true;
@@ -45,8 +41,6 @@ function BuyerUserDtoFromJSONTyped(json, ignoreDiscriminator) {
45
41
  'id': json['id'],
46
42
  'locale': json['locale'],
47
43
  'email': json['email'],
48
- 'firstname': json['firstname'],
49
- 'lastname': json['lastname'],
50
44
  'roles': json['roles'],
51
45
  };
52
46
  }
@@ -59,8 +53,6 @@ function BuyerUserDtoToJSON(value) {
59
53
  'id': value['id'],
60
54
  'locale': value['locale'],
61
55
  'email': value['email'],
62
- 'firstname': value['firstname'],
63
- 'lastname': value['lastname'],
64
56
  'roles': value['roles'],
65
57
  };
66
58
  }
@@ -64,6 +64,12 @@ export interface CreateLeadInput {
64
64
  * @memberof CreateLeadInput
65
65
  */
66
66
  offeredBy: CreateLeadInputOfferedByEnum;
67
+ /**
68
+ *
69
+ * @type {string}
70
+ * @memberof CreateLeadInput
71
+ */
72
+ locale: string;
67
73
  }
68
74
  /**
69
75
  * @export
@@ -43,6 +43,8 @@ function instanceOfCreateLeadInput(value) {
43
43
  return false;
44
44
  if (!('offeredBy' in value) || value['offeredBy'] === undefined)
45
45
  return false;
46
+ if (!('locale' in value) || value['locale'] === undefined)
47
+ return false;
46
48
  return true;
47
49
  }
48
50
  exports.instanceOfCreateLeadInput = instanceOfCreateLeadInput;
@@ -63,6 +65,7 @@ function CreateLeadInputFromJSONTyped(json, ignoreDiscriminator) {
63
65
  'companyName': json['companyName'],
64
66
  'offer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['offer']),
65
67
  'offeredBy': json['offeredBy'],
68
+ 'locale': json['locale'],
66
69
  };
67
70
  }
68
71
  exports.CreateLeadInputFromJSONTyped = CreateLeadInputFromJSONTyped;
@@ -79,6 +82,7 @@ function CreateLeadInputToJSON(value) {
79
82
  'companyName': value['companyName'],
80
83
  'offer': (0, MoneyDto_1.MoneyDtoToJSON)(value['offer']),
81
84
  'offeredBy': value['offeredBy'],
85
+ 'locale': value['locale'],
82
86
  };
83
87
  }
84
88
  exports.CreateLeadInputToJSON = CreateLeadInputToJSON;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.59",
3
+ "version": "0.0.61",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -85,6 +85,12 @@ export interface BuyDomainInput {
85
85
  * @memberof BuyDomainInput
86
86
  */
87
87
  address: string;
88
+ /**
89
+ *
90
+ * @type {string}
91
+ * @memberof BuyDomainInput
92
+ */
93
+ locale: string;
88
94
  }
89
95
 
90
96
  /**
@@ -102,6 +108,7 @@ export function instanceOfBuyDomainInput(value: object): value is BuyDomainInput
102
108
  if (!('city' in value) || value['city'] === undefined) return false;
103
109
  if (!('postalCode' in value) || value['postalCode'] === undefined) return false;
104
110
  if (!('address' in value) || value['address'] === undefined) return false;
111
+ if (!('locale' in value) || value['locale'] === undefined) return false;
105
112
  return true;
106
113
  }
107
114
 
@@ -126,6 +133,7 @@ export function BuyDomainInputFromJSONTyped(json: any, ignoreDiscriminator: bool
126
133
  'city': json['city'],
127
134
  'postalCode': json['postalCode'],
128
135
  'address': json['address'],
136
+ 'locale': json['locale'],
129
137
  };
130
138
  }
131
139
 
@@ -146,6 +154,7 @@ export function BuyDomainInputToJSON(value?: BuyDomainInput | null): any {
146
154
  'city': value['city'],
147
155
  'postalCode': value['postalCode'],
148
156
  'address': value['address'],
157
+ 'locale': value['locale'],
149
158
  };
150
159
  }
151
160
 
@@ -37,18 +37,6 @@ export interface BuyerUserDto {
37
37
  * @memberof BuyerUserDto
38
38
  */
39
39
  email: string;
40
- /**
41
- * Buyer user firstname
42
- * @type {string}
43
- * @memberof BuyerUserDto
44
- */
45
- firstname: string;
46
- /**
47
- * Buyer user lastname
48
- * @type {string}
49
- * @memberof BuyerUserDto
50
- */
51
- lastname: string;
52
40
  /**
53
41
  * Buyer user roles
54
42
  * @type {Array<string>}
@@ -64,8 +52,6 @@ export function instanceOfBuyerUserDto(value: object): value is BuyerUserDto {
64
52
  if (!('id' in value) || value['id'] === undefined) return false;
65
53
  if (!('locale' in value) || value['locale'] === undefined) return false;
66
54
  if (!('email' in value) || value['email'] === undefined) return false;
67
- if (!('firstname' in value) || value['firstname'] === undefined) return false;
68
- if (!('lastname' in value) || value['lastname'] === undefined) return false;
69
55
  if (!('roles' in value) || value['roles'] === undefined) return false;
70
56
  return true;
71
57
  }
@@ -83,8 +69,6 @@ export function BuyerUserDtoFromJSONTyped(json: any, ignoreDiscriminator: boolea
83
69
  'id': json['id'],
84
70
  'locale': json['locale'],
85
71
  'email': json['email'],
86
- 'firstname': json['firstname'],
87
- 'lastname': json['lastname'],
88
72
  'roles': json['roles'],
89
73
  };
90
74
  }
@@ -98,8 +82,6 @@ export function BuyerUserDtoToJSON(value?: BuyerUserDto | null): any {
98
82
  'id': value['id'],
99
83
  'locale': value['locale'],
100
84
  'email': value['email'],
101
- 'firstname': value['firstname'],
102
- 'lastname': value['lastname'],
103
85
  'roles': value['roles'],
104
86
  };
105
87
  }
@@ -74,6 +74,12 @@ export interface CreateLeadInput {
74
74
  * @memberof CreateLeadInput
75
75
  */
76
76
  offeredBy: CreateLeadInputOfferedByEnum;
77
+ /**
78
+ *
79
+ * @type {string}
80
+ * @memberof CreateLeadInput
81
+ */
82
+ locale: string;
77
83
  }
78
84
 
79
85
 
@@ -100,6 +106,7 @@ export function instanceOfCreateLeadInput(value: object): value is CreateLeadInp
100
106
  if (!('companyName' in value) || value['companyName'] === undefined) return false;
101
107
  if (!('offer' in value) || value['offer'] === undefined) return false;
102
108
  if (!('offeredBy' in value) || value['offeredBy'] === undefined) return false;
109
+ if (!('locale' in value) || value['locale'] === undefined) return false;
103
110
  return true;
104
111
  }
105
112
 
@@ -121,6 +128,7 @@ export function CreateLeadInputFromJSONTyped(json: any, ignoreDiscriminator: boo
121
128
  'companyName': json['companyName'],
122
129
  'offer': MoneyDtoFromJSON(json['offer']),
123
130
  'offeredBy': json['offeredBy'],
131
+ 'locale': json['locale'],
124
132
  };
125
133
  }
126
134
 
@@ -138,6 +146,7 @@ export function CreateLeadInputToJSON(value?: CreateLeadInput | null): any {
138
146
  'companyName': value['companyName'],
139
147
  'offer': MoneyDtoToJSON(value['offer']),
140
148
  'offeredBy': value['offeredBy'],
149
+ 'locale': value['locale'],
141
150
  };
142
151
  }
143
152