@fill-easy/api 1.0.30 → 1.0.32

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.
Files changed (2) hide show
  1. package/dist/openapi.d.ts +36 -12
  2. package/package.json +1 -1
package/dist/openapi.d.ts CHANGED
@@ -1248,6 +1248,13 @@ export interface components {
1248
1248
  financial: boolean;
1249
1249
  };
1250
1250
  };
1251
+ CraInvalidCountryError: {
1252
+ /**
1253
+ * @description Error message indicating the country code is invalid or the service is not offered
1254
+ * @example Invalid countryCode / Service not offered for countryCode: XX
1255
+ */
1256
+ message: string;
1257
+ };
1251
1258
  Error: {
1252
1259
  /**
1253
1260
  * @description Error message
@@ -1422,7 +1429,7 @@ export interface components {
1422
1429
  * @example Private Company
1423
1430
  * @enum {string}
1424
1431
  */
1425
- registrationDetail: "Company Limited by Shares" | "Registered Non-Hong Kong Company" | "Company Limited by Guarantee" | "Unlimited Company" | "Registered Society/Organization" | "Open-ended Fund Company" | "Limited Partnership Fund" | "Public Company" | "Private Company" | "Foreign Company" | "Foreign Company Branch" | "Registered Australian Corporation under non-Corporations Law" | "Company Limited by Both Shares and Guarantees" | "No Liability Company" | "Sole Proprietorship/ Partnership" | "Sole Proprietorship" | "Limited Liability Partnership" | "Limited Partnership" | "Unlimited Partnership" | "Local Company" | "Juristic Ordinary Partnership" | "Foreign Juristic Person" | "Joint Venture" | "Chamber of Commerce" | "N/A";
1432
+ registrationDetail: "Company Limited by Shares" | "Registered Non-Hong Kong Company" | "Company Limited by Guarantee" | "Limited Company" | "Unlimited Company" | "Registered Society/Organization" | "Open-ended Fund Company" | "Open-ended Investment Company" | "Limited Partnership Fund" | "Public Company" | "Private Company" | "Foreign Company" | "Foreign Company Branch" | "Registered Overseas Entity" | "Registered Australian Corporation under non-Corporations Law" | "Company Limited by Both Shares and Guarantees" | "No Liability Company" | "Sole Proprietorship/ Partnership" | "Sole Proprietorship" | "Limited Liability Partnership" | "Limited Partnership" | "Unlimited Partnership" | "Local Company" | "Juristic Ordinary Partnership" | "Foreign Juristic Person" | "Joint Venture" | "Chamber of Commerce" | "Private Limited by Guarantee (Section 60 Exemption)" | "Assurance Company" | "European Economic Interest Grouping" | "Royal Charter Body" | "United Kingdom Societas" | "United Kingdom Economic Interest Grouping" | "Charitable Incorporated Organisation" | "Educational Corporation" | "N/A";
1426
1433
  };
1427
1434
  responses: {
1428
1435
  /** @description Unauthorized - Token is missing, invalid, or expired */
@@ -3393,12 +3400,14 @@ export interface operations {
3393
3400
  };
3394
3401
  };
3395
3402
  };
3396
- /** @description Bad Request - Invalid input parameters */
3403
+ /** @description Bad Request - Invalid or unsupported country code */
3397
3404
  400: {
3398
3405
  headers: {
3399
3406
  [name: string]: unknown;
3400
3407
  };
3401
- content?: never;
3408
+ content: {
3409
+ "application/json": components["schemas"]["CraInvalidCountryError"];
3410
+ };
3402
3411
  };
3403
3412
  /** @description Internal server error */
3404
3413
  500: {
@@ -3681,12 +3690,14 @@ export interface operations {
3681
3690
  };
3682
3691
  };
3683
3692
  };
3684
- /** @description Bad Request - Invalid input parameters, or service not offered for this country */
3693
+ /** @description Bad Request - Invalid or unsupported country code */
3685
3694
  400: {
3686
3695
  headers: {
3687
3696
  [name: string]: unknown;
3688
3697
  };
3689
- content?: never;
3698
+ content: {
3699
+ "application/json": components["schemas"]["CraInvalidCountryError"];
3700
+ };
3690
3701
  };
3691
3702
  /** @description Internal server error */
3692
3703
  500: {
@@ -3716,9 +3727,8 @@ export interface operations {
3716
3727
  * @description Optional filter by document type. (Country Specific)
3717
3728
  * - HK: financialStatement, annualReturn
3718
3729
  * - PH: GIS, AFS
3719
- * @enum {string}
3720
3730
  */
3721
- documentType?: "financialStatement" | "annualReturn" | "GIS" | "AFS";
3731
+ documentType?: string;
3722
3732
  /** @description Optional filter by year */
3723
3733
  documentYear?: string;
3724
3734
  };
@@ -3752,7 +3762,7 @@ export interface operations {
3752
3762
  pages?: string;
3753
3763
  /**
3754
3764
  * Format: date
3755
- * @description Filing date (YYYY-MM-DD format)
3765
+ * @description Filing date (YYYY-MM-DD format), can be date of processing or date filed depending on country
3756
3766
  */
3757
3767
  filingDate?: string;
3758
3768
  /** @description Unique document identifier */
@@ -3761,16 +3771,28 @@ export interface operations {
3761
3771
  companyId: string;
3762
3772
  /** @description Whether the document has linked files */
3763
3773
  hasLinked?: boolean;
3774
+ /**
3775
+ * @description Additional useful info regarding the document
3776
+ * @example {
3777
+ * "made_up_date": "2025-08-26",
3778
+ * "officer_name": "Bob Chan"
3779
+ * }
3780
+ */
3781
+ description?: {
3782
+ [key: string]: string;
3783
+ };
3764
3784
  }[];
3765
3785
  };
3766
3786
  };
3767
3787
  };
3768
- /** @description Bad Request - Invalid input parameters, or service not offered for this country */
3788
+ /** @description Bad Request - Invalid or unsupported country code */
3769
3789
  400: {
3770
3790
  headers: {
3771
3791
  [name: string]: unknown;
3772
3792
  };
3773
- content?: never;
3793
+ content: {
3794
+ "application/json": components["schemas"]["CraInvalidCountryError"];
3795
+ };
3774
3796
  };
3775
3797
  /** @description Internal server error */
3776
3798
  500: {
@@ -3817,12 +3839,14 @@ export interface operations {
3817
3839
  };
3818
3840
  };
3819
3841
  };
3820
- /** @description Bad Request - Invalid input parameters, or service not offered for this country */
3842
+ /** @description Bad Request - Invalid or unsupported country code */
3821
3843
  400: {
3822
3844
  headers: {
3823
3845
  [name: string]: unknown;
3824
3846
  };
3825
- content?: never;
3847
+ content: {
3848
+ "application/json": components["schemas"]["CraInvalidCountryError"];
3849
+ };
3826
3850
  };
3827
3851
  /** @description Internal server error */
3828
3852
  500: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fill-easy/api",
3
- "version": "1.0.30",
3
+ "version": "1.0.32",
4
4
  "type": "module",
5
5
  "description": "Type-safe SDK for Fill Easy API",
6
6
  "main": "dist/index.js",