@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,75 @@
|
|
|
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.instanceOfFormBResource = instanceOfFormBResource;
|
|
17
|
+
exports.FormBResourceFromJSON = FormBResourceFromJSON;
|
|
18
|
+
exports.FormBResourceFromJSONTyped = FormBResourceFromJSONTyped;
|
|
19
|
+
exports.FormBResourceToJSON = FormBResourceToJSON;
|
|
20
|
+
exports.FormBResourceToJSONTyped = FormBResourceToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the FormBResource interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfFormBResource(value) {
|
|
25
|
+
if (!('venueId' in value) || value['venueId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('reportedDate' in value) || value['reportedDate'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('reporterName' in value) || value['reporterName'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function FormBResourceFromJSON(json) {
|
|
36
|
+
return FormBResourceFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function FormBResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
44
|
+
'venueId': json['venue_id'],
|
|
45
|
+
'description': json['description'],
|
|
46
|
+
'emailNote': json['email_note'] == null ? undefined : json['email_note'],
|
|
47
|
+
'arrangementDate': json['arrangement_date'] == null ? undefined : json['arrangement_date'],
|
|
48
|
+
'repairDate': json['repair_date'] == null ? undefined : json['repair_date'],
|
|
49
|
+
'formAId': json['form_a_id'] == null ? undefined : json['form_a_id'],
|
|
50
|
+
'arrangementManagerName': json['arrangement_manager_name'] == null ? undefined : json['arrangement_manager_name'],
|
|
51
|
+
'reportedDate': json['reported_date'],
|
|
52
|
+
'reporterName': json['reporter_name'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
function FormBResourceToJSON(json) {
|
|
56
|
+
return FormBResourceToJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
function FormBResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
59
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
60
|
+
if (value == null) {
|
|
61
|
+
return value;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
'id': value['id'],
|
|
65
|
+
'venue_id': value['venueId'],
|
|
66
|
+
'description': value['description'],
|
|
67
|
+
'email_note': value['emailNote'],
|
|
68
|
+
'arrangement_date': value['arrangementDate'],
|
|
69
|
+
'repair_date': value['repairDate'],
|
|
70
|
+
'form_a_id': value['formAId'],
|
|
71
|
+
'arrangement_manager_name': value['arrangementManagerName'],
|
|
72
|
+
'reported_date': value['reportedDate'],
|
|
73
|
+
'reporter_name': value['reporterName'],
|
|
74
|
+
};
|
|
75
|
+
}
|
|
@@ -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 { FormBResource } from './FormBResource';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface FormBResourceArrayResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface FormBResourceArrayResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<FormBResource>}
|
|
22
|
+
* @memberof FormBResourceArrayResponse
|
|
23
|
+
*/
|
|
24
|
+
data?: Array<FormBResource>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the FormBResourceArrayResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfFormBResourceArrayResponse(value: object): value is FormBResourceArrayResponse;
|
|
30
|
+
export declare function FormBResourceArrayResponseFromJSON(json: any): FormBResourceArrayResponse;
|
|
31
|
+
export declare function FormBResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): FormBResourceArrayResponse;
|
|
32
|
+
export declare function FormBResourceArrayResponseToJSON(json: any): FormBResourceArrayResponse;
|
|
33
|
+
export declare function FormBResourceArrayResponseToJSONTyped(value?: FormBResourceArrayResponse | 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.instanceOfFormBResourceArrayResponse = instanceOfFormBResourceArrayResponse;
|
|
17
|
+
exports.FormBResourceArrayResponseFromJSON = FormBResourceArrayResponseFromJSON;
|
|
18
|
+
exports.FormBResourceArrayResponseFromJSONTyped = FormBResourceArrayResponseFromJSONTyped;
|
|
19
|
+
exports.FormBResourceArrayResponseToJSON = FormBResourceArrayResponseToJSON;
|
|
20
|
+
exports.FormBResourceArrayResponseToJSONTyped = FormBResourceArrayResponseToJSONTyped;
|
|
21
|
+
var FormBResource_1 = require("./FormBResource");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the FormBResourceArrayResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfFormBResourceArrayResponse(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function FormBResourceArrayResponseFromJSON(json) {
|
|
29
|
+
return FormBResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function FormBResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'data': json['data'] == null ? undefined : (json['data'].map(FormBResource_1.FormBResourceFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function FormBResourceArrayResponseToJSON(json) {
|
|
40
|
+
return FormBResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function FormBResourceArrayResponseToJSONTyped(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(FormBResource_1.FormBResourceToJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
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 { VenueResource } from './VenueResource';
|
|
13
|
+
import type { TechnicianResource } from './TechnicianResource';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface FormCResource
|
|
18
|
+
*/
|
|
19
|
+
export interface FormCResource {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {number}
|
|
23
|
+
* @memberof FormCResource
|
|
24
|
+
*/
|
|
25
|
+
id?: number | null;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof FormCResource
|
|
30
|
+
*/
|
|
31
|
+
formImage?: string | null;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {TechnicianResource}
|
|
35
|
+
* @memberof FormCResource
|
|
36
|
+
*/
|
|
37
|
+
technician: TechnicianResource | null;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {VenueResource}
|
|
41
|
+
* @memberof FormCResource
|
|
42
|
+
*/
|
|
43
|
+
venue: VenueResource | null;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof FormCResource
|
|
48
|
+
*/
|
|
49
|
+
note: string;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {object}
|
|
53
|
+
* @memberof FormCResource
|
|
54
|
+
*/
|
|
55
|
+
submittedAt: object;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof FormCResource
|
|
60
|
+
*/
|
|
61
|
+
technicianName: string;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof FormCResource
|
|
66
|
+
*/
|
|
67
|
+
technicianLicenceNumber: string;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof FormCResource
|
|
72
|
+
*/
|
|
73
|
+
technicianCompanyName: string;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {boolean}
|
|
77
|
+
* @memberof FormCResource
|
|
78
|
+
*/
|
|
79
|
+
systemWorking: boolean;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {boolean}
|
|
83
|
+
* @memberof FormCResource
|
|
84
|
+
*/
|
|
85
|
+
systemRecording: boolean;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {boolean}
|
|
89
|
+
* @memberof FormCResource
|
|
90
|
+
*/
|
|
91
|
+
cameras: boolean;
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @type {boolean}
|
|
95
|
+
* @memberof FormCResource
|
|
96
|
+
*/
|
|
97
|
+
recording: boolean;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @type {boolean}
|
|
101
|
+
* @memberof FormCResource
|
|
102
|
+
*/
|
|
103
|
+
matchTime: boolean;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Check if a given object implements the FormCResource interface.
|
|
107
|
+
*/
|
|
108
|
+
export declare function instanceOfFormCResource(value: object): value is FormCResource;
|
|
109
|
+
export declare function FormCResourceFromJSON(json: any): FormCResource;
|
|
110
|
+
export declare function FormCResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): FormCResource;
|
|
111
|
+
export declare function FormCResourceToJSON(json: any): FormCResource;
|
|
112
|
+
export declare function FormCResourceToJSONTyped(value?: FormCResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,101 @@
|
|
|
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.instanceOfFormCResource = instanceOfFormCResource;
|
|
17
|
+
exports.FormCResourceFromJSON = FormCResourceFromJSON;
|
|
18
|
+
exports.FormCResourceFromJSONTyped = FormCResourceFromJSONTyped;
|
|
19
|
+
exports.FormCResourceToJSON = FormCResourceToJSON;
|
|
20
|
+
exports.FormCResourceToJSONTyped = FormCResourceToJSONTyped;
|
|
21
|
+
var VenueResource_1 = require("./VenueResource");
|
|
22
|
+
var TechnicianResource_1 = require("./TechnicianResource");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the FormCResource interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfFormCResource(value) {
|
|
27
|
+
if (!('technician' in value) || value['technician'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('venue' in value) || value['venue'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('note' in value) || value['note'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('submittedAt' in value) || value['submittedAt'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('technicianName' in value) || value['technicianName'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('technicianLicenceNumber' in value) || value['technicianLicenceNumber'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('technicianCompanyName' in value) || value['technicianCompanyName'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('systemWorking' in value) || value['systemWorking'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('systemRecording' in value) || value['systemRecording'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
if (!('cameras' in value) || value['cameras'] === undefined)
|
|
46
|
+
return false;
|
|
47
|
+
if (!('recording' in value) || value['recording'] === undefined)
|
|
48
|
+
return false;
|
|
49
|
+
if (!('matchTime' in value) || value['matchTime'] === undefined)
|
|
50
|
+
return false;
|
|
51
|
+
return true;
|
|
52
|
+
}
|
|
53
|
+
function FormCResourceFromJSON(json) {
|
|
54
|
+
return FormCResourceFromJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
function FormCResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
62
|
+
'formImage': json['form_image'] == null ? undefined : json['form_image'],
|
|
63
|
+
'technician': (0, TechnicianResource_1.TechnicianResourceFromJSON)(json['technician']),
|
|
64
|
+
'venue': (0, VenueResource_1.VenueResourceFromJSON)(json['venue']),
|
|
65
|
+
'note': json['note'],
|
|
66
|
+
'submittedAt': json['submitted_at'],
|
|
67
|
+
'technicianName': json['technician_name'],
|
|
68
|
+
'technicianLicenceNumber': json['technician_licence_number'],
|
|
69
|
+
'technicianCompanyName': json['technician_company_name'],
|
|
70
|
+
'systemWorking': json['system_working'],
|
|
71
|
+
'systemRecording': json['system_recording'],
|
|
72
|
+
'cameras': json['cameras'],
|
|
73
|
+
'recording': json['recording'],
|
|
74
|
+
'matchTime': json['match_time'],
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
function FormCResourceToJSON(json) {
|
|
78
|
+
return FormCResourceToJSONTyped(json, false);
|
|
79
|
+
}
|
|
80
|
+
function FormCResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
81
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
82
|
+
if (value == null) {
|
|
83
|
+
return value;
|
|
84
|
+
}
|
|
85
|
+
return {
|
|
86
|
+
'id': value['id'],
|
|
87
|
+
'form_image': value['formImage'],
|
|
88
|
+
'technician': (0, TechnicianResource_1.TechnicianResourceToJSON)(value['technician']),
|
|
89
|
+
'venue': (0, VenueResource_1.VenueResourceToJSON)(value['venue']),
|
|
90
|
+
'note': value['note'],
|
|
91
|
+
'submitted_at': value['submittedAt'],
|
|
92
|
+
'technician_name': value['technicianName'],
|
|
93
|
+
'technician_licence_number': value['technicianLicenceNumber'],
|
|
94
|
+
'technician_company_name': value['technicianCompanyName'],
|
|
95
|
+
'system_working': value['systemWorking'],
|
|
96
|
+
'system_recording': value['systemRecording'],
|
|
97
|
+
'cameras': value['cameras'],
|
|
98
|
+
'recording': value['recording'],
|
|
99
|
+
'match_time': value['matchTime'],
|
|
100
|
+
};
|
|
101
|
+
}
|
|
@@ -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 { FormCResource } from './FormCResource';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface FormCResourceArrayResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface FormCResourceArrayResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<FormCResource>}
|
|
22
|
+
* @memberof FormCResourceArrayResponse
|
|
23
|
+
*/
|
|
24
|
+
data?: Array<FormCResource>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the FormCResourceArrayResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfFormCResourceArrayResponse(value: object): value is FormCResourceArrayResponse;
|
|
30
|
+
export declare function FormCResourceArrayResponseFromJSON(json: any): FormCResourceArrayResponse;
|
|
31
|
+
export declare function FormCResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): FormCResourceArrayResponse;
|
|
32
|
+
export declare function FormCResourceArrayResponseToJSON(json: any): FormCResourceArrayResponse;
|
|
33
|
+
export declare function FormCResourceArrayResponseToJSONTyped(value?: FormCResourceArrayResponse | 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.instanceOfFormCResourceArrayResponse = instanceOfFormCResourceArrayResponse;
|
|
17
|
+
exports.FormCResourceArrayResponseFromJSON = FormCResourceArrayResponseFromJSON;
|
|
18
|
+
exports.FormCResourceArrayResponseFromJSONTyped = FormCResourceArrayResponseFromJSONTyped;
|
|
19
|
+
exports.FormCResourceArrayResponseToJSON = FormCResourceArrayResponseToJSON;
|
|
20
|
+
exports.FormCResourceArrayResponseToJSONTyped = FormCResourceArrayResponseToJSONTyped;
|
|
21
|
+
var FormCResource_1 = require("./FormCResource");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the FormCResourceArrayResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfFormCResourceArrayResponse(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function FormCResourceArrayResponseFromJSON(json) {
|
|
29
|
+
return FormCResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function FormCResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'data': json['data'] == null ? undefined : (json['data'].map(FormCResource_1.FormCResourceFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function FormCResourceArrayResponseToJSON(json) {
|
|
40
|
+
return FormCResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function FormCResourceArrayResponseToJSONTyped(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(FormCResource_1.FormCResourceToJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -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 GenericResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface GenericResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GenericResponse
|
|
22
|
+
*/
|
|
23
|
+
message?: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the GenericResponse interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfGenericResponse(value: object): value is GenericResponse;
|
|
29
|
+
export declare function GenericResponseFromJSON(json: any): GenericResponse;
|
|
30
|
+
export declare function GenericResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GenericResponse;
|
|
31
|
+
export declare function GenericResponseToJSON(json: any): GenericResponse;
|
|
32
|
+
export declare function GenericResponseToJSONTyped(value?: GenericResponse | 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.instanceOfGenericResponse = instanceOfGenericResponse;
|
|
17
|
+
exports.GenericResponseFromJSON = GenericResponseFromJSON;
|
|
18
|
+
exports.GenericResponseFromJSONTyped = GenericResponseFromJSONTyped;
|
|
19
|
+
exports.GenericResponseToJSON = GenericResponseToJSON;
|
|
20
|
+
exports.GenericResponseToJSONTyped = GenericResponseToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GenericResponse interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGenericResponse(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function GenericResponseFromJSON(json) {
|
|
28
|
+
return GenericResponseFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function GenericResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'message': json['message'] == null ? undefined : json['message'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
function GenericResponseToJSON(json) {
|
|
39
|
+
return GenericResponseToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function GenericResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
42
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'message': value['message'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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 GetUploadUrlRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface GetUploadUrlRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GetUploadUrlRequest
|
|
22
|
+
*/
|
|
23
|
+
fileName: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GetUploadUrlRequest
|
|
28
|
+
*/
|
|
29
|
+
fileType: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof GetUploadUrlRequest
|
|
34
|
+
*/
|
|
35
|
+
destination: GetUploadUrlRequestDestinationEnum;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export declare const GetUploadUrlRequestDestinationEnum: {
|
|
41
|
+
readonly FormA: "form-a";
|
|
42
|
+
readonly FormB: "form-b";
|
|
43
|
+
readonly FormC: "form-c";
|
|
44
|
+
readonly Managers: "managers";
|
|
45
|
+
readonly Technicians: "technicians";
|
|
46
|
+
readonly Venues: "venues";
|
|
47
|
+
};
|
|
48
|
+
export type GetUploadUrlRequestDestinationEnum = typeof GetUploadUrlRequestDestinationEnum[keyof typeof GetUploadUrlRequestDestinationEnum];
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the GetUploadUrlRequest interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfGetUploadUrlRequest(value: object): value is GetUploadUrlRequest;
|
|
53
|
+
export declare function GetUploadUrlRequestFromJSON(json: any): GetUploadUrlRequest;
|
|
54
|
+
export declare function GetUploadUrlRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetUploadUrlRequest;
|
|
55
|
+
export declare function GetUploadUrlRequestToJSON(json: any): GetUploadUrlRequest;
|
|
56
|
+
export declare function GetUploadUrlRequestToJSONTyped(value?: GetUploadUrlRequest | 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.GetUploadUrlRequestDestinationEnum = void 0;
|
|
17
|
+
exports.instanceOfGetUploadUrlRequest = instanceOfGetUploadUrlRequest;
|
|
18
|
+
exports.GetUploadUrlRequestFromJSON = GetUploadUrlRequestFromJSON;
|
|
19
|
+
exports.GetUploadUrlRequestFromJSONTyped = GetUploadUrlRequestFromJSONTyped;
|
|
20
|
+
exports.GetUploadUrlRequestToJSON = GetUploadUrlRequestToJSON;
|
|
21
|
+
exports.GetUploadUrlRequestToJSONTyped = GetUploadUrlRequestToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.GetUploadUrlRequestDestinationEnum = {
|
|
26
|
+
FormA: 'form-a',
|
|
27
|
+
FormB: 'form-b',
|
|
28
|
+
FormC: 'form-c',
|
|
29
|
+
Managers: 'managers',
|
|
30
|
+
Technicians: 'technicians',
|
|
31
|
+
Venues: 'venues'
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the GetUploadUrlRequest interface.
|
|
35
|
+
*/
|
|
36
|
+
function instanceOfGetUploadUrlRequest(value) {
|
|
37
|
+
if (!('fileName' in value) || value['fileName'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('fileType' in value) || value['fileType'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('destination' in value) || value['destination'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
function GetUploadUrlRequestFromJSON(json) {
|
|
46
|
+
return GetUploadUrlRequestFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function GetUploadUrlRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
49
|
+
if (json == null) {
|
|
50
|
+
return json;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'fileName': json['fileName'],
|
|
54
|
+
'fileType': json['fileType'],
|
|
55
|
+
'destination': json['destination'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
function GetUploadUrlRequestToJSON(json) {
|
|
59
|
+
return GetUploadUrlRequestToJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
function GetUploadUrlRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
62
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
63
|
+
if (value == null) {
|
|
64
|
+
return value;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
'fileName': value['fileName'],
|
|
68
|
+
'fileType': value['fileType'],
|
|
69
|
+
'destination': value['destination'],
|
|
70
|
+
};
|
|
71
|
+
}
|