@oxyhq/services 5.13.25 → 5.13.27

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 (125) hide show
  1. package/README.md +5 -6
  2. package/lib/commonjs/core/HttpService.js +481 -0
  3. package/lib/commonjs/core/HttpService.js.map +1 -0
  4. package/lib/commonjs/core/OxyServices.base.js +29 -26
  5. package/lib/commonjs/core/OxyServices.base.js.map +1 -1
  6. package/lib/commonjs/core/OxyServices.js +3 -4
  7. package/lib/commonjs/core/OxyServices.js.map +1 -1
  8. package/lib/commonjs/core/mixins/OxyServices.assets.js +3 -9
  9. package/lib/commonjs/core/mixins/OxyServices.assets.js.map +1 -1
  10. package/lib/commonjs/core/mixins/OxyServices.user.js +9 -5
  11. package/lib/commonjs/core/mixins/OxyServices.user.js.map +1 -1
  12. package/lib/commonjs/core/mixins/OxyServices.utility.js +1 -0
  13. package/lib/commonjs/core/mixins/OxyServices.utility.js.map +1 -1
  14. package/lib/commonjs/index.js +15 -0
  15. package/lib/commonjs/index.js.map +1 -1
  16. package/lib/commonjs/ui/components/ProfileCard.js +5 -1
  17. package/lib/commonjs/ui/components/ProfileCard.js.map +1 -1
  18. package/lib/commonjs/ui/hooks/index.js +13 -0
  19. package/lib/commonjs/ui/hooks/index.js.map +1 -1
  20. package/lib/commonjs/ui/hooks/useFileDownloadUrl.js +103 -0
  21. package/lib/commonjs/ui/hooks/useFileDownloadUrl.js.map +1 -0
  22. package/lib/commonjs/ui/screens/AccountOverviewScreen.js +1 -1
  23. package/lib/commonjs/ui/screens/AccountOverviewScreen.js.map +1 -1
  24. package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js +0 -3
  25. package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js.map +1 -1
  26. package/lib/commonjs/utils/errorUtils.js +35 -15
  27. package/lib/commonjs/utils/errorUtils.js.map +1 -1
  28. package/lib/module/core/HttpService.js +476 -0
  29. package/lib/module/core/HttpService.js.map +1 -0
  30. package/lib/module/core/OxyServices.base.js +29 -26
  31. package/lib/module/core/OxyServices.base.js.map +1 -1
  32. package/lib/module/core/OxyServices.js +3 -4
  33. package/lib/module/core/OxyServices.js.map +1 -1
  34. package/lib/module/core/mixins/OxyServices.assets.js +3 -9
  35. package/lib/module/core/mixins/OxyServices.assets.js.map +1 -1
  36. package/lib/module/core/mixins/OxyServices.user.js +9 -5
  37. package/lib/module/core/mixins/OxyServices.user.js.map +1 -1
  38. package/lib/module/core/mixins/OxyServices.utility.js +1 -0
  39. package/lib/module/core/mixins/OxyServices.utility.js.map +1 -1
  40. package/lib/module/index.js +1 -0
  41. package/lib/module/index.js.map +1 -1
  42. package/lib/module/ui/components/ProfileCard.js +5 -1
  43. package/lib/module/ui/components/ProfileCard.js.map +1 -1
  44. package/lib/module/ui/hooks/index.js +1 -0
  45. package/lib/module/ui/hooks/index.js.map +1 -1
  46. package/lib/module/ui/hooks/useFileDownloadUrl.js +97 -0
  47. package/lib/module/ui/hooks/useFileDownloadUrl.js.map +1 -0
  48. package/lib/module/ui/screens/AccountOverviewScreen.js +1 -1
  49. package/lib/module/ui/screens/AccountOverviewScreen.js.map +1 -1
  50. package/lib/module/ui/screens/karma/KarmaFAQScreen.js +1 -4
  51. package/lib/module/ui/screens/karma/KarmaFAQScreen.js.map +1 -1
  52. package/lib/module/utils/errorUtils.js +36 -15
  53. package/lib/module/utils/errorUtils.js.map +1 -1
  54. package/lib/typescript/core/HttpService.d.ts +111 -0
  55. package/lib/typescript/core/HttpService.d.ts.map +1 -0
  56. package/lib/typescript/core/OxyServices.base.d.ts +6 -8
  57. package/lib/typescript/core/OxyServices.base.d.ts.map +1 -1
  58. package/lib/typescript/core/OxyServices.d.ts +3 -4
  59. package/lib/typescript/core/OxyServices.d.ts.map +1 -1
  60. package/lib/typescript/core/mixins/OxyServices.analytics.d.ts +4 -5
  61. package/lib/typescript/core/mixins/OxyServices.analytics.d.ts.map +1 -1
  62. package/lib/typescript/core/mixins/OxyServices.assets.d.ts +4 -9
  63. package/lib/typescript/core/mixins/OxyServices.assets.d.ts.map +1 -1
  64. package/lib/typescript/core/mixins/OxyServices.auth.d.ts +4 -5
  65. package/lib/typescript/core/mixins/OxyServices.auth.d.ts.map +1 -1
  66. package/lib/typescript/core/mixins/OxyServices.developer.d.ts +4 -5
  67. package/lib/typescript/core/mixins/OxyServices.developer.d.ts.map +1 -1
  68. package/lib/typescript/core/mixins/OxyServices.devices.d.ts +4 -5
  69. package/lib/typescript/core/mixins/OxyServices.devices.d.ts.map +1 -1
  70. package/lib/typescript/core/mixins/OxyServices.karma.d.ts +4 -5
  71. package/lib/typescript/core/mixins/OxyServices.karma.d.ts.map +1 -1
  72. package/lib/typescript/core/mixins/OxyServices.language.d.ts +4 -5
  73. package/lib/typescript/core/mixins/OxyServices.language.d.ts.map +1 -1
  74. package/lib/typescript/core/mixins/OxyServices.location.d.ts +4 -5
  75. package/lib/typescript/core/mixins/OxyServices.location.d.ts.map +1 -1
  76. package/lib/typescript/core/mixins/OxyServices.payment.d.ts +4 -5
  77. package/lib/typescript/core/mixins/OxyServices.payment.d.ts.map +1 -1
  78. package/lib/typescript/core/mixins/OxyServices.privacy.d.ts +4 -5
  79. package/lib/typescript/core/mixins/OxyServices.privacy.d.ts.map +1 -1
  80. package/lib/typescript/core/mixins/OxyServices.totp.d.ts +4 -5
  81. package/lib/typescript/core/mixins/OxyServices.totp.d.ts.map +1 -1
  82. package/lib/typescript/core/mixins/OxyServices.user.d.ts +4 -5
  83. package/lib/typescript/core/mixins/OxyServices.user.d.ts.map +1 -1
  84. package/lib/typescript/core/mixins/OxyServices.utility.d.ts +4 -5
  85. package/lib/typescript/core/mixins/OxyServices.utility.d.ts.map +1 -1
  86. package/lib/typescript/core/mixins/index.d.ts +52 -66
  87. package/lib/typescript/core/mixins/index.d.ts.map +1 -1
  88. package/lib/typescript/index.d.ts +1 -0
  89. package/lib/typescript/index.d.ts.map +1 -1
  90. package/lib/typescript/ui/components/ProfileCard.d.ts.map +1 -1
  91. package/lib/typescript/ui/hooks/index.d.ts +1 -0
  92. package/lib/typescript/ui/hooks/index.d.ts.map +1 -1
  93. package/lib/typescript/ui/hooks/useFileDownloadUrl.d.ts +19 -0
  94. package/lib/typescript/ui/hooks/useFileDownloadUrl.d.ts.map +1 -0
  95. package/lib/typescript/ui/screens/AccountOverviewScreen.d.ts.map +1 -1
  96. package/lib/typescript/ui/screens/karma/KarmaFAQScreen.d.ts.map +1 -1
  97. package/lib/typescript/utils/errorUtils.d.ts.map +1 -1
  98. package/package.json +1 -1
  99. package/src/core/HttpService.ts +523 -0
  100. package/src/core/OxyServices.base.ts +36 -34
  101. package/src/core/OxyServices.ts +3 -4
  102. package/src/core/mixins/OxyServices.assets.ts +2 -8
  103. package/src/core/mixins/OxyServices.user.ts +7 -6
  104. package/src/core/mixins/OxyServices.utility.ts +1 -0
  105. package/src/index.ts +1 -0
  106. package/src/ui/components/ProfileCard.tsx +4 -1
  107. package/src/ui/hooks/index.ts +2 -1
  108. package/src/ui/hooks/useFileDownloadUrl.ts +118 -0
  109. package/src/ui/screens/AccountOverviewScreen.tsx +4 -1
  110. package/src/ui/screens/karma/KarmaFAQScreen.tsx +1 -5
  111. package/src/utils/errorUtils.ts +65 -19
  112. package/lib/commonjs/core/HttpClient.js +0 -317
  113. package/lib/commonjs/core/HttpClient.js.map +0 -1
  114. package/lib/commonjs/core/RequestManager.js +0 -170
  115. package/lib/commonjs/core/RequestManager.js.map +0 -1
  116. package/lib/module/core/HttpClient.js +0 -311
  117. package/lib/module/core/HttpClient.js.map +0 -1
  118. package/lib/module/core/RequestManager.js +0 -165
  119. package/lib/module/core/RequestManager.js.map +0 -1
  120. package/lib/typescript/core/HttpClient.d.ts +0 -110
  121. package/lib/typescript/core/HttpClient.d.ts.map +0 -1
  122. package/lib/typescript/core/RequestManager.d.ts +0 -63
  123. package/lib/typescript/core/RequestManager.d.ts.map +0 -1
  124. package/src/core/HttpClient.ts +0 -346
  125. package/src/core/RequestManager.ts +0 -205
@@ -34,13 +34,12 @@ export declare function OxyServicesLanguageMixin<T extends typeof OxyServicesBas
34
34
  * @returns Native language name or null if not set
35
35
  */
36
36
  getCurrentNativeLanguageName(storageKeyPrefix?: string): Promise<string | null>;
37
- httpClient: import("../HttpClient").HttpClient;
38
- requestManager: import("../RequestManager").RequestManager;
37
+ httpService: import("../HttpService").HttpService;
39
38
  cloudURL: string;
40
39
  config: import("../OxyServices.base").OxyConfig;
41
- makeRequest<T_1>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../RequestManager").RequestOptions): Promise<T_1>;
40
+ makeRequest<T_1>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../HttpService").RequestOptions): Promise<T_1>;
42
41
  getBaseURL(): string;
43
- getClient(): import("../HttpClient").HttpClient;
42
+ getClient(): import("../HttpService").HttpService;
44
43
  getMetrics(): {
45
44
  totalRequests: number;
46
45
  successfulRequests: number;
@@ -70,7 +69,7 @@ export declare function OxyServicesLanguageMixin<T extends typeof OxyServicesBas
70
69
  authTimeoutMs?: number;
71
70
  }): Promise<T_1>;
72
71
  validate(): Promise<boolean>;
73
- handleError(error: any): Error;
72
+ handleError(error: unknown): Error;
74
73
  healthCheck(): Promise<{
75
74
  status: string;
76
75
  users?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"OxyServices.language.d.ts","sourceRoot":"","sources":["../../../../src/core/mixins/OxyServices.language.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,wBAAgB,wBAAwB,CAAC,CAAC,SAAS,OAAO,eAAe,EAAE,IAAI,EAAE,CAAC;kBAEzD,GAAG,EAAE;QAG1B;;WAEG;sBACwB,OAAO,CAAC;YACjC,OAAO,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,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O,CAAC,IAAI,CAAC,CAAC;SAC5C,CAAC;QAuCF;;;;WAIG;8CACwC,MAAM,GAAmB,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;QA8B1F;;;;WAIG;sDACgD,MAAM,GAAmB,OAAO,CAAC,gBAAgB,GAAG,IAAI,CAAC;QAK5G;;;;WAIG;kDAC4C,MAAM,GAAmB,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;QAM9F;;;;WAIG;wDACkD,MAAM,GAAmB,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAQs2B,CAAC;sBAA0B,CAAC;yBAA6B,CAAC;;;;;;iBAA+5F,CAAC;qBAAwB,CAAC;;;;;MAFh8H"}
@@ -17,13 +17,12 @@ export declare function OxyServicesLocationMixin<T extends typeof OxyServicesBas
17
17
  * @returns Array of nearby users
18
18
  */
19
19
  getNearbyUsers(radius?: number): Promise<any[]>;
20
- httpClient: import("../HttpClient").HttpClient;
21
- requestManager: import("../RequestManager").RequestManager;
20
+ httpService: import("../HttpService").HttpService;
22
21
  cloudURL: string;
23
22
  config: import("../OxyServices.base").OxyConfig;
24
- makeRequest<T_1>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../RequestManager").RequestOptions): Promise<T_1>;
23
+ makeRequest<T_1>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../HttpService").RequestOptions): Promise<T_1>;
25
24
  getBaseURL(): string;
26
- getClient(): import("../HttpClient").HttpClient;
25
+ getClient(): import("../HttpService").HttpService;
27
26
  getMetrics(): {
28
27
  totalRequests: number;
29
28
  successfulRequests: number;
@@ -53,7 +52,7 @@ export declare function OxyServicesLocationMixin<T extends typeof OxyServicesBas
53
52
  authTimeoutMs?: number;
54
53
  }): Promise<T_1>;
55
54
  validate(): Promise<boolean>;
56
- handleError(error: any): Error;
55
+ handleError(error: unknown): Error;
57
56
  healthCheck(): Promise<{
58
57
  status: string;
59
58
  users?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"OxyServices.location.d.ts","sourceRoot":"","sources":["../../../../src/core/mixins/OxyServices.location.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,wBAAgB,wBAAwB,CAAC,CAAC,SAAS,OAAO,eAAe,EAAE,IAAI,EAAE,CAAC;kBAEzD,GAAG,EAAE;QAI1B;;;;;WAKG;iCAC4B,MAAM,aAAa,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC;QAWvE;;;;WAIG;gCAC2B,MAAM,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAaqqJ,CAAC;sBAA0B,CAAC;yBAA6B,CAAC;;;;;;iBAAiwF,CAAC;qBAAwB,CAAC;;;;;MAFljP"}
1
+ {"version":3,"file":"OxyServices.location.d.ts","sourceRoot":"","sources":["../../../../src/core/mixins/OxyServices.location.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,wBAAgB,wBAAwB,CAAC,CAAC,SAAS,OAAO,eAAe,EAAE,IAAI,EAAE,CAAC;kBAEzD,GAAG,EAAE;QAI1B;;;;;WAKG;iCAC4B,MAAM,aAAa,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC;QAWvE;;;;WAIG;gCAC2B,MAAM,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAaokJ,CAAC;sBAA0B,CAAC;yBAA6B,CAAC;;;;;;iBAA+5F,CAAC;qBAAwB,CAAC;;;;;MAF/mP"}
@@ -23,13 +23,12 @@ export declare function OxyServicesPaymentMixin<T extends typeof OxyServicesBase
23
23
  * @returns Array of user payments
24
24
  */
25
25
  getUserPayments(): Promise<any[]>;
26
- httpClient: import("../HttpClient").HttpClient;
27
- requestManager: import("../RequestManager").RequestManager;
26
+ httpService: import("../HttpService").HttpService;
28
27
  cloudURL: string;
29
28
  config: import("../OxyServices.base").OxyConfig;
30
- makeRequest<T_1>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../RequestManager").RequestOptions): Promise<T_1>;
29
+ makeRequest<T_1>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../HttpService").RequestOptions): Promise<T_1>;
31
30
  getBaseURL(): string;
32
- getClient(): import("../HttpClient").HttpClient;
31
+ getClient(): import("../HttpService").HttpService;
33
32
  getMetrics(): {
34
33
  totalRequests: number;
35
34
  successfulRequests: number;
@@ -59,7 +58,7 @@ export declare function OxyServicesPaymentMixin<T extends typeof OxyServicesBase
59
58
  authTimeoutMs?: number;
60
59
  }): Promise<T_1>;
61
60
  validate(): Promise<boolean>;
62
- handleError(error: any): Error;
61
+ handleError(error: unknown): Error;
63
62
  healthCheck(): Promise<{
64
63
  status: string;
65
64
  users?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"OxyServices.payment.d.ts","sourceRoot":"","sources":["../../../../src/core/mixins/OxyServices.payment.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAG3D,wBAAgB,uBAAuB,CAAC,CAAC,SAAS,OAAO,eAAe,EAAE,IAAI,EAAE,CAAC;kBAExD,GAAG,EAAE;QAI1B;;;;WAIG;4BACuB,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC;QAQ5C;;;;WAIG;8BACyB,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC;QAWjD;;;WAGG;2BACsB,OAAO,CAAC,GAAG,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAY66I,CAAC;sBAA0B,CAAC;yBAA6B,CAAC;;;;;;iBAAiwF,CAAC;qBAAwB,CAAC;;;;;MAF5yO"}
1
+ {"version":3,"file":"OxyServices.payment.d.ts","sourceRoot":"","sources":["../../../../src/core/mixins/OxyServices.payment.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAG3D,wBAAgB,uBAAuB,CAAC,CAAC,SAAS,OAAO,eAAe,EAAE,IAAI,EAAE,CAAC;kBAExD,GAAG,EAAE;QAI1B;;;;WAIG;4BACuB,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC;QAQ5C;;;;WAIG;8BACyB,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC;QAWjD;;;WAGG;2BACsB,OAAO,CAAC,GAAG,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAY40I,CAAC;sBAA0B,CAAC;yBAA6B,CAAC;;;;;;iBAA+5F,CAAC;qBAAwB,CAAC;;;;;MAFz2O"}
@@ -75,13 +75,12 @@ export declare function OxyServicesPrivacyMixin<T extends typeof OxyServicesBase
75
75
  * @returns True if the user is restricted, false otherwise
76
76
  */
77
77
  isUserRestricted(userId: string): Promise<boolean>;
78
- httpClient: import("../HttpClient").HttpClient;
79
- requestManager: import("../RequestManager").RequestManager;
78
+ httpService: import("../HttpService").HttpService;
80
79
  cloudURL: string;
81
80
  config: import("../OxyServices.base").OxyConfig;
82
- makeRequest<T_1>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../RequestManager").RequestOptions): Promise<T_1>;
81
+ makeRequest<T_1>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../HttpService").RequestOptions): Promise<T_1>;
83
82
  getBaseURL(): string;
84
- getClient(): import("../HttpClient").HttpClient;
83
+ getClient(): import("../HttpService").HttpService;
85
84
  getMetrics(): {
86
85
  totalRequests: number;
87
86
  successfulRequests: number;
@@ -111,7 +110,7 @@ export declare function OxyServicesPrivacyMixin<T extends typeof OxyServicesBase
111
110
  authTimeoutMs?: number;
112
111
  }): Promise<T_1>;
113
112
  validate(): Promise<boolean>;
114
- handleError(error: any): Error;
113
+ handleError(error: unknown): Error;
115
114
  healthCheck(): Promise<{
116
115
  status: string;
117
116
  users?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"OxyServices.privacy.d.ts","sourceRoot":"","sources":["../../../../src/core/mixins/OxyServices.privacy.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC3E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,wBAAgB,uBAAuB,CAAC,CAAC,SAAS,OAAO,eAAe,EAAE,IAAI,EAAE,CAAC;kBAExD,GAAG,EAAE;QAG1B;;WAEG;mCAC+B,MAAM,GAAG;YAAE,GAAG,EAAE,MAAM,CAAC;YAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;YAAC,MAAM,CAAC,EAAE,MAAM,CAAA;SAAE,GAAG,MAAM;QAIvG;;WAEG;iCACiC,WAAW,GAAG,cAAc,UACtD,MAAM,eACD,MAAM,OAAO,CAAC,GAAC,EAAE,CAAC,cACnB,CAAC,IAAI,EAAE,GAAC,KAAK,MAAM,GAAG;YAAE,GAAG,EAAE,MAAM,CAAC;YAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;YAAC,MAAM,CAAC,EAAE,MAAM,CAAA;SAAE,GACpF,OAAO,CAAC,OAAO,CAAC;QAuBnB;;;WAGG;2BACsB,OAAO,CAAC,WAAW,EAAE,CAAC;QAW/C;;;;WAIG;0BACqB,MAAM,GAAG,OAAO,CAAC;YAAE,OAAO,EAAE,MAAM,CAAA;SAAE,CAAC;QAa7D;;;;WAIG;4BACuB,MAAM,GAAG,OAAO,CAAC;YAAE,OAAO,EAAE,MAAM,CAAA;SAAE,CAAC;QAa/D;;;;WAIG;8BACyB,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;QAYrD;;;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AAC;QAW/C;;;;WAIG;0BACqB,MAAM,GAAG,OAAO,CAAC;YAAE,OAAO,EAAE,MAAM,CAAA;SAAE,CAAC;QAa7D;;;;WAIG;4BACuB,MAAM,GAAG,OAAO,CAAC;YAAE,OAAO,EAAE,MAAM,CAAA;SAAE,CAAC;QAa/D;;;;WAIG;8BACyB,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;QAYrD;;;WAGG;8BACyB,OAAO,CAAC,cAAc,EAAE,CAAC;QAWrD;;;;WAIG;6BACwB,MAAM,GAAG,OAAO,CAAC;YAAE,OAAO,EAAE,MAAM,CAAA;SAAE,CAAC;QAahE;;;;WAIG;+BAC0B,MAAM,GAAG,OAAO,CAAC;YAAE,OAAO,EAAE,MAAM,CAAA;SAAE,CAAC;QAalE;;;;WAIG;iCAC4B,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAUwY,CAAC;sBAA0B,CAAC;yBAA6B,CAAC;;;;;;iBAA+5F,CAAC;qBAAwB,CAAC;;;;;MAFt7G"}
@@ -18,13 +18,12 @@ export declare function OxyServicesTotpMixin<T extends typeof OxyServicesBase>(B
18
18
  disableTotp(sessionId: string, code: string): Promise<{
19
19
  disabled: boolean;
20
20
  }>;
21
- httpClient: import("../HttpClient").HttpClient;
22
- requestManager: import("../RequestManager").RequestManager;
21
+ httpService: import("../HttpService").HttpService;
23
22
  cloudURL: string;
24
23
  config: import("../OxyServices.base").OxyConfig;
25
- makeRequest<T_1>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../RequestManager").RequestOptions): Promise<T_1>;
24
+ makeRequest<T_1>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../HttpService").RequestOptions): Promise<T_1>;
26
25
  getBaseURL(): string;
27
- getClient(): import("../HttpClient").HttpClient;
26
+ getClient(): import("../HttpService").HttpService;
28
27
  getMetrics(): {
29
28
  totalRequests: number;
30
29
  successfulRequests: number;
@@ -54,7 +53,7 @@ export declare function OxyServicesTotpMixin<T extends typeof OxyServicesBase>(B
54
53
  authTimeoutMs?: number;
55
54
  }): Promise<T_1>;
56
55
  validate(): Promise<boolean>;
57
- handleError(error: any): Error;
56
+ handleError(error: unknown): Error;
58
57
  healthCheck(): Promise<{
59
58
  status: string;
60
59
  users?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"OxyServices.totp.d.ts","sourceRoot":"","sources":["../../../../src/core/mixins/OxyServices.totp.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,wBAAgB,oBAAoB,CAAC,CAAC,SAAS,OAAO,eAAe,EAAE,IAAI,EAAE,CAAC;kBAErD,GAAG,EAAE;uCAGW,MAAM,GAAG,OAAO,CAAC;YAAE,MAAM,EAAE,MAAM,CAAC;YAAC,UAAU,EAAE,MAAM,CAAC;YAAC,MAAM,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,MAAM,CAAA;SAAE,CAAC;wCAQtF,MAAM,QAAQ,MAAM,GAAG,OAAO,CAAC;YAAE,OAAO,EAAE,OAAO,CAAC;YAAC,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;YAAC,WAAW,CAAC,EAAE,MAAM,CAAA;SAAE,CAAC;+BAQ3G,MAAM,QAAQ,MAAM,GAAG,OAAO,CAAC;YAAE,QAAQ,EAAE,OAAO,CAAA;SAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAUupJ,CAAC;sBAA0B,CAAC;yBAA6B,CAAC;;;;;;iBAAiwF,CAAC;qBAAwB,CAAC;;;;;MAFjkP"}
1
+ {"version":3,"file":"OxyServices.totp.d.ts","sourceRoot":"","sources":["../../../../src/core/mixins/OxyServices.totp.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,wBAAgB,oBAAoB,CAAC,CAAC,SAAS,OAAO,eAAe,EAAE,IAAI,EAAE,CAAC;kBAErD,GAAG,EAAE;uCAGW,MAAM,GAAG,OAAO,CAAC;YAAE,MAAM,EAAE,MAAM,CAAC;YAAC,UAAU,EAAE,MAAM,CAAC;YAAC,MAAM,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,MAAM,CAAA;SAAE,CAAC;wCAQtF,MAAM,QAAQ,MAAM,GAAG,OAAO,CAAC;YAAE,OAAO,EAAE,OAAO,CAAC;YAAC,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;YAAC,WAAW,CAAC,EAAE,MAAM,CAAA;SAAE,CAAC;+BAQ3G,MAAM,QAAQ,MAAM,GAAG,OAAO,CAAC;YAAE,QAAQ,EAAE,OAAO,CAAA;SAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAUsjJ,CAAC;sBAA0B,CAAC;yBAA6B,CAAC;;;;;;iBAA+5F,CAAC;qBAAwB,CAAC;;;;;MAF9nP"}
@@ -138,13 +138,12 @@ export declare function OxyServicesUserMixin<T extends typeof OxyServicesBase>(B
138
138
  * Delete notification
139
139
  */
140
140
  deleteNotification(notificationId: string): Promise<void>;
141
- httpClient: import("../HttpClient").HttpClient;
142
- requestManager: import("../RequestManager").RequestManager;
141
+ httpService: import("../HttpService").HttpService;
143
142
  cloudURL: string;
144
143
  config: import("../OxyServices.base").OxyConfig;
145
- makeRequest<T_1>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../RequestManager").RequestOptions): Promise<T_1>;
144
+ makeRequest<T_1>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../HttpService").RequestOptions): Promise<T_1>;
146
145
  getBaseURL(): string;
147
- getClient(): import("../HttpClient").HttpClient;
146
+ getClient(): import("../HttpService").HttpService;
148
147
  getMetrics(): {
149
148
  totalRequests: number;
150
149
  successfulRequests: number;
@@ -174,7 +173,7 @@ export declare function OxyServicesUserMixin<T extends typeof OxyServicesBase>(B
174
173
  authTimeoutMs?: number;
175
174
  }): Promise<T_1>;
176
175
  validate(): Promise<boolean>;
177
- handleError(error: any): Error;
176
+ handleError(error: unknown): Error;
178
177
  healthCheck(): Promise<{
179
178
  status: string;
180
179
  users?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"OxyServices.user.d.ts","sourceRoot":"","sources":["../../../../src/core/mixins/OxyServices.user.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,YAAY,EAAE,sBAAsB,EAAkB,MAAM,yBAAyB,CAAC;AAC1G,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAA4C,KAAK,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAEvG,wBAAgB,oBAAoB,CAAC,CAAC,SAAS,OAAO,eAAe,EAAE,IAAI,EAAE,CAAC;kBAErD,GAAG,EAAE;QAG1B;;WAEG;uCACkC,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;QAW3D;;WAEG;8BACyB,MAAM,eAAe,gBAAgB,GAAG,OAAO,CAAC,sBAAsB,CAAC;QA0DnG;;WAEG;qCACgC,OAAO,CAAC,KAAK,CAAC;YAC/C,EAAE,EAAE,MAAM,CAAC;YACX,QAAQ,EAAE,MAAM,CAAC;YACjB,IAAI,CAAC,EAAE;gBAAE,KAAK,CAAC,EAAE,MAAM,CAAC;gBAAC,IAAI,CAAC,EAAE,MAAM,CAAC;gBAAC,IAAI,CAAC,EAAE,MAAM,CAAA;aAAE,CAAC;YACxD,WAAW,CAAC,EAAE,MAAM,CAAC;YACrB,MAAM,CAAC,EAAE;gBAAE,SAAS,EAAE,MAAM,CAAC;gBAAC,SAAS,EAAE,MAAM,CAAA;aAAE,CAAC;YAClD,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;SACpB,CAAC,CAAC;QAMH;;WAEG;4BACuB,MAAM,GAAG,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O,EAAE,MAAM,CAAA;SAAE,CAAC;QAQhF;;WAEG;6BACwB,MAAM,GAAG,OAAO,CAAC;YAAE,OAAO,EAAE,OAAO,CAAC;YAAC,OAAO,EAAE,MAAM,CAAA;SAAE,CAAC;QAQlF;;WAEG;gCAC2B,MAAM,GAAG,OAAO,CAAC;YAAE,WAAW,EAAE,OAAO,CAAA;SAAE,CAAC;QAWxE;;WAEG;iCAEO,MAAM,eACD,gBAAgB,GAC5B,OAAO,CAAC;YAAE,SAAS,EAAE,IAAI,EAAE,CAAC;YAAC,KAAK,EAAE,MAAM,CAAC;YAAC,OAAO,EAAE,OAAO,CAAA;SAAE,CAAC;QAiBlE;;WAEG;iCAEO,MAAM,eACD,gBAAgB,GAC5B,OAAO,CAAC;YAAE,SAAS,EAAE,IAAI,EAAE,CAAC;YAAC,KAAK,EAAE,MAAM,CAAC;YAAC,OAAO,EAAE,OAAO,CAAA;SAAE,CAAC;QAiBlE;;WAEG;4BACuB,OAAO,CAAC,YAAY,EAAE,CAAC;QAQjD;;WAEG;0BACqB,OAAO,CAAC,MAAM,CAAC;QAWvC;;WAEG;iCAC4B,OAAO,CAAC,YAAY,CAAC,GAAG,OAAO,CAAC,YAAY,CAAC;QAQ5E;;WAEG;+CAC0C,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;QAQnE;;WAEG;sCACiC,OAAO,CAAC,IAAI,CAAC;QAQjD;;WAEG;2CACsC,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAtMsB,CAAC;sBAChF,CAAV;yBACW,CAAC;;;;;;iBAkGgJ,CAAC;qBAC9I,CAAC;;;;;MAyGf"}
@@ -46,13 +46,12 @@ export declare function OxyServicesUtilityMixin<T extends typeof OxyServicesBase
46
46
  loadUser?: boolean;
47
47
  session?: boolean;
48
48
  }): (req: any, res: any, next: any) => any;
49
- httpClient: import("../HttpClient").HttpClient;
50
- requestManager: import("../RequestManager").RequestManager;
49
+ httpService: import("../HttpService").HttpService;
51
50
  cloudURL: string;
52
51
  config: import("../OxyServices.base").OxyConfig;
53
- makeRequest<T_1>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../RequestManager").RequestOptions): Promise<T_1>;
52
+ makeRequest<T_1>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../HttpService").RequestOptions): Promise<T_1>;
54
53
  getBaseURL(): string;
55
- getClient(): import("../HttpClient").HttpClient;
54
+ getClient(): import("../HttpService").HttpService;
56
55
  getMetrics(): {
57
56
  totalRequests: number;
58
57
  successfulRequests: number;
@@ -82,7 +81,7 @@ export declare function OxyServicesUtilityMixin<T extends typeof OxyServicesBase
82
81
  authTimeoutMs?: number;
83
82
  }): Promise<T_1>;
84
83
  validate(): Promise<boolean>;
85
- handleError(error: any): Error;
84
+ handleError(error: unknown): Error;
86
85
  healthCheck(): Promise<{
87
86
  status: string;
88
87
  users?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"OxyServices.utility.d.ts","sourceRoot":"","sources":["../../../../src/core/mixins/OxyServices.utility.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,QAAQ,EAAQ,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAW3D,wBAAgB,uBAAuB,CAAC,CAAC,SAAS,OAAO,eAAe,EAAE,IAAI,EAAE,CAAC;kBAExD,GAAG,EAAE;QAG1B;;WAEG;+BAC0B,MAAM,GAAG,OAAO,CAAC;YAC5C,GAAG,EAAE,MAAM,CAAC;YACZ,KAAK,EAAE,MAAM,CAAC;YACd,WAAW,EAAE,MAAM,CAAC;YACpB,KAAK,CAAC,EAAE,MAAM,CAAC;SAChB,CAAC;QAgBF;;;;;;;;;;;;;;;;;;;;;;;;;;;;WA4BG;uBACW;YACZ,KAAK,CAAC,EAAE,OAAO,CAAC;YAChB,OAAO,CAAC,EAAE,CAAC,K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@@ export declare function composeOxyServices(): {
27
27
  loadUser?: boolean;
28
28
  session?: boolean;
29
29
  }): (req: any, res: any, next: any) => any;
30
- httpClient: import("../HttpClient").HttpClient;
31
- requestManager: import("../RequestManager").RequestManager;
30
+ httpService: import("../HttpService").HttpService;
32
31
  cloudURL: string;
33
32
  config: import("../OxyServices.base").OxyConfig;
34
- makeRequest<T>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../RequestManager").RequestOptions): Promise<T>;
33
+ makeRequest<T>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../HttpService").RequestOptions): Promise<T>;
35
34
  getBaseURL(): string;
36
- getClient(): import("../HttpClient").HttpClient;
35
+ getClient(): import("../HttpService").HttpService;
37
36
  getMetrics(): {
38
37
  totalRequests: number;
39
38
  successfulRequests: number;
@@ -63,7 +62,7 @@ export declare function composeOxyServices(): {
63
62
  authTimeoutMs?: number;
64
63
  }): Promise<T>;
65
64
  validate(): Promise<boolean>;
66
- handleError(error: any): Error;
65
+ handleError(error: unknown): Error;
67
66
  healthCheck(): Promise<{
68
67
  status: string;
69
68
  users?: number;
@@ -80,13 +79,12 @@ export declare function composeOxyServices(): {
80
79
  getDeviceSessions(sessionId: string): Promise<any[]>;
81
80
  logoutAllDeviceSessions(sessionId: string, deviceId?: string, excludeCurrent?: boolean): Promise<any>;
82
81
  updateDeviceName(sessionId: string, deviceName: string): Promise<any>;
83
- httpClient: import("../HttpClient").HttpClient;
84
- requestManager: import("../RequestManager").RequestManager;
82
+ httpService: import("../HttpService").HttpService;
85
83
  cloudURL: string;
86
84
  config: import("../OxyServices.base").OxyConfig;
87
- makeRequest<T>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../RequestManager").RequestOptions): Promise<T>;
85
+ makeRequest<T>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../HttpService").RequestOptions): Promise<T>;
88
86
  getBaseURL(): string;
89
- getClient(): import("../HttpClient").HttpClient;
87
+ getClient(): import("../HttpService").HttpService;
90
88
  getMetrics(): {
91
89
  totalRequests: number;
92
90
  successfulRequests: number;
@@ -116,7 +114,7 @@ export declare function composeOxyServices(): {
116
114
  authTimeoutMs?: number;
117
115
  }): Promise<T>;
118
116
  validate(): Promise<boolean>;
119
- handleError(error: any): Error;
117
+ handleError(error: unknown): Error;
120
118
  healthCheck(): Promise<{
121
119
  status: string;
122
120
  users?: number;
@@ -129,13 +127,12 @@ export declare function composeOxyServices(): {
129
127
  new (...args: any[]): {
130
128
  trackEvent(eventName: string, properties?: Record<string, any>): Promise<void>;
131
129
  getAnalytics(startDate?: string, endDate?: string): Promise<any>;
132
- httpClient: import("../HttpClient").HttpClient;
133
- requestManager: import("../RequestManager").RequestManager;
130
+ httpService: import("../HttpService").HttpService;
134
131
  cloudURL: string;
135
132
  config: import("../OxyServices.base").OxyConfig;
136
- makeRequest<T>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../RequestManager").RequestOptions): Promise<T>;
133
+ makeRequest<T>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../HttpService").RequestOptions): Promise<T>;
137
134
  getBaseURL(): string;
138
- getClient(): import("../HttpClient").HttpClient;
135
+ getClient(): import("../HttpService").HttpService;
139
136
  getMetrics(): {
140
137
  totalRequests: number;
141
138
  successfulRequests: number;
@@ -165,7 +162,7 @@ export declare function composeOxyServices(): {
165
162
  authTimeoutMs?: number;
166
163
  }): Promise<T>;
167
164
  validate(): Promise<boolean>;
168
- handleError(error: any): Error;
165
+ handleError(error: unknown): Error;
169
166
  healthCheck(): Promise<{
170
167
  status: string;
171
168
  users?: number;
@@ -178,13 +175,12 @@ export declare function composeOxyServices(): {
178
175
  new (...args: any[]): {
179
176
  updateLocation(latitude: number, longitude: number): Promise<any>;
180
177
  getNearbyUsers(radius?: number): Promise<any[]>;
181
- httpClient: import("../HttpClient").HttpClient;
182
- requestManager: import("../RequestManager").RequestManager;
178
+ httpService: import("../HttpService").HttpService;
183
179
  cloudURL: string;
184
180
  config: import("../OxyServices.base").OxyConfig;
185
- makeRequest<T>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../RequestManager").RequestOptions): Promise<T>;
181
+ makeRequest<T>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../HttpService").RequestOptions): Promise<T>;
186
182
  getBaseURL(): string;
187
- getClient(): import("../HttpClient").HttpClient;
183
+ getClient(): import("../HttpService").HttpService;
188
184
  getMetrics(): {
189
185
  totalRequests: number;
190
186
  successfulRequests: number;
@@ -214,7 +210,7 @@ export declare function composeOxyServices(): {
214
210
  authTimeoutMs?: number;
215
211
  }): Promise<T>;
216
212
  validate(): Promise<boolean>;
217
- handleError(error: any): Error;
213
+ handleError(error: unknown): Error;
218
214
  healthCheck(): Promise<{
219
215
  status: string;
220
216
  users?: number;
@@ -243,13 +239,12 @@ export declare function composeOxyServices(): {
243
239
  }): Promise<any>;
244
240
  regenerateDeveloperAppSecret(appId: string): Promise<any>;
245
241
  deleteDeveloperApp(appId: string): Promise<any>;
246
- httpClient: import("../HttpClient").HttpClient;
247
- requestManager: import("../RequestManager").RequestManager;
242
+ httpService: import("../HttpService").HttpService;
248
243
  cloudURL: string;
249
244
  config: import("../OxyServices.base").OxyConfig;
250
- makeRequest<T>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../RequestManager").RequestOptions): Promise<T>;
245
+ makeRequest<T>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../HttpService").RequestOptions): Promise<T>;
251
246
  getBaseURL(): string;
252
- getClient(): import("../HttpClient").HttpClient;
247
+ getClient(): import("../HttpService").HttpService;
253
248
  getMetrics(): {
254
249
  totalRequests: number;
255
250
  successfulRequests: number;
@@ -279,7 +274,7 @@ export declare function composeOxyServices(): {
279
274
  authTimeoutMs?: number;
280
275
  }): Promise<T>;
281
276
  validate(): Promise<boolean>;
282
- handleError(error: any): Error;
277
+ handleError(error: unknown): Error;
283
278
  healthCheck(): Promise<{
284
279
  status: string;
285
280
  users?: number;
@@ -293,7 +288,6 @@ export declare function composeOxyServices(): {
293
288
  deleteFile(fileId: string): Promise<any>;
294
289
  getFileDownloadUrl(fileId: string, variant?: string, expiresIn?: number): string;
295
290
  getFileDownloadUrlAsync(fileId: string, variant?: string, expiresIn?: number): Promise<string>;
296
- getFileStreamUrl(fileId: string): string;
297
291
  listUserFiles(limit?: number, offset?: number): Promise<{
298
292
  files: any[];
299
293
  total: number;
@@ -323,13 +317,12 @@ export declare function composeOxyServices(): {
323
317
  fetchAssetDownloadUrl(fileId: string, variant?: string, cacheTTL?: number, expiresIn?: number): Promise<string | null>;
324
318
  fetchAssetContent(url: string, type: "text"): Promise<string>;
325
319
  fetchAssetContent(url: string, type: "blob"): Promise<Blob>;
326
- httpClient: import("../HttpClient").HttpClient;
327
- requestManager: import("../RequestManager").RequestManager;
320
+ httpService: import("../HttpService").HttpService;
328
321
  cloudURL: string;
329
322
  config: import("../OxyServices.base").OxyConfig;
330
- makeRequest<T>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../RequestManager").RequestOptions): Promise<T>;
323
+ makeRequest<T>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../HttpService").RequestOptions): Promise<T>;
331
324
  getBaseURL(): string;
332
- getClient(): import("../HttpClient").HttpClient;
325
+ getClient(): import("../HttpService").HttpService;
333
326
  getMetrics(): {
334
327
  totalRequests: number;
335
328
  successfulRequests: number;
@@ -359,7 +352,7 @@ export declare function composeOxyServices(): {
359
352
  authTimeoutMs?: number;
360
353
  }): Promise<T>;
361
354
  validate(): Promise<boolean>;
362
- handleError(error: any): Error;
355
+ handleError(error: unknown): Error;
363
356
  healthCheck(): Promise<{
364
357
  status: string;
365
358
  users?: number;
@@ -376,13 +369,12 @@ export declare function composeOxyServices(): {
376
369
  getUserKarmaHistory(userId: string, limit?: number, offset?: number): Promise<any>;
377
370
  getKarmaLeaderboard(): Promise<any>;
378
371
  getKarmaRules(): Promise<any>;
379
- httpClient: import("../HttpClient").HttpClient;
380
- requestManager: import("../RequestManager").RequestManager;
372
+ httpService: import("../HttpService").HttpService;
381
373
  cloudURL: string;
382
374
  config: import("../OxyServices.base").OxyConfig;
383
- makeRequest<T>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../RequestManager").RequestOptions): Promise<T>;
375
+ makeRequest<T>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../HttpService").RequestOptions): Promise<T>;
384
376
  getBaseURL(): string;
385
- getClient(): import("../HttpClient").HttpClient;
377
+ getClient(): import("../HttpService").HttpService;
386
378
  getMetrics(): {
387
379
  totalRequests: number;
388
380
  successfulRequests: number;
@@ -412,7 +404,7 @@ export declare function composeOxyServices(): {
412
404
  authTimeoutMs?: number;
413
405
  }): Promise<T>;
414
406
  validate(): Promise<boolean>;
415
- handleError(error: any): Error;
407
+ handleError(error: unknown): Error;
416
408
  healthCheck(): Promise<{
417
409
  status: string;
418
410
  users?: number;
@@ -426,13 +418,12 @@ export declare function composeOxyServices(): {
426
418
  createPayment(data: any): Promise<any>;
427
419
  getPayment(paymentId: string): Promise<any>;
428
420
  getUserPayments(): Promise<any[]>;
429
- httpClient: import("../HttpClient").HttpClient;
430
- requestManager: import("../RequestManager").RequestManager;
421
+ httpService: import("../HttpService").HttpService;
431
422
  cloudURL: string;
432
423
  config: import("../OxyServices.base").OxyConfig;
433
- makeRequest<T>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../RequestManager").RequestOptions): Promise<T>;
424
+ makeRequest<T>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../HttpService").RequestOptions): Promise<T>;
434
425
  getBaseURL(): string;
435
- getClient(): import("../HttpClient").HttpClient;
426
+ getClient(): import("../HttpService").HttpService;
436
427
  getMetrics(): {
437
428
  totalRequests: number;
438
429
  successfulRequests: number;
@@ -462,7 +453,7 @@ export declare function composeOxyServices(): {
462
453
  authTimeoutMs?: number;
463
454
  }): Promise<T>;
464
455
  validate(): Promise<boolean>;
465
- handleError(error: any): Error;
456
+ handleError(error: unknown): Error;
466
457
  healthCheck(): Promise<{
467
458
  status: string;
468
459
  users?: number;
@@ -482,13 +473,12 @@ export declare function composeOxyServices(): {
482
473
  getCurrentLanguageMetadata(storageKeyPrefix?: string): Promise<import("..").LanguageMetadata | null>;
483
474
  getCurrentLanguageName(storageKeyPrefix?: string): Promise<string | null>;
484
475
  getCurrentNativeLanguageName(storageKeyPrefix?: string): Promise<string | null>;
485
- httpClient: import("../HttpClient").HttpClient;
486
- requestManager: import("../RequestManager").RequestManager;
476
+ httpService: import("../HttpService").HttpService;
487
477
  cloudURL: string;
488
478
  config: import("../OxyServices.base").OxyConfig;
489
- makeRequest<T>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../RequestManager").RequestOptions): Promise<T>;
479
+ makeRequest<T>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../HttpService").RequestOptions): Promise<T>;
490
480
  getBaseURL(): string;
491
- getClient(): import("../HttpClient").HttpClient;
481
+ getClient(): import("../HttpService").HttpService;
492
482
  getMetrics(): {
493
483
  totalRequests: number;
494
484
  successfulRequests: number;
@@ -518,7 +508,7 @@ export declare function composeOxyServices(): {
518
508
  authTimeoutMs?: number;
519
509
  }): Promise<T>;
520
510
  validate(): Promise<boolean>;
521
- handleError(error: any): Error;
511
+ handleError(error: unknown): Error;
522
512
  healthCheck(): Promise<{
523
513
  status: string;
524
514
  users?: number;
@@ -555,13 +545,12 @@ export declare function composeOxyServices(): {
555
545
  message: string;
556
546
  }>;
557
547
  isUserRestricted(userId: string): Promise<boolean>;
558
- httpClient: import("../HttpClient").HttpClient;
559
- requestManager: import("../RequestManager").RequestManager;
548
+ httpService: import("../HttpService").HttpService;
560
549
  cloudURL: string;
561
550
  config: import("../OxyServices.base").OxyConfig;
562
- makeRequest<T>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../RequestManager").RequestOptions): Promise<T>;
551
+ makeRequest<T>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../HttpService").RequestOptions): Promise<T>;
563
552
  getBaseURL(): string;
564
- getClient(): import("../HttpClient").HttpClient;
553
+ getClient(): import("../HttpService").HttpService;
565
554
  getMetrics(): {
566
555
  totalRequests: number;
567
556
  successfulRequests: number;
@@ -591,7 +580,7 @@ export declare function composeOxyServices(): {
591
580
  authTimeoutMs?: number;
592
581
  }): Promise<T>;
593
582
  validate(): Promise<boolean>;
594
- handleError(error: any): Error;
583
+ handleError(error: unknown): Error;
595
584
  healthCheck(): Promise<{
596
585
  status: string;
597
586
  users?: number;
@@ -616,13 +605,12 @@ export declare function composeOxyServices(): {
616
605
  disableTotp(sessionId: string, code: string): Promise<{
617
606
  disabled: boolean;
618
607
  }>;
619
- httpClient: import("../HttpClient").HttpClient;
620
- requestManager: import("../RequestManager").RequestManager;
608
+ httpService: import("../HttpService").HttpService;
621
609
  cloudURL: string;
622
610
  config: import("../OxyServices.base").OxyConfig;
623
- makeRequest<T>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../RequestManager").RequestOptions): Promise<T>;
611
+ makeRequest<T>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../HttpService").RequestOptions): Promise<T>;
624
612
  getBaseURL(): string;
625
- getClient(): import("../HttpClient").HttpClient;
613
+ getClient(): import("../HttpService").HttpService;
626
614
  getMetrics(): {
627
615
  totalRequests: number;
628
616
  successfulRequests: number;
@@ -652,7 +640,7 @@ export declare function composeOxyServices(): {
652
640
  authTimeoutMs?: number;
653
641
  }): Promise<T>;
654
642
  validate(): Promise<boolean>;
655
- handleError(error: any): Error;
643
+ handleError(error: unknown): Error;
656
644
  healthCheck(): Promise<{
657
645
  status: string;
658
646
  users?: number;
@@ -721,13 +709,12 @@ export declare function composeOxyServices(): {
721
709
  markNotificationAsRead(notificationId: string): Promise<void>;
722
710
  markAllNotificationsAsRead(): Promise<void>;
723
711
  deleteNotification(notificationId: string): Promise<void>;
724
- httpClient: import("../HttpClient").HttpClient;
725
- requestManager: import("../RequestManager").RequestManager;
712
+ httpService: import("../HttpService").HttpService;
726
713
  cloudURL: string;
727
714
  config: import("../OxyServices.base").OxyConfig;
728
- makeRequest<T>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../RequestManager").RequestOptions): Promise<T>;
715
+ makeRequest<T>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../HttpService").RequestOptions): Promise<T>;
729
716
  getBaseURL(): string;
730
- getClient(): import("../HttpClient").HttpClient;
717
+ getClient(): import("../HttpService").HttpService;
731
718
  getMetrics(): {
732
719
  totalRequests: number;
733
720
  successfulRequests: number;
@@ -757,7 +744,7 @@ export declare function composeOxyServices(): {
757
744
  authTimeoutMs?: number;
758
745
  }): Promise<T>;
759
746
  validate(): Promise<boolean>;
760
- handleError(error: any): Error;
747
+ handleError(error: unknown): Error;
761
748
  healthCheck(): Promise<{
762
749
  status: string;
763
750
  users?: number;
@@ -830,13 +817,12 @@ export declare function composeOxyServices(): {
830
817
  available: boolean;
831
818
  message: string;
832
819
  }>;
833
- httpClient: import("../HttpClient").HttpClient;
834
- requestManager: import("../RequestManager").RequestManager;
820
+ httpService: import("../HttpService").HttpService;
835
821
  cloudURL: string;
836
822
  config: import("../OxyServices.base").OxyConfig;
837
- makeRequest<T>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../RequestManager").RequestOptions): Promise<T>;
823
+ makeRequest<T>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../HttpService").RequestOptions): Promise<T>;
838
824
  getBaseURL(): string;
839
- getClient(): import("../HttpClient").HttpClient;
825
+ getClient(): import("../HttpService").HttpService;
840
826
  getMetrics(): {
841
827
  totalRequests: number;
842
828
  successfulRequests: number;
@@ -866,7 +852,7 @@ export declare function composeOxyServices(): {
866
852
  authTimeoutMs?: number;
867
853
  }): Promise<T>;
868
854
  validate(): Promise<boolean>;
869
- handleError(error: any): Error;
855
+ handleError(error: unknown): Error;
870
856
  healthCheck(): Promise<{
871
857
  status: string;
872
858
  users?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/mixins/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAetD;;;;;;;GAOG;AACH,wBAAgB,kBAAkB;;;;;;;;;;;;;aA4Bwe,QAAQ,EAAC,QAAS,EAAC,SAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAAm4G,CAAC;sBAA0B,CAAC;yBAA6B,CAAC;;;;;;iBAAiwF,CAAC;qBAAwB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAAr1F,CAAC;sBAA0B,CAAC;yBAA6B,CAAC;;;;;;iBAAiwF,CAAC;qBAAwB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAAr1F,CAAC;sBAA0B,CAAC;yBAA6B,CAAC;;;;;;iBAAiwF,CAAC;qBAAwB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAAr1F,CAAC;sBAA0B,CAAC;yBAA6B,CAAC;;;;;;iBAAiwF,CAAC;qBAAwB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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C;sBAA0B,CAAC;yBAA6B,CAAC;;;;;;iBAA+5F,CAAC;qBAAwB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAAn/F,CAAC;sBAA0B,CAAC;yBAA6B,CAAC;;;;;;iBAA+5F,CAAC;qBAAwB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAAn/F,CAAC;sBAA0B,CAAC;yBAA6B,CAAC;;;;;;iBAA+5F,CAAC;qBAAwB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAAn/F,CAAC;sBAA0B,CAAC;yBAA6B,CAAC;;;;;;iBAA+5F,CAAC;qBAAwB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAAn/F,CAAC;sBAA0B,CAAC;yBAA6B,CAAC;;;;;;iBAA+5F,CAAC;qBAAwB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAAn/F,CAAC;sBAA0B,CAAC;yBAA6B,CAAC;;;;;;iBAA+5F,CAAC;qBAAwB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAAn/F,CAAC;sBAA0B,CAAC;yBAA6B,CAAC;;;;;;iBAA+5F,CAAC;qBAAwB,CAAC;;;;;2BAF3zN"}
@@ -20,6 +20,7 @@ export { useAuthStore } from './ui/stores/authStore';
20
20
  export { useAssetStore, useAssets as useAssetsStore, useAsset, useUploadProgress, useAssetLoading, useAssetErrors, useAssetsByApp, useAssetsByEntity, useAssetUsageCount, useIsAssetLinked } from './ui/stores/assetStore';
21
21
  export { useSessionSocket } from './ui/hooks/useSessionSocket';
22
22
  export { useAssets, setOxyAssetInstance } from './ui/hooks/useAssets';
23
+ export { useFileDownloadUrl, setOxyFileUrlInstance } from './ui/hooks/useFileDownloadUrl';
23
24
  export { OxySignInButton } from './ui/components/OxySignInButton';
24
25
  export { OxyLogo, FollowButton } from './ui';
25
26
  export * from './utils/apiUtils';