@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
package/.openapi-generator/FILES
CHANGED
|
@@ -41,6 +41,11 @@ common.ts
|
|
|
41
41
|
configuration.ts
|
|
42
42
|
git_push.sh
|
|
43
43
|
index.ts
|
|
44
|
+
models/access-appointment-record-add-vo.ts
|
|
45
|
+
models/access-appointment-record-approval-vo.ts
|
|
46
|
+
models/access-appointment-record-in-other-info-vo.ts
|
|
47
|
+
models/access-appointment-record-out-other-info-vo.ts
|
|
48
|
+
models/access-appointment-source-enum.ts
|
|
44
49
|
models/access-approval-config-enum.ts
|
|
45
50
|
models/access-approval-config-vo-reminder.ts
|
|
46
51
|
models/access-approval-config-vo.ts
|
|
@@ -52,6 +57,8 @@ models/access-company-config-entity.ts
|
|
|
52
57
|
models/access-company-config-sort-vo.ts
|
|
53
58
|
models/access-config-entity.ts
|
|
54
59
|
models/access-config-vo.ts
|
|
60
|
+
models/access-direction-enum.ts
|
|
61
|
+
models/access-reason-enum.ts
|
|
55
62
|
models/access-vehicle-length-enum.ts
|
|
56
63
|
models/access-vehicle-type-enum.ts
|
|
57
64
|
models/access-visitor-person-type-config-vo.ts
|
package/apis/access-api.ts
CHANGED
|
@@ -22,6 +22,10 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
22
22
|
// @ts-ignore
|
|
23
23
|
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
24
24
|
// @ts-ignore
|
|
25
|
+
import type { AccessAppointmentRecordAddVo } from '../models';
|
|
26
|
+
// @ts-ignore
|
|
27
|
+
import type { AccessAppointmentRecordApprovalVo } from '../models';
|
|
28
|
+
// @ts-ignore
|
|
25
29
|
import type { AccessBlacklistAddVo } from '../models';
|
|
26
30
|
// @ts-ignore
|
|
27
31
|
import type { AccessBlacklistUpdateVo } from '../models';
|
|
@@ -85,6 +89,90 @@ import type { JsonResultVoid } from '../models';
|
|
|
85
89
|
*/
|
|
86
90
|
export const AccessApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
87
91
|
return {
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @summary 新增出入预约
|
|
95
|
+
* @param {AccessAppointmentRecordAddVo} accessAppointmentRecordAddVo
|
|
96
|
+
* @param {*} [options] Override http request option.
|
|
97
|
+
* @throws {RequiredError}
|
|
98
|
+
*/
|
|
99
|
+
accessAppointmentRecordAdd: async (accessAppointmentRecordAddVo: AccessAppointmentRecordAddVo, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
100
|
+
// verify required parameter 'accessAppointmentRecordAddVo' is not null or undefined
|
|
101
|
+
assertParamExists('accessAppointmentRecordAdd', 'accessAppointmentRecordAddVo', accessAppointmentRecordAddVo)
|
|
102
|
+
const localVarPath = `/access/appointment-record`;
|
|
103
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
104
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
105
|
+
let baseOptions;
|
|
106
|
+
if (configuration) {
|
|
107
|
+
baseOptions = configuration.baseOptions;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
111
|
+
const localVarHeaderParameter = {} as any;
|
|
112
|
+
const localVarQueryParameter = {} as any;
|
|
113
|
+
|
|
114
|
+
// authentication tokenScheme required
|
|
115
|
+
// http bearer authentication required
|
|
116
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
121
|
+
|
|
122
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
123
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
124
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
125
|
+
localVarRequestOptions.data = serializeDataIfNeeded(accessAppointmentRecordAddVo, localVarRequestOptions, configuration)
|
|
126
|
+
|
|
127
|
+
return {
|
|
128
|
+
url: toPathString(localVarUrlObj),
|
|
129
|
+
options: localVarRequestOptions,
|
|
130
|
+
};
|
|
131
|
+
},
|
|
132
|
+
/**
|
|
133
|
+
*
|
|
134
|
+
* @summary 审批出入预约记录
|
|
135
|
+
* @param {number} id
|
|
136
|
+
* @param {AccessAppointmentRecordApprovalVo} accessAppointmentRecordApprovalVo
|
|
137
|
+
* @param {*} [options] Override http request option.
|
|
138
|
+
* @throws {RequiredError}
|
|
139
|
+
*/
|
|
140
|
+
accessAppointmentRecordApproval: async (id: number, accessAppointmentRecordApprovalVo: AccessAppointmentRecordApprovalVo, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
141
|
+
// verify required parameter 'id' is not null or undefined
|
|
142
|
+
assertParamExists('accessAppointmentRecordApproval', 'id', id)
|
|
143
|
+
// verify required parameter 'accessAppointmentRecordApprovalVo' is not null or undefined
|
|
144
|
+
assertParamExists('accessAppointmentRecordApproval', 'accessAppointmentRecordApprovalVo', accessAppointmentRecordApprovalVo)
|
|
145
|
+
const localVarPath = `/access/appointment-record/approval/{id}`
|
|
146
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
147
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
148
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
149
|
+
let baseOptions;
|
|
150
|
+
if (configuration) {
|
|
151
|
+
baseOptions = configuration.baseOptions;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
155
|
+
const localVarHeaderParameter = {} as any;
|
|
156
|
+
const localVarQueryParameter = {} as any;
|
|
157
|
+
|
|
158
|
+
// authentication tokenScheme required
|
|
159
|
+
// http bearer authentication required
|
|
160
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
165
|
+
|
|
166
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
167
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
168
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
169
|
+
localVarRequestOptions.data = serializeDataIfNeeded(accessAppointmentRecordApprovalVo, localVarRequestOptions, configuration)
|
|
170
|
+
|
|
171
|
+
return {
|
|
172
|
+
url: toPathString(localVarUrlObj),
|
|
173
|
+
options: localVarRequestOptions,
|
|
174
|
+
};
|
|
175
|
+
},
|
|
88
176
|
/**
|
|
89
177
|
* 添加黑名单信息
|
|
90
178
|
* @summary 添加黑名单
|
|
@@ -1530,6 +1618,33 @@ export const AccessApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
1530
1618
|
export const AccessApiFp = function(configuration?: Configuration) {
|
|
1531
1619
|
const localVarAxiosParamCreator = AccessApiAxiosParamCreator(configuration)
|
|
1532
1620
|
return {
|
|
1621
|
+
/**
|
|
1622
|
+
*
|
|
1623
|
+
* @summary 新增出入预约
|
|
1624
|
+
* @param {AccessAppointmentRecordAddVo} accessAppointmentRecordAddVo
|
|
1625
|
+
* @param {*} [options] Override http request option.
|
|
1626
|
+
* @throws {RequiredError}
|
|
1627
|
+
*/
|
|
1628
|
+
async accessAppointmentRecordAdd(accessAppointmentRecordAddVo: AccessAppointmentRecordAddVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultInteger>> {
|
|
1629
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.accessAppointmentRecordAdd(accessAppointmentRecordAddVo, options);
|
|
1630
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1631
|
+
const localVarOperationServerBasePath = operationServerMap['AccessApi.accessAppointmentRecordAdd']?.[localVarOperationServerIndex]?.url;
|
|
1632
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1633
|
+
},
|
|
1634
|
+
/**
|
|
1635
|
+
*
|
|
1636
|
+
* @summary 审批出入预约记录
|
|
1637
|
+
* @param {number} id
|
|
1638
|
+
* @param {AccessAppointmentRecordApprovalVo} accessAppointmentRecordApprovalVo
|
|
1639
|
+
* @param {*} [options] Override http request option.
|
|
1640
|
+
* @throws {RequiredError}
|
|
1641
|
+
*/
|
|
1642
|
+
async accessAppointmentRecordApproval(id: number, accessAppointmentRecordApprovalVo: AccessAppointmentRecordApprovalVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultBoolean>> {
|
|
1643
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.accessAppointmentRecordApproval(id, accessAppointmentRecordApprovalVo, options);
|
|
1644
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1645
|
+
const localVarOperationServerBasePath = operationServerMap['AccessApi.accessAppointmentRecordApproval']?.[localVarOperationServerIndex]?.url;
|
|
1646
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1647
|
+
},
|
|
1533
1648
|
/**
|
|
1534
1649
|
* 添加黑名单信息
|
|
1535
1650
|
* @summary 添加黑名单
|
|
@@ -1993,6 +2108,26 @@ export const AccessApiFp = function(configuration?: Configuration) {
|
|
|
1993
2108
|
export const AccessApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
1994
2109
|
const localVarFp = AccessApiFp(configuration)
|
|
1995
2110
|
return {
|
|
2111
|
+
/**
|
|
2112
|
+
*
|
|
2113
|
+
* @summary 新增出入预约
|
|
2114
|
+
* @param {AccessApiAccessAppointmentRecordAddRequest} requestParameters Request parameters.
|
|
2115
|
+
* @param {*} [options] Override http request option.
|
|
2116
|
+
* @throws {RequiredError}
|
|
2117
|
+
*/
|
|
2118
|
+
accessAppointmentRecordAdd(requestParameters: AccessApiAccessAppointmentRecordAddRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultInteger> {
|
|
2119
|
+
return localVarFp.accessAppointmentRecordAdd(requestParameters.accessAppointmentRecordAddVo, options).then((request) => request(axios, basePath));
|
|
2120
|
+
},
|
|
2121
|
+
/**
|
|
2122
|
+
*
|
|
2123
|
+
* @summary 审批出入预约记录
|
|
2124
|
+
* @param {AccessApiAccessAppointmentRecordApprovalRequest} requestParameters Request parameters.
|
|
2125
|
+
* @param {*} [options] Override http request option.
|
|
2126
|
+
* @throws {RequiredError}
|
|
2127
|
+
*/
|
|
2128
|
+
accessAppointmentRecordApproval(requestParameters: AccessApiAccessAppointmentRecordApprovalRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultBoolean> {
|
|
2129
|
+
return localVarFp.accessAppointmentRecordApproval(requestParameters.id, requestParameters.accessAppointmentRecordApprovalVo, options).then((request) => request(axios, basePath));
|
|
2130
|
+
},
|
|
1996
2131
|
/**
|
|
1997
2132
|
* 添加黑名单信息
|
|
1998
2133
|
* @summary 添加黑名单
|
|
@@ -2323,6 +2458,41 @@ export const AccessApiFactory = function (configuration?: Configuration, basePat
|
|
|
2323
2458
|
};
|
|
2324
2459
|
};
|
|
2325
2460
|
|
|
2461
|
+
/**
|
|
2462
|
+
* Request parameters for accessAppointmentRecordAdd operation in AccessApi.
|
|
2463
|
+
* @export
|
|
2464
|
+
* @interface AccessApiAccessAppointmentRecordAddRequest
|
|
2465
|
+
*/
|
|
2466
|
+
export interface AccessApiAccessAppointmentRecordAddRequest {
|
|
2467
|
+
/**
|
|
2468
|
+
*
|
|
2469
|
+
* @type {AccessAppointmentRecordAddVo}
|
|
2470
|
+
* @memberof AccessApiAccessAppointmentRecordAdd
|
|
2471
|
+
*/
|
|
2472
|
+
readonly accessAppointmentRecordAddVo: AccessAppointmentRecordAddVo
|
|
2473
|
+
}
|
|
2474
|
+
|
|
2475
|
+
/**
|
|
2476
|
+
* Request parameters for accessAppointmentRecordApproval operation in AccessApi.
|
|
2477
|
+
* @export
|
|
2478
|
+
* @interface AccessApiAccessAppointmentRecordApprovalRequest
|
|
2479
|
+
*/
|
|
2480
|
+
export interface AccessApiAccessAppointmentRecordApprovalRequest {
|
|
2481
|
+
/**
|
|
2482
|
+
*
|
|
2483
|
+
* @type {number}
|
|
2484
|
+
* @memberof AccessApiAccessAppointmentRecordApproval
|
|
2485
|
+
*/
|
|
2486
|
+
readonly id: number
|
|
2487
|
+
|
|
2488
|
+
/**
|
|
2489
|
+
*
|
|
2490
|
+
* @type {AccessAppointmentRecordApprovalVo}
|
|
2491
|
+
* @memberof AccessApiAccessAppointmentRecordApproval
|
|
2492
|
+
*/
|
|
2493
|
+
readonly accessAppointmentRecordApprovalVo: AccessAppointmentRecordApprovalVo
|
|
2494
|
+
}
|
|
2495
|
+
|
|
2326
2496
|
/**
|
|
2327
2497
|
* Request parameters for accessBlacklistAdd operation in AccessApi.
|
|
2328
2498
|
* @export
|
|
@@ -2939,6 +3109,30 @@ export interface AccessApiUpdateEntryTermStatusRequest {
|
|
|
2939
3109
|
* @extends {BaseAPI}
|
|
2940
3110
|
*/
|
|
2941
3111
|
export class AccessApi extends BaseAPI {
|
|
3112
|
+
/**
|
|
3113
|
+
*
|
|
3114
|
+
* @summary 新增出入预约
|
|
3115
|
+
* @param {AccessApiAccessAppointmentRecordAddRequest} requestParameters Request parameters.
|
|
3116
|
+
* @param {*} [options] Override http request option.
|
|
3117
|
+
* @throws {RequiredError}
|
|
3118
|
+
* @memberof AccessApi
|
|
3119
|
+
*/
|
|
3120
|
+
public accessAppointmentRecordAdd(requestParameters: AccessApiAccessAppointmentRecordAddRequest, options?: RawAxiosRequestConfig) {
|
|
3121
|
+
return AccessApiFp(this.configuration).accessAppointmentRecordAdd(requestParameters.accessAppointmentRecordAddVo, options).then((request) => request(this.axios, this.basePath));
|
|
3122
|
+
}
|
|
3123
|
+
|
|
3124
|
+
/**
|
|
3125
|
+
*
|
|
3126
|
+
* @summary 审批出入预约记录
|
|
3127
|
+
* @param {AccessApiAccessAppointmentRecordApprovalRequest} requestParameters Request parameters.
|
|
3128
|
+
* @param {*} [options] Override http request option.
|
|
3129
|
+
* @throws {RequiredError}
|
|
3130
|
+
* @memberof AccessApi
|
|
3131
|
+
*/
|
|
3132
|
+
public accessAppointmentRecordApproval(requestParameters: AccessApiAccessAppointmentRecordApprovalRequest, options?: RawAxiosRequestConfig) {
|
|
3133
|
+
return AccessApiFp(this.configuration).accessAppointmentRecordApproval(requestParameters.id, requestParameters.accessAppointmentRecordApprovalVo, options).then((request) => request(this.axios, this.basePath));
|
|
3134
|
+
}
|
|
3135
|
+
|
|
2942
3136
|
/**
|
|
2943
3137
|
* 添加黑名单信息
|
|
2944
3138
|
* @summary 添加黑名单
|
|
@@ -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 添加黑名单
|
package/dist/apis/access-api.js
CHANGED
|
@@ -35,6 +35,76 @@ const base_1 = require("../base");
|
|
|
35
35
|
*/
|
|
36
36
|
const AccessApiAxiosParamCreator = function (configuration) {
|
|
37
37
|
return {
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @summary 新增出入预约
|
|
41
|
+
* @param {AccessAppointmentRecordAddVo} accessAppointmentRecordAddVo
|
|
42
|
+
* @param {*} [options] Override http request option.
|
|
43
|
+
* @throws {RequiredError}
|
|
44
|
+
*/
|
|
45
|
+
accessAppointmentRecordAdd: (accessAppointmentRecordAddVo_1, ...args_1) => __awaiter(this, [accessAppointmentRecordAddVo_1, ...args_1], void 0, function* (accessAppointmentRecordAddVo, options = {}) {
|
|
46
|
+
// verify required parameter 'accessAppointmentRecordAddVo' is not null or undefined
|
|
47
|
+
(0, common_1.assertParamExists)('accessAppointmentRecordAdd', 'accessAppointmentRecordAddVo', accessAppointmentRecordAddVo);
|
|
48
|
+
const localVarPath = `/access/appointment-record`;
|
|
49
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
50
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
51
|
+
let baseOptions;
|
|
52
|
+
if (configuration) {
|
|
53
|
+
baseOptions = configuration.baseOptions;
|
|
54
|
+
}
|
|
55
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
56
|
+
const localVarHeaderParameter = {};
|
|
57
|
+
const localVarQueryParameter = {};
|
|
58
|
+
// authentication tokenScheme required
|
|
59
|
+
// http bearer authentication required
|
|
60
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
61
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
62
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
63
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
64
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
65
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(accessAppointmentRecordAddVo, localVarRequestOptions, configuration);
|
|
66
|
+
return {
|
|
67
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
68
|
+
options: localVarRequestOptions,
|
|
69
|
+
};
|
|
70
|
+
}),
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @summary 审批出入预约记录
|
|
74
|
+
* @param {number} id
|
|
75
|
+
* @param {AccessAppointmentRecordApprovalVo} accessAppointmentRecordApprovalVo
|
|
76
|
+
* @param {*} [options] Override http request option.
|
|
77
|
+
* @throws {RequiredError}
|
|
78
|
+
*/
|
|
79
|
+
accessAppointmentRecordApproval: (id_1, accessAppointmentRecordApprovalVo_1, ...args_1) => __awaiter(this, [id_1, accessAppointmentRecordApprovalVo_1, ...args_1], void 0, function* (id, accessAppointmentRecordApprovalVo, options = {}) {
|
|
80
|
+
// verify required parameter 'id' is not null or undefined
|
|
81
|
+
(0, common_1.assertParamExists)('accessAppointmentRecordApproval', 'id', id);
|
|
82
|
+
// verify required parameter 'accessAppointmentRecordApprovalVo' is not null or undefined
|
|
83
|
+
(0, common_1.assertParamExists)('accessAppointmentRecordApproval', 'accessAppointmentRecordApprovalVo', accessAppointmentRecordApprovalVo);
|
|
84
|
+
const localVarPath = `/access/appointment-record/approval/{id}`
|
|
85
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
86
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
87
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
88
|
+
let baseOptions;
|
|
89
|
+
if (configuration) {
|
|
90
|
+
baseOptions = configuration.baseOptions;
|
|
91
|
+
}
|
|
92
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
93
|
+
const localVarHeaderParameter = {};
|
|
94
|
+
const localVarQueryParameter = {};
|
|
95
|
+
// authentication tokenScheme required
|
|
96
|
+
// http bearer authentication required
|
|
97
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
98
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
99
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
100
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
101
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
102
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(accessAppointmentRecordApprovalVo, localVarRequestOptions, configuration);
|
|
103
|
+
return {
|
|
104
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
105
|
+
options: localVarRequestOptions,
|
|
106
|
+
};
|
|
107
|
+
}),
|
|
38
108
|
/**
|
|
39
109
|
* 添加黑名单信息
|
|
40
110
|
* @summary 添加黑名单
|
|
@@ -1241,6 +1311,39 @@ exports.AccessApiAxiosParamCreator = AccessApiAxiosParamCreator;
|
|
|
1241
1311
|
const AccessApiFp = function (configuration) {
|
|
1242
1312
|
const localVarAxiosParamCreator = (0, exports.AccessApiAxiosParamCreator)(configuration);
|
|
1243
1313
|
return {
|
|
1314
|
+
/**
|
|
1315
|
+
*
|
|
1316
|
+
* @summary 新增出入预约
|
|
1317
|
+
* @param {AccessAppointmentRecordAddVo} accessAppointmentRecordAddVo
|
|
1318
|
+
* @param {*} [options] Override http request option.
|
|
1319
|
+
* @throws {RequiredError}
|
|
1320
|
+
*/
|
|
1321
|
+
accessAppointmentRecordAdd(accessAppointmentRecordAddVo, options) {
|
|
1322
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1323
|
+
var _a, _b, _c;
|
|
1324
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accessAppointmentRecordAdd(accessAppointmentRecordAddVo, options);
|
|
1325
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1326
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessApi.accessAppointmentRecordAdd']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1327
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1328
|
+
});
|
|
1329
|
+
},
|
|
1330
|
+
/**
|
|
1331
|
+
*
|
|
1332
|
+
* @summary 审批出入预约记录
|
|
1333
|
+
* @param {number} id
|
|
1334
|
+
* @param {AccessAppointmentRecordApprovalVo} accessAppointmentRecordApprovalVo
|
|
1335
|
+
* @param {*} [options] Override http request option.
|
|
1336
|
+
* @throws {RequiredError}
|
|
1337
|
+
*/
|
|
1338
|
+
accessAppointmentRecordApproval(id, accessAppointmentRecordApprovalVo, options) {
|
|
1339
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1340
|
+
var _a, _b, _c;
|
|
1341
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accessAppointmentRecordApproval(id, accessAppointmentRecordApprovalVo, options);
|
|
1342
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1343
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessApi.accessAppointmentRecordApproval']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1344
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1345
|
+
});
|
|
1346
|
+
},
|
|
1244
1347
|
/**
|
|
1245
1348
|
* 添加黑名单信息
|
|
1246
1349
|
* @summary 添加黑名单
|
|
@@ -1803,6 +1906,26 @@ exports.AccessApiFp = AccessApiFp;
|
|
|
1803
1906
|
const AccessApiFactory = function (configuration, basePath, axios) {
|
|
1804
1907
|
const localVarFp = (0, exports.AccessApiFp)(configuration);
|
|
1805
1908
|
return {
|
|
1909
|
+
/**
|
|
1910
|
+
*
|
|
1911
|
+
* @summary 新增出入预约
|
|
1912
|
+
* @param {AccessApiAccessAppointmentRecordAddRequest} requestParameters Request parameters.
|
|
1913
|
+
* @param {*} [options] Override http request option.
|
|
1914
|
+
* @throws {RequiredError}
|
|
1915
|
+
*/
|
|
1916
|
+
accessAppointmentRecordAdd(requestParameters, options) {
|
|
1917
|
+
return localVarFp.accessAppointmentRecordAdd(requestParameters.accessAppointmentRecordAddVo, options).then((request) => request(axios, basePath));
|
|
1918
|
+
},
|
|
1919
|
+
/**
|
|
1920
|
+
*
|
|
1921
|
+
* @summary 审批出入预约记录
|
|
1922
|
+
* @param {AccessApiAccessAppointmentRecordApprovalRequest} requestParameters Request parameters.
|
|
1923
|
+
* @param {*} [options] Override http request option.
|
|
1924
|
+
* @throws {RequiredError}
|
|
1925
|
+
*/
|
|
1926
|
+
accessAppointmentRecordApproval(requestParameters, options) {
|
|
1927
|
+
return localVarFp.accessAppointmentRecordApproval(requestParameters.id, requestParameters.accessAppointmentRecordApprovalVo, options).then((request) => request(axios, basePath));
|
|
1928
|
+
},
|
|
1806
1929
|
/**
|
|
1807
1930
|
* 添加黑名单信息
|
|
1808
1931
|
* @summary 添加黑名单
|
|
@@ -2140,6 +2263,28 @@ exports.AccessApiFactory = AccessApiFactory;
|
|
|
2140
2263
|
* @extends {BaseAPI}
|
|
2141
2264
|
*/
|
|
2142
2265
|
class AccessApi extends base_1.BaseAPI {
|
|
2266
|
+
/**
|
|
2267
|
+
*
|
|
2268
|
+
* @summary 新增出入预约
|
|
2269
|
+
* @param {AccessApiAccessAppointmentRecordAddRequest} requestParameters Request parameters.
|
|
2270
|
+
* @param {*} [options] Override http request option.
|
|
2271
|
+
* @throws {RequiredError}
|
|
2272
|
+
* @memberof AccessApi
|
|
2273
|
+
*/
|
|
2274
|
+
accessAppointmentRecordAdd(requestParameters, options) {
|
|
2275
|
+
return (0, exports.AccessApiFp)(this.configuration).accessAppointmentRecordAdd(requestParameters.accessAppointmentRecordAddVo, options).then((request) => request(this.axios, this.basePath));
|
|
2276
|
+
}
|
|
2277
|
+
/**
|
|
2278
|
+
*
|
|
2279
|
+
* @summary 审批出入预约记录
|
|
2280
|
+
* @param {AccessApiAccessAppointmentRecordApprovalRequest} requestParameters Request parameters.
|
|
2281
|
+
* @param {*} [options] Override http request option.
|
|
2282
|
+
* @throws {RequiredError}
|
|
2283
|
+
* @memberof AccessApi
|
|
2284
|
+
*/
|
|
2285
|
+
accessAppointmentRecordApproval(requestParameters, options) {
|
|
2286
|
+
return (0, exports.AccessApiFp)(this.configuration).accessAppointmentRecordApproval(requestParameters.id, requestParameters.accessAppointmentRecordApprovalVo, options).then((request) => request(this.axios, this.basePath));
|
|
2287
|
+
}
|
|
2143
2288
|
/**
|
|
2144
2289
|
* 添加黑名单信息
|
|
2145
2290
|
* @summary 添加黑名单
|