@randock/nameshift-api-client 0.0.99 → 0.0.100
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 +3 -3
- package/dist/models/CreateOrderInput.d.ts +12 -0
- package/dist/models/CreateOrderInput.js +4 -0
- package/dist/models/UpdateOrderInput.d.ts +12 -0
- package/dist/models/UpdateOrderInput.js +4 -0
- package/package.json +1 -1
- package/src/models/CreateOrderInput.ts +16 -0
- package/src/models/UpdateOrderInput.ts +16 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.100
|
|
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.
|
|
39
|
+
npm install @randock/nameshift-api-client@0.0.100 --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
|
-
|
|
47
|
+
d76bdca92abb38064d62315ee94e39223c304decb4d7818a2be73291cab20aa1b926a33fb94662bbadbf3ccbbcc1f7e7
|
|
@@ -40,6 +40,18 @@ export interface CreateOrderInput {
|
|
|
40
40
|
* @memberof CreateOrderInput
|
|
41
41
|
*/
|
|
42
42
|
email?: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof CreateOrderInput
|
|
47
|
+
*/
|
|
48
|
+
firstName?: string | null;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof CreateOrderInput
|
|
53
|
+
*/
|
|
54
|
+
lastName?: string | null;
|
|
43
55
|
/**
|
|
44
56
|
*
|
|
45
57
|
* @type {string}
|
|
@@ -42,6 +42,8 @@ function CreateOrderInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
42
|
'locale': json['locale'],
|
|
43
43
|
'domainName': json['domainName'],
|
|
44
44
|
'email': json['email'] == null ? undefined : json['email'],
|
|
45
|
+
'firstName': json['firstName'] == null ? undefined : json['firstName'],
|
|
46
|
+
'lastName': json['lastName'] == null ? undefined : json['lastName'],
|
|
45
47
|
'addressCountryCode': json['addressCountryCode'] == null ? undefined : json['addressCountryCode'],
|
|
46
48
|
'addressStateCode': json['addressStateCode'] == null ? undefined : json['addressStateCode'],
|
|
47
49
|
'addressLine1': json['addressLine1'] == null ? undefined : json['addressLine1'],
|
|
@@ -60,6 +62,8 @@ function CreateOrderInputToJSON(value) {
|
|
|
60
62
|
'locale': value['locale'],
|
|
61
63
|
'domainName': value['domainName'],
|
|
62
64
|
'email': value['email'],
|
|
65
|
+
'firstName': value['firstName'],
|
|
66
|
+
'lastName': value['lastName'],
|
|
63
67
|
'addressCountryCode': value['addressCountryCode'],
|
|
64
68
|
'addressStateCode': value['addressStateCode'],
|
|
65
69
|
'addressLine1': value['addressLine1'],
|
|
@@ -22,6 +22,18 @@ export interface UpdateOrderInput {
|
|
|
22
22
|
* @memberof UpdateOrderInput
|
|
23
23
|
*/
|
|
24
24
|
email?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof UpdateOrderInput
|
|
29
|
+
*/
|
|
30
|
+
firstName?: string | null;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof UpdateOrderInput
|
|
35
|
+
*/
|
|
36
|
+
lastName?: string | null;
|
|
25
37
|
/**
|
|
26
38
|
*
|
|
27
39
|
* @type {string}
|
|
@@ -33,6 +33,8 @@ function UpdateOrderInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
33
|
}
|
|
34
34
|
return {
|
|
35
35
|
'email': json['email'] == null ? undefined : json['email'],
|
|
36
|
+
'firstName': json['firstName'] == null ? undefined : json['firstName'],
|
|
37
|
+
'lastName': json['lastName'] == null ? undefined : json['lastName'],
|
|
36
38
|
'addressCountryCode': json['addressCountryCode'] == null ? undefined : json['addressCountryCode'],
|
|
37
39
|
'addressStateCode': json['addressStateCode'] == null ? undefined : json['addressStateCode'],
|
|
38
40
|
'addressLine1': json['addressLine1'] == null ? undefined : json['addressLine1'],
|
|
@@ -48,6 +50,8 @@ function UpdateOrderInputToJSON(value) {
|
|
|
48
50
|
}
|
|
49
51
|
return {
|
|
50
52
|
'email': value['email'],
|
|
53
|
+
'firstName': value['firstName'],
|
|
54
|
+
'lastName': value['lastName'],
|
|
51
55
|
'addressCountryCode': value['addressCountryCode'],
|
|
52
56
|
'addressStateCode': value['addressStateCode'],
|
|
53
57
|
'addressLine1': value['addressLine1'],
|
package/package.json
CHANGED
|
@@ -50,6 +50,18 @@ export interface CreateOrderInput {
|
|
|
50
50
|
* @memberof CreateOrderInput
|
|
51
51
|
*/
|
|
52
52
|
email?: string;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof CreateOrderInput
|
|
57
|
+
*/
|
|
58
|
+
firstName?: string | null;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof CreateOrderInput
|
|
63
|
+
*/
|
|
64
|
+
lastName?: string | null;
|
|
53
65
|
/**
|
|
54
66
|
*
|
|
55
67
|
* @type {string}
|
|
@@ -118,6 +130,8 @@ export function CreateOrderInputFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
118
130
|
'locale': json['locale'],
|
|
119
131
|
'domainName': json['domainName'],
|
|
120
132
|
'email': json['email'] == null ? undefined : json['email'],
|
|
133
|
+
'firstName': json['firstName'] == null ? undefined : json['firstName'],
|
|
134
|
+
'lastName': json['lastName'] == null ? undefined : json['lastName'],
|
|
121
135
|
'addressCountryCode': json['addressCountryCode'] == null ? undefined : json['addressCountryCode'],
|
|
122
136
|
'addressStateCode': json['addressStateCode'] == null ? undefined : json['addressStateCode'],
|
|
123
137
|
'addressLine1': json['addressLine1'] == null ? undefined : json['addressLine1'],
|
|
@@ -138,6 +152,8 @@ export function CreateOrderInputToJSON(value?: CreateOrderInput | null): any {
|
|
|
138
152
|
'locale': value['locale'],
|
|
139
153
|
'domainName': value['domainName'],
|
|
140
154
|
'email': value['email'],
|
|
155
|
+
'firstName': value['firstName'],
|
|
156
|
+
'lastName': value['lastName'],
|
|
141
157
|
'addressCountryCode': value['addressCountryCode'],
|
|
142
158
|
'addressStateCode': value['addressStateCode'],
|
|
143
159
|
'addressLine1': value['addressLine1'],
|
|
@@ -32,6 +32,18 @@ export interface UpdateOrderInput {
|
|
|
32
32
|
* @memberof UpdateOrderInput
|
|
33
33
|
*/
|
|
34
34
|
email?: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof UpdateOrderInput
|
|
39
|
+
*/
|
|
40
|
+
firstName?: string | null;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof UpdateOrderInput
|
|
45
|
+
*/
|
|
46
|
+
lastName?: string | null;
|
|
35
47
|
/**
|
|
36
48
|
*
|
|
37
49
|
* @type {string}
|
|
@@ -94,6 +106,8 @@ export function UpdateOrderInputFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
94
106
|
return {
|
|
95
107
|
|
|
96
108
|
'email': json['email'] == null ? undefined : json['email'],
|
|
109
|
+
'firstName': json['firstName'] == null ? undefined : json['firstName'],
|
|
110
|
+
'lastName': json['lastName'] == null ? undefined : json['lastName'],
|
|
97
111
|
'addressCountryCode': json['addressCountryCode'] == null ? undefined : json['addressCountryCode'],
|
|
98
112
|
'addressStateCode': json['addressStateCode'] == null ? undefined : json['addressStateCode'],
|
|
99
113
|
'addressLine1': json['addressLine1'] == null ? undefined : json['addressLine1'],
|
|
@@ -111,6 +125,8 @@ export function UpdateOrderInputToJSON(value?: UpdateOrderInput | null): any {
|
|
|
111
125
|
return {
|
|
112
126
|
|
|
113
127
|
'email': value['email'],
|
|
128
|
+
'firstName': value['firstName'],
|
|
129
|
+
'lastName': value['lastName'],
|
|
114
130
|
'addressCountryCode': value['addressCountryCode'],
|
|
115
131
|
'addressStateCode': value['addressStateCode'],
|
|
116
132
|
'addressLine1': value['addressLine1'],
|