@azure-rest/ai-vision-face 1.0.0-alpha.20240527.2
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/README.md +464 -0
- package/dist/browser/clientDefinitions.d.ts +962 -0
- package/dist/browser/clientDefinitions.d.ts.map +1 -0
- package/dist/browser/clientDefinitions.js +4 -0
- package/dist/browser/clientDefinitions.js.map +1 -0
- package/dist/browser/faceClient.d.ts +16 -0
- package/dist/browser/faceClient.d.ts.map +1 -0
- package/dist/browser/faceClient.js +47 -0
- package/dist/browser/faceClient.js.map +1 -0
- package/dist/browser/index.d.ts +11 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/browser/index.js +13 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/isUnexpected.d.ts +103 -0
- package/dist/browser/isUnexpected.d.ts.map +1 -0
- package/dist/browser/isUnexpected.js +162 -0
- package/dist/browser/isUnexpected.js.map +1 -0
- package/dist/browser/logger.d.ts +2 -0
- package/dist/browser/logger.d.ts.map +1 -0
- package/dist/browser/logger.js +5 -0
- package/dist/browser/logger.js.map +1 -0
- package/dist/browser/models.d.ts +39 -0
- package/dist/browser/models.d.ts.map +1 -0
- package/dist/browser/models.js +4 -0
- package/dist/browser/models.js.map +1 -0
- package/dist/browser/outputModels.d.ts +608 -0
- package/dist/browser/outputModels.d.ts.map +1 -0
- package/dist/browser/outputModels.js +4 -0
- package/dist/browser/outputModels.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/parameters.d.ts +761 -0
- package/dist/browser/parameters.d.ts.map +1 -0
- package/dist/browser/parameters.js +4 -0
- package/dist/browser/parameters.js.map +1 -0
- package/dist/browser/pollingHelper.d.ts +85 -0
- package/dist/browser/pollingHelper.d.ts.map +1 -0
- package/dist/browser/pollingHelper.js +97 -0
- package/dist/browser/pollingHelper.js.map +1 -0
- package/dist/browser/responses.d.ts +1475 -0
- package/dist/browser/responses.d.ts.map +1 -0
- package/dist/browser/responses.js +4 -0
- package/dist/browser/responses.js.map +1 -0
- package/dist/commonjs/clientDefinitions.d.ts +962 -0
- package/dist/commonjs/clientDefinitions.d.ts.map +1 -0
- package/dist/commonjs/clientDefinitions.js +5 -0
- package/dist/commonjs/clientDefinitions.js.map +1 -0
- package/dist/commonjs/faceClient.d.ts +16 -0
- package/dist/commonjs/faceClient.d.ts.map +1 -0
- package/dist/commonjs/faceClient.js +50 -0
- package/dist/commonjs/faceClient.js.map +1 -0
- package/dist/commonjs/index.d.ts +11 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +16 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/isUnexpected.d.ts +103 -0
- package/dist/commonjs/isUnexpected.d.ts.map +1 -0
- package/dist/commonjs/isUnexpected.js +166 -0
- package/dist/commonjs/isUnexpected.js.map +1 -0
- package/dist/commonjs/logger.d.ts +2 -0
- package/dist/commonjs/logger.d.ts.map +1 -0
- package/dist/commonjs/logger.js +8 -0
- package/dist/commonjs/logger.js.map +1 -0
- package/dist/commonjs/models.d.ts +39 -0
- package/dist/commonjs/models.d.ts.map +1 -0
- package/dist/commonjs/models.js +5 -0
- package/dist/commonjs/models.js.map +1 -0
- package/dist/commonjs/outputModels.d.ts +608 -0
- package/dist/commonjs/outputModels.d.ts.map +1 -0
- package/dist/commonjs/outputModels.js +5 -0
- package/dist/commonjs/outputModels.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/parameters.d.ts +761 -0
- package/dist/commonjs/parameters.d.ts.map +1 -0
- package/dist/commonjs/parameters.js +5 -0
- package/dist/commonjs/parameters.js.map +1 -0
- package/dist/commonjs/pollingHelper.d.ts +85 -0
- package/dist/commonjs/pollingHelper.d.ts.map +1 -0
- package/dist/commonjs/pollingHelper.js +101 -0
- package/dist/commonjs/pollingHelper.js.map +1 -0
- package/dist/commonjs/responses.d.ts +1475 -0
- package/dist/commonjs/responses.d.ts.map +1 -0
- package/dist/commonjs/responses.js +5 -0
- package/dist/commonjs/responses.js.map +1 -0
- package/dist/commonjs/tsdoc-metadata.json +11 -0
- package/dist/esm/clientDefinitions.d.ts +962 -0
- package/dist/esm/clientDefinitions.d.ts.map +1 -0
- package/dist/esm/clientDefinitions.js +4 -0
- package/dist/esm/clientDefinitions.js.map +1 -0
- package/dist/esm/faceClient.d.ts +16 -0
- package/dist/esm/faceClient.d.ts.map +1 -0
- package/dist/esm/faceClient.js +47 -0
- package/dist/esm/faceClient.js.map +1 -0
- package/dist/esm/index.d.ts +11 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +13 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/isUnexpected.d.ts +103 -0
- package/dist/esm/isUnexpected.d.ts.map +1 -0
- package/dist/esm/isUnexpected.js +162 -0
- package/dist/esm/isUnexpected.js.map +1 -0
- package/dist/esm/logger.d.ts +2 -0
- package/dist/esm/logger.d.ts.map +1 -0
- package/dist/esm/logger.js +5 -0
- package/dist/esm/logger.js.map +1 -0
- package/dist/esm/models.d.ts +39 -0
- package/dist/esm/models.d.ts.map +1 -0
- package/dist/esm/models.js +4 -0
- package/dist/esm/models.js.map +1 -0
- package/dist/esm/outputModels.d.ts +608 -0
- package/dist/esm/outputModels.d.ts.map +1 -0
- package/dist/esm/outputModels.js +4 -0
- package/dist/esm/outputModels.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/parameters.d.ts +761 -0
- package/dist/esm/parameters.d.ts.map +1 -0
- package/dist/esm/parameters.js +4 -0
- package/dist/esm/parameters.js.map +1 -0
- package/dist/esm/pollingHelper.d.ts +85 -0
- package/dist/esm/pollingHelper.d.ts.map +1 -0
- package/dist/esm/pollingHelper.js +97 -0
- package/dist/esm/pollingHelper.js.map +1 -0
- package/dist/esm/responses.d.ts +1475 -0
- package/dist/esm/responses.d.ts.map +1 -0
- package/dist/esm/responses.js +4 -0
- package/dist/esm/responses.js.map +1 -0
- package/dist/react-native/clientDefinitions.d.ts +962 -0
- package/dist/react-native/clientDefinitions.d.ts.map +1 -0
- package/dist/react-native/clientDefinitions.js +4 -0
- package/dist/react-native/clientDefinitions.js.map +1 -0
- package/dist/react-native/faceClient.d.ts +16 -0
- package/dist/react-native/faceClient.d.ts.map +1 -0
- package/dist/react-native/faceClient.js +47 -0
- package/dist/react-native/faceClient.js.map +1 -0
- package/dist/react-native/index.d.ts +11 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/isUnexpected.d.ts +103 -0
- package/dist/react-native/isUnexpected.d.ts.map +1 -0
- package/dist/react-native/isUnexpected.js +162 -0
- package/dist/react-native/isUnexpected.js.map +1 -0
- package/dist/react-native/logger.d.ts +2 -0
- package/dist/react-native/logger.d.ts.map +1 -0
- package/dist/react-native/logger.js +5 -0
- package/dist/react-native/logger.js.map +1 -0
- package/dist/react-native/models.d.ts +39 -0
- package/dist/react-native/models.d.ts.map +1 -0
- package/dist/react-native/models.js +4 -0
- package/dist/react-native/models.js.map +1 -0
- package/dist/react-native/outputModels.d.ts +608 -0
- package/dist/react-native/outputModels.d.ts.map +1 -0
- package/dist/react-native/outputModels.js +4 -0
- package/dist/react-native/outputModels.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/parameters.d.ts +761 -0
- package/dist/react-native/parameters.d.ts.map +1 -0
- package/dist/react-native/parameters.js +4 -0
- package/dist/react-native/parameters.js.map +1 -0
- package/dist/react-native/pollingHelper.d.ts +85 -0
- package/dist/react-native/pollingHelper.d.ts.map +1 -0
- package/dist/react-native/pollingHelper.js +97 -0
- package/dist/react-native/pollingHelper.js.map +1 -0
- package/dist/react-native/responses.d.ts +1475 -0
- package/dist/react-native/responses.d.ts.map +1 -0
- package/dist/react-native/responses.js +4 -0
- package/dist/react-native/responses.js.map +1 -0
- package/package.json +157 -0
- package/review/ai-vision-face.api.md +4815 -0
|
@@ -0,0 +1,761 @@
|
|
|
1
|
+
/// <reference types="node" resolution-mode="require"/>
|
|
2
|
+
import { RequestParameters } from "@azure-rest/core-client";
|
|
3
|
+
import { DetectionModel, RecognitionModel, FaceAttributeType, FindSimilarMatchMode, CreateLivenessSessionContent, CreateLivenessWithVerifySessionContent } from "./models.js";
|
|
4
|
+
export type GetOperationResultParameters = RequestParameters;
|
|
5
|
+
export interface DetectFromUrlBodyParam {
|
|
6
|
+
body?: {
|
|
7
|
+
url: string;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export interface DetectFromUrlQueryParamProperties {
|
|
11
|
+
/** The 'detectionModel' associated with the detected faceIds. Supported 'detectionModel' values include 'detection_01', 'detection_02' and 'detection_03'. The default value is 'detection_01'. */
|
|
12
|
+
detectionModel?: DetectionModel;
|
|
13
|
+
/** The 'recognitionModel' associated with the detected faceIds. Supported 'recognitionModel' values include 'recognition_01', 'recognition_02', 'recognition_03' or 'recognition_04'. The default value is 'recognition_01'. 'recognition_04' is recommended since its accuracy is improved on faces wearing masks compared with 'recognition_03', and its overall accuracy is improved compared with 'recognition_01' and 'recognition_02'. */
|
|
14
|
+
recognitionModel?: RecognitionModel;
|
|
15
|
+
/** Return faceIds of the detected faces or not. The default value is true. */
|
|
16
|
+
returnFaceId?: boolean;
|
|
17
|
+
/** Analyze and return the one or more specified face attributes in the comma-separated string like 'returnFaceAttributes=headPose,glasses'. Face attribute analysis has additional computational and time cost. */
|
|
18
|
+
returnFaceAttributes?: FaceAttributeType[];
|
|
19
|
+
/** Return face landmarks of the detected faces or not. The default value is false. */
|
|
20
|
+
returnFaceLandmarks?: boolean;
|
|
21
|
+
/** Return 'recognitionModel' or not. The default value is false. This is only applicable when returnFaceId = true. */
|
|
22
|
+
returnRecognitionModel?: boolean;
|
|
23
|
+
/** The number of seconds for the face ID being cached. Supported range from 60 seconds up to 86400 seconds. The default value is 86400 (24 hours). */
|
|
24
|
+
faceIdTimeToLive?: number;
|
|
25
|
+
}
|
|
26
|
+
export interface DetectFromUrlQueryParam {
|
|
27
|
+
queryParameters?: DetectFromUrlQueryParamProperties;
|
|
28
|
+
}
|
|
29
|
+
export interface DetectFromUrlMediaTypesParam {
|
|
30
|
+
/** The format of the HTTP payload. */
|
|
31
|
+
contentType: "application/json";
|
|
32
|
+
}
|
|
33
|
+
export type DetectFromUrlParameters = DetectFromUrlQueryParam & DetectFromUrlMediaTypesParam & DetectFromUrlBodyParam & RequestParameters;
|
|
34
|
+
export interface DetectBodyParam {
|
|
35
|
+
/**
|
|
36
|
+
* The input image binary.
|
|
37
|
+
*
|
|
38
|
+
* Value may contain any sequence of octets
|
|
39
|
+
*/
|
|
40
|
+
body: string | Uint8Array | ReadableStream<Uint8Array> | NodeJS.ReadableStream;
|
|
41
|
+
}
|
|
42
|
+
export interface DetectQueryParamProperties {
|
|
43
|
+
/** The 'detectionModel' associated with the detected faceIds. Supported 'detectionModel' values include 'detection_01', 'detection_02' and 'detection_03'. The default value is 'detection_01'. */
|
|
44
|
+
detectionModel?: DetectionModel;
|
|
45
|
+
/** The 'recognitionModel' associated with the detected faceIds. Supported 'recognitionModel' values include 'recognition_01', 'recognition_02', 'recognition_03' or 'recognition_04'. The default value is 'recognition_01'. 'recognition_04' is recommended since its accuracy is improved on faces wearing masks compared with 'recognition_03', and its overall accuracy is improved compared with 'recognition_01' and 'recognition_02'. */
|
|
46
|
+
recognitionModel?: RecognitionModel;
|
|
47
|
+
/** Return faceIds of the detected faces or not. The default value is true. */
|
|
48
|
+
returnFaceId?: boolean;
|
|
49
|
+
/** Analyze and return the one or more specified face attributes in the comma-separated string like 'returnFaceAttributes=headPose,glasses'. Face attribute analysis has additional computational and time cost. */
|
|
50
|
+
returnFaceAttributes?: FaceAttributeType[];
|
|
51
|
+
/** Return face landmarks of the detected faces or not. The default value is false. */
|
|
52
|
+
returnFaceLandmarks?: boolean;
|
|
53
|
+
/** Return 'recognitionModel' or not. The default value is false. This is only applicable when returnFaceId = true. */
|
|
54
|
+
returnRecognitionModel?: boolean;
|
|
55
|
+
/** The number of seconds for the face ID being cached. Supported range from 60 seconds up to 86400 seconds. The default value is 86400 (24 hours). */
|
|
56
|
+
faceIdTimeToLive?: number;
|
|
57
|
+
}
|
|
58
|
+
export interface DetectQueryParam {
|
|
59
|
+
queryParameters?: DetectQueryParamProperties;
|
|
60
|
+
}
|
|
61
|
+
export interface DetectMediaTypesParam {
|
|
62
|
+
/** The format of the HTTP payload. */
|
|
63
|
+
contentType: "application/octet-stream";
|
|
64
|
+
}
|
|
65
|
+
export type DetectParameters = DetectQueryParam & DetectMediaTypesParam & DetectBodyParam & RequestParameters;
|
|
66
|
+
export interface FindSimilarBodyParam {
|
|
67
|
+
body?: {
|
|
68
|
+
faceId: string;
|
|
69
|
+
maxNumOfCandidatesReturned?: number;
|
|
70
|
+
mode?: FindSimilarMatchMode;
|
|
71
|
+
faceIds: string[];
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
export type FindSimilarParameters = FindSimilarBodyParam & RequestParameters;
|
|
75
|
+
export interface FindSimilarFromFaceListBodyParam {
|
|
76
|
+
body?: {
|
|
77
|
+
faceId: string;
|
|
78
|
+
maxNumOfCandidatesReturned?: number;
|
|
79
|
+
mode?: FindSimilarMatchMode;
|
|
80
|
+
faceListId: string;
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
export type FindSimilarFromFaceListParameters = FindSimilarFromFaceListBodyParam & RequestParameters;
|
|
84
|
+
export interface FindSimilarFromLargeFaceListBodyParam {
|
|
85
|
+
body?: {
|
|
86
|
+
faceId: string;
|
|
87
|
+
maxNumOfCandidatesReturned?: number;
|
|
88
|
+
mode?: FindSimilarMatchMode;
|
|
89
|
+
largeFaceListId: string;
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
export type FindSimilarFromLargeFaceListParameters = FindSimilarFromLargeFaceListBodyParam & RequestParameters;
|
|
93
|
+
export interface IdentifyFromPersonGroupBodyParam {
|
|
94
|
+
body?: {
|
|
95
|
+
faceIds: string[];
|
|
96
|
+
personGroupId: string;
|
|
97
|
+
maxNumOfCandidatesReturned?: number;
|
|
98
|
+
confidenceThreshold?: number;
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
export type IdentifyFromPersonGroupParameters = IdentifyFromPersonGroupBodyParam & RequestParameters;
|
|
102
|
+
export interface IdentifyFromLargePersonGroupBodyParam {
|
|
103
|
+
body?: {
|
|
104
|
+
faceIds: string[];
|
|
105
|
+
largePersonGroupId: string;
|
|
106
|
+
maxNumOfCandidatesReturned?: number;
|
|
107
|
+
confidenceThreshold?: number;
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
export type IdentifyFromLargePersonGroupParameters = IdentifyFromLargePersonGroupBodyParam & RequestParameters;
|
|
111
|
+
export interface IdentifyFromPersonDirectoryBodyParam {
|
|
112
|
+
body?: {
|
|
113
|
+
faceIds: string[];
|
|
114
|
+
personIds: string[];
|
|
115
|
+
maxNumOfCandidatesReturned?: number;
|
|
116
|
+
confidenceThreshold?: number;
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
export type IdentifyFromPersonDirectoryParameters = IdentifyFromPersonDirectoryBodyParam & RequestParameters;
|
|
120
|
+
export interface IdentifyFromDynamicPersonGroupBodyParam {
|
|
121
|
+
body?: {
|
|
122
|
+
faceIds: string[];
|
|
123
|
+
dynamicPersonGroupId: string;
|
|
124
|
+
maxNumOfCandidatesReturned?: number;
|
|
125
|
+
confidenceThreshold?: number;
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
export type IdentifyFromDynamicPersonGroupParameters = IdentifyFromDynamicPersonGroupBodyParam & RequestParameters;
|
|
129
|
+
export interface VerifyFaceToFaceBodyParam {
|
|
130
|
+
body?: {
|
|
131
|
+
faceId1: string;
|
|
132
|
+
faceId2: string;
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
export type VerifyFaceToFaceParameters = VerifyFaceToFaceBodyParam & RequestParameters;
|
|
136
|
+
export interface VerifyFromPersonGroupBodyParam {
|
|
137
|
+
body?: {
|
|
138
|
+
faceId: string;
|
|
139
|
+
personGroupId: string;
|
|
140
|
+
personId: string;
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
export type VerifyFromPersonGroupParameters = VerifyFromPersonGroupBodyParam & RequestParameters;
|
|
144
|
+
export interface VerifyFromLargePersonGroupBodyParam {
|
|
145
|
+
body?: {
|
|
146
|
+
faceId: string;
|
|
147
|
+
largePersonGroupId: string;
|
|
148
|
+
personId: string;
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
export type VerifyFromLargePersonGroupParameters = VerifyFromLargePersonGroupBodyParam & RequestParameters;
|
|
152
|
+
export interface VerifyFromPersonDirectoryBodyParam {
|
|
153
|
+
body?: {
|
|
154
|
+
faceId: string;
|
|
155
|
+
personId: string;
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
export type VerifyFromPersonDirectoryParameters = VerifyFromPersonDirectoryBodyParam & RequestParameters;
|
|
159
|
+
export interface GroupBodyParam {
|
|
160
|
+
body?: {
|
|
161
|
+
faceIds: string[];
|
|
162
|
+
};
|
|
163
|
+
}
|
|
164
|
+
export type GroupParameters = GroupBodyParam & RequestParameters;
|
|
165
|
+
export interface CreateLivenessSessionBodyParam {
|
|
166
|
+
body?: CreateLivenessSessionContent;
|
|
167
|
+
}
|
|
168
|
+
export type CreateLivenessSessionParameters = CreateLivenessSessionBodyParam & RequestParameters;
|
|
169
|
+
export type DeleteLivenessSessionParameters = RequestParameters;
|
|
170
|
+
export type GetLivenessSessionResultParameters = RequestParameters;
|
|
171
|
+
export interface GetLivenessSessionsQueryParamProperties {
|
|
172
|
+
/** List resources greater than the "start". It contains no more than 64 characters. Default is empty. */
|
|
173
|
+
start?: string;
|
|
174
|
+
/** The number of items to list, ranging in [1, 1000]. Default is 1000. */
|
|
175
|
+
top?: number;
|
|
176
|
+
}
|
|
177
|
+
export interface GetLivenessSessionsQueryParam {
|
|
178
|
+
queryParameters?: GetLivenessSessionsQueryParamProperties;
|
|
179
|
+
}
|
|
180
|
+
export type GetLivenessSessionsParameters = GetLivenessSessionsQueryParam & RequestParameters;
|
|
181
|
+
export interface GetLivenessSessionAuditEntriesQueryParamProperties {
|
|
182
|
+
/** List resources greater than the "start". It contains no more than 64 characters. Default is empty. */
|
|
183
|
+
start?: string;
|
|
184
|
+
/** The number of items to list, ranging in [1, 1000]. Default is 1000. */
|
|
185
|
+
top?: number;
|
|
186
|
+
}
|
|
187
|
+
export interface GetLivenessSessionAuditEntriesQueryParam {
|
|
188
|
+
queryParameters?: GetLivenessSessionAuditEntriesQueryParamProperties;
|
|
189
|
+
}
|
|
190
|
+
export type GetLivenessSessionAuditEntriesParameters = GetLivenessSessionAuditEntriesQueryParam & RequestParameters;
|
|
191
|
+
export interface CreateLivenessWithVerifySessionWithVerifyImageBodyParam {
|
|
192
|
+
body?: CreateLivenessWithVerifySessionContent;
|
|
193
|
+
}
|
|
194
|
+
export interface CreateLivenessWithVerifySessionWithVerifyImageMediaTypesParam {
|
|
195
|
+
/** The content type for the operation. Always multipart/form-data for this operation. */
|
|
196
|
+
contentType: "multipart/form-data";
|
|
197
|
+
}
|
|
198
|
+
export type CreateLivenessWithVerifySessionWithVerifyImageParameters = CreateLivenessWithVerifySessionWithVerifyImageMediaTypesParam & CreateLivenessWithVerifySessionWithVerifyImageBodyParam & RequestParameters;
|
|
199
|
+
export interface CreateLivenessWithVerifySessionBodyParam {
|
|
200
|
+
body?: CreateLivenessSessionContent;
|
|
201
|
+
}
|
|
202
|
+
export type CreateLivenessWithVerifySessionParameters = CreateLivenessWithVerifySessionBodyParam & RequestParameters;
|
|
203
|
+
export type DeleteLivenessWithVerifySessionParameters = RequestParameters;
|
|
204
|
+
export type GetLivenessWithVerifySessionResultParameters = RequestParameters;
|
|
205
|
+
export interface GetLivenessWithVerifySessionsQueryParamProperties {
|
|
206
|
+
/** List resources greater than the "start". It contains no more than 64 characters. Default is empty. */
|
|
207
|
+
start?: string;
|
|
208
|
+
/** The number of items to list, ranging in [1, 1000]. Default is 1000. */
|
|
209
|
+
top?: number;
|
|
210
|
+
}
|
|
211
|
+
export interface GetLivenessWithVerifySessionsQueryParam {
|
|
212
|
+
queryParameters?: GetLivenessWithVerifySessionsQueryParamProperties;
|
|
213
|
+
}
|
|
214
|
+
export type GetLivenessWithVerifySessionsParameters = GetLivenessWithVerifySessionsQueryParam & RequestParameters;
|
|
215
|
+
export interface GetLivenessWithVerifySessionAuditEntriesQueryParamProperties {
|
|
216
|
+
/** List resources greater than the "start". It contains no more than 64 characters. Default is empty. */
|
|
217
|
+
start?: string;
|
|
218
|
+
/** The number of items to list, ranging in [1, 1000]. Default is 1000. */
|
|
219
|
+
top?: number;
|
|
220
|
+
}
|
|
221
|
+
export interface GetLivenessWithVerifySessionAuditEntriesQueryParam {
|
|
222
|
+
queryParameters?: GetLivenessWithVerifySessionAuditEntriesQueryParamProperties;
|
|
223
|
+
}
|
|
224
|
+
export type GetLivenessWithVerifySessionAuditEntriesParameters = GetLivenessWithVerifySessionAuditEntriesQueryParam & RequestParameters;
|
|
225
|
+
export interface CreateFaceListBodyParam {
|
|
226
|
+
body?: {
|
|
227
|
+
name: string;
|
|
228
|
+
userData?: string;
|
|
229
|
+
recognitionModel?: RecognitionModel;
|
|
230
|
+
};
|
|
231
|
+
}
|
|
232
|
+
export type CreateFaceListParameters = CreateFaceListBodyParam & RequestParameters;
|
|
233
|
+
export type DeleteFaceListParameters = RequestParameters;
|
|
234
|
+
export interface GetFaceListQueryParamProperties {
|
|
235
|
+
/** Return 'recognitionModel' or not. The default value is false. */
|
|
236
|
+
returnRecognitionModel?: boolean;
|
|
237
|
+
}
|
|
238
|
+
export interface GetFaceListQueryParam {
|
|
239
|
+
queryParameters?: GetFaceListQueryParamProperties;
|
|
240
|
+
}
|
|
241
|
+
export type GetFaceListParameters = GetFaceListQueryParam & RequestParameters;
|
|
242
|
+
export interface UpdateFaceListBodyParam {
|
|
243
|
+
body?: {
|
|
244
|
+
name?: string;
|
|
245
|
+
userData?: string;
|
|
246
|
+
};
|
|
247
|
+
}
|
|
248
|
+
export type UpdateFaceListParameters = UpdateFaceListBodyParam & RequestParameters;
|
|
249
|
+
export interface GetFaceListsQueryParamProperties {
|
|
250
|
+
/** Return 'recognitionModel' or not. The default value is false. */
|
|
251
|
+
returnRecognitionModel?: boolean;
|
|
252
|
+
}
|
|
253
|
+
export interface GetFaceListsQueryParam {
|
|
254
|
+
queryParameters?: GetFaceListsQueryParamProperties;
|
|
255
|
+
}
|
|
256
|
+
export type GetFaceListsParameters = GetFaceListsQueryParam & RequestParameters;
|
|
257
|
+
export interface AddFaceListFaceFromUrlBodyParam {
|
|
258
|
+
body?: {
|
|
259
|
+
url: string;
|
|
260
|
+
};
|
|
261
|
+
}
|
|
262
|
+
export interface AddFaceListFaceFromUrlQueryParamProperties {
|
|
263
|
+
/** A face rectangle to specify the target face to be added to a person, in the format of 'targetFace=left,top,width,height'. */
|
|
264
|
+
targetFace?: number[];
|
|
265
|
+
/** The 'detectionModel' associated with the detected faceIds. Supported 'detectionModel' values include 'detection_01', 'detection_02' and 'detection_03'. The default value is 'detection_01'. */
|
|
266
|
+
detectionModel?: DetectionModel;
|
|
267
|
+
/** User-provided data attached to the face. The size limit is 1K. */
|
|
268
|
+
userData?: string;
|
|
269
|
+
}
|
|
270
|
+
export interface AddFaceListFaceFromUrlQueryParam {
|
|
271
|
+
queryParameters?: AddFaceListFaceFromUrlQueryParamProperties;
|
|
272
|
+
}
|
|
273
|
+
export type AddFaceListFaceFromUrlParameters = AddFaceListFaceFromUrlQueryParam & AddFaceListFaceFromUrlBodyParam & RequestParameters;
|
|
274
|
+
export interface AddFaceListFaceBodyParam {
|
|
275
|
+
/**
|
|
276
|
+
* The image to be analyzed
|
|
277
|
+
*
|
|
278
|
+
* Value may contain any sequence of octets
|
|
279
|
+
*/
|
|
280
|
+
body: string | Uint8Array | ReadableStream<Uint8Array> | NodeJS.ReadableStream;
|
|
281
|
+
}
|
|
282
|
+
export interface AddFaceListFaceQueryParamProperties {
|
|
283
|
+
/** A face rectangle to specify the target face to be added to a person, in the format of 'targetFace=left,top,width,height'. */
|
|
284
|
+
targetFace?: number[];
|
|
285
|
+
/** The 'detectionModel' associated with the detected faceIds. Supported 'detectionModel' values include 'detection_01', 'detection_02' and 'detection_03'. The default value is 'detection_01'. */
|
|
286
|
+
detectionModel?: DetectionModel;
|
|
287
|
+
/** User-provided data attached to the face. The size limit is 1K. */
|
|
288
|
+
userData?: string;
|
|
289
|
+
}
|
|
290
|
+
export interface AddFaceListFaceQueryParam {
|
|
291
|
+
queryParameters?: AddFaceListFaceQueryParamProperties;
|
|
292
|
+
}
|
|
293
|
+
export interface AddFaceListFaceMediaTypesParam {
|
|
294
|
+
/** The format of the HTTP payload. */
|
|
295
|
+
contentType: "application/octet-stream";
|
|
296
|
+
}
|
|
297
|
+
export type AddFaceListFaceParameters = AddFaceListFaceQueryParam & AddFaceListFaceMediaTypesParam & AddFaceListFaceBodyParam & RequestParameters;
|
|
298
|
+
export type DeleteFaceListFaceParameters = RequestParameters;
|
|
299
|
+
export interface CreateLargeFaceListBodyParam {
|
|
300
|
+
body?: {
|
|
301
|
+
name: string;
|
|
302
|
+
userData?: string;
|
|
303
|
+
recognitionModel?: RecognitionModel;
|
|
304
|
+
};
|
|
305
|
+
}
|
|
306
|
+
export type CreateLargeFaceListParameters = CreateLargeFaceListBodyParam & RequestParameters;
|
|
307
|
+
export type DeleteLargeFaceListParameters = RequestParameters;
|
|
308
|
+
export interface GetLargeFaceListQueryParamProperties {
|
|
309
|
+
/** Return 'recognitionModel' or not. The default value is false. */
|
|
310
|
+
returnRecognitionModel?: boolean;
|
|
311
|
+
}
|
|
312
|
+
export interface GetLargeFaceListQueryParam {
|
|
313
|
+
queryParameters?: GetLargeFaceListQueryParamProperties;
|
|
314
|
+
}
|
|
315
|
+
export type GetLargeFaceListParameters = GetLargeFaceListQueryParam & RequestParameters;
|
|
316
|
+
export interface UpdateLargeFaceListBodyParam {
|
|
317
|
+
body?: {
|
|
318
|
+
name?: string;
|
|
319
|
+
userData?: string;
|
|
320
|
+
};
|
|
321
|
+
}
|
|
322
|
+
export type UpdateLargeFaceListParameters = UpdateLargeFaceListBodyParam & RequestParameters;
|
|
323
|
+
export interface GetLargeFaceListsQueryParamProperties {
|
|
324
|
+
/** List resources greater than the "start". It contains no more than 64 characters. Default is empty. */
|
|
325
|
+
start?: string;
|
|
326
|
+
/** The number of items to list, ranging in [1, 1000]. Default is 1000. */
|
|
327
|
+
top?: number;
|
|
328
|
+
/** Return 'recognitionModel' or not. The default value is false. */
|
|
329
|
+
returnRecognitionModel?: boolean;
|
|
330
|
+
}
|
|
331
|
+
export interface GetLargeFaceListsQueryParam {
|
|
332
|
+
queryParameters?: GetLargeFaceListsQueryParamProperties;
|
|
333
|
+
}
|
|
334
|
+
export type GetLargeFaceListsParameters = GetLargeFaceListsQueryParam & RequestParameters;
|
|
335
|
+
export type GetLargeFaceListTrainingStatusParameters = RequestParameters;
|
|
336
|
+
export type TrainLargeFaceListParameters = RequestParameters;
|
|
337
|
+
export interface AddLargeFaceListFaceFromUrlBodyParam {
|
|
338
|
+
body?: {
|
|
339
|
+
url: string;
|
|
340
|
+
};
|
|
341
|
+
}
|
|
342
|
+
export interface AddLargeFaceListFaceFromUrlQueryParamProperties {
|
|
343
|
+
/** A face rectangle to specify the target face to be added to a person, in the format of 'targetFace=left,top,width,height'. */
|
|
344
|
+
targetFace?: number[];
|
|
345
|
+
/** The 'detectionModel' associated with the detected faceIds. Supported 'detectionModel' values include 'detection_01', 'detection_02' and 'detection_03'. The default value is 'detection_01'. */
|
|
346
|
+
detectionModel?: DetectionModel;
|
|
347
|
+
/** User-provided data attached to the face. The size limit is 1K. */
|
|
348
|
+
userData?: string;
|
|
349
|
+
}
|
|
350
|
+
export interface AddLargeFaceListFaceFromUrlQueryParam {
|
|
351
|
+
queryParameters?: AddLargeFaceListFaceFromUrlQueryParamProperties;
|
|
352
|
+
}
|
|
353
|
+
export type AddLargeFaceListFaceFromUrlParameters = AddLargeFaceListFaceFromUrlQueryParam & AddLargeFaceListFaceFromUrlBodyParam & RequestParameters;
|
|
354
|
+
export interface AddLargeFaceListFaceBodyParam {
|
|
355
|
+
/**
|
|
356
|
+
* The image to be analyzed
|
|
357
|
+
*
|
|
358
|
+
* Value may contain any sequence of octets
|
|
359
|
+
*/
|
|
360
|
+
body: string | Uint8Array | ReadableStream<Uint8Array> | NodeJS.ReadableStream;
|
|
361
|
+
}
|
|
362
|
+
export interface AddLargeFaceListFaceQueryParamProperties {
|
|
363
|
+
/** A face rectangle to specify the target face to be added to a person, in the format of 'targetFace=left,top,width,height'. */
|
|
364
|
+
targetFace?: number[];
|
|
365
|
+
/** The 'detectionModel' associated with the detected faceIds. Supported 'detectionModel' values include 'detection_01', 'detection_02' and 'detection_03'. The default value is 'detection_01'. */
|
|
366
|
+
detectionModel?: DetectionModel;
|
|
367
|
+
/** User-provided data attached to the face. The size limit is 1K. */
|
|
368
|
+
userData?: string;
|
|
369
|
+
}
|
|
370
|
+
export interface AddLargeFaceListFaceQueryParam {
|
|
371
|
+
queryParameters?: AddLargeFaceListFaceQueryParamProperties;
|
|
372
|
+
}
|
|
373
|
+
export interface AddLargeFaceListFaceMediaTypesParam {
|
|
374
|
+
/** The format of the HTTP payload. */
|
|
375
|
+
contentType: "application/octet-stream";
|
|
376
|
+
}
|
|
377
|
+
export type AddLargeFaceListFaceParameters = AddLargeFaceListFaceQueryParam & AddLargeFaceListFaceMediaTypesParam & AddLargeFaceListFaceBodyParam & RequestParameters;
|
|
378
|
+
export type DeleteLargeFaceListFaceParameters = RequestParameters;
|
|
379
|
+
export type GetLargeFaceListFaceParameters = RequestParameters;
|
|
380
|
+
export interface UpdateLargeFaceListFaceBodyParam {
|
|
381
|
+
body?: {
|
|
382
|
+
userData?: string;
|
|
383
|
+
};
|
|
384
|
+
}
|
|
385
|
+
export type UpdateLargeFaceListFaceParameters = UpdateLargeFaceListFaceBodyParam & RequestParameters;
|
|
386
|
+
export interface GetLargeFaceListFacesQueryParamProperties {
|
|
387
|
+
/** List resources greater than the "start". It contains no more than 64 characters. Default is empty. */
|
|
388
|
+
start?: string;
|
|
389
|
+
/** The number of items to list, ranging in [1, 1000]. Default is 1000. */
|
|
390
|
+
top?: number;
|
|
391
|
+
}
|
|
392
|
+
export interface GetLargeFaceListFacesQueryParam {
|
|
393
|
+
queryParameters?: GetLargeFaceListFacesQueryParamProperties;
|
|
394
|
+
}
|
|
395
|
+
export type GetLargeFaceListFacesParameters = GetLargeFaceListFacesQueryParam & RequestParameters;
|
|
396
|
+
export interface CreatePersonBodyParam {
|
|
397
|
+
body?: {
|
|
398
|
+
name: string;
|
|
399
|
+
userData?: string;
|
|
400
|
+
};
|
|
401
|
+
}
|
|
402
|
+
export type CreatePersonParameters = CreatePersonBodyParam & RequestParameters;
|
|
403
|
+
export type DeletePersonParameters = RequestParameters;
|
|
404
|
+
export type GetPersonParameters = RequestParameters;
|
|
405
|
+
export interface UpdatePersonBodyParam {
|
|
406
|
+
body?: {
|
|
407
|
+
name?: string;
|
|
408
|
+
userData?: string;
|
|
409
|
+
};
|
|
410
|
+
}
|
|
411
|
+
export type UpdatePersonParameters = UpdatePersonBodyParam & RequestParameters;
|
|
412
|
+
export interface GetPersonsQueryParamProperties {
|
|
413
|
+
/** List resources greater than the "start". It contains no more than 64 characters. Default is empty. */
|
|
414
|
+
start?: string;
|
|
415
|
+
/** The number of items to list, ranging in [1, 1000]. Default is 1000. */
|
|
416
|
+
top?: number;
|
|
417
|
+
}
|
|
418
|
+
export interface GetPersonsQueryParam {
|
|
419
|
+
queryParameters?: GetPersonsQueryParamProperties;
|
|
420
|
+
}
|
|
421
|
+
export type GetPersonsParameters = GetPersonsQueryParam & RequestParameters;
|
|
422
|
+
export interface GetDynamicPersonGroupReferencesQueryParamProperties {
|
|
423
|
+
/** List resources greater than the "start". It contains no more than 64 characters. Default is empty. */
|
|
424
|
+
start?: string;
|
|
425
|
+
/** The number of items to list, ranging in [1, 1000]. Default is 1000. */
|
|
426
|
+
top?: number;
|
|
427
|
+
}
|
|
428
|
+
export interface GetDynamicPersonGroupReferencesQueryParam {
|
|
429
|
+
queryParameters?: GetDynamicPersonGroupReferencesQueryParamProperties;
|
|
430
|
+
}
|
|
431
|
+
export type GetDynamicPersonGroupReferencesParameters = GetDynamicPersonGroupReferencesQueryParam & RequestParameters;
|
|
432
|
+
export interface AddPersonFaceBodyParam {
|
|
433
|
+
/**
|
|
434
|
+
* The image to be analyzed
|
|
435
|
+
*
|
|
436
|
+
* Value may contain any sequence of octets
|
|
437
|
+
*/
|
|
438
|
+
body: string | Uint8Array | ReadableStream<Uint8Array> | NodeJS.ReadableStream;
|
|
439
|
+
}
|
|
440
|
+
export interface AddPersonFaceQueryParamProperties {
|
|
441
|
+
/** A face rectangle to specify the target face to be added to a person, in the format of 'targetFace=left,top,width,height'. */
|
|
442
|
+
targetFace?: number[];
|
|
443
|
+
/** The 'detectionModel' associated with the detected faceIds. Supported 'detectionModel' values include 'detection_01', 'detection_02' and 'detection_03'. The default value is 'detection_01'. */
|
|
444
|
+
detectionModel?: DetectionModel;
|
|
445
|
+
/** User-provided data attached to the face. The size limit is 1K. */
|
|
446
|
+
userData?: string;
|
|
447
|
+
}
|
|
448
|
+
export interface AddPersonFaceQueryParam {
|
|
449
|
+
queryParameters?: AddPersonFaceQueryParamProperties;
|
|
450
|
+
}
|
|
451
|
+
export interface AddPersonFaceMediaTypesParam {
|
|
452
|
+
/** The format of the HTTP payload. */
|
|
453
|
+
contentType: "application/octet-stream";
|
|
454
|
+
}
|
|
455
|
+
export type AddPersonFaceParameters = AddPersonFaceQueryParam & AddPersonFaceMediaTypesParam & AddPersonFaceBodyParam & RequestParameters;
|
|
456
|
+
export interface AddPersonFaceFromUrlBodyParam {
|
|
457
|
+
body?: {
|
|
458
|
+
url: string;
|
|
459
|
+
};
|
|
460
|
+
}
|
|
461
|
+
export interface AddPersonFaceFromUrlQueryParamProperties {
|
|
462
|
+
/** A face rectangle to specify the target face to be added to a person, in the format of 'targetFace=left,top,width,height'. */
|
|
463
|
+
targetFace?: number[];
|
|
464
|
+
/** The 'detectionModel' associated with the detected faceIds. Supported 'detectionModel' values include 'detection_01', 'detection_02' and 'detection_03'. The default value is 'detection_01'. */
|
|
465
|
+
detectionModel?: DetectionModel;
|
|
466
|
+
/** User-provided data attached to the face. The size limit is 1K. */
|
|
467
|
+
userData?: string;
|
|
468
|
+
}
|
|
469
|
+
export interface AddPersonFaceFromUrlQueryParam {
|
|
470
|
+
queryParameters?: AddPersonFaceFromUrlQueryParamProperties;
|
|
471
|
+
}
|
|
472
|
+
export type AddPersonFaceFromUrlParameters = AddPersonFaceFromUrlQueryParam & AddPersonFaceFromUrlBodyParam & RequestParameters;
|
|
473
|
+
export type DeletePersonFaceParameters = RequestParameters;
|
|
474
|
+
export type GetPersonFaceParameters = RequestParameters;
|
|
475
|
+
export interface UpdatePersonFaceBodyParam {
|
|
476
|
+
body?: {
|
|
477
|
+
userData?: string;
|
|
478
|
+
};
|
|
479
|
+
}
|
|
480
|
+
export type UpdatePersonFaceParameters = UpdatePersonFaceBodyParam & RequestParameters;
|
|
481
|
+
export type GetPersonFacesParameters = RequestParameters;
|
|
482
|
+
export interface CreateDynamicPersonGroupWithPersonBodyParam {
|
|
483
|
+
body?: {
|
|
484
|
+
name: string;
|
|
485
|
+
userData?: string;
|
|
486
|
+
addPersonIds: string[];
|
|
487
|
+
};
|
|
488
|
+
}
|
|
489
|
+
export type CreateDynamicPersonGroupWithPersonParameters = CreateDynamicPersonGroupWithPersonBodyParam & RequestParameters;
|
|
490
|
+
export interface CreateDynamicPersonGroupBodyParam {
|
|
491
|
+
body?: {
|
|
492
|
+
name: string;
|
|
493
|
+
userData?: string;
|
|
494
|
+
};
|
|
495
|
+
}
|
|
496
|
+
export type CreateDynamicPersonGroupParameters = CreateDynamicPersonGroupBodyParam & RequestParameters;
|
|
497
|
+
export type DeleteDynamicPersonGroupParameters = RequestParameters;
|
|
498
|
+
export type GetDynamicPersonGroupParameters = RequestParameters;
|
|
499
|
+
export interface UpdateDynamicPersonGroupWithPersonChangesBodyParam {
|
|
500
|
+
body?: {
|
|
501
|
+
name?: string;
|
|
502
|
+
userData?: string;
|
|
503
|
+
addPersonIds?: string[];
|
|
504
|
+
removePersonIds?: string[];
|
|
505
|
+
};
|
|
506
|
+
}
|
|
507
|
+
export type UpdateDynamicPersonGroupWithPersonChangesParameters = UpdateDynamicPersonGroupWithPersonChangesBodyParam & RequestParameters;
|
|
508
|
+
export interface UpdateDynamicPersonGroupBodyParam {
|
|
509
|
+
body?: {
|
|
510
|
+
name?: string;
|
|
511
|
+
userData?: string;
|
|
512
|
+
};
|
|
513
|
+
}
|
|
514
|
+
export type UpdateDynamicPersonGroupParameters = UpdateDynamicPersonGroupBodyParam & RequestParameters;
|
|
515
|
+
export interface GetDynamicPersonGroupsQueryParamProperties {
|
|
516
|
+
/** List resources greater than the "start". It contains no more than 64 characters. Default is empty. */
|
|
517
|
+
start?: string;
|
|
518
|
+
/** The number of items to list, ranging in [1, 1000]. Default is 1000. */
|
|
519
|
+
top?: number;
|
|
520
|
+
}
|
|
521
|
+
export interface GetDynamicPersonGroupsQueryParam {
|
|
522
|
+
queryParameters?: GetDynamicPersonGroupsQueryParamProperties;
|
|
523
|
+
}
|
|
524
|
+
export type GetDynamicPersonGroupsParameters = GetDynamicPersonGroupsQueryParam & RequestParameters;
|
|
525
|
+
export interface GetDynamicPersonGroupPersonsQueryParamProperties {
|
|
526
|
+
/** List resources greater than the "start". It contains no more than 64 characters. Default is empty. */
|
|
527
|
+
start?: string;
|
|
528
|
+
/** The number of items to list, ranging in [1, 1000]. Default is 1000. */
|
|
529
|
+
top?: number;
|
|
530
|
+
}
|
|
531
|
+
export interface GetDynamicPersonGroupPersonsQueryParam {
|
|
532
|
+
queryParameters?: GetDynamicPersonGroupPersonsQueryParamProperties;
|
|
533
|
+
}
|
|
534
|
+
export type GetDynamicPersonGroupPersonsParameters = GetDynamicPersonGroupPersonsQueryParam & RequestParameters;
|
|
535
|
+
export interface CreatePersonGroupBodyParam {
|
|
536
|
+
body?: {
|
|
537
|
+
name: string;
|
|
538
|
+
userData?: string;
|
|
539
|
+
recognitionModel?: RecognitionModel;
|
|
540
|
+
};
|
|
541
|
+
}
|
|
542
|
+
export type CreatePersonGroupParameters = CreatePersonGroupBodyParam & RequestParameters;
|
|
543
|
+
export type DeletePersonGroupParameters = RequestParameters;
|
|
544
|
+
export interface GetPersonGroupQueryParamProperties {
|
|
545
|
+
/** Return 'recognitionModel' or not. The default value is false. */
|
|
546
|
+
returnRecognitionModel?: boolean;
|
|
547
|
+
}
|
|
548
|
+
export interface GetPersonGroupQueryParam {
|
|
549
|
+
queryParameters?: GetPersonGroupQueryParamProperties;
|
|
550
|
+
}
|
|
551
|
+
export type GetPersonGroupParameters = GetPersonGroupQueryParam & RequestParameters;
|
|
552
|
+
export interface UpdatePersonGroupBodyParam {
|
|
553
|
+
body?: {
|
|
554
|
+
name?: string;
|
|
555
|
+
userData?: string;
|
|
556
|
+
};
|
|
557
|
+
}
|
|
558
|
+
export type UpdatePersonGroupParameters = UpdatePersonGroupBodyParam & RequestParameters;
|
|
559
|
+
export interface GetPersonGroupsQueryParamProperties {
|
|
560
|
+
/** List resources greater than the "start". It contains no more than 64 characters. Default is empty. */
|
|
561
|
+
start?: string;
|
|
562
|
+
/** The number of items to list, ranging in [1, 1000]. Default is 1000. */
|
|
563
|
+
top?: number;
|
|
564
|
+
/** Return 'recognitionModel' or not. The default value is false. */
|
|
565
|
+
returnRecognitionModel?: boolean;
|
|
566
|
+
}
|
|
567
|
+
export interface GetPersonGroupsQueryParam {
|
|
568
|
+
queryParameters?: GetPersonGroupsQueryParamProperties;
|
|
569
|
+
}
|
|
570
|
+
export type GetPersonGroupsParameters = GetPersonGroupsQueryParam & RequestParameters;
|
|
571
|
+
export type GetPersonGroupTrainingStatusParameters = RequestParameters;
|
|
572
|
+
export type TrainPersonGroupParameters = RequestParameters;
|
|
573
|
+
export interface CreatePersonGroupPersonBodyParam {
|
|
574
|
+
body?: {
|
|
575
|
+
name: string;
|
|
576
|
+
userData?: string;
|
|
577
|
+
};
|
|
578
|
+
}
|
|
579
|
+
export type CreatePersonGroupPersonParameters = CreatePersonGroupPersonBodyParam & RequestParameters;
|
|
580
|
+
export type DeletePersonGroupPersonParameters = RequestParameters;
|
|
581
|
+
export type GetPersonGroupPersonParameters = RequestParameters;
|
|
582
|
+
export interface UpdatePersonGroupPersonBodyParam {
|
|
583
|
+
body?: {
|
|
584
|
+
name?: string;
|
|
585
|
+
userData?: string;
|
|
586
|
+
};
|
|
587
|
+
}
|
|
588
|
+
export type UpdatePersonGroupPersonParameters = UpdatePersonGroupPersonBodyParam & RequestParameters;
|
|
589
|
+
export interface GetPersonGroupPersonsQueryParamProperties {
|
|
590
|
+
/** List resources greater than the "start". It contains no more than 64 characters. Default is empty. */
|
|
591
|
+
start?: string;
|
|
592
|
+
/** The number of items to list, ranging in [1, 1000]. Default is 1000. */
|
|
593
|
+
top?: number;
|
|
594
|
+
}
|
|
595
|
+
export interface GetPersonGroupPersonsQueryParam {
|
|
596
|
+
queryParameters?: GetPersonGroupPersonsQueryParamProperties;
|
|
597
|
+
}
|
|
598
|
+
export type GetPersonGroupPersonsParameters = GetPersonGroupPersonsQueryParam & RequestParameters;
|
|
599
|
+
export interface AddPersonGroupPersonFaceFromUrlBodyParam {
|
|
600
|
+
body?: {
|
|
601
|
+
url: string;
|
|
602
|
+
};
|
|
603
|
+
}
|
|
604
|
+
export interface AddPersonGroupPersonFaceFromUrlQueryParamProperties {
|
|
605
|
+
/** A face rectangle to specify the target face to be added to a person, in the format of 'targetFace=left,top,width,height'. */
|
|
606
|
+
targetFace?: number[];
|
|
607
|
+
/** The 'detectionModel' associated with the detected faceIds. Supported 'detectionModel' values include 'detection_01', 'detection_02' and 'detection_03'. The default value is 'detection_01'. */
|
|
608
|
+
detectionModel?: DetectionModel;
|
|
609
|
+
/** User-provided data attached to the face. The size limit is 1K. */
|
|
610
|
+
userData?: string;
|
|
611
|
+
}
|
|
612
|
+
export interface AddPersonGroupPersonFaceFromUrlQueryParam {
|
|
613
|
+
queryParameters?: AddPersonGroupPersonFaceFromUrlQueryParamProperties;
|
|
614
|
+
}
|
|
615
|
+
export type AddPersonGroupPersonFaceFromUrlParameters = AddPersonGroupPersonFaceFromUrlQueryParam & AddPersonGroupPersonFaceFromUrlBodyParam & RequestParameters;
|
|
616
|
+
export interface AddPersonGroupPersonFaceBodyParam {
|
|
617
|
+
/**
|
|
618
|
+
* The image to be analyzed
|
|
619
|
+
*
|
|
620
|
+
* Value may contain any sequence of octets
|
|
621
|
+
*/
|
|
622
|
+
body: string | Uint8Array | ReadableStream<Uint8Array> | NodeJS.ReadableStream;
|
|
623
|
+
}
|
|
624
|
+
export interface AddPersonGroupPersonFaceQueryParamProperties {
|
|
625
|
+
/** A face rectangle to specify the target face to be added to a person, in the format of 'targetFace=left,top,width,height'. */
|
|
626
|
+
targetFace?: number[];
|
|
627
|
+
/** The 'detectionModel' associated with the detected faceIds. Supported 'detectionModel' values include 'detection_01', 'detection_02' and 'detection_03'. The default value is 'detection_01'. */
|
|
628
|
+
detectionModel?: DetectionModel;
|
|
629
|
+
/** User-provided data attached to the face. The size limit is 1K. */
|
|
630
|
+
userData?: string;
|
|
631
|
+
}
|
|
632
|
+
export interface AddPersonGroupPersonFaceQueryParam {
|
|
633
|
+
queryParameters?: AddPersonGroupPersonFaceQueryParamProperties;
|
|
634
|
+
}
|
|
635
|
+
export interface AddPersonGroupPersonFaceMediaTypesParam {
|
|
636
|
+
/** The format of the HTTP payload. */
|
|
637
|
+
contentType: "application/octet-stream";
|
|
638
|
+
}
|
|
639
|
+
export type AddPersonGroupPersonFaceParameters = AddPersonGroupPersonFaceQueryParam & AddPersonGroupPersonFaceMediaTypesParam & AddPersonGroupPersonFaceBodyParam & RequestParameters;
|
|
640
|
+
export type DeletePersonGroupPersonFaceParameters = RequestParameters;
|
|
641
|
+
export type GetPersonGroupPersonFaceParameters = RequestParameters;
|
|
642
|
+
export interface UpdatePersonGroupPersonFaceBodyParam {
|
|
643
|
+
body?: {
|
|
644
|
+
userData?: string;
|
|
645
|
+
};
|
|
646
|
+
}
|
|
647
|
+
export type UpdatePersonGroupPersonFaceParameters = UpdatePersonGroupPersonFaceBodyParam & RequestParameters;
|
|
648
|
+
export interface CreateLargePersonGroupBodyParam {
|
|
649
|
+
body?: {
|
|
650
|
+
name: string;
|
|
651
|
+
userData?: string;
|
|
652
|
+
recognitionModel?: RecognitionModel;
|
|
653
|
+
};
|
|
654
|
+
}
|
|
655
|
+
export type CreateLargePersonGroupParameters = CreateLargePersonGroupBodyParam & RequestParameters;
|
|
656
|
+
export type DeleteLargePersonGroupParameters = RequestParameters;
|
|
657
|
+
export interface GetLargePersonGroupQueryParamProperties {
|
|
658
|
+
/** Return 'recognitionModel' or not. The default value is false. */
|
|
659
|
+
returnRecognitionModel?: boolean;
|
|
660
|
+
}
|
|
661
|
+
export interface GetLargePersonGroupQueryParam {
|
|
662
|
+
queryParameters?: GetLargePersonGroupQueryParamProperties;
|
|
663
|
+
}
|
|
664
|
+
export type GetLargePersonGroupParameters = GetLargePersonGroupQueryParam & RequestParameters;
|
|
665
|
+
export interface UpdateLargePersonGroupBodyParam {
|
|
666
|
+
body?: {
|
|
667
|
+
name?: string;
|
|
668
|
+
userData?: string;
|
|
669
|
+
};
|
|
670
|
+
}
|
|
671
|
+
export type UpdateLargePersonGroupParameters = UpdateLargePersonGroupBodyParam & RequestParameters;
|
|
672
|
+
export interface GetLargePersonGroupsQueryParamProperties {
|
|
673
|
+
/** List resources greater than the "start". It contains no more than 64 characters. Default is empty. */
|
|
674
|
+
start?: string;
|
|
675
|
+
/** The number of items to list, ranging in [1, 1000]. Default is 1000. */
|
|
676
|
+
top?: number;
|
|
677
|
+
/** Return 'recognitionModel' or not. The default value is false. */
|
|
678
|
+
returnRecognitionModel?: boolean;
|
|
679
|
+
}
|
|
680
|
+
export interface GetLargePersonGroupsQueryParam {
|
|
681
|
+
queryParameters?: GetLargePersonGroupsQueryParamProperties;
|
|
682
|
+
}
|
|
683
|
+
export type GetLargePersonGroupsParameters = GetLargePersonGroupsQueryParam & RequestParameters;
|
|
684
|
+
export type GetLargePersonGroupTrainingStatusParameters = RequestParameters;
|
|
685
|
+
export type TrainLargePersonGroupParameters = RequestParameters;
|
|
686
|
+
export interface CreateLargePersonGroupPersonBodyParam {
|
|
687
|
+
body?: {
|
|
688
|
+
name: string;
|
|
689
|
+
userData?: string;
|
|
690
|
+
};
|
|
691
|
+
}
|
|
692
|
+
export type CreateLargePersonGroupPersonParameters = CreateLargePersonGroupPersonBodyParam & RequestParameters;
|
|
693
|
+
export type DeleteLargePersonGroupPersonParameters = RequestParameters;
|
|
694
|
+
export type GetLargePersonGroupPersonParameters = RequestParameters;
|
|
695
|
+
export interface UpdateLargePersonGroupPersonBodyParam {
|
|
696
|
+
body?: {
|
|
697
|
+
name?: string;
|
|
698
|
+
userData?: string;
|
|
699
|
+
};
|
|
700
|
+
}
|
|
701
|
+
export type UpdateLargePersonGroupPersonParameters = UpdateLargePersonGroupPersonBodyParam & RequestParameters;
|
|
702
|
+
export interface GetLargePersonGroupPersonsQueryParamProperties {
|
|
703
|
+
/** List resources greater than the "start". It contains no more than 64 characters. Default is empty. */
|
|
704
|
+
start?: string;
|
|
705
|
+
/** The number of items to list, ranging in [1, 1000]. Default is 1000. */
|
|
706
|
+
top?: number;
|
|
707
|
+
}
|
|
708
|
+
export interface GetLargePersonGroupPersonsQueryParam {
|
|
709
|
+
queryParameters?: GetLargePersonGroupPersonsQueryParamProperties;
|
|
710
|
+
}
|
|
711
|
+
export type GetLargePersonGroupPersonsParameters = GetLargePersonGroupPersonsQueryParam & RequestParameters;
|
|
712
|
+
export interface AddLargePersonGroupPersonFaceFromUrlBodyParam {
|
|
713
|
+
body?: {
|
|
714
|
+
url: string;
|
|
715
|
+
};
|
|
716
|
+
}
|
|
717
|
+
export interface AddLargePersonGroupPersonFaceFromUrlQueryParamProperties {
|
|
718
|
+
/** A face rectangle to specify the target face to be added to a person, in the format of 'targetFace=left,top,width,height'. */
|
|
719
|
+
targetFace?: number[];
|
|
720
|
+
/** The 'detectionModel' associated with the detected faceIds. Supported 'detectionModel' values include 'detection_01', 'detection_02' and 'detection_03'. The default value is 'detection_01'. */
|
|
721
|
+
detectionModel?: DetectionModel;
|
|
722
|
+
/** User-provided data attached to the face. The size limit is 1K. */
|
|
723
|
+
userData?: string;
|
|
724
|
+
}
|
|
725
|
+
export interface AddLargePersonGroupPersonFaceFromUrlQueryParam {
|
|
726
|
+
queryParameters?: AddLargePersonGroupPersonFaceFromUrlQueryParamProperties;
|
|
727
|
+
}
|
|
728
|
+
export type AddLargePersonGroupPersonFaceFromUrlParameters = AddLargePersonGroupPersonFaceFromUrlQueryParam & AddLargePersonGroupPersonFaceFromUrlBodyParam & RequestParameters;
|
|
729
|
+
export interface AddLargePersonGroupPersonFaceBodyParam {
|
|
730
|
+
/**
|
|
731
|
+
* The image to be analyzed
|
|
732
|
+
*
|
|
733
|
+
* Value may contain any sequence of octets
|
|
734
|
+
*/
|
|
735
|
+
body: string | Uint8Array | ReadableStream<Uint8Array> | NodeJS.ReadableStream;
|
|
736
|
+
}
|
|
737
|
+
export interface AddLargePersonGroupPersonFaceQueryParamProperties {
|
|
738
|
+
/** A face rectangle to specify the target face to be added to a person, in the format of 'targetFace=left,top,width,height'. */
|
|
739
|
+
targetFace?: number[];
|
|
740
|
+
/** The 'detectionModel' associated with the detected faceIds. Supported 'detectionModel' values include 'detection_01', 'detection_02' and 'detection_03'. The default value is 'detection_01'. */
|
|
741
|
+
detectionModel?: DetectionModel;
|
|
742
|
+
/** User-provided data attached to the face. The size limit is 1K. */
|
|
743
|
+
userData?: string;
|
|
744
|
+
}
|
|
745
|
+
export interface AddLargePersonGroupPersonFaceQueryParam {
|
|
746
|
+
queryParameters?: AddLargePersonGroupPersonFaceQueryParamProperties;
|
|
747
|
+
}
|
|
748
|
+
export interface AddLargePersonGroupPersonFaceMediaTypesParam {
|
|
749
|
+
/** The format of the HTTP payload. */
|
|
750
|
+
contentType: "application/octet-stream";
|
|
751
|
+
}
|
|
752
|
+
export type AddLargePersonGroupPersonFaceParameters = AddLargePersonGroupPersonFaceQueryParam & AddLargePersonGroupPersonFaceMediaTypesParam & AddLargePersonGroupPersonFaceBodyParam & RequestParameters;
|
|
753
|
+
export type DeleteLargePersonGroupPersonFaceParameters = RequestParameters;
|
|
754
|
+
export type GetLargePersonGroupPersonFaceParameters = RequestParameters;
|
|
755
|
+
export interface UpdateLargePersonGroupPersonFaceBodyParam {
|
|
756
|
+
body?: {
|
|
757
|
+
userData?: string;
|
|
758
|
+
};
|
|
759
|
+
}
|
|
760
|
+
export type UpdateLargePersonGroupPersonFaceParameters = UpdateLargePersonGroupPersonFaceBodyParam & RequestParameters;
|
|
761
|
+
//# sourceMappingURL=parameters.d.ts.map
|