@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,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.instanceOfTechnicianResourceArrayResponse = instanceOfTechnicianResourceArrayResponse;
|
|
17
|
+
exports.TechnicianResourceArrayResponseFromJSON = TechnicianResourceArrayResponseFromJSON;
|
|
18
|
+
exports.TechnicianResourceArrayResponseFromJSONTyped = TechnicianResourceArrayResponseFromJSONTyped;
|
|
19
|
+
exports.TechnicianResourceArrayResponseToJSON = TechnicianResourceArrayResponseToJSON;
|
|
20
|
+
exports.TechnicianResourceArrayResponseToJSONTyped = TechnicianResourceArrayResponseToJSONTyped;
|
|
21
|
+
var TechnicianResource_1 = require("./TechnicianResource");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the TechnicianResourceArrayResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfTechnicianResourceArrayResponse(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function TechnicianResourceArrayResponseFromJSON(json) {
|
|
29
|
+
return TechnicianResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function TechnicianResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'data': json['data'] == null ? undefined : (json['data'].map(TechnicianResource_1.TechnicianResourceFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function TechnicianResourceArrayResponseToJSON(json) {
|
|
40
|
+
return TechnicianResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function TechnicianResourceArrayResponseToJSONTyped(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(TechnicianResource_1.TechnicianResourceToJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
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 { UpdateFormARequestAnswersInner } from './UpdateFormARequestAnswersInner';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UpdateFormARequest
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdateFormARequest {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<UpdateFormARequestAnswersInner>}
|
|
22
|
+
* @memberof UpdateFormARequest
|
|
23
|
+
*/
|
|
24
|
+
answers: Array<UpdateFormARequestAnswersInner>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof UpdateFormARequest
|
|
29
|
+
*/
|
|
30
|
+
jobNumber?: string | null;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof UpdateFormARequest
|
|
35
|
+
*/
|
|
36
|
+
emailNote?: string | null;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof UpdateFormARequest
|
|
41
|
+
*/
|
|
42
|
+
longitude?: string | null;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof UpdateFormARequest
|
|
47
|
+
*/
|
|
48
|
+
latitude?: string | null;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the UpdateFormARequest interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfUpdateFormARequest(value: object): value is UpdateFormARequest;
|
|
54
|
+
export declare function UpdateFormARequestFromJSON(json: any): UpdateFormARequest;
|
|
55
|
+
export declare function UpdateFormARequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateFormARequest;
|
|
56
|
+
export declare function UpdateFormARequestToJSON(json: any): UpdateFormARequest;
|
|
57
|
+
export declare function UpdateFormARequestToJSONTyped(value?: UpdateFormARequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
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.instanceOfUpdateFormARequest = instanceOfUpdateFormARequest;
|
|
17
|
+
exports.UpdateFormARequestFromJSON = UpdateFormARequestFromJSON;
|
|
18
|
+
exports.UpdateFormARequestFromJSONTyped = UpdateFormARequestFromJSONTyped;
|
|
19
|
+
exports.UpdateFormARequestToJSON = UpdateFormARequestToJSON;
|
|
20
|
+
exports.UpdateFormARequestToJSONTyped = UpdateFormARequestToJSONTyped;
|
|
21
|
+
var UpdateFormARequestAnswersInner_1 = require("./UpdateFormARequestAnswersInner");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the UpdateFormARequest interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfUpdateFormARequest(value) {
|
|
26
|
+
if (!('answers' in value) || value['answers'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function UpdateFormARequestFromJSON(json) {
|
|
31
|
+
return UpdateFormARequestFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function UpdateFormARequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'answers': (json['answers'].map(UpdateFormARequestAnswersInner_1.UpdateFormARequestAnswersInnerFromJSON)),
|
|
39
|
+
'jobNumber': json['job_number'] == null ? undefined : json['job_number'],
|
|
40
|
+
'emailNote': json['email_note'] == null ? undefined : json['email_note'],
|
|
41
|
+
'longitude': json['longitude'] == null ? undefined : json['longitude'],
|
|
42
|
+
'latitude': json['latitude'] == null ? undefined : json['latitude'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function UpdateFormARequestToJSON(json) {
|
|
46
|
+
return UpdateFormARequestToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function UpdateFormARequestToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'answers': (value['answers'].map(UpdateFormARequestAnswersInner_1.UpdateFormARequestAnswersInnerToJSON)),
|
|
55
|
+
'job_number': value['jobNumber'],
|
|
56
|
+
'email_note': value['emailNote'],
|
|
57
|
+
'longitude': value['longitude'],
|
|
58
|
+
'latitude': value['latitude'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 UpdateFormARequestAnswersInner
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateFormARequestAnswersInner {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UpdateFormARequestAnswersInner
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof UpdateFormARequestAnswersInner
|
|
28
|
+
*/
|
|
29
|
+
answer: boolean;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the UpdateFormARequestAnswersInner interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfUpdateFormARequestAnswersInner(value: object): value is UpdateFormARequestAnswersInner;
|
|
35
|
+
export declare function UpdateFormARequestAnswersInnerFromJSON(json: any): UpdateFormARequestAnswersInner;
|
|
36
|
+
export declare function UpdateFormARequestAnswersInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateFormARequestAnswersInner;
|
|
37
|
+
export declare function UpdateFormARequestAnswersInnerToJSON(json: any): UpdateFormARequestAnswersInner;
|
|
38
|
+
export declare function UpdateFormARequestAnswersInnerToJSONTyped(value?: UpdateFormARequestAnswersInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.instanceOfUpdateFormARequestAnswersInner = instanceOfUpdateFormARequestAnswersInner;
|
|
17
|
+
exports.UpdateFormARequestAnswersInnerFromJSON = UpdateFormARequestAnswersInnerFromJSON;
|
|
18
|
+
exports.UpdateFormARequestAnswersInnerFromJSONTyped = UpdateFormARequestAnswersInnerFromJSONTyped;
|
|
19
|
+
exports.UpdateFormARequestAnswersInnerToJSON = UpdateFormARequestAnswersInnerToJSON;
|
|
20
|
+
exports.UpdateFormARequestAnswersInnerToJSONTyped = UpdateFormARequestAnswersInnerToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the UpdateFormARequestAnswersInner interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfUpdateFormARequestAnswersInner(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('answer' in value) || value['answer'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function UpdateFormARequestAnswersInnerFromJSON(json) {
|
|
32
|
+
return UpdateFormARequestAnswersInnerFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function UpdateFormARequestAnswersInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'id': json['id'],
|
|
40
|
+
'answer': json['answer'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function UpdateFormARequestAnswersInnerToJSON(json) {
|
|
44
|
+
return UpdateFormARequestAnswersInnerToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function UpdateFormARequestAnswersInnerToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'id': value['id'],
|
|
53
|
+
'answer': value['answer'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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 UpdateFormBRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateFormBRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Date}
|
|
21
|
+
* @memberof UpdateFormBRequest
|
|
22
|
+
*/
|
|
23
|
+
repairDate?: Date | null;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UpdateFormBRequest
|
|
28
|
+
*/
|
|
29
|
+
description?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Date}
|
|
33
|
+
* @memberof UpdateFormBRequest
|
|
34
|
+
*/
|
|
35
|
+
arrangementDate?: Date | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof UpdateFormBRequest
|
|
40
|
+
*/
|
|
41
|
+
arrangementManagerName?: string | null;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the UpdateFormBRequest interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfUpdateFormBRequest(value: object): value is UpdateFormBRequest;
|
|
47
|
+
export declare function UpdateFormBRequestFromJSON(json: any): UpdateFormBRequest;
|
|
48
|
+
export declare function UpdateFormBRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateFormBRequest;
|
|
49
|
+
export declare function UpdateFormBRequestToJSON(json: any): UpdateFormBRequest;
|
|
50
|
+
export declare function UpdateFormBRequestToJSONTyped(value?: UpdateFormBRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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.instanceOfUpdateFormBRequest = instanceOfUpdateFormBRequest;
|
|
17
|
+
exports.UpdateFormBRequestFromJSON = UpdateFormBRequestFromJSON;
|
|
18
|
+
exports.UpdateFormBRequestFromJSONTyped = UpdateFormBRequestFromJSONTyped;
|
|
19
|
+
exports.UpdateFormBRequestToJSON = UpdateFormBRequestToJSON;
|
|
20
|
+
exports.UpdateFormBRequestToJSONTyped = UpdateFormBRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the UpdateFormBRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfUpdateFormBRequest(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function UpdateFormBRequestFromJSON(json) {
|
|
28
|
+
return UpdateFormBRequestFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function UpdateFormBRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'repairDate': json['repair_date'] == null ? undefined : (new Date(json['repair_date'])),
|
|
36
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
37
|
+
'arrangementDate': json['arrangement_date'] == null ? undefined : (new Date(json['arrangement_date'])),
|
|
38
|
+
'arrangementManagerName': json['arrangement_manager_name'] == null ? undefined : json['arrangement_manager_name'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function UpdateFormBRequestToJSON(json) {
|
|
42
|
+
return UpdateFormBRequestToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function UpdateFormBRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
45
|
+
var _a, _b;
|
|
46
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'repair_date': value['repairDate'] === null ? null : ((_a = value['repairDate']) === null || _a === void 0 ? void 0 : _a.toISOString()),
|
|
52
|
+
'description': value['description'],
|
|
53
|
+
'arrangement_date': value['arrangementDate'] === null ? null : ((_b = value['arrangementDate']) === null || _b === void 0 ? void 0 : _b.toISOString()),
|
|
54
|
+
'arrangement_manager_name': value['arrangementManagerName'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 UpdateNonTradingDaysRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateNonTradingDaysRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof UpdateNonTradingDaysRequest
|
|
22
|
+
*/
|
|
23
|
+
notTradingDays?: Array<string>;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the UpdateNonTradingDaysRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfUpdateNonTradingDaysRequest(value: object): value is UpdateNonTradingDaysRequest;
|
|
29
|
+
export declare function UpdateNonTradingDaysRequestFromJSON(json: any): UpdateNonTradingDaysRequest;
|
|
30
|
+
export declare function UpdateNonTradingDaysRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateNonTradingDaysRequest;
|
|
31
|
+
export declare function UpdateNonTradingDaysRequestToJSON(json: any): UpdateNonTradingDaysRequest;
|
|
32
|
+
export declare function UpdateNonTradingDaysRequestToJSONTyped(value?: UpdateNonTradingDaysRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,49 @@
|
|
|
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.instanceOfUpdateNonTradingDaysRequest = instanceOfUpdateNonTradingDaysRequest;
|
|
17
|
+
exports.UpdateNonTradingDaysRequestFromJSON = UpdateNonTradingDaysRequestFromJSON;
|
|
18
|
+
exports.UpdateNonTradingDaysRequestFromJSONTyped = UpdateNonTradingDaysRequestFromJSONTyped;
|
|
19
|
+
exports.UpdateNonTradingDaysRequestToJSON = UpdateNonTradingDaysRequestToJSON;
|
|
20
|
+
exports.UpdateNonTradingDaysRequestToJSONTyped = UpdateNonTradingDaysRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the UpdateNonTradingDaysRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfUpdateNonTradingDaysRequest(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function UpdateNonTradingDaysRequestFromJSON(json) {
|
|
28
|
+
return UpdateNonTradingDaysRequestFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function UpdateNonTradingDaysRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'notTradingDays': json['not_trading_days'] == null ? undefined : json['not_trading_days'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
function UpdateNonTradingDaysRequestToJSON(json) {
|
|
39
|
+
return UpdateNonTradingDaysRequestToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function UpdateNonTradingDaysRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
42
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'not_trading_days': value['notTradingDays'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
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 UserResource
|
|
16
|
+
*/
|
|
17
|
+
export interface UserResource {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof UserResource
|
|
22
|
+
*/
|
|
23
|
+
id: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UserResource
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UserResource
|
|
34
|
+
*/
|
|
35
|
+
email: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof UserResource
|
|
40
|
+
*/
|
|
41
|
+
role: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof UserResource
|
|
46
|
+
*/
|
|
47
|
+
phone: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof UserResource
|
|
52
|
+
*/
|
|
53
|
+
manager?: string | null;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof UserResource
|
|
58
|
+
*/
|
|
59
|
+
technician?: string | null;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Check if a given object implements the UserResource interface.
|
|
63
|
+
*/
|
|
64
|
+
export declare function instanceOfUserResource(value: object): value is UserResource;
|
|
65
|
+
export declare function UserResourceFromJSON(json: any): UserResource;
|
|
66
|
+
export declare function UserResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserResource;
|
|
67
|
+
export declare function UserResourceToJSON(json: any): UserResource;
|
|
68
|
+
export declare function UserResourceToJSONTyped(value?: UserResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,71 @@
|
|
|
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.instanceOfUserResource = instanceOfUserResource;
|
|
17
|
+
exports.UserResourceFromJSON = UserResourceFromJSON;
|
|
18
|
+
exports.UserResourceFromJSONTyped = UserResourceFromJSONTyped;
|
|
19
|
+
exports.UserResourceToJSON = UserResourceToJSON;
|
|
20
|
+
exports.UserResourceToJSONTyped = UserResourceToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the UserResource interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfUserResource(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('role' in value) || value['role'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('phone' in value) || value['phone'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
function UserResourceFromJSON(json) {
|
|
38
|
+
return UserResourceFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
function UserResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'id': json['id'],
|
|
46
|
+
'name': json['name'],
|
|
47
|
+
'email': json['email'],
|
|
48
|
+
'role': json['role'],
|
|
49
|
+
'phone': json['phone'],
|
|
50
|
+
'manager': json['manager'] == null ? undefined : json['manager'],
|
|
51
|
+
'technician': json['technician'] == null ? undefined : json['technician'],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
function UserResourceToJSON(json) {
|
|
55
|
+
return UserResourceToJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
function UserResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
58
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
59
|
+
if (value == null) {
|
|
60
|
+
return value;
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
'id': value['id'],
|
|
64
|
+
'name': value['name'],
|
|
65
|
+
'email': value['email'],
|
|
66
|
+
'role': value['role'],
|
|
67
|
+
'phone': value['phone'],
|
|
68
|
+
'manager': value['manager'],
|
|
69
|
+
'technician': value['technician'],
|
|
70
|
+
};
|
|
71
|
+
}
|
|
@@ -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 { UserResource } from './UserResource';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UserResourceArrayResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface UserResourceArrayResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<UserResource>}
|
|
22
|
+
* @memberof UserResourceArrayResponse
|
|
23
|
+
*/
|
|
24
|
+
data?: Array<UserResource>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the UserResourceArrayResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfUserResourceArrayResponse(value: object): value is UserResourceArrayResponse;
|
|
30
|
+
export declare function UserResourceArrayResponseFromJSON(json: any): UserResourceArrayResponse;
|
|
31
|
+
export declare function UserResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserResourceArrayResponse;
|
|
32
|
+
export declare function UserResourceArrayResponseToJSON(json: any): UserResourceArrayResponse;
|
|
33
|
+
export declare function UserResourceArrayResponseToJSONTyped(value?: UserResourceArrayResponse | 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.instanceOfUserResourceArrayResponse = instanceOfUserResourceArrayResponse;
|
|
17
|
+
exports.UserResourceArrayResponseFromJSON = UserResourceArrayResponseFromJSON;
|
|
18
|
+
exports.UserResourceArrayResponseFromJSONTyped = UserResourceArrayResponseFromJSONTyped;
|
|
19
|
+
exports.UserResourceArrayResponseToJSON = UserResourceArrayResponseToJSON;
|
|
20
|
+
exports.UserResourceArrayResponseToJSONTyped = UserResourceArrayResponseToJSONTyped;
|
|
21
|
+
var UserResource_1 = require("./UserResource");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the UserResourceArrayResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfUserResourceArrayResponse(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function UserResourceArrayResponseFromJSON(json) {
|
|
29
|
+
return UserResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function UserResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'data': json['data'] == null ? undefined : (json['data'].map(UserResource_1.UserResourceFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function UserResourceArrayResponseToJSON(json) {
|
|
40
|
+
return UserResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function UserResourceArrayResponseToJSONTyped(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(UserResource_1.UserResourceToJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|