@oxyhq/services 5.13.12 → 5.13.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.
Files changed (209) hide show
  1. package/README.md +10 -0
  2. package/lib/commonjs/core/OxyServices.base.js +271 -0
  3. package/lib/commonjs/core/OxyServices.base.js.map +1 -0
  4. package/lib/commonjs/core/OxyServices.errors.js +26 -0
  5. package/lib/commonjs/core/OxyServices.errors.js.map +1 -0
  6. package/lib/commonjs/core/OxyServices.js +58 -2009
  7. package/lib/commonjs/core/OxyServices.js.map +1 -1
  8. package/lib/commonjs/core/mixins/OxyServices.analytics.js +60 -0
  9. package/lib/commonjs/core/mixins/OxyServices.analytics.js.map +1 -0
  10. package/lib/commonjs/core/mixins/OxyServices.assets.js +406 -0
  11. package/lib/commonjs/core/mixins/OxyServices.assets.js.map +1 -0
  12. package/lib/commonjs/core/mixins/OxyServices.auth.js +303 -0
  13. package/lib/commonjs/core/mixins/OxyServices.auth.js.map +1 -0
  14. package/lib/commonjs/core/mixins/OxyServices.developer.js +115 -0
  15. package/lib/commonjs/core/mixins/OxyServices.developer.js.map +1 -0
  16. package/lib/commonjs/core/mixins/OxyServices.devices.js +119 -0
  17. package/lib/commonjs/core/mixins/OxyServices.devices.js.map +1 -0
  18. package/lib/commonjs/core/mixins/OxyServices.karma.js +117 -0
  19. package/lib/commonjs/core/mixins/OxyServices.karma.js.map +1 -0
  20. package/lib/commonjs/core/mixins/OxyServices.language.js +124 -0
  21. package/lib/commonjs/core/mixins/OxyServices.language.js.map +1 -0
  22. package/lib/commonjs/core/mixins/OxyServices.location.js +55 -0
  23. package/lib/commonjs/core/mixins/OxyServices.location.js.map +1 -0
  24. package/lib/commonjs/core/mixins/OxyServices.payment.js +66 -0
  25. package/lib/commonjs/core/mixins/OxyServices.payment.js.map +1 -0
  26. package/lib/commonjs/core/mixins/OxyServices.privacy.js +174 -0
  27. package/lib/commonjs/core/mixins/OxyServices.privacy.js.map +1 -0
  28. package/lib/commonjs/core/mixins/OxyServices.totp.js +53 -0
  29. package/lib/commonjs/core/mixins/OxyServices.totp.js.map +1 -0
  30. package/lib/commonjs/core/mixins/OxyServices.user.js +389 -0
  31. package/lib/commonjs/core/mixins/OxyServices.user.js.map +1 -0
  32. package/lib/commonjs/core/mixins/OxyServices.utility.js +161 -0
  33. package/lib/commonjs/core/mixins/OxyServices.utility.js.map +1 -0
  34. package/lib/commonjs/core/mixins/index.js +39 -0
  35. package/lib/commonjs/core/mixins/index.js.map +1 -0
  36. package/lib/commonjs/core/mixins/mixinHelpers.js +62 -0
  37. package/lib/commonjs/core/mixins/mixinHelpers.js.map +1 -0
  38. package/lib/commonjs/index.js.map +1 -1
  39. package/lib/commonjs/ui/context/OxyContext.js +26 -47
  40. package/lib/commonjs/ui/context/OxyContext.js.map +1 -1
  41. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +239 -1
  42. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
  43. package/lib/commonjs/utils/apiUtils.js +0 -14
  44. package/lib/commonjs/utils/apiUtils.js.map +1 -1
  45. package/lib/commonjs/utils/asyncUtils.js +0 -20
  46. package/lib/commonjs/utils/asyncUtils.js.map +1 -1
  47. package/lib/module/core/OxyServices.base.js +265 -0
  48. package/lib/module/core/OxyServices.base.js.map +1 -0
  49. package/lib/module/core/OxyServices.errors.js +20 -0
  50. package/lib/module/core/OxyServices.errors.js.map +1 -0
  51. package/lib/module/core/OxyServices.js +43 -2005
  52. package/lib/module/core/OxyServices.js.map +1 -1
  53. package/lib/module/core/mixins/OxyServices.analytics.js +56 -0
  54. package/lib/module/core/mixins/OxyServices.analytics.js.map +1 -0
  55. package/lib/module/core/mixins/OxyServices.assets.js +402 -0
  56. package/lib/module/core/mixins/OxyServices.assets.js.map +1 -0
  57. package/lib/module/core/mixins/OxyServices.auth.js +299 -0
  58. package/lib/module/core/mixins/OxyServices.auth.js.map +1 -0
  59. package/lib/module/core/mixins/OxyServices.developer.js +111 -0
  60. package/lib/module/core/mixins/OxyServices.developer.js.map +1 -0
  61. package/lib/module/core/mixins/OxyServices.devices.js +115 -0
  62. package/lib/module/core/mixins/OxyServices.devices.js.map +1 -0
  63. package/lib/module/core/mixins/OxyServices.karma.js +113 -0
  64. package/lib/module/core/mixins/OxyServices.karma.js.map +1 -0
  65. package/lib/module/core/mixins/OxyServices.language.js +120 -0
  66. package/lib/module/core/mixins/OxyServices.language.js.map +1 -0
  67. package/lib/module/core/mixins/OxyServices.location.js +51 -0
  68. package/lib/module/core/mixins/OxyServices.location.js.map +1 -0
  69. package/lib/module/core/mixins/OxyServices.payment.js +62 -0
  70. package/lib/module/core/mixins/OxyServices.payment.js.map +1 -0
  71. package/lib/module/core/mixins/OxyServices.privacy.js +170 -0
  72. package/lib/module/core/mixins/OxyServices.privacy.js.map +1 -0
  73. package/lib/module/core/mixins/OxyServices.totp.js +49 -0
  74. package/lib/module/core/mixins/OxyServices.totp.js.map +1 -0
  75. package/lib/module/core/mixins/OxyServices.user.js +385 -0
  76. package/lib/module/core/mixins/OxyServices.user.js.map +1 -0
  77. package/lib/module/core/mixins/OxyServices.utility.js +156 -0
  78. package/lib/module/core/mixins/OxyServices.utility.js.map +1 -0
  79. package/lib/module/core/mixins/index.js +36 -0
  80. package/lib/module/core/mixins/index.js.map +1 -0
  81. package/lib/module/core/mixins/mixinHelpers.js +56 -0
  82. package/lib/module/core/mixins/mixinHelpers.js.map +1 -0
  83. package/lib/module/index.js.map +1 -1
  84. package/lib/module/ui/context/OxyContext.js +26 -47
  85. package/lib/module/ui/context/OxyContext.js.map +1 -1
  86. package/lib/module/ui/navigation/types.js.map +1 -1
  87. package/lib/module/ui/screens/PrivacySettingsScreen.js +241 -3
  88. package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -1
  89. package/lib/module/utils/apiUtils.js +0 -13
  90. package/lib/module/utils/apiUtils.js.map +1 -1
  91. package/lib/module/utils/asyncUtils.js +0 -20
  92. package/lib/module/utils/asyncUtils.js.map +1 -1
  93. package/lib/typescript/core/OxyServices.base.d.ts +123 -0
  94. package/lib/typescript/core/OxyServices.base.d.ts.map +1 -0
  95. package/lib/typescript/core/OxyServices.d.ts +969 -682
  96. package/lib/typescript/core/OxyServices.d.ts.map +1 -1
  97. package/lib/typescript/core/OxyServices.errors.d.ts +12 -0
  98. package/lib/typescript/core/OxyServices.errors.d.ts.map +1 -0
  99. package/lib/typescript/core/mixins/OxyServices.analytics.d.ts +70 -0
  100. package/lib/typescript/core/mixins/OxyServices.analytics.d.ts.map +1 -0
  101. package/lib/typescript/core/mixins/OxyServices.assets.d.ts +159 -0
  102. package/lib/typescript/core/mixins/OxyServices.assets.d.ts.map +1 -0
  103. package/lib/typescript/core/mixins/OxyServices.auth.d.ts +168 -0
  104. package/lib/typescript/core/mixins/OxyServices.auth.d.ts.map +1 -0
  105. package/lib/typescript/core/mixins/OxyServices.developer.d.ts +103 -0
  106. package/lib/typescript/core/mixins/OxyServices.developer.d.ts.map +1 -0
  107. package/lib/typescript/core/mixins/OxyServices.devices.d.ts +93 -0
  108. package/lib/typescript/core/mixins/OxyServices.devices.d.ts.map +1 -0
  109. package/lib/typescript/core/mixins/OxyServices.karma.d.ts +89 -0
  110. package/lib/typescript/core/mixins/OxyServices.karma.d.ts.map +1 -0
  111. package/lib/typescript/core/mixins/OxyServices.language.d.ts +85 -0
  112. package/lib/typescript/core/mixins/OxyServices.language.d.ts.map +1 -0
  113. package/lib/typescript/core/mixins/OxyServices.location.d.ts +68 -0
  114. package/lib/typescript/core/mixins/OxyServices.location.d.ts.map +1 -0
  115. package/lib/typescript/core/mixins/OxyServices.payment.d.ts +74 -0
  116. package/lib/typescript/core/mixins/OxyServices.payment.d.ts.map +1 -0
  117. package/lib/typescript/core/mixins/OxyServices.privacy.d.ts +126 -0
  118. package/lib/typescript/core/mixins/OxyServices.privacy.d.ts.map +1 -0
  119. package/lib/typescript/core/mixins/OxyServices.totp.d.ts +69 -0
  120. package/lib/typescript/core/mixins/OxyServices.totp.d.ts.map +1 -0
  121. package/lib/typescript/core/mixins/OxyServices.user.d.ts +189 -0
  122. package/lib/typescript/core/mixins/OxyServices.user.d.ts.map +1 -0
  123. package/lib/typescript/core/mixins/OxyServices.utility.d.ts +97 -0
  124. package/lib/typescript/core/mixins/OxyServices.utility.d.ts.map +1 -0
  125. package/lib/typescript/core/mixins/index.d.ts +898 -0
  126. package/lib/typescript/core/mixins/index.d.ts.map +1 -0
  127. package/lib/typescript/core/mixins/mixinHelpers.d.ts +32 -0
  128. package/lib/typescript/core/mixins/mixinHelpers.d.ts.map +1 -0
  129. package/lib/typescript/index.d.ts +1 -1
  130. package/lib/typescript/index.d.ts.map +1 -1
  131. package/lib/typescript/models/interfaces.d.ts +36 -0
  132. package/lib/typescript/models/interfaces.d.ts.map +1 -1
  133. package/lib/typescript/ui/context/OxyContext.d.ts +2 -6
  134. package/lib/typescript/ui/context/OxyContext.d.ts.map +1 -1
  135. package/lib/typescript/ui/navigation/types.d.ts +0 -1
  136. package/lib/typescript/ui/navigation/types.d.ts.map +1 -1
  137. package/lib/typescript/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
  138. package/lib/typescript/utils/apiUtils.d.ts +0 -7
  139. package/lib/typescript/utils/apiUtils.d.ts.map +1 -1
  140. package/lib/typescript/utils/asyncUtils.d.ts +0 -11
  141. package/lib/typescript/utils/asyncUtils.d.ts.map +1 -1
  142. package/package.json +1 -1
  143. package/src/core/OxyServices.base.ts +311 -0
  144. package/src/core/OxyServices.errors.ts +26 -0
  145. package/src/core/OxyServices.ts +43 -2026
  146. package/src/core/mixins/OxyServices.analytics.ts +53 -0
  147. package/src/core/mixins/OxyServices.assets.ts +390 -0
  148. package/src/core/mixins/OxyServices.auth.ts +275 -0
  149. package/src/core/mixins/OxyServices.developer.ts +114 -0
  150. package/src/core/mixins/OxyServices.devices.ts +103 -0
  151. package/src/core/mixins/OxyServices.karma.ts +111 -0
  152. package/src/core/mixins/OxyServices.language.ts +127 -0
  153. package/src/core/mixins/OxyServices.location.ts +46 -0
  154. package/src/core/mixins/OxyServices.payment.ts +59 -0
  155. package/src/core/mixins/OxyServices.privacy.ts +182 -0
  156. package/src/core/mixins/OxyServices.totp.ts +36 -0
  157. package/src/core/mixins/OxyServices.user.ts +380 -0
  158. package/src/core/mixins/OxyServices.utility.ts +187 -0
  159. package/src/core/mixins/index.ts +58 -0
  160. package/src/core/mixins/mixinHelpers.ts +69 -0
  161. package/src/index.ts +4 -0
  162. package/src/models/interfaces.ts +40 -0
  163. package/src/ui/context/OxyContext.tsx +35 -53
  164. package/src/ui/navigation/types.ts +0 -1
  165. package/src/ui/screens/PrivacySettingsScreen.tsx +240 -2
  166. package/src/utils/apiUtils.ts +0 -14
  167. package/src/utils/asyncUtils.ts +0 -20
  168. package/lib/commonjs/ui/screens/internal/SignInPasswordStep.js +0 -192
  169. package/lib/commonjs/ui/screens/internal/SignInPasswordStep.js.map +0 -1
  170. package/lib/commonjs/ui/screens/internal/SignInUsernameStep.js +0 -142
  171. package/lib/commonjs/ui/screens/internal/SignInUsernameStep.js.map +0 -1
  172. package/lib/commonjs/ui/screens/internal/SignUpIdentityStep.js +0 -113
  173. package/lib/commonjs/ui/screens/internal/SignUpIdentityStep.js.map +0 -1
  174. package/lib/commonjs/ui/screens/internal/SignUpSecurityStep.js +0 -132
  175. package/lib/commonjs/ui/screens/internal/SignUpSecurityStep.js.map +0 -1
  176. package/lib/commonjs/ui/screens/internal/SignUpSummaryStep.js +0 -83
  177. package/lib/commonjs/ui/screens/internal/SignUpSummaryStep.js.map +0 -1
  178. package/lib/commonjs/ui/screens/internal/SignUpWelcomeStep.js +0 -58
  179. package/lib/commonjs/ui/screens/internal/SignUpWelcomeStep.js.map +0 -1
  180. package/lib/module/ui/screens/internal/SignInPasswordStep.js +0 -186
  181. package/lib/module/ui/screens/internal/SignInPasswordStep.js.map +0 -1
  182. package/lib/module/ui/screens/internal/SignInUsernameStep.js +0 -136
  183. package/lib/module/ui/screens/internal/SignInUsernameStep.js.map +0 -1
  184. package/lib/module/ui/screens/internal/SignUpIdentityStep.js +0 -108
  185. package/lib/module/ui/screens/internal/SignUpIdentityStep.js.map +0 -1
  186. package/lib/module/ui/screens/internal/SignUpSecurityStep.js +0 -127
  187. package/lib/module/ui/screens/internal/SignUpSecurityStep.js.map +0 -1
  188. package/lib/module/ui/screens/internal/SignUpSummaryStep.js +0 -78
  189. package/lib/module/ui/screens/internal/SignUpSummaryStep.js.map +0 -1
  190. package/lib/module/ui/screens/internal/SignUpWelcomeStep.js +0 -53
  191. package/lib/module/ui/screens/internal/SignUpWelcomeStep.js.map +0 -1
  192. package/lib/typescript/ui/screens/internal/SignInPasswordStep.d.ts +0 -28
  193. package/lib/typescript/ui/screens/internal/SignInPasswordStep.d.ts.map +0 -1
  194. package/lib/typescript/ui/screens/internal/SignInUsernameStep.d.ts +0 -25
  195. package/lib/typescript/ui/screens/internal/SignInUsernameStep.d.ts.map +0 -1
  196. package/lib/typescript/ui/screens/internal/SignUpIdentityStep.d.ts +0 -20
  197. package/lib/typescript/ui/screens/internal/SignUpIdentityStep.d.ts.map +0 -1
  198. package/lib/typescript/ui/screens/internal/SignUpSecurityStep.d.ts +0 -24
  199. package/lib/typescript/ui/screens/internal/SignUpSecurityStep.d.ts.map +0 -1
  200. package/lib/typescript/ui/screens/internal/SignUpSummaryStep.d.ts +0 -15
  201. package/lib/typescript/ui/screens/internal/SignUpSummaryStep.d.ts.map +0 -1
  202. package/lib/typescript/ui/screens/internal/SignUpWelcomeStep.d.ts +0 -13
  203. package/lib/typescript/ui/screens/internal/SignUpWelcomeStep.d.ts.map +0 -1
  204. package/src/ui/screens/internal/SignInPasswordStep.tsx +0 -184
  205. package/src/ui/screens/internal/SignInUsernameStep.tsx +0 -145
  206. package/src/ui/screens/internal/SignUpIdentityStep.tsx +0 -112
  207. package/src/ui/screens/internal/SignUpSecurityStep.tsx +0 -132
  208. package/src/ui/screens/internal/SignUpSummaryStep.tsx +0 -66
  209. package/src/ui/screens/internal/S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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAAh2F,CAAC;sBAA0B,CAAC;yBAA6B,CAAC;;;;;;iBAA4wF,CAAC;qBAAwB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAAh2F,CAAC;sBAA0B,CAAC;yBAA6B,CAAC;;;;;;iBAA4wF,CAAC;qBAAwB,CAAC;;;;;0BA3B9mI,CAAC;AAGjD,qBAAa,WAAY,SAAQ,mBAAmB;gBACtC,MAAM,EAAE,SAAS;CAG9B;AAGD,OAAO,EAAE,sBAAsB,EAAE,6BAA6B,EAAE,CAAC;AAEjE;;GAEG;AACH,eAAO,MAAM,aAAa,yBAAyB,CAAC;AAEpD;;GAEG;AACH,eAAO,MAAM,WAAW,KAAqG,CAAC;AAE9H;;;GAGG;AACH,eAAO,MAAM,SAAS,aAAqE,CAAC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Custom error types for better error handling
3
+ */
4
+ export declare class OxyAuthenticationError extends Error {
5
+ readonly code: string;
6
+ readonly status: number;
7
+ constructor(message: string, code?: string, status?: number);
8
+ }
9
+ export declare class OxyAuthenticationTimeoutError extends OxyAuthenticationError {
10
+ constructor(operationName: string, timeoutMs: number);
11
+ }
12
+ //# sourceMappingURL=OxyServices.errors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OxyServices.errors.d.ts","sourceRoot":"","sources":["../../../src/core/OxyServices.errors.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,qBAAa,sBAAuB,SAAQ,KAAK;IAC/C,SAAgB,IAAI,EAAE,MAAM,CAAC;IAC7B,SAAgB,MAAM,EAAE,MAAM,CAAC;gBAEnB,OAAO,EAAE,MAAM,EAAE,IAAI,SAAe,EAAE,MAAM,SAAM;CAM/D;AAED,qBAAa,6BAA8B,SAAQ,sBAAsB;gBAC3D,aAAa,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM;CAQrD"}
@@ -0,0 +1,70 @@
1
+ /**
2
+ * Analytics Methods Mixin
3
+ *
4
+ * Provides methods for analytics tracking and data retrieval
5
+ */
6
+ import type { OxyServicesBase } from '../OxyServices.base';
7
+ export declare function OxyServicesAnalyticsMixin<T extends typeof OxyServicesBase>(Base: T): {
8
+ new (...args: any[]): {
9
+ /**
10
+ * Track an analytics event
11
+ * @param eventName - Name of the event to track
12
+ * @param properties - Optional event properties
13
+ */
14
+ trackEvent(eventName: string, properties?: Record<string, any>): Promise<void>;
15
+ /**
16
+ * Get analytics data for a date range
17
+ * @param startDate - Optional start date (ISO string)
18
+ * @param endDate - Optional end date (ISO string)
19
+ * @returns Analytics data
20
+ */
21
+ getAnalytics(startDate?: string, endDate?: string): Promise<any>;
22
+ httpClient: import("../HttpClient").HttpClient;
23
+ requestManager: import("../RequestManager").RequestManager;
24
+ cloudURL: string;
25
+ config: import("../OxyServices.base").OxyConfig;
26
+ makeRequest<T_1>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../RequestManager").RequestOptions): Promise<T_1>;
27
+ getBaseURL(): string;
28
+ getClient(): import("../HttpClient").HttpClient;
29
+ getMetrics(): {
30
+ totalRequests: number;
31
+ successfulRequests: number;
32
+ failedRequests: number;
33
+ cacheHits: number;
34
+ cacheMisses: number;
35
+ averageResponseTime: number;
36
+ };
37
+ clearCache(): void;
38
+ clearCacheEntry(key: string): void;
39
+ getCacheStats(): {
40
+ size: number;
41
+ hits: number;
42
+ misses: number;
43
+ hitRate: number;
44
+ };
45
+ getCloudURL(): string;
46
+ setTokens(accessToken: string, refreshToken?: string): void;
47
+ clearTokens(): void;
48
+ getCurrentUserId(): string | null;
49
+ hasValidToken(): boolean;
50
+ getAccessToken(): string | null;
51
+ waitForAuth(timeoutMs?: number): Promise<boolean>;
52
+ waitForAuthentication(timeoutMs?: number): Promise<boolean>;
53
+ hasAccessToken(): boolean;
54
+ withAuthRetry<T_1>(operation: () => Promise<T_1>, operationName: string, options?: {
55
+ maxRetries?: number;
56
+ retryDelay?: number;
57
+ authTimeoutMs?: number;
58
+ }): Promise<T_1>;
59
+ validate(): Promise<boolean>;
60
+ handleError(error: any): Error;
61
+ healthCheck(): Promise<{
62
+ status: string;
63
+ users?: number;
64
+ timestamp?: string;
65
+ [key: string]: any;
66
+ }>;
67
+ };
68
+ __resetTokensForTests(): void;
69
+ } & T;
70
+ //# sourceMappingURL=OxyServices.analytics.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OxyServices.analytics.d.ts","sourceRoot":"","sources":["../../../../src/core/mixins/OxyServices.analytics.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAG3D,wBAAgB,yBAAyB,CAAC,CAAC,SAAS,OAAO,eAAe,EAAE,IAAI,EAAE,CAAC;kBAE1D,GAAG,EAAE;QAI1B;;;;WAIG;8BACyB,MAAM,eAAe,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;QAWpF;;;;;WAKG;iCAC4B,MAAM,YAAY,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAiBgrH,CAAC;sBAA0B,CAAC;yBAA6B,CAAC;;;;;;iBAA4wF,CAAC;qBAAwB,CAAC;;;;;MAFzlN"}
@@ -0,0 +1,159 @@
1
+ /**
2
+ * Asset & File Methods Mixin
3
+ */
4
+ import type { AssetInitResponse, AssetUrlResponse, AssetVariant } from '../../models/interfaces';
5
+ import type { OxyServicesBase } from '../OxyServices.base';
6
+ export declare function OxyServicesAssetsMixin<T extends typeof OxyServicesBase>(Base: T): {
7
+ new (...args: any[]): {
8
+ /**
9
+ * Delete file
10
+ */
11
+ deleteFile(fileId: string): Promise<any>;
12
+ /**
13
+ * Get file download URL (API streaming proxy, attaches token for <img src>)
14
+ */
15
+ getFileDownloadUrl(fileId: string, variant?: string, expiresIn?: number): string;
16
+ /**
17
+ * Get file stream URL (direct Oxy Cloud/CDN URL, no token)
18
+ */
19
+ getFileStreamUrl(fileId: string): string;
20
+ /**
21
+ * List user files
22
+ */
23
+ listUserFiles(limit?: number, offset?: number): Promise<{
24
+ files: any[];
25
+ total: number;
26
+ hasMore: boolean;
27
+ }>;
28
+ /**
29
+ * Get file content as text
30
+ */
31
+ getFileContentAsText(fileId: string, variant?: string): Promise<string>;
32
+ /**
33
+ * Get file content as blob
34
+ */
35
+ getFileContentAsBlob(fileId: string, variant?: string): Promise<Blob>;
36
+ /**
37
+ * Upload raw file data
38
+ */
39
+ uploadRawFile(file: File | Blob, visibility?: "private" | "public" | "unlisted", metadata?: Record<string, any>): Promise<any>;
40
+ /**
41
+ * Calculate SHA256 hash of file content
42
+ */
43
+ calculateSHA256(file: File | Blob): Promise<string>;
44
+ /**
45
+ * Initialize asset upload - returns pre-signed URL and file ID
46
+ */
47
+ assetInit(sha256: string, size: number, mime: string): Promise<AssetInitResponse>;
48
+ /**
49
+ * Complete asset upload - commit metadata and trigger variant generation
50
+ */
51
+ assetComplete(fileId: string, originalName: string, size: number, mime: string, visibility?: "private" | "public" | "unlisted", metadata?: Record<string, any>): Promise<any>;
52
+ /**
53
+ * Upload file using Central Asset Service
54
+ */
55
+ assetUpload(file: File, visibility?: "private" | "public" | "unlisted", metadata?: Record<string, any>, onProgress?: (progress: number) => void): Promise<any>;
56
+ /**
57
+ * Upload file to pre-signed URL
58
+ */
59
+ uploadToPresignedUrl(url: string, file: File, onProgress?: (progress: number) => void): Promise<void>;
60
+ /**
61
+ * Link asset to an entity
62
+ */
63
+ assetLink(fileId: string, app: string, entityType: string, entityId: string, visibility?: "private" | "public" | "unlisted", webhookUrl?: string): Promise<any>;
64
+ /**
65
+ * Unlink asset from an entity
66
+ */
67
+ assetUnlink(fileId: string, app: string, entityType: string, entityId: string): Promise<any>;
68
+ /**
69
+ * Get asset metadata
70
+ */
71
+ assetGet(fileId: string): Promise<any>;
72
+ /**
73
+ * Get asset URL (CDN or signed URL)
74
+ */
75
+ assetGetUrl(fileId: string, variant?: string, expiresIn?: number): Promise<AssetUrlResponse>;
76
+ /**
77
+ * Restore asset from trash
78
+ */
79
+ assetRestore(fileId: string): Promise<any>;
80
+ /**
81
+ * Delete asset with optional force
82
+ */
83
+ assetDelete(fileId: string, force?: boolean): Promise<any>;
84
+ /**
85
+ * Get list of available variants for an asset
86
+ */
87
+ assetGetVariants(fileId: string): Promise<AssetVariant[]>;
88
+ /**
89
+ * Update asset visibility
90
+ * @param fileId - The file ID
91
+ * @param visibility - New visibility level ('private', 'public', or 'unlisted')
92
+ * @returns Updated asset information
93
+ */
94
+ assetUpdateVisibility(fileId: string, visibility: "private" | "public" | "unlisted"): Promise<any>;
95
+ /**
96
+ * Helper: Upload and link avatar with automatic public visibility
97
+ * @param file - The avatar file
98
+ * @param userId - User ID to link to
99
+ * @param app - App name (defaults to 'profiles')
100
+ * @returns The uploaded and linked asset
101
+ */
102
+ uploadAvatar(file: File, userId: string, app?: string): Promise<any>;
103
+ /**
104
+ * Helper: Upload and link profile banner with automatic public visibility
105
+ * @param file - The banner file
106
+ * @param userId - User ID to link to
107
+ * @param app - App name (defaults to 'profiles')
108
+ * @returns The uploaded and linked asset
109
+ */
110
+ uploadProfileBanner(file: File, userId: string, app?: string): Promise<any>;
111
+ httpClient: import("../HttpClient").HttpClient;
112
+ requestManager: import("../RequestManager").RequestManager;
113
+ cloudURL: string;
114
+ config: import("../OxyServices.base").OxyConfig;
115
+ makeRequest<T_1>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../RequestManager").RequestOptions): Promise<T_1>;
116
+ getBaseURL(): string;
117
+ getClient(): import("../HttpClient").HttpClient;
118
+ getMetrics(): {
119
+ totalRequests: number;
120
+ successfulRequests: number;
121
+ failedRequests: number;
122
+ cacheHits: number;
123
+ cacheMisses: number;
124
+ averageResponseTime: number;
125
+ };
126
+ clearCache(): void;
127
+ clearCacheEntry(key: string): void;
128
+ getCacheStats(): {
129
+ size: number;
130
+ hits: number;
131
+ misses: number;
132
+ hitRate: number;
133
+ };
134
+ getCloudURL(): string;
135
+ setTokens(accessToken: string, refreshToken?: string): void;
136
+ clearTokens(): void;
137
+ getCurrentUserId(): string | null;
138
+ hasValidToken(): boolean;
139
+ getAccessToken(): string | null;
140
+ waitForAuth(timeoutMs?: number): Promise<boolean>;
141
+ waitForAuthentication(timeoutMs?: number): Promise<boolean>;
142
+ hasAccessToken(): boolean;
143
+ withAuthRetry<T_1>(operation: () => Promise<T_1>, operationName: string, options?: {
144
+ maxRetries?: number;
145
+ retryDelay?: number;
146
+ authTimeoutMs?: number;
147
+ }): Promise<T_1>;
148
+ validate(): Promise<boolean>;
149
+ handleError(error: any): Error;
150
+ healthCheck(): Promise<{
151
+ status: string;
152
+ users?: number;
153
+ timestamp?: string;
154
+ [key: string]: any;
155
+ }>;
156
+ };
157
+ __resetTokensForTests(): void;
158
+ } & T;
159
+ //# sourceMappingURL=OxyServices.assets.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OxyServices.assets.d.ts","sourceRoot":"","sources":["../../../../src/core/mixins/OxyServices.assets.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACjG,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,wBAAgB,sBAAsB,CAAC,CAAC,SAAS,OAAO,eAAe,EAAE,IAAI,EAAE,CAAC;kBAEvD,GAAG,EAAE;QAO1B;;WAEG;2BACsB,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC;QAS9C;;WAEG;mCACwB,MAAM,YAAY,MAAM,cAAc,MAAM,GAAG,MAAM;QAkBhF;;WAEG;iCACsB,MAAM,GAAG,MAAM;QA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WAEG;4BACuB,MAAM,OAAO,MAAM,cAAc,MAAM,YAAY,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC;QAYlG;;WAEG;yBACoB,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC;QAW5C;;WAEG;4BACuB,MAAM,YAAY,MAAM,cAAc,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC;QAelG;;WAEG;6BACwB,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC;QAQhD;;WAEG;4BACuB,MAAM,UAAS,OAAO,GAAW,OAAO,CAAC,GAAG,CAAC;QASvE;;WAEG;iCAC4B,MAAM,GAAG,OAAO,CAAC,YAAY,EAAE,CAAC;QAS/D;;;;;WAKG;sCACiC,MAAM,cAAc,SAAS,GAAG,QAAQ,GAAG,UAAU,GAAG,OAAO,CAAC,GAAG,CAAC;QAUxG;;;;;;WAMG;2BACsB,IAAI,UAAU,MAAM,QAAO,MAAM,GAAgB,OAAO,CAAC,GAAG,CAAC;QActF;;;;;;WAMG;kCAC6B,IAAI,UAAU,MAAM,QAAO,MAAM,GAAgB,OAAO,CAAC,GAAG,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBArO/D,CAAC;sBAA0B,CAAC;yBAEzD,CAAC;;;;;;iBAoFA,CAAN;qBAIK,CAAL;;;;;MAyJC"}
@@ -0,0 +1,168 @@
1
+ /**
2
+ * Authentication Methods Mixin
3
+ */
4
+ import type { User } from '../../models/interfaces';
5
+ import type { SessionLoginResponse } from '../../models/session';
6
+ import type { OxyServicesBase } from '../OxyServices.base';
7
+ export declare function OxyServicesAuthMixin<T extends typeof OxyServicesBase>(Base: T): {
8
+ new (...args: any[]): {
9
+ /**
10
+ * Sign up a new user
11
+ */
12
+ signUp(username: string, email: string, password: string): Promise<{
13
+ message: string;
14
+ token: string;
15
+ user: User;
16
+ }>;
17
+ /**
18
+ * Request account recovery (send verification code)
19
+ */
20
+ requestRecovery(identifier: string): Promise<{
21
+ delivery?: string;
22
+ destination?: string;
23
+ }>;
24
+ /**
25
+ * Verify recovery code
26
+ */
27
+ verifyRecoveryCode(identifier: string, code: string): Promise<{
28
+ verified: boolean;
29
+ }>;
30
+ /**
31
+ * Reset password using verified code
32
+ */
33
+ resetPassword(identifier: string, code: string, newPassword: string): Promise<{
34
+ success: boolean;
35
+ }>;
36
+ /**
37
+ * Reset password using TOTP code (recommended recovery)
38
+ */
39
+ resetPasswordWithTotp(identifier: string, code: string, newPassword: string): Promise<{
40
+ success: boolean;
41
+ }>;
42
+ resetPasswordWithBackupCode(identifier: string, backupCode: string, newPassword: string): Promise<{
43
+ success: boolean;
44
+ }>;
45
+ resetPasswordWithRecoveryKey(identifier: string, recoveryKey: string, newPassword: string): Promise<{
46
+ success: boolean;
47
+ nextRecoveryKey?: string;
48
+ }>;
49
+ /**
50
+ * Sign in with device management
51
+ */
52
+ signIn(username: string, password: string, deviceName?: string, deviceFingerprint?: any): Promise<SessionLoginResponse | {
53
+ mfaRequired: true;
54
+ mfaToken: string;
55
+ expiresAt: string;
56
+ }>;
57
+ /**
58
+ * Complete login by verifying TOTP with MFA token
59
+ */
60
+ verifyTotpLogin(mfaToken: string, code: string): Promise<SessionLoginResponse>;
61
+ /**
62
+ * Get user by session ID
63
+ */
64
+ getUserBySession(sessionId: string): Promise<User>;
65
+ /**
66
+ * Batch get multiple user profiles by session IDs (optimized for account switching)
67
+ * Returns array of { sessionId, user } objects
68
+ */
69
+ getUsersBySessions(sessionIds: string[]): Promise<Array<{
70
+ sessionId: string;
71
+ user: User | null;
72
+ }>>;
73
+ /**
74
+ * Get access token by session ID and set it in the token store
75
+ */
76
+ getTokenBySession(sessionId: string): Promise<{
77
+ accessToken: string;
78
+ expiresAt: string;
79
+ }>;
80
+ /**
81
+ * Get sessions by session ID
82
+ */
83
+ getSessionsBySessionId(sessionId: string): Promise<any[]>;
84
+ /**
85
+ * Logout from a specific session
86
+ */
87
+ logoutSession(sessionId: string, targetSessionId?: string): Promise<void>;
88
+ /**
89
+ * Logout from all sessions
90
+ */
91
+ logoutAllSessions(sessionId: string): Promise<void>;
92
+ /**
93
+ * Validate session
94
+ */
95
+ validateSession(sessionId: string, options?: {
96
+ deviceFingerprint?: string;
97
+ useHeaderValidation?: boolean;
98
+ }): Promise<{
99
+ valid: boolean;
100
+ expiresAt: string;
101
+ lastActivity: string;
102
+ user: User;
103
+ sessionId?: string;
104
+ source?: string;
105
+ }>;
106
+ /**
107
+ * Check username availability
108
+ */
109
+ checkUsernameAvailability(username: string): Promise<{
110
+ available: boolean;
111
+ message: string;
112
+ }>;
113
+ /**
114
+ * Check email availability
115
+ */
116
+ checkEmailAvailability(email: string): Promise<{
117
+ available: boolean;
118
+ message: string;
119
+ }>;
120
+ httpClient: import("../HttpClient").HttpClient;
121
+ requestManager: import("../RequestManager").RequestManager;
122
+ cloudURL: string;
123
+ config: import("../OxyServices.base").OxyConfig;
124
+ makeRequest<T_1>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../RequestManager").RequestOptions): Promise<T_1>;
125
+ getBaseURL(): string;
126
+ getClient(): import("../HttpClient").HttpClient;
127
+ getMetrics(): {
128
+ totalRequests: number;
129
+ successfulRequests: number;
130
+ failedRequests: number;
131
+ cacheHits: number;
132
+ cacheMisses: number;
133
+ averageResponseTime: number;
134
+ };
135
+ clearCache(): void;
136
+ clearCacheEntry(key: string): void;
137
+ getCacheStats(): {
138
+ size: number;
139
+ hits: number;
140
+ misses: number;
141
+ hitRate: number;
142
+ };
143
+ getCloudURL(): string;
144
+ setTokens(accessToken: string, refreshToken?: string): void;
145
+ clearTokens(): void;
146
+ getCurrentUserId(): string | null;
147
+ hasValidToken(): boolean;
148
+ getAccessToken(): string | null;
149
+ waitForAuth(timeoutMs?: number): Promise<boolean>;
150
+ waitForAuthentication(timeoutMs?: number): Promise<boolean>;
151
+ hasAccessToken(): boolean;
152
+ withAuthRetry<T_1>(operation: () => Promise<T_1>, operationName: string, options?: {
153
+ maxRetries?: number;
154
+ retryDelay?: number;
155
+ authTimeoutMs?: number;
156
+ }): Promise<T_1>;
157
+ validate(): Promise<boolean>;
158
+ handleError(error: any): Error;
159
+ healthCheck(): Promise<{
160
+ status: string;
161
+ users?: number;
162
+ timestamp?: string;
163
+ [key: string]: any;
164
+ }>;
165
+ };
166
+ __resetTokensForTests(): void;
167
+ } & T;
168
+ //# sourceMappingURL=OxyServices.auth.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OxyServices.auth.d.ts","sourceRoot":"","sources":["../../../../src/core/mixins/OxyServices.auth.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAG3D,wBAAgB,oBAAoB,CAAC,CAAC,SAAS,OAAO,eAAe,EAAE,IAAI,EAAE,CAAC;kBAErD,GAAG,EAAE;QAG1B;;WAEG;yBACoB,MAAM,SAAS,MAAM,YAAY,MAAM,GAAG,OAAO,CAAC;YAAE,OAAO,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,MAAM,CAAC;YAAC,IAAI,EAAE,IAAI,CAAA;SAAE,CAAC;QAgBxH;;WAEG;oCAC+B,MAAM,GAAG,OAAO,CAAC;YAAE,QAAQ,CAAC,EAAE,MAAM,CAAC;YAAC,WAAW,CAAC,EAAE,MAAM,CAAA;SAAE,CAAC;QAQ/F;;WAEG;uCACkC,MAAM,QAAQ,MAAM,GAAG,OAAO,CAAC;YAAE,QAAQ,EAAE,OAAO,CAAA;SAAE,CAAC;QAQ1F;;WAEG;kCAC6B,MAAM,QAAQ,MAAM,eAAe,MAAM,GAAG,OAAO,CAAC;YAAE,OAAO,EAAE,OAAO,CAAA;SAAE,CAAC;QAQzG;;WAEG;0CACqC,MAAM,QAAQ,MAAM,eAAe,MAAM,GAAG,OAAO,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E,OAAO,CAAC;YACf,SAAS,EAAE,MAAM,CAAC;YAClB,YAAY,EAAE,MAAM,CAAC;YACrB,IAAI,EAAE,IAAI,CAAC;YACX,SAAS,CAAC,EAAE,MAAM,CAAC;YACnB,MAAM,CAAC,EAAE,MAAM,CAAC;SACjB,CAAC;QAWF;;WAEG;4CACuC,MAAM,GAAG,OAAO,CAAC;YAAE,SAAS,EAAE,OAAO,CAAC;YAAC,OAAO,EAAE,MAAM,CAAA;SAAE,CAAC;QAQnG;;WAEG;sCACiC,MAAM,GAAG,OAAO,CAAC;YAAE,SAAS,EAAE,OAAO,CAAC;YAAC,OAAO,EAAE,MAAM,CAAA;SAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAlHvF,CAAC;sBAA0B,CAAC;yBAA6B,CAAC;;;;;;iBA+FtD,CAAC;qBACA,CAAC;;;;;MA0Bf"}
@@ -0,0 +1,103 @@
1
+ /**
2
+ * Developer API Methods Mixin
3
+ *
4
+ * Provides methods for managing developer applications and API keys
5
+ */
6
+ import type { OxyServicesBase } from '../OxyServices.base';
7
+ export declare function OxyServicesDeveloperMixin<T extends typeof OxyServicesBase>(Base: T): {
8
+ new (...args: any[]): {
9
+ /**
10
+ * Get developer apps for the current user
11
+ * @returns Array of developer apps
12
+ */
13
+ getDeveloperApps(): Promise<any[]>;
14
+ /**
15
+ * Create a new developer app
16
+ * @param data - Developer app configuration
17
+ * @returns Created developer app
18
+ */
19
+ createDeveloperApp(data: {
20
+ name: string;
21
+ description?: string;
22
+ webhookUrl: string;
23
+ devWebhookUrl?: string;
24
+ scopes?: string[];
25
+ }): Promise<any>;
26
+ /**
27
+ * Get a specific developer app
28
+ */
29
+ getDeveloperApp(appId: string): Promise<any>;
30
+ /**
31
+ * Update a developer app
32
+ * @param appId - The developer app ID
33
+ * @param data - Updated app configuration
34
+ * @returns Updated developer app
35
+ */
36
+ updateDeveloperApp(appId: string, data: {
37
+ name?: string;
38
+ description?: string;
39
+ webhookUrl?: string;
40
+ devWebhookUrl?: string;
41
+ scopes?: string[];
42
+ }): Promise<any>;
43
+ /**
44
+ * Regenerate API secret for a developer app
45
+ * @param appId - The developer app ID
46
+ * @returns App with new secret
47
+ */
48
+ regenerateDeveloperAppSecret(appId: string): Promise<any>;
49
+ /**
50
+ * Delete a developer app
51
+ * @param appId - The developer app ID
52
+ * @returns Deletion result
53
+ */
54
+ deleteDeveloperApp(appId: string): Promise<any>;
55
+ httpClient: import("../HttpClient").HttpClient;
56
+ requestManager: import("../RequestManager").RequestManager;
57
+ cloudURL: string;
58
+ config: import("../OxyServices.base").OxyConfig;
59
+ makeRequest<T_1>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../RequestManager").RequestOptions): Promise<T_1>;
60
+ getBaseURL(): string;
61
+ getClient(): import("../HttpClient").HttpClient;
62
+ getMetrics(): {
63
+ totalRequests: number;
64
+ successfulRequests: number;
65
+ failedRequests: number;
66
+ cacheHits: number;
67
+ cacheMisses: number;
68
+ averageResponseTime: number;
69
+ };
70
+ clearCache(): void;
71
+ clearCacheEntry(key: string): void;
72
+ getCacheStats(): {
73
+ size: number;
74
+ hits: number;
75
+ misses: number;
76
+ hitRate: number;
77
+ };
78
+ getCloudURL(): string;
79
+ setTokens(accessToken: string, refreshToken?: string): void;
80
+ clearTokens(): void;
81
+ getCurrentUserId(): string | null;
82
+ hasValidToken(): boolean;
83
+ getAccessToken(): string | null;
84
+ waitForAuth(timeoutMs?: number): Promise<boolean>;
85
+ waitForAuthentication(timeoutMs?: number): Promise<boolean>;
86
+ hasAccessToken(): boolean;
87
+ withAuthRetry<T_1>(operation: () => Promise<T_1>, operationName: string, options?: {
88
+ maxRetries?: number;
89
+ retryDelay?: number;
90
+ authTimeoutMs?: number;
91
+ }): Promise<T_1>;
92
+ validate(): Promise<boolean>;
93
+ handleError(error: any): Error;
94
+ healthCheck(): Promise<{
95
+ status: string;
96
+ users?: number;
97
+ timestamp?: string;
98
+ [key: string]: any;
99
+ }>;
100
+ };
101
+ __resetTokensForTests(): void;
102
+ } & T;
103
+ //# sourceMappingURL=OxyServices.developer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OxyServices.developer.d.ts","sourceRoot":"","sources":["../../../../src/core/mixins/OxyServices.developer.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAG3D,wBAAgB,yBAAyB,CAAC,CAAC,SAAS,OAAO,eAAe,EAAE,IAAI,EAAE,CAAC;kBAE1D,GAAG,EAAE;QAI1B;;;WAGG;4BACuB,OAAO,CAAC,GAAG,EAAE,CAAC;QAYxC;;;;WAIG;iCAC4B;YAC7B,IAAI,EAAE,MAAM,CAAC;YACb,WAAW,CAAC,EAAE,MAAM,CAAC;YACrB,UAAU,EAAE,MAAM,CAAC;YACnB,aAAa,CAAC,EAAE,MAAM,CAAC;YACvB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;SACnB,GAAG,OAAO,CAAC,GAAG,CAAC;QAShB;;WAEG;+BAC0B,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC;QAYlD;;;;;WAKG;kCAC6B,MAAM,QAAQ;YAC5C,IAAI,CAAC,EAAE,MAAM,CAAC;YACd,WAAW,CAAC,EAAE,MAAM,CAAC;YACrB,UAAU,CAAC,EAAE,MAAM,CAAC;YACpB,aAAa,CAAC,EAAE,MAAM,CAAC;YACvB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;SACnB,GAAG,OAAO,CAAC,GAAG,CAAC;QAShB;;;;WAIG;4CACuC,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC;QAQ/D;;;;WAIG;kCAC6B,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAU0kE,CAAC;sBAA0B,CAAC;yBAA6B,CAAC;;;;;;iBAA4wF,CAAC;qBAAwB,CAAC;;;;;MAFl+J"}
@@ -0,0 +1,93 @@
1
+ /**
2
+ * Device Methods Mixin
3
+ */
4
+ import type { OxyServicesBase } from '../OxyServices.base';
5
+ export declare function OxyServicesDevicesMixin<T extends typeof OxyServicesBase>(Base: T): {
6
+ new (...args: any[]): {
7
+ /**
8
+ * Register a new device
9
+ * @param deviceData - Device information
10
+ * @returns Registered device object
11
+ */
12
+ registerDevice(deviceData: any): Promise<any>;
13
+ /**
14
+ * Get all devices for the current user
15
+ * @returns Array of user devices
16
+ */
17
+ getUserDevices(): Promise<any[]>;
18
+ /**
19
+ * Remove a device
20
+ * @param deviceId - The device ID to remove
21
+ */
22
+ removeDevice(deviceId: string): Promise<void>;
23
+ /**
24
+ * Get device sessions for a given session ID
25
+ * Note: Not cached by default to ensure fresh data
26
+ * @param sessionId - The session ID
27
+ * @returns Array of device sessions
28
+ */
29
+ getDeviceSessions(sessionId: string): Promise<any[]>;
30
+ /**
31
+ * Logout all device sessions
32
+ * @param sessionId - The session ID
33
+ * @param deviceId - Optional device ID to target
34
+ * @param excludeCurrent - Whether to exclude the current session
35
+ * @returns Logout result
36
+ */
37
+ logoutAllDeviceSessions(sessionId: string, deviceId?: string, excludeCurrent?: boolean): Promise<any>;
38
+ /**
39
+ * Update device name
40
+ * @param sessionId - The session ID
41
+ * @param deviceName - New device name
42
+ * @returns Updated device object
43
+ */
44
+ updateDeviceName(sessionId: string, deviceName: string): Promise<any>;
45
+ httpClient: import("../HttpClient").HttpClient;
46
+ requestManager: import("../RequestManager").RequestManager;
47
+ cloudURL: string;
48
+ config: import("../OxyServices.base").OxyConfig;
49
+ makeRequest<T_1>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../RequestManager").RequestOptions): Promise<T_1>;
50
+ getBaseURL(): string;
51
+ getClient(): import("../HttpClient").HttpClient;
52
+ getMetrics(): {
53
+ totalRequests: number;
54
+ successfulRequests: number;
55
+ failedRequests: number;
56
+ cacheHits: number;
57
+ cacheMisses: number;
58
+ averageResponseTime: number;
59
+ };
60
+ clearCache(): void;
61
+ clearCacheEntry(key: string): void;
62
+ getCacheStats(): {
63
+ size: number;
64
+ hits: number;
65
+ misses: number;
66
+ hitRate: number;
67
+ };
68
+ getCloudURL(): string;
69
+ setTokens(accessToken: string, refreshToken?: string): void;
70
+ clearTokens(): void;
71
+ getCurrentUserId(): string | null;
72
+ hasValidToken(): boolean;
73
+ getAccessToken(): string | null;
74
+ waitForAuth(timeoutMs?: number): Promise<boolean>;
75
+ waitForAuthentication(timeoutMs?: number): Promise<boolean>;
76
+ hasAccessToken(): boolean;
77
+ withAuthRetry<T_1>(operation: () => Promise<T_1>, operationName: string, options?: {
78
+ maxRetries?: number;
79
+ retryDelay?: number;
80
+ authTimeoutMs?: number;
81
+ }): Promise<T_1>;
82
+ validate(): Promise<boolean>;
83
+ handleError(error: any): Error;
84
+ healthCheck(): Promise<{
85
+ status: string;
86
+ users?: number;
87
+ timestamp?: string;
88
+ [key: string]: any;
89
+ }>;
90
+ };
91
+ __resetTokensForTests(): void;
92
+ } & T;
93
+ //# sourceMappingURL=OxyServices.devices.d.ts.map