@oxyhq/services 5.13.24 → 5.13.26
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/lib/commonjs/core/HttpService.js +481 -0
- package/lib/commonjs/core/HttpService.js.map +1 -0
- package/lib/commonjs/core/OxyServices.base.js +29 -26
- package/lib/commonjs/core/OxyServices.base.js.map +1 -1
- package/lib/commonjs/core/OxyServices.js +1 -2
- package/lib/commonjs/core/OxyServices.js.map +1 -1
- package/lib/commonjs/core/mixins/OxyServices.assets.js +3 -2
- package/lib/commonjs/core/mixins/OxyServices.assets.js.map +1 -1
- package/lib/commonjs/core/mixins/OxyServices.user.js +9 -5
- package/lib/commonjs/core/mixins/OxyServices.user.js.map +1 -1
- package/lib/commonjs/core/mixins/OxyServices.utility.js +1 -0
- package/lib/commonjs/core/mixins/OxyServices.utility.js.map +1 -1
- package/lib/commonjs/ui/components/FollowButton.js +0 -53
- package/lib/commonjs/ui/components/FollowButton.js.map +1 -1
- package/lib/commonjs/utils/asyncUtils.js +23 -3
- package/lib/commonjs/utils/asyncUtils.js.map +1 -1
- package/lib/commonjs/utils/errorUtils.js +48 -33
- package/lib/commonjs/utils/errorUtils.js.map +1 -1
- package/lib/commonjs/utils/validationUtils.js +15 -0
- package/lib/commonjs/utils/validationUtils.js.map +1 -1
- package/lib/module/core/HttpService.js +476 -0
- package/lib/module/core/HttpService.js.map +1 -0
- package/lib/module/core/OxyServices.base.js +29 -26
- package/lib/module/core/OxyServices.base.js.map +1 -1
- package/lib/module/core/OxyServices.js +1 -2
- package/lib/module/core/OxyServices.js.map +1 -1
- package/lib/module/core/mixins/OxyServices.assets.js +3 -2
- package/lib/module/core/mixins/OxyServices.assets.js.map +1 -1
- package/lib/module/core/mixins/OxyServices.user.js +9 -5
- package/lib/module/core/mixins/OxyServices.user.js.map +1 -1
- package/lib/module/core/mixins/OxyServices.utility.js +1 -0
- package/lib/module/core/mixins/OxyServices.utility.js.map +1 -1
- package/lib/module/ui/components/FollowButton.js +1 -54
- package/lib/module/ui/components/FollowButton.js.map +1 -1
- package/lib/module/utils/asyncUtils.js +24 -3
- package/lib/module/utils/asyncUtils.js.map +1 -1
- package/lib/module/utils/errorUtils.js +43 -33
- package/lib/module/utils/errorUtils.js.map +1 -1
- package/lib/module/utils/validationUtils.js +14 -0
- package/lib/module/utils/validationUtils.js.map +1 -1
- package/lib/typescript/core/HttpService.d.ts +111 -0
- package/lib/typescript/core/HttpService.d.ts.map +1 -0
- package/lib/typescript/core/OxyServices.base.d.ts +6 -8
- package/lib/typescript/core/OxyServices.base.d.ts.map +1 -1
- package/lib/typescript/core/OxyServices.d.ts +1 -2
- package/lib/typescript/core/OxyServices.d.ts.map +1 -1
- package/lib/typescript/core/mixins/OxyServices.analytics.d.ts +4 -5
- package/lib/typescript/core/mixins/OxyServices.analytics.d.ts.map +1 -1
- package/lib/typescript/core/mixins/OxyServices.assets.d.ts +4 -5
- package/lib/typescript/core/mixins/OxyServices.assets.d.ts.map +1 -1
- package/lib/typescript/core/mixins/OxyServices.auth.d.ts +4 -5
- package/lib/typescript/core/mixins/OxyServices.auth.d.ts.map +1 -1
- package/lib/typescript/core/mixins/OxyServices.developer.d.ts +4 -5
- package/lib/typescript/core/mixins/OxyServices.developer.d.ts.map +1 -1
- package/lib/typescript/core/mixins/OxyServices.devices.d.ts +4 -5
- package/lib/typescript/core/mixins/OxyServices.devices.d.ts.map +1 -1
- package/lib/typescript/core/mixins/OxyServices.karma.d.ts +4 -5
- package/lib/typescript/core/mixins/OxyServices.karma.d.ts.map +1 -1
- package/lib/typescript/core/mixins/OxyServices.language.d.ts +4 -5
- package/lib/typescript/core/mixins/OxyServices.language.d.ts.map +1 -1
- package/lib/typescript/core/mixins/OxyServices.location.d.ts +4 -5
- package/lib/typescript/core/mixins/OxyServices.location.d.ts.map +1 -1
- package/lib/typescript/core/mixins/OxyServices.payment.d.ts +4 -5
- package/lib/typescript/core/mixins/OxyServices.payment.d.ts.map +1 -1
- package/lib/typescript/core/mixins/OxyServices.privacy.d.ts +4 -5
- package/lib/typescript/core/mixins/OxyServices.privacy.d.ts.map +1 -1
- package/lib/typescript/core/mixins/OxyServices.totp.d.ts +4 -5
- package/lib/typescript/core/mixins/OxyServices.totp.d.ts.map +1 -1
- package/lib/typescript/core/mixins/OxyServices.user.d.ts +4 -5
- package/lib/typescript/core/mixins/OxyServices.user.d.ts.map +1 -1
- package/lib/typescript/core/mixins/OxyServices.utility.d.ts +4 -5
- package/lib/typescript/core/mixins/OxyServices.utility.d.ts.map +1 -1
- package/lib/typescript/core/mixins/index.d.ts +52 -65
- package/lib/typescript/core/mixins/index.d.ts.map +1 -1
- package/lib/typescript/ui/components/FollowButton.d.ts.map +1 -1
- package/lib/typescript/utils/asyncUtils.d.ts +4 -0
- package/lib/typescript/utils/asyncUtils.d.ts.map +1 -1
- package/lib/typescript/utils/errorUtils.d.ts +9 -1
- package/lib/typescript/utils/errorUtils.d.ts.map +1 -1
- package/lib/typescript/utils/validationUtils.d.ts +6 -0
- package/lib/typescript/utils/validationUtils.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/core/HttpService.ts +523 -0
- package/src/core/OxyServices.base.ts +36 -34
- package/src/core/OxyServices.ts +1 -2
- package/src/core/mixins/OxyServices.assets.ts +2 -1
- package/src/core/mixins/OxyServices.user.ts +7 -6
- package/src/core/mixins/OxyServices.utility.ts +1 -0
- package/src/ui/components/FollowButton.tsx +0 -53
- package/src/utils/asyncUtils.ts +23 -3
- package/src/utils/errorUtils.ts +72 -45
- package/src/utils/validationUtils.ts +14 -0
- package/lib/commonjs/core/HttpClient.js +0 -317
- package/lib/commonjs/core/HttpClient.js.map +0 -1
- package/lib/commonjs/core/RequestManager.js +0 -199
- package/lib/commonjs/core/RequestManager.js.map +0 -1
- package/lib/module/core/HttpClient.js +0 -311
- package/lib/module/core/HttpClient.js.map +0 -1
- package/lib/module/core/RequestManager.js +0 -194
- package/lib/module/core/RequestManager.js.map +0 -1
- package/lib/typescript/core/HttpClient.d.ts +0 -110
- package/lib/typescript/core/HttpClient.d.ts.map +0 -1
- package/lib/typescript/core/RequestManager.d.ts +0 -67
- package/lib/typescript/core/RequestManager.d.ts.map +0 -1
- package/src/core/HttpClient.ts +0 -346
- package/src/core/RequestManager.ts +0 -240
|
@@ -38,13 +38,12 @@ export declare function OxyServicesKarmaMixin<T extends typeof OxyServicesBase>(
|
|
|
38
38
|
* @returns Karma rules
|
|
39
39
|
*/
|
|
40
40
|
getKarmaRules(): Promise<any>;
|
|
41
|
-
|
|
42
|
-
requestManager: import("../RequestManager").RequestManager;
|
|
41
|
+
httpService: import("../HttpService").HttpService;
|
|
43
42
|
cloudURL: string;
|
|
44
43
|
config: import("../OxyServices.base").OxyConfig;
|
|
45
|
-
makeRequest<T_1>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../
|
|
44
|
+
makeRequest<T_1>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../HttpService").RequestOptions): Promise<T_1>;
|
|
46
45
|
getBaseURL(): string;
|
|
47
|
-
getClient(): import("../
|
|
46
|
+
getClient(): import("../HttpService").HttpService;
|
|
48
47
|
getMetrics(): {
|
|
49
48
|
totalRequests: number;
|
|
50
49
|
successfulRequests: number;
|
|
@@ -74,7 +73,7 @@ export declare function OxyServicesKarmaMixin<T extends typeof OxyServicesBase>(
|
|
|
74
73
|
authTimeoutMs?: number;
|
|
75
74
|
}): Promise<T_1>;
|
|
76
75
|
validate(): Promise<boolean>;
|
|
77
|
-
handleError(error:
|
|
76
|
+
handleError(error: unknown): Error;
|
|
78
77
|
healthCheck(): Promise<{
|
|
79
78
|
status: string;
|
|
80
79
|
users?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OxyServices.karma.d.ts","sourceRoot":"","sources":["../../../../src/core/mixins/OxyServices.karma.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,eAAe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B,CAAC;;;;;;iBAA+5F,CAAC;qBAAwB,CAAC;;;;;MAFv9L"}
|
|
@@ -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
|
-
|
|
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("../
|
|
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("../
|
|
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:
|
|
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,wBAAw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ACvD,UAAU,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,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
|
-
|
|
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("../
|
|
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("../
|
|
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:
|
|
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
|
|
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
|
-
|
|
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("../
|
|
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("../
|
|
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:
|
|
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
|
|
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
|
-
|
|
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("../
|
|
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("../
|
|
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:
|
|
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;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GG;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;;;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
|
-
|
|
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("../
|
|
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("../
|
|
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:
|
|
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
|
|
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
|
-
|
|
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("../
|
|
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("../
|
|
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:
|
|
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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: any, next: any) => any;
|
|
49
|
-
|
|
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("../
|
|
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("../
|
|
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:
|
|
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,CAA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qBAAwB,CAAC;;;;;MAF93F"}
|
|
@@ -27,13 +27,12 @@ export declare function composeOxyServices(): {
|
|
|
27
27
|
loadUser?: boolean;
|
|
28
28
|
session?: boolean;
|
|
29
29
|
}): (req: any, res: any, next: any) => any;
|
|
30
|
-
|
|
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("../
|
|
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("../
|
|
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:
|
|
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
|
-
|
|
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("../
|
|
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("../
|
|
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:
|
|
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
|
-
|
|
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("../
|
|
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("../
|
|
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:
|
|
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
|
-
|
|
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("../
|
|
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("../
|
|
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:
|
|
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
|
-
|
|
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("../
|
|
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("../
|
|
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:
|
|
277
|
+
handleError(error: unknown): Error;
|
|
283
278
|
healthCheck(): Promise<{
|
|
284
279
|
status: string;
|
|
285
280
|
users?: number;
|
|
@@ -323,13 +318,12 @@ export declare function composeOxyServices(): {
|
|
|
323
318
|
fetchAssetDownloadUrl(fileId: string, variant?: string, cacheTTL?: number, expiresIn?: number): Promise<string | null>;
|
|
324
319
|
fetchAssetContent(url: string, type: "text"): Promise<string>;
|
|
325
320
|
fetchAssetContent(url: string, type: "blob"): Promise<Blob>;
|
|
326
|
-
|
|
327
|
-
requestManager: import("../RequestManager").RequestManager;
|
|
321
|
+
httpService: import("../HttpService").HttpService;
|
|
328
322
|
cloudURL: string;
|
|
329
323
|
config: import("../OxyServices.base").OxyConfig;
|
|
330
|
-
makeRequest<T>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../
|
|
324
|
+
makeRequest<T>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../HttpService").RequestOptions): Promise<T>;
|
|
331
325
|
getBaseURL(): string;
|
|
332
|
-
getClient(): import("../
|
|
326
|
+
getClient(): import("../HttpService").HttpService;
|
|
333
327
|
getMetrics(): {
|
|
334
328
|
totalRequests: number;
|
|
335
329
|
successfulRequests: number;
|
|
@@ -359,7 +353,7 @@ export declare function composeOxyServices(): {
|
|
|
359
353
|
authTimeoutMs?: number;
|
|
360
354
|
}): Promise<T>;
|
|
361
355
|
validate(): Promise<boolean>;
|
|
362
|
-
handleError(error:
|
|
356
|
+
handleError(error: unknown): Error;
|
|
363
357
|
healthCheck(): Promise<{
|
|
364
358
|
status: string;
|
|
365
359
|
users?: number;
|
|
@@ -376,13 +370,12 @@ export declare function composeOxyServices(): {
|
|
|
376
370
|
getUserKarmaHistory(userId: string, limit?: number, offset?: number): Promise<any>;
|
|
377
371
|
getKarmaLeaderboard(): Promise<any>;
|
|
378
372
|
getKarmaRules(): Promise<any>;
|
|
379
|
-
|
|
380
|
-
requestManager: import("../RequestManager").RequestManager;
|
|
373
|
+
httpService: import("../HttpService").HttpService;
|
|
381
374
|
cloudURL: string;
|
|
382
375
|
config: import("../OxyServices.base").OxyConfig;
|
|
383
|
-
makeRequest<T>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../
|
|
376
|
+
makeRequest<T>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../HttpService").RequestOptions): Promise<T>;
|
|
384
377
|
getBaseURL(): string;
|
|
385
|
-
getClient(): import("../
|
|
378
|
+
getClient(): import("../HttpService").HttpService;
|
|
386
379
|
getMetrics(): {
|
|
387
380
|
totalRequests: number;
|
|
388
381
|
successfulRequests: number;
|
|
@@ -412,7 +405,7 @@ export declare function composeOxyServices(): {
|
|
|
412
405
|
authTimeoutMs?: number;
|
|
413
406
|
}): Promise<T>;
|
|
414
407
|
validate(): Promise<boolean>;
|
|
415
|
-
handleError(error:
|
|
408
|
+
handleError(error: unknown): Error;
|
|
416
409
|
healthCheck(): Promise<{
|
|
417
410
|
status: string;
|
|
418
411
|
users?: number;
|
|
@@ -426,13 +419,12 @@ export declare function composeOxyServices(): {
|
|
|
426
419
|
createPayment(data: any): Promise<any>;
|
|
427
420
|
getPayment(paymentId: string): Promise<any>;
|
|
428
421
|
getUserPayments(): Promise<any[]>;
|
|
429
|
-
|
|
430
|
-
requestManager: import("../RequestManager").RequestManager;
|
|
422
|
+
httpService: import("../HttpService").HttpService;
|
|
431
423
|
cloudURL: string;
|
|
432
424
|
config: import("../OxyServices.base").OxyConfig;
|
|
433
|
-
makeRequest<T>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../
|
|
425
|
+
makeRequest<T>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../HttpService").RequestOptions): Promise<T>;
|
|
434
426
|
getBaseURL(): string;
|
|
435
|
-
getClient(): import("../
|
|
427
|
+
getClient(): import("../HttpService").HttpService;
|
|
436
428
|
getMetrics(): {
|
|
437
429
|
totalRequests: number;
|
|
438
430
|
successfulRequests: number;
|
|
@@ -462,7 +454,7 @@ export declare function composeOxyServices(): {
|
|
|
462
454
|
authTimeoutMs?: number;
|
|
463
455
|
}): Promise<T>;
|
|
464
456
|
validate(): Promise<boolean>;
|
|
465
|
-
handleError(error:
|
|
457
|
+
handleError(error: unknown): Error;
|
|
466
458
|
healthCheck(): Promise<{
|
|
467
459
|
status: string;
|
|
468
460
|
users?: number;
|
|
@@ -482,13 +474,12 @@ export declare function composeOxyServices(): {
|
|
|
482
474
|
getCurrentLanguageMetadata(storageKeyPrefix?: string): Promise<import("..").LanguageMetadata | null>;
|
|
483
475
|
getCurrentLanguageName(storageKeyPrefix?: string): Promise<string | null>;
|
|
484
476
|
getCurrentNativeLanguageName(storageKeyPrefix?: string): Promise<string | null>;
|
|
485
|
-
|
|
486
|
-
requestManager: import("../RequestManager").RequestManager;
|
|
477
|
+
httpService: import("../HttpService").HttpService;
|
|
487
478
|
cloudURL: string;
|
|
488
479
|
config: import("../OxyServices.base").OxyConfig;
|
|
489
|
-
makeRequest<T>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../
|
|
480
|
+
makeRequest<T>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../HttpService").RequestOptions): Promise<T>;
|
|
490
481
|
getBaseURL(): string;
|
|
491
|
-
getClient(): import("../
|
|
482
|
+
getClient(): import("../HttpService").HttpService;
|
|
492
483
|
getMetrics(): {
|
|
493
484
|
totalRequests: number;
|
|
494
485
|
successfulRequests: number;
|
|
@@ -518,7 +509,7 @@ export declare function composeOxyServices(): {
|
|
|
518
509
|
authTimeoutMs?: number;
|
|
519
510
|
}): Promise<T>;
|
|
520
511
|
validate(): Promise<boolean>;
|
|
521
|
-
handleError(error:
|
|
512
|
+
handleError(error: unknown): Error;
|
|
522
513
|
healthCheck(): Promise<{
|
|
523
514
|
status: string;
|
|
524
515
|
users?: number;
|
|
@@ -555,13 +546,12 @@ export declare function composeOxyServices(): {
|
|
|
555
546
|
message: string;
|
|
556
547
|
}>;
|
|
557
548
|
isUserRestricted(userId: string): Promise<boolean>;
|
|
558
|
-
|
|
559
|
-
requestManager: import("../RequestManager").RequestManager;
|
|
549
|
+
httpService: import("../HttpService").HttpService;
|
|
560
550
|
cloudURL: string;
|
|
561
551
|
config: import("../OxyServices.base").OxyConfig;
|
|
562
|
-
makeRequest<T>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../
|
|
552
|
+
makeRequest<T>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../HttpService").RequestOptions): Promise<T>;
|
|
563
553
|
getBaseURL(): string;
|
|
564
|
-
getClient(): import("../
|
|
554
|
+
getClient(): import("../HttpService").HttpService;
|
|
565
555
|
getMetrics(): {
|
|
566
556
|
totalRequests: number;
|
|
567
557
|
successfulRequests: number;
|
|
@@ -591,7 +581,7 @@ export declare function composeOxyServices(): {
|
|
|
591
581
|
authTimeoutMs?: number;
|
|
592
582
|
}): Promise<T>;
|
|
593
583
|
validate(): Promise<boolean>;
|
|
594
|
-
handleError(error:
|
|
584
|
+
handleError(error: unknown): Error;
|
|
595
585
|
healthCheck(): Promise<{
|
|
596
586
|
status: string;
|
|
597
587
|
users?: number;
|
|
@@ -616,13 +606,12 @@ export declare function composeOxyServices(): {
|
|
|
616
606
|
disableTotp(sessionId: string, code: string): Promise<{
|
|
617
607
|
disabled: boolean;
|
|
618
608
|
}>;
|
|
619
|
-
|
|
620
|
-
requestManager: import("../RequestManager").RequestManager;
|
|
609
|
+
httpService: import("../HttpService").HttpService;
|
|
621
610
|
cloudURL: string;
|
|
622
611
|
config: import("../OxyServices.base").OxyConfig;
|
|
623
|
-
makeRequest<T>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../
|
|
612
|
+
makeRequest<T>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../HttpService").RequestOptions): Promise<T>;
|
|
624
613
|
getBaseURL(): string;
|
|
625
|
-
getClient(): import("../
|
|
614
|
+
getClient(): import("../HttpService").HttpService;
|
|
626
615
|
getMetrics(): {
|
|
627
616
|
totalRequests: number;
|
|
628
617
|
successfulRequests: number;
|
|
@@ -652,7 +641,7 @@ export declare function composeOxyServices(): {
|
|
|
652
641
|
authTimeoutMs?: number;
|
|
653
642
|
}): Promise<T>;
|
|
654
643
|
validate(): Promise<boolean>;
|
|
655
|
-
handleError(error:
|
|
644
|
+
handleError(error: unknown): Error;
|
|
656
645
|
healthCheck(): Promise<{
|
|
657
646
|
status: string;
|
|
658
647
|
users?: number;
|
|
@@ -721,13 +710,12 @@ export declare function composeOxyServices(): {
|
|
|
721
710
|
markNotificationAsRead(notificationId: string): Promise<void>;
|
|
722
711
|
markAllNotificationsAsRead(): Promise<void>;
|
|
723
712
|
deleteNotification(notificationId: string): Promise<void>;
|
|
724
|
-
|
|
725
|
-
requestManager: import("../RequestManager").RequestManager;
|
|
713
|
+
httpService: import("../HttpService").HttpService;
|
|
726
714
|
cloudURL: string;
|
|
727
715
|
config: import("../OxyServices.base").OxyConfig;
|
|
728
|
-
makeRequest<T>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../
|
|
716
|
+
makeRequest<T>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../HttpService").RequestOptions): Promise<T>;
|
|
729
717
|
getBaseURL(): string;
|
|
730
|
-
getClient(): import("../
|
|
718
|
+
getClient(): import("../HttpService").HttpService;
|
|
731
719
|
getMetrics(): {
|
|
732
720
|
totalRequests: number;
|
|
733
721
|
successfulRequests: number;
|
|
@@ -757,7 +745,7 @@ export declare function composeOxyServices(): {
|
|
|
757
745
|
authTimeoutMs?: number;
|
|
758
746
|
}): Promise<T>;
|
|
759
747
|
validate(): Promise<boolean>;
|
|
760
|
-
handleError(error:
|
|
748
|
+
handleError(error: unknown): Error;
|
|
761
749
|
healthCheck(): Promise<{
|
|
762
750
|
status: string;
|
|
763
751
|
users?: number;
|
|
@@ -830,13 +818,12 @@ export declare function composeOxyServices(): {
|
|
|
830
818
|
available: boolean;
|
|
831
819
|
message: string;
|
|
832
820
|
}>;
|
|
833
|
-
|
|
834
|
-
requestManager: import("../RequestManager").RequestManager;
|
|
821
|
+
httpService: import("../HttpService").HttpService;
|
|
835
822
|
cloudURL: string;
|
|
836
823
|
config: import("../OxyServices.base").OxyConfig;
|
|
837
|
-
makeRequest<T>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../
|
|
824
|
+
makeRequest<T>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../HttpService").RequestOptions): Promise<T>;
|
|
838
825
|
getBaseURL(): string;
|
|
839
|
-
getClient(): import("../
|
|
826
|
+
getClient(): import("../HttpService").HttpService;
|
|
840
827
|
getMetrics(): {
|
|
841
828
|
totalRequests: number;
|
|
842
829
|
successfulRequests: number;
|
|
@@ -866,7 +853,7 @@ export declare function composeOxyServices(): {
|
|
|
866
853
|
authTimeoutMs?: number;
|
|
867
854
|
}): Promise<T>;
|
|
868
855
|
validate(): Promise<boolean>;
|
|
869
|
-
handleError(error:
|
|
856
|
+
handleError(error: unknown): Error;
|
|
870
857
|
healthCheck(): Promise<{
|
|
871
858
|
status: string;
|
|
872
859
|
users?: number;
|