@digital8/security-registers-backend-ts-sdk 0.0.85 → 0.0.86
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
|
-
## @digital8/security-registers-backend-ts-sdk@0.0.
|
|
1
|
+
## @digital8/security-registers-backend-ts-sdk@0.0.86
|
|
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 @digital8/security-registers-backend-ts-sdk@0.0.
|
|
39
|
+
npm install @digital8/security-registers-backend-ts-sdk@0.0.86 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -53,16 +53,16 @@ export interface UsersCreateWithRoleRequest {
|
|
|
53
53
|
role: UsersCreateWithRoleRequestRoleEnum;
|
|
54
54
|
/**
|
|
55
55
|
*
|
|
56
|
-
* @type {number}
|
|
56
|
+
* @type {Array<number>}
|
|
57
57
|
* @memberof UsersCreateWithRoleRequest
|
|
58
58
|
*/
|
|
59
|
-
|
|
59
|
+
venueIds?: Array<number>;
|
|
60
60
|
/**
|
|
61
61
|
*
|
|
62
|
-
* @type {number}
|
|
62
|
+
* @type {Array<number>}
|
|
63
63
|
* @memberof UsersCreateWithRoleRequest
|
|
64
64
|
*/
|
|
65
|
-
|
|
65
|
+
securityCompanyIds?: Array<number>;
|
|
66
66
|
}
|
|
67
67
|
/**
|
|
68
68
|
* @export
|
|
@@ -60,8 +60,8 @@ function UsersCreateWithRoleRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
60
60
|
'mobile': json['mobile'],
|
|
61
61
|
'password': json['password'],
|
|
62
62
|
'role': json['role'],
|
|
63
|
-
'
|
|
64
|
-
'
|
|
63
|
+
'venueIds': json['venue_ids'] == null ? undefined : json['venue_ids'],
|
|
64
|
+
'securityCompanyIds': json['security_company_ids'] == null ? undefined : json['security_company_ids'],
|
|
65
65
|
};
|
|
66
66
|
}
|
|
67
67
|
function UsersCreateWithRoleRequestToJSON(json) {
|
|
@@ -79,7 +79,7 @@ function UsersCreateWithRoleRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
79
79
|
'mobile': value['mobile'],
|
|
80
80
|
'password': value['password'],
|
|
81
81
|
'role': value['role'],
|
|
82
|
-
'
|
|
83
|
-
'
|
|
82
|
+
'venue_ids': value['venueIds'],
|
|
83
|
+
'security_company_ids': value['securityCompanyIds'],
|
|
84
84
|
};
|
|
85
85
|
}
|
package/package.json
CHANGED
|
@@ -57,16 +57,16 @@ export interface UsersCreateWithRoleRequest {
|
|
|
57
57
|
role: UsersCreateWithRoleRequestRoleEnum;
|
|
58
58
|
/**
|
|
59
59
|
*
|
|
60
|
-
* @type {number}
|
|
60
|
+
* @type {Array<number>}
|
|
61
61
|
* @memberof UsersCreateWithRoleRequest
|
|
62
62
|
*/
|
|
63
|
-
|
|
63
|
+
venueIds?: Array<number>;
|
|
64
64
|
/**
|
|
65
65
|
*
|
|
66
|
-
* @type {number}
|
|
66
|
+
* @type {Array<number>}
|
|
67
67
|
* @memberof UsersCreateWithRoleRequest
|
|
68
68
|
*/
|
|
69
|
-
|
|
69
|
+
securityCompanyIds?: Array<number>;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
|
|
@@ -111,8 +111,8 @@ export function UsersCreateWithRoleRequestFromJSONTyped(json: any, ignoreDiscrim
|
|
|
111
111
|
'mobile': json['mobile'],
|
|
112
112
|
'password': json['password'],
|
|
113
113
|
'role': json['role'],
|
|
114
|
-
'
|
|
115
|
-
'
|
|
114
|
+
'venueIds': json['venue_ids'] == null ? undefined : json['venue_ids'],
|
|
115
|
+
'securityCompanyIds': json['security_company_ids'] == null ? undefined : json['security_company_ids'],
|
|
116
116
|
};
|
|
117
117
|
}
|
|
118
118
|
|
|
@@ -133,8 +133,8 @@ export function UsersCreateWithRoleRequestToJSONTyped(value?: UsersCreateWithRol
|
|
|
133
133
|
'mobile': value['mobile'],
|
|
134
134
|
'password': value['password'],
|
|
135
135
|
'role': value['role'],
|
|
136
|
-
'
|
|
137
|
-
'
|
|
136
|
+
'venue_ids': value['venueIds'],
|
|
137
|
+
'security_company_ids': value['securityCompanyIds'],
|
|
138
138
|
};
|
|
139
139
|
}
|
|
140
140
|
|