@randock/nameshift-api-client 0.0.82 → 0.0.83
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.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.83
|
|
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.83 --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
|
+
16d28bf707478821e9d6351a2b7e83e8dcdc547e1ae5f7d6386f4f345154cdbf0682557fdab9ed8b246a1e4ef1c58351
|
|
@@ -21,6 +21,12 @@ export interface RequestAccessTokenInput {
|
|
|
21
21
|
* @memberof RequestAccessTokenInput
|
|
22
22
|
*/
|
|
23
23
|
email: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof RequestAccessTokenInput
|
|
28
|
+
*/
|
|
29
|
+
redirectTo: string | null;
|
|
24
30
|
}
|
|
25
31
|
/**
|
|
26
32
|
* Check if a given object implements the RequestAccessTokenInput interface.
|
|
@@ -20,6 +20,8 @@ exports.RequestAccessTokenInputToJSON = exports.RequestAccessTokenInputFromJSONT
|
|
|
20
20
|
function instanceOfRequestAccessTokenInput(value) {
|
|
21
21
|
if (!('email' in value) || value['email'] === undefined)
|
|
22
22
|
return false;
|
|
23
|
+
if (!('redirectTo' in value) || value['redirectTo'] === undefined)
|
|
24
|
+
return false;
|
|
23
25
|
return true;
|
|
24
26
|
}
|
|
25
27
|
exports.instanceOfRequestAccessTokenInput = instanceOfRequestAccessTokenInput;
|
|
@@ -33,6 +35,7 @@ function RequestAccessTokenInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
35
|
}
|
|
34
36
|
return {
|
|
35
37
|
'email': json['email'],
|
|
38
|
+
'redirectTo': json['redirectTo'],
|
|
36
39
|
};
|
|
37
40
|
}
|
|
38
41
|
exports.RequestAccessTokenInputFromJSONTyped = RequestAccessTokenInputFromJSONTyped;
|
|
@@ -42,6 +45,7 @@ function RequestAccessTokenInputToJSON(value) {
|
|
|
42
45
|
}
|
|
43
46
|
return {
|
|
44
47
|
'email': value['email'],
|
|
48
|
+
'redirectTo': value['redirectTo'],
|
|
45
49
|
};
|
|
46
50
|
}
|
|
47
51
|
exports.RequestAccessTokenInputToJSON = RequestAccessTokenInputToJSON;
|
package/package.json
CHANGED
|
@@ -25,6 +25,12 @@ export interface RequestAccessTokenInput {
|
|
|
25
25
|
* @memberof RequestAccessTokenInput
|
|
26
26
|
*/
|
|
27
27
|
email: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof RequestAccessTokenInput
|
|
32
|
+
*/
|
|
33
|
+
redirectTo: string | null;
|
|
28
34
|
}
|
|
29
35
|
|
|
30
36
|
/**
|
|
@@ -32,6 +38,7 @@ export interface RequestAccessTokenInput {
|
|
|
32
38
|
*/
|
|
33
39
|
export function instanceOfRequestAccessTokenInput(value: object): value is RequestAccessTokenInput {
|
|
34
40
|
if (!('email' in value) || value['email'] === undefined) return false;
|
|
41
|
+
if (!('redirectTo' in value) || value['redirectTo'] === undefined) return false;
|
|
35
42
|
return true;
|
|
36
43
|
}
|
|
37
44
|
|
|
@@ -46,6 +53,7 @@ export function RequestAccessTokenInputFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
46
53
|
return {
|
|
47
54
|
|
|
48
55
|
'email': json['email'],
|
|
56
|
+
'redirectTo': json['redirectTo'],
|
|
49
57
|
};
|
|
50
58
|
}
|
|
51
59
|
|
|
@@ -56,6 +64,7 @@ export function RequestAccessTokenInputToJSON(value?: RequestAccessTokenInput |
|
|
|
56
64
|
return {
|
|
57
65
|
|
|
58
66
|
'email': value['email'],
|
|
67
|
+
'redirectTo': value['redirectTo'],
|
|
59
68
|
};
|
|
60
69
|
}
|
|
61
70
|
|