zorihq 0.5.0 → 0.6.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.6.0 (2025-10-21)
4
+
5
+ Full Changelog: [v0.5.0...v0.6.0](https://github.com/ZoriHQ/typescript-api-sdk/compare/v0.5.0...v0.6.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** added payment provider endpoints ([7d684f2](https://github.com/ZoriHQ/typescript-api-sdk/commit/7d684f286b138ece1dfa7e5d401d0c5b11a9ed6d))
10
+
3
11
  ## 0.5.0 (2025-10-20)
4
12
 
5
13
  Full Changelog: [v0.4.1...v0.5.0](https://github.com/ZoriHQ/typescript-api-sdk/compare/v0.4.1...v0.5.0)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zorihq",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "The official TypeScript library for the Zoriapi API",
5
5
  "author": "Zoriapi <support@zorihq.com>",
6
6
  "types": "./index.d.ts",
@@ -1,5 +1,6 @@
1
1
  export { Analytics, type ActiveUsersResponse, type BounceRateByPageMetric, type BounceRateResponse, type ChurnRateResponse, type CohortAnalysisResponse, type CohortData, type CountryDataPoint, type DashboardMetricsResponse, type EventsOverTimeDataPoint, type OriginDataPoint, type RecentEvent, type RecentEventsResponse, type ReturnRateResponse, type SessionMetricsResponse, type TopVisitor, type TopVisitorsResponse, type UniqueVisitorsDataPoint, type UniqueVisitorsTimelineResponse, type VisitorDataPoint, type VisitorEvent, type VisitorProfileResponse, type VisitorsByCountryResponse, type VisitorsByDeviceResponse, type VisitorsByOriginResponse, type AnalyticsDashboardParams, } from "./analytics/index.mjs";
2
2
  export { Auth, type Account, type AuthResponse, type MessageResponse, type Organization, type AuthConfirmPasswordRecoveryParams, type AuthLoginParams, type AuthLogoutParams, type AuthRefreshAccessTokenParams, type AuthRegisterAccountParams, type AuthRequestPasswordRecoveryParams, } from "./auth.mjs";
3
+ export { PaymentProviders, type CreatePaymentProviderRequest, type ListPaymentProvidersResponse, type PaymentProviderResponse, type UpdatePaymentProviderRequest, type PaymentProviderDeleteResponse, type PaymentProviderCreateParams, type PaymentProviderUpdateParams, type PaymentProviderListParams, } from "./payment-providers.mjs";
3
4
  export { Projects, type CreateProjectRequest, type ListProjectsResponse, type Project, type ProjectResponse, type UpdateProjectRequest, type ProjectDeleteResponse, type ProjectCreateParams, type ProjectUpdateParams, } from "./projects.mjs";
4
5
  export { V1 } from "./v1.mjs";
5
6
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/v1/index.ts"],"names":[],"mappings":"OAEO,EACL,SAAS,EACT,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,UAAU,EACf,KAAK,gBAAgB,EACrB,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,EAC5B,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,UAAU,EACf,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,8BAA8B,EACnC,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,GAC9B;OACM,EACL,IAAI,EACJ,KAAK,OAAO,EACZ,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,YAAY,EACjB,KAAK,iCAAiC,EACtC,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,4BAA4B,EACjC,KAAK,yBAAyB,EAC9B,KAAK,iCAAiC,GACvC;OACM,EACL,QAAQ,EACR,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,OAAO,EACZ,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB;OACM,EAAE,EAAE,EAAE"}
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/v1/index.ts"],"names":[],"mappings":"OAEO,EACL,SAAS,EACT,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,UAAU,EACf,KAAK,gBAAgB,EACrB,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,EAC5B,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,UAAU,EACf,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,8BAA8B,EACnC,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,GAC9B;OACM,EACL,IAAI,EACJ,KAAK,OAAO,EACZ,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,YAAY,EACjB,KAAK,iCAAiC,EACtC,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,4BAA4B,EACjC,KAAK,yBAAyB,EAC9B,KAAK,iCAAiC,GACvC;OACM,EACL,gBAAgB,EAChB,KAAK,4BAA4B,EACjC,KAAK,4BAA4B,EACjC,KAAK,uBAAuB,EAC5B,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,GAC/B;OACM,EACL,QAAQ,EACR,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,OAAO,EACZ,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB;OACM,EAAE,EAAE,EAAE"}
@@ -1,5 +1,6 @@
1
1
  export { Analytics, type ActiveUsersResponse, type BounceRateByPageMetric, type BounceRateResponse, type ChurnRateResponse, type CohortAnalysisResponse, type CohortData, type CountryDataPoint, type DashboardMetricsResponse, type EventsOverTimeDataPoint, type OriginDataPoint, type RecentEvent, type RecentEventsResponse, type ReturnRateResponse, type SessionMetricsResponse, type TopVisitor, type TopVisitorsResponse, type UniqueVisitorsDataPoint, type UniqueVisitorsTimelineResponse, type VisitorDataPoint, type VisitorEvent, type VisitorProfileResponse, type VisitorsByCountryResponse, type VisitorsByDeviceResponse, type VisitorsByOriginResponse, type AnalyticsDashboardParams, } from "./analytics/index.js";
2
2
  export { Auth, type Account, type AuthResponse, type MessageResponse, type Organization, type AuthConfirmPasswordRecoveryParams, type AuthLoginParams, type AuthLogoutParams, type AuthRefreshAccessTokenParams, type AuthRegisterAccountParams, type AuthRequestPasswordRecoveryParams, } from "./auth.js";
3
+ export { PaymentProviders, type CreatePaymentProviderRequest, type ListPaymentProvidersResponse, type PaymentProviderResponse, type UpdatePaymentProviderRequest, type PaymentProviderDeleteResponse, type PaymentProviderCreateParams, type PaymentProviderUpdateParams, type PaymentProviderListParams, } from "./payment-providers.js";
3
4
  export { Projects, type CreateProjectRequest, type ListProjectsResponse, type Project, type ProjectResponse, type UpdateProjectRequest, type ProjectDeleteResponse, type ProjectCreateParams, type ProjectUpdateParams, } from "./projects.js";
4
5
  export { V1 } from "./v1.js";
5
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/v1/index.ts"],"names":[],"mappings":"OAEO,EACL,SAAS,EAC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,KAAK,WAAW,EAChB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,UAAU,EACf,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,8BAA8B,EACnC,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,GAC9B;OACM,EACL,IAAI,EACJ,KAAK,OAAO,EACZ,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,YAAY,EACjB,KAAK,iCAAiC,EACtC,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,4BAA4B,EACjC,KAAK,yBAAyB,EAC9B,KAAK,iCAAiC,GACvC;OACM,EACL,gBAAgB,EAChB,KAAK,4BAA4B,EACjC,KAAK,4BAA4B,EACjC,KAAK,uBAAuB,EAC5B,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,GAC/B;OACM,EACL,QAAQ,EACR,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,OAAO,EACZ,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB;OACM,EAAE,EAAE,EAAE"}
@@ -1,11 +1,13 @@
1
1
  "use strict";
2
2
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.V1 = exports.Projects = exports.Auth = exports.Analytics = void 0;
4
+ exports.V1 = exports.Projects = exports.PaymentProviders = exports.Auth = exports.Analytics = void 0;
5
5
  var index_1 = require("./analytics/index.js");
6
6
  Object.defineProperty(exports, "Analytics", { enumerable: true, get: function () { return index_1.Analytics; } });
7
7
  var auth_1 = require("./auth.js");
8
8
  Object.defineProperty(exports, "Auth", { enumerable: true, get: function () { return auth_1.Auth; } });
9
+ var payment_providers_1 = require("./payment-providers.js");
10
+ Object.defineProperty(exports, "PaymentProviders", { enumerable: true, get: function () { return payment_providers_1.PaymentProviders; } });
9
11
  var projects_1 = require("./projects.js");
10
12
  Object.defineProperty(exports, "Projects", { enumerable: true, get: function () { return projects_1.Projects; } });
11
13
  var v1_1 = require("./v1.js");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/v1/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,8CA2B2B;AA1BzB,kGAAA,SAAS,OAAA;AA2BX,kCAYgB;AAXd,4FAAA,IAAI,OAAA;AAYN,0CAUoB;AATlB,oGAAA,QAAQ,OAAA;AAUV,8BAA0B;AAAjB,wFAAA,EAAE,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/v1/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,8CA2B2B;AA1BzB,kGAAA,SAAS,OAAA;AA2BX,kCAYgB;AAXd,4FAAA,IAAI,OAAA;AAYN,4DAU6B;AAT3B,qHAAA,gBAAgB,OAAA;AAUlB,0CAUoB;AATlB,oGAAA,QAAQ,OAAA;AAUV,8BAA0B;AAAjB,wFAAA,EAAE,OAAA"}
@@ -1,6 +1,7 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
  export { Analytics, } from "./analytics/index.mjs";
3
3
  export { Auth, } from "./auth.mjs";
4
+ export { PaymentProviders, } from "./payment-providers.mjs";
4
5
  export { Projects, } from "./projects.mjs";
5
6
  export { V1 } from "./v1.mjs";
6
7
  //# 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,GA0BV;OACM,EACL,IAAI,GAWL;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,GA0BV;OACM,EACL,IAAI,GAWL;OACM,EACL,gBAAgB,GASjB;OACM,EACL,QAAQ,GAST;OACM,EAAE,EAAE,EAAE"}
@@ -0,0 +1,109 @@
1
+ import { APIResource } from "../../core/resource.mjs";
2
+ import { APIPromise } from "../../core/api-promise.mjs";
3
+ import { RequestOptions } from "../../internal/request-options.mjs";
4
+ export declare class PaymentProviders extends APIResource {
5
+ /**
6
+ * Connect a new payment provider to a project
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * const paymentProviderResponse =
11
+ * await client.v1.paymentProviders.create({
12
+ * api_key: 'sk_test_xxxxx',
13
+ * project_id: '550e8400-e29b-41d4-a716-446655440000',
14
+ * provider_type: 'stripe',
15
+ * webhook_secret: 'whsec_xxxxx',
16
+ * });
17
+ * ```
18
+ */
19
+ create(body: PaymentProviderCreateParams, options?: RequestOptions): APIPromise<PaymentProviderResponse>;
20
+ /**
21
+ * Update payment provider credentials or settings
22
+ *
23
+ * @example
24
+ * ```ts
25
+ * const paymentProviderResponse =
26
+ * await client.v1.paymentProviders.update('id');
27
+ * ```
28
+ */
29
+ update(id: string, body: PaymentProviderUpdateParams, options?: RequestOptions): APIPromise<PaymentProviderResponse>;
30
+ /**
31
+ * Get all payment providers for the organization
32
+ *
33
+ * @example
34
+ * ```ts
35
+ * const listPaymentProvidersResponse =
36
+ * await client.v1.paymentProviders.list();
37
+ * ```
38
+ */
39
+ list(query?: PaymentProviderListParams | null | undefined, options?: RequestOptions): APIPromise<ListPaymentProvidersResponse>;
40
+ /**
41
+ * Disconnect a payment provider from a project
42
+ *
43
+ * @example
44
+ * ```ts
45
+ * const paymentProvider =
46
+ * await client.v1.paymentProviders.delete('id');
47
+ * ```
48
+ */
49
+ delete(id: string, options?: RequestOptions): APIPromise<PaymentProviderDeleteResponse>;
50
+ /**
51
+ * Get a single payment provider by ID
52
+ *
53
+ * @example
54
+ * ```ts
55
+ * const paymentProviderResponse =
56
+ * await client.v1.paymentProviders.get('id');
57
+ * ```
58
+ */
59
+ get(id: string, options?: RequestOptions): APIPromise<PaymentProviderResponse>;
60
+ }
61
+ export interface CreatePaymentProviderRequest {
62
+ api_key: string;
63
+ project_id: string;
64
+ provider_type: 'stripe' | 'paddle' | 'paypal' | 'lemon_squeezy' | 'square';
65
+ webhook_secret: string;
66
+ }
67
+ export interface ListPaymentProvidersResponse {
68
+ providers?: Array<PaymentProviderResponse>;
69
+ total?: number;
70
+ }
71
+ export interface PaymentProviderResponse {
72
+ id?: string;
73
+ created_at?: string;
74
+ is_active?: boolean;
75
+ last_synced_at?: string;
76
+ organization_id?: string;
77
+ project_id?: string;
78
+ provider_type?: 'stripe' | 'paddle' | 'paypal' | 'lemon_squeezy' | 'square';
79
+ updated_at?: string;
80
+ }
81
+ export interface UpdatePaymentProviderRequest {
82
+ api_key?: string;
83
+ is_active?: boolean;
84
+ webhook_secret?: string;
85
+ }
86
+ export type PaymentProviderDeleteResponse = {
87
+ [key: string]: string;
88
+ };
89
+ export interface PaymentProviderCreateParams {
90
+ api_key: string;
91
+ project_id: string;
92
+ provider_type: 'stripe' | 'paddle' | 'paypal' | 'lemon_squeezy' | 'square';
93
+ webhook_secret: string;
94
+ }
95
+ export interface PaymentProviderUpdateParams {
96
+ api_key?: string;
97
+ is_active?: boolean;
98
+ webhook_secret?: string;
99
+ }
100
+ export interface PaymentProviderListParams {
101
+ /**
102
+ * Filter by project ID
103
+ */
104
+ project_id?: string;
105
+ }
106
+ export declare namespace PaymentProviders {
107
+ export { type CreatePaymentProviderRequest as CreatePaymentProviderRequest, type ListPaymentProvidersResponse as ListPaymentProvidersResponse, type PaymentProviderResponse as PaymentProviderResponse, type UpdatePaymentProviderRequest as UpdatePaymentProviderRequest, type PaymentProviderDeleteResponse as PaymentProviderDeleteResponse, type PaymentProviderCreateParams as PaymentProviderCreateParams, type PaymentProviderUpdateParams as PaymentProviderUpdateParams, type PaymentProviderListParams as PaymentProviderListParams, };
108
+ }
109
+ //# sourceMappingURL=payment-providers.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payment-providers.d.mts","sourceRoot":"","sources":["../../src/resources/v1/payment-providers.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,IAAI,EAAE,2BAA2B,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;IAIxG;;;;;;;;OAQG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,2BAA2B,EACjC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,uBAAuB,CAAC;IAItC;;;;;;;;OAQG;IACH,IAAI,CACF,KAAK,GAAE,yBAAyB,GAAG,IAAI,GAAG,SAAc,EACxD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,4BAA4B,CAAC;IAI3C;;;;;;;;OAQG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,6BAA6B,CAAC;IAIvF;;;;;;;;OAQG;IACH,GAAG,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;CAG/E;AAED,MAAM,WAAW,4BAA4B;IAC3C,OAAO,EAAE,MAAM,CAAC;IAEhB,UAAU,EAAE,MAAM,CAAC;IAEnB,aAAa,EAAE,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,eAAe,GAAG,QAAQ,CAAC;IAE3E,cAAc,EAAE,MAAM,CAA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,OAAO,EACL,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;CACH"}
@@ -0,0 +1,109 @@
1
+ import { APIResource } from "../../core/resource.js";
2
+ import { APIPromise } from "../../core/api-promise.js";
3
+ import { RequestOptions } from "../../internal/request-options.js";
4
+ export declare class PaymentProviders extends APIResource {
5
+ /**
6
+ * Connect a new payment provider to a project
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * const paymentProviderResponse =
11
+ * await client.v1.paymentProviders.create({
12
+ * api_key: 'sk_test_xxxxx',
13
+ * project_id: '550e8400-e29b-41d4-a716-446655440000',
14
+ * provider_type: 'stripe',
15
+ * webhook_secret: 'whsec_xxxxx',
16
+ * });
17
+ * ```
18
+ */
19
+ create(body: PaymentProviderCreateParams, options?: RequestOptions): APIPromise<PaymentProviderResponse>;
20
+ /**
21
+ * Update payment provider credentials or settings
22
+ *
23
+ * @example
24
+ * ```ts
25
+ * const paymentProviderResponse =
26
+ * await client.v1.paymentProviders.update('id');
27
+ * ```
28
+ */
29
+ update(id: string, body: PaymentProviderUpdateParams, options?: RequestOptions): APIPromise<PaymentProviderResponse>;
30
+ /**
31
+ * Get all payment providers for the organization
32
+ *
33
+ * @example
34
+ * ```ts
35
+ * const listPaymentProvidersResponse =
36
+ * await client.v1.paymentProviders.list();
37
+ * ```
38
+ */
39
+ list(query?: PaymentProviderListParams | null | undefined, options?: RequestOptions): APIPromise<ListPaymentProvidersResponse>;
40
+ /**
41
+ * Disconnect a payment provider from a project
42
+ *
43
+ * @example
44
+ * ```ts
45
+ * const paymentProvider =
46
+ * await client.v1.paymentProviders.delete('id');
47
+ * ```
48
+ */
49
+ delete(id: string, options?: RequestOptions): APIPromise<PaymentProviderDeleteResponse>;
50
+ /**
51
+ * Get a single payment provider by ID
52
+ *
53
+ * @example
54
+ * ```ts
55
+ * const paymentProviderResponse =
56
+ * await client.v1.paymentProviders.get('id');
57
+ * ```
58
+ */
59
+ get(id: string, options?: RequestOptions): APIPromise<PaymentProviderResponse>;
60
+ }
61
+ export interface CreatePaymentProviderRequest {
62
+ api_key: string;
63
+ project_id: string;
64
+ provider_type: 'stripe' | 'paddle' | 'paypal' | 'lemon_squeezy' | 'square';
65
+ webhook_secret: string;
66
+ }
67
+ export interface ListPaymentProvidersResponse {
68
+ providers?: Array<PaymentProviderResponse>;
69
+ total?: number;
70
+ }
71
+ export interface PaymentProviderResponse {
72
+ id?: string;
73
+ created_at?: string;
74
+ is_active?: boolean;
75
+ last_synced_at?: string;
76
+ organization_id?: string;
77
+ project_id?: string;
78
+ provider_type?: 'stripe' | 'paddle' | 'paypal' | 'lemon_squeezy' | 'square';
79
+ updated_at?: string;
80
+ }
81
+ export interface UpdatePaymentProviderRequest {
82
+ api_key?: string;
83
+ is_active?: boolean;
84
+ webhook_secret?: string;
85
+ }
86
+ export type PaymentProviderDeleteResponse = {
87
+ [key: string]: string;
88
+ };
89
+ export interface PaymentProviderCreateParams {
90
+ api_key: string;
91
+ project_id: string;
92
+ provider_type: 'stripe' | 'paddle' | 'paypal' | 'lemon_squeezy' | 'square';
93
+ webhook_secret: string;
94
+ }
95
+ export interface PaymentProviderUpdateParams {
96
+ api_key?: string;
97
+ is_active?: boolean;
98
+ webhook_secret?: string;
99
+ }
100
+ export interface PaymentProviderListParams {
101
+ /**
102
+ * Filter by project ID
103
+ */
104
+ project_id?: string;
105
+ }
106
+ export declare namespace PaymentProviders {
107
+ export { type CreatePaymentProviderRequest as CreatePaymentProviderRequest, type ListPaymentProvidersResponse as ListPaymentProvidersResponse, type PaymentProviderResponse as PaymentProviderResponse, type UpdatePaymentProviderRequest as UpdatePaymentProviderRequest, type PaymentProviderDeleteResponse as PaymentProviderDeleteResponse, type PaymentProviderCreateParams as PaymentProviderCreateParams, type PaymentProviderUpdateParams as PaymentProviderUpdateParams, type PaymentProviderListParams as PaymentProviderListParams, };
108
+ }
109
+ //# sourceMappingURL=payment-providers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payment-providers.d.ts","sourceRoot":"","sources":["../../src/resources/v1/payment-providers.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,IAAI,EAAE,2BAA2B,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;IAIxG;;;;;;;;OAQG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,2BAA2B,EACjC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,uBAAuB,CAAC;IAItC;;;;;;;;OAQG;IACH,IAAI,CACF,KAAK,GAAE,yBAAyB,GAAG,IAAI,GAAG,SAAc,EACxD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,4BAA4B,CAAC;IAI3C;;;;;;;;OAQG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,6BAA6B,CAAC;IAIvF;;;;;;;;OAQG;IACH,GAAG,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;CAG/E;AAED,MAAM,WAAW,4BAA4B;IAC3C,OAAO,EAAE,MAAM,CAAC;IAEhB,UAAU,EAAE,MAAM,CAAC;IAEnB,aAAa,EAAE,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,eAAe,GAAG,QAAQ,CAAC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AAO,WAAW,gBAAgB,CAAC;IACxC,OAAO,EACL,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;CACH"}
@@ -0,0 +1,75 @@
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.PaymentProviders = void 0;
5
+ const resource_1 = require("../../core/resource.js");
6
+ const path_1 = require("../../internal/utils/path.js");
7
+ class PaymentProviders extends resource_1.APIResource {
8
+ /**
9
+ * Connect a new payment provider to a project
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * const paymentProviderResponse =
14
+ * await client.v1.paymentProviders.create({
15
+ * api_key: 'sk_test_xxxxx',
16
+ * project_id: '550e8400-e29b-41d4-a716-446655440000',
17
+ * provider_type: 'stripe',
18
+ * webhook_secret: 'whsec_xxxxx',
19
+ * });
20
+ * ```
21
+ */
22
+ create(body, options) {
23
+ return this._client.post('/api/v1/payment-providers', { body, ...options });
24
+ }
25
+ /**
26
+ * Update payment provider credentials or settings
27
+ *
28
+ * @example
29
+ * ```ts
30
+ * const paymentProviderResponse =
31
+ * await client.v1.paymentProviders.update('id');
32
+ * ```
33
+ */
34
+ update(id, body, options) {
35
+ return this._client.put((0, path_1.path) `/api/v1/payment-providers/${id}`, { body, ...options });
36
+ }
37
+ /**
38
+ * Get all payment providers for the organization
39
+ *
40
+ * @example
41
+ * ```ts
42
+ * const listPaymentProvidersResponse =
43
+ * await client.v1.paymentProviders.list();
44
+ * ```
45
+ */
46
+ list(query = {}, options) {
47
+ return this._client.get('/api/v1/payment-providers', { query, ...options });
48
+ }
49
+ /**
50
+ * Disconnect a payment provider from a project
51
+ *
52
+ * @example
53
+ * ```ts
54
+ * const paymentProvider =
55
+ * await client.v1.paymentProviders.delete('id');
56
+ * ```
57
+ */
58
+ delete(id, options) {
59
+ return this._client.delete((0, path_1.path) `/api/v1/payment-providers/${id}`, options);
60
+ }
61
+ /**
62
+ * Get a single payment provider by ID
63
+ *
64
+ * @example
65
+ * ```ts
66
+ * const paymentProviderResponse =
67
+ * await client.v1.paymentProviders.get('id');
68
+ * ```
69
+ */
70
+ get(id, options) {
71
+ return this._client.get((0, path_1.path) `/api/v1/payment-providers/${id}`, options);
72
+ }
73
+ }
74
+ exports.PaymentProviders = PaymentProviders;
75
+ //# sourceMappingURL=payment-providers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payment-providers.js","sourceRoot":"","sources":["../../src/resources/v1/payment-providers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,uDAAiD;AAEjD,MAAa,gBAAiB,SAAQ,sBAAW;IAC/C;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,IAAiC,EAAE,OAAwB;QAChE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,2BAA2B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;IAED;;;;;;;;OAQG;IACH,MAAM,CACJ,EAAU,EACV,IAAiC,EACjC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,6BAA6B,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvF,CAAC;IAED;;;;;;;;OAQG;IACH,IAAI,CACF,QAAsD,EAAE,EACxD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,2BAA2B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;IAED;;;;;;;;OAQG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,6BAA6B,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;IAED;;;;;;;;OAQG;IACH,GAAG,CAAC,EAAU,EAAE,OAAwB;QACtC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,6BAA6B,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;CACF;AA7ED,4CA6EC"}
@@ -0,0 +1,71 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../../core/resource.mjs";
3
+ import { path } from "../../internal/utils/path.mjs";
4
+ export class PaymentProviders extends APIResource {
5
+ /**
6
+ * Connect a new payment provider to a project
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * const paymentProviderResponse =
11
+ * await client.v1.paymentProviders.create({
12
+ * api_key: 'sk_test_xxxxx',
13
+ * project_id: '550e8400-e29b-41d4-a716-446655440000',
14
+ * provider_type: 'stripe',
15
+ * webhook_secret: 'whsec_xxxxx',
16
+ * });
17
+ * ```
18
+ */
19
+ create(body, options) {
20
+ return this._client.post('/api/v1/payment-providers', { body, ...options });
21
+ }
22
+ /**
23
+ * Update payment provider credentials or settings
24
+ *
25
+ * @example
26
+ * ```ts
27
+ * const paymentProviderResponse =
28
+ * await client.v1.paymentProviders.update('id');
29
+ * ```
30
+ */
31
+ update(id, body, options) {
32
+ return this._client.put(path `/api/v1/payment-providers/${id}`, { body, ...options });
33
+ }
34
+ /**
35
+ * Get all payment providers for the organization
36
+ *
37
+ * @example
38
+ * ```ts
39
+ * const listPaymentProvidersResponse =
40
+ * await client.v1.paymentProviders.list();
41
+ * ```
42
+ */
43
+ list(query = {}, options) {
44
+ return this._client.get('/api/v1/payment-providers', { query, ...options });
45
+ }
46
+ /**
47
+ * Disconnect a payment provider from a project
48
+ *
49
+ * @example
50
+ * ```ts
51
+ * const paymentProvider =
52
+ * await client.v1.paymentProviders.delete('id');
53
+ * ```
54
+ */
55
+ delete(id, options) {
56
+ return this._client.delete(path `/api/v1/payment-providers/${id}`, options);
57
+ }
58
+ /**
59
+ * Get a single payment provider by ID
60
+ *
61
+ * @example
62
+ * ```ts
63
+ * const paymentProviderResponse =
64
+ * await client.v1.paymentProviders.get('id');
65
+ * ```
66
+ */
67
+ get(id, options) {
68
+ return this._client.get(path `/api/v1/payment-providers/${id}`, options);
69
+ }
70
+ }
71
+ //# sourceMappingURL=payment-providers.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payment-providers.mjs","sourceRoot":"","sources":["../../src/resources/v1/payment-providers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,gBAAiB,SAAQ,WAAW;IAC/C;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,IAAiC,EAAE,OAAwB;QAChE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,2BAA2B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;IAED;;;;;;;;OAQG;IACH,MAAM,CACJ,EAAU,EACV,IAAiC,EACjC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,6BAA6B,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvF,CAAC;IAED;;;;;;;;OAQG;IACH,IAAI,CACF,QAAsD,EAAE,EACxD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,2BAA2B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;IAED;;;;;;;;OAQG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,6BAA6B,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;IAED;;;;;;;;OAQG;IACH,GAAG,CAAC,EAAU,EAAE,OAAwB;QACtC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,6BAA6B,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;CACF"}
@@ -1,6 +1,8 @@
1
1
  import { APIResource } from "../../core/resource.mjs";
2
2
  import * as AuthAPI from "./auth.mjs";
3
3
  import { Account, Auth, AuthConfirmPasswordRecoveryParams, AuthLoginParams, AuthLogoutParams, AuthRefreshAccessTokenParams, AuthRegisterAccountParams, AuthRequestPasswordRecoveryParams, AuthResponse, MessageResponse, Organization } from "./auth.mjs";
4
+ import * as PaymentProvidersAPI from "./payment-providers.mjs";
5
+ import { CreatePaymentProviderRequest, ListPaymentProvidersResponse, PaymentProviderCreateParams, PaymentProviderDeleteResponse, PaymentProviderListParams, PaymentProviderResponse, PaymentProviderUpdateParams, PaymentProviders, UpdatePaymentProviderRequest } from "./payment-providers.mjs";
4
6
  import * as ProjectsAPI from "./projects.mjs";
5
7
  import { CreateProjectRequest, ListProjectsResponse, Project, ProjectCreateParams, ProjectDeleteResponse, ProjectResponse, ProjectUpdateParams, Projects, UpdateProjectRequest } from "./projects.mjs";
6
8
  import * as AnalyticsAPI from "./analytics/analytics.mjs";
@@ -9,10 +11,12 @@ export declare class V1 extends APIResource {
9
11
  analytics: AnalyticsAPI.Analytics;
10
12
  projects: ProjectsAPI.Projects;
11
13
  auth: AuthAPI.Auth;
14
+ paymentProviders: PaymentProvidersAPI.PaymentProviders;
12
15
  }
13
16
  export declare namespace V1 {
14
17
  export { Analytics as Analytics, type ActiveUsersResponse as ActiveUsersResponse, type BounceRateByPageMetric as BounceRateByPageMetric, type BounceRateResponse as BounceRateResponse, type ChurnRateResponse as ChurnRateResponse, type CohortAnalysisResponse as CohortAnalysisResponse, type CohortData as CohortData, type CountryDataPoint as CountryDataPoint, type DashboardMetricsResponse as DashboardMetricsResponse, type EventsOverTimeDataPoint as EventsOverTimeDataPoint, type OriginDataPoint as OriginDataPoint, type RecentEvent as RecentEvent, type RecentEventsResponse as RecentEventsResponse, type ReturnRateResponse as ReturnRateResponse, type SessionMetricsResponse as SessionMetricsResponse, type TopVisitor as TopVisitor, type TopVisitorsResponse as TopVisitorsResponse, type UniqueVisitorsDataPoint as UniqueVisitorsDataPoint, type UniqueVisitorsTimelineResponse as UniqueVisitorsTimelineResponse, type VisitorDataPoint as VisitorDataPoint, type VisitorEvent as VisitorEvent, type VisitorProfileResponse as VisitorProfileResponse, type VisitorsByCountryResponse as VisitorsByCountryResponse, type VisitorsByDeviceResponse as VisitorsByDeviceResponse, type VisitorsByOriginResponse as VisitorsByOriginResponse, type AnalyticsDashboardParams as AnalyticsDashboardParams, };
15
18
  export { Projects as Projects, type CreateProjectRequest as CreateProjectRequest, type ListProjectsResponse as ListProjectsResponse, type Project as Project, type ProjectResponse as ProjectResponse, type UpdateProjectRequest as UpdateProjectRequest, type ProjectDeleteResponse as ProjectDeleteResponse, type ProjectCreateParams as ProjectCreateParams, type ProjectUpdateParams as ProjectUpdateParams, };
16
19
  export { Auth as Auth, type Account as Account, type AuthResponse as AuthResponse, type MessageResponse as MessageResponse, type Organization as Organization, type AuthConfirmPasswordRecoveryParams as AuthConfirmPasswordRecoveryParams, type AuthLoginParams as AuthLoginParams, type AuthLogoutParams as AuthLogoutParams, type AuthRefreshAccessTokenParams as AuthRefreshAccessTokenParams, type AuthRegisterAccountParams as AuthRegisterAccountParams, type AuthRequestPasswordRecoveryParams as AuthRequestPasswordRecoveryParams, };
20
+ export { PaymentProviders as PaymentProviders, type CreatePaymentProviderRequest as CreatePaymentProviderRequest, type ListPaymentProvidersResponse as ListPaymentProvidersResponse, type PaymentProviderResponse as PaymentProviderResponse, type UpdatePaymentProviderRequest as UpdatePaymentProviderRequest, type PaymentProviderDeleteResponse as PaymentProviderDeleteResponse, type PaymentProviderCreateParams as PaymentProviderCreateParams, type PaymentProviderUpdateParams as PaymentProviderUpdateParams, type PaymentProviderListParams as PaymentProviderListParams, };
17
21
  }
18
22
  //# sourceMappingURL=v1.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"v1.d.mts","sourceRoot":"","sources":["../../src/resources/v1/v1.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,EACL,OAAO,EACP,IAAI,EACJ,iCAAiC,EACjC,eAAe,EACf,gBAAgB,EAChB,4BAA4B,EAC5B,yBAAyB,EACzB,iCAAiC,EACjC,YAAY,EACZ,eAAe,EACf,YAAY,EACb;OACM,KAAK,WAAW;OAChB,EACL,oBAAoB,EACpB,oBAAoB,EACpB,OAAO,EACP,mBAAmB,EACnB,qBAAqB,EACrB,eAAe,EACf,mBAAmB,EACnB,QAAQ,EACR,oBAAoB,EACrB;OACM,KAAK,YAAY;OACjB,EACL,mBAAmB,EACnB,SAAS,EACT,wBAAwB,EACxB,sBAAsB,EACtB,kBAAkB,EAClB,iBAAiB,EACjB,sBAAsB,EACtB,UAAU,EACV,gBAAgB,EAChB,wBAAwB,EACxB,uBAAuB,EACvB,eAAe,EACf,WAAW,EACX,oBAAoB,EACpB,kBAAkB,EAClB,sBAAsB,EACtB,UAAU,EACV,mBAAmB,EACnB,uBAAuB,EACvB,8BAA8B,EAC9B,gBAAgB,EAChB,YAAY,EACZ,sBAAsB,EACtB,yBAAyB,EACzB,wBAAwB,EACxB,wBAAwB,EACzB;AAED,qBAAa,EAAG,SAAQ,WAAW;IACjC,SAAS,EAAE,YAAY,CAAC,SAAS,CAA4C;IAC7E,QAAQ,EAAE,WAAW,CAAC,QAAQ,CAA0C;IACxE,IAAI,EAAE,OAAO,CAAC,IAAI,CAAkC;CACrD;AAMD,MAAM,CAAC,OAAO,WAA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AChD,CAAC;IAEF,OAAO,EACL,IAAI,IAAI,IAAI,EACZ,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,iCAAiC,IAAI,iCAAiC,GAC5E,CAAC;CACH"}
1
+ {"version":3,"file":"v1.d.mts","sourceRoot":"","sources":["../../src/resources/v1/v1.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,EACL,OAAO,EACP,IAAI,EACJ,iCAAiC,EACjC,eAAe,EACf,gBAAgB,EAChB,4BAA4B,EAC5B,yBAAyB,EACzB,iCAAiC,EACjC,YAAY,EACZ,eAAe,EACf,YAAY,EACb;OACM,KAAK,mBAAmB;OACxB,EACL,4BAA4B,EAC5B,4BAA4B,EAC5B,2BAA2B,EAC3B,6BAA6B,EAC7B,yBAAyB,EACzB,uBAAuB,EACvB,2BAA2B,EAC3B,gBAAgB,EAChB,4BAA4B,EAC7B;OACM,KAAK,WAAW;OAChB,EACL,oBAAoB,EACpB,oBAAoB,EACpB,OAAO,EACP,mBAAmB,EACnB,qBAAqB,EACrB,eAAe,EACf,mBAAmB,EACnB,QAAQ,EACR,oBAAoB,EACrB;OACM,KAAK,YAAY;OACjB,EACL,mBAAmB,EACnB,SAAS,EACT,wBAAwB,EACxB,sBAAsB,EACtB,kBAAkB,EAClB,iBAAiB,EACjB,sBAAsB,EACtB,UAAU,EACV,gBAAgB,EAChB,wBAAwB,EACxB,uBAAuB,EACvB,eAAe,EACf,WAAW,EACX,oBAAoB,EACpB,kBAAkB,EAClB,sBAAsB,EACtB,UAAU,EACV,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AwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;IAEF,OAAO,EACL,QAAQ,IAAI,QAAQ,EACpB,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;IAEF,OAAO,EACL,IAAI,IAAI,IAAI,EACZ,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,iCAAiC,IAAI,iCAAiC,GAC5E,CAAC;IAEF,OAAO,EACL,gBAAgB,IAAI,gBAAgB,EACpC,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;CACH"}
@@ -1,6 +1,8 @@
1
1
  import { APIResource } from "../../core/resource.js";
2
2
  import * as AuthAPI from "./auth.js";
3
3
  import { Account, Auth, AuthConfirmPasswordRecoveryParams, AuthLoginParams, AuthLogoutParams, AuthRefreshAccessTokenParams, AuthRegisterAccountParams, AuthRequestPasswordRecoveryParams, AuthResponse, MessageResponse, Organization } from "./auth.js";
4
+ import * as PaymentProvidersAPI from "./payment-providers.js";
5
+ import { CreatePaymentProviderRequest, ListPaymentProvidersResponse, PaymentProviderCreateParams, PaymentProviderDeleteResponse, PaymentProviderListParams, PaymentProviderResponse, PaymentProviderUpdateParams, PaymentProviders, UpdatePaymentProviderRequest } from "./payment-providers.js";
4
6
  import * as ProjectsAPI from "./projects.js";
5
7
  import { CreateProjectRequest, ListProjectsResponse, Project, ProjectCreateParams, ProjectDeleteResponse, ProjectResponse, ProjectUpdateParams, Projects, UpdateProjectRequest } from "./projects.js";
6
8
  import * as AnalyticsAPI from "./analytics/analytics.js";
@@ -9,10 +11,12 @@ export declare class V1 extends APIResource {
9
11
  analytics: AnalyticsAPI.Analytics;
10
12
  projects: ProjectsAPI.Projects;
11
13
  auth: AuthAPI.Auth;
14
+ paymentProviders: PaymentProvidersAPI.PaymentProviders;
12
15
  }
13
16
  export declare namespace V1 {
14
17
  export { Analytics as Analytics, type ActiveUsersResponse as ActiveUsersResponse, type BounceRateByPageMetric as BounceRateByPageMetric, type BounceRateResponse as BounceRateResponse, type ChurnRateResponse as ChurnRateResponse, type CohortAnalysisResponse as CohortAnalysisResponse, type CohortData as CohortData, type CountryDataPoint as CountryDataPoint, type DashboardMetricsResponse as DashboardMetricsResponse, type EventsOverTimeDataPoint as EventsOverTimeDataPoint, type OriginDataPoint as OriginDataPoint, type RecentEvent as RecentEvent, type RecentEventsResponse as RecentEventsResponse, type ReturnRateResponse as ReturnRateResponse, type SessionMetricsResponse as SessionMetricsResponse, type TopVisitor as TopVisitor, type TopVisitorsResponse as TopVisitorsResponse, type UniqueVisitorsDataPoint as UniqueVisitorsDataPoint, type UniqueVisitorsTimelineResponse as UniqueVisitorsTimelineResponse, type VisitorDataPoint as VisitorDataPoint, type VisitorEvent as VisitorEvent, type VisitorProfileResponse as VisitorProfileResponse, type VisitorsByCountryResponse as VisitorsByCountryResponse, type VisitorsByDeviceResponse as VisitorsByDeviceResponse, type VisitorsByOriginResponse as VisitorsByOriginResponse, type AnalyticsDashboardParams as AnalyticsDashboardParams, };
15
18
  export { Projects as Projects, type CreateProjectRequest as CreateProjectRequest, type ListProjectsResponse as ListProjectsResponse, type Project as Project, type ProjectResponse as ProjectResponse, type UpdateProjectRequest as UpdateProjectRequest, type ProjectDeleteResponse as ProjectDeleteResponse, type ProjectCreateParams as ProjectCreateParams, type ProjectUpdateParams as ProjectUpdateParams, };
16
19
  export { Auth as Auth, type Account as Account, type AuthResponse as AuthResponse, type MessageResponse as MessageResponse, type Organization as Organization, type AuthConfirmPasswordRecoveryParams as AuthConfirmPasswordRecoveryParams, type AuthLoginParams as AuthLoginParams, type AuthLogoutParams as AuthLogoutParams, type AuthRefreshAccessTokenParams as AuthRefreshAccessTokenParams, type AuthRegisterAccountParams as AuthRegisterAccountParams, type AuthRequestPasswordRecoveryParams as AuthRequestPasswordRecoveryParams, };
20
+ export { PaymentProviders as PaymentProviders, type CreatePaymentProviderRequest as CreatePaymentProviderRequest, type ListPaymentProvidersResponse as ListPaymentProvidersResponse, type PaymentProviderResponse as PaymentProviderResponse, type UpdatePaymentProviderRequest as UpdatePaymentProviderRequest, type PaymentProviderDeleteResponse as PaymentProviderDeleteResponse, type PaymentProviderCreateParams as PaymentProviderCreateParams, type PaymentProviderUpdateParams as PaymentProviderUpdateParams, type PaymentProviderListParams as PaymentProviderListParams, };
17
21
  }
18
22
  //# sourceMappingURL=v1.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"v1.d.ts","sourceRoot":"","sources":["../../src/resources/v1/v1.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,EACL,OAAO,EACP,IAAI,EACJ,iCAAiC,EACjC,eAAe,EACf,gBAAgB,EAChB,4BAA4B,EAC5B,yBAAyB,EACzB,iCAAiC,EACjC,YAAY,EACZ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AY,EACjC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,iCAAiC,IAAI,iCAAiC,GAC5E,CAAC;IAEF,OAAO,EACL,gBAAgB,IAAI,gBAAgB,EACpC,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;CACH"}
@@ -6,6 +6,8 @@ const tslib_1 = require("../../internal/tslib.js");
6
6
  const resource_1 = require("../../core/resource.js");
7
7
  const AuthAPI = tslib_1.__importStar(require("./auth.js"));
8
8
  const auth_1 = require("./auth.js");
9
+ const PaymentProvidersAPI = tslib_1.__importStar(require("./payment-providers.js"));
10
+ const payment_providers_1 = require("./payment-providers.js");
9
11
  const ProjectsAPI = tslib_1.__importStar(require("./projects.js"));
10
12
  const projects_1 = require("./projects.js");
11
13
  const AnalyticsAPI = tslib_1.__importStar(require("./analytics/analytics.js"));
@@ -16,10 +18,12 @@ class V1 extends resource_1.APIResource {
16
18
  this.analytics = new AnalyticsAPI.Analytics(this._client);
17
19
  this.projects = new ProjectsAPI.Projects(this._client);
18
20
  this.auth = new AuthAPI.Auth(this._client);
21
+ this.paymentProviders = new PaymentProvidersAPI.PaymentProviders(this._client);
19
22
  }
20
23
  }
21
24
  exports.V1 = V1;
22
25
  V1.Analytics = analytics_1.Analytics;
23
26
  V1.Projects = projects_1.Projects;
24
27
  V1.Auth = auth_1.Auth;
28
+ V1.PaymentProviders = payment_providers_1.PaymentProviders;
25
29
  //# sourceMappingURL=v1.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"v1.js","sourceRoot":"","sources":["../../src/resources/v1/v1.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,2DAAkC;AAClC,oCAYgB;AAChB,mEAA0C;AAC1C,4CAUoB;AACpB,+EAAsD;AACtD,wDA2B+B;AAE/B,MAAa,EAAG,SAAQ,sBAAW;IAAnC;;QACE,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC7E,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxE,SAAI,GAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACtD,CAAC;CAAA;AAJD,gBAIC;AAED,EAAE,CAAC,SAAS,GAAG,qBAAS,CAAC;AACzB,EAAE,CAAC,QAAQ,GAAG,mBAAQ,CAAC;AACvB,EAAE,CAAC,IAAI,GAAG,WAAI,CAAC"}
1
+ {"version":3,"file":"v1.js","sourceRoot":"","sources":["../../src/resources/v1/v1.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,2DAAkC;AAClC,oCAYgB;AAChB,oFAA2D;AAC3D,8DAU6B;AAC7B,mEAA0C;AAC1C,4CAUoB;AACpB,+EAAsD;AACtD,wDA2B+B;AAE/B,MAAa,EAAG,SAAQ,sBAAW;IAAnC;;QACE,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC7E,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxE,SAAI,GAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACpD,qBAAgB,GAAyC,IAAI,mBAAmB,CAAC,gBAAgB,CAC/F,IAAI,CAAC,OAAO,CACb,CAAC;IACJ,CAAC;CAAA;AAPD,gBAOC;AAED,EAAE,CAAC,SAAS,GAAG,qBAAS,CAAC;AACzB,EAAE,CAAC,QAAQ,GAAG,mBAAQ,CAAC;AACvB,EAAE,CAAC,IAAI,GAAG,WAAI,CAAC;AACf,EAAE,CAAC,gBAAgB,GAAG,oCAAgB,CAAC"}
@@ -2,6 +2,8 @@
2
2
  import { APIResource } from "../../core/resource.mjs";
3
3
  import * as AuthAPI from "./auth.mjs";
4
4
  import { Auth, } from "./auth.mjs";
5
+ import * as PaymentProvidersAPI from "./payment-providers.mjs";
6
+ import { PaymentProviders, } from "./payment-providers.mjs";
5
7
  import * as ProjectsAPI from "./projects.mjs";
6
8
  import { Projects, } from "./projects.mjs";
7
9
  import * as AnalyticsAPI from "./analytics/analytics.mjs";
@@ -12,9 +14,11 @@ export class V1 extends APIResource {
12
14
  this.analytics = new AnalyticsAPI.Analytics(this._client);
13
15
  this.projects = new ProjectsAPI.Projects(this._client);
14
16
  this.auth = new AuthAPI.Auth(this._client);
17
+ this.paymentProviders = new PaymentProvidersAPI.PaymentProviders(this._client);
15
18
  }
16
19
  }
17
20
  V1.Analytics = Analytics;
18
21
  V1.Projects = Projects;
19
22
  V1.Auth = Auth;
23
+ V1.PaymentProviders = PaymentProviders;
20
24
  //# sourceMappingURL=v1.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"v1.mjs","sourceRoot":"","sources":["../../src/resources/v1/v1.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,EAEL,IAAI,GAUL;OACM,KAAK,WAAW;OAChB,EAQL,QAAQ,GAET;OACM,KAAK,YAAY;OACjB,EAEL,SAAS,GAyBV;AAED,MAAM,OAAO,EAAG,SAAQ,WA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G,gBAAgB,CAAC"}
@@ -41,6 +41,17 @@ export {
41
41
  type AuthRegisterAccountParams,
42
42
  type AuthRequestPasswordRecoveryParams,
43
43
  } from './auth';
44
+ export {
45
+ PaymentProviders,
46
+ type CreatePaymentProviderRequest,
47
+ type ListPaymentProvidersResponse,
48
+ type PaymentProviderResponse,
49
+ type UpdatePaymentProviderRequest,
50
+ type PaymentProviderDeleteResponse,
51
+ type PaymentProviderCreateParams,
52
+ type PaymentProviderUpdateParams,
53
+ type PaymentProviderListParams,
54
+ } from './payment-providers';
44
55
  export {
45
56
  Projects,
46
57
  type CreateProjectRequest,
@@ -0,0 +1,167 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../../core/resource';
4
+ import { APIPromise } from '../../core/api-promise';
5
+ import { RequestOptions } from '../../internal/request-options';
6
+ import { path } from '../../internal/utils/path';
7
+
8
+ export class PaymentProviders extends APIResource {
9
+ /**
10
+ * Connect a new payment provider to a project
11
+ *
12
+ * @example
13
+ * ```ts
14
+ * const paymentProviderResponse =
15
+ * await client.v1.paymentProviders.create({
16
+ * api_key: 'sk_test_xxxxx',
17
+ * project_id: '550e8400-e29b-41d4-a716-446655440000',
18
+ * provider_type: 'stripe',
19
+ * webhook_secret: 'whsec_xxxxx',
20
+ * });
21
+ * ```
22
+ */
23
+ create(body: PaymentProviderCreateParams, options?: RequestOptions): APIPromise<PaymentProviderResponse> {
24
+ return this._client.post('/api/v1/payment-providers', { body, ...options });
25
+ }
26
+
27
+ /**
28
+ * Update payment provider credentials or settings
29
+ *
30
+ * @example
31
+ * ```ts
32
+ * const paymentProviderResponse =
33
+ * await client.v1.paymentProviders.update('id');
34
+ * ```
35
+ */
36
+ update(
37
+ id: string,
38
+ body: PaymentProviderUpdateParams,
39
+ options?: RequestOptions,
40
+ ): APIPromise<PaymentProviderResponse> {
41
+ return this._client.put(path`/api/v1/payment-providers/${id}`, { body, ...options });
42
+ }
43
+
44
+ /**
45
+ * Get all payment providers for the organization
46
+ *
47
+ * @example
48
+ * ```ts
49
+ * const listPaymentProvidersResponse =
50
+ * await client.v1.paymentProviders.list();
51
+ * ```
52
+ */
53
+ list(
54
+ query: PaymentProviderListParams | null | undefined = {},
55
+ options?: RequestOptions,
56
+ ): APIPromise<ListPaymentProvidersResponse> {
57
+ return this._client.get('/api/v1/payment-providers', { query, ...options });
58
+ }
59
+
60
+ /**
61
+ * Disconnect a payment provider from a project
62
+ *
63
+ * @example
64
+ * ```ts
65
+ * const paymentProvider =
66
+ * await client.v1.paymentProviders.delete('id');
67
+ * ```
68
+ */
69
+ delete(id: string, options?: RequestOptions): APIPromise<PaymentProviderDeleteResponse> {
70
+ return this._client.delete(path`/api/v1/payment-providers/${id}`, options);
71
+ }
72
+
73
+ /**
74
+ * Get a single payment provider by ID
75
+ *
76
+ * @example
77
+ * ```ts
78
+ * const paymentProviderResponse =
79
+ * await client.v1.paymentProviders.get('id');
80
+ * ```
81
+ */
82
+ get(id: string, options?: RequestOptions): APIPromise<PaymentProviderResponse> {
83
+ return this._client.get(path`/api/v1/payment-providers/${id}`, options);
84
+ }
85
+ }
86
+
87
+ export interface CreatePaymentProviderRequest {
88
+ api_key: string;
89
+
90
+ project_id: string;
91
+
92
+ provider_type: 'stripe' | 'paddle' | 'paypal' | 'lemon_squeezy' | 'square';
93
+
94
+ webhook_secret: string;
95
+ }
96
+
97
+ export interface ListPaymentProvidersResponse {
98
+ providers?: Array<PaymentProviderResponse>;
99
+
100
+ total?: number;
101
+ }
102
+
103
+ export interface PaymentProviderResponse {
104
+ id?: string;
105
+
106
+ created_at?: string;
107
+
108
+ is_active?: boolean;
109
+
110
+ last_synced_at?: string;
111
+
112
+ organization_id?: string;
113
+
114
+ project_id?: string;
115
+
116
+ provider_type?: 'stripe' | 'paddle' | 'paypal' | 'lemon_squeezy' | 'square';
117
+
118
+ updated_at?: string;
119
+ }
120
+
121
+ export interface UpdatePaymentProviderRequest {
122
+ api_key?: string;
123
+
124
+ is_active?: boolean;
125
+
126
+ webhook_secret?: string;
127
+ }
128
+
129
+ export type PaymentProviderDeleteResponse = { [key: string]: string };
130
+
131
+ export interface PaymentProviderCreateParams {
132
+ api_key: string;
133
+
134
+ project_id: string;
135
+
136
+ provider_type: 'stripe' | 'paddle' | 'paypal' | 'lemon_squeezy' | 'square';
137
+
138
+ webhook_secret: string;
139
+ }
140
+
141
+ export interface PaymentProviderUpdateParams {
142
+ api_key?: string;
143
+
144
+ is_active?: boolean;
145
+
146
+ webhook_secret?: string;
147
+ }
148
+
149
+ export interface PaymentProviderListParams {
150
+ /**
151
+ * Filter by project ID
152
+ */
153
+ project_id?: string;
154
+ }
155
+
156
+ export declare namespace PaymentProviders {
157
+ export {
158
+ type CreatePaymentProviderRequest as CreatePaymentProviderRequest,
159
+ type ListPaymentProvidersResponse as ListPaymentProvidersResponse,
160
+ type PaymentProviderResponse as PaymentProviderResponse,
161
+ type UpdatePaymentProviderRequest as UpdatePaymentProviderRequest,
162
+ type PaymentProviderDeleteResponse as PaymentProviderDeleteResponse,
163
+ type PaymentProviderCreateParams as PaymentProviderCreateParams,
164
+ type PaymentProviderUpdateParams as PaymentProviderUpdateParams,
165
+ type PaymentProviderListParams as PaymentProviderListParams,
166
+ };
167
+ }
@@ -15,6 +15,18 @@ import {
15
15
  MessageResponse,
16
16
  Organization,
17
17
  } from './auth';
18
+ import * as PaymentProvidersAPI from './payment-providers';
19
+ import {
20
+ CreatePaymentProviderRequest,
21
+ ListPaymentProvidersResponse,
22
+ PaymentProviderCreateParams,
23
+ PaymentProviderDeleteResponse,
24
+ PaymentProviderListParams,
25
+ PaymentProviderResponse,
26
+ PaymentProviderUpdateParams,
27
+ PaymentProviders,
28
+ UpdatePaymentProviderRequest,
29
+ } from './payment-providers';
18
30
  import * as ProjectsAPI from './projects';
19
31
  import {
20
32
  CreateProjectRequest,
@@ -61,11 +73,15 @@ export class V1 extends APIResource {
61
73
  analytics: AnalyticsAPI.Analytics = new AnalyticsAPI.Analytics(this._client);
62
74
  projects: ProjectsAPI.Projects = new ProjectsAPI.Projects(this._client);
63
75
  auth: AuthAPI.Auth = new AuthAPI.Auth(this._client);
76
+ paymentProviders: PaymentProvidersAPI.PaymentProviders = new PaymentProvidersAPI.PaymentProviders(
77
+ this._client,
78
+ );
64
79
  }
65
80
 
66
81
  V1.Analytics = Analytics;
67
82
  V1.Projects = Projects;
68
83
  V1.Auth = Auth;
84
+ V1.PaymentProviders = PaymentProviders;
69
85
 
70
86
  export declare namespace V1 {
71
87
  export {
@@ -122,4 +138,16 @@ export declare namespace V1 {
122
138
  type AuthRegisterAccountParams as AuthRegisterAccountParams,
123
139
  type AuthRequestPasswordRecoveryParams as AuthRequestPasswordRecoveryParams,
124
140
  };
141
+
142
+ export {
143
+ PaymentProviders as PaymentProviders,
144
+ type CreatePaymentProviderRequest as CreatePaymentProviderRequest,
145
+ type ListPaymentProvidersResponse as ListPaymentProvidersResponse,
146
+ type PaymentProviderResponse as PaymentProviderResponse,
147
+ type UpdatePaymentProviderRequest as UpdatePaymentProviderRequest,
148
+ type PaymentProviderDeleteResponse as PaymentProviderDeleteResponse,
149
+ type PaymentProviderCreateParams as PaymentProviderCreateParams,
150
+ type PaymentProviderUpdateParams as PaymentProviderUpdateParams,
151
+ type PaymentProviderListParams as PaymentProviderListParams,
152
+ };
125
153
  }
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.5.0'; // x-release-please-version
1
+ export const VERSION = '0.6.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.5.0";
1
+ export declare const VERSION = "0.6.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.5.0";
1
+ export declare const VERSION = "0.6.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.5.0'; // x-release-please-version
4
+ exports.VERSION = '0.6.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.5.0'; // x-release-please-version
1
+ export const VERSION = '0.6.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map