zorihq 0.8.0 → 0.10.0

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 (133) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/README.md +18 -16
  3. package/package.json +1 -1
  4. package/resources/v1/analytics/analytics.d.mts +39 -124
  5. package/resources/v1/analytics/analytics.d.mts.map +1 -1
  6. package/resources/v1/analytics/analytics.d.ts +39 -124
  7. package/resources/v1/analytics/analytics.d.ts.map +1 -1
  8. package/resources/v1/analytics/analytics.js +0 -4
  9. package/resources/v1/analytics/analytics.js.map +1 -1
  10. package/resources/v1/analytics/analytics.mjs +0 -4
  11. package/resources/v1/analytics/analytics.mjs.map +1 -1
  12. package/resources/v1/analytics/index.d.mts +1 -2
  13. package/resources/v1/analytics/index.d.mts.map +1 -1
  14. package/resources/v1/analytics/index.d.ts +1 -2
  15. package/resources/v1/analytics/index.d.ts.map +1 -1
  16. package/resources/v1/analytics/index.js +1 -3
  17. package/resources/v1/analytics/index.js.map +1 -1
  18. package/resources/v1/analytics/index.mjs +0 -1
  19. package/resources/v1/analytics/index.mjs.map +1 -1
  20. package/resources/v1/index.d.mts +3 -3
  21. package/resources/v1/index.d.mts.map +1 -1
  22. package/resources/v1/index.d.ts +3 -3
  23. package/resources/v1/index.d.ts.map +1 -1
  24. package/resources/v1/index.js +3 -3
  25. package/resources/v1/index.js.map +1 -1
  26. package/resources/v1/index.mjs +1 -1
  27. package/resources/v1/index.mjs.map +1 -1
  28. package/resources/v1/payment-providers.d.mts +38 -1
  29. package/resources/v1/payment-providers.d.mts.map +1 -1
  30. package/resources/v1/payment-providers.d.ts +38 -1
  31. package/resources/v1/payment-providers.d.ts.map +1 -1
  32. package/resources/v1/payment-providers.js +15 -0
  33. package/resources/v1/payment-providers.js.map +1 -1
  34. package/resources/v1/payment-providers.mjs +15 -0
  35. package/resources/v1/payment-providers.mjs.map +1 -1
  36. package/resources/v1/projects.d.mts +0 -3
  37. package/resources/v1/projects.d.mts.map +1 -1
  38. package/resources/v1/projects.d.ts +0 -3
  39. package/resources/v1/projects.d.ts.map +1 -1
  40. package/resources/v1/projects.js.map +1 -1
  41. package/resources/v1/projects.mjs.map +1 -1
  42. package/resources/v1/{analytics/revenue.d.mts → revenue/attribution.d.mts} +21 -19
  43. package/resources/v1/revenue/attribution.d.mts.map +1 -0
  44. package/resources/v1/{analytics/revenue.d.ts → revenue/attribution.d.ts} +21 -19
  45. package/resources/v1/revenue/attribution.d.ts.map +1 -0
  46. package/resources/v1/revenue/attribution.js +41 -0
  47. package/resources/v1/revenue/attribution.js.map +1 -0
  48. package/resources/v1/revenue/attribution.mjs +37 -0
  49. package/resources/v1/revenue/attribution.mjs.map +1 -0
  50. package/resources/v1/revenue/conversion.d.mts +34 -0
  51. package/resources/v1/revenue/conversion.d.mts.map +1 -0
  52. package/resources/v1/revenue/conversion.d.ts +34 -0
  53. package/resources/v1/revenue/conversion.d.ts.map +1 -0
  54. package/resources/v1/revenue/conversion.js +25 -0
  55. package/resources/v1/revenue/conversion.js.map +1 -0
  56. package/resources/v1/revenue/conversion.mjs +21 -0
  57. package/resources/v1/revenue/conversion.mjs.map +1 -0
  58. package/resources/v1/revenue/customers.d.mts +61 -0
  59. package/resources/v1/revenue/customers.d.mts.map +1 -0
  60. package/resources/v1/revenue/customers.d.ts +61 -0
  61. package/resources/v1/revenue/customers.d.ts.map +1 -0
  62. package/resources/v1/revenue/customers.js +40 -0
  63. package/resources/v1/revenue/customers.js.map +1 -0
  64. package/resources/v1/revenue/customers.mjs +36 -0
  65. package/resources/v1/revenue/customers.mjs.map +1 -0
  66. package/resources/v1/revenue/index.d.mts +5 -0
  67. package/resources/v1/revenue/index.d.mts.map +1 -0
  68. package/resources/v1/revenue/index.d.ts +5 -0
  69. package/resources/v1/revenue/index.d.ts.map +1 -0
  70. package/resources/v1/revenue/index.js +13 -0
  71. package/resources/v1/revenue/index.js.map +1 -0
  72. package/resources/v1/revenue/index.mjs +6 -0
  73. package/resources/v1/revenue/index.mjs.map +1 -0
  74. package/resources/v1/revenue/revenue.d.mts +252 -0
  75. package/resources/v1/revenue/revenue.d.mts.map +1 -0
  76. package/resources/v1/revenue/revenue.d.ts +252 -0
  77. package/resources/v1/revenue/revenue.d.ts.map +1 -0
  78. package/resources/v1/revenue/revenue.js +53 -0
  79. package/resources/v1/revenue/revenue.js.map +1 -0
  80. package/resources/v1/revenue/revenue.mjs +48 -0
  81. package/resources/v1/revenue/revenue.mjs.map +1 -0
  82. package/resources/v1/revenue.d.mts +2 -0
  83. package/resources/v1/revenue.d.mts.map +1 -0
  84. package/resources/v1/revenue.d.ts +2 -0
  85. package/resources/v1/revenue.d.ts.map +1 -0
  86. package/resources/v1/revenue.js +6 -0
  87. package/resources/v1/revenue.js.map +1 -0
  88. package/resources/v1/revenue.mjs +3 -0
  89. package/resources/v1/revenue.mjs.map +1 -0
  90. package/resources/v1/v1.d.mts +8 -8
  91. package/resources/v1/v1.d.mts.map +1 -1
  92. package/resources/v1/v1.d.ts +8 -8
  93. package/resources/v1/v1.d.ts.map +1 -1
  94. package/resources/v1/v1.js +4 -4
  95. package/resources/v1/v1.js.map +1 -1
  96. package/resources/v1/v1.mjs +4 -4
  97. package/resources/v1/v1.mjs.map +1 -1
  98. package/src/resources/v1/analytics/analytics.ts +56 -175
  99. package/src/resources/v1/analytics/index.ts +0 -6
  100. package/src/resources/v1/index.ts +21 -18
  101. package/src/resources/v1/payment-providers.ts +58 -0
  102. package/src/resources/v1/projects.ts +0 -5
  103. package/src/resources/v1/{analytics/revenue.ts → revenue/attribution.ts} +29 -24
  104. package/src/resources/v1/revenue/conversion.ts +44 -0
  105. package/src/resources/v1/revenue/customers.ts +77 -0
  106. package/src/resources/v1/revenue/index.ts +23 -0
  107. package/src/resources/v1/revenue/revenue.ts +382 -0
  108. package/src/resources/v1/revenue.ts +3 -0
  109. package/src/resources/v1/v1.ts +46 -40
  110. package/src/version.ts +1 -1
  111. package/version.d.mts +1 -1
  112. package/version.d.mts.map +1 -1
  113. package/version.d.ts +1 -1
  114. package/version.d.ts.map +1 -1
  115. package/version.js +1 -1
  116. package/version.js.map +1 -1
  117. package/version.mjs +1 -1
  118. package/version.mjs.map +1 -1
  119. package/resources/v1/analytics/revenue.d.mts.map +0 -1
  120. package/resources/v1/analytics/revenue.d.ts.map +0 -1
  121. package/resources/v1/analytics/revenue.js +0 -39
  122. package/resources/v1/analytics/revenue.js.map +0 -1
  123. package/resources/v1/analytics/revenue.mjs +0 -35
  124. package/resources/v1/analytics/revenue.mjs.map +0 -1
  125. package/resources/v1/auth.d.mts +0 -141
  126. package/resources/v1/auth.d.mts.map +0 -1
  127. package/resources/v1/auth.d.ts +0 -141
  128. package/resources/v1/auth.d.ts.map +0 -1
  129. package/resources/v1/auth.js +0 -95
  130. package/resources/v1/auth.js.map +0 -1
  131. package/resources/v1/auth.mjs +0 -91
  132. package/resources/v1/auth.mjs.map +0 -1
  133. package/src/resources/v1/auth.ts +0 -210
@@ -0,0 +1 @@
1
+ {"version":3,"file":"conversion.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/revenue/conversion.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;;OAYG;IACH,OAAO,CACL,KAAK,EAAE,uBAAuB,EAC9B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,UAAU,CAAC,yBAAyB,CAAC;CAGpD;AAED,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,EAAE,WAAW,GAAG,OAAO,GAAG,aAAa,GAAG,cAAc,GAAG,cAAc,CAAC;CACrF;AAED,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EAAE,KAAK,uBAAuB,IAAI,uBAAuB,EAAE,CAAC;CACpE"}
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Conversion = void 0;
5
+ const resource_1 = require("../../../core/resource.js");
6
+ class Conversion extends resource_1.APIResource {
7
+ /**
8
+ * Get conversion funnel metrics including conversion rate, time to purchase, and
9
+ * customer lifetime value
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * const conversionMetricsResponse =
14
+ * await client.v1.revenue.conversion.metrics({
15
+ * project_id: 'project_id',
16
+ * time_range: 'last_hour',
17
+ * });
18
+ * ```
19
+ */
20
+ metrics(query, options) {
21
+ return this._client.get('/api/v1/revenue/conversion/metrics', { query, ...options });
22
+ }
23
+ }
24
+ exports.Conversion = Conversion;
25
+ //# sourceMappingURL=conversion.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"conversion.js","sourceRoot":"","sources":["../../../src/resources/v1/revenue/conversion.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAKrD,MAAa,UAAW,SAAQ,sBAAW;IACzC;;;;;;;;;;;;OAYG;IACH,OAAO,CACL,KAA8B,EAC9B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,oCAAoC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvF,CAAC;CACF;AApBD,gCAoBC"}
@@ -0,0 +1,21 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../../../core/resource.mjs";
3
+ export class Conversion extends APIResource {
4
+ /**
5
+ * Get conversion funnel metrics including conversion rate, time to purchase, and
6
+ * customer lifetime value
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * const conversionMetricsResponse =
11
+ * await client.v1.revenue.conversion.metrics({
12
+ * project_id: 'project_id',
13
+ * time_range: 'last_hour',
14
+ * });
15
+ * ```
16
+ */
17
+ metrics(query, options) {
18
+ return this._client.get('/api/v1/revenue/conversion/metrics', { query, ...options });
19
+ }
20
+ }
21
+ //# sourceMappingURL=conversion.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"conversion.mjs","sourceRoot":"","sources":["../../../src/resources/v1/revenue/conversion.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAKtB,MAAM,OAAO,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;;OAYG;IACH,OAAO,CACL,KAA8B,EAC9B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,oCAAoC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvF,CAAC;CACF"}
@@ -0,0 +1,61 @@
1
+ import { APIResource } from "../../../core/resource.mjs";
2
+ import * as RevenueAPI from "./revenue.mjs";
3
+ import { APIPromise } from "../../../core/api-promise.mjs";
4
+ import { RequestOptions } from "../../../internal/request-options.mjs";
5
+ export declare class Customers extends APIResource {
6
+ /**
7
+ * Get detailed revenue information for a specific customer including payment
8
+ * history and attribution
9
+ *
10
+ * @example
11
+ * ```ts
12
+ * const customerProfileResponse =
13
+ * await client.v1.revenue.customers.profile({
14
+ * project_id: 'project_id',
15
+ * visitor_id: 'visitor_id',
16
+ * });
17
+ * ```
18
+ */
19
+ profile(query: CustomerProfileParams, options?: RequestOptions): APIPromise<RevenueAPI.CustomerProfileResponse>;
20
+ /**
21
+ * Get a list of customers ranked by total revenue
22
+ *
23
+ * @example
24
+ * ```ts
25
+ * const topCustomersResponse =
26
+ * await client.v1.revenue.customers.top({
27
+ * project_id: 'project_id',
28
+ * time_range: 'last_hour',
29
+ * });
30
+ * ```
31
+ */
32
+ top(query: CustomerTopParams, options?: RequestOptions): APIPromise<RevenueAPI.TopCustomersResponse>;
33
+ }
34
+ export interface CustomerProfileParams {
35
+ /**
36
+ * Project ID
37
+ */
38
+ project_id: string;
39
+ /**
40
+ * Visitor ID
41
+ */
42
+ visitor_id: string;
43
+ }
44
+ export interface CustomerTopParams {
45
+ /**
46
+ * Project ID
47
+ */
48
+ project_id: string;
49
+ /**
50
+ * Time range
51
+ */
52
+ time_range: 'last_hour' | 'today' | 'last_7_days' | 'last_30_days' | 'last_90_days';
53
+ /**
54
+ * Maximum number of customers to return (default: 50)
55
+ */
56
+ limit?: number;
57
+ }
58
+ export declare namespace Customers {
59
+ export { type CustomerProfileParams as CustomerProfileParams, type CustomerTopParams as CustomerTopParams };
60
+ }
61
+ //# sourceMappingURL=customers.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customers.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/revenue/customers.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,SAAU,SAAQ,WAAW;IACxC;;;;;;;;;;;;OAYG;IACH,OAAO,CACL,KAAK,EAAE,qBAAqB,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,UAAU,CAAC,uBAAuB,CAAC;IAIjD;;;;;;;;;;;OAWG;IACH,GAAG,CAAC,KAAK,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,UAAU,CAAC,oBAAoB,CAAC;CAGrG;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,EAAE,WAAW,GAAG,OAAO,GAAG,aAAa,GAAG,cAAc,GAAG,cAAc,CAAC;IAEpF;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EAAE,KAAK,qBAAqB,IAAI,qBAAqB,EAAE,KAAK,iBAAiB,IAAI,iBAAiB,EAAE,CAAC;CAC7G"}
@@ -0,0 +1,61 @@
1
+ import { APIResource } from "../../../core/resource.js";
2
+ import * as RevenueAPI from "./revenue.js";
3
+ import { APIPromise } from "../../../core/api-promise.js";
4
+ import { RequestOptions } from "../../../internal/request-options.js";
5
+ export declare class Customers extends APIResource {
6
+ /**
7
+ * Get detailed revenue information for a specific customer including payment
8
+ * history and attribution
9
+ *
10
+ * @example
11
+ * ```ts
12
+ * const customerProfileResponse =
13
+ * await client.v1.revenue.customers.profile({
14
+ * project_id: 'project_id',
15
+ * visitor_id: 'visitor_id',
16
+ * });
17
+ * ```
18
+ */
19
+ profile(query: CustomerProfileParams, options?: RequestOptions): APIPromise<RevenueAPI.CustomerProfileResponse>;
20
+ /**
21
+ * Get a list of customers ranked by total revenue
22
+ *
23
+ * @example
24
+ * ```ts
25
+ * const topCustomersResponse =
26
+ * await client.v1.revenue.customers.top({
27
+ * project_id: 'project_id',
28
+ * time_range: 'last_hour',
29
+ * });
30
+ * ```
31
+ */
32
+ top(query: CustomerTopParams, options?: RequestOptions): APIPromise<RevenueAPI.TopCustomersResponse>;
33
+ }
34
+ export interface CustomerProfileParams {
35
+ /**
36
+ * Project ID
37
+ */
38
+ project_id: string;
39
+ /**
40
+ * Visitor ID
41
+ */
42
+ visitor_id: string;
43
+ }
44
+ export interface CustomerTopParams {
45
+ /**
46
+ * Project ID
47
+ */
48
+ project_id: string;
49
+ /**
50
+ * Time range
51
+ */
52
+ time_range: 'last_hour' | 'today' | 'last_7_days' | 'last_30_days' | 'last_90_days';
53
+ /**
54
+ * Maximum number of customers to return (default: 50)
55
+ */
56
+ limit?: number;
57
+ }
58
+ export declare namespace Customers {
59
+ export { type CustomerProfileParams as CustomerProfileParams, type CustomerTopParams as CustomerTopParams };
60
+ }
61
+ //# sourceMappingURL=customers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customers.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/revenue/customers.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,SAAU,SAAQ,WAAW;IACxC;;;;;;;;;;;;OAYG;IACH,OAAO,CACL,KAAK,EAAE,qBAAqB,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,UAAU,CAAC,uBAAuB,CAAC;IAIjD;;;;;;;;;;;OAWG;IACH,GAAG,CAAC,KAAK,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,UAAU,CAAC,oBAAoB,CAAC;CAGrG;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,EAAE,WAAW,GAAG,OAAO,GAAG,aAAa,GAAG,cAAc,GAAG,cAAc,CAAC;IAEpF;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EAAE,KAAK,qBAAqB,IAAI,qBAAqB,EAAE,KAAK,iBAAiB,IAAI,iBAAiB,EAAE,CAAC;CAC7G"}
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Customers = void 0;
5
+ const resource_1 = require("../../../core/resource.js");
6
+ class Customers extends resource_1.APIResource {
7
+ /**
8
+ * Get detailed revenue information for a specific customer including payment
9
+ * history and attribution
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * const customerProfileResponse =
14
+ * await client.v1.revenue.customers.profile({
15
+ * project_id: 'project_id',
16
+ * visitor_id: 'visitor_id',
17
+ * });
18
+ * ```
19
+ */
20
+ profile(query, options) {
21
+ return this._client.get('/api/v1/revenue/customers/profile', { query, ...options });
22
+ }
23
+ /**
24
+ * Get a list of customers ranked by total revenue
25
+ *
26
+ * @example
27
+ * ```ts
28
+ * const topCustomersResponse =
29
+ * await client.v1.revenue.customers.top({
30
+ * project_id: 'project_id',
31
+ * time_range: 'last_hour',
32
+ * });
33
+ * ```
34
+ */
35
+ top(query, options) {
36
+ return this._client.get('/api/v1/revenue/customers/top', { query, ...options });
37
+ }
38
+ }
39
+ exports.Customers = Customers;
40
+ //# sourceMappingURL=customers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customers.js","sourceRoot":"","sources":["../../../src/resources/v1/revenue/customers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAKrD,MAAa,SAAU,SAAQ,sBAAW;IACxC;;;;;;;;;;;;OAYG;IACH,OAAO,CACL,KAA4B,EAC5B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,mCAAmC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtF,CAAC;IAED;;;;;;;;;;;OAWG;IACH,GAAG,CAAC,KAAwB,EAAE,OAAwB;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,+BAA+B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClF,CAAC;CACF;AApCD,8BAoCC"}
@@ -0,0 +1,36 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../../../core/resource.mjs";
3
+ export class Customers extends APIResource {
4
+ /**
5
+ * Get detailed revenue information for a specific customer including payment
6
+ * history and attribution
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * const customerProfileResponse =
11
+ * await client.v1.revenue.customers.profile({
12
+ * project_id: 'project_id',
13
+ * visitor_id: 'visitor_id',
14
+ * });
15
+ * ```
16
+ */
17
+ profile(query, options) {
18
+ return this._client.get('/api/v1/revenue/customers/profile', { query, ...options });
19
+ }
20
+ /**
21
+ * Get a list of customers ranked by total revenue
22
+ *
23
+ * @example
24
+ * ```ts
25
+ * const topCustomersResponse =
26
+ * await client.v1.revenue.customers.top({
27
+ * project_id: 'project_id',
28
+ * time_range: 'last_hour',
29
+ * });
30
+ * ```
31
+ */
32
+ top(query, options) {
33
+ return this._client.get('/api/v1/revenue/customers/top', { query, ...options });
34
+ }
35
+ }
36
+ //# sourceMappingURL=customers.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customers.mjs","sourceRoot":"","sources":["../../../src/resources/v1/revenue/customers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAKtB,MAAM,OAAO,SAAU,SAAQ,WAAW;IACxC;;;;;;;;;;;;OAYG;IACH,OAAO,CACL,KAA4B,EAC5B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,mCAAmC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtF,CAAC;IAED;;;;;;;;;;;OAWG;IACH,GAAG,CAAC,KAAwB,EAAE,OAAwB;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,+BAA+B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClF,CAAC;CACF"}
@@ -0,0 +1,5 @@
1
+ export { Attribution, type AttributionByOriginParams, type AttributionByUtmParams } from "./attribution.mjs";
2
+ export { Conversion, type ConversionMetricsParams } from "./conversion.mjs";
3
+ export { Customers, type CustomerProfileParams, type CustomerTopParams } from "./customers.mjs";
4
+ export { Revenue, type AttributionByOriginResponse, type AttributionByUtmResponse, type ConversionMetricsResponse, type CustomerProfileResponse, type DashboardResponse, type OriginAttributionDataPoint, type Payment, type RevenueOverTimeDataPoint, type TimelineDataPoint, type TimelineResponse, type TopCustomer, type TopCustomersResponse, type UtmAttributionDataPoint, type RevenueDashboardParams, type RevenueTimelineParams, } from "./revenue.mjs";
5
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/revenue/index.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE,KAAK,yBAAyB,EAAE,KAAK,sBAAsB,EAAE;OAC5E,EAAE,UAAU,EAAE,KAAK,uBAAuB,EAAE;OAC5C,EAAE,SAAS,EAAE,KAAK,qBAAqB,EAAE,KAAK,iBAAiB,EAAE;OACjE,EACL,OAAO,EACP,KAAK,2BAA2B,EAChC,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,iBAAiB,EACtB,KAAK,0BAA0B,EAC/B,KAAK,OAAO,EACZ,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAChB,KAAK,oBAAoB,EACzB,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,GAC3B"}
@@ -0,0 +1,5 @@
1
+ export { Attribution, type AttributionByOriginParams, type AttributionByUtmParams } from "./attribution.js";
2
+ export { Conversion, type ConversionMetricsParams } from "./conversion.js";
3
+ export { Customers, type CustomerProfileParams, type CustomerTopParams } from "./customers.js";
4
+ export { Revenue, type AttributionByOriginResponse, type AttributionByUtmResponse, type ConversionMetricsResponse, type CustomerProfileResponse, type DashboardResponse, type OriginAttributionDataPoint, type Payment, type RevenueOverTimeDataPoint, type TimelineDataPoint, type TimelineResponse, type TopCustomer, type TopCustomersResponse, type UtmAttributionDataPoint, type RevenueDashboardParams, type RevenueTimelineParams, } from "./revenue.js";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/revenue/index.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE,KAAK,yBAAyB,EAAE,KAAK,sBAAsB,EAAE;OAC5E,EAAE,UAAU,EAAE,KAAK,uBAAuB,EAAE;OAC5C,EAAE,SAAS,EAAE,KAAK,qBAAqB,EAAE,KAAK,iBAAiB,EAAE;OACjE,EACL,OAAO,EACP,KAAK,2BAA2B,EAChC,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,iBAAiB,EACtB,KAAK,0BAA0B,EAC/B,KAAK,OAAO,EACZ,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAChB,KAAK,oBAAoB,EACzB,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,GAC3B"}
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Revenue = exports.Customers = exports.Conversion = exports.Attribution = void 0;
5
+ var attribution_1 = require("./attribution.js");
6
+ Object.defineProperty(exports, "Attribution", { enumerable: true, get: function () { return attribution_1.Attribution; } });
7
+ var conversion_1 = require("./conversion.js");
8
+ Object.defineProperty(exports, "Conversion", { enumerable: true, get: function () { return conversion_1.Conversion; } });
9
+ var customers_1 = require("./customers.js");
10
+ Object.defineProperty(exports, "Customers", { enumerable: true, get: function () { return customers_1.Customers; } });
11
+ var revenue_1 = require("./revenue.js");
12
+ Object.defineProperty(exports, "Revenue", { enumerable: true, get: function () { return revenue_1.Revenue; } });
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/v1/revenue/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAAyG;AAAhG,0GAAA,WAAW,OAAA;AACpB,8CAAwE;AAA/D,wGAAA,UAAU,OAAA;AACnB,4CAA4F;AAAnF,sGAAA,SAAS,OAAA;AAClB,wCAiBmB;AAhBjB,kGAAA,OAAO,OAAA"}
@@ -0,0 +1,6 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ export { Attribution } from "./attribution.mjs";
3
+ export { Conversion } from "./conversion.mjs";
4
+ export { Customers } from "./customers.mjs";
5
+ export { Revenue, } from "./revenue.mjs";
6
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/v1/revenue/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAA+D;OAC5E,EAAE,UAAU,EAAgC;OAC5C,EAAE,SAAS,EAAsD;OACjE,EACL,OAAO,GAgBR"}
@@ -0,0 +1,252 @@
1
+ import { APIResource } from "../../../core/resource.mjs";
2
+ import * as AttributionAPI from "./attribution.mjs";
3
+ import { Attribution, AttributionByOriginParams, AttributionByUtmParams } from "./attribution.mjs";
4
+ import * as ConversionAPI from "./conversion.mjs";
5
+ import { Conversion, ConversionMetricsParams } from "./conversion.mjs";
6
+ import * as CustomersAPI from "./customers.mjs";
7
+ import { CustomerProfileParams, CustomerTopParams, Customers } from "./customers.mjs";
8
+ import { APIPromise } from "../../../core/api-promise.mjs";
9
+ import { RequestOptions } from "../../../internal/request-options.mjs";
10
+ export declare class Revenue extends APIResource {
11
+ attribution: AttributionAPI.Attribution;
12
+ customers: CustomersAPI.Customers;
13
+ conversion: ConversionAPI.Conversion;
14
+ /**
15
+ * Get key revenue metrics including total revenue, conversion rate, and average
16
+ * order value
17
+ *
18
+ * @example
19
+ * ```ts
20
+ * const dashboardResponse = await client.v1.revenue.dashboard(
21
+ * { project_id: 'project_id', time_range: 'last_hour' },
22
+ * );
23
+ * ```
24
+ */
25
+ dashboard(query: RevenueDashboardParams, options?: RequestOptions): APIPromise<DashboardResponse>;
26
+ /**
27
+ * Get revenue metrics over time for chart visualization
28
+ *
29
+ * @example
30
+ * ```ts
31
+ * const timelineResponse = await client.v1.revenue.timeline({
32
+ * project_id: 'project_id',
33
+ * time_range: 'last_hour',
34
+ * });
35
+ * ```
36
+ */
37
+ timeline(query: RevenueTimelineParams, options?: RequestOptions): APIPromise<TimelineResponse>;
38
+ }
39
+ export interface AttributionByOriginResponse {
40
+ data?: Array<OriginAttributionDataPoint>;
41
+ }
42
+ export interface AttributionByUtmResponse {
43
+ data?: Array<UtmAttributionDataPoint>;
44
+ }
45
+ export interface ConversionMetricsResponse {
46
+ avg_purchases_per_customer?: number;
47
+ /**
48
+ * Time to conversion
49
+ */
50
+ avg_time_to_first_purchase_hours?: number;
51
+ /**
52
+ * % of visitors who paid
53
+ */
54
+ conversion_rate?: number;
55
+ /**
56
+ * Customer value
57
+ */
58
+ customer_lifetime_value?: number;
59
+ median_time_to_first_purchase_hours?: number;
60
+ paying_customers?: number;
61
+ /**
62
+ * Repeat purchase metrics
63
+ */
64
+ repeat_purchase_rate?: number;
65
+ total_visitors?: number;
66
+ }
67
+ export interface CustomerProfileResponse {
68
+ avg_order_value?: number;
69
+ currency?: string;
70
+ email?: string;
71
+ external_id?: string;
72
+ first_payment_date?: string;
73
+ /**
74
+ * Attribution
75
+ */
76
+ first_traffic_origin?: string;
77
+ first_utm_campaign?: string;
78
+ first_utm_medium?: string;
79
+ first_utm_source?: string;
80
+ last_payment_date?: string;
81
+ name?: string;
82
+ payment_count?: number;
83
+ /**
84
+ * Payment history
85
+ */
86
+ payments?: Array<Payment>;
87
+ /**
88
+ * Revenue over time (last 90 days)
89
+ */
90
+ revenue_over_time?: Array<RevenueOverTimeDataPoint>;
91
+ /**
92
+ * Revenue summary
93
+ */
94
+ total_revenue?: number;
95
+ user_id?: string;
96
+ /**
97
+ * Identity
98
+ */
99
+ visitor_id?: string;
100
+ }
101
+ export interface DashboardResponse {
102
+ /**
103
+ * Average metrics
104
+ */
105
+ avg_order_value?: number;
106
+ /**
107
+ * Average revenue per paying customer
108
+ */
109
+ avg_revenue_per_customer?: number;
110
+ avg_revenue_per_identified_customer?: number;
111
+ /**
112
+ * Average revenue per session
113
+ */
114
+ avg_revenue_per_session?: number;
115
+ /**
116
+ * % of visitors who paid
117
+ */
118
+ conversion_rate?: number;
119
+ currency?: string;
120
+ identified_customer_revenue?: number;
121
+ /**
122
+ * Identified customers (have email/user_id)
123
+ */
124
+ identified_customers?: number;
125
+ /**
126
+ * Customer metrics
127
+ */
128
+ paying_customers?: number;
129
+ /**
130
+ * Count of successful payments
131
+ */
132
+ total_payments?: number;
133
+ /**
134
+ * Core revenue metrics
135
+ */
136
+ total_revenue?: number;
137
+ }
138
+ export interface OriginAttributionDataPoint {
139
+ /**
140
+ * Average revenue per paying customer
141
+ */
142
+ avg_revenue_per_customer?: number;
143
+ /**
144
+ * paying_customers / unique_visitors \* 100
145
+ */
146
+ conversion_rate?: number;
147
+ currency?: string;
148
+ origin?: string;
149
+ paying_customers?: number;
150
+ payment_count?: number;
151
+ revenue_percentage?: number;
152
+ /**
153
+ * Revenue in smallest currency unit (cents)
154
+ */
155
+ total_revenue?: number;
156
+ unique_visitors?: number;
157
+ }
158
+ export interface Payment {
159
+ amount?: number;
160
+ currency?: string;
161
+ payment_id?: string;
162
+ payment_timestamp?: string;
163
+ product_name?: string;
164
+ provider_type?: string;
165
+ status?: string;
166
+ }
167
+ export interface RevenueOverTimeDataPoint {
168
+ payment_count?: number;
169
+ timestamp?: string;
170
+ total_revenue?: number;
171
+ }
172
+ export interface TimelineDataPoint {
173
+ currency?: string;
174
+ payment_count?: number;
175
+ timestamp?: string;
176
+ /**
177
+ * Revenue in smallest currency unit (cents)
178
+ */
179
+ total_revenue?: number;
180
+ }
181
+ export interface TimelineResponse {
182
+ data?: Array<TimelineDataPoint>;
183
+ }
184
+ export interface TopCustomer {
185
+ avg_order_value?: number;
186
+ currency?: string;
187
+ email?: string;
188
+ external_id?: string;
189
+ first_payment_date?: string;
190
+ first_traffic_origin?: string;
191
+ last_payment_date?: string;
192
+ location_country_iso?: string;
193
+ name?: string;
194
+ payment_count?: number;
195
+ /**
196
+ * Total revenue in smallest currency unit (cents)
197
+ */
198
+ total_revenue?: number;
199
+ user_id?: string;
200
+ visitor_id?: string;
201
+ }
202
+ export interface TopCustomersResponse {
203
+ customers?: Array<TopCustomer>;
204
+ total?: number;
205
+ }
206
+ export interface UtmAttributionDataPoint {
207
+ /**
208
+ * Average revenue per paying customer
209
+ */
210
+ avg_revenue_per_customer?: number;
211
+ /**
212
+ * paying_customers / unique_visitors \* 100
213
+ */
214
+ conversion_rate?: number;
215
+ currency?: string;
216
+ paying_customers?: number;
217
+ payment_count?: number;
218
+ revenue_percentage?: number;
219
+ /**
220
+ * Revenue in smallest currency unit (cents)
221
+ */
222
+ total_revenue?: number;
223
+ unique_visitors?: number;
224
+ utm_value?: string;
225
+ }
226
+ export interface RevenueDashboardParams {
227
+ /**
228
+ * Project ID
229
+ */
230
+ project_id: string;
231
+ /**
232
+ * Time range
233
+ */
234
+ time_range: 'last_hour' | 'today' | 'last_7_days' | 'last_30_days' | 'last_90_days';
235
+ }
236
+ export interface RevenueTimelineParams {
237
+ /**
238
+ * Project ID
239
+ */
240
+ project_id: string;
241
+ /**
242
+ * Time range
243
+ */
244
+ time_range: 'last_hour' | 'today' | 'last_7_days' | 'last_30_days' | 'last_90_days';
245
+ }
246
+ export declare namespace Revenue {
247
+ export { type AttributionByOriginResponse as AttributionByOriginResponse, type AttributionByUtmResponse as AttributionByUtmResponse, type ConversionMetricsResponse as ConversionMetricsResponse, type CustomerProfileResponse as CustomerProfileResponse, type DashboardResponse as DashboardResponse, type OriginAttributionDataPoint as OriginAttributionDataPoint, type Payment as Payment, type RevenueOverTimeDataPoint as RevenueOverTimeDataPoint, type TimelineDataPoint as TimelineDataPoint, type TimelineResponse as TimelineResponse, type TopCustomer as TopCustomer, type TopCustomersResponse as TopCustomersResponse, type UtmAttributionDataPoint as UtmAttributionDataPoint, type RevenueDashboardParams as RevenueDashboardParams, type RevenueTimelineParams as RevenueTimelineParams, };
248
+ export { Attribution as Attribution, type AttributionByOriginParams as AttributionByOriginParams, type AttributionByUtmParams as AttributionByUtmParams, };
249
+ export { Customers as Customers, type CustomerProfileParams as CustomerProfileParams, type CustomerTopParams as CustomerTopParams, };
250
+ export { Conversion as Conversion, type ConversionMetricsParams as ConversionMetricsParams };
251
+ }
252
+ //# sourceMappingURL=revenue.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"revenue.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/revenue/revenue.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,cAAc;OACnB,EAAE,WAAW,EAAE,yBAAyB,EAAE,sBAAsB,EAAE;OAClE,KAAK,aAAa;OAClB,EAAE,UAAU,EAAE,uBAAuB,EAAE;OACvC,KAAK,YAAY;OACjB,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,SAAS,EAAE;OACvD,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC,WAAW,EAAE,cAAc,CAAC,WAAW,CAAgD;IACvF,SAAS,EAAE,YAAY,CAAC,SAAS,CAA4C;IAC7E,UAAU,EAAE,aAAa,CAAC,UAAU,CAA8C;IAElF;;;;;;;;;;OAUG;IACH,SAAS,CAAC,KAAK,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,iBAAiB,CAAC;IAIjG;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,KAAK,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,gBAAgB,CAAC;CAG/F;AAED,MAAM,WAAW,2BAA2B;IAC1C,IAAI,CAAC,EAAE,KAAK,CAAC,0BAA0B,CAAC,CAAC;CAC1C;AAED,MAAM,WAAW,wBAAw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