@gizone/rrs-client 4.2.0-alpha.294 → 4.2.0-alpha.295
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 +7 -0
- package/apis/access-api.ts +194 -0
- package/dist/apis/access-api.d.ts +102 -0
- package/dist/apis/access-api.js +145 -0
- package/dist/esm/apis/access-api.d.ts +102 -0
- package/dist/esm/apis/access-api.js +145 -0
- package/dist/esm/models/access-appointment-record-add-vo.d.ts +128 -0
- package/dist/esm/models/access-appointment-record-add-vo.js +14 -0
- package/dist/esm/models/access-appointment-record-approval-vo.d.ts +30 -0
- package/dist/esm/models/access-appointment-record-approval-vo.js +14 -0
- package/dist/esm/models/access-appointment-record-in-other-info-vo.d.ts +54 -0
- package/dist/esm/models/access-appointment-record-in-other-info-vo.js +14 -0
- package/dist/esm/models/access-appointment-record-out-other-info-vo.d.ts +30 -0
- package/dist/esm/models/access-appointment-record-out-other-info-vo.js +14 -0
- package/dist/esm/models/access-appointment-source-enum.d.ts +24 -0
- package/dist/esm/models/access-appointment-source-enum.js +25 -0
- package/dist/esm/models/access-approval-config-enum.d.ts +1 -1
- package/dist/esm/models/access-approval-config-enum.js +1 -1
- package/dist/esm/models/access-direction-enum.d.ts +22 -0
- package/dist/esm/models/access-direction-enum.js +23 -0
- package/dist/esm/models/access-reason-enum.d.ts +26 -0
- package/dist/esm/models/access-reason-enum.js +27 -0
- package/dist/esm/models/index.d.ts +7 -0
- package/dist/esm/models/index.js +7 -0
- package/dist/esm/models/system-user-msg-source-type-enum.d.ts +1 -0
- package/dist/esm/models/system-user-msg-source-type-enum.js +2 -1
- package/dist/esm/models/system-user-msg-type-enum.d.ts +1 -0
- package/dist/esm/models/system-user-msg-type-enum.js +2 -1
- package/dist/models/access-appointment-record-add-vo.d.ts +128 -0
- package/dist/models/access-appointment-record-add-vo.js +15 -0
- package/dist/models/access-appointment-record-approval-vo.d.ts +30 -0
- package/dist/models/access-appointment-record-approval-vo.js +15 -0
- package/dist/models/access-appointment-record-in-other-info-vo.d.ts +54 -0
- package/dist/models/access-appointment-record-in-other-info-vo.js +15 -0
- package/dist/models/access-appointment-record-out-other-info-vo.d.ts +30 -0
- package/dist/models/access-appointment-record-out-other-info-vo.js +15 -0
- package/dist/models/access-appointment-source-enum.d.ts +24 -0
- package/dist/models/access-appointment-source-enum.js +28 -0
- package/dist/models/access-approval-config-enum.d.ts +1 -1
- package/dist/models/access-approval-config-enum.js +1 -1
- package/dist/models/access-direction-enum.d.ts +22 -0
- package/dist/models/access-direction-enum.js +26 -0
- package/dist/models/access-reason-enum.d.ts +26 -0
- package/dist/models/access-reason-enum.js +30 -0
- package/dist/models/index.d.ts +7 -0
- package/dist/models/index.js +7 -0
- package/dist/models/system-user-msg-source-type-enum.d.ts +1 -0
- package/dist/models/system-user-msg-source-type-enum.js +2 -1
- package/dist/models/system-user-msg-type-enum.d.ts +1 -0
- package/dist/models/system-user-msg-type-enum.js +2 -1
- package/models/access-appointment-record-add-vo.ts +152 -0
- package/models/access-appointment-record-approval-vo.ts +36 -0
- package/models/access-appointment-record-in-other-info-vo.ts +60 -0
- package/models/access-appointment-record-out-other-info-vo.ts +36 -0
- package/models/access-appointment-source-enum.ts +34 -0
- package/models/access-approval-config-enum.ts +1 -1
- package/models/access-direction-enum.ts +32 -0
- package/models/access-reason-enum.ts +36 -0
- package/models/index.ts +7 -0
- package/models/system-user-msg-source-type-enum.ts +2 -1
- package/models/system-user-msg-type-enum.ts +2 -1
- package/package.json +1 -1
|
@@ -12,6 +12,8 @@
|
|
|
12
12
|
import type { Configuration } from '../configuration';
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import type { AccessAppointmentRecordAddVo } from '../models';
|
|
16
|
+
import type { AccessAppointmentRecordApprovalVo } from '../models';
|
|
15
17
|
import type { AccessBlacklistAddVo } from '../models';
|
|
16
18
|
import type { AccessBlacklistUpdateVo } from '../models';
|
|
17
19
|
import type { AccessCompanyConfigAddOrUpdateVo } from '../models';
|
|
@@ -46,6 +48,23 @@ import type { JsonResultVoid } from '../models';
|
|
|
46
48
|
* @export
|
|
47
49
|
*/
|
|
48
50
|
export declare const AccessApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @summary 新增出入预约
|
|
54
|
+
* @param {AccessAppointmentRecordAddVo} accessAppointmentRecordAddVo
|
|
55
|
+
* @param {*} [options] Override http request option.
|
|
56
|
+
* @throws {RequiredError}
|
|
57
|
+
*/
|
|
58
|
+
accessAppointmentRecordAdd: (accessAppointmentRecordAddVo: AccessAppointmentRecordAddVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @summary 审批出入预约记录
|
|
62
|
+
* @param {number} id
|
|
63
|
+
* @param {AccessAppointmentRecordApprovalVo} accessAppointmentRecordApprovalVo
|
|
64
|
+
* @param {*} [options] Override http request option.
|
|
65
|
+
* @throws {RequiredError}
|
|
66
|
+
*/
|
|
67
|
+
accessAppointmentRecordApproval: (id: number, accessAppointmentRecordApprovalVo: AccessAppointmentRecordApprovalVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
49
68
|
/**
|
|
50
69
|
* 添加黑名单信息
|
|
51
70
|
* @summary 添加黑名单
|
|
@@ -340,6 +359,23 @@ export declare const AccessApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
340
359
|
* @export
|
|
341
360
|
*/
|
|
342
361
|
export declare const AccessApiFp: (configuration?: Configuration) => {
|
|
362
|
+
/**
|
|
363
|
+
*
|
|
364
|
+
* @summary 新增出入预约
|
|
365
|
+
* @param {AccessAppointmentRecordAddVo} accessAppointmentRecordAddVo
|
|
366
|
+
* @param {*} [options] Override http request option.
|
|
367
|
+
* @throws {RequiredError}
|
|
368
|
+
*/
|
|
369
|
+
accessAppointmentRecordAdd(accessAppointmentRecordAddVo: AccessAppointmentRecordAddVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultInteger>>;
|
|
370
|
+
/**
|
|
371
|
+
*
|
|
372
|
+
* @summary 审批出入预约记录
|
|
373
|
+
* @param {number} id
|
|
374
|
+
* @param {AccessAppointmentRecordApprovalVo} accessAppointmentRecordApprovalVo
|
|
375
|
+
* @param {*} [options] Override http request option.
|
|
376
|
+
* @throws {RequiredError}
|
|
377
|
+
*/
|
|
378
|
+
accessAppointmentRecordApproval(id: number, accessAppointmentRecordApprovalVo: AccessAppointmentRecordApprovalVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultBoolean>>;
|
|
343
379
|
/**
|
|
344
380
|
* 添加黑名单信息
|
|
345
381
|
* @summary 添加黑名单
|
|
@@ -634,6 +670,22 @@ export declare const AccessApiFp: (configuration?: Configuration) => {
|
|
|
634
670
|
* @export
|
|
635
671
|
*/
|
|
636
672
|
export declare const AccessApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
673
|
+
/**
|
|
674
|
+
*
|
|
675
|
+
* @summary 新增出入预约
|
|
676
|
+
* @param {AccessApiAccessAppointmentRecordAddRequest} requestParameters Request parameters.
|
|
677
|
+
* @param {*} [options] Override http request option.
|
|
678
|
+
* @throws {RequiredError}
|
|
679
|
+
*/
|
|
680
|
+
accessAppointmentRecordAdd(requestParameters: AccessApiAccessAppointmentRecordAddRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultInteger>;
|
|
681
|
+
/**
|
|
682
|
+
*
|
|
683
|
+
* @summary 审批出入预约记录
|
|
684
|
+
* @param {AccessApiAccessAppointmentRecordApprovalRequest} requestParameters Request parameters.
|
|
685
|
+
* @param {*} [options] Override http request option.
|
|
686
|
+
* @throws {RequiredError}
|
|
687
|
+
*/
|
|
688
|
+
accessAppointmentRecordApproval(requestParameters: AccessApiAccessAppointmentRecordApprovalRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultBoolean>;
|
|
637
689
|
/**
|
|
638
690
|
* 添加黑名单信息
|
|
639
691
|
* @summary 添加黑名单
|
|
@@ -896,6 +948,38 @@ export declare const AccessApiFactory: (configuration?: Configuration, basePath?
|
|
|
896
948
|
*/
|
|
897
949
|
updateEntryTermStatus(requestParameters: AccessApiUpdateEntryTermStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid>;
|
|
898
950
|
};
|
|
951
|
+
/**
|
|
952
|
+
* Request parameters for accessAppointmentRecordAdd operation in AccessApi.
|
|
953
|
+
* @export
|
|
954
|
+
* @interface AccessApiAccessAppointmentRecordAddRequest
|
|
955
|
+
*/
|
|
956
|
+
export interface AccessApiAccessAppointmentRecordAddRequest {
|
|
957
|
+
/**
|
|
958
|
+
*
|
|
959
|
+
* @type {AccessAppointmentRecordAddVo}
|
|
960
|
+
* @memberof AccessApiAccessAppointmentRecordAdd
|
|
961
|
+
*/
|
|
962
|
+
readonly accessAppointmentRecordAddVo: AccessAppointmentRecordAddVo;
|
|
963
|
+
}
|
|
964
|
+
/**
|
|
965
|
+
* Request parameters for accessAppointmentRecordApproval operation in AccessApi.
|
|
966
|
+
* @export
|
|
967
|
+
* @interface AccessApiAccessAppointmentRecordApprovalRequest
|
|
968
|
+
*/
|
|
969
|
+
export interface AccessApiAccessAppointmentRecordApprovalRequest {
|
|
970
|
+
/**
|
|
971
|
+
*
|
|
972
|
+
* @type {number}
|
|
973
|
+
* @memberof AccessApiAccessAppointmentRecordApproval
|
|
974
|
+
*/
|
|
975
|
+
readonly id: number;
|
|
976
|
+
/**
|
|
977
|
+
*
|
|
978
|
+
* @type {AccessAppointmentRecordApprovalVo}
|
|
979
|
+
* @memberof AccessApiAccessAppointmentRecordApproval
|
|
980
|
+
*/
|
|
981
|
+
readonly accessAppointmentRecordApprovalVo: AccessAppointmentRecordApprovalVo;
|
|
982
|
+
}
|
|
899
983
|
/**
|
|
900
984
|
* Request parameters for accessBlacklistAdd operation in AccessApi.
|
|
901
985
|
* @export
|
|
@@ -1455,6 +1539,24 @@ export interface AccessApiUpdateEntryTermStatusRequest {
|
|
|
1455
1539
|
* @extends {BaseAPI}
|
|
1456
1540
|
*/
|
|
1457
1541
|
export declare class AccessApi extends BaseAPI {
|
|
1542
|
+
/**
|
|
1543
|
+
*
|
|
1544
|
+
* @summary 新增出入预约
|
|
1545
|
+
* @param {AccessApiAccessAppointmentRecordAddRequest} requestParameters Request parameters.
|
|
1546
|
+
* @param {*} [options] Override http request option.
|
|
1547
|
+
* @throws {RequiredError}
|
|
1548
|
+
* @memberof AccessApi
|
|
1549
|
+
*/
|
|
1550
|
+
accessAppointmentRecordAdd(requestParameters: AccessApiAccessAppointmentRecordAddRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultInteger, any>>;
|
|
1551
|
+
/**
|
|
1552
|
+
*
|
|
1553
|
+
* @summary 审批出入预约记录
|
|
1554
|
+
* @param {AccessApiAccessAppointmentRecordApprovalRequest} requestParameters Request parameters.
|
|
1555
|
+
* @param {*} [options] Override http request option.
|
|
1556
|
+
* @throws {RequiredError}
|
|
1557
|
+
* @memberof AccessApi
|
|
1558
|
+
*/
|
|
1559
|
+
accessAppointmentRecordApproval(requestParameters: AccessApiAccessAppointmentRecordApprovalRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultBoolean, any>>;
|
|
1458
1560
|
/**
|
|
1459
1561
|
* 添加黑名单信息
|
|
1460
1562
|
* @summary 添加黑名单
|
|
@@ -32,6 +32,76 @@ import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
|
32
32
|
*/
|
|
33
33
|
export const AccessApiAxiosParamCreator = function (configuration) {
|
|
34
34
|
return {
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @summary 新增出入预约
|
|
38
|
+
* @param {AccessAppointmentRecordAddVo} accessAppointmentRecordAddVo
|
|
39
|
+
* @param {*} [options] Override http request option.
|
|
40
|
+
* @throws {RequiredError}
|
|
41
|
+
*/
|
|
42
|
+
accessAppointmentRecordAdd: (accessAppointmentRecordAddVo_1, ...args_1) => __awaiter(this, [accessAppointmentRecordAddVo_1, ...args_1], void 0, function* (accessAppointmentRecordAddVo, options = {}) {
|
|
43
|
+
// verify required parameter 'accessAppointmentRecordAddVo' is not null or undefined
|
|
44
|
+
assertParamExists('accessAppointmentRecordAdd', 'accessAppointmentRecordAddVo', accessAppointmentRecordAddVo);
|
|
45
|
+
const localVarPath = `/access/appointment-record`;
|
|
46
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
47
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
48
|
+
let baseOptions;
|
|
49
|
+
if (configuration) {
|
|
50
|
+
baseOptions = configuration.baseOptions;
|
|
51
|
+
}
|
|
52
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
53
|
+
const localVarHeaderParameter = {};
|
|
54
|
+
const localVarQueryParameter = {};
|
|
55
|
+
// authentication tokenScheme required
|
|
56
|
+
// http bearer authentication required
|
|
57
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
58
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
59
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
60
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
61
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
62
|
+
localVarRequestOptions.data = serializeDataIfNeeded(accessAppointmentRecordAddVo, localVarRequestOptions, configuration);
|
|
63
|
+
return {
|
|
64
|
+
url: toPathString(localVarUrlObj),
|
|
65
|
+
options: localVarRequestOptions,
|
|
66
|
+
};
|
|
67
|
+
}),
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @summary 审批出入预约记录
|
|
71
|
+
* @param {number} id
|
|
72
|
+
* @param {AccessAppointmentRecordApprovalVo} accessAppointmentRecordApprovalVo
|
|
73
|
+
* @param {*} [options] Override http request option.
|
|
74
|
+
* @throws {RequiredError}
|
|
75
|
+
*/
|
|
76
|
+
accessAppointmentRecordApproval: (id_1, accessAppointmentRecordApprovalVo_1, ...args_1) => __awaiter(this, [id_1, accessAppointmentRecordApprovalVo_1, ...args_1], void 0, function* (id, accessAppointmentRecordApprovalVo, options = {}) {
|
|
77
|
+
// verify required parameter 'id' is not null or undefined
|
|
78
|
+
assertParamExists('accessAppointmentRecordApproval', 'id', id);
|
|
79
|
+
// verify required parameter 'accessAppointmentRecordApprovalVo' is not null or undefined
|
|
80
|
+
assertParamExists('accessAppointmentRecordApproval', 'accessAppointmentRecordApprovalVo', accessAppointmentRecordApprovalVo);
|
|
81
|
+
const localVarPath = `/access/appointment-record/approval/{id}`
|
|
82
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
83
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
84
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
85
|
+
let baseOptions;
|
|
86
|
+
if (configuration) {
|
|
87
|
+
baseOptions = configuration.baseOptions;
|
|
88
|
+
}
|
|
89
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
90
|
+
const localVarHeaderParameter = {};
|
|
91
|
+
const localVarQueryParameter = {};
|
|
92
|
+
// authentication tokenScheme required
|
|
93
|
+
// http bearer authentication required
|
|
94
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
95
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
96
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
97
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
98
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
99
|
+
localVarRequestOptions.data = serializeDataIfNeeded(accessAppointmentRecordApprovalVo, localVarRequestOptions, configuration);
|
|
100
|
+
return {
|
|
101
|
+
url: toPathString(localVarUrlObj),
|
|
102
|
+
options: localVarRequestOptions,
|
|
103
|
+
};
|
|
104
|
+
}),
|
|
35
105
|
/**
|
|
36
106
|
* 添加黑名单信息
|
|
37
107
|
* @summary 添加黑名单
|
|
@@ -1237,6 +1307,39 @@ export const AccessApiAxiosParamCreator = function (configuration) {
|
|
|
1237
1307
|
export const AccessApiFp = function (configuration) {
|
|
1238
1308
|
const localVarAxiosParamCreator = AccessApiAxiosParamCreator(configuration);
|
|
1239
1309
|
return {
|
|
1310
|
+
/**
|
|
1311
|
+
*
|
|
1312
|
+
* @summary 新增出入预约
|
|
1313
|
+
* @param {AccessAppointmentRecordAddVo} accessAppointmentRecordAddVo
|
|
1314
|
+
* @param {*} [options] Override http request option.
|
|
1315
|
+
* @throws {RequiredError}
|
|
1316
|
+
*/
|
|
1317
|
+
accessAppointmentRecordAdd(accessAppointmentRecordAddVo, options) {
|
|
1318
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1319
|
+
var _a, _b, _c;
|
|
1320
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accessAppointmentRecordAdd(accessAppointmentRecordAddVo, options);
|
|
1321
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1322
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AccessApi.accessAppointmentRecordAdd']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1323
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1324
|
+
});
|
|
1325
|
+
},
|
|
1326
|
+
/**
|
|
1327
|
+
*
|
|
1328
|
+
* @summary 审批出入预约记录
|
|
1329
|
+
* @param {number} id
|
|
1330
|
+
* @param {AccessAppointmentRecordApprovalVo} accessAppointmentRecordApprovalVo
|
|
1331
|
+
* @param {*} [options] Override http request option.
|
|
1332
|
+
* @throws {RequiredError}
|
|
1333
|
+
*/
|
|
1334
|
+
accessAppointmentRecordApproval(id, accessAppointmentRecordApprovalVo, options) {
|
|
1335
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1336
|
+
var _a, _b, _c;
|
|
1337
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accessAppointmentRecordApproval(id, accessAppointmentRecordApprovalVo, options);
|
|
1338
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1339
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AccessApi.accessAppointmentRecordApproval']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1340
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1341
|
+
});
|
|
1342
|
+
},
|
|
1240
1343
|
/**
|
|
1241
1344
|
* 添加黑名单信息
|
|
1242
1345
|
* @summary 添加黑名单
|
|
@@ -1798,6 +1901,26 @@ export const AccessApiFp = function (configuration) {
|
|
|
1798
1901
|
export const AccessApiFactory = function (configuration, basePath, axios) {
|
|
1799
1902
|
const localVarFp = AccessApiFp(configuration);
|
|
1800
1903
|
return {
|
|
1904
|
+
/**
|
|
1905
|
+
*
|
|
1906
|
+
* @summary 新增出入预约
|
|
1907
|
+
* @param {AccessApiAccessAppointmentRecordAddRequest} requestParameters Request parameters.
|
|
1908
|
+
* @param {*} [options] Override http request option.
|
|
1909
|
+
* @throws {RequiredError}
|
|
1910
|
+
*/
|
|
1911
|
+
accessAppointmentRecordAdd(requestParameters, options) {
|
|
1912
|
+
return localVarFp.accessAppointmentRecordAdd(requestParameters.accessAppointmentRecordAddVo, options).then((request) => request(axios, basePath));
|
|
1913
|
+
},
|
|
1914
|
+
/**
|
|
1915
|
+
*
|
|
1916
|
+
* @summary 审批出入预约记录
|
|
1917
|
+
* @param {AccessApiAccessAppointmentRecordApprovalRequest} requestParameters Request parameters.
|
|
1918
|
+
* @param {*} [options] Override http request option.
|
|
1919
|
+
* @throws {RequiredError}
|
|
1920
|
+
*/
|
|
1921
|
+
accessAppointmentRecordApproval(requestParameters, options) {
|
|
1922
|
+
return localVarFp.accessAppointmentRecordApproval(requestParameters.id, requestParameters.accessAppointmentRecordApprovalVo, options).then((request) => request(axios, basePath));
|
|
1923
|
+
},
|
|
1801
1924
|
/**
|
|
1802
1925
|
* 添加黑名单信息
|
|
1803
1926
|
* @summary 添加黑名单
|
|
@@ -2134,6 +2257,28 @@ export const AccessApiFactory = function (configuration, basePath, axios) {
|
|
|
2134
2257
|
* @extends {BaseAPI}
|
|
2135
2258
|
*/
|
|
2136
2259
|
export class AccessApi extends BaseAPI {
|
|
2260
|
+
/**
|
|
2261
|
+
*
|
|
2262
|
+
* @summary 新增出入预约
|
|
2263
|
+
* @param {AccessApiAccessAppointmentRecordAddRequest} requestParameters Request parameters.
|
|
2264
|
+
* @param {*} [options] Override http request option.
|
|
2265
|
+
* @throws {RequiredError}
|
|
2266
|
+
* @memberof AccessApi
|
|
2267
|
+
*/
|
|
2268
|
+
accessAppointmentRecordAdd(requestParameters, options) {
|
|
2269
|
+
return AccessApiFp(this.configuration).accessAppointmentRecordAdd(requestParameters.accessAppointmentRecordAddVo, options).then((request) => request(this.axios, this.basePath));
|
|
2270
|
+
}
|
|
2271
|
+
/**
|
|
2272
|
+
*
|
|
2273
|
+
* @summary 审批出入预约记录
|
|
2274
|
+
* @param {AccessApiAccessAppointmentRecordApprovalRequest} requestParameters Request parameters.
|
|
2275
|
+
* @param {*} [options] Override http request option.
|
|
2276
|
+
* @throws {RequiredError}
|
|
2277
|
+
* @memberof AccessApi
|
|
2278
|
+
*/
|
|
2279
|
+
accessAppointmentRecordApproval(requestParameters, options) {
|
|
2280
|
+
return AccessApiFp(this.configuration).accessAppointmentRecordApproval(requestParameters.id, requestParameters.accessAppointmentRecordApprovalVo, options).then((request) => request(this.axios, this.basePath));
|
|
2281
|
+
}
|
|
2137
2282
|
/**
|
|
2138
2283
|
* 添加黑名单信息
|
|
2139
2284
|
* @summary 添加黑名单
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
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 { AccessAppointmentRecordInOtherInfoVo } from './access-appointment-record-in-other-info-vo';
|
|
13
|
+
import type { AccessAppointmentRecordOutOtherInfoVo } from './access-appointment-record-out-other-info-vo';
|
|
14
|
+
import type { AccessAppointmentSourceEnum } from './access-appointment-source-enum';
|
|
15
|
+
import type { AccessDirectionEnum } from './access-direction-enum';
|
|
16
|
+
import type { AccessReasonEnum } from './access-reason-enum';
|
|
17
|
+
import type { AccessVehicleLengthEnum } from './access-vehicle-length-enum';
|
|
18
|
+
import type { AccessVehicleTypeEnum } from './access-vehicle-type-enum';
|
|
19
|
+
import type { AccessVisitorPersonTypeEnum } from './access-visitor-person-type-enum';
|
|
20
|
+
/**
|
|
21
|
+
* 新增出入预约记录请求参数
|
|
22
|
+
* @export
|
|
23
|
+
* @interface AccessAppointmentRecordAddVo
|
|
24
|
+
*/
|
|
25
|
+
export interface AccessAppointmentRecordAddVo {
|
|
26
|
+
/**
|
|
27
|
+
* 园区ID
|
|
28
|
+
* @type {number}
|
|
29
|
+
* @memberof AccessAppointmentRecordAddVo
|
|
30
|
+
*/
|
|
31
|
+
'parkId'?: number;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {AccessDirectionEnum}
|
|
35
|
+
* @memberof AccessAppointmentRecordAddVo
|
|
36
|
+
*/
|
|
37
|
+
'accessDirection'?: AccessDirectionEnum;
|
|
38
|
+
/**
|
|
39
|
+
* 访问公司ID
|
|
40
|
+
* @type {number}
|
|
41
|
+
* @memberof AccessAppointmentRecordAddVo
|
|
42
|
+
*/
|
|
43
|
+
'accessCompanyId'?: number;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {AccessVisitorPersonTypeEnum}
|
|
47
|
+
* @memberof AccessAppointmentRecordAddVo
|
|
48
|
+
*/
|
|
49
|
+
'accessVisitorPersonType'?: AccessVisitorPersonTypeEnum;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {AccessReasonEnum}
|
|
53
|
+
* @memberof AccessAppointmentRecordAddVo
|
|
54
|
+
*/
|
|
55
|
+
'accessReason'?: AccessReasonEnum;
|
|
56
|
+
/**
|
|
57
|
+
* 备注
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof AccessAppointmentRecordAddVo
|
|
60
|
+
*/
|
|
61
|
+
'remarks'?: string;
|
|
62
|
+
/**
|
|
63
|
+
* 所属单位
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof AccessAppointmentRecordAddVo
|
|
66
|
+
*/
|
|
67
|
+
'companyName'?: string;
|
|
68
|
+
/**
|
|
69
|
+
* 预约开始时间
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof AccessAppointmentRecordAddVo
|
|
72
|
+
*/
|
|
73
|
+
'appointmentStartTime'?: string;
|
|
74
|
+
/**
|
|
75
|
+
* 预约结束时间
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof AccessAppointmentRecordAddVo
|
|
78
|
+
*/
|
|
79
|
+
'appointmentEndTime'?: string;
|
|
80
|
+
/**
|
|
81
|
+
* 预约人姓名
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof AccessAppointmentRecordAddVo
|
|
84
|
+
*/
|
|
85
|
+
'appointmentName'?: string;
|
|
86
|
+
/**
|
|
87
|
+
* 预约人手机号
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof AccessAppointmentRecordAddVo
|
|
90
|
+
*/
|
|
91
|
+
'appointmentPhone'?: string;
|
|
92
|
+
/**
|
|
93
|
+
* 预约人车牌号
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof AccessAppointmentRecordAddVo
|
|
96
|
+
*/
|
|
97
|
+
'appointmentLicensePlate'?: string;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @type {AccessVehicleTypeEnum}
|
|
101
|
+
* @memberof AccessAppointmentRecordAddVo
|
|
102
|
+
*/
|
|
103
|
+
'vehicleType'?: AccessVehicleTypeEnum;
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @type {AccessVehicleLengthEnum}
|
|
107
|
+
* @memberof AccessAppointmentRecordAddVo
|
|
108
|
+
*/
|
|
109
|
+
'vehicleLength'?: AccessVehicleLengthEnum;
|
|
110
|
+
/**
|
|
111
|
+
*
|
|
112
|
+
* @type {AccessAppointmentRecordInOtherInfoVo}
|
|
113
|
+
* @memberof AccessAppointmentRecordAddVo
|
|
114
|
+
*/
|
|
115
|
+
'inOtherInfo'?: AccessAppointmentRecordInOtherInfoVo;
|
|
116
|
+
/**
|
|
117
|
+
*
|
|
118
|
+
* @type {AccessAppointmentRecordOutOtherInfoVo}
|
|
119
|
+
* @memberof AccessAppointmentRecordAddVo
|
|
120
|
+
*/
|
|
121
|
+
'outOtherInfo'?: AccessAppointmentRecordOutOtherInfoVo;
|
|
122
|
+
/**
|
|
123
|
+
*
|
|
124
|
+
* @type {AccessAppointmentSourceEnum}
|
|
125
|
+
* @memberof AccessAppointmentRecordAddVo
|
|
126
|
+
*/
|
|
127
|
+
'appointmentSource'?: AccessAppointmentSourceEnum;
|
|
128
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* OpenAPI definition
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
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
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
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 AccessAppointmentRecordApprovalVo
|
|
16
|
+
*/
|
|
17
|
+
export interface AccessAppointmentRecordApprovalVo {
|
|
18
|
+
/**
|
|
19
|
+
* 是否通过审批
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof AccessAppointmentRecordApprovalVo
|
|
22
|
+
*/
|
|
23
|
+
'isApproved': boolean;
|
|
24
|
+
/**
|
|
25
|
+
* 拒绝理由
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AccessAppointmentRecordApprovalVo
|
|
28
|
+
*/
|
|
29
|
+
'rejectReason'?: string;
|
|
30
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* OpenAPI definition
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
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
|
+
export {};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
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 AccessAppointmentRecordInOtherInfoVo
|
|
16
|
+
*/
|
|
17
|
+
export interface AccessAppointmentRecordInOtherInfoVo {
|
|
18
|
+
/**
|
|
19
|
+
* 保险证明
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof AccessAppointmentRecordInOtherInfoVo
|
|
22
|
+
*/
|
|
23
|
+
'insuranceCertificateUrl'?: Array<string>;
|
|
24
|
+
/**
|
|
25
|
+
* 三级教育
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof AccessAppointmentRecordInOtherInfoVo
|
|
28
|
+
*/
|
|
29
|
+
'safetyEducationUrl'?: Array<string>;
|
|
30
|
+
/**
|
|
31
|
+
* 体检报告
|
|
32
|
+
* @type {Array<string>}
|
|
33
|
+
* @memberof AccessAppointmentRecordInOtherInfoVo
|
|
34
|
+
*/
|
|
35
|
+
'medicalReportUrl'?: Array<string>;
|
|
36
|
+
/**
|
|
37
|
+
* 劳务合同
|
|
38
|
+
* @type {Array<string>}
|
|
39
|
+
* @memberof AccessAppointmentRecordInOtherInfoVo
|
|
40
|
+
*/
|
|
41
|
+
'laborContractUrl'?: Array<string>;
|
|
42
|
+
/**
|
|
43
|
+
* 特殊工种作业证
|
|
44
|
+
* @type {Array<string>}
|
|
45
|
+
* @memberof AccessAppointmentRecordInOtherInfoVo
|
|
46
|
+
*/
|
|
47
|
+
'specialWorkPermitUrl'?: Array<string>;
|
|
48
|
+
/**
|
|
49
|
+
* 配货单
|
|
50
|
+
* @type {Array<string>}
|
|
51
|
+
* @memberof AccessAppointmentRecordInOtherInfoVo
|
|
52
|
+
*/
|
|
53
|
+
'deliveryNoteUrl'?: Array<string>;
|
|
54
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* OpenAPI definition
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
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
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
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 AccessAppointmentRecordOutOtherInfoVo
|
|
16
|
+
*/
|
|
17
|
+
export interface AccessAppointmentRecordOutOtherInfoVo {
|
|
18
|
+
/**
|
|
19
|
+
* 货物明细
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AccessAppointmentRecordOutOtherInfoVo
|
|
22
|
+
*/
|
|
23
|
+
'goodsDetails'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* 图片
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof AccessAppointmentRecordOutOtherInfoVo
|
|
28
|
+
*/
|
|
29
|
+
'images'?: Array<string>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* OpenAPI definition
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
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
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
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
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare const AccessAppointmentSourceEnum: {
|
|
18
|
+
readonly Zhyq: "ZHYQ";
|
|
19
|
+
readonly Zjt: "ZJT";
|
|
20
|
+
readonly Vmi: "VMI";
|
|
21
|
+
readonly Fam: "FAM";
|
|
22
|
+
readonly Tms: "TMS";
|
|
23
|
+
};
|
|
24
|
+
export type AccessAppointmentSourceEnum = typeof AccessAppointmentSourceEnum[keyof typeof AccessAppointmentSourceEnum];
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* OpenAPI definition
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
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
|
+
* 预约来源枚举
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
export const AccessAppointmentSourceEnum = {
|
|
20
|
+
Zhyq: 'ZHYQ',
|
|
21
|
+
Zjt: 'ZJT',
|
|
22
|
+
Vmi: 'VMI',
|
|
23
|
+
Fam: 'FAM',
|
|
24
|
+
Tms: 'TMS'
|
|
25
|
+
};
|
|
@@ -16,6 +16,6 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export declare const AccessApprovalConfigEnum: {
|
|
18
18
|
readonly WhiteListApply: "WHITE_LIST_APPLY";
|
|
19
|
-
readonly
|
|
19
|
+
readonly VisitorAppointment: "VISITOR_APPOINTMENT";
|
|
20
20
|
};
|
|
21
21
|
export type AccessApprovalConfigEnum = typeof AccessApprovalConfigEnum[keyof typeof AccessApprovalConfigEnum];
|