@fill-easy/api 1.0.14 → 1.0.16

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 CHANGED
@@ -1,4 +1,5 @@
1
1
  # Fill Easy API SDK
2
+
2
3
  Fill Easy Services API using https://openapi-ts.dev/
3
4
 
4
5
  Read full docs here: https://docs.fill-easy.com
package/dist/openapi.d.ts CHANGED
@@ -834,9 +834,10 @@ export interface paths {
834
834
  * characters and adjust the search parameters accordingly.
835
835
  *
836
836
  * The type of search is dependent on the country:
837
- * Substring search: KY
837
+ * Substring search: KY, TH
838
838
  * Tokenized search (e.g. searching "PLE" will not result in "APPLE"): AU, SG
839
- * Left partial search: HK,
839
+ * Left partial search: HK
840
+ * Partial name search: US
840
841
  *
841
842
  */
842
843
  post: operations["searchCompanies"];
@@ -1167,30 +1168,74 @@ export interface components {
1167
1168
  /** @description Request express processing */
1168
1169
  express?: boolean;
1169
1170
  };
1171
+ /** @description Company information returned from the Companies Registry search */
1170
1172
  Company: {
1171
- /** @description Company ID (use this value in other endpoints) */
1173
+ /**
1174
+ * @description Unique company identifier used in subsequent API calls.
1175
+ * For Hong Kong: Business Registration Number (BRN) - an 8-digit number.
1176
+ * For Australia: Australian Company Number (ACN).
1177
+ * For Singapore: Unique Entity Number (UEN).
1178
+ *
1179
+ * @example 72599839
1180
+ */
1172
1181
  companyId: string;
1173
- /** @description Type of company identifier (e.g., "BRN" for Hong Kong, "ACN" for Australia) */
1182
+ /**
1183
+ * @description Type of company identifier returned.
1184
+ * - "BRN" - Business Registration Number (Hong Kong)
1185
+ * - "ACN" - Australian Company Number (Australia)
1186
+ * - "UEN" - Unique Entity Number (Singapore)
1187
+ * - "Unavailable" - When the country does not provide a company ID
1188
+ *
1189
+ * @example BRN
1190
+ */
1174
1191
  idType: string;
1175
- /** @description Official company name */
1192
+ /**
1193
+ * @description Official registered company name (in English or Chinese depending on the search)
1194
+ * @example FILL EASY LIMITED
1195
+ */
1176
1196
  companyName: string;
1177
- /** @description Name of the company in local language (if applicable) */
1197
+ /** @description Name of the company in local language (if applicable and different from companyName) */
1178
1198
  localName?: string;
1179
1199
  /**
1180
- * @description Active status of the company
1200
+ * @description Current active status of the company.
1201
+ * - "Live" - Company is currently active and in good standing
1202
+ * - "Dissolved" - Company has been dissolved/deregistered
1203
+ *
1204
+ * @example Live
1181
1205
  * @enum {string}
1182
1206
  */
1183
1207
  status?: "Live" | "Dissolved";
1184
1208
  /**
1185
- * @description Name status/type
1209
+ * @description Indicates whether the returned name is the current or a previous name.
1210
+ * - "current" - This is the company's current registered name
1211
+ * - "old" - This is a previous/historical name of the company
1212
+ *
1213
+ * @example current
1186
1214
  * @enum {string}
1187
1215
  */
1188
1216
  nameType?: "current" | "old";
1189
- /** @description Type of incorporation */
1217
+ /**
1218
+ * @description Type of incorporation/registration. Values vary by jurisdiction.
1219
+ * Hong Kong examples:
1220
+ * - "I" - Private company limited by shares incorporated in Hong Kong
1221
+ * - "O" - Overseas company registered in Hong Kong
1222
+ * - "G" - Company limited by guarantee
1223
+ * - "U" - Unlimited company
1224
+ *
1225
+ * @example I
1226
+ */
1190
1227
  incorporationType?: string;
1191
- /** @description Category of the entity */
1228
+ /**
1229
+ * @description Category classification of the entity. Values vary by jurisdiction.
1230
+ * Hong Kong examples:
1231
+ * - "B" - Local private company
1232
+ * - "P" - Public company
1233
+ * - "N" - Non-Hong Kong company
1234
+ *
1235
+ * @example B
1236
+ */
1192
1237
  entityCategory?: string;
1193
- /** @description Registered address of the company */
1238
+ /** @description Registered address of the company (when available) */
1194
1239
  address?: string;
1195
1240
  };
1196
1241
  };
@@ -2772,7 +2817,7 @@ export interface operations {
2772
2817
  header?: never;
2773
2818
  path: {
2774
2819
  /** @description [ISO 3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-2) country code in lowercase. */
2775
- countryCode: "hk" | "cn" | "au" | "sg" | "ky";
2820
+ countryCode: "hk" | "cn" | "au" | "sg" | "ky" | "th" | "us";
2776
2821
  };
2777
2822
  cookie?: never;
2778
2823
  };
@@ -2917,7 +2962,7 @@ export interface operations {
2917
2962
  header?: never;
2918
2963
  path: {
2919
2964
  /** @description [ISO 3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-2) country code. */
2920
- countryCode: "hk" | "au" | "sg";
2965
+ countryCode: "hk" | "au" | "sg" | "th" | "us";
2921
2966
  };
2922
2967
  cookie?: never;
2923
2968
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fill-easy/api",
3
- "version": "1.0.14",
3
+ "version": "1.0.16",
4
4
  "type": "module",
5
5
  "description": "Type-safe SDK for Fill Easy API",
6
6
  "main": "dist/index.js",