@etsoo/appscript 1.1.5 → 1.1.6

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.
@@ -41,6 +41,14 @@ export declare class BusinessTax implements IBusinessTax {
41
41
  * US, Employer Identification Number (EIN)
42
42
  */
43
43
  static US: BusinessTax;
44
+ /**
45
+ * CA, tax ID number (Business Number, BN)
46
+ */
47
+ static CA: BusinessTax;
48
+ /**
49
+ * HK, Business Registration Number (BRN)
50
+ */
51
+ static HK: BusinessTax;
44
52
  /**
45
53
  * All countries and regions
46
54
  */
@@ -41,6 +41,14 @@ BusinessTax.NZ = new BusinessTax('NZ', 'IRD', '00[0]-000-000');
41
41
  * US, Employer Identification Number (EIN)
42
42
  */
43
43
  BusinessTax.US = new BusinessTax('US', 'EIN', '00-0000000');
44
+ /**
45
+ * CA, tax ID number (Business Number, BN)
46
+ */
47
+ BusinessTax.CA = new BusinessTax('CA', 'BN', '000000000');
48
+ /**
49
+ * HK, Business Registration Number (BRN)
50
+ */
51
+ BusinessTax.HK = new BusinessTax('HK', 'BRN', '00000000');
44
52
  /**
45
53
  * All countries and regions
46
54
  */
@@ -7,6 +7,7 @@ export * from './app/ExternalSettings';
7
7
  export * from './bridges/ElectronBridge';
8
8
  export * from './bridges/IAppData';
9
9
  export * from './bridges/IBridge';
10
+ export * from './business/BusinessTax';
10
11
  export * from './business/BusinessUtils';
11
12
  export * from './business/ProductUnit';
12
13
  export * from './dto/IdDto';
package/lib/cjs/index.js CHANGED
@@ -23,6 +23,7 @@ __exportStar(require("./bridges/ElectronBridge"), exports);
23
23
  __exportStar(require("./bridges/IAppData"), exports);
24
24
  __exportStar(require("./bridges/IBridge"), exports);
25
25
  // business
26
+ __exportStar(require("./business/BusinessTax"), exports);
26
27
  __exportStar(require("./business/BusinessUtils"), exports);
27
28
  __exportStar(require("./business/ProductUnit"), exports);
28
29
  // dto
@@ -41,6 +41,14 @@ export declare class BusinessTax implements IBusinessTax {
41
41
  * US, Employer Identification Number (EIN)
42
42
  */
43
43
  static US: BusinessTax;
44
+ /**
45
+ * CA, tax ID number (Business Number, BN)
46
+ */
47
+ static CA: BusinessTax;
48
+ /**
49
+ * HK, Business Registration Number (BRN)
50
+ */
51
+ static HK: BusinessTax;
44
52
  /**
45
53
  * All countries and regions
46
54
  */
@@ -37,6 +37,14 @@ BusinessTax.NZ = new BusinessTax('NZ', 'IRD', '00[0]-000-000');
37
37
  * US, Employer Identification Number (EIN)
38
38
  */
39
39
  BusinessTax.US = new BusinessTax('US', 'EIN', '00-0000000');
40
+ /**
41
+ * CA, tax ID number (Business Number, BN)
42
+ */
43
+ BusinessTax.CA = new BusinessTax('CA', 'BN', '000000000');
44
+ /**
45
+ * HK, Business Registration Number (BRN)
46
+ */
47
+ BusinessTax.HK = new BusinessTax('HK', 'BRN', '00000000');
40
48
  /**
41
49
  * All countries and regions
42
50
  */
@@ -7,6 +7,7 @@ export * from './app/ExternalSettings';
7
7
  export * from './bridges/ElectronBridge';
8
8
  export * from './bridges/IAppData';
9
9
  export * from './bridges/IBridge';
10
+ export * from './business/BusinessTax';
10
11
  export * from './business/BusinessUtils';
11
12
  export * from './business/ProductUnit';
12
13
  export * from './dto/IdDto';
package/lib/mjs/index.js CHANGED
@@ -11,6 +11,7 @@ export * from './bridges/ElectronBridge';
11
11
  export * from './bridges/IAppData';
12
12
  export * from './bridges/IBridge';
13
13
  // business
14
+ export * from './business/BusinessTax';
14
15
  export * from './business/BusinessUtils';
15
16
  export * from './business/ProductUnit';
16
17
  // dto
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/appscript",
3
- "version": "1.1.5",
3
+ "version": "1.1.6",
4
4
  "description": "Applications shared TypeScript framework",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/mjs/index.js",
@@ -45,6 +45,16 @@ export class BusinessTax implements IBusinessTax {
45
45
  */
46
46
  static US = new BusinessTax('US', 'EIN', '00-0000000');
47
47
 
48
+ /**
49
+ * CA, tax ID number (Business Number, BN)
50
+ */
51
+ static CA = new BusinessTax('CA', 'BN', '000000000');
52
+
53
+ /**
54
+ * HK, Business Registration Number (BRN)
55
+ */
56
+ static HK = new BusinessTax('HK', 'BRN', '00000000');
57
+
48
58
  /**
49
59
  * All countries and regions
50
60
  */
package/src/index.ts CHANGED
@@ -14,6 +14,7 @@ export * from './bridges/IAppData';
14
14
  export * from './bridges/IBridge';
15
15
 
16
16
  // business
17
+ export * from './business/BusinessTax';
17
18
  export * from './business/BusinessUtils';
18
19
  export * from './business/ProductUnit';
19
20