@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,101 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* CCTV Registers API
|
|
5
|
+
* API documentation for the CCTV Registers application
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface CreateOrUpdateTechnicianRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface CreateOrUpdateTechnicianRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {Date}
|
|
25
|
+
* @memberof CreateOrUpdateTechnicianRequest
|
|
26
|
+
*/
|
|
27
|
+
licenceExpiryDate: Date;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof CreateOrUpdateTechnicianRequest
|
|
32
|
+
*/
|
|
33
|
+
companyName: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof CreateOrUpdateTechnicianRequest
|
|
38
|
+
*/
|
|
39
|
+
profilePicture?: string | null;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof CreateOrUpdateTechnicianRequest
|
|
44
|
+
*/
|
|
45
|
+
phone: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof CreateOrUpdateTechnicianRequest
|
|
50
|
+
*/
|
|
51
|
+
licenceNumber: string;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the CreateOrUpdateTechnicianRequest interface.
|
|
56
|
+
*/
|
|
57
|
+
export function instanceOfCreateOrUpdateTechnicianRequest(value: object): value is CreateOrUpdateTechnicianRequest {
|
|
58
|
+
if (!('licenceExpiryDate' in value) || value['licenceExpiryDate'] === undefined) return false;
|
|
59
|
+
if (!('companyName' in value) || value['companyName'] === undefined) return false;
|
|
60
|
+
if (!('phone' in value) || value['phone'] === undefined) return false;
|
|
61
|
+
if (!('licenceNumber' in value) || value['licenceNumber'] === undefined) return false;
|
|
62
|
+
return true;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function CreateOrUpdateTechnicianRequestFromJSON(json: any): CreateOrUpdateTechnicianRequest {
|
|
66
|
+
return CreateOrUpdateTechnicianRequestFromJSONTyped(json, false);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function CreateOrUpdateTechnicianRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateOrUpdateTechnicianRequest {
|
|
70
|
+
if (json == null) {
|
|
71
|
+
return json;
|
|
72
|
+
}
|
|
73
|
+
return {
|
|
74
|
+
|
|
75
|
+
'licenceExpiryDate': (new Date(json['licence_expiry_date'])),
|
|
76
|
+
'companyName': json['company_name'],
|
|
77
|
+
'profilePicture': json['profile_picture'] == null ? undefined : json['profile_picture'],
|
|
78
|
+
'phone': json['phone'],
|
|
79
|
+
'licenceNumber': json['licence_number'],
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function CreateOrUpdateTechnicianRequestToJSON(json: any): CreateOrUpdateTechnicianRequest {
|
|
84
|
+
return CreateOrUpdateTechnicianRequestToJSONTyped(json, false);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export function CreateOrUpdateTechnicianRequestToJSONTyped(value?: CreateOrUpdateTechnicianRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
88
|
+
if (value == null) {
|
|
89
|
+
return value;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
return {
|
|
93
|
+
|
|
94
|
+
'licence_expiry_date': ((value['licenceExpiryDate']).toISOString()),
|
|
95
|
+
'company_name': value['companyName'],
|
|
96
|
+
'profile_picture': value['profilePicture'],
|
|
97
|
+
'phone': value['phone'],
|
|
98
|
+
'licence_number': value['licenceNumber'],
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* CCTV Registers API
|
|
5
|
+
* API documentation for the CCTV Registers application
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { CreateOrUpdateVenueRequestHoursInner } from './CreateOrUpdateVenueRequestHoursInner';
|
|
17
|
+
import {
|
|
18
|
+
CreateOrUpdateVenueRequestHoursInnerFromJSON,
|
|
19
|
+
CreateOrUpdateVenueRequestHoursInnerFromJSONTyped,
|
|
20
|
+
CreateOrUpdateVenueRequestHoursInnerToJSON,
|
|
21
|
+
CreateOrUpdateVenueRequestHoursInnerToJSONTyped,
|
|
22
|
+
} from './CreateOrUpdateVenueRequestHoursInner';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface CreateOrUpdateVenueRequest
|
|
28
|
+
*/
|
|
29
|
+
export interface CreateOrUpdateVenueRequest {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreateOrUpdateVenueRequest
|
|
34
|
+
*/
|
|
35
|
+
address: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Array<CreateOrUpdateVenueRequestHoursInner>}
|
|
39
|
+
* @memberof CreateOrUpdateVenueRequest
|
|
40
|
+
*/
|
|
41
|
+
hours: Array<CreateOrUpdateVenueRequestHoursInner>;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Array<string>}
|
|
45
|
+
* @memberof CreateOrUpdateVenueRequest
|
|
46
|
+
*/
|
|
47
|
+
notTradingDays?: Array<string>;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CreateOrUpdateVenueRequest
|
|
52
|
+
*/
|
|
53
|
+
latitude: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof CreateOrUpdateVenueRequest
|
|
58
|
+
*/
|
|
59
|
+
longitude: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof CreateOrUpdateVenueRequest
|
|
64
|
+
*/
|
|
65
|
+
companyId: string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {boolean}
|
|
69
|
+
* @memberof CreateOrUpdateVenueRequest
|
|
70
|
+
*/
|
|
71
|
+
appManagerSelection?: boolean;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof CreateOrUpdateVenueRequest
|
|
76
|
+
*/
|
|
77
|
+
name: string;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof CreateOrUpdateVenueRequest
|
|
82
|
+
*/
|
|
83
|
+
code: string;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof CreateOrUpdateVenueRequest
|
|
88
|
+
*/
|
|
89
|
+
licenceNumber: string;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof CreateOrUpdateVenueRequest
|
|
94
|
+
*/
|
|
95
|
+
managerId?: string;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Check if a given object implements the CreateOrUpdateVenueRequest interface.
|
|
100
|
+
*/
|
|
101
|
+
export function instanceOfCreateOrUpdateVenueRequest(value: object): value is CreateOrUpdateVenueRequest {
|
|
102
|
+
if (!('address' in value) || value['address'] === undefined) return false;
|
|
103
|
+
if (!('hours' in value) || value['hours'] === undefined) return false;
|
|
104
|
+
if (!('latitude' in value) || value['latitude'] === undefined) return false;
|
|
105
|
+
if (!('longitude' in value) || value['longitude'] === undefined) return false;
|
|
106
|
+
if (!('companyId' in value) || value['companyId'] === undefined) return false;
|
|
107
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
108
|
+
if (!('code' in value) || value['code'] === undefined) return false;
|
|
109
|
+
if (!('licenceNumber' in value) || value['licenceNumber'] === undefined) return false;
|
|
110
|
+
return true;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
export function CreateOrUpdateVenueRequestFromJSON(json: any): CreateOrUpdateVenueRequest {
|
|
114
|
+
return CreateOrUpdateVenueRequestFromJSONTyped(json, false);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
export function CreateOrUpdateVenueRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateOrUpdateVenueRequest {
|
|
118
|
+
if (json == null) {
|
|
119
|
+
return json;
|
|
120
|
+
}
|
|
121
|
+
return {
|
|
122
|
+
|
|
123
|
+
'address': json['address'],
|
|
124
|
+
'hours': ((json['hours'] as Array<any>).map(CreateOrUpdateVenueRequestHoursInnerFromJSON)),
|
|
125
|
+
'notTradingDays': json['not_trading_days'] == null ? undefined : json['not_trading_days'],
|
|
126
|
+
'latitude': json['latitude'],
|
|
127
|
+
'longitude': json['longitude'],
|
|
128
|
+
'companyId': json['company_id'],
|
|
129
|
+
'appManagerSelection': json['app_manager_selection'] == null ? undefined : json['app_manager_selection'],
|
|
130
|
+
'name': json['name'],
|
|
131
|
+
'code': json['code'],
|
|
132
|
+
'licenceNumber': json['licence_number'],
|
|
133
|
+
'managerId': json['manager_id'] == null ? undefined : json['manager_id'],
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
export function CreateOrUpdateVenueRequestToJSON(json: any): CreateOrUpdateVenueRequest {
|
|
138
|
+
return CreateOrUpdateVenueRequestToJSONTyped(json, false);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
export function CreateOrUpdateVenueRequestToJSONTyped(value?: CreateOrUpdateVenueRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
142
|
+
if (value == null) {
|
|
143
|
+
return value;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
return {
|
|
147
|
+
|
|
148
|
+
'address': value['address'],
|
|
149
|
+
'hours': ((value['hours'] as Array<any>).map(CreateOrUpdateVenueRequestHoursInnerToJSON)),
|
|
150
|
+
'not_trading_days': value['notTradingDays'],
|
|
151
|
+
'latitude': value['latitude'],
|
|
152
|
+
'longitude': value['longitude'],
|
|
153
|
+
'company_id': value['companyId'],
|
|
154
|
+
'app_manager_selection': value['appManagerSelection'],
|
|
155
|
+
'name': value['name'],
|
|
156
|
+
'code': value['code'],
|
|
157
|
+
'licence_number': value['licenceNumber'],
|
|
158
|
+
'manager_id': value['managerId'],
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* CCTV Registers API
|
|
5
|
+
* API documentation for the CCTV Registers application
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface CreateOrUpdateVenueRequestHoursInner
|
|
20
|
+
*/
|
|
21
|
+
export interface CreateOrUpdateVenueRequestHoursInner {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof CreateOrUpdateVenueRequestHoursInner
|
|
26
|
+
*/
|
|
27
|
+
open: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof CreateOrUpdateVenueRequestHoursInner
|
|
32
|
+
*/
|
|
33
|
+
close: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the CreateOrUpdateVenueRequestHoursInner interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfCreateOrUpdateVenueRequestHoursInner(value: object): value is CreateOrUpdateVenueRequestHoursInner {
|
|
40
|
+
if (!('open' in value) || value['open'] === undefined) return false;
|
|
41
|
+
if (!('close' in value) || value['close'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function CreateOrUpdateVenueRequestHoursInnerFromJSON(json: any): CreateOrUpdateVenueRequestHoursInner {
|
|
46
|
+
return CreateOrUpdateVenueRequestHoursInnerFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function CreateOrUpdateVenueRequestHoursInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateOrUpdateVenueRequestHoursInner {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'open': json['open'],
|
|
56
|
+
'close': json['close'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function CreateOrUpdateVenueRequestHoursInnerToJSON(json: any): CreateOrUpdateVenueRequestHoursInner {
|
|
61
|
+
return CreateOrUpdateVenueRequestHoursInnerToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function CreateOrUpdateVenueRequestHoursInnerToJSONTyped(value?: CreateOrUpdateVenueRequestHoursInner | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'open': value['open'],
|
|
72
|
+
'close': value['close'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* CCTV Registers API
|
|
5
|
+
* API documentation for the CCTV Registers application
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface FindNearbyVenuesRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface FindNearbyVenuesRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof FindNearbyVenuesRequest
|
|
26
|
+
*/
|
|
27
|
+
longitude: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof FindNearbyVenuesRequest
|
|
32
|
+
*/
|
|
33
|
+
latitude: number;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the FindNearbyVenuesRequest interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfFindNearbyVenuesRequest(value: object): value is FindNearbyVenuesRequest {
|
|
40
|
+
if (!('longitude' in value) || value['longitude'] === undefined) return false;
|
|
41
|
+
if (!('latitude' in value) || value['latitude'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function FindNearbyVenuesRequestFromJSON(json: any): FindNearbyVenuesRequest {
|
|
46
|
+
return FindNearbyVenuesRequestFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function FindNearbyVenuesRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): FindNearbyVenuesRequest {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'longitude': json['longitude'],
|
|
56
|
+
'latitude': json['latitude'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function FindNearbyVenuesRequestToJSON(json: any): FindNearbyVenuesRequest {
|
|
61
|
+
return FindNearbyVenuesRequestToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function FindNearbyVenuesRequestToJSONTyped(value?: FindNearbyVenuesRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'longitude': value['longitude'],
|
|
72
|
+
'latitude': value['latitude'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* CCTV Registers API
|
|
5
|
+
* API documentation for the CCTV Registers application
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface FormAResource
|
|
20
|
+
*/
|
|
21
|
+
export interface FormAResource {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof FormAResource
|
|
26
|
+
*/
|
|
27
|
+
id?: number | null;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof FormAResource
|
|
32
|
+
*/
|
|
33
|
+
signature: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {object}
|
|
37
|
+
* @memberof FormAResource
|
|
38
|
+
*/
|
|
39
|
+
answers: object;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof FormAResource
|
|
44
|
+
*/
|
|
45
|
+
jobNumber?: string | null;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof FormAResource
|
|
50
|
+
*/
|
|
51
|
+
managerId?: string | null;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof FormAResource
|
|
56
|
+
*/
|
|
57
|
+
venueId?: string | null;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof FormAResource
|
|
62
|
+
*/
|
|
63
|
+
managerName: string;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof FormAResource
|
|
68
|
+
*/
|
|
69
|
+
managerLicenceNumber: string;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {object}
|
|
73
|
+
* @memberof FormAResource
|
|
74
|
+
*/
|
|
75
|
+
managerLicenceExpiry: object;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {string}
|
|
79
|
+
* @memberof FormAResource
|
|
80
|
+
*/
|
|
81
|
+
managerRmlvLicenceNumber: string;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {object}
|
|
85
|
+
* @memberof FormAResource
|
|
86
|
+
*/
|
|
87
|
+
managerRmlvLicenceExpiry: object;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @type {string}
|
|
91
|
+
* @memberof FormAResource
|
|
92
|
+
*/
|
|
93
|
+
emailNote?: string | null;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @type {number}
|
|
97
|
+
* @memberof FormAResource
|
|
98
|
+
*/
|
|
99
|
+
longitude: number;
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @type {number}
|
|
103
|
+
* @memberof FormAResource
|
|
104
|
+
*/
|
|
105
|
+
latitude: number;
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @type {object}
|
|
109
|
+
* @memberof FormAResource
|
|
110
|
+
*/
|
|
111
|
+
submittedAt: object;
|
|
112
|
+
/**
|
|
113
|
+
*
|
|
114
|
+
* @type {boolean}
|
|
115
|
+
* @memberof FormAResource
|
|
116
|
+
*/
|
|
117
|
+
isEditable: boolean;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* Check if a given object implements the FormAResource interface.
|
|
122
|
+
*/
|
|
123
|
+
export function instanceOfFormAResource(value: object): value is FormAResource {
|
|
124
|
+
if (!('signature' in value) || value['signature'] === undefined) return false;
|
|
125
|
+
if (!('answers' in value) || value['answers'] === undefined) return false;
|
|
126
|
+
if (!('managerName' in value) || value['managerName'] === undefined) return false;
|
|
127
|
+
if (!('managerLicenceNumber' in value) || value['managerLicenceNumber'] === undefined) return false;
|
|
128
|
+
if (!('managerLicenceExpiry' in value) || value['managerLicenceExpiry'] === undefined) return false;
|
|
129
|
+
if (!('managerRmlvLicenceNumber' in value) || value['managerRmlvLicenceNumber'] === undefined) return false;
|
|
130
|
+
if (!('managerRmlvLicenceExpiry' in value) || value['managerRmlvLicenceExpiry'] === undefined) return false;
|
|
131
|
+
if (!('longitude' in value) || value['longitude'] === undefined) return false;
|
|
132
|
+
if (!('latitude' in value) || value['latitude'] === undefined) return false;
|
|
133
|
+
if (!('submittedAt' in value) || value['submittedAt'] === undefined) return false;
|
|
134
|
+
if (!('isEditable' in value) || value['isEditable'] === undefined) return false;
|
|
135
|
+
return true;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
export function FormAResourceFromJSON(json: any): FormAResource {
|
|
139
|
+
return FormAResourceFromJSONTyped(json, false);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
export function FormAResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): FormAResource {
|
|
143
|
+
if (json == null) {
|
|
144
|
+
return json;
|
|
145
|
+
}
|
|
146
|
+
return {
|
|
147
|
+
|
|
148
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
149
|
+
'signature': json['signature'],
|
|
150
|
+
'answers': json['answers'],
|
|
151
|
+
'jobNumber': json['job_number'] == null ? undefined : json['job_number'],
|
|
152
|
+
'managerId': json['manager_id'] == null ? undefined : json['manager_id'],
|
|
153
|
+
'venueId': json['venue_id'] == null ? undefined : json['venue_id'],
|
|
154
|
+
'managerName': json['manager_name'],
|
|
155
|
+
'managerLicenceNumber': json['manager_licence_number'],
|
|
156
|
+
'managerLicenceExpiry': json['manager_licence_expiry'],
|
|
157
|
+
'managerRmlvLicenceNumber': json['manager_rmlv_licence_number'],
|
|
158
|
+
'managerRmlvLicenceExpiry': json['manager_rmlv_licence_expiry'],
|
|
159
|
+
'emailNote': json['email_note'] == null ? undefined : json['email_note'],
|
|
160
|
+
'longitude': json['longitude'],
|
|
161
|
+
'latitude': json['latitude'],
|
|
162
|
+
'submittedAt': json['submitted_at'],
|
|
163
|
+
'isEditable': json['is_editable'],
|
|
164
|
+
};
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
export function FormAResourceToJSON(json: any): FormAResource {
|
|
168
|
+
return FormAResourceToJSONTyped(json, false);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
export function FormAResourceToJSONTyped(value?: FormAResource | null, ignoreDiscriminator: boolean = false): any {
|
|
172
|
+
if (value == null) {
|
|
173
|
+
return value;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
return {
|
|
177
|
+
|
|
178
|
+
'id': value['id'],
|
|
179
|
+
'signature': value['signature'],
|
|
180
|
+
'answers': value['answers'],
|
|
181
|
+
'job_number': value['jobNumber'],
|
|
182
|
+
'manager_id': value['managerId'],
|
|
183
|
+
'venue_id': value['venueId'],
|
|
184
|
+
'manager_name': value['managerName'],
|
|
185
|
+
'manager_licence_number': value['managerLicenceNumber'],
|
|
186
|
+
'manager_licence_expiry': value['managerLicenceExpiry'],
|
|
187
|
+
'manager_rmlv_licence_number': value['managerRmlvLicenceNumber'],
|
|
188
|
+
'manager_rmlv_licence_expiry': value['managerRmlvLicenceExpiry'],
|
|
189
|
+
'email_note': value['emailNote'],
|
|
190
|
+
'longitude': value['longitude'],
|
|
191
|
+
'latitude': value['latitude'],
|
|
192
|
+
'submitted_at': value['submittedAt'],
|
|
193
|
+
'is_editable': value['isEditable'],
|
|
194
|
+
};
|
|
195
|
+
}
|
|
196
|
+
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* CCTV Registers API
|
|
5
|
+
* API documentation for the CCTV Registers application
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { FormAResource } from './FormAResource';
|
|
17
|
+
import {
|
|
18
|
+
FormAResourceFromJSON,
|
|
19
|
+
FormAResourceFromJSONTyped,
|
|
20
|
+
FormAResourceToJSON,
|
|
21
|
+
FormAResourceToJSONTyped,
|
|
22
|
+
} from './FormAResource';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface FormAResourceArrayResponse
|
|
28
|
+
*/
|
|
29
|
+
export interface FormAResourceArrayResponse {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<FormAResource>}
|
|
33
|
+
* @memberof FormAResourceArrayResponse
|
|
34
|
+
*/
|
|
35
|
+
data?: Array<FormAResource>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the FormAResourceArrayResponse interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfFormAResourceArrayResponse(value: object): value is FormAResourceArrayResponse {
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function FormAResourceArrayResponseFromJSON(json: any): FormAResourceArrayResponse {
|
|
46
|
+
return FormAResourceArrayResponseFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function FormAResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): FormAResourceArrayResponse {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(FormAResourceFromJSON)),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function FormAResourceArrayResponseToJSON(json: any): FormAResourceArrayResponse {
|
|
60
|
+
return FormAResourceArrayResponseToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function FormAResourceArrayResponseToJSONTyped(value?: FormAResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
64
|
+
if (value == null) {
|
|
65
|
+
return value;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
return {
|
|
69
|
+
|
|
70
|
+
'data': value['data'] == null ? undefined : ((value['data'] as Array<any>).map(FormAResourceToJSON)),
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|