zorihq 0.7.0 → 0.9.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 (102) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/package.json +1 -1
  3. package/resources/v1/analytics/analytics.d.mts +22 -3
  4. package/resources/v1/analytics/analytics.d.mts.map +1 -1
  5. package/resources/v1/analytics/analytics.d.ts +22 -3
  6. package/resources/v1/analytics/analytics.d.ts.map +1 -1
  7. package/resources/v1/analytics/analytics.js.map +1 -1
  8. package/resources/v1/analytics/analytics.mjs.map +1 -1
  9. package/resources/v1/analytics/events.d.mts +49 -2
  10. package/resources/v1/analytics/events.d.mts.map +1 -1
  11. package/resources/v1/analytics/events.d.ts +49 -2
  12. package/resources/v1/analytics/events.d.ts.map +1 -1
  13. package/resources/v1/analytics/events.js +16 -1
  14. package/resources/v1/analytics/events.js.map +1 -1
  15. package/resources/v1/analytics/events.mjs +16 -1
  16. package/resources/v1/analytics/events.mjs.map +1 -1
  17. package/resources/v1/analytics/index.d.mts +2 -2
  18. package/resources/v1/analytics/index.d.mts.map +1 -1
  19. package/resources/v1/analytics/index.d.ts +2 -2
  20. package/resources/v1/analytics/index.d.ts.map +1 -1
  21. package/resources/v1/analytics/index.js.map +1 -1
  22. package/resources/v1/analytics/index.mjs.map +1 -1
  23. package/resources/v1/index.d.mts +2 -1
  24. package/resources/v1/index.d.mts.map +1 -1
  25. package/resources/v1/index.d.ts +2 -1
  26. package/resources/v1/index.d.ts.map +1 -1
  27. package/resources/v1/index.js +3 -1
  28. package/resources/v1/index.js.map +1 -1
  29. package/resources/v1/index.mjs +1 -0
  30. package/resources/v1/index.mjs.map +1 -1
  31. package/resources/v1/revenue/attribution.d.mts +62 -0
  32. package/resources/v1/revenue/attribution.d.mts.map +1 -0
  33. package/resources/v1/revenue/attribution.d.ts +62 -0
  34. package/resources/v1/revenue/attribution.d.ts.map +1 -0
  35. package/resources/v1/revenue/attribution.js +41 -0
  36. package/resources/v1/revenue/attribution.js.map +1 -0
  37. package/resources/v1/revenue/attribution.mjs +37 -0
  38. package/resources/v1/revenue/attribution.mjs.map +1 -0
  39. package/resources/v1/revenue/conversion.d.mts +34 -0
  40. package/resources/v1/revenue/conversion.d.mts.map +1 -0
  41. package/resources/v1/revenue/conversion.d.ts +34 -0
  42. package/resources/v1/revenue/conversion.d.ts.map +1 -0
  43. package/resources/v1/revenue/conversion.js +25 -0
  44. package/resources/v1/revenue/conversion.js.map +1 -0
  45. package/resources/v1/revenue/conversion.mjs +21 -0
  46. package/resources/v1/revenue/conversion.mjs.map +1 -0
  47. package/resources/v1/revenue/customers.d.mts +61 -0
  48. package/resources/v1/revenue/customers.d.mts.map +1 -0
  49. package/resources/v1/revenue/customers.d.ts +61 -0
  50. package/resources/v1/revenue/customers.d.ts.map +1 -0
  51. package/resources/v1/revenue/customers.js +40 -0
  52. package/resources/v1/revenue/customers.js.map +1 -0
  53. package/resources/v1/revenue/customers.mjs +36 -0
  54. package/resources/v1/revenue/customers.mjs.map +1 -0
  55. package/resources/v1/revenue/index.d.mts +5 -0
  56. package/resources/v1/revenue/index.d.mts.map +1 -0
  57. package/resources/v1/revenue/index.d.ts +5 -0
  58. package/resources/v1/revenue/index.d.ts.map +1 -0
  59. package/resources/v1/revenue/index.js +13 -0
  60. package/resources/v1/revenue/index.js.map +1 -0
  61. package/resources/v1/revenue/index.mjs +6 -0
  62. package/resources/v1/revenue/index.mjs.map +1 -0
  63. package/resources/v1/revenue/revenue.d.mts +255 -0
  64. package/resources/v1/revenue/revenue.d.mts.map +1 -0
  65. package/resources/v1/revenue/revenue.d.ts +255 -0
  66. package/resources/v1/revenue/revenue.d.ts.map +1 -0
  67. package/resources/v1/revenue/revenue.js +53 -0
  68. package/resources/v1/revenue/revenue.js.map +1 -0
  69. package/resources/v1/revenue/revenue.mjs +48 -0
  70. package/resources/v1/revenue/revenue.mjs.map +1 -0
  71. package/resources/v1/revenue.d.mts +2 -0
  72. package/resources/v1/revenue.d.mts.map +1 -0
  73. package/resources/v1/revenue.d.ts +2 -0
  74. package/resources/v1/revenue.d.ts.map +1 -0
  75. package/resources/v1/revenue.js +6 -0
  76. package/resources/v1/revenue.js.map +1 -0
  77. package/resources/v1/revenue.mjs +3 -0
  78. package/resources/v1/revenue.mjs.map +1 -0
  79. package/resources/v1/v1.d.mts +6 -2
  80. package/resources/v1/v1.d.mts.map +1 -1
  81. package/resources/v1/v1.d.ts +6 -2
  82. package/resources/v1/v1.d.ts.map +1 -1
  83. package/resources/v1/v1.js +4 -0
  84. package/resources/v1/v1.js.map +1 -1
  85. package/resources/v1/v1.mjs +4 -0
  86. package/resources/v1/v1.mjs.map +1 -1
  87. package/src/resources/v1/analytics/analytics.ts +34 -2
  88. package/src/resources/v1/analytics/events.ts +66 -2
  89. package/src/resources/v1/analytics/index.ts +2 -1
  90. package/src/resources/v1/index.ts +19 -0
  91. package/src/resources/v1/revenue/attribution.ts +84 -0
  92. package/src/resources/v1/revenue/conversion.ts +44 -0
  93. package/src/resources/v1/revenue/customers.ts +77 -0
  94. package/src/resources/v1/revenue/index.ts +23 -0
  95. package/src/resources/v1/revenue/revenue.ts +385 -0
  96. package/src/resources/v1/revenue.ts +3 -0
  97. package/src/resources/v1/v1.ts +42 -0
  98. package/src/version.ts +1 -1
  99. package/version.d.mts +1 -1
  100. package/version.d.ts +1 -1
  101. package/version.js +1 -1
  102. package/version.mjs +1 -1
@@ -3,5 +3,6 @@ export { Analytics, } from "./analytics/index.mjs";
3
3
  export { Auth, } from "./auth.mjs";
4
4
  export { PaymentProviders, } from "./payment-providers.mjs";
5
5
  export { Projects, } from "./projects.mjs";
6
+ export { Revenue, } from "./revenue/index.mjs";
6
7
  export { V1 } from "./v1.mjs";
7
8
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/v1/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,SAAS,GA4BV;OACM,EACL,IAAI,GAWL;OACM,EACL,gBAAgB,GASjB;OACM,EACL,QAAQ,GAST;OACM,EAAE,EAAE,EAAE"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/v1/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,SAAS,GA6BV;OACM,EACL,IAAI,GAWL;OACM,EACL,gBAAgB,GASjB;OACM,EACL,QAAQ,GAST;OACM,EACL,OAAO,GAgBR;OACM,EAAE,EAAE,EAAE"}
@@ -0,0 +1,62 @@
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 Attribution extends APIResource {
6
+ /**
7
+ * Get revenue metrics grouped by traffic origin (referrer domain) using
8
+ * first-touch attribution
9
+ *
10
+ * @example
11
+ * ```ts
12
+ * const attributionByOriginResponse =
13
+ * await client.v1.revenue.attribution.byOrigin({
14
+ * project_id: 'project_id',
15
+ * time_range: 'last_hour',
16
+ * });
17
+ * ```
18
+ */
19
+ byOrigin(query: AttributionByOriginParams, options?: RequestOptions): APIPromise<RevenueAPI.AttributionByOriginResponse>;
20
+ /**
21
+ * Get revenue metrics grouped by UTM source, medium, or campaign using first-touch
22
+ * attribution
23
+ *
24
+ * @example
25
+ * ```ts
26
+ * const attributionByUtmResponse =
27
+ * await client.v1.revenue.attribution.byUtm({
28
+ * project_id: 'project_id',
29
+ * time_range: 'last_hour',
30
+ * });
31
+ * ```
32
+ */
33
+ byUtm(query: AttributionByUtmParams, options?: RequestOptions): APIPromise<RevenueAPI.AttributionByUtmResponse>;
34
+ }
35
+ export interface AttributionByOriginParams {
36
+ /**
37
+ * Project ID
38
+ */
39
+ project_id: string;
40
+ /**
41
+ * Time range
42
+ */
43
+ time_range: 'last_hour' | 'today' | 'last_7_days' | 'last_30_days' | 'last_90_days';
44
+ }
45
+ export interface AttributionByUtmParams {
46
+ /**
47
+ * Project ID
48
+ */
49
+ project_id: string;
50
+ /**
51
+ * Time range
52
+ */
53
+ time_range: 'last_hour' | 'today' | 'last_7_days' | 'last_30_days' | 'last_90_days';
54
+ /**
55
+ * UTM type: source, medium, or campaign (default: source)
56
+ */
57
+ utm_type?: string;
58
+ }
59
+ export declare namespace Attribution {
60
+ export { type AttributionByOriginParams as AttributionByOriginParams, type AttributionByUtmParams as AttributionByUtmParams, };
61
+ }
62
+ //# sourceMappingURL=attribution.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"attribution.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/revenue/attribution.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;;OAYG;IACH,QAAQ,CACN,KAAK,EAAE,yBAAyB,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,UAAU,CAAC,2BAA2B,CAAC;IAIrD;;;;;;;;;;;;OAYG;IACH,KAAK,CACH,KAAK,EAAE,sBAAsB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,UAAU,CAAC,wBAAwB,CAAC;CAGnD;AAED,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,EAAE,WAAW,GAAG,OAAO,GAAG,aAAa,GAAG,cAAc,GAAG,cAAc,CAAC;CACrF;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,EAAE,WAAW,GAAG,OAAO,GAAG,aAAa,GAAG,cAAc,GAAG,cAAc,CAAC;IAEpF;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
@@ -0,0 +1,62 @@
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 Attribution extends APIResource {
6
+ /**
7
+ * Get revenue metrics grouped by traffic origin (referrer domain) using
8
+ * first-touch attribution
9
+ *
10
+ * @example
11
+ * ```ts
12
+ * const attributionByOriginResponse =
13
+ * await client.v1.revenue.attribution.byOrigin({
14
+ * project_id: 'project_id',
15
+ * time_range: 'last_hour',
16
+ * });
17
+ * ```
18
+ */
19
+ byOrigin(query: AttributionByOriginParams, options?: RequestOptions): APIPromise<RevenueAPI.AttributionByOriginResponse>;
20
+ /**
21
+ * Get revenue metrics grouped by UTM source, medium, or campaign using first-touch
22
+ * attribution
23
+ *
24
+ * @example
25
+ * ```ts
26
+ * const attributionByUtmResponse =
27
+ * await client.v1.revenue.attribution.byUtm({
28
+ * project_id: 'project_id',
29
+ * time_range: 'last_hour',
30
+ * });
31
+ * ```
32
+ */
33
+ byUtm(query: AttributionByUtmParams, options?: RequestOptions): APIPromise<RevenueAPI.AttributionByUtmResponse>;
34
+ }
35
+ export interface AttributionByOriginParams {
36
+ /**
37
+ * Project ID
38
+ */
39
+ project_id: string;
40
+ /**
41
+ * Time range
42
+ */
43
+ time_range: 'last_hour' | 'today' | 'last_7_days' | 'last_30_days' | 'last_90_days';
44
+ }
45
+ export interface AttributionByUtmParams {
46
+ /**
47
+ * Project ID
48
+ */
49
+ project_id: string;
50
+ /**
51
+ * Time range
52
+ */
53
+ time_range: 'last_hour' | 'today' | 'last_7_days' | 'last_30_days' | 'last_90_days';
54
+ /**
55
+ * UTM type: source, medium, or campaign (default: source)
56
+ */
57
+ utm_type?: string;
58
+ }
59
+ export declare namespace Attribution {
60
+ export { type AttributionByOriginParams as AttributionByOriginParams, type AttributionByUtmParams as AttributionByUtmParams, };
61
+ }
62
+ //# sourceMappingURL=attribution.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"attribution.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/revenue/attribution.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;;OAYG;IACH,QAAQ,CACN,KAAK,EAAE,yBAAyB,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,UAAU,CAAC,2BAA2B,CAAC;IAIrD;;;;;;;;;;;;OAYG;IACH,KAAK,CACH,KAAK,EAAE,sBAAsB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,UAAU,CAAC,wBAAwB,CAAC;CAGnD;AAED,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,EAAE,WAAW,GAAG,OAAO,GAAG,aAAa,GAAG,cAAc,GAAG,cAAc,CAAC;CACrF;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,EAAE,WAAW,GAAG,OAAO,GAAG,aAAa,GAAG,cAAc,GAAG,cAAc,CAAC;IAEpF;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
@@ -0,0 +1,41 @@
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.Attribution = void 0;
5
+ const resource_1 = require("../../../core/resource.js");
6
+ class Attribution extends resource_1.APIResource {
7
+ /**
8
+ * Get revenue metrics grouped by traffic origin (referrer domain) using
9
+ * first-touch attribution
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * const attributionByOriginResponse =
14
+ * await client.v1.revenue.attribution.byOrigin({
15
+ * project_id: 'project_id',
16
+ * time_range: 'last_hour',
17
+ * });
18
+ * ```
19
+ */
20
+ byOrigin(query, options) {
21
+ return this._client.get('/api/v1/revenue/attribution/origin', { query, ...options });
22
+ }
23
+ /**
24
+ * Get revenue metrics grouped by UTM source, medium, or campaign using first-touch
25
+ * attribution
26
+ *
27
+ * @example
28
+ * ```ts
29
+ * const attributionByUtmResponse =
30
+ * await client.v1.revenue.attribution.byUtm({
31
+ * project_id: 'project_id',
32
+ * time_range: 'last_hour',
33
+ * });
34
+ * ```
35
+ */
36
+ byUtm(query, options) {
37
+ return this._client.get('/api/v1/revenue/attribution/utm', { query, ...options });
38
+ }
39
+ }
40
+ exports.Attribution = Attribution;
41
+ //# sourceMappingURL=attribution.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"attribution.js","sourceRoot":"","sources":["../../../src/resources/v1/revenue/attribution.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAKrD,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;;;;;;;;;;;OAYG;IACH,QAAQ,CACN,KAAgC,EAChC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,oCAAoC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvF,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,KAAK,CACH,KAA6B,EAC7B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,iCAAiC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpF,CAAC;CACF;AAxCD,kCAwCC"}
@@ -0,0 +1,37 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../../../core/resource.mjs";
3
+ export class Attribution extends APIResource {
4
+ /**
5
+ * Get revenue metrics grouped by traffic origin (referrer domain) using
6
+ * first-touch attribution
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * const attributionByOriginResponse =
11
+ * await client.v1.revenue.attribution.byOrigin({
12
+ * project_id: 'project_id',
13
+ * time_range: 'last_hour',
14
+ * });
15
+ * ```
16
+ */
17
+ byOrigin(query, options) {
18
+ return this._client.get('/api/v1/revenue/attribution/origin', { query, ...options });
19
+ }
20
+ /**
21
+ * Get revenue metrics grouped by UTM source, medium, or campaign using first-touch
22
+ * attribution
23
+ *
24
+ * @example
25
+ * ```ts
26
+ * const attributionByUtmResponse =
27
+ * await client.v1.revenue.attribution.byUtm({
28
+ * project_id: 'project_id',
29
+ * time_range: 'last_hour',
30
+ * });
31
+ * ```
32
+ */
33
+ byUtm(query, options) {
34
+ return this._client.get('/api/v1/revenue/attribution/utm', { query, ...options });
35
+ }
36
+ }
37
+ //# sourceMappingURL=attribution.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"attribution.mjs","sourceRoot":"","sources":["../../../src/resources/v1/revenue/attribution.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAKtB,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;;OAYG;IACH,QAAQ,CACN,KAAgC,EAChC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,oCAAoC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvF,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,KAAK,CACH,KAA6B,EAC7B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,iCAAiC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpF,CAAC;CACF"}
@@ -0,0 +1,34 @@
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 Conversion extends APIResource {
6
+ /**
7
+ * Get conversion funnel metrics including conversion rate, time to purchase, and
8
+ * customer lifetime value
9
+ *
10
+ * @example
11
+ * ```ts
12
+ * const conversionMetricsResponse =
13
+ * await client.v1.revenue.conversion.metrics({
14
+ * project_id: 'project_id',
15
+ * time_range: 'last_hour',
16
+ * });
17
+ * ```
18
+ */
19
+ metrics(query: ConversionMetricsParams, options?: RequestOptions): APIPromise<RevenueAPI.ConversionMetricsResponse>;
20
+ }
21
+ export interface ConversionMetricsParams {
22
+ /**
23
+ * Project ID
24
+ */
25
+ project_id: string;
26
+ /**
27
+ * Time range
28
+ */
29
+ time_range: 'last_hour' | 'today' | 'last_7_days' | 'last_30_days' | 'last_90_days';
30
+ }
31
+ export declare namespace Conversion {
32
+ export { type ConversionMetricsParams as ConversionMetricsParams };
33
+ }
34
+ //# sourceMappingURL=conversion.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"conversion.d.mts","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,34 @@
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 Conversion extends APIResource {
6
+ /**
7
+ * Get conversion funnel metrics including conversion rate, time to purchase, and
8
+ * customer lifetime value
9
+ *
10
+ * @example
11
+ * ```ts
12
+ * const conversionMetricsResponse =
13
+ * await client.v1.revenue.conversion.metrics({
14
+ * project_id: 'project_id',
15
+ * time_range: 'last_hour',
16
+ * });
17
+ * ```
18
+ */
19
+ metrics(query: ConversionMetricsParams, options?: RequestOptions): APIPromise<RevenueAPI.ConversionMetricsResponse>;
20
+ }
21
+ export interface ConversionMetricsParams {
22
+ /**
23
+ * Project ID
24
+ */
25
+ project_id: string;
26
+ /**
27
+ * Time range
28
+ */
29
+ time_range: 'last_hour' | 'today' | 'last_7_days' | 'last_30_days' | 'last_90_days';
30
+ }
31
+ export declare namespace Conversion {
32
+ export { type ConversionMetricsParams as ConversionMetricsParams };
33
+ }
34
+ //# sourceMappingURL=conversion.d.ts.map
@@ -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"}