@digital8/security-registers-backend-ts-sdk 0.0.91 → 0.0.93
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/AddressResource.d.ts +1 -1
- package/dist/models/AddressResource.js +1 -3
- package/dist/models/AssetResource.d.ts +1 -1
- package/dist/models/AssetResource.js +1 -3
- package/dist/models/SecurityCompaniesListAllRequest.d.ts +1 -1
- package/dist/models/SecurityCompaniesListAllRequest.js +1 -1
- package/dist/models/SecurityCompaniesListRequest.d.ts +1 -1
- package/dist/models/SecurityCompaniesListRequest.js +1 -1
- package/dist/models/VenuesListAllRequest.d.ts +1 -1
- package/dist/models/VenuesListAllRequest.js +1 -1
- package/dist/models/VenuesListRequest.d.ts +1 -1
- package/dist/models/VenuesListRequest.js +1 -1
- package/package.json +1 -1
- package/src/models/AddressResource.ts +2 -3
- package/src/models/AssetResource.ts +2 -3
- package/src/models/SecurityCompaniesListAllRequest.ts +1 -1
- package/src/models/SecurityCompaniesListRequest.ts +1 -1
- package/src/models/VenuesListAllRequest.ts +1 -1
- package/src/models/VenuesListRequest.ts +1 -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.93
|
|
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.93 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -24,8 +24,6 @@ exports.AddressResourceToJSONTyped = AddressResourceToJSONTyped;
|
|
|
24
24
|
function instanceOfAddressResource(value) {
|
|
25
25
|
if (!('addressLine1' in value) || value['addressLine1'] === undefined)
|
|
26
26
|
return false;
|
|
27
|
-
if (!('addressLine2' in value) || value['addressLine2'] === undefined)
|
|
28
|
-
return false;
|
|
29
27
|
if (!('suburb' in value) || value['suburb'] === undefined)
|
|
30
28
|
return false;
|
|
31
29
|
if (!('city' in value) || value['city'] === undefined)
|
|
@@ -50,7 +48,7 @@ function AddressResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
50
48
|
return {
|
|
51
49
|
'id': json['id'] == null ? undefined : json['id'],
|
|
52
50
|
'addressLine1': json['addressLine1'],
|
|
53
|
-
'addressLine2': json['addressLine2'],
|
|
51
|
+
'addressLine2': json['addressLine2'] == null ? undefined : json['addressLine2'],
|
|
54
52
|
'suburb': json['suburb'],
|
|
55
53
|
'city': json['city'],
|
|
56
54
|
'state': json['state'],
|
|
@@ -30,8 +30,6 @@ function instanceOfAssetResource(value) {
|
|
|
30
30
|
return false;
|
|
31
31
|
if (!('mimeType' in value) || value['mimeType'] === undefined)
|
|
32
32
|
return false;
|
|
33
|
-
if (!('altText' in value) || value['altText'] === undefined)
|
|
34
|
-
return false;
|
|
35
33
|
if (!('index' in value) || value['index'] === undefined)
|
|
36
34
|
return false;
|
|
37
35
|
if (!('fileId' in value) || value['fileId'] === undefined)
|
|
@@ -50,7 +48,7 @@ function AssetResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
50
48
|
'filePath': json['filePath'],
|
|
51
49
|
'fileName': json['fileName'],
|
|
52
50
|
'mimeType': json['mimeType'],
|
|
53
|
-
'altText': json['altText'],
|
|
51
|
+
'altText': json['altText'] == null ? undefined : json['altText'],
|
|
54
52
|
'index': json['index'],
|
|
55
53
|
'fileId': json['fileId'],
|
|
56
54
|
};
|
|
@@ -88,7 +88,7 @@ export type SecurityCompaniesListAllRequestSortDirectionEnum = typeof SecurityCo
|
|
|
88
88
|
* @export
|
|
89
89
|
*/
|
|
90
90
|
export declare const SecurityCompaniesListAllRequestRelatedTypeEnum: {
|
|
91
|
-
readonly
|
|
91
|
+
readonly Manager: "manager";
|
|
92
92
|
readonly Venue: "venue";
|
|
93
93
|
};
|
|
94
94
|
export type SecurityCompaniesListAllRequestRelatedTypeEnum = typeof SecurityCompaniesListAllRequestRelatedTypeEnum[keyof typeof SecurityCompaniesListAllRequestRelatedTypeEnum];
|
|
@@ -100,7 +100,7 @@ export type SecurityCompaniesListRequestSortDirectionEnum = typeof SecurityCompa
|
|
|
100
100
|
* @export
|
|
101
101
|
*/
|
|
102
102
|
export declare const SecurityCompaniesListRequestRelatedTypeEnum: {
|
|
103
|
-
readonly
|
|
103
|
+
readonly Manager: "manager";
|
|
104
104
|
readonly Venue: "venue";
|
|
105
105
|
};
|
|
106
106
|
export type SecurityCompaniesListRequestRelatedTypeEnum = typeof SecurityCompaniesListRequestRelatedTypeEnum[keyof typeof SecurityCompaniesListRequestRelatedTypeEnum];
|
|
@@ -106,7 +106,7 @@ export type VenuesListAllRequestSortDirectionEnum = typeof VenuesListAllRequestS
|
|
|
106
106
|
* @export
|
|
107
107
|
*/
|
|
108
108
|
export declare const VenuesListAllRequestRelatedTypeEnum: {
|
|
109
|
-
readonly
|
|
109
|
+
readonly Manager: "manager";
|
|
110
110
|
readonly SecurityCompany: "securityCompany";
|
|
111
111
|
};
|
|
112
112
|
export type VenuesListAllRequestRelatedTypeEnum = typeof VenuesListAllRequestRelatedTypeEnum[keyof typeof VenuesListAllRequestRelatedTypeEnum];
|
|
@@ -118,7 +118,7 @@ export type VenuesListRequestSortDirectionEnum = typeof VenuesListRequestSortDir
|
|
|
118
118
|
* @export
|
|
119
119
|
*/
|
|
120
120
|
export declare const VenuesListRequestRelatedTypeEnum: {
|
|
121
|
-
readonly
|
|
121
|
+
readonly Manager: "manager";
|
|
122
122
|
readonly SecurityCompany: "securityCompany";
|
|
123
123
|
};
|
|
124
124
|
export type VenuesListRequestRelatedTypeEnum = typeof VenuesListRequestRelatedTypeEnum[keyof typeof VenuesListRequestRelatedTypeEnum];
|
package/package.json
CHANGED
|
@@ -36,7 +36,7 @@ export interface AddressResource {
|
|
|
36
36
|
* @type {string}
|
|
37
37
|
* @memberof AddressResource
|
|
38
38
|
*/
|
|
39
|
-
addressLine2
|
|
39
|
+
addressLine2?: string | null;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
* @type {string}
|
|
@@ -80,7 +80,6 @@ export interface AddressResource {
|
|
|
80
80
|
*/
|
|
81
81
|
export function instanceOfAddressResource(value: object): value is AddressResource {
|
|
82
82
|
if (!('addressLine1' in value) || value['addressLine1'] === undefined) return false;
|
|
83
|
-
if (!('addressLine2' in value) || value['addressLine2'] === undefined) return false;
|
|
84
83
|
if (!('suburb' in value) || value['suburb'] === undefined) return false;
|
|
85
84
|
if (!('city' in value) || value['city'] === undefined) return false;
|
|
86
85
|
if (!('state' in value) || value['state'] === undefined) return false;
|
|
@@ -102,7 +101,7 @@ export function AddressResourceFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
102
101
|
|
|
103
102
|
'id': json['id'] == null ? undefined : json['id'],
|
|
104
103
|
'addressLine1': json['addressLine1'],
|
|
105
|
-
'addressLine2': json['addressLine2'],
|
|
104
|
+
'addressLine2': json['addressLine2'] == null ? undefined : json['addressLine2'],
|
|
106
105
|
'suburb': json['suburb'],
|
|
107
106
|
'city': json['city'],
|
|
108
107
|
'state': json['state'],
|
|
@@ -48,7 +48,7 @@ export interface AssetResource {
|
|
|
48
48
|
* @type {string}
|
|
49
49
|
* @memberof AssetResource
|
|
50
50
|
*/
|
|
51
|
-
altText
|
|
51
|
+
altText?: string | null;
|
|
52
52
|
/**
|
|
53
53
|
*
|
|
54
54
|
* @type {number}
|
|
@@ -71,7 +71,6 @@ export function instanceOfAssetResource(value: object): value is AssetResource {
|
|
|
71
71
|
if (!('filePath' in value) || value['filePath'] === undefined) return false;
|
|
72
72
|
if (!('fileName' in value) || value['fileName'] === undefined) return false;
|
|
73
73
|
if (!('mimeType' in value) || value['mimeType'] === undefined) return false;
|
|
74
|
-
if (!('altText' in value) || value['altText'] === undefined) return false;
|
|
75
74
|
if (!('index' in value) || value['index'] === undefined) return false;
|
|
76
75
|
if (!('fileId' in value) || value['fileId'] === undefined) return false;
|
|
77
76
|
return true;
|
|
@@ -91,7 +90,7 @@ export function AssetResourceFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
91
90
|
'filePath': json['filePath'],
|
|
92
91
|
'fileName': json['fileName'],
|
|
93
92
|
'mimeType': json['mimeType'],
|
|
94
|
-
'altText': json['altText'],
|
|
93
|
+
'altText': json['altText'] == null ? undefined : json['altText'],
|
|
95
94
|
'index': json['index'],
|
|
96
95
|
'fileId': json['fileId'],
|
|
97
96
|
};
|
|
@@ -96,7 +96,7 @@ export type SecurityCompaniesListAllRequestSortDirectionEnum = typeof SecurityCo
|
|
|
96
96
|
* @export
|
|
97
97
|
*/
|
|
98
98
|
export const SecurityCompaniesListAllRequestRelatedTypeEnum = {
|
|
99
|
-
|
|
99
|
+
Manager: 'manager',
|
|
100
100
|
Venue: 'venue'
|
|
101
101
|
} as const;
|
|
102
102
|
export type SecurityCompaniesListAllRequestRelatedTypeEnum = typeof SecurityCompaniesListAllRequestRelatedTypeEnum[keyof typeof SecurityCompaniesListAllRequestRelatedTypeEnum];
|
|
@@ -108,7 +108,7 @@ export type SecurityCompaniesListRequestSortDirectionEnum = typeof SecurityCompa
|
|
|
108
108
|
* @export
|
|
109
109
|
*/
|
|
110
110
|
export const SecurityCompaniesListRequestRelatedTypeEnum = {
|
|
111
|
-
|
|
111
|
+
Manager: 'manager',
|
|
112
112
|
Venue: 'venue'
|
|
113
113
|
} as const;
|
|
114
114
|
export type SecurityCompaniesListRequestRelatedTypeEnum = typeof SecurityCompaniesListRequestRelatedTypeEnum[keyof typeof SecurityCompaniesListRequestRelatedTypeEnum];
|
|
@@ -114,7 +114,7 @@ export type VenuesListAllRequestSortDirectionEnum = typeof VenuesListAllRequestS
|
|
|
114
114
|
* @export
|
|
115
115
|
*/
|
|
116
116
|
export const VenuesListAllRequestRelatedTypeEnum = {
|
|
117
|
-
|
|
117
|
+
Manager: 'manager',
|
|
118
118
|
SecurityCompany: 'securityCompany'
|
|
119
119
|
} as const;
|
|
120
120
|
export type VenuesListAllRequestRelatedTypeEnum = typeof VenuesListAllRequestRelatedTypeEnum[keyof typeof VenuesListAllRequestRelatedTypeEnum];
|
|
@@ -126,7 +126,7 @@ export type VenuesListRequestSortDirectionEnum = typeof VenuesListRequestSortDir
|
|
|
126
126
|
* @export
|
|
127
127
|
*/
|
|
128
128
|
export const VenuesListRequestRelatedTypeEnum = {
|
|
129
|
-
|
|
129
|
+
Manager: 'manager',
|
|
130
130
|
SecurityCompany: 'securityCompany'
|
|
131
131
|
} as const;
|
|
132
132
|
export type VenuesListRequestRelatedTypeEnum = typeof VenuesListRequestRelatedTypeEnum[keyof typeof VenuesListRequestRelatedTypeEnum];
|