@randock/nameshift-api-client 0.0.59 → 0.0.60

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.60
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.60 --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
+ ef20fbb495321c36799be766d79507f13139a74f6a26fc75d282281cab328799387fff250dd40a5265de34b65ae64c1d
@@ -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;
@@ -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.60",
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
 
@@ -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