@randock/nameshift-api-client 0.0.58 → 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.58
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.58 --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
- 374b6e0d25599dbc01b7428e73709eec78fffa1fcb9f64cc25145ba2f13cefb352226feb87b7bb18d4ebd22abdbb0261
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;
@@ -45,6 +45,12 @@ export interface BuyerUserDto {
45
45
  * @memberof BuyerUserDto
46
46
  */
47
47
  lastname: string;
48
+ /**
49
+ * Buyer user roles
50
+ * @type {Array<string>}
51
+ * @memberof BuyerUserDto
52
+ */
53
+ roles: Array<string>;
48
54
  }
49
55
  /**
50
56
  * Check if a given object implements the BuyerUserDto interface.
@@ -28,6 +28,8 @@ function instanceOfBuyerUserDto(value) {
28
28
  return false;
29
29
  if (!('lastname' in value) || value['lastname'] === undefined)
30
30
  return false;
31
+ if (!('roles' in value) || value['roles'] === undefined)
32
+ return false;
31
33
  return true;
32
34
  }
33
35
  exports.instanceOfBuyerUserDto = instanceOfBuyerUserDto;
@@ -45,6 +47,7 @@ function BuyerUserDtoFromJSONTyped(json, ignoreDiscriminator) {
45
47
  'email': json['email'],
46
48
  'firstname': json['firstname'],
47
49
  'lastname': json['lastname'],
50
+ 'roles': json['roles'],
48
51
  };
49
52
  }
50
53
  exports.BuyerUserDtoFromJSONTyped = BuyerUserDtoFromJSONTyped;
@@ -58,6 +61,7 @@ function BuyerUserDtoToJSON(value) {
58
61
  'email': value['email'],
59
62
  'firstname': value['firstname'],
60
63
  'lastname': value['lastname'],
64
+ 'roles': value['roles'],
61
65
  };
62
66
  }
63
67
  exports.BuyerUserDtoToJSON = BuyerUserDtoToJSON;
@@ -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.58",
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
 
@@ -49,6 +49,12 @@ export interface BuyerUserDto {
49
49
  * @memberof BuyerUserDto
50
50
  */
51
51
  lastname: string;
52
+ /**
53
+ * Buyer user roles
54
+ * @type {Array<string>}
55
+ * @memberof BuyerUserDto
56
+ */
57
+ roles: Array<string>;
52
58
  }
53
59
 
54
60
  /**
@@ -60,6 +66,7 @@ export function instanceOfBuyerUserDto(value: object): value is BuyerUserDto {
60
66
  if (!('email' in value) || value['email'] === undefined) return false;
61
67
  if (!('firstname' in value) || value['firstname'] === undefined) return false;
62
68
  if (!('lastname' in value) || value['lastname'] === undefined) return false;
69
+ if (!('roles' in value) || value['roles'] === undefined) return false;
63
70
  return true;
64
71
  }
65
72
 
@@ -78,6 +85,7 @@ export function BuyerUserDtoFromJSONTyped(json: any, ignoreDiscriminator: boolea
78
85
  'email': json['email'],
79
86
  'firstname': json['firstname'],
80
87
  'lastname': json['lastname'],
88
+ 'roles': json['roles'],
81
89
  };
82
90
  }
83
91
 
@@ -92,6 +100,7 @@ export function BuyerUserDtoToJSON(value?: BuyerUserDto | null): any {
92
100
  'email': value['email'],
93
101
  'firstname': value['firstname'],
94
102
  'lastname': value['lastname'],
103
+ 'roles': value['roles'],
95
104
  };
96
105
  }
97
106
 
@@ -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