@fill-easy/api 1.0.27 → 1.0.29
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 +125 -16
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -880,9 +880,11 @@ export interface paths {
|
|
|
880
880
|
* Request
|
|
881
881
|
* @description This endpoint may retrieve the company JSON and document via two methods:
|
|
882
882
|
*
|
|
883
|
+
* For a full list of Country Coverage, please check out /readme .
|
|
884
|
+
*
|
|
883
885
|
* #### Automated retrieval using Company ID for supported countries
|
|
884
886
|
*
|
|
885
|
-
* If the country supplied in `countryCode` is
|
|
887
|
+
* If the country supplied in `countryCode` is automated according to Country Coverage table,
|
|
886
888
|
* and the supplied `companyId` is valid, the system will automatically fetch the document.
|
|
887
889
|
*
|
|
888
890
|
* In order to ensure a valid `companyId`, please validate using `/cra/{countryCode}/search/companies`.
|
|
@@ -962,11 +964,11 @@ export interface paths {
|
|
|
962
964
|
*
|
|
963
965
|
* The type of search is dependent on the country:
|
|
964
966
|
*
|
|
965
|
-
* *Substring search*: KY, TH
|
|
967
|
+
* *Substring search*: KY, TH, PH
|
|
966
968
|
*
|
|
967
969
|
* *Tokenized search (e.g. searching "PLE" will not result in "APPLE")*: AU, SG
|
|
968
970
|
*
|
|
969
|
-
* *Left partial search*: HK
|
|
971
|
+
* *Left partial search*: HK, BM
|
|
970
972
|
*
|
|
971
973
|
* *Partial name search*: US
|
|
972
974
|
*/
|
|
@@ -1038,6 +1040,27 @@ export interface paths {
|
|
|
1038
1040
|
patch?: never;
|
|
1039
1041
|
trace?: never;
|
|
1040
1042
|
};
|
|
1043
|
+
"/cra/info": {
|
|
1044
|
+
parameters: {
|
|
1045
|
+
query?: never;
|
|
1046
|
+
header?: never;
|
|
1047
|
+
path?: never;
|
|
1048
|
+
cookie?: never;
|
|
1049
|
+
};
|
|
1050
|
+
/**
|
|
1051
|
+
* Get CRA Country Information
|
|
1052
|
+
* @description Returns metadata and a list of all countries supported by the CRA service,
|
|
1053
|
+
* including their automation status, available search capabilities, and report contents.
|
|
1054
|
+
*/
|
|
1055
|
+
get: operations["craInfo"];
|
|
1056
|
+
put?: never;
|
|
1057
|
+
post?: never;
|
|
1058
|
+
delete?: never;
|
|
1059
|
+
options?: never;
|
|
1060
|
+
head?: never;
|
|
1061
|
+
patch?: never;
|
|
1062
|
+
trace?: never;
|
|
1063
|
+
};
|
|
1041
1064
|
"/uaepass/request/auth": {
|
|
1042
1065
|
parameters: {
|
|
1043
1066
|
query?: never;
|
|
@@ -1195,11 +1218,49 @@ export interface paths {
|
|
|
1195
1218
|
export type webhooks = Record<string, never>;
|
|
1196
1219
|
export interface components {
|
|
1197
1220
|
schemas: {
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1221
|
+
Country: {
|
|
1222
|
+
/**
|
|
1223
|
+
* @description Country name
|
|
1224
|
+
* @example Hong Kong
|
|
1225
|
+
*/
|
|
1226
|
+
name: string;
|
|
1227
|
+
/**
|
|
1228
|
+
* @description [ISO 3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-2) country code.
|
|
1229
|
+
* @example HK
|
|
1230
|
+
*/
|
|
1231
|
+
code: string;
|
|
1232
|
+
/**
|
|
1233
|
+
* @description Geographic region
|
|
1234
|
+
* @example Asia
|
|
1235
|
+
*/
|
|
1236
|
+
region: string;
|
|
1237
|
+
/**
|
|
1238
|
+
* @description ISO 639-1 language code for the source language of documents
|
|
1239
|
+
* @example en
|
|
1240
|
+
*/
|
|
1241
|
+
sourceLanguage: string;
|
|
1242
|
+
/**
|
|
1243
|
+
* @description Whether the country is fully automated or requires manual processing
|
|
1244
|
+
* @enum {string}
|
|
1245
|
+
*/
|
|
1246
|
+
status: "automated" | "manual";
|
|
1247
|
+
search: {
|
|
1248
|
+
/** @description Whether document search is available */
|
|
1249
|
+
documents: boolean;
|
|
1250
|
+
/** @description Whether company name search is available */
|
|
1251
|
+
companies: boolean;
|
|
1252
|
+
/** @description Whether company ID lookup is available */
|
|
1253
|
+
company: boolean;
|
|
1254
|
+
};
|
|
1255
|
+
contents: {
|
|
1256
|
+
/** @description Whether registration information is available */
|
|
1257
|
+
registration: boolean;
|
|
1258
|
+
/** @description Whether shareholder information is available */
|
|
1259
|
+
sharedholder: boolean;
|
|
1260
|
+
/** @description Whether financial information is available */
|
|
1261
|
+
financial: boolean;
|
|
1262
|
+
};
|
|
1263
|
+
};
|
|
1203
1264
|
Error: {
|
|
1204
1265
|
/**
|
|
1205
1266
|
* @description Error message
|
|
@@ -3179,7 +3240,7 @@ export interface operations {
|
|
|
3179
3240
|
/** @description Company ID (e.g., BRN for Hong Kong, ACN for Australia) */
|
|
3180
3241
|
companyId?: string;
|
|
3181
3242
|
/** @description [ISO 3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-2) country code (case insensitive) */
|
|
3182
|
-
countryCode:
|
|
3243
|
+
countryCode: string;
|
|
3183
3244
|
/**
|
|
3184
3245
|
* @description Type of document
|
|
3185
3246
|
* @default companySearch
|
|
@@ -3469,7 +3530,7 @@ export interface operations {
|
|
|
3469
3530
|
header?: never;
|
|
3470
3531
|
path: {
|
|
3471
3532
|
/** @description [ISO 3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-2) country code in lowercase. */
|
|
3472
|
-
countryCode:
|
|
3533
|
+
countryCode: string;
|
|
3473
3534
|
};
|
|
3474
3535
|
cookie?: never;
|
|
3475
3536
|
};
|
|
@@ -3518,7 +3579,7 @@ export interface operations {
|
|
|
3518
3579
|
header?: never;
|
|
3519
3580
|
path: {
|
|
3520
3581
|
/** @description [ISO 3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-2) country code. */
|
|
3521
|
-
countryCode:
|
|
3582
|
+
countryCode: string;
|
|
3522
3583
|
};
|
|
3523
3584
|
cookie?: never;
|
|
3524
3585
|
};
|
|
@@ -3528,12 +3589,14 @@ export interface operations {
|
|
|
3528
3589
|
/** @description Company ID (e.g., BRN for Hong Kong, ACN for Australia) */
|
|
3529
3590
|
companyId: string;
|
|
3530
3591
|
/**
|
|
3531
|
-
* @description Optional filter by document type
|
|
3592
|
+
* @description Optional filter by document type. (Country Specific)
|
|
3593
|
+
* - HK: financialStatement, annualReturn
|
|
3594
|
+
* - PH: GIS, AFS
|
|
3532
3595
|
* @enum {string}
|
|
3533
3596
|
*/
|
|
3534
|
-
documentType?: "financialStatement" | "annualReturn";
|
|
3597
|
+
documentType?: "financialStatement" | "annualReturn" | "GIS" | "AFS";
|
|
3535
3598
|
/** @description Optional filter by year */
|
|
3536
|
-
documentYear?:
|
|
3599
|
+
documentYear?: string;
|
|
3537
3600
|
};
|
|
3538
3601
|
};
|
|
3539
3602
|
};
|
|
@@ -3569,7 +3632,7 @@ export interface operations {
|
|
|
3569
3632
|
*/
|
|
3570
3633
|
filingDate?: string;
|
|
3571
3634
|
/** @description Unique document identifier */
|
|
3572
|
-
documentId
|
|
3635
|
+
documentId?: string;
|
|
3573
3636
|
/** @description Company ID */
|
|
3574
3637
|
companyId: string;
|
|
3575
3638
|
/** @description Whether the document has linked files */
|
|
@@ -3600,7 +3663,7 @@ export interface operations {
|
|
|
3600
3663
|
header?: never;
|
|
3601
3664
|
path: {
|
|
3602
3665
|
/** @description [ISO 3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-2) country code. */
|
|
3603
|
-
countryCode:
|
|
3666
|
+
countryCode: string;
|
|
3604
3667
|
};
|
|
3605
3668
|
cookie?: never;
|
|
3606
3669
|
};
|
|
@@ -3646,6 +3709,52 @@ export interface operations {
|
|
|
3646
3709
|
};
|
|
3647
3710
|
};
|
|
3648
3711
|
};
|
|
3712
|
+
craInfo: {
|
|
3713
|
+
parameters: {
|
|
3714
|
+
query?: never;
|
|
3715
|
+
header?: never;
|
|
3716
|
+
path?: never;
|
|
3717
|
+
cookie?: never;
|
|
3718
|
+
};
|
|
3719
|
+
requestBody?: never;
|
|
3720
|
+
responses: {
|
|
3721
|
+
/** @description Successfully retrieved CRA country information */
|
|
3722
|
+
200: {
|
|
3723
|
+
headers: {
|
|
3724
|
+
[name: string]: unknown;
|
|
3725
|
+
};
|
|
3726
|
+
content: {
|
|
3727
|
+
"application/json": {
|
|
3728
|
+
meta: {
|
|
3729
|
+
/** @description Total number of countries */
|
|
3730
|
+
totalCountries: number;
|
|
3731
|
+
/** @description Number of automated countries */
|
|
3732
|
+
automated: number;
|
|
3733
|
+
/** @description Number of manual countries */
|
|
3734
|
+
manual: number;
|
|
3735
|
+
/** @description Number of countries with at least one search capability */
|
|
3736
|
+
searchable: number;
|
|
3737
|
+
};
|
|
3738
|
+
countries: components["schemas"]["Country"][];
|
|
3739
|
+
};
|
|
3740
|
+
};
|
|
3741
|
+
};
|
|
3742
|
+
/** @description Bad Request */
|
|
3743
|
+
400: {
|
|
3744
|
+
headers: {
|
|
3745
|
+
[name: string]: unknown;
|
|
3746
|
+
};
|
|
3747
|
+
content?: never;
|
|
3748
|
+
};
|
|
3749
|
+
/** @description Internal server error */
|
|
3750
|
+
500: {
|
|
3751
|
+
headers: {
|
|
3752
|
+
[name: string]: unknown;
|
|
3753
|
+
};
|
|
3754
|
+
content?: never;
|
|
3755
|
+
};
|
|
3756
|
+
};
|
|
3757
|
+
};
|
|
3649
3758
|
uaepassAuth: {
|
|
3650
3759
|
parameters: {
|
|
3651
3760
|
query?: never;
|