@fill-easy/api 1.0.14 → 1.0.15

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 +53 -9
  2. package/package.json +1 -1
package/dist/openapi.d.ts CHANGED
@@ -1167,30 +1167,74 @@ export interface components {
1167
1167
  /** @description Request express processing */
1168
1168
  express?: boolean;
1169
1169
  };
1170
+ /** @description Company information returned from the Companies Registry search */
1170
1171
  Company: {
1171
- /** @description Company ID (use this value in other endpoints) */
1172
+ /**
1173
+ * @description Unique company identifier used in subsequent API calls.
1174
+ * For Hong Kong: Business Registration Number (BRN) - an 8-digit number.
1175
+ * For Australia: Australian Company Number (ACN).
1176
+ * For Singapore: Unique Entity Number (UEN).
1177
+ *
1178
+ * @example 72599839
1179
+ */
1172
1180
  companyId: string;
1173
- /** @description Type of company identifier (e.g., "BRN" for Hong Kong, "ACN" for Australia) */
1181
+ /**
1182
+ * @description Type of company identifier returned.
1183
+ * - "BRN" - Business Registration Number (Hong Kong)
1184
+ * - "ACN" - Australian Company Number (Australia)
1185
+ * - "UEN" - Unique Entity Number (Singapore)
1186
+ * - "Unavailable" - When the country does not provide a company ID
1187
+ *
1188
+ * @example BRN
1189
+ */
1174
1190
  idType: string;
1175
- /** @description Official company name */
1191
+ /**
1192
+ * @description Official registered company name (in English or Chinese depending on the search)
1193
+ * @example FILL EASY LIMITED
1194
+ */
1176
1195
  companyName: string;
1177
- /** @description Name of the company in local language (if applicable) */
1196
+ /** @description Name of the company in local language (if applicable and different from companyName) */
1178
1197
  localName?: string;
1179
1198
  /**
1180
- * @description Active status of the company
1199
+ * @description Current active status of the company.
1200
+ * - "Live" - Company is currently active and in good standing
1201
+ * - "Dissolved" - Company has been dissolved/deregistered
1202
+ *
1203
+ * @example Live
1181
1204
  * @enum {string}
1182
1205
  */
1183
1206
  status?: "Live" | "Dissolved";
1184
1207
  /**
1185
- * @description Name status/type
1208
+ * @description Indicates whether the returned name is the current or a previous name.
1209
+ * - "current" - This is the company's current registered name
1210
+ * - "old" - This is a previous/historical name of the company
1211
+ *
1212
+ * @example current
1186
1213
  * @enum {string}
1187
1214
  */
1188
1215
  nameType?: "current" | "old";
1189
- /** @description Type of incorporation */
1216
+ /**
1217
+ * @description Type of incorporation/registration. Values vary by jurisdiction.
1218
+ * Hong Kong examples:
1219
+ * - "I" - Private company limited by shares incorporated in Hong Kong
1220
+ * - "O" - Overseas company registered in Hong Kong
1221
+ * - "G" - Company limited by guarantee
1222
+ * - "U" - Unlimited company
1223
+ *
1224
+ * @example I
1225
+ */
1190
1226
  incorporationType?: string;
1191
- /** @description Category of the entity */
1227
+ /**
1228
+ * @description Category classification of the entity. Values vary by jurisdiction.
1229
+ * Hong Kong examples:
1230
+ * - "B" - Local private company
1231
+ * - "P" - Public company
1232
+ * - "N" - Non-Hong Kong company
1233
+ *
1234
+ * @example B
1235
+ */
1192
1236
  entityCategory?: string;
1193
- /** @description Registered address of the company */
1237
+ /** @description Registered address of the company (when available) */
1194
1238
  address?: string;
1195
1239
  };
1196
1240
  };
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.15",
4
4
  "type": "module",
5
5
  "description": "Type-safe SDK for Fill Easy API",
6
6
  "main": "dist/index.js",