@digital8/security-registers-backend-ts-sdk 0.0.81 → 0.0.82
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 +2 -2
- package/dist/models/IndexUserRequest.d.ts +9 -1
- package/dist/models/IndexUserRequest.js +8 -1
- package/dist/models/SecurityCompaniesListRequest.d.ts +9 -1
- package/dist/models/SecurityCompaniesListRequest.js +8 -1
- package/dist/models/UsersCreateWithRoleRequest.d.ts +4 -4
- package/dist/models/UsersCreateWithRoleRequest.js +4 -4
- package/dist/models/VenuesListRequest.d.ts +9 -1
- package/dist/models/VenuesListRequest.js +8 -1
- package/package.json +1 -1
- package/src/models/IndexUserRequest.ts +10 -1
- package/src/models/SecurityCompaniesListRequest.ts +10 -1
- package/src/models/UsersCreateWithRoleRequest.ts +8 -8
- package/src/models/VenuesListRequest.ts +10 -1
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.82
|
|
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.82 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -80,7 +80,7 @@ export interface IndexUserRequest {
|
|
|
80
80
|
* @type {string}
|
|
81
81
|
* @memberof IndexUserRequest
|
|
82
82
|
*/
|
|
83
|
-
relatedType?:
|
|
83
|
+
relatedType?: IndexUserRequestRelatedTypeEnum;
|
|
84
84
|
/**
|
|
85
85
|
*
|
|
86
86
|
* @type {boolean}
|
|
@@ -106,6 +106,14 @@ export declare const IndexUserRequestSortDirectionEnum: {
|
|
|
106
106
|
readonly Desc: "desc";
|
|
107
107
|
};
|
|
108
108
|
export type IndexUserRequestSortDirectionEnum = typeof IndexUserRequestSortDirectionEnum[keyof typeof IndexUserRequestSortDirectionEnum];
|
|
109
|
+
/**
|
|
110
|
+
* @export
|
|
111
|
+
*/
|
|
112
|
+
export declare const IndexUserRequestRelatedTypeEnum: {
|
|
113
|
+
readonly Venue: "venue";
|
|
114
|
+
readonly SecurityCompany: "securityCompany";
|
|
115
|
+
};
|
|
116
|
+
export type IndexUserRequestRelatedTypeEnum = typeof IndexUserRequestRelatedTypeEnum[keyof typeof IndexUserRequestRelatedTypeEnum];
|
|
109
117
|
/**
|
|
110
118
|
* Check if a given object implements the IndexUserRequest interface.
|
|
111
119
|
*/
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.IndexUserRequestSortDirectionEnum = exports.IndexUserRequestSortByEnum = void 0;
|
|
16
|
+
exports.IndexUserRequestRelatedTypeEnum = exports.IndexUserRequestSortDirectionEnum = exports.IndexUserRequestSortByEnum = void 0;
|
|
17
17
|
exports.instanceOfIndexUserRequest = instanceOfIndexUserRequest;
|
|
18
18
|
exports.IndexUserRequestFromJSON = IndexUserRequestFromJSON;
|
|
19
19
|
exports.IndexUserRequestFromJSONTyped = IndexUserRequestFromJSONTyped;
|
|
@@ -35,6 +35,13 @@ exports.IndexUserRequestSortDirectionEnum = {
|
|
|
35
35
|
Asc: 'asc',
|
|
36
36
|
Desc: 'desc'
|
|
37
37
|
};
|
|
38
|
+
/**
|
|
39
|
+
* @export
|
|
40
|
+
*/
|
|
41
|
+
exports.IndexUserRequestRelatedTypeEnum = {
|
|
42
|
+
Venue: 'venue',
|
|
43
|
+
SecurityCompany: 'securityCompany'
|
|
44
|
+
};
|
|
38
45
|
/**
|
|
39
46
|
* Check if a given object implements the IndexUserRequest interface.
|
|
40
47
|
*/
|
|
@@ -68,7 +68,7 @@ export interface SecurityCompaniesListRequest {
|
|
|
68
68
|
* @type {string}
|
|
69
69
|
* @memberof SecurityCompaniesListRequest
|
|
70
70
|
*/
|
|
71
|
-
relatedType?:
|
|
71
|
+
relatedType?: SecurityCompaniesListRequestRelatedTypeEnum;
|
|
72
72
|
/**
|
|
73
73
|
*
|
|
74
74
|
* @type {boolean}
|
|
@@ -96,6 +96,14 @@ export declare const SecurityCompaniesListRequestSortDirectionEnum: {
|
|
|
96
96
|
readonly Desc: "desc";
|
|
97
97
|
};
|
|
98
98
|
export type SecurityCompaniesListRequestSortDirectionEnum = typeof SecurityCompaniesListRequestSortDirectionEnum[keyof typeof SecurityCompaniesListRequestSortDirectionEnum];
|
|
99
|
+
/**
|
|
100
|
+
* @export
|
|
101
|
+
*/
|
|
102
|
+
export declare const SecurityCompaniesListRequestRelatedTypeEnum: {
|
|
103
|
+
readonly User: "user";
|
|
104
|
+
readonly Venue: "venue";
|
|
105
|
+
};
|
|
106
|
+
export type SecurityCompaniesListRequestRelatedTypeEnum = typeof SecurityCompaniesListRequestRelatedTypeEnum[keyof typeof SecurityCompaniesListRequestRelatedTypeEnum];
|
|
99
107
|
/**
|
|
100
108
|
* Check if a given object implements the SecurityCompaniesListRequest interface.
|
|
101
109
|
*/
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.SecurityCompaniesListRequestSortDirectionEnum = exports.SecurityCompaniesListRequestSortByEnum = void 0;
|
|
16
|
+
exports.SecurityCompaniesListRequestRelatedTypeEnum = exports.SecurityCompaniesListRequestSortDirectionEnum = exports.SecurityCompaniesListRequestSortByEnum = void 0;
|
|
17
17
|
exports.instanceOfSecurityCompaniesListRequest = instanceOfSecurityCompaniesListRequest;
|
|
18
18
|
exports.SecurityCompaniesListRequestFromJSON = SecurityCompaniesListRequestFromJSON;
|
|
19
19
|
exports.SecurityCompaniesListRequestFromJSONTyped = SecurityCompaniesListRequestFromJSONTyped;
|
|
@@ -37,6 +37,13 @@ exports.SecurityCompaniesListRequestSortDirectionEnum = {
|
|
|
37
37
|
Asc: 'asc',
|
|
38
38
|
Desc: 'desc'
|
|
39
39
|
};
|
|
40
|
+
/**
|
|
41
|
+
* @export
|
|
42
|
+
*/
|
|
43
|
+
exports.SecurityCompaniesListRequestRelatedTypeEnum = {
|
|
44
|
+
User: 'user',
|
|
45
|
+
Venue: 'venue'
|
|
46
|
+
};
|
|
40
47
|
/**
|
|
41
48
|
* Check if a given object implements the SecurityCompaniesListRequest interface.
|
|
42
49
|
*/
|
|
@@ -53,16 +53,16 @@ export interface UsersCreateWithRoleRequest {
|
|
|
53
53
|
role: UsersCreateWithRoleRequestRoleEnum;
|
|
54
54
|
/**
|
|
55
55
|
*
|
|
56
|
-
* @type {
|
|
56
|
+
* @type {number}
|
|
57
57
|
* @memberof UsersCreateWithRoleRequest
|
|
58
58
|
*/
|
|
59
|
-
|
|
59
|
+
venueId?: number;
|
|
60
60
|
/**
|
|
61
61
|
*
|
|
62
|
-
* @type {
|
|
62
|
+
* @type {number}
|
|
63
63
|
* @memberof UsersCreateWithRoleRequest
|
|
64
64
|
*/
|
|
65
|
-
|
|
65
|
+
securityCompanyId?: 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
|
+
'venueId': json['venue_id'] == null ? undefined : json['venue_id'],
|
|
64
|
+
'securityCompanyId': json['security_company_id'] == null ? undefined : json['security_company_id'],
|
|
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_id': value['venueId'],
|
|
83
|
+
'security_company_id': value['securityCompanyId'],
|
|
84
84
|
};
|
|
85
85
|
}
|
|
@@ -86,7 +86,7 @@ export interface VenuesListRequest {
|
|
|
86
86
|
* @type {string}
|
|
87
87
|
* @memberof VenuesListRequest
|
|
88
88
|
*/
|
|
89
|
-
relatedType?:
|
|
89
|
+
relatedType?: VenuesListRequestRelatedTypeEnum;
|
|
90
90
|
/**
|
|
91
91
|
*
|
|
92
92
|
* @type {boolean}
|
|
@@ -114,6 +114,14 @@ export declare const VenuesListRequestSortDirectionEnum: {
|
|
|
114
114
|
readonly Desc: "desc";
|
|
115
115
|
};
|
|
116
116
|
export type VenuesListRequestSortDirectionEnum = typeof VenuesListRequestSortDirectionEnum[keyof typeof VenuesListRequestSortDirectionEnum];
|
|
117
|
+
/**
|
|
118
|
+
* @export
|
|
119
|
+
*/
|
|
120
|
+
export declare const VenuesListRequestRelatedTypeEnum: {
|
|
121
|
+
readonly User: "user";
|
|
122
|
+
readonly SecurityCompany: "securityCompany";
|
|
123
|
+
};
|
|
124
|
+
export type VenuesListRequestRelatedTypeEnum = typeof VenuesListRequestRelatedTypeEnum[keyof typeof VenuesListRequestRelatedTypeEnum];
|
|
117
125
|
/**
|
|
118
126
|
* Check if a given object implements the VenuesListRequest interface.
|
|
119
127
|
*/
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.VenuesListRequestSortDirectionEnum = exports.VenuesListRequestSortByEnum = void 0;
|
|
16
|
+
exports.VenuesListRequestRelatedTypeEnum = exports.VenuesListRequestSortDirectionEnum = exports.VenuesListRequestSortByEnum = void 0;
|
|
17
17
|
exports.instanceOfVenuesListRequest = instanceOfVenuesListRequest;
|
|
18
18
|
exports.VenuesListRequestFromJSON = VenuesListRequestFromJSON;
|
|
19
19
|
exports.VenuesListRequestFromJSONTyped = VenuesListRequestFromJSONTyped;
|
|
@@ -37,6 +37,13 @@ exports.VenuesListRequestSortDirectionEnum = {
|
|
|
37
37
|
Asc: 'asc',
|
|
38
38
|
Desc: 'desc'
|
|
39
39
|
};
|
|
40
|
+
/**
|
|
41
|
+
* @export
|
|
42
|
+
*/
|
|
43
|
+
exports.VenuesListRequestRelatedTypeEnum = {
|
|
44
|
+
User: 'user',
|
|
45
|
+
SecurityCompany: 'securityCompany'
|
|
46
|
+
};
|
|
40
47
|
/**
|
|
41
48
|
* Check if a given object implements the VenuesListRequest interface.
|
|
42
49
|
*/
|
package/package.json
CHANGED
|
@@ -84,7 +84,7 @@ export interface IndexUserRequest {
|
|
|
84
84
|
* @type {string}
|
|
85
85
|
* @memberof IndexUserRequest
|
|
86
86
|
*/
|
|
87
|
-
relatedType?:
|
|
87
|
+
relatedType?: IndexUserRequestRelatedTypeEnum;
|
|
88
88
|
/**
|
|
89
89
|
*
|
|
90
90
|
* @type {boolean}
|
|
@@ -114,6 +114,15 @@ export const IndexUserRequestSortDirectionEnum = {
|
|
|
114
114
|
} as const;
|
|
115
115
|
export type IndexUserRequestSortDirectionEnum = typeof IndexUserRequestSortDirectionEnum[keyof typeof IndexUserRequestSortDirectionEnum];
|
|
116
116
|
|
|
117
|
+
/**
|
|
118
|
+
* @export
|
|
119
|
+
*/
|
|
120
|
+
export const IndexUserRequestRelatedTypeEnum = {
|
|
121
|
+
Venue: 'venue',
|
|
122
|
+
SecurityCompany: 'securityCompany'
|
|
123
|
+
} as const;
|
|
124
|
+
export type IndexUserRequestRelatedTypeEnum = typeof IndexUserRequestRelatedTypeEnum[keyof typeof IndexUserRequestRelatedTypeEnum];
|
|
125
|
+
|
|
117
126
|
|
|
118
127
|
/**
|
|
119
128
|
* Check if a given object implements the IndexUserRequest interface.
|
|
@@ -72,7 +72,7 @@ export interface SecurityCompaniesListRequest {
|
|
|
72
72
|
* @type {string}
|
|
73
73
|
* @memberof SecurityCompaniesListRequest
|
|
74
74
|
*/
|
|
75
|
-
relatedType?:
|
|
75
|
+
relatedType?: SecurityCompaniesListRequestRelatedTypeEnum;
|
|
76
76
|
/**
|
|
77
77
|
*
|
|
78
78
|
* @type {boolean}
|
|
@@ -104,6 +104,15 @@ export const SecurityCompaniesListRequestSortDirectionEnum = {
|
|
|
104
104
|
} as const;
|
|
105
105
|
export type SecurityCompaniesListRequestSortDirectionEnum = typeof SecurityCompaniesListRequestSortDirectionEnum[keyof typeof SecurityCompaniesListRequestSortDirectionEnum];
|
|
106
106
|
|
|
107
|
+
/**
|
|
108
|
+
* @export
|
|
109
|
+
*/
|
|
110
|
+
export const SecurityCompaniesListRequestRelatedTypeEnum = {
|
|
111
|
+
User: 'user',
|
|
112
|
+
Venue: 'venue'
|
|
113
|
+
} as const;
|
|
114
|
+
export type SecurityCompaniesListRequestRelatedTypeEnum = typeof SecurityCompaniesListRequestRelatedTypeEnum[keyof typeof SecurityCompaniesListRequestRelatedTypeEnum];
|
|
115
|
+
|
|
107
116
|
|
|
108
117
|
/**
|
|
109
118
|
* Check if a given object implements the SecurityCompaniesListRequest interface.
|
|
@@ -57,16 +57,16 @@ export interface UsersCreateWithRoleRequest {
|
|
|
57
57
|
role: UsersCreateWithRoleRequestRoleEnum;
|
|
58
58
|
/**
|
|
59
59
|
*
|
|
60
|
-
* @type {
|
|
60
|
+
* @type {number}
|
|
61
61
|
* @memberof UsersCreateWithRoleRequest
|
|
62
62
|
*/
|
|
63
|
-
|
|
63
|
+
venueId?: number;
|
|
64
64
|
/**
|
|
65
65
|
*
|
|
66
|
-
* @type {
|
|
66
|
+
* @type {number}
|
|
67
67
|
* @memberof UsersCreateWithRoleRequest
|
|
68
68
|
*/
|
|
69
|
-
|
|
69
|
+
securityCompanyId?: 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
|
+
'venueId': json['venue_id'] == null ? undefined : json['venue_id'],
|
|
115
|
+
'securityCompanyId': json['security_company_id'] == null ? undefined : json['security_company_id'],
|
|
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_id': value['venueId'],
|
|
137
|
+
'security_company_id': value['securityCompanyId'],
|
|
138
138
|
};
|
|
139
139
|
}
|
|
140
140
|
|
|
@@ -90,7 +90,7 @@ export interface VenuesListRequest {
|
|
|
90
90
|
* @type {string}
|
|
91
91
|
* @memberof VenuesListRequest
|
|
92
92
|
*/
|
|
93
|
-
relatedType?:
|
|
93
|
+
relatedType?: VenuesListRequestRelatedTypeEnum;
|
|
94
94
|
/**
|
|
95
95
|
*
|
|
96
96
|
* @type {boolean}
|
|
@@ -122,6 +122,15 @@ export const VenuesListRequestSortDirectionEnum = {
|
|
|
122
122
|
} as const;
|
|
123
123
|
export type VenuesListRequestSortDirectionEnum = typeof VenuesListRequestSortDirectionEnum[keyof typeof VenuesListRequestSortDirectionEnum];
|
|
124
124
|
|
|
125
|
+
/**
|
|
126
|
+
* @export
|
|
127
|
+
*/
|
|
128
|
+
export const VenuesListRequestRelatedTypeEnum = {
|
|
129
|
+
User: 'user',
|
|
130
|
+
SecurityCompany: 'securityCompany'
|
|
131
|
+
} as const;
|
|
132
|
+
export type VenuesListRequestRelatedTypeEnum = typeof VenuesListRequestRelatedTypeEnum[keyof typeof VenuesListRequestRelatedTypeEnum];
|
|
133
|
+
|
|
125
134
|
|
|
126
135
|
/**
|
|
127
136
|
* Check if a given object implements the VenuesListRequest interface.
|