@digital8/security-registers-backend-ts-sdk 0.0.120 → 0.0.121

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.
Files changed (51) hide show
  1. package/.openapi-generator/FILES +0 -13
  2. package/README.md +2 -2
  3. package/dist/apis/GeneralApi.d.ts +1 -80
  4. package/dist/apis/GeneralApi.js +0 -393
  5. package/dist/models/AssetResource.d.ts +1 -1
  6. package/dist/models/AssetResource.js +1 -3
  7. package/dist/models/index.d.ts +0 -13
  8. package/dist/models/index.js +0 -13
  9. package/package.json +1 -1
  10. package/src/apis/GeneralApi.ts +0 -360
  11. package/src/models/AssetResource.ts +2 -3
  12. package/src/models/index.ts +0 -13
  13. package/dist/models/LicenceListResource.d.ts +0 -87
  14. package/dist/models/LicenceListResource.js +0 -83
  15. package/dist/models/LicenceListResourceArrayResponse.d.ts +0 -33
  16. package/dist/models/LicenceListResourceArrayResponse.js +0 -50
  17. package/dist/models/LicenceLiteResource.d.ts +0 -44
  18. package/dist/models/LicenceLiteResource.js +0 -57
  19. package/dist/models/LicenceLiteResourceArrayResponse.d.ts +0 -33
  20. package/dist/models/LicenceLiteResourceArrayResponse.js +0 -50
  21. package/dist/models/LicenceResource.d.ts +0 -117
  22. package/dist/models/LicenceResource.js +0 -93
  23. package/dist/models/LicenceResourceArrayResponse.d.ts +0 -33
  24. package/dist/models/LicenceResourceArrayResponse.js +0 -50
  25. package/dist/models/LicencesListAllRequest.d.ts +0 -92
  26. package/dist/models/LicencesListAllRequest.js +0 -83
  27. package/dist/models/LicencesListRequest.d.ts +0 -116
  28. package/dist/models/LicencesListRequest.js +0 -91
  29. package/dist/models/LicencesStoreRequest.d.ts +0 -100
  30. package/dist/models/LicencesStoreRequest.js +0 -95
  31. package/dist/models/LicencesUpdateRequest.d.ts +0 -74
  32. package/dist/models/LicencesUpdateRequest.js +0 -63
  33. package/dist/models/LicencesVerifyRequest.d.ts +0 -64
  34. package/dist/models/LicencesVerifyRequest.js +0 -77
  35. package/dist/models/PaginatedLicenceListResourceResponse.d.ts +0 -40
  36. package/dist/models/PaginatedLicenceListResourceResponse.js +0 -57
  37. package/dist/models/PaginatedLicenceResourceResponse.d.ts +0 -40
  38. package/dist/models/PaginatedLicenceResourceResponse.js +0 -57
  39. package/src/models/LicenceListResource.ts +0 -152
  40. package/src/models/LicenceListResourceArrayResponse.ts +0 -73
  41. package/src/models/LicenceLiteResource.ts +0 -83
  42. package/src/models/LicenceLiteResourceArrayResponse.ts +0 -73
  43. package/src/models/LicenceResource.ts +0 -192
  44. package/src/models/LicenceResourceArrayResponse.ts +0 -73
  45. package/src/models/LicencesListAllRequest.ts +0 -142
  46. package/src/models/LicencesListRequest.ts +0 -174
  47. package/src/models/LicencesStoreRequest.ts +0 -161
  48. package/src/models/LicencesUpdateRequest.ts +0 -121
  49. package/src/models/LicencesVerifyRequest.ts +0 -110
  50. package/src/models/PaginatedLicenceListResourceResponse.ts +0 -90
  51. package/src/models/PaginatedLicenceResourceResponse.ts +0 -90
@@ -1,44 +0,0 @@
1
- /**
2
- * My API
3
- * API documentation for my Laravel app
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface LicenceLiteResource
16
- */
17
- export interface LicenceLiteResource {
18
- /**
19
- *
20
- * @type {number}
21
- * @memberof LicenceLiteResource
22
- */
23
- id?: number | null;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof LicenceLiteResource
28
- */
29
- licenceNumber: string;
30
- /**
31
- *
32
- * @type {object}
33
- * @memberof LicenceLiteResource
34
- */
35
- state: object;
36
- }
37
- /**
38
- * Check if a given object implements the LicenceLiteResource interface.
39
- */
40
- export declare function instanceOfLicenceLiteResource(value: object): value is LicenceLiteResource;
41
- export declare function LicenceLiteResourceFromJSON(json: any): LicenceLiteResource;
42
- export declare function LicenceLiteResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): LicenceLiteResource;
43
- export declare function LicenceLiteResourceToJSON(json: any): LicenceLiteResource;
44
- export declare function LicenceLiteResourceToJSONTyped(value?: LicenceLiteResource | null, ignoreDiscriminator?: boolean): any;
@@ -1,57 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * My API
6
- * API documentation for my Laravel app
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfLicenceLiteResource = instanceOfLicenceLiteResource;
17
- exports.LicenceLiteResourceFromJSON = LicenceLiteResourceFromJSON;
18
- exports.LicenceLiteResourceFromJSONTyped = LicenceLiteResourceFromJSONTyped;
19
- exports.LicenceLiteResourceToJSON = LicenceLiteResourceToJSON;
20
- exports.LicenceLiteResourceToJSONTyped = LicenceLiteResourceToJSONTyped;
21
- /**
22
- * Check if a given object implements the LicenceLiteResource interface.
23
- */
24
- function instanceOfLicenceLiteResource(value) {
25
- if (!('licenceNumber' in value) || value['licenceNumber'] === undefined)
26
- return false;
27
- if (!('state' in value) || value['state'] === undefined)
28
- return false;
29
- return true;
30
- }
31
- function LicenceLiteResourceFromJSON(json) {
32
- return LicenceLiteResourceFromJSONTyped(json, false);
33
- }
34
- function LicenceLiteResourceFromJSONTyped(json, ignoreDiscriminator) {
35
- if (json == null) {
36
- return json;
37
- }
38
- return {
39
- 'id': json['id'] == null ? undefined : json['id'],
40
- 'licenceNumber': json['licenceNumber'],
41
- 'state': json['state'],
42
- };
43
- }
44
- function LicenceLiteResourceToJSON(json) {
45
- return LicenceLiteResourceToJSONTyped(json, false);
46
- }
47
- function LicenceLiteResourceToJSONTyped(value, ignoreDiscriminator) {
48
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
49
- if (value == null) {
50
- return value;
51
- }
52
- return {
53
- 'id': value['id'],
54
- 'licenceNumber': value['licenceNumber'],
55
- 'state': value['state'],
56
- };
57
- }
@@ -1,33 +0,0 @@
1
- /**
2
- * My API
3
- * API documentation for my Laravel app
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { LicenceLiteResource } from './LicenceLiteResource';
13
- /**
14
- *
15
- * @export
16
- * @interface LicenceLiteResourceArrayResponse
17
- */
18
- export interface LicenceLiteResourceArrayResponse {
19
- /**
20
- *
21
- * @type {Array<LicenceLiteResource>}
22
- * @memberof LicenceLiteResourceArrayResponse
23
- */
24
- data?: Array<LicenceLiteResource>;
25
- }
26
- /**
27
- * Check if a given object implements the LicenceLiteResourceArrayResponse interface.
28
- */
29
- export declare function instanceOfLicenceLiteResourceArrayResponse(value: object): value is LicenceLiteResourceArrayResponse;
30
- export declare function LicenceLiteResourceArrayResponseFromJSON(json: any): LicenceLiteResourceArrayResponse;
31
- export declare function LicenceLiteResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): LicenceLiteResourceArrayResponse;
32
- export declare function LicenceLiteResourceArrayResponseToJSON(json: any): LicenceLiteResourceArrayResponse;
33
- export declare function LicenceLiteResourceArrayResponseToJSONTyped(value?: LicenceLiteResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
@@ -1,50 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * My API
6
- * API documentation for my Laravel app
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfLicenceLiteResourceArrayResponse = instanceOfLicenceLiteResourceArrayResponse;
17
- exports.LicenceLiteResourceArrayResponseFromJSON = LicenceLiteResourceArrayResponseFromJSON;
18
- exports.LicenceLiteResourceArrayResponseFromJSONTyped = LicenceLiteResourceArrayResponseFromJSONTyped;
19
- exports.LicenceLiteResourceArrayResponseToJSON = LicenceLiteResourceArrayResponseToJSON;
20
- exports.LicenceLiteResourceArrayResponseToJSONTyped = LicenceLiteResourceArrayResponseToJSONTyped;
21
- var LicenceLiteResource_1 = require("./LicenceLiteResource");
22
- /**
23
- * Check if a given object implements the LicenceLiteResourceArrayResponse interface.
24
- */
25
- function instanceOfLicenceLiteResourceArrayResponse(value) {
26
- return true;
27
- }
28
- function LicenceLiteResourceArrayResponseFromJSON(json) {
29
- return LicenceLiteResourceArrayResponseFromJSONTyped(json, false);
30
- }
31
- function LicenceLiteResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
32
- if (json == null) {
33
- return json;
34
- }
35
- return {
36
- 'data': json['data'] == null ? undefined : (json['data'].map(LicenceLiteResource_1.LicenceLiteResourceFromJSON)),
37
- };
38
- }
39
- function LicenceLiteResourceArrayResponseToJSON(json) {
40
- return LicenceLiteResourceArrayResponseToJSONTyped(json, false);
41
- }
42
- function LicenceLiteResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
43
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
44
- if (value == null) {
45
- return value;
46
- }
47
- return {
48
- 'data': value['data'] == null ? undefined : (value['data'].map(LicenceLiteResource_1.LicenceLiteResourceToJSON)),
49
- };
50
- }
@@ -1,117 +0,0 @@
1
- /**
2
- * My API
3
- * API documentation for my Laravel app
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { UserRelationResource } from './UserRelationResource';
13
- /**
14
- *
15
- * @export
16
- * @interface LicenceResource
17
- */
18
- export interface LicenceResource {
19
- /**
20
- *
21
- * @type {number}
22
- * @memberof LicenceResource
23
- */
24
- id?: number | null;
25
- /**
26
- *
27
- * @type {number}
28
- * @memberof LicenceResource
29
- */
30
- userId?: number | null;
31
- /**
32
- *
33
- * @type {UserRelationResource}
34
- * @memberof LicenceResource
35
- */
36
- user: UserRelationResource | null;
37
- /**
38
- *
39
- * @type {object}
40
- * @memberof LicenceResource
41
- */
42
- state: object;
43
- /**
44
- *
45
- * @type {string}
46
- * @memberof LicenceResource
47
- */
48
- licenceNumber: string;
49
- /**
50
- *
51
- * @type {string}
52
- * @memberof LicenceResource
53
- */
54
- firstName: string;
55
- /**
56
- *
57
- * @type {string}
58
- * @memberof LicenceResource
59
- */
60
- lastName: string;
61
- /**
62
- *
63
- * @type {string}
64
- * @memberof LicenceResource
65
- */
66
- fullName: string;
67
- /**
68
- *
69
- * @type {Date}
70
- * @memberof LicenceResource
71
- */
72
- expiryDate: Date;
73
- /**
74
- *
75
- * @type {number}
76
- * @memberof LicenceResource
77
- */
78
- frontAssetId?: number | null;
79
- /**
80
- *
81
- * @type {number}
82
- * @memberof LicenceResource
83
- */
84
- backAssetId?: number | null;
85
- /**
86
- *
87
- * @type {number}
88
- * @memberof LicenceResource
89
- */
90
- rsaAssetId?: number | null;
91
- /**
92
- *
93
- * @type {number}
94
- * @memberof LicenceResource
95
- */
96
- firstAidAssetId?: number | null;
97
- /**
98
- *
99
- * @type {Date}
100
- * @memberof LicenceResource
101
- */
102
- createdAt?: Date | null;
103
- /**
104
- *
105
- * @type {Date}
106
- * @memberof LicenceResource
107
- */
108
- updatedAt?: Date | null;
109
- }
110
- /**
111
- * Check if a given object implements the LicenceResource interface.
112
- */
113
- export declare function instanceOfLicenceResource(value: object): value is LicenceResource;
114
- export declare function LicenceResourceFromJSON(json: any): LicenceResource;
115
- export declare function LicenceResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): LicenceResource;
116
- export declare function LicenceResourceToJSON(json: any): LicenceResource;
117
- export declare function LicenceResourceToJSONTyped(value?: LicenceResource | null, ignoreDiscriminator?: boolean): any;
@@ -1,93 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * My API
6
- * API documentation for my Laravel app
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfLicenceResource = instanceOfLicenceResource;
17
- exports.LicenceResourceFromJSON = LicenceResourceFromJSON;
18
- exports.LicenceResourceFromJSONTyped = LicenceResourceFromJSONTyped;
19
- exports.LicenceResourceToJSON = LicenceResourceToJSON;
20
- exports.LicenceResourceToJSONTyped = LicenceResourceToJSONTyped;
21
- var UserRelationResource_1 = require("./UserRelationResource");
22
- /**
23
- * Check if a given object implements the LicenceResource interface.
24
- */
25
- function instanceOfLicenceResource(value) {
26
- if (!('user' in value) || value['user'] === undefined)
27
- return false;
28
- if (!('state' in value) || value['state'] === undefined)
29
- return false;
30
- if (!('licenceNumber' in value) || value['licenceNumber'] === undefined)
31
- return false;
32
- if (!('firstName' in value) || value['firstName'] === undefined)
33
- return false;
34
- if (!('lastName' in value) || value['lastName'] === undefined)
35
- return false;
36
- if (!('fullName' in value) || value['fullName'] === undefined)
37
- return false;
38
- if (!('expiryDate' in value) || value['expiryDate'] === undefined)
39
- return false;
40
- return true;
41
- }
42
- function LicenceResourceFromJSON(json) {
43
- return LicenceResourceFromJSONTyped(json, false);
44
- }
45
- function LicenceResourceFromJSONTyped(json, ignoreDiscriminator) {
46
- if (json == null) {
47
- return json;
48
- }
49
- return {
50
- 'id': json['id'] == null ? undefined : json['id'],
51
- 'userId': json['userId'] == null ? undefined : json['userId'],
52
- 'user': (0, UserRelationResource_1.UserRelationResourceFromJSON)(json['user']),
53
- 'state': json['state'],
54
- 'licenceNumber': json['licenceNumber'],
55
- 'firstName': json['firstName'],
56
- 'lastName': json['lastName'],
57
- 'fullName': json['fullName'],
58
- 'expiryDate': (new Date(json['expiryDate'])),
59
- 'frontAssetId': json['frontAssetId'] == null ? undefined : json['frontAssetId'],
60
- 'backAssetId': json['backAssetId'] == null ? undefined : json['backAssetId'],
61
- 'rsaAssetId': json['rsaAssetId'] == null ? undefined : json['rsaAssetId'],
62
- 'firstAidAssetId': json['firstAidAssetId'] == null ? undefined : json['firstAidAssetId'],
63
- 'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
64
- 'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
65
- };
66
- }
67
- function LicenceResourceToJSON(json) {
68
- return LicenceResourceToJSONTyped(json, false);
69
- }
70
- function LicenceResourceToJSONTyped(value, ignoreDiscriminator) {
71
- var _a, _b;
72
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
73
- if (value == null) {
74
- return value;
75
- }
76
- return {
77
- 'id': value['id'],
78
- 'userId': value['userId'],
79
- 'user': (0, UserRelationResource_1.UserRelationResourceToJSON)(value['user']),
80
- 'state': value['state'],
81
- 'licenceNumber': value['licenceNumber'],
82
- 'firstName': value['firstName'],
83
- 'lastName': value['lastName'],
84
- 'fullName': value['fullName'],
85
- 'expiryDate': ((value['expiryDate']).toISOString()),
86
- 'frontAssetId': value['frontAssetId'],
87
- 'backAssetId': value['backAssetId'],
88
- 'rsaAssetId': value['rsaAssetId'],
89
- 'firstAidAssetId': value['firstAidAssetId'],
90
- 'createdAt': value['createdAt'] === null ? null : ((_a = value['createdAt']) === null || _a === void 0 ? void 0 : _a.toISOString()),
91
- 'updatedAt': value['updatedAt'] === null ? null : ((_b = value['updatedAt']) === null || _b === void 0 ? void 0 : _b.toISOString()),
92
- };
93
- }
@@ -1,33 +0,0 @@
1
- /**
2
- * My API
3
- * API documentation for my Laravel app
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { LicenceResource } from './LicenceResource';
13
- /**
14
- *
15
- * @export
16
- * @interface LicenceResourceArrayResponse
17
- */
18
- export interface LicenceResourceArrayResponse {
19
- /**
20
- *
21
- * @type {Array<LicenceResource>}
22
- * @memberof LicenceResourceArrayResponse
23
- */
24
- data?: Array<LicenceResource>;
25
- }
26
- /**
27
- * Check if a given object implements the LicenceResourceArrayResponse interface.
28
- */
29
- export declare function instanceOfLicenceResourceArrayResponse(value: object): value is LicenceResourceArrayResponse;
30
- export declare function LicenceResourceArrayResponseFromJSON(json: any): LicenceResourceArrayResponse;
31
- export declare function LicenceResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): LicenceResourceArrayResponse;
32
- export declare function LicenceResourceArrayResponseToJSON(json: any): LicenceResourceArrayResponse;
33
- export declare function LicenceResourceArrayResponseToJSONTyped(value?: LicenceResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
@@ -1,50 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * My API
6
- * API documentation for my Laravel app
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfLicenceResourceArrayResponse = instanceOfLicenceResourceArrayResponse;
17
- exports.LicenceResourceArrayResponseFromJSON = LicenceResourceArrayResponseFromJSON;
18
- exports.LicenceResourceArrayResponseFromJSONTyped = LicenceResourceArrayResponseFromJSONTyped;
19
- exports.LicenceResourceArrayResponseToJSON = LicenceResourceArrayResponseToJSON;
20
- exports.LicenceResourceArrayResponseToJSONTyped = LicenceResourceArrayResponseToJSONTyped;
21
- var LicenceResource_1 = require("./LicenceResource");
22
- /**
23
- * Check if a given object implements the LicenceResourceArrayResponse interface.
24
- */
25
- function instanceOfLicenceResourceArrayResponse(value) {
26
- return true;
27
- }
28
- function LicenceResourceArrayResponseFromJSON(json) {
29
- return LicenceResourceArrayResponseFromJSONTyped(json, false);
30
- }
31
- function LicenceResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
32
- if (json == null) {
33
- return json;
34
- }
35
- return {
36
- 'data': json['data'] == null ? undefined : (json['data'].map(LicenceResource_1.LicenceResourceFromJSON)),
37
- };
38
- }
39
- function LicenceResourceArrayResponseToJSON(json) {
40
- return LicenceResourceArrayResponseToJSONTyped(json, false);
41
- }
42
- function LicenceResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
43
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
44
- if (value == null) {
45
- return value;
46
- }
47
- return {
48
- 'data': value['data'] == null ? undefined : (value['data'].map(LicenceResource_1.LicenceResourceToJSON)),
49
- };
50
- }
@@ -1,92 +0,0 @@
1
- /**
2
- * My API
3
- * API documentation for my Laravel app
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface LicencesListAllRequest
16
- */
17
- export interface LicencesListAllRequest {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof LicencesListAllRequest
22
- */
23
- search?: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof LicencesListAllRequest
28
- */
29
- sortBy?: LicencesListAllRequestSortByEnum;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof LicencesListAllRequest
34
- */
35
- sortDirection?: LicencesListAllRequestSortDirectionEnum;
36
- /**
37
- *
38
- * @type {number}
39
- * @memberof LicencesListAllRequest
40
- */
41
- relatedId?: number;
42
- /**
43
- *
44
- * @type {string}
45
- * @memberof LicencesListAllRequest
46
- */
47
- relatedType?: LicencesListAllRequestRelatedTypeEnum;
48
- /**
49
- *
50
- * @type {boolean}
51
- * @memberof LicencesListAllRequest
52
- */
53
- includesRelations?: boolean;
54
- /**
55
- *
56
- * @type {Array<string>}
57
- * @memberof LicencesListAllRequest
58
- */
59
- state?: Array<string>;
60
- }
61
- /**
62
- * @export
63
- */
64
- export declare const LicencesListAllRequestSortByEnum: {
65
- readonly ExpiryDate: "expiry_date";
66
- readonly FirstName: "first_name";
67
- readonly LicenceNumber: "licence_number";
68
- };
69
- export type LicencesListAllRequestSortByEnum = typeof LicencesListAllRequestSortByEnum[keyof typeof LicencesListAllRequestSortByEnum];
70
- /**
71
- * @export
72
- */
73
- export declare const LicencesListAllRequestSortDirectionEnum: {
74
- readonly Asc: "asc";
75
- readonly Desc: "desc";
76
- };
77
- export type LicencesListAllRequestSortDirectionEnum = typeof LicencesListAllRequestSortDirectionEnum[keyof typeof LicencesListAllRequestSortDirectionEnum];
78
- /**
79
- * @export
80
- */
81
- export declare const LicencesListAllRequestRelatedTypeEnum: {
82
- readonly User: "user";
83
- };
84
- export type LicencesListAllRequestRelatedTypeEnum = typeof LicencesListAllRequestRelatedTypeEnum[keyof typeof LicencesListAllRequestRelatedTypeEnum];
85
- /**
86
- * Check if a given object implements the LicencesListAllRequest interface.
87
- */
88
- export declare function instanceOfLicencesListAllRequest(value: object): value is LicencesListAllRequest;
89
- export declare function LicencesListAllRequestFromJSON(json: any): LicencesListAllRequest;
90
- export declare function LicencesListAllRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): LicencesListAllRequest;
91
- export declare function LicencesListAllRequestToJSON(json: any): LicencesListAllRequest;
92
- export declare function LicencesListAllRequestToJSONTyped(value?: LicencesListAllRequest | null, ignoreDiscriminator?: boolean): any;
@@ -1,83 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * My API
6
- * API documentation for my Laravel app
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.LicencesListAllRequestRelatedTypeEnum = exports.LicencesListAllRequestSortDirectionEnum = exports.LicencesListAllRequestSortByEnum = void 0;
17
- exports.instanceOfLicencesListAllRequest = instanceOfLicencesListAllRequest;
18
- exports.LicencesListAllRequestFromJSON = LicencesListAllRequestFromJSON;
19
- exports.LicencesListAllRequestFromJSONTyped = LicencesListAllRequestFromJSONTyped;
20
- exports.LicencesListAllRequestToJSON = LicencesListAllRequestToJSON;
21
- exports.LicencesListAllRequestToJSONTyped = LicencesListAllRequestToJSONTyped;
22
- /**
23
- * @export
24
- */
25
- exports.LicencesListAllRequestSortByEnum = {
26
- ExpiryDate: 'expiry_date',
27
- FirstName: 'first_name',
28
- LicenceNumber: 'licence_number'
29
- };
30
- /**
31
- * @export
32
- */
33
- exports.LicencesListAllRequestSortDirectionEnum = {
34
- Asc: 'asc',
35
- Desc: 'desc'
36
- };
37
- /**
38
- * @export
39
- */
40
- exports.LicencesListAllRequestRelatedTypeEnum = {
41
- User: 'user'
42
- };
43
- /**
44
- * Check if a given object implements the LicencesListAllRequest interface.
45
- */
46
- function instanceOfLicencesListAllRequest(value) {
47
- return true;
48
- }
49
- function LicencesListAllRequestFromJSON(json) {
50
- return LicencesListAllRequestFromJSONTyped(json, false);
51
- }
52
- function LicencesListAllRequestFromJSONTyped(json, ignoreDiscriminator) {
53
- if (json == null) {
54
- return json;
55
- }
56
- return {
57
- 'search': json['search'] == null ? undefined : json['search'],
58
- 'sortBy': json['sort_by'] == null ? undefined : json['sort_by'],
59
- 'sortDirection': json['sort_direction'] == null ? undefined : json['sort_direction'],
60
- 'relatedId': json['related_id'] == null ? undefined : json['related_id'],
61
- 'relatedType': json['related_type'] == null ? undefined : json['related_type'],
62
- 'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
63
- 'state': json['state'] == null ? undefined : json['state'],
64
- };
65
- }
66
- function LicencesListAllRequestToJSON(json) {
67
- return LicencesListAllRequestToJSONTyped(json, false);
68
- }
69
- function LicencesListAllRequestToJSONTyped(value, ignoreDiscriminator) {
70
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
71
- if (value == null) {
72
- return value;
73
- }
74
- return {
75
- 'search': value['search'],
76
- 'sort_by': value['sortBy'],
77
- 'sort_direction': value['sortDirection'],
78
- 'related_id': value['relatedId'],
79
- 'related_type': value['relatedType'],
80
- 'includes_relations': value['includesRelations'],
81
- 'state': value['state'],
82
- };
83
- }