@fill-easy/api 1.0.33 → 1.0.35
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/dist/openapi.d.ts +49 -4
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -903,6 +903,8 @@ export interface paths {
|
|
|
903
903
|
* **Fallback:** Provide `companyName` if `companyId` is unavailable — request will be processed manually.
|
|
904
904
|
*
|
|
905
905
|
* **Document Request:** Provide `documentId` from `/cra/{countryCode}/search/documents` to request specific document.
|
|
906
|
+
*
|
|
907
|
+
* **Document Type:** Each country has a `defaultDocumentType` (see [`/cra/info`](#tag/CorpVerify/operation/craInfo)). Omitting `documentType` selects that default. To request a specific document, pass its `name` or alias from the country's `documentTypes` list.
|
|
906
908
|
*/
|
|
907
909
|
post: operations["craRequest"];
|
|
908
910
|
delete?: never;
|
|
@@ -1051,7 +1053,9 @@ export interface paths {
|
|
|
1051
1053
|
/**
|
|
1052
1054
|
* Info
|
|
1053
1055
|
* @description Returns metadata and a list of all countries supported by the CorpVerify service,
|
|
1054
|
-
* including their automation status, available search capabilities,
|
|
1056
|
+
* including their automation status, available search capabilities, report contents,
|
|
1057
|
+
* and the available document types per country. Each country includes a `defaultDocumentType`
|
|
1058
|
+
* indicating which document is returned when `documentType` is omitted from a `/cra/request` call.
|
|
1055
1059
|
*
|
|
1056
1060
|
* > For an up-to-date version of the same data, please view the [CorpVerify Country Coverage table](countries).
|
|
1057
1061
|
*/
|
|
@@ -1166,10 +1170,44 @@ export interface components {
|
|
|
1166
1170
|
/** @description Whether registration information is available */
|
|
1167
1171
|
registration: boolean;
|
|
1168
1172
|
/** @description Whether shareholder information is available */
|
|
1169
|
-
|
|
1173
|
+
shareholder: boolean;
|
|
1170
1174
|
/** @description Whether financial information is available */
|
|
1171
1175
|
financial: boolean;
|
|
1172
1176
|
};
|
|
1177
|
+
/**
|
|
1178
|
+
* @description The document type used when `documentType` is omitted from a `/cra/request` call.
|
|
1179
|
+
* Always matches one of the `name` values in `documentTypes`.
|
|
1180
|
+
* @example Company Particulars
|
|
1181
|
+
*/
|
|
1182
|
+
defaultDocumentType: string;
|
|
1183
|
+
/** @description Available document types for this country */
|
|
1184
|
+
documentTypes: {
|
|
1185
|
+
/**
|
|
1186
|
+
* @description Document type name
|
|
1187
|
+
* @example Company Particulars
|
|
1188
|
+
*/
|
|
1189
|
+
name: string;
|
|
1190
|
+
/**
|
|
1191
|
+
* @description List of content fields included in this document type
|
|
1192
|
+
* @example [
|
|
1193
|
+
* "registration",
|
|
1194
|
+
* "shareholder",
|
|
1195
|
+
* "financial"
|
|
1196
|
+
* ]
|
|
1197
|
+
*/
|
|
1198
|
+
contents: components["schemas"]["DocumentContents"][];
|
|
1199
|
+
/**
|
|
1200
|
+
* @description Source of the document
|
|
1201
|
+
* @example Hong Kong Companies Registry
|
|
1202
|
+
*/
|
|
1203
|
+
source: string;
|
|
1204
|
+
/**
|
|
1205
|
+
* Format: uri
|
|
1206
|
+
* @description URL to a sample document
|
|
1207
|
+
* @example https://cra-bucket-ap-east-1-prod.s3.ap-east-1.amazonaws.com/samples/HK_company-particulars.pdf
|
|
1208
|
+
*/
|
|
1209
|
+
sampleUrl: string;
|
|
1210
|
+
}[];
|
|
1173
1211
|
};
|
|
1174
1212
|
CraInvalidCountryError: {
|
|
1175
1213
|
/**
|
|
@@ -1185,6 +1223,12 @@ export interface components {
|
|
|
1185
1223
|
*/
|
|
1186
1224
|
error: string;
|
|
1187
1225
|
};
|
|
1226
|
+
/**
|
|
1227
|
+
* @description Data fields that can be included in company registry documents
|
|
1228
|
+
* @example shareholder
|
|
1229
|
+
* @enum {string}
|
|
1230
|
+
*/
|
|
1231
|
+
DocumentContents: "registration" | "shareholder" | "financial";
|
|
1188
1232
|
/**
|
|
1189
1233
|
* @description JWT token
|
|
1190
1234
|
* @example eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIn0.dozjgNryP4J3jVmNHl0w5N_XgL0n3I9PlFUP0THsR8U
|
|
@@ -3022,8 +3066,9 @@ export interface operations {
|
|
|
3022
3066
|
/** @description [ISO 3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-2) country code (case insensitive) */
|
|
3023
3067
|
countryCode: string;
|
|
3024
3068
|
/**
|
|
3025
|
-
* @description
|
|
3026
|
-
*
|
|
3069
|
+
* @description The document type to retrieve. Must match a `name` (or alias) from the country's `documentTypes` list in [`/cra/info`](#tag/CorpVerify/operation/craInfo).
|
|
3070
|
+
*
|
|
3071
|
+
* If omitted, defaults to the country's `defaultDocumentType` from `/cra/info`.
|
|
3027
3072
|
*/
|
|
3028
3073
|
documentType?: string;
|
|
3029
3074
|
/** @description Year of the document */
|