@randock/nameshift-api-client 0.0.187 → 0.0.188
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.188
|
|
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.188 --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
|
+
6e9444314f8c1f5185652b2d9a270b98228165d02f566fe7da8ba141b1b33caeab7f16e5d397828b6efda3f0bf750fd2
|
|
@@ -51,7 +51,28 @@ export interface RegisterAccountInput {
|
|
|
51
51
|
* @memberof RegisterAccountInput
|
|
52
52
|
*/
|
|
53
53
|
phoneNumber?: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof RegisterAccountInput
|
|
58
|
+
*/
|
|
59
|
+
adProgram?: RegisterAccountInputAdProgramEnum | null;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof RegisterAccountInput
|
|
64
|
+
*/
|
|
65
|
+
adId?: string | null;
|
|
54
66
|
}
|
|
67
|
+
/**
|
|
68
|
+
* @export
|
|
69
|
+
*/
|
|
70
|
+
export declare const RegisterAccountInputAdProgramEnum: {
|
|
71
|
+
readonly ADWORDS: "adwords";
|
|
72
|
+
readonly MICROSOFT: "microsoft";
|
|
73
|
+
readonly FACEBOOK: "facebook";
|
|
74
|
+
};
|
|
75
|
+
export type RegisterAccountInputAdProgramEnum = typeof RegisterAccountInputAdProgramEnum[keyof typeof RegisterAccountInputAdProgramEnum];
|
|
55
76
|
/**
|
|
56
77
|
* Check if a given object implements the RegisterAccountInput interface.
|
|
57
78
|
*/
|
|
@@ -13,11 +13,20 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.RegisterAccountInputAdProgramEnum = void 0;
|
|
16
17
|
exports.instanceOfRegisterAccountInput = instanceOfRegisterAccountInput;
|
|
17
18
|
exports.RegisterAccountInputFromJSON = RegisterAccountInputFromJSON;
|
|
18
19
|
exports.RegisterAccountInputFromJSONTyped = RegisterAccountInputFromJSONTyped;
|
|
19
20
|
exports.RegisterAccountInputToJSON = RegisterAccountInputToJSON;
|
|
20
21
|
exports.RegisterAccountInputToJSONTyped = RegisterAccountInputToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.RegisterAccountInputAdProgramEnum = {
|
|
26
|
+
ADWORDS: 'adwords',
|
|
27
|
+
MICROSOFT: 'microsoft',
|
|
28
|
+
FACEBOOK: 'facebook'
|
|
29
|
+
};
|
|
21
30
|
/**
|
|
22
31
|
* Check if a given object implements the RegisterAccountInput interface.
|
|
23
32
|
*/
|
|
@@ -48,6 +57,8 @@ function RegisterAccountInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
48
57
|
'email': json['email'],
|
|
49
58
|
'password': json['password'],
|
|
50
59
|
'phoneNumber': json['phoneNumber'] == null ? undefined : json['phoneNumber'],
|
|
60
|
+
'adProgram': json['adProgram'] == null ? undefined : json['adProgram'],
|
|
61
|
+
'adId': json['adId'] == null ? undefined : json['adId'],
|
|
51
62
|
};
|
|
52
63
|
}
|
|
53
64
|
function RegisterAccountInputToJSON(json) {
|
|
@@ -65,5 +76,7 @@ function RegisterAccountInputToJSONTyped(value, ignoreDiscriminator) {
|
|
|
65
76
|
'email': value['email'],
|
|
66
77
|
'password': value['password'],
|
|
67
78
|
'phoneNumber': value['phoneNumber'],
|
|
79
|
+
'adProgram': value['adProgram'],
|
|
80
|
+
'adId': value['adId'],
|
|
68
81
|
};
|
|
69
82
|
}
|
package/package.json
CHANGED
|
@@ -55,8 +55,32 @@ export interface RegisterAccountInput {
|
|
|
55
55
|
* @memberof RegisterAccountInput
|
|
56
56
|
*/
|
|
57
57
|
phoneNumber?: string;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof RegisterAccountInput
|
|
62
|
+
*/
|
|
63
|
+
adProgram?: RegisterAccountInputAdProgramEnum | null;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof RegisterAccountInput
|
|
68
|
+
*/
|
|
69
|
+
adId?: string | null;
|
|
58
70
|
}
|
|
59
71
|
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* @export
|
|
75
|
+
*/
|
|
76
|
+
export const RegisterAccountInputAdProgramEnum = {
|
|
77
|
+
ADWORDS: 'adwords',
|
|
78
|
+
MICROSOFT: 'microsoft',
|
|
79
|
+
FACEBOOK: 'facebook'
|
|
80
|
+
} as const;
|
|
81
|
+
export type RegisterAccountInputAdProgramEnum = typeof RegisterAccountInputAdProgramEnum[keyof typeof RegisterAccountInputAdProgramEnum];
|
|
82
|
+
|
|
83
|
+
|
|
60
84
|
/**
|
|
61
85
|
* Check if a given object implements the RegisterAccountInput interface.
|
|
62
86
|
*/
|
|
@@ -85,6 +109,8 @@ export function RegisterAccountInputFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
85
109
|
'email': json['email'],
|
|
86
110
|
'password': json['password'],
|
|
87
111
|
'phoneNumber': json['phoneNumber'] == null ? undefined : json['phoneNumber'],
|
|
112
|
+
'adProgram': json['adProgram'] == null ? undefined : json['adProgram'],
|
|
113
|
+
'adId': json['adId'] == null ? undefined : json['adId'],
|
|
88
114
|
};
|
|
89
115
|
}
|
|
90
116
|
|
|
@@ -105,6 +131,8 @@ export function RegisterAccountInputToJSONTyped(value?: RegisterAccountInput | n
|
|
|
105
131
|
'email': value['email'],
|
|
106
132
|
'password': value['password'],
|
|
107
133
|
'phoneNumber': value['phoneNumber'],
|
|
134
|
+
'adProgram': value['adProgram'],
|
|
135
|
+
'adId': value['adId'],
|
|
108
136
|
};
|
|
109
137
|
}
|
|
110
138
|
|