timber-node 0.4.2 → 0.4.4

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/auth.d.ts CHANGED
@@ -55,38 +55,37 @@ export declare class AuthService {
55
55
  * @example
56
56
  * ```ts
57
57
  * const registerUserRequest: RegisterUserRequest = {
58
- * name: "test",
59
- * email: "test@test.com",
60
- * partner: "test",
61
- * plan: "test",
62
- * domains: ["test"],
58
+ * name: "John Doe",
59
+ * email: "john@example.com",
60
+ * partner: "partner-id",
61
+ * plan: "plan-id",
62
+ * domains: ["https://example.com" ,"https://example.com"],
63
63
  * company: {
64
- * name: "test",
65
- * email: "test@test.com",
64
+ * name: "John Enterprises",
65
+ * email: "john@example.com",
66
66
  * language: "English",
67
- * currency: "USD",
67
+ * currency: "AED",
68
68
  * tax_number: "123456789",
69
69
  * address: "123 Main St",
70
- * city: "New York",
71
- * state: "NY",
72
- * zip_code: "10001",
70
+ * city: "Dubai",
71
+ * state: "Dubai",
73
72
  * country: "USA",
74
- * financial_start_date: "2023-01-01",
75
- * license_expiry: "2023-01-01",
76
- * license_issue_date: "2023-01-01",
73
+ * financial_start_date: "2025-04-01T00:00:00.000+00:00",
74
+ * license_expiry: "2025-04-01T00:00:00.000+00:00",
75
+ * license_issue_date: "2025-04-13T00:00:00.000+00:00",
77
76
  * sector: ["product", "service"],
78
77
  * user_role: "CEO",
79
78
  * business_years: "1-2",
80
- * size: "small",
81
- * current_method: "accountant",
82
- * purpose: "testing",
83
- * country_code: "US",
84
- * mobile: "1234567890",
79
+ * size: "1-10",
80
+ * current_method: "Accountant",
81
+ * purpose: "Financial Services",
82
+ * country_code: "+971",
83
+ * mobile: "5522334455",
85
84
  * logo: "https://example.com/logo.png",
86
85
  * license: "https://example.com/license.png",
87
86
  * license_number: "123456789",
88
- * license_authority: "NY",
89
- * trn: "123456789",
87
+ * license_authority: "IFZA (Dubai)",
88
+ * trn: "222333222332323",
90
89
  * },
91
90
  * };
92
91
  * const { createClient } = require('timber-sdk-dev');
package/dist/auth.js CHANGED
@@ -23,38 +23,37 @@ class AuthService {
23
23
  * @example
24
24
  * ```ts
25
25
  * const registerUserRequest: RegisterUserRequest = {
26
- * name: "test",
27
- * email: "test@test.com",
28
- * partner: "test",
29
- * plan: "test",
30
- * domains: ["test"],
26
+ * name: "John Doe",
27
+ * email: "john@example.com",
28
+ * partner: "partner-id",
29
+ * plan: "plan-id",
30
+ * domains: ["https://example.com" ,"https://example.com"],
31
31
  * company: {
32
- * name: "test",
33
- * email: "test@test.com",
32
+ * name: "John Enterprises",
33
+ * email: "john@example.com",
34
34
  * language: "English",
35
- * currency: "USD",
35
+ * currency: "AED",
36
36
  * tax_number: "123456789",
37
37
  * address: "123 Main St",
38
- * city: "New York",
39
- * state: "NY",
40
- * zip_code: "10001",
38
+ * city: "Dubai",
39
+ * state: "Dubai",
41
40
  * country: "USA",
42
- * financial_start_date: "2023-01-01",
43
- * license_expiry: "2023-01-01",
44
- * license_issue_date: "2023-01-01",
41
+ * financial_start_date: "2025-04-01T00:00:00.000+00:00",
42
+ * license_expiry: "2025-04-01T00:00:00.000+00:00",
43
+ * license_issue_date: "2025-04-13T00:00:00.000+00:00",
45
44
  * sector: ["product", "service"],
46
45
  * user_role: "CEO",
47
46
  * business_years: "1-2",
48
- * size: "small",
49
- * current_method: "accountant",
50
- * purpose: "testing",
51
- * country_code: "US",
52
- * mobile: "1234567890",
47
+ * size: "1-10",
48
+ * current_method: "Accountant",
49
+ * purpose: "Financial Services",
50
+ * country_code: "+971",
51
+ * mobile: "5522334455",
53
52
  * logo: "https://example.com/logo.png",
54
53
  * license: "https://example.com/license.png",
55
54
  * license_number: "123456789",
56
- * license_authority: "NY",
57
- * trn: "123456789",
55
+ * license_authority: "IFZA (Dubai)",
56
+ * trn: "222333222332323",
58
57
  * },
59
58
  * };
60
59
  * const { createClient } = require('timber-sdk-dev');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "timber-node",
3
- "version": "0.4.2",
3
+ "version": "0.4.4",
4
4
  "description": "Simplifying accounting and tax filing for businesses",
5
5
  "keywords": [
6
6
  "timber"