@digital8/cctv-web-app-ts-sdk 0.0.1
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/.openapi-generator/FILES +77 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +46 -0
- package/dist/apis/AccountApi.d.ts +45 -0
- package/dist/apis/AccountApi.js +210 -0
- package/dist/apis/AuthApi.d.ts +90 -0
- package/dist/apis/AuthApi.js +458 -0
- package/dist/apis/CompaniesApi.d.ts +102 -0
- package/dist/apis/CompaniesApi.js +442 -0
- package/dist/apis/DashboardApi.d.ts +26 -0
- package/dist/apis/DashboardApi.js +122 -0
- package/dist/apis/FormAApi.d.ts +90 -0
- package/dist/apis/FormAApi.js +395 -0
- package/dist/apis/FormBApi.d.ts +79 -0
- package/dist/apis/FormBApi.js +350 -0
- package/dist/apis/FormCApi.d.ts +90 -0
- package/dist/apis/FormCApi.js +395 -0
- package/dist/apis/ManagerApi.d.ts +42 -0
- package/dist/apis/ManagerApi.js +180 -0
- package/dist/apis/ManagersApi.d.ts +71 -0
- package/dist/apis/ManagersApi.js +307 -0
- package/dist/apis/NotificationsApi.d.ts +40 -0
- package/dist/apis/NotificationsApi.js +171 -0
- package/dist/apis/QuestionsApi.d.ts +71 -0
- package/dist/apis/QuestionsApi.js +307 -0
- package/dist/apis/TechniciansApi.d.ts +73 -0
- package/dist/apis/TechniciansApi.js +308 -0
- package/dist/apis/UploadApi.d.ts +29 -0
- package/dist/apis/UploadApi.js +125 -0
- package/dist/apis/VenueApi.d.ts +41 -0
- package/dist/apis/VenueApi.js +176 -0
- package/dist/apis/VenuesApi.d.ts +144 -0
- package/dist/apis/VenuesApi.js +623 -0
- package/dist/apis/index.d.ts +15 -0
- package/dist/apis/index.js +33 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +21 -0
- package/dist/models/AssetFileForUploadResource.d.ts +52 -0
- package/dist/models/AssetFileForUploadResource.js +63 -0
- package/dist/models/AssetFileForUploadResourceArrayResponse.d.ts +33 -0
- package/dist/models/AssetFileForUploadResourceArrayResponse.js +50 -0
- package/dist/models/AssetLiteResource.d.ts +38 -0
- package/dist/models/AssetLiteResource.js +53 -0
- package/dist/models/AssetLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/AssetLiteResourceArrayResponse.js +50 -0
- package/dist/models/AssetResource.d.ts +62 -0
- package/dist/models/AssetResource.js +67 -0
- package/dist/models/AssetResourceArrayResponse.d.ts +33 -0
- package/dist/models/AssetResourceArrayResponse.js +50 -0
- package/dist/models/CompanyResource.d.ts +56 -0
- package/dist/models/CompanyResource.js +67 -0
- package/dist/models/CompanyResourceArrayResponse.d.ts +33 -0
- package/dist/models/CompanyResourceArrayResponse.js +50 -0
- package/dist/models/CreateFormARequest.d.ts +81 -0
- package/dist/models/CreateFormARequest.js +73 -0
- package/dist/models/CreateFormARequestAnswersInner.d.ts +38 -0
- package/dist/models/CreateFormARequestAnswersInner.js +55 -0
- package/dist/models/CreateNotificationSilenceRequest.d.ts +46 -0
- package/dist/models/CreateNotificationSilenceRequest.js +63 -0
- package/dist/models/CreateOrUpdateCompanyRequest.d.ts +50 -0
- package/dist/models/CreateOrUpdateCompanyRequest.js +61 -0
- package/dist/models/CreateOrUpdateFormCRequest.d.ts +98 -0
- package/dist/models/CreateOrUpdateFormCRequest.js +80 -0
- package/dist/models/CreateOrUpdateManagerRequest.d.ts +92 -0
- package/dist/models/CreateOrUpdateManagerRequest.js +81 -0
- package/dist/models/CreateOrUpdateQuestionRequest.d.ts +38 -0
- package/dist/models/CreateOrUpdateQuestionRequest.js +53 -0
- package/dist/models/CreateOrUpdateTechnicianRequest.d.ts +56 -0
- package/dist/models/CreateOrUpdateTechnicianRequest.js +65 -0
- package/dist/models/CreateOrUpdateVenueRequest.d.ts +93 -0
- package/dist/models/CreateOrUpdateVenueRequest.js +86 -0
- package/dist/models/CreateOrUpdateVenueRequestHoursInner.d.ts +38 -0
- package/dist/models/CreateOrUpdateVenueRequestHoursInner.js +55 -0
- package/dist/models/FindNearbyVenuesRequest.d.ts +38 -0
- package/dist/models/FindNearbyVenuesRequest.js +55 -0
- package/dist/models/FormAResource.d.ts +122 -0
- package/dist/models/FormAResource.js +101 -0
- package/dist/models/FormAResourceArrayResponse.d.ts +33 -0
- package/dist/models/FormAResourceArrayResponse.js +50 -0
- package/dist/models/FormBResource.d.ts +86 -0
- package/dist/models/FormBResource.js +75 -0
- package/dist/models/FormBResourceArrayResponse.d.ts +33 -0
- package/dist/models/FormBResourceArrayResponse.js +50 -0
- package/dist/models/FormCResource.d.ts +112 -0
- package/dist/models/FormCResource.js +101 -0
- package/dist/models/FormCResourceArrayResponse.d.ts +33 -0
- package/dist/models/FormCResourceArrayResponse.js +50 -0
- package/dist/models/GenericResponse.d.ts +32 -0
- package/dist/models/GenericResponse.js +49 -0
- package/dist/models/GetUploadUrlRequest.d.ts +56 -0
- package/dist/models/GetUploadUrlRequest.js +71 -0
- package/dist/models/ManagerResource.d.ts +128 -0
- package/dist/models/ManagerResource.js +107 -0
- package/dist/models/ManagerResourceArrayResponse.d.ts +33 -0
- package/dist/models/ManagerResourceArrayResponse.js +50 -0
- package/dist/models/PaginatedCompanyResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedCompanyResourceResponse.js +57 -0
- package/dist/models/PaginatedFormAResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedFormAResourceResponse.js +57 -0
- package/dist/models/PaginatedFormBResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedFormBResourceResponse.js +57 -0
- package/dist/models/PaginatedFormCResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedFormCResourceResponse.js +57 -0
- package/dist/models/PaginatedManagerResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedManagerResourceResponse.js +57 -0
- package/dist/models/PaginatedQuestionResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedQuestionResourceResponse.js +57 -0
- package/dist/models/PaginatedTechnicianResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedTechnicianResourceResponse.js +57 -0
- package/dist/models/PaginatedVenueResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedVenueResourceResponse.js +57 -0
- package/dist/models/PagingMetadata.d.ts +68 -0
- package/dist/models/PagingMetadata.js +75 -0
- package/dist/models/QuestionResource.d.ts +50 -0
- package/dist/models/QuestionResource.js +61 -0
- package/dist/models/QuestionResourceArrayResponse.d.ts +33 -0
- package/dist/models/QuestionResourceArrayResponse.js +50 -0
- package/dist/models/SearchCompaniesRequest.d.ts +90 -0
- package/dist/models/SearchCompaniesRequest.js +78 -0
- package/dist/models/SearchTechniciansRequest.d.ts +92 -0
- package/dist/models/SearchTechniciansRequest.js +80 -0
- package/dist/models/TechnicianResource.d.ts +80 -0
- package/dist/models/TechnicianResource.js +81 -0
- package/dist/models/TechnicianResourceArrayResponse.d.ts +33 -0
- package/dist/models/TechnicianResourceArrayResponse.js +50 -0
- package/dist/models/UpdateFormARequest.d.ts +57 -0
- package/dist/models/UpdateFormARequest.js +60 -0
- package/dist/models/UpdateFormARequestAnswersInner.d.ts +38 -0
- package/dist/models/UpdateFormARequestAnswersInner.js +55 -0
- package/dist/models/UpdateFormBRequest.d.ts +50 -0
- package/dist/models/UpdateFormBRequest.js +56 -0
- package/dist/models/UpdateNonTradingDaysRequest.d.ts +32 -0
- package/dist/models/UpdateNonTradingDaysRequest.js +49 -0
- package/dist/models/UserResource.d.ts +68 -0
- package/dist/models/UserResource.js +71 -0
- package/dist/models/UserResourceArrayResponse.d.ts +33 -0
- package/dist/models/UserResourceArrayResponse.js +50 -0
- package/dist/models/VenueResource.d.ts +153 -0
- package/dist/models/VenueResource.js +132 -0
- package/dist/models/VenueResourceArrayResponse.d.ts +33 -0
- package/dist/models/VenueResourceArrayResponse.js +50 -0
- package/dist/models/index.d.ts +52 -0
- package/dist/models/index.js +70 -0
- package/dist/runtime.d.ts +184 -0
- package/dist/runtime.js +564 -0
- package/package.json +19 -0
- package/src/apis/AccountApi.ts +132 -0
- package/src/apis/AuthApi.ts +291 -0
- package/src/apis/CompaniesApi.ts +341 -0
- package/src/apis/DashboardApi.ts +59 -0
- package/src/apis/FormAApi.ts +301 -0
- package/src/apis/FormBApi.ts +262 -0
- package/src/apis/FormCApi.ts +298 -0
- package/src/apis/ManagerApi.ts +133 -0
- package/src/apis/ManagersApi.ts +228 -0
- package/src/apis/NotificationsApi.ts +110 -0
- package/src/apis/QuestionsApi.ts +225 -0
- package/src/apis/TechniciansApi.ts +234 -0
- package/src/apis/UploadApi.ts +69 -0
- package/src/apis/VenueApi.ts +121 -0
- package/src/apis/VenuesApi.ts +492 -0
- package/src/apis/index.ts +17 -0
- package/src/index.ts +5 -0
- package/src/models/AssetFileForUploadResource.ts +93 -0
- package/src/models/AssetFileForUploadResourceArrayResponse.ts +73 -0
- package/src/models/AssetLiteResource.ts +74 -0
- package/src/models/AssetLiteResourceArrayResponse.ts +73 -0
- package/src/models/AssetResource.ts +109 -0
- package/src/models/AssetResourceArrayResponse.ts +73 -0
- package/src/models/CompanyResource.ts +102 -0
- package/src/models/CompanyResourceArrayResponse.ts +73 -0
- package/src/models/CreateFormARequest.ts +140 -0
- package/src/models/CreateFormARequestAnswersInner.ts +75 -0
- package/src/models/CreateNotificationSilenceRequest.ts +86 -0
- package/src/models/CreateOrUpdateCompanyRequest.ts +92 -0
- package/src/models/CreateOrUpdateFormCRequest.ts +157 -0
- package/src/models/CreateOrUpdateManagerRequest.ts +151 -0
- package/src/models/CreateOrUpdateQuestionRequest.ts +74 -0
- package/src/models/CreateOrUpdateTechnicianRequest.ts +101 -0
- package/src/models/CreateOrUpdateVenueRequest.ts +161 -0
- package/src/models/CreateOrUpdateVenueRequestHoursInner.ts +75 -0
- package/src/models/FindNearbyVenuesRequest.ts +75 -0
- package/src/models/FormAResource.ts +196 -0
- package/src/models/FormAResourceArrayResponse.ts +73 -0
- package/src/models/FormBResource.ts +141 -0
- package/src/models/FormBResourceArrayResponse.ts +73 -0
- package/src/models/FormCResource.ts +196 -0
- package/src/models/FormCResourceArrayResponse.ts +73 -0
- package/src/models/GenericResponse.ts +65 -0
- package/src/models/GetUploadUrlRequest.ts +99 -0
- package/src/models/ManagerResource.ts +206 -0
- package/src/models/ManagerResourceArrayResponse.ts +73 -0
- package/src/models/PaginatedCompanyResourceResponse.ts +90 -0
- package/src/models/PaginatedFormAResourceResponse.ts +90 -0
- package/src/models/PaginatedFormBResourceResponse.ts +90 -0
- package/src/models/PaginatedFormCResourceResponse.ts +90 -0
- package/src/models/PaginatedManagerResourceResponse.ts +90 -0
- package/src/models/PaginatedQuestionResourceResponse.ts +90 -0
- package/src/models/PaginatedTechnicianResourceResponse.ts +90 -0
- package/src/models/PaginatedVenueResourceResponse.ts +90 -0
- package/src/models/PagingMetadata.ts +120 -0
- package/src/models/QuestionResource.ts +92 -0
- package/src/models/QuestionResourceArrayResponse.ts +73 -0
- package/src/models/SearchCompaniesRequest.ts +141 -0
- package/src/models/SearchTechniciansRequest.ts +143 -0
- package/src/models/TechnicianResource.ts +137 -0
- package/src/models/TechnicianResourceArrayResponse.ts +73 -0
- package/src/models/UpdateFormARequest.ts +106 -0
- package/src/models/UpdateFormARequestAnswersInner.ts +75 -0
- package/src/models/UpdateFormBRequest.ts +89 -0
- package/src/models/UpdateNonTradingDaysRequest.ts +65 -0
- package/src/models/UserResource.ts +118 -0
- package/src/models/UserResourceArrayResponse.ts +73 -0
- package/src/models/VenueResource.ts +254 -0
- package/src/models/VenueResourceArrayResponse.ts +73 -0
- package/src/models/index.ts +54 -0
- package/src/runtime.ts +432 -0
- package/tsconfig.json +20 -0
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CCTV Registers API
|
|
3
|
+
* API documentation for the CCTV Registers application
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.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 ManagerResource
|
|
16
|
+
*/
|
|
17
|
+
export interface ManagerResource {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ManagerResource
|
|
22
|
+
*/
|
|
23
|
+
id?: number | null;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ManagerResource
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ManagerResource
|
|
34
|
+
*/
|
|
35
|
+
email: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ManagerResource
|
|
40
|
+
*/
|
|
41
|
+
licenceImage?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ManagerResource
|
|
46
|
+
*/
|
|
47
|
+
rmlvLicenceImage?: string | null;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {object}
|
|
51
|
+
* @memberof ManagerResource
|
|
52
|
+
*/
|
|
53
|
+
user: object;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof ManagerResource
|
|
58
|
+
*/
|
|
59
|
+
signature?: string | null;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof ManagerResource
|
|
64
|
+
*/
|
|
65
|
+
licenceNumber: string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof ManagerResource
|
|
70
|
+
*/
|
|
71
|
+
licenceExpiryDate: string;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof ManagerResource
|
|
76
|
+
*/
|
|
77
|
+
rmlvLicenceNumber: string;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof ManagerResource
|
|
82
|
+
*/
|
|
83
|
+
rmlvLicenceIssueDate: string;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof ManagerResource
|
|
88
|
+
*/
|
|
89
|
+
rmlvLicenceExpiryDate: string;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof ManagerResource
|
|
94
|
+
*/
|
|
95
|
+
phone: string;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {object}
|
|
99
|
+
* @memberof ManagerResource
|
|
100
|
+
*/
|
|
101
|
+
venues: object;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @type {object}
|
|
105
|
+
* @memberof ManagerResource
|
|
106
|
+
*/
|
|
107
|
+
status: object;
|
|
108
|
+
/**
|
|
109
|
+
*
|
|
110
|
+
* @type {object}
|
|
111
|
+
* @memberof ManagerResource
|
|
112
|
+
*/
|
|
113
|
+
enteredVenueCode: object;
|
|
114
|
+
/**
|
|
115
|
+
*
|
|
116
|
+
* @type {boolean}
|
|
117
|
+
* @memberof ManagerResource
|
|
118
|
+
*/
|
|
119
|
+
isAreaManager: boolean;
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Check if a given object implements the ManagerResource interface.
|
|
123
|
+
*/
|
|
124
|
+
export declare function instanceOfManagerResource(value: object): value is ManagerResource;
|
|
125
|
+
export declare function ManagerResourceFromJSON(json: any): ManagerResource;
|
|
126
|
+
export declare function ManagerResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ManagerResource;
|
|
127
|
+
export declare function ManagerResourceToJSON(json: any): ManagerResource;
|
|
128
|
+
export declare function ManagerResourceToJSONTyped(value?: ManagerResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* CCTV Registers API
|
|
6
|
+
* API documentation for the CCTV Registers application
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1.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.instanceOfManagerResource = instanceOfManagerResource;
|
|
17
|
+
exports.ManagerResourceFromJSON = ManagerResourceFromJSON;
|
|
18
|
+
exports.ManagerResourceFromJSONTyped = ManagerResourceFromJSONTyped;
|
|
19
|
+
exports.ManagerResourceToJSON = ManagerResourceToJSON;
|
|
20
|
+
exports.ManagerResourceToJSONTyped = ManagerResourceToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ManagerResource interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfManagerResource(value) {
|
|
25
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('user' in value) || value['user'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('licenceNumber' in value) || value['licenceNumber'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('licenceExpiryDate' in value) || value['licenceExpiryDate'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('rmlvLicenceNumber' in value) || value['rmlvLicenceNumber'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('rmlvLicenceIssueDate' in value) || value['rmlvLicenceIssueDate'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('rmlvLicenceExpiryDate' in value) || value['rmlvLicenceExpiryDate'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('phone' in value) || value['phone'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('venues' in value) || value['venues'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
46
|
+
return false;
|
|
47
|
+
if (!('enteredVenueCode' in value) || value['enteredVenueCode'] === undefined)
|
|
48
|
+
return false;
|
|
49
|
+
if (!('isAreaManager' in value) || value['isAreaManager'] === undefined)
|
|
50
|
+
return false;
|
|
51
|
+
return true;
|
|
52
|
+
}
|
|
53
|
+
function ManagerResourceFromJSON(json) {
|
|
54
|
+
return ManagerResourceFromJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
function ManagerResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
62
|
+
'name': json['name'],
|
|
63
|
+
'email': json['email'],
|
|
64
|
+
'licenceImage': json['licence_image'] == null ? undefined : json['licence_image'],
|
|
65
|
+
'rmlvLicenceImage': json['rmlv_licence_image'] == null ? undefined : json['rmlv_licence_image'],
|
|
66
|
+
'user': json['user'],
|
|
67
|
+
'signature': json['signature'] == null ? undefined : json['signature'],
|
|
68
|
+
'licenceNumber': json['licence_number'],
|
|
69
|
+
'licenceExpiryDate': json['licence_expiry_date'],
|
|
70
|
+
'rmlvLicenceNumber': json['rmlv_licence_number'],
|
|
71
|
+
'rmlvLicenceIssueDate': json['rmlv_licence_issue_date'],
|
|
72
|
+
'rmlvLicenceExpiryDate': json['rmlv_licence_expiry_date'],
|
|
73
|
+
'phone': json['phone'],
|
|
74
|
+
'venues': json['venues'],
|
|
75
|
+
'status': json['status'],
|
|
76
|
+
'enteredVenueCode': json['enteredVenueCode'],
|
|
77
|
+
'isAreaManager': json['isAreaManager'],
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
function ManagerResourceToJSON(json) {
|
|
81
|
+
return ManagerResourceToJSONTyped(json, false);
|
|
82
|
+
}
|
|
83
|
+
function ManagerResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
84
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
85
|
+
if (value == null) {
|
|
86
|
+
return value;
|
|
87
|
+
}
|
|
88
|
+
return {
|
|
89
|
+
'id': value['id'],
|
|
90
|
+
'name': value['name'],
|
|
91
|
+
'email': value['email'],
|
|
92
|
+
'licence_image': value['licenceImage'],
|
|
93
|
+
'rmlv_licence_image': value['rmlvLicenceImage'],
|
|
94
|
+
'user': value['user'],
|
|
95
|
+
'signature': value['signature'],
|
|
96
|
+
'licence_number': value['licenceNumber'],
|
|
97
|
+
'licence_expiry_date': value['licenceExpiryDate'],
|
|
98
|
+
'rmlv_licence_number': value['rmlvLicenceNumber'],
|
|
99
|
+
'rmlv_licence_issue_date': value['rmlvLicenceIssueDate'],
|
|
100
|
+
'rmlv_licence_expiry_date': value['rmlvLicenceExpiryDate'],
|
|
101
|
+
'phone': value['phone'],
|
|
102
|
+
'venues': value['venues'],
|
|
103
|
+
'status': value['status'],
|
|
104
|
+
'enteredVenueCode': value['enteredVenueCode'],
|
|
105
|
+
'isAreaManager': value['isAreaManager'],
|
|
106
|
+
};
|
|
107
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CCTV Registers API
|
|
3
|
+
* API documentation for the CCTV Registers application
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.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 { ManagerResource } from './ManagerResource';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ManagerResourceArrayResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface ManagerResourceArrayResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<ManagerResource>}
|
|
22
|
+
* @memberof ManagerResourceArrayResponse
|
|
23
|
+
*/
|
|
24
|
+
data?: Array<ManagerResource>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the ManagerResourceArrayResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfManagerResourceArrayResponse(value: object): value is ManagerResourceArrayResponse;
|
|
30
|
+
export declare function ManagerResourceArrayResponseFromJSON(json: any): ManagerResourceArrayResponse;
|
|
31
|
+
export declare function ManagerResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ManagerResourceArrayResponse;
|
|
32
|
+
export declare function ManagerResourceArrayResponseToJSON(json: any): ManagerResourceArrayResponse;
|
|
33
|
+
export declare function ManagerResourceArrayResponseToJSONTyped(value?: ManagerResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* CCTV Registers API
|
|
6
|
+
* API documentation for the CCTV Registers application
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1.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.instanceOfManagerResourceArrayResponse = instanceOfManagerResourceArrayResponse;
|
|
17
|
+
exports.ManagerResourceArrayResponseFromJSON = ManagerResourceArrayResponseFromJSON;
|
|
18
|
+
exports.ManagerResourceArrayResponseFromJSONTyped = ManagerResourceArrayResponseFromJSONTyped;
|
|
19
|
+
exports.ManagerResourceArrayResponseToJSON = ManagerResourceArrayResponseToJSON;
|
|
20
|
+
exports.ManagerResourceArrayResponseToJSONTyped = ManagerResourceArrayResponseToJSONTyped;
|
|
21
|
+
var ManagerResource_1 = require("./ManagerResource");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ManagerResourceArrayResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfManagerResourceArrayResponse(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function ManagerResourceArrayResponseFromJSON(json) {
|
|
29
|
+
return ManagerResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function ManagerResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'data': json['data'] == null ? undefined : (json['data'].map(ManagerResource_1.ManagerResourceFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function ManagerResourceArrayResponseToJSON(json) {
|
|
40
|
+
return ManagerResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function ManagerResourceArrayResponseToJSONTyped(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(ManagerResource_1.ManagerResourceToJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CCTV Registers API
|
|
3
|
+
* API documentation for the CCTV Registers application
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.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 { PagingMetadata } from './PagingMetadata';
|
|
13
|
+
import type { CompanyResource } from './CompanyResource';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginatedCompanyResourceResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginatedCompanyResourceResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Array<CompanyResource>}
|
|
23
|
+
* @memberof PaginatedCompanyResourceResponse
|
|
24
|
+
*/
|
|
25
|
+
data: Array<CompanyResource>;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {PagingMetadata}
|
|
29
|
+
* @memberof PaginatedCompanyResourceResponse
|
|
30
|
+
*/
|
|
31
|
+
meta: PagingMetadata;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PaginatedCompanyResourceResponse interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPaginatedCompanyResourceResponse(value: object): value is PaginatedCompanyResourceResponse;
|
|
37
|
+
export declare function PaginatedCompanyResourceResponseFromJSON(json: any): PaginatedCompanyResourceResponse;
|
|
38
|
+
export declare function PaginatedCompanyResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedCompanyResourceResponse;
|
|
39
|
+
export declare function PaginatedCompanyResourceResponseToJSON(json: any): PaginatedCompanyResourceResponse;
|
|
40
|
+
export declare function PaginatedCompanyResourceResponseToJSONTyped(value?: PaginatedCompanyResourceResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* CCTV Registers API
|
|
6
|
+
* API documentation for the CCTV Registers application
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1.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.instanceOfPaginatedCompanyResourceResponse = instanceOfPaginatedCompanyResourceResponse;
|
|
17
|
+
exports.PaginatedCompanyResourceResponseFromJSON = PaginatedCompanyResourceResponseFromJSON;
|
|
18
|
+
exports.PaginatedCompanyResourceResponseFromJSONTyped = PaginatedCompanyResourceResponseFromJSONTyped;
|
|
19
|
+
exports.PaginatedCompanyResourceResponseToJSON = PaginatedCompanyResourceResponseToJSON;
|
|
20
|
+
exports.PaginatedCompanyResourceResponseToJSONTyped = PaginatedCompanyResourceResponseToJSONTyped;
|
|
21
|
+
var PagingMetadata_1 = require("./PagingMetadata");
|
|
22
|
+
var CompanyResource_1 = require("./CompanyResource");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the PaginatedCompanyResourceResponse interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfPaginatedCompanyResourceResponse(value) {
|
|
27
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('meta' in value) || value['meta'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function PaginatedCompanyResourceResponseFromJSON(json) {
|
|
34
|
+
return PaginatedCompanyResourceResponseFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function PaginatedCompanyResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'data': (json['data'].map(CompanyResource_1.CompanyResourceFromJSON)),
|
|
42
|
+
'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function PaginatedCompanyResourceResponseToJSON(json) {
|
|
46
|
+
return PaginatedCompanyResourceResponseToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function PaginatedCompanyResourceResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'data': (value['data'].map(CompanyResource_1.CompanyResourceToJSON)),
|
|
55
|
+
'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CCTV Registers API
|
|
3
|
+
* API documentation for the CCTV Registers application
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.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 { PagingMetadata } from './PagingMetadata';
|
|
13
|
+
import type { FormAResource } from './FormAResource';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginatedFormAResourceResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginatedFormAResourceResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Array<FormAResource>}
|
|
23
|
+
* @memberof PaginatedFormAResourceResponse
|
|
24
|
+
*/
|
|
25
|
+
data: Array<FormAResource>;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {PagingMetadata}
|
|
29
|
+
* @memberof PaginatedFormAResourceResponse
|
|
30
|
+
*/
|
|
31
|
+
meta: PagingMetadata;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PaginatedFormAResourceResponse interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPaginatedFormAResourceResponse(value: object): value is PaginatedFormAResourceResponse;
|
|
37
|
+
export declare function PaginatedFormAResourceResponseFromJSON(json: any): PaginatedFormAResourceResponse;
|
|
38
|
+
export declare function PaginatedFormAResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedFormAResourceResponse;
|
|
39
|
+
export declare function PaginatedFormAResourceResponseToJSON(json: any): PaginatedFormAResourceResponse;
|
|
40
|
+
export declare function PaginatedFormAResourceResponseToJSONTyped(value?: PaginatedFormAResourceResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* CCTV Registers API
|
|
6
|
+
* API documentation for the CCTV Registers application
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1.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.instanceOfPaginatedFormAResourceResponse = instanceOfPaginatedFormAResourceResponse;
|
|
17
|
+
exports.PaginatedFormAResourceResponseFromJSON = PaginatedFormAResourceResponseFromJSON;
|
|
18
|
+
exports.PaginatedFormAResourceResponseFromJSONTyped = PaginatedFormAResourceResponseFromJSONTyped;
|
|
19
|
+
exports.PaginatedFormAResourceResponseToJSON = PaginatedFormAResourceResponseToJSON;
|
|
20
|
+
exports.PaginatedFormAResourceResponseToJSONTyped = PaginatedFormAResourceResponseToJSONTyped;
|
|
21
|
+
var PagingMetadata_1 = require("./PagingMetadata");
|
|
22
|
+
var FormAResource_1 = require("./FormAResource");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the PaginatedFormAResourceResponse interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfPaginatedFormAResourceResponse(value) {
|
|
27
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('meta' in value) || value['meta'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function PaginatedFormAResourceResponseFromJSON(json) {
|
|
34
|
+
return PaginatedFormAResourceResponseFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function PaginatedFormAResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'data': (json['data'].map(FormAResource_1.FormAResourceFromJSON)),
|
|
42
|
+
'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function PaginatedFormAResourceResponseToJSON(json) {
|
|
46
|
+
return PaginatedFormAResourceResponseToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function PaginatedFormAResourceResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'data': (value['data'].map(FormAResource_1.FormAResourceToJSON)),
|
|
55
|
+
'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CCTV Registers API
|
|
3
|
+
* API documentation for the CCTV Registers application
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.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 { PagingMetadata } from './PagingMetadata';
|
|
13
|
+
import type { FormBResource } from './FormBResource';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginatedFormBResourceResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginatedFormBResourceResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Array<FormBResource>}
|
|
23
|
+
* @memberof PaginatedFormBResourceResponse
|
|
24
|
+
*/
|
|
25
|
+
data: Array<FormBResource>;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {PagingMetadata}
|
|
29
|
+
* @memberof PaginatedFormBResourceResponse
|
|
30
|
+
*/
|
|
31
|
+
meta: PagingMetadata;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PaginatedFormBResourceResponse interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPaginatedFormBResourceResponse(value: object): value is PaginatedFormBResourceResponse;
|
|
37
|
+
export declare function PaginatedFormBResourceResponseFromJSON(json: any): PaginatedFormBResourceResponse;
|
|
38
|
+
export declare function PaginatedFormBResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedFormBResourceResponse;
|
|
39
|
+
export declare function PaginatedFormBResourceResponseToJSON(json: any): PaginatedFormBResourceResponse;
|
|
40
|
+
export declare function PaginatedFormBResourceResponseToJSONTyped(value?: PaginatedFormBResourceResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* CCTV Registers API
|
|
6
|
+
* API documentation for the CCTV Registers application
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1.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.instanceOfPaginatedFormBResourceResponse = instanceOfPaginatedFormBResourceResponse;
|
|
17
|
+
exports.PaginatedFormBResourceResponseFromJSON = PaginatedFormBResourceResponseFromJSON;
|
|
18
|
+
exports.PaginatedFormBResourceResponseFromJSONTyped = PaginatedFormBResourceResponseFromJSONTyped;
|
|
19
|
+
exports.PaginatedFormBResourceResponseToJSON = PaginatedFormBResourceResponseToJSON;
|
|
20
|
+
exports.PaginatedFormBResourceResponseToJSONTyped = PaginatedFormBResourceResponseToJSONTyped;
|
|
21
|
+
var PagingMetadata_1 = require("./PagingMetadata");
|
|
22
|
+
var FormBResource_1 = require("./FormBResource");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the PaginatedFormBResourceResponse interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfPaginatedFormBResourceResponse(value) {
|
|
27
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('meta' in value) || value['meta'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function PaginatedFormBResourceResponseFromJSON(json) {
|
|
34
|
+
return PaginatedFormBResourceResponseFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function PaginatedFormBResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'data': (json['data'].map(FormBResource_1.FormBResourceFromJSON)),
|
|
42
|
+
'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function PaginatedFormBResourceResponseToJSON(json) {
|
|
46
|
+
return PaginatedFormBResourceResponseToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function PaginatedFormBResourceResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'data': (value['data'].map(FormBResource_1.FormBResourceToJSON)),
|
|
55
|
+
'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CCTV Registers API
|
|
3
|
+
* API documentation for the CCTV Registers application
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.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 { PagingMetadata } from './PagingMetadata';
|
|
13
|
+
import type { FormCResource } from './FormCResource';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginatedFormCResourceResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginatedFormCResourceResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Array<FormCResource>}
|
|
23
|
+
* @memberof PaginatedFormCResourceResponse
|
|
24
|
+
*/
|
|
25
|
+
data: Array<FormCResource>;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {PagingMetadata}
|
|
29
|
+
* @memberof PaginatedFormCResourceResponse
|
|
30
|
+
*/
|
|
31
|
+
meta: PagingMetadata;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PaginatedFormCResourceResponse interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPaginatedFormCResourceResponse(value: object): value is PaginatedFormCResourceResponse;
|
|
37
|
+
export declare function PaginatedFormCResourceResponseFromJSON(json: any): PaginatedFormCResourceResponse;
|
|
38
|
+
export declare function PaginatedFormCResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedFormCResourceResponse;
|
|
39
|
+
export declare function PaginatedFormCResourceResponseToJSON(json: any): PaginatedFormCResourceResponse;
|
|
40
|
+
export declare function PaginatedFormCResourceResponseToJSONTyped(value?: PaginatedFormCResourceResponse | null, ignoreDiscriminator?: boolean): any;
|