@randock/nameshift-api-client 0.0.170 → 0.0.171
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.171
|
|
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.171 --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
|
+
8bcba1ea481f23fb632b07ffe8fabd8e1fed138b6b792202cd5a348d0964d5e2de130fc66e0c0a961bc39347e66dab21
|
|
@@ -34,6 +34,8 @@ function instanceOfPaymentProviderDto(value) {
|
|
|
34
34
|
return false;
|
|
35
35
|
if (!('status' in value) || value['status'] === undefined)
|
|
36
36
|
return false;
|
|
37
|
+
if (!('onboardingFinished' in value) || value['onboardingFinished'] === undefined)
|
|
38
|
+
return false;
|
|
37
39
|
return true;
|
|
38
40
|
}
|
|
39
41
|
function PaymentProviderDtoFromJSON(json) {
|
|
@@ -46,6 +48,7 @@ function PaymentProviderDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
46
48
|
return {
|
|
47
49
|
'accountId': json['accountId'],
|
|
48
50
|
'status': json['status'],
|
|
51
|
+
'onboardingFinished': json['onboardingFinished'],
|
|
49
52
|
};
|
|
50
53
|
}
|
|
51
54
|
function PaymentProviderDtoToJSON(json) {
|
|
@@ -59,5 +62,6 @@ function PaymentProviderDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
59
62
|
return {
|
|
60
63
|
'accountId': value['accountId'],
|
|
61
64
|
'status': value['status'],
|
|
65
|
+
'onboardingFinished': value['onboardingFinished'],
|
|
62
66
|
};
|
|
63
67
|
}
|
package/package.json
CHANGED
|
@@ -31,6 +31,12 @@ export interface PaymentProviderDto {
|
|
|
31
31
|
* @memberof PaymentProviderDto
|
|
32
32
|
*/
|
|
33
33
|
status: PaymentProviderDtoStatusEnum;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {boolean}
|
|
37
|
+
* @memberof PaymentProviderDto
|
|
38
|
+
*/
|
|
39
|
+
onboardingFinished: boolean;
|
|
34
40
|
}
|
|
35
41
|
|
|
36
42
|
|
|
@@ -50,6 +56,7 @@ export type PaymentProviderDtoStatusEnum = typeof PaymentProviderDtoStatusEnum[k
|
|
|
50
56
|
export function instanceOfPaymentProviderDto(value: object): value is PaymentProviderDto {
|
|
51
57
|
if (!('accountId' in value) || value['accountId'] === undefined) return false;
|
|
52
58
|
if (!('status' in value) || value['status'] === undefined) return false;
|
|
59
|
+
if (!('onboardingFinished' in value) || value['onboardingFinished'] === undefined) return false;
|
|
53
60
|
return true;
|
|
54
61
|
}
|
|
55
62
|
|
|
@@ -65,6 +72,7 @@ export function PaymentProviderDtoFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
65
72
|
|
|
66
73
|
'accountId': json['accountId'],
|
|
67
74
|
'status': json['status'],
|
|
75
|
+
'onboardingFinished': json['onboardingFinished'],
|
|
68
76
|
};
|
|
69
77
|
}
|
|
70
78
|
|
|
@@ -81,6 +89,7 @@ export function PaymentProviderDtoFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
81
89
|
|
|
82
90
|
'accountId': value['accountId'],
|
|
83
91
|
'status': value['status'],
|
|
92
|
+
'onboardingFinished': value['onboardingFinished'],
|
|
84
93
|
};
|
|
85
94
|
}
|
|
86
95
|
|