@randock/nameshift-api-client 0.0.8 → 0.0.10

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.
@@ -17,28 +17,28 @@
17
17
  export interface AccountFinancialInput {
18
18
  /**
19
19
  *
20
- * @type {boolean}
20
+ * @type {string}
21
21
  * @memberof AccountFinancialInput
22
22
  */
23
- company: boolean;
23
+ companyName: string | null;
24
24
  /**
25
25
  *
26
26
  * @type {string}
27
27
  * @memberof AccountFinancialInput
28
28
  */
29
- companyName: string;
29
+ companyVatNumber: string | null;
30
30
  /**
31
31
  *
32
32
  * @type {string}
33
33
  * @memberof AccountFinancialInput
34
34
  */
35
- companyVatNumber: string;
35
+ companyRegistrationNumber: string | null;
36
36
  /**
37
37
  *
38
- * @type {string}
38
+ * @type {boolean}
39
39
  * @memberof AccountFinancialInput
40
40
  */
41
- companyRegistrationNumber: string;
41
+ company: boolean;
42
42
  }
43
43
  /**
44
44
  * Check if a given object implements the AccountFinancialInput interface.
@@ -19,10 +19,10 @@ exports.AccountFinancialInputToJSON = exports.AccountFinancialInputFromJSONTyped
19
19
  */
20
20
  function instanceOfAccountFinancialInput(value) {
21
21
  var isInstance = true;
22
- isInstance = isInstance && "company" in value;
23
22
  isInstance = isInstance && "companyName" in value;
24
23
  isInstance = isInstance && "companyVatNumber" in value;
25
24
  isInstance = isInstance && "companyRegistrationNumber" in value;
25
+ isInstance = isInstance && "company" in value;
26
26
  return isInstance;
27
27
  }
28
28
  exports.instanceOfAccountFinancialInput = instanceOfAccountFinancialInput;
@@ -35,10 +35,10 @@ function AccountFinancialInputFromJSONTyped(json, ignoreDiscriminator) {
35
35
  return json;
36
36
  }
37
37
  return {
38
- 'company': json['company'],
39
38
  'companyName': json['companyName'],
40
39
  'companyVatNumber': json['companyVatNumber'],
41
40
  'companyRegistrationNumber': json['companyRegistrationNumber'],
41
+ 'company': json['company'],
42
42
  };
43
43
  }
44
44
  exports.AccountFinancialInputFromJSONTyped = AccountFinancialInputFromJSONTyped;
@@ -50,10 +50,10 @@ function AccountFinancialInputToJSON(value) {
50
50
  return null;
51
51
  }
52
52
  return {
53
- 'company': value.company,
54
53
  'companyName': value.companyName,
55
54
  'companyVatNumber': value.companyVatNumber,
56
55
  'companyRegistrationNumber': value.companyRegistrationNumber,
56
+ 'company': value.company,
57
57
  };
58
58
  }
59
59
  exports.AccountFinancialInputToJSON = AccountFinancialInputToJSON;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.8",
3
+ "version": "0.0.10",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -21,28 +21,28 @@ import { exists, mapValues } from '../runtime';
21
21
  export interface AccountFinancialInput {
22
22
  /**
23
23
  *
24
- * @type {boolean}
24
+ * @type {string}
25
25
  * @memberof AccountFinancialInput
26
26
  */
27
- company: boolean;
27
+ companyName: string | null;
28
28
  /**
29
29
  *
30
30
  * @type {string}
31
31
  * @memberof AccountFinancialInput
32
32
  */
33
- companyName: string;
33
+ companyVatNumber: string | null;
34
34
  /**
35
35
  *
36
36
  * @type {string}
37
37
  * @memberof AccountFinancialInput
38
38
  */
39
- companyVatNumber: string;
39
+ companyRegistrationNumber: string | null;
40
40
  /**
41
41
  *
42
- * @type {string}
42
+ * @type {boolean}
43
43
  * @memberof AccountFinancialInput
44
44
  */
45
- companyRegistrationNumber: string;
45
+ company: boolean;
46
46
  }
47
47
 
48
48
  /**
@@ -50,10 +50,10 @@ export interface AccountFinancialInput {
50
50
  */
51
51
  export function instanceOfAccountFinancialInput(value: object): boolean {
52
52
  let isInstance = true;
53
- isInstance = isInstance && "company" in value;
54
53
  isInstance = isInstance && "companyName" in value;
55
54
  isInstance = isInstance && "companyVatNumber" in value;
56
55
  isInstance = isInstance && "companyRegistrationNumber" in value;
56
+ isInstance = isInstance && "company" in value;
57
57
 
58
58
  return isInstance;
59
59
  }
@@ -68,10 +68,10 @@ export function AccountFinancialInputFromJSONTyped(json: any, ignoreDiscriminato
68
68
  }
69
69
  return {
70
70
 
71
- 'company': json['company'],
72
71
  'companyName': json['companyName'],
73
72
  'companyVatNumber': json['companyVatNumber'],
74
73
  'companyRegistrationNumber': json['companyRegistrationNumber'],
74
+ 'company': json['company'],
75
75
  };
76
76
  }
77
77
 
@@ -84,10 +84,10 @@ export function AccountFinancialInputToJSON(value?: AccountFinancialInput | null
84
84
  }
85
85
  return {
86
86
 
87
- 'company': value.company,
88
87
  'companyName': value.companyName,
89
88
  'companyVatNumber': value.companyVatNumber,
90
89
  'companyRegistrationNumber': value.companyRegistrationNumber,
90
+ 'company': value.company,
91
91
  };
92
92
  }
93
93