dodopayments 1.5.1 → 1.7.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 +29 -0
- package/index.d.mts +18 -18
- package/index.d.ts +18 -18
- package/index.d.ts.map +1 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/index.mjs +5 -3
- package/index.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/customers/customer-portal.d.ts +16 -0
- package/resources/customers/customer-portal.d.ts.map +1 -0
- package/resources/customers/{customer-portal/session.js → customer-portal.js} +6 -6
- package/resources/customers/customer-portal.js.map +1 -0
- package/resources/customers/{customer-portal/session.mjs → customer-portal.mjs} +4 -4
- package/resources/customers/customer-portal.mjs.map +1 -0
- package/resources/customers/customers.d.ts +3 -3
- package/resources/customers/customers.d.ts.map +1 -1
- package/resources/customers/customers.js +2 -2
- package/resources/customers/customers.js.map +1 -1
- package/resources/customers/customers.mjs +2 -2
- package/resources/customers/customers.mjs.map +1 -1
- package/resources/customers/index.d.ts +1 -1
- package/resources/customers/index.d.ts.map +1 -1
- package/resources/customers/index.js +2 -2
- package/resources/customers/index.js.map +1 -1
- package/resources/customers/index.mjs +1 -1
- package/resources/customers/index.mjs.map +1 -1
- package/resources/customers.d.ts +2 -0
- package/resources/customers.d.ts.map +1 -0
- package/resources/customers.js +19 -0
- package/resources/customers.js.map +1 -0
- package/resources/customers.mjs +3 -0
- package/resources/customers.mjs.map +1 -0
- package/resources/discounts.d.ts +5 -4
- package/resources/discounts.d.ts.map +1 -1
- package/resources/discounts.js.map +1 -1
- package/resources/discounts.mjs.map +1 -1
- package/resources/disputes.d.ts +11 -5
- package/resources/disputes.d.ts.map +1 -1
- package/resources/disputes.js.map +1 -1
- package/resources/disputes.mjs.map +1 -1
- package/resources/index.d.ts +9 -9
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +4 -2
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +3 -3
- package/resources/index.mjs.map +1 -1
- package/resources/invoices.d.ts +2 -0
- package/resources/invoices.d.ts.map +1 -0
- package/resources/invoices.js +19 -0
- package/resources/invoices.js.map +1 -0
- package/resources/invoices.mjs +3 -0
- package/resources/invoices.mjs.map +1 -0
- package/resources/license-key-instances.d.ts +7 -19
- package/resources/license-key-instances.d.ts.map +1 -1
- package/resources/license-key-instances.js +11 -2
- package/resources/license-key-instances.js.map +1 -1
- package/resources/license-key-instances.mjs +9 -1
- package/resources/license-key-instances.mjs.map +1 -1
- package/resources/license-keys.d.ts +10 -21
- package/resources/license-keys.d.ts.map +1 -1
- package/resources/license-keys.js +10 -2
- package/resources/license-keys.js.map +1 -1
- package/resources/license-keys.mjs +8 -1
- package/resources/license-keys.mjs.map +1 -1
- package/resources/{misc/supported-countries.d.ts → misc.d.ts} +8 -8
- package/resources/{misc/supported-countries.d.ts.map → misc.d.ts.map} +1 -1
- package/resources/misc.js +12 -0
- package/resources/misc.js.map +1 -0
- package/resources/misc.mjs +8 -0
- package/resources/misc.mjs.map +1 -0
- package/resources/payments.d.ts +73 -114
- package/resources/payments.d.ts.map +1 -1
- package/resources/payments.js.map +1 -1
- package/resources/payments.mjs.map +1 -1
- package/resources/products/index.d.ts +1 -1
- package/resources/products/index.d.ts.map +1 -1
- package/resources/products/index.js.map +1 -1
- package/resources/products/index.mjs.map +1 -1
- package/resources/products/products.d.ts +79 -301
- package/resources/products/products.d.ts.map +1 -1
- package/resources/products/products.js.map +1 -1
- package/resources/products/products.mjs.map +1 -1
- package/resources/products.d.ts +2 -0
- package/resources/products.d.ts.map +1 -0
- package/resources/products.js +19 -0
- package/resources/products.js.map +1 -0
- package/resources/products.mjs +3 -0
- package/resources/products.mjs.map +1 -0
- package/resources/refunds.d.ts +8 -3
- package/resources/refunds.d.ts.map +1 -1
- package/resources/refunds.js.map +1 -1
- package/resources/refunds.mjs.map +1 -1
- package/resources/subscriptions.d.ts +17 -81
- package/resources/subscriptions.d.ts.map +1 -1
- package/resources/subscriptions.js.map +1 -1
- package/resources/subscriptions.mjs.map +1 -1
- package/src/index.ts +44 -6
- package/src/resources/customers/{customer-portal/session.ts → customer-portal.ts} +9 -9
- package/src/resources/customers/customers.ts +3 -3
- package/src/resources/customers/index.ts +1 -1
- package/src/resources/customers.ts +3 -0
- package/src/resources/discounts.ts +6 -3
- package/src/resources/disputes.ts +22 -19
- package/src/resources/index.ts +19 -3
- package/src/resources/invoices.ts +3 -0
- package/src/resources/license-key-instances.ts +17 -26
- package/src/resources/license-keys.ts +21 -26
- package/src/resources/{misc/supported-countries.ts → misc.ts} +7 -7
- package/src/resources/payments.ts +108 -174
- package/src/resources/products/index.ts +2 -0
- package/src/resources/products/products.ts +154 -1301
- package/src/resources/products.ts +3 -0
- package/src/resources/refunds.ts +10 -2
- package/src/resources/subscriptions.ts +27 -95
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/customers/customer-portal/customer-portal.d.ts +0 -10
- package/resources/customers/customer-portal/customer-portal.d.ts.map +0 -1
- package/resources/customers/customer-portal/customer-portal.js +0 -39
- package/resources/customers/customer-portal/customer-portal.js.map +0 -1
- package/resources/customers/customer-portal/customer-portal.mjs +0 -12
- package/resources/customers/customer-portal/customer-portal.mjs.map +0 -1
- package/resources/customers/customer-portal/index.d.ts +0 -3
- package/resources/customers/customer-portal/index.d.ts.map +0 -1
- package/resources/customers/customer-portal/index.js +0 -9
- package/resources/customers/customer-portal/index.js.map +0 -1
- package/resources/customers/customer-portal/index.mjs +0 -4
- package/resources/customers/customer-portal/index.mjs.map +0 -1
- package/resources/customers/customer-portal/session.d.ts +0 -16
- package/resources/customers/customer-portal/session.d.ts.map +0 -1
- package/resources/customers/customer-portal/session.js.map +0 -1
- package/resources/customers/customer-portal/session.mjs.map +0 -1
- package/resources/misc/index.d.ts +0 -3
- package/resources/misc/index.d.ts.map +0 -1
- package/resources/misc/index.js +0 -9
- package/resources/misc/index.js.map +0 -1
- package/resources/misc/index.mjs +0 -4
- package/resources/misc/index.mjs.map +0 -1
- package/resources/misc/misc.d.ts +0 -10
- package/resources/misc/misc.d.ts.map +0 -1
- package/resources/misc/misc.js +0 -39
- package/resources/misc/misc.js.map +0 -1
- package/resources/misc/misc.mjs +0 -12
- package/resources/misc/misc.mjs.map +0 -1
- package/resources/misc/supported-countries.js +0 -12
- package/resources/misc/supported-countries.js.map +0 -1
- package/resources/misc/supported-countries.mjs +0 -8
- package/resources/misc/supported-countries.mjs.map +0 -1
- package/src/resources/customers/customer-portal/customer-portal.ts +0 -15
- package/src/resources/customers/customer-portal/index.ts +0 -4
- package/src/resources/misc/index.ts +0 -8
- package/src/resources/misc/misc.ts +0 -21
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.7.0 (2025-03-14)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.6.3...v1.7.0](https://github.com/dodopayments/dodopayments-node/compare/v1.6.3...v1.7.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** added jsr publishing ([#80](https://github.com/dodopayments/dodopayments-node/issues/80)) ([b1040ec](https://github.com/dodopayments/dodopayments-node/commit/b1040ec22d840493db2e9fa6d0ca75495b69b4e0))
|
|
10
|
+
* **api:** fixed openapi spec issues ([#83](https://github.com/dodopayments/dodopayments-node/issues/83)) ([a05a6ff](https://github.com/dodopayments/dodopayments-node/commit/a05a6ff42da3d036aa7d6c5a8ce8409b432b9811))
|
|
11
|
+
* **api:** reverted jsr publishing ([#81](https://github.com/dodopayments/dodopayments-node/issues/81)) ([44cce37](https://github.com/dodopayments/dodopayments-node/commit/44cce37d7d6fa1beb28695693b579fe870f88bcf))
|
|
12
|
+
|
|
13
|
+
## 1.6.3 (2025-03-14)
|
|
14
|
+
|
|
15
|
+
Full Changelog: [v1.5.1...v1.6.3](https://github.com/dodopayments/dodopayments-node/compare/v1.5.1...v1.6.3)
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **api:** openapi spec updated ([#77](https://github.com/dodopayments/dodopayments-node/issues/77)) ([683d65e](https://github.com/dodopayments/dodopayments-node/commit/683d65e3f8bdcad333a4fcca2d6206095ebadaf0))
|
|
20
|
+
* **api:** updated stainless config ([#78](https://github.com/dodopayments/dodopayments-node/issues/78)) ([f5c0a0c](https://github.com/dodopayments/dodopayments-node/commit/f5c0a0cba2037616c86bfafd755cc6af992ab5af))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Bug Fixes
|
|
24
|
+
|
|
25
|
+
* **exports:** ensure resource imports don't require /index ([#76](https://github.com/dodopayments/dodopayments-node/issues/76)) ([81670db](https://github.com/dodopayments/dodopayments-node/commit/81670db550b5c7c5fc9245e7415a338fa06fc826))
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Chores
|
|
29
|
+
|
|
30
|
+
* **internal:** remove extra empty newlines ([#74](https://github.com/dodopayments/dodopayments-node/issues/74)) ([74fa335](https://github.com/dodopayments/dodopayments-node/commit/74fa33567318e4c36a44c4ee6fd3910a176249e6))
|
|
31
|
+
|
|
3
32
|
## 1.5.1 (2025-03-12)
|
|
4
33
|
|
|
5
34
|
Full Changelog: [v1.5.0...v1.5.1](https://github.com/dodopayments/dodopayments-node/compare/v1.5.0...v1.5.1)
|
package/index.d.mts
CHANGED
|
@@ -5,20 +5,20 @@ import * as Pagination from "./pagination.js";
|
|
|
5
5
|
import { type DefaultPageNumberPaginationParams, DefaultPageNumberPaginationResponse } from "./pagination.js";
|
|
6
6
|
import * as Uploads from "./uploads.js";
|
|
7
7
|
import * as API from "./resources/index.js";
|
|
8
|
-
import { Discount, DiscountCreateParams, DiscountListParams, DiscountUpdateParams, Discounts, DiscountsDefaultPageNumberPagination } from "./resources/discounts.js";
|
|
9
|
-
import { Dispute, DisputeListParams, Disputes, DisputesDefaultPageNumberPagination } from "./resources/disputes.js";
|
|
10
|
-
import { LicenseKeyInstance, LicenseKeyInstanceListParams,
|
|
11
|
-
import { LicenseKey, LicenseKeyListParams,
|
|
8
|
+
import { Discount, DiscountCreateParams, DiscountListParams, DiscountType, DiscountUpdateParams, Discounts, DiscountsDefaultPageNumberPagination } from "./resources/discounts.js";
|
|
9
|
+
import { Dispute, DisputeListParams, DisputeStage, DisputeStatus, Disputes, DisputesDefaultPageNumberPagination } from "./resources/disputes.js";
|
|
10
|
+
import { LicenseKeyInstance, LicenseKeyInstanceListParams, LicenseKeyInstanceUpdateParams, LicenseKeyInstances, LicenseKeyInstancesDefaultPageNumberPagination } from "./resources/license-key-instances.js";
|
|
11
|
+
import { LicenseKey, LicenseKeyListParams, LicenseKeyStatus, LicenseKeyUpdateParams, LicenseKeys, LicenseKeysDefaultPageNumberPagination } from "./resources/license-keys.js";
|
|
12
12
|
import { LicenseActivateParams, LicenseDeactivateParams, LicenseValidateParams, LicenseValidateResponse, Licenses } from "./resources/licenses.js";
|
|
13
|
-
import {
|
|
13
|
+
import { CountryCode, Misc, MiscListSupportedCountriesResponse } from "./resources/misc.js";
|
|
14
|
+
import { AttachExistingCustomer, BillingAddress, CreateNewCustomer, CustomerLimitedDetails, CustomerRequest, IntentStatus, OneTimeProductCartItem, Payment, PaymentCreateParams, PaymentCreateResponse, PaymentListParams, PaymentListResponse, PaymentListResponsesDefaultPageNumberPagination, Payments } from "./resources/payments.js";
|
|
14
15
|
import { PayoutListParams, PayoutListResponse, PayoutListResponsesDefaultPageNumberPagination, Payouts } from "./resources/payouts.js";
|
|
15
|
-
import { Refund, RefundCreateParams, RefundListParams, Refunds, RefundsDefaultPageNumberPagination } from "./resources/refunds.js";
|
|
16
|
-
import { Subscription, SubscriptionCreateParams, SubscriptionCreateResponse, SubscriptionListParams, SubscriptionUpdateParams, Subscriptions, SubscriptionsDefaultPageNumberPagination } from "./resources/subscriptions.js";
|
|
16
|
+
import { Refund, RefundCreateParams, RefundListParams, RefundStatus, Refunds, RefundsDefaultPageNumberPagination } from "./resources/refunds.js";
|
|
17
|
+
import { Subscription, SubscriptionCreateParams, SubscriptionCreateResponse, SubscriptionListParams, SubscriptionStatus, SubscriptionUpdateParams, Subscriptions, SubscriptionsDefaultPageNumberPagination, TimeInterval } from "./resources/subscriptions.js";
|
|
17
18
|
import { WebhookEvent, WebhookEventListParams, WebhookEvents, WebhookEventsDefaultPageNumberPagination } from "./resources/webhook-events.js";
|
|
18
19
|
import { Customer, CustomerCreateParams, CustomerListParams, CustomerPortalSession, CustomerUpdateParams, Customers, CustomersDefaultPageNumberPagination } from "./resources/customers/customers.js";
|
|
19
20
|
import { Invoices } from "./resources/invoices/invoices.js";
|
|
20
|
-
import {
|
|
21
|
-
import { Product, ProductCreateParams, ProductListParams, ProductListResponse, ProductListResponsesDefaultPageNumberPagination, ProductUpdateParams, Products } from "./resources/products/products.js";
|
|
21
|
+
import { LicenseKeyDuration, Price, Product, ProductCreateParams, ProductListParams, ProductListResponse, ProductListResponsesDefaultPageNumberPagination, ProductUpdateParams, Products } from "./resources/products/products.js";
|
|
22
22
|
declare const environments: {
|
|
23
23
|
live_mode: string;
|
|
24
24
|
test_mode: string;
|
|
@@ -146,20 +146,20 @@ export declare namespace DodoPayments {
|
|
|
146
146
|
export type RequestOptions = Core.RequestOptions;
|
|
147
147
|
export import DefaultPageNumberPagination = Pagination.DefaultPageNumberPagination;
|
|
148
148
|
export { type DefaultPageNumberPaginationParams as DefaultPageNumberPaginationParams, type DefaultPageNumberPaginationResponse as DefaultPageNumberPaginationResponse, };
|
|
149
|
-
export { Payments as Payments, type Payment as Payment, type PaymentCreateResponse as PaymentCreateResponse, type PaymentListResponse as PaymentListResponse, PaymentListResponsesDefaultPageNumberPagination as PaymentListResponsesDefaultPageNumberPagination, type PaymentCreateParams as PaymentCreateParams, type PaymentListParams as PaymentListParams, };
|
|
150
|
-
export { Subscriptions as Subscriptions, type Subscription as Subscription, type SubscriptionCreateResponse as SubscriptionCreateResponse, SubscriptionsDefaultPageNumberPagination as SubscriptionsDefaultPageNumberPagination, type SubscriptionCreateParams as SubscriptionCreateParams, type SubscriptionUpdateParams as SubscriptionUpdateParams, type SubscriptionListParams as SubscriptionListParams, };
|
|
149
|
+
export { Payments as Payments, type AttachExistingCustomer as AttachExistingCustomer, type BillingAddress as BillingAddress, type CreateNewCustomer as CreateNewCustomer, type CustomerLimitedDetails as CustomerLimitedDetails, type CustomerRequest as CustomerRequest, type IntentStatus as IntentStatus, type OneTimeProductCartItem as OneTimeProductCartItem, type Payment as Payment, type PaymentCreateResponse as PaymentCreateResponse, type PaymentListResponse as PaymentListResponse, PaymentListResponsesDefaultPageNumberPagination as PaymentListResponsesDefaultPageNumberPagination, type PaymentCreateParams as PaymentCreateParams, type PaymentListParams as PaymentListParams, };
|
|
150
|
+
export { Subscriptions as Subscriptions, type Subscription as Subscription, type SubscriptionStatus as SubscriptionStatus, type TimeInterval as TimeInterval, type SubscriptionCreateResponse as SubscriptionCreateResponse, SubscriptionsDefaultPageNumberPagination as SubscriptionsDefaultPageNumberPagination, type SubscriptionCreateParams as SubscriptionCreateParams, type SubscriptionUpdateParams as SubscriptionUpdateParams, type SubscriptionListParams as SubscriptionListParams, };
|
|
151
151
|
export { Invoices as Invoices };
|
|
152
152
|
export { Licenses as Licenses, type LicenseValidateResponse as LicenseValidateResponse, type LicenseActivateParams as LicenseActivateParams, type LicenseDeactivateParams as LicenseDeactivateParams, type LicenseValidateParams as LicenseValidateParams, };
|
|
153
|
-
export { LicenseKeys as LicenseKeys, type LicenseKey as LicenseKey, type
|
|
154
|
-
export { LicenseKeyInstances as LicenseKeyInstances, type LicenseKeyInstance as LicenseKeyInstance,
|
|
153
|
+
export { LicenseKeys as LicenseKeys, type LicenseKey as LicenseKey, type LicenseKeyStatus as LicenseKeyStatus, LicenseKeysDefaultPageNumberPagination as LicenseKeysDefaultPageNumberPagination, type LicenseKeyUpdateParams as LicenseKeyUpdateParams, type LicenseKeyListParams as LicenseKeyListParams, };
|
|
154
|
+
export { LicenseKeyInstances as LicenseKeyInstances, type LicenseKeyInstance as LicenseKeyInstance, LicenseKeyInstancesDefaultPageNumberPagination as LicenseKeyInstancesDefaultPageNumberPagination, type LicenseKeyInstanceUpdateParams as LicenseKeyInstanceUpdateParams, type LicenseKeyInstanceListParams as LicenseKeyInstanceListParams, };
|
|
155
155
|
export { Customers as Customers, type Customer as Customer, type CustomerPortalSession as CustomerPortalSession, CustomersDefaultPageNumberPagination as CustomersDefaultPageNumberPagination, type CustomerCreateParams as CustomerCreateParams, type CustomerUpdateParams as CustomerUpdateParams, type CustomerListParams as CustomerListParams, };
|
|
156
|
-
export { Refunds as Refunds, type Refund as Refund, RefundsDefaultPageNumberPagination as RefundsDefaultPageNumberPagination, type RefundCreateParams as RefundCreateParams, type RefundListParams as RefundListParams, };
|
|
157
|
-
export { Disputes as Disputes, type Dispute as Dispute, DisputesDefaultPageNumberPagination as DisputesDefaultPageNumberPagination, type DisputeListParams as DisputeListParams, };
|
|
156
|
+
export { Refunds as Refunds, type Refund as Refund, type RefundStatus as RefundStatus, RefundsDefaultPageNumberPagination as RefundsDefaultPageNumberPagination, type RefundCreateParams as RefundCreateParams, type RefundListParams as RefundListParams, };
|
|
157
|
+
export { Disputes as Disputes, type Dispute as Dispute, type DisputeStage as DisputeStage, type DisputeStatus as DisputeStatus, DisputesDefaultPageNumberPagination as DisputesDefaultPageNumberPagination, type DisputeListParams as DisputeListParams, };
|
|
158
158
|
export { Payouts as Payouts, type PayoutListResponse as PayoutListResponse, PayoutListResponsesDefaultPageNumberPagination as PayoutListResponsesDefaultPageNumberPagination, type PayoutListParams as PayoutListParams, };
|
|
159
159
|
export { WebhookEvents as WebhookEvents, type WebhookEvent as WebhookEvent, WebhookEventsDefaultPageNumberPagination as WebhookEventsDefaultPageNumberPagination, type WebhookEventListParams as WebhookEventListParams, };
|
|
160
|
-
export { Products as Products, type Product as Product, type ProductListResponse as ProductListResponse, ProductListResponsesDefaultPageNumberPagination as ProductListResponsesDefaultPageNumberPagination, type ProductCreateParams as ProductCreateParams, type ProductUpdateParams as ProductUpdateParams, type ProductListParams as ProductListParams, };
|
|
161
|
-
export { Misc as Misc };
|
|
162
|
-
export { Discounts as Discounts, type Discount as Discount, DiscountsDefaultPageNumberPagination as DiscountsDefaultPageNumberPagination, type DiscountCreateParams as DiscountCreateParams, type DiscountUpdateParams as DiscountUpdateParams, type DiscountListParams as DiscountListParams, };
|
|
160
|
+
export { Products as Products, type LicenseKeyDuration as LicenseKeyDuration, type Price as Price, type Product as Product, type ProductListResponse as ProductListResponse, ProductListResponsesDefaultPageNumberPagination as ProductListResponsesDefaultPageNumberPagination, type ProductCreateParams as ProductCreateParams, type ProductUpdateParams as ProductUpdateParams, type ProductListParams as ProductListParams, };
|
|
161
|
+
export { Misc as Misc, type CountryCode as CountryCode, type MiscListSupportedCountriesResponse as MiscListSupportedCountriesResponse, };
|
|
162
|
+
export { Discounts as Discounts, type Discount as Discount, type DiscountType as DiscountType, DiscountsDefaultPageNumberPagination as DiscountsDefaultPageNumberPagination, type DiscountCreateParams as DiscountCreateParams, type DiscountUpdateParams as DiscountUpdateParams, type DiscountListParams as DiscountListParams, };
|
|
163
163
|
}
|
|
164
164
|
export { toFile, fileFromPath } from "./uploads.js";
|
|
165
165
|
export { DodoPaymentsError, APIError, APIConnectionError, APIConnectionTimeoutError, APIUserAbortError, NotFoundError, ConflictError, RateLimitError, BadRequestError, AuthenticationError, InternalServerError, PermissionDeniedError, UnprocessableEntityError, } from "./error.js";
|
package/index.d.ts
CHANGED
|
@@ -5,20 +5,20 @@ import * as Pagination from "./pagination.js";
|
|
|
5
5
|
import { type DefaultPageNumberPaginationParams, DefaultPageNumberPaginationResponse } from "./pagination.js";
|
|
6
6
|
import * as Uploads from "./uploads.js";
|
|
7
7
|
import * as API from "./resources/index.js";
|
|
8
|
-
import { Discount, DiscountCreateParams, DiscountListParams, DiscountUpdateParams, Discounts, DiscountsDefaultPageNumberPagination } from "./resources/discounts.js";
|
|
9
|
-
import { Dispute, DisputeListParams, Disputes, DisputesDefaultPageNumberPagination } from "./resources/disputes.js";
|
|
10
|
-
import { LicenseKeyInstance, LicenseKeyInstanceListParams,
|
|
11
|
-
import { LicenseKey, LicenseKeyListParams,
|
|
8
|
+
import { Discount, DiscountCreateParams, DiscountListParams, DiscountType, DiscountUpdateParams, Discounts, DiscountsDefaultPageNumberPagination } from "./resources/discounts.js";
|
|
9
|
+
import { Dispute, DisputeListParams, DisputeStage, DisputeStatus, Disputes, DisputesDefaultPageNumberPagination } from "./resources/disputes.js";
|
|
10
|
+
import { LicenseKeyInstance, LicenseKeyInstanceListParams, LicenseKeyInstanceUpdateParams, LicenseKeyInstances, LicenseKeyInstancesDefaultPageNumberPagination } from "./resources/license-key-instances.js";
|
|
11
|
+
import { LicenseKey, LicenseKeyListParams, LicenseKeyStatus, LicenseKeyUpdateParams, LicenseKeys, LicenseKeysDefaultPageNumberPagination } from "./resources/license-keys.js";
|
|
12
12
|
import { LicenseActivateParams, LicenseDeactivateParams, LicenseValidateParams, LicenseValidateResponse, Licenses } from "./resources/licenses.js";
|
|
13
|
-
import {
|
|
13
|
+
import { CountryCode, Misc, MiscListSupportedCountriesResponse } from "./resources/misc.js";
|
|
14
|
+
import { AttachExistingCustomer, BillingAddress, CreateNewCustomer, CustomerLimitedDetails, CustomerRequest, IntentStatus, OneTimeProductCartItem, Payment, PaymentCreateParams, PaymentCreateResponse, PaymentListParams, PaymentListResponse, PaymentListResponsesDefaultPageNumberPagination, Payments } from "./resources/payments.js";
|
|
14
15
|
import { PayoutListParams, PayoutListResponse, PayoutListResponsesDefaultPageNumberPagination, Payouts } from "./resources/payouts.js";
|
|
15
|
-
import { Refund, RefundCreateParams, RefundListParams, Refunds, RefundsDefaultPageNumberPagination } from "./resources/refunds.js";
|
|
16
|
-
import { Subscription, SubscriptionCreateParams, SubscriptionCreateResponse, SubscriptionListParams, SubscriptionUpdateParams, Subscriptions, SubscriptionsDefaultPageNumberPagination } from "./resources/subscriptions.js";
|
|
16
|
+
import { Refund, RefundCreateParams, RefundListParams, RefundStatus, Refunds, RefundsDefaultPageNumberPagination } from "./resources/refunds.js";
|
|
17
|
+
import { Subscription, SubscriptionCreateParams, SubscriptionCreateResponse, SubscriptionListParams, SubscriptionStatus, SubscriptionUpdateParams, Subscriptions, SubscriptionsDefaultPageNumberPagination, TimeInterval } from "./resources/subscriptions.js";
|
|
17
18
|
import { WebhookEvent, WebhookEventListParams, WebhookEvents, WebhookEventsDefaultPageNumberPagination } from "./resources/webhook-events.js";
|
|
18
19
|
import { Customer, CustomerCreateParams, CustomerListParams, CustomerPortalSession, CustomerUpdateParams, Customers, CustomersDefaultPageNumberPagination } from "./resources/customers/customers.js";
|
|
19
20
|
import { Invoices } from "./resources/invoices/invoices.js";
|
|
20
|
-
import {
|
|
21
|
-
import { Product, ProductCreateParams, ProductListParams, ProductListResponse, ProductListResponsesDefaultPageNumberPagination, ProductUpdateParams, Products } from "./resources/products/products.js";
|
|
21
|
+
import { LicenseKeyDuration, Price, Product, ProductCreateParams, ProductListParams, ProductListResponse, ProductListResponsesDefaultPageNumberPagination, ProductUpdateParams, Products } from "./resources/products/products.js";
|
|
22
22
|
declare const environments: {
|
|
23
23
|
live_mode: string;
|
|
24
24
|
test_mode: string;
|
|
@@ -146,20 +146,20 @@ export declare namespace DodoPayments {
|
|
|
146
146
|
export type RequestOptions = Core.RequestOptions;
|
|
147
147
|
export import DefaultPageNumberPagination = Pagination.DefaultPageNumberPagination;
|
|
148
148
|
export { type DefaultPageNumberPaginationParams as DefaultPageNumberPaginationParams, type DefaultPageNumberPaginationResponse as DefaultPageNumberPaginationResponse, };
|
|
149
|
-
export { Payments as Payments, type Payment as Payment, type PaymentCreateResponse as PaymentCreateResponse, type PaymentListResponse as PaymentListResponse, PaymentListResponsesDefaultPageNumberPagination as PaymentListResponsesDefaultPageNumberPagination, type PaymentCreateParams as PaymentCreateParams, type PaymentListParams as PaymentListParams, };
|
|
150
|
-
export { Subscriptions as Subscriptions, type Subscription as Subscription, type SubscriptionCreateResponse as SubscriptionCreateResponse, SubscriptionsDefaultPageNumberPagination as SubscriptionsDefaultPageNumberPagination, type SubscriptionCreateParams as SubscriptionCreateParams, type SubscriptionUpdateParams as SubscriptionUpdateParams, type SubscriptionListParams as SubscriptionListParams, };
|
|
149
|
+
export { Payments as Payments, type AttachExistingCustomer as AttachExistingCustomer, type BillingAddress as BillingAddress, type CreateNewCustomer as CreateNewCustomer, type CustomerLimitedDetails as CustomerLimitedDetails, type CustomerRequest as CustomerRequest, type IntentStatus as IntentStatus, type OneTimeProductCartItem as OneTimeProductCartItem, type Payment as Payment, type PaymentCreateResponse as PaymentCreateResponse, type PaymentListResponse as PaymentListResponse, PaymentListResponsesDefaultPageNumberPagination as PaymentListResponsesDefaultPageNumberPagination, type PaymentCreateParams as PaymentCreateParams, type PaymentListParams as PaymentListParams, };
|
|
150
|
+
export { Subscriptions as Subscriptions, type Subscription as Subscription, type SubscriptionStatus as SubscriptionStatus, type TimeInterval as TimeInterval, type SubscriptionCreateResponse as SubscriptionCreateResponse, SubscriptionsDefaultPageNumberPagination as SubscriptionsDefaultPageNumberPagination, type SubscriptionCreateParams as SubscriptionCreateParams, type SubscriptionUpdateParams as SubscriptionUpdateParams, type SubscriptionListParams as SubscriptionListParams, };
|
|
151
151
|
export { Invoices as Invoices };
|
|
152
152
|
export { Licenses as Licenses, type LicenseValidateResponse as LicenseValidateResponse, type LicenseActivateParams as LicenseActivateParams, type LicenseDeactivateParams as LicenseDeactivateParams, type LicenseValidateParams as LicenseValidateParams, };
|
|
153
|
-
export { LicenseKeys as LicenseKeys, type LicenseKey as LicenseKey, type
|
|
154
|
-
export { LicenseKeyInstances as LicenseKeyInstances, type LicenseKeyInstance as LicenseKeyInstance,
|
|
153
|
+
export { LicenseKeys as LicenseKeys, type LicenseKey as LicenseKey, type LicenseKeyStatus as LicenseKeyStatus, LicenseKeysDefaultPageNumberPagination as LicenseKeysDefaultPageNumberPagination, type LicenseKeyUpdateParams as LicenseKeyUpdateParams, type LicenseKeyListParams as LicenseKeyListParams, };
|
|
154
|
+
export { LicenseKeyInstances as LicenseKeyInstances, type LicenseKeyInstance as LicenseKeyInstance, LicenseKeyInstancesDefaultPageNumberPagination as LicenseKeyInstancesDefaultPageNumberPagination, type LicenseKeyInstanceUpdateParams as LicenseKeyInstanceUpdateParams, type LicenseKeyInstanceListParams as LicenseKeyInstanceListParams, };
|
|
155
155
|
export { Customers as Customers, type Customer as Customer, type CustomerPortalSession as CustomerPortalSession, CustomersDefaultPageNumberPagination as CustomersDefaultPageNumberPagination, type CustomerCreateParams as CustomerCreateParams, type CustomerUpdateParams as CustomerUpdateParams, type CustomerListParams as CustomerListParams, };
|
|
156
|
-
export { Refunds as Refunds, type Refund as Refund, RefundsDefaultPageNumberPagination as RefundsDefaultPageNumberPagination, type RefundCreateParams as RefundCreateParams, type RefundListParams as RefundListParams, };
|
|
157
|
-
export { Disputes as Disputes, type Dispute as Dispute, DisputesDefaultPageNumberPagination as DisputesDefaultPageNumberPagination, type DisputeListParams as DisputeListParams, };
|
|
156
|
+
export { Refunds as Refunds, type Refund as Refund, type RefundStatus as RefundStatus, RefundsDefaultPageNumberPagination as RefundsDefaultPageNumberPagination, type RefundCreateParams as RefundCreateParams, type RefundListParams as RefundListParams, };
|
|
157
|
+
export { Disputes as Disputes, type Dispute as Dispute, type DisputeStage as DisputeStage, type DisputeStatus as DisputeStatus, DisputesDefaultPageNumberPagination as DisputesDefaultPageNumberPagination, type DisputeListParams as DisputeListParams, };
|
|
158
158
|
export { Payouts as Payouts, type PayoutListResponse as PayoutListResponse, PayoutListResponsesDefaultPageNumberPagination as PayoutListResponsesDefaultPageNumberPagination, type PayoutListParams as PayoutListParams, };
|
|
159
159
|
export { WebhookEvents as WebhookEvents, type WebhookEvent as WebhookEvent, WebhookEventsDefaultPageNumberPagination as WebhookEventsDefaultPageNumberPagination, type WebhookEventListParams as WebhookEventListParams, };
|
|
160
|
-
export { Products as Products, type Product as Product, type ProductListResponse as ProductListResponse, ProductListResponsesDefaultPageNumberPagination as ProductListResponsesDefaultPageNumberPagination, type ProductCreateParams as ProductCreateParams, type ProductUpdateParams as ProductUpdateParams, type ProductListParams as ProductListParams, };
|
|
161
|
-
export { Misc as Misc };
|
|
162
|
-
export { Discounts as Discounts, type Discount as Discount, DiscountsDefaultPageNumberPagination as DiscountsDefaultPageNumberPagination, type DiscountCreateParams as DiscountCreateParams, type DiscountUpdateParams as DiscountUpdateParams, type DiscountListParams as DiscountListParams, };
|
|
160
|
+
export { Products as Products, type LicenseKeyDuration as LicenseKeyDuration, type Price as Price, type Product as Product, type ProductListResponse as ProductListResponse, ProductListResponsesDefaultPageNumberPagination as ProductListResponsesDefaultPageNumberPagination, type ProductCreateParams as ProductCreateParams, type ProductUpdateParams as ProductUpdateParams, type ProductListParams as ProductListParams, };
|
|
161
|
+
export { Misc as Misc, type CountryCode as CountryCode, type MiscListSupportedCountriesResponse as MiscListSupportedCountriesResponse, };
|
|
162
|
+
export { Discounts as Discounts, type Discount as Discount, type DiscountType as DiscountType, DiscountsDefaultPageNumberPagination as DiscountsDefaultPageNumberPagination, type DiscountCreateParams as DiscountCreateParams, type DiscountUpdateParams as DiscountUpdateParams, type DiscountListParams as DiscountListParams, };
|
|
163
163
|
}
|
|
164
164
|
export { toFile, fileFromPath } from "./uploads.js";
|
|
165
165
|
export { DodoPaymentsError, APIError, APIConnectionError, APIConnectionTimeoutError, APIUserAbortError, NotFoundError, ConflictError, RateLimitError, BadRequestError, AuthenticationError, InternalServerError, PermissionDeniedError, UnprocessableEntityError, } from "./error.js";
|
package/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAC/B,OAAO,KAAK,MAAM,MAAM,SAAS,CAAC;AAClC,OAAO,KAAK,UAAU,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
|
|
36
36
|
const license_key_instances_1 = require("./resources/license-key-instances.js");
|
|
37
37
|
const license_keys_1 = require("./resources/license-keys.js");
|
|
38
38
|
const licenses_1 = require("./resources/licenses.js");
|
|
39
|
+
const misc_1 = require("./resources/misc.js");
|
|
39
40
|
const payments_1 = require("./resources/payments.js");
|
|
40
41
|
const payouts_1 = require("./resources/payouts.js");
|
|
41
42
|
const refunds_1 = require("./resources/refunds.js");
|
|
@@ -43,7 +44,6 @@ const subscriptions_1 = require("./resources/subscriptions.js");
|
|
|
43
44
|
const webhook_events_1 = require("./resources/webhook-events.js");
|
|
44
45
|
const customers_1 = require("./resources/customers/customers.js");
|
|
45
46
|
const invoices_1 = require("./resources/invoices/invoices.js");
|
|
46
|
-
const misc_1 = require("./resources/misc/misc.js");
|
|
47
47
|
const products_1 = require("./resources/products/products.js");
|
|
48
48
|
const environments = {
|
|
49
49
|
live_mode: 'https://live.dodopayments.com',
|
|
@@ -143,7 +143,9 @@ DodoPayments.SubscriptionsDefaultPageNumberPagination = subscriptions_1.Subscrip
|
|
|
143
143
|
DodoPayments.Invoices = invoices_1.Invoices;
|
|
144
144
|
DodoPayments.Licenses = licenses_1.Licenses;
|
|
145
145
|
DodoPayments.LicenseKeys = license_keys_1.LicenseKeys;
|
|
146
|
+
DodoPayments.LicenseKeysDefaultPageNumberPagination = license_keys_1.LicenseKeysDefaultPageNumberPagination;
|
|
146
147
|
DodoPayments.LicenseKeyInstances = license_key_instances_1.LicenseKeyInstances;
|
|
148
|
+
DodoPayments.LicenseKeyInstancesDefaultPageNumberPagination = license_key_instances_1.LicenseKeyInstancesDefaultPageNumberPagination;
|
|
147
149
|
DodoPayments.Customers = customers_1.Customers;
|
|
148
150
|
DodoPayments.CustomersDefaultPageNumberPagination = customers_1.CustomersDefaultPageNumberPagination;
|
|
149
151
|
DodoPayments.Refunds = refunds_1.Refunds;
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGtF,gDAA+B;AAC/B,mDAAkC;AAClC,4DAA2C;AAE3C,sDAAqC;AACrC,0DAAyC;AACzC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGtF,gDAA+B;AAC/B,mDAAkC;AAClC,4DAA2C;AAE3C,sDAAqC;AACrC,0DAAyC;AACzC,wDAQ+B;AAC/B,sDAO8B;AAC9B,gFAM2C;AAC3C,8DAOkC;AAClC,sDAM8B;AAC9B,8CAAyF;AACzF,sDAe8B;AAC9B,oDAK6B;AAC7B,oDAO6B;AAC7B,gEAUmC;AACnC,kEAKoC;AACpC,kEAQyC;AACzC,+DAAyD;AACzD,+DAUuC;AAEvC,MAAM,YAAY,GAAG;IACnB,SAAS,EAAE,+BAA+B;IAC1C,SAAS,EAAE,+BAA+B;CAC3C,CAAC;AA2EF;;GAEG;AACH,MAAa,YAAa,SAAQ,IAAI,CAAC,SAAS;IAK9C;;;;;;;;;;;;OAYG;IACH,YAAY,EACV,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,wBAAwB,CAAC,EAChD,WAAW,GAAG,IAAI,CAAC,OAAO,CAAC,uBAAuB,CAAC,EACnD,GAAG,IAAI,KACU,EAAE;QACnB,IAAI,WAAW,KAAK,SAAS,EAAE;YAC7B,MAAM,IAAI,MAAM,CAAC,iBAAiB,CAChC,sNAAsN,CACvN,CAAC;SACH;QAED,MAAM,OAAO,GAAkB;YAC7B,WAAW;YACX,GAAG,IAAI;YACP,OAAO;YACP,WAAW,EAAE,IAAI,CAAC,WAAW,IAAI,WAAW;SAC7C,CAAC;QAEF,IAAI,OAAO,IAAI,IAAI,CAAC,WAAW,EAAE;YAC/B,MAAM,IAAI,MAAM,CAAC,iBAAiB,CAChC,gLAAgL,CACjL,CAAC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,uGAAA,YAAY,OAAA;AAC7B,oCAciB;AAbf,0GAAA,iBAAiB,OAAA;AACjB,iGAAA,QAAQ,OAAA;AACR,2GAAA,kBAAkB,OAAA;AAClB,kHAAA,yBAAyB,OAAA;AACzB,0GAAA,iBAAiB,OAAA;AACjB,sGAAA,aAAa,OAAA;AACb,sGAAA,aAAa,OAAA;AACb,uGAAA,cAAc,OAAA;AACd,wGAAA,eAAe,OAAA;AACf,4GAAA,mBAAmB,OAAA;AACnB,4GAAA,mBAAmB,OAAA;AACnB,8GAAA,qBAAqB,OAAA;AACrB,iHAAA,wBAAwB,OAAA;AAG1B,kBAAe,YAAY,CAAC"}
|
package/index.mjs
CHANGED
|
@@ -7,9 +7,10 @@ import * as Uploads from "./uploads.mjs";
|
|
|
7
7
|
import * as API from "./resources/index.mjs";
|
|
8
8
|
import { Discounts, DiscountsDefaultPageNumberPagination, } from "./resources/discounts.mjs";
|
|
9
9
|
import { Disputes, DisputesDefaultPageNumberPagination, } from "./resources/disputes.mjs";
|
|
10
|
-
import { LicenseKeyInstances, } from "./resources/license-key-instances.mjs";
|
|
11
|
-
import { LicenseKeys, } from "./resources/license-keys.mjs";
|
|
10
|
+
import { LicenseKeyInstances, LicenseKeyInstancesDefaultPageNumberPagination, } from "./resources/license-key-instances.mjs";
|
|
11
|
+
import { LicenseKeys, LicenseKeysDefaultPageNumberPagination, } from "./resources/license-keys.mjs";
|
|
12
12
|
import { Licenses, } from "./resources/licenses.mjs";
|
|
13
|
+
import { Misc } from "./resources/misc.mjs";
|
|
13
14
|
import { PaymentListResponsesDefaultPageNumberPagination, Payments, } from "./resources/payments.mjs";
|
|
14
15
|
import { PayoutListResponsesDefaultPageNumberPagination, Payouts, } from "./resources/payouts.mjs";
|
|
15
16
|
import { Refunds, RefundsDefaultPageNumberPagination, } from "./resources/refunds.mjs";
|
|
@@ -17,7 +18,6 @@ import { Subscriptions, SubscriptionsDefaultPageNumberPagination, } from "./reso
|
|
|
17
18
|
import { WebhookEvents, WebhookEventsDefaultPageNumberPagination, } from "./resources/webhook-events.mjs";
|
|
18
19
|
import { Customers, CustomersDefaultPageNumberPagination, } from "./resources/customers/customers.mjs";
|
|
19
20
|
import { Invoices } from "./resources/invoices/invoices.mjs";
|
|
20
|
-
import { Misc } from "./resources/misc/misc.mjs";
|
|
21
21
|
import { ProductListResponsesDefaultPageNumberPagination, Products, } from "./resources/products/products.mjs";
|
|
22
22
|
const environments = {
|
|
23
23
|
live_mode: 'https://live.dodopayments.com',
|
|
@@ -116,7 +116,9 @@ DodoPayments.SubscriptionsDefaultPageNumberPagination = SubscriptionsDefaultPage
|
|
|
116
116
|
DodoPayments.Invoices = Invoices;
|
|
117
117
|
DodoPayments.Licenses = Licenses;
|
|
118
118
|
DodoPayments.LicenseKeys = LicenseKeys;
|
|
119
|
+
DodoPayments.LicenseKeysDefaultPageNumberPagination = LicenseKeysDefaultPageNumberPagination;
|
|
119
120
|
DodoPayments.LicenseKeyInstances = LicenseKeyInstances;
|
|
121
|
+
DodoPayments.LicenseKeyInstancesDefaultPageNumberPagination = LicenseKeyInstancesDefaultPageNumberPagination;
|
|
120
122
|
DodoPayments.Customers = Customers;
|
|
121
123
|
DodoPayments.CustomersDefaultPageNumberPagination = CustomersDefaultPageNumberPagination;
|
|
122
124
|
DodoPayments.Refunds = Refunds;
|
package/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;;OAG/E,KAAK,IAAI;OACT,KAAK,MAAM;OACX,KAAK,UAAU;OAEf,KAAK,OAAO;OACZ,KAAK,GAAG;OACR,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;;OAG/E,KAAK,IAAI;OACT,KAAK,MAAM;OACX,KAAK,UAAU;OAEf,KAAK,OAAO;OACZ,KAAK,GAAG;OACR,EAML,SAAS,EACT,o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mBAAmB,EACnB,qBAAqB,EACrB,wBAAwB,GACzB;AAED,eAAe,YAAY,CAAC"}
|
package/package.json
CHANGED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { APIResource } from "../../resource.js";
|
|
2
|
+
import * as Core from "../../core.js";
|
|
3
|
+
export declare class CustomerPortal extends APIResource {
|
|
4
|
+
create(customerId: string, params?: CustomerPortalCreateParams, options?: Core.RequestOptions): Core.APIPromise<void>;
|
|
5
|
+
create(customerId: string, options?: Core.RequestOptions): Core.APIPromise<void>;
|
|
6
|
+
}
|
|
7
|
+
export interface CustomerPortalCreateParams {
|
|
8
|
+
/**
|
|
9
|
+
* If true, will send link to user.
|
|
10
|
+
*/
|
|
11
|
+
send_email?: boolean | null;
|
|
12
|
+
}
|
|
13
|
+
export declare namespace CustomerPortal {
|
|
14
|
+
export { type CustomerPortalCreateParams as CustomerPortalCreateParams };
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=customer-portal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customer-portal.d.ts","sourceRoot":"","sources":["../../src/resources/customers/customer-portal.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AAEnC,qBAAa,cAAe,SAAQ,WAAW;IAC7C,MAAM,CACJ,UAAU,EAAE,MAAM,EAClB,MAAM,CAAC,EAAE,0BAA0B,EACnC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC;IACxB,MAAM,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC;CAgBjF;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;CAC7B;AAED,MAAM,CAAC,OAAO,WAAW,cAAc,CAAC;IACtC,OAAO,EAAE,KAAK,0BAA0B,IAAI,0BAA0B,EAAE,CAAC;CAC1E"}
|
|
@@ -1,10 +1,10 @@
|
|
|
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.
|
|
5
|
-
const resource_1 = require("
|
|
6
|
-
const core_1 = require("
|
|
7
|
-
class
|
|
4
|
+
exports.CustomerPortal = void 0;
|
|
5
|
+
const resource_1 = require("../../resource.js");
|
|
6
|
+
const core_1 = require("../../core.js");
|
|
7
|
+
class CustomerPortal extends resource_1.APIResource {
|
|
8
8
|
create(customerId, params = {}, options) {
|
|
9
9
|
if ((0, core_1.isRequestOptions)(params)) {
|
|
10
10
|
return this.create(customerId, {}, params);
|
|
@@ -17,5 +17,5 @@ class Session extends resource_1.APIResource {
|
|
|
17
17
|
});
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
|
-
exports.
|
|
21
|
-
//# sourceMappingURL=
|
|
20
|
+
exports.CustomerPortal = CustomerPortal;
|
|
21
|
+
//# sourceMappingURL=customer-portal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customer-portal.js","sourceRoot":"","sources":["../../src/resources/customers/customer-portal.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA6C;AAC7C,wCAA8C;AAG9C,MAAa,cAAe,SAAQ,sBAAW;IAO7C,MAAM,CACJ,UAAkB,EAClB,SAA2D,EAAE,EAC7D,OAA6B;QAE7B,IAAI,IAAA,uBAAgB,EAAC,MAAM,CAAC,EAAE;YAC5B,OAAO,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE,EAAE,EAAE,MAAM,CAAC,CAAC;SAC5C;QACD,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,CAAC;QAC9B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,UAAU,0BAA0B,EAAE;YAC3E,KAAK,EAAE,EAAE,UAAU,EAAE;YACrB,GAAG,OAAO;YACV,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,OAAO,EAAE;SAChD,CAAC,CAAC;IACL,CAAC;CACF;AAtBD,wCAsBC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
import { APIResource } from "
|
|
3
|
-
import { isRequestOptions } from "
|
|
4
|
-
export class
|
|
2
|
+
import { APIResource } from "../../resource.mjs";
|
|
3
|
+
import { isRequestOptions } from "../../core.mjs";
|
|
4
|
+
export class CustomerPortal extends APIResource {
|
|
5
5
|
create(customerId, params = {}, options) {
|
|
6
6
|
if (isRequestOptions(params)) {
|
|
7
7
|
return this.create(customerId, {}, params);
|
|
@@ -14,4 +14,4 @@ export class Session extends APIResource {
|
|
|
14
14
|
});
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
//# sourceMappingURL=
|
|
17
|
+
//# sourceMappingURL=customer-portal.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customer-portal.mjs","sourceRoot":"","sources":["../../src/resources/customers/customer-portal.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,EAAE,gBAAgB,EAAE;AAG3B,MAAM,OAAO,cAAe,SAAQ,WAAW;IAO7C,MAAM,CACJ,UAAkB,EAClB,SAA2D,EAAE,EAC7D,OAA6B;QAE7B,IAAI,gBAAgB,CAAC,MAAM,CAAC,EAAE;YAC5B,OAAO,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE,EAAE,EAAE,MAAM,CAAC,CAAC;SAC5C;QACD,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,CAAC;QAC9B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,UAAU,0BAA0B,EAAE;YAC3E,KAAK,EAAE,EAAE,UAAU,EAAE;YACrB,GAAG,OAAO;YACV,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,OAAO,EAAE;SAChD,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { APIResource } from "../../resource.js";
|
|
2
2
|
import * as Core from "../../core.js";
|
|
3
|
-
import * as CustomerPortalAPI from "./customer-portal
|
|
4
|
-
import { CustomerPortal } from "./customer-portal
|
|
3
|
+
import * as CustomerPortalAPI from "./customer-portal.js";
|
|
4
|
+
import { CustomerPortal, CustomerPortalCreateParams } from "./customer-portal.js";
|
|
5
5
|
import { DefaultPageNumberPagination, type DefaultPageNumberPaginationParams } from "../../pagination.js";
|
|
6
6
|
export declare class Customers extends APIResource {
|
|
7
7
|
customerPortal: CustomerPortalAPI.CustomerPortal;
|
|
@@ -37,6 +37,6 @@ export interface CustomerListParams extends DefaultPageNumberPaginationParams {
|
|
|
37
37
|
}
|
|
38
38
|
export declare namespace Customers {
|
|
39
39
|
export { type Customer as Customer, type CustomerPortalSession as CustomerPortalSession, CustomersDefaultPageNumberPagination as CustomersDefaultPageNumberPagination, type CustomerCreateParams as CustomerCreateParams, type CustomerUpdateParams as CustomerUpdateParams, type CustomerListParams as CustomerListParams, };
|
|
40
|
-
export { CustomerPortal as CustomerPortal };
|
|
40
|
+
export { CustomerPortal as CustomerPortal, type CustomerPortalCreateParams as CustomerPortalCreateParams };
|
|
41
41
|
}
|
|
42
42
|
//# sourceMappingURL=customers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customers.d.ts","sourceRoot":"","sources":["../../src/resources/customers/customers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,iBAAiB,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IAEpB,UAAU,EAAE,MAAM,CAAC;IAEnB,WAAW,EAAE,MAAM,CAAC;IAEpB,KAAK,EAAE,MAAM,CAAC;IAEd,IAAI,EAAE,MAAM,CAAC;IAEb,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B;AAED,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAC;IAEd,IAAI,EAAE,MAAM,CAAC;IAEb,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B;AAED,MAAM,WAAW,oBAAoB;IACnC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAErB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B;AAED,MAAM,WAAW,kBAAmB,SAAQ,iCAAiC;CAAG;AAKhF,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EACL,KAAK,QAAQ,IAAI,QAAQ,EACzB,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,oCAAoC,IAAI,oCAAoC,EAC5E,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;IAEF,OAAO,EAAE,cAAc,IAAI,cAAc,EAAE,KAAK,0BAA0B,IAAI,0BAA0B,EAAE,CAAC;CAC5G"}
|
|
@@ -27,8 +27,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
27
27
|
exports.CustomersDefaultPageNumberPagination = exports.Customers = void 0;
|
|
28
28
|
const resource_1 = require("../../resource.js");
|
|
29
29
|
const core_1 = require("../../core.js");
|
|
30
|
-
const CustomerPortalAPI = __importStar(require("./customer-portal
|
|
31
|
-
const customer_portal_1 = require("./customer-portal
|
|
30
|
+
const CustomerPortalAPI = __importStar(require("./customer-portal.js"));
|
|
31
|
+
const customer_portal_1 = require("./customer-portal.js");
|
|
32
32
|
const pagination_1 = require("../../pagination.js");
|
|
33
33
|
class Customers extends resource_1.APIResource {
|
|
34
34
|
constructor() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customers.js","sourceRoot":"","sources":["../../src/resources/customers/customers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtF,gDAA6C;AAC7C,wCAA8C;AAE9C,
|
|
1
|
+
{"version":3,"file":"customers.js","sourceRoot":"","sources":["../../src/resources/customers/customers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtF,gDAA6C;AAC7C,wCAA8C;AAE9C,wEAAuD;AACvD,0DAA+E;AAC/E,oDAAuG;AAEvG,MAAa,SAAU,SAAQ,sBAAW;IAA1C;;QACE,mBAAc,GAAqC,IAAI,iBAAiB,CAAC,cAAc,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAgCxG,CAAC;IA9BC,MAAM,CAAC,IAA0B,EAAE,OAA6B;QAC9D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,YAAY,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/D,CAAC;IAED,QAAQ,CAAC,UAAkB,EAAE,OAA6B;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,UAAU,EAAE,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAED,MAAM,CACJ,UAAkB,EAClB,IAA0B,EAC1B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,cAAc,UAAU,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;IAOD,IAAI,CACF,QAAkD,EAAE,EACpD,OAA6B;QAE7B,IAAI,IAAA,uBAAgB,EAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SAC7B;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,YAAY,EAAE,oCAAoC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5G,CAAC;CACF;AAjCD,8BAiCC;AAED,MAAa,oCAAqC,SAAQ,wCAAqC;CAAG;AAAlG,oFAAkG;AAoClG,SAAS,CAAC,oCAAoC,GAAG,oCAAoC,CAAC;AACtF,SAAS,CAAC,cAAc,GAAG,gCAAc,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
import { APIResource } from "../../resource.mjs";
|
|
3
3
|
import { isRequestOptions } from "../../core.mjs";
|
|
4
|
-
import * as CustomerPortalAPI from "./customer-portal
|
|
5
|
-
import { CustomerPortal } from "./customer-portal
|
|
4
|
+
import * as CustomerPortalAPI from "./customer-portal.mjs";
|
|
5
|
+
import { CustomerPortal } from "./customer-portal.mjs";
|
|
6
6
|
import { DefaultPageNumberPagination } from "../../pagination.mjs";
|
|
7
7
|
export class Customers extends APIResource {
|
|
8
8
|
constructor() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customers.mjs","sourceRoot":"","sources":["../../src/resources/customers/customers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,EAAE,gBAAgB,EAAE;OAEpB,KAAK,iBAAiB;OACtB,EAAE,cAAc,
|
|
1
|
+
{"version":3,"file":"customers.mjs","sourceRoot":"","sources":["../../src/resources/customers/customers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,EAAE,gBAAgB,EAAE;OAEpB,KAAK,iBAAiB;OACtB,EAAE,cAAc,EAA8B;OAC9C,EAAE,2BAA2B,EAA0C;AAE9E,MAAM,OAAO,SAAU,SAAQ,WAAW;IAA1C;;QACE,mBAAc,GAAqC,IAAI,iBAAiB,CAAC,cAAc,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAgCxG,CAAC;IA9BC,MAAM,CAAC,IAA0B,EAAE,OAA6B;QAC9D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,YAAY,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/D,CAAC;IAED,QAAQ,CAAC,UAAkB,EAAE,OAA6B;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,UAAU,EAAE,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAED,MAAM,CACJ,UAAkB,EAClB,IAA0B,EAC1B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,cAAc,UAAU,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;IAOD,IAAI,CACF,QAAkD,EAAE,EACpD,OAA6B;QAE7B,IAAI,gBAAgB,CAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SAC7B;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,YAAY,EAAE,oCAAoC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5G,CAAC;CACF;AAED,MAAM,OAAO,oCAAqC,SAAQ,2BAAqC;CAAG;AAoClG,SAAS,CAAC,oCAAoC,GAAG,oCAAoC,CAAC;AACtF,SAAS,CAAC,cAAc,GAAG,cAAc,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { CustomerPortal } from "./customer-portal
|
|
1
|
+
export { CustomerPortal, type CustomerPortalCreateParams } from "./customer-portal.js";
|
|
2
2
|
export { CustomersDefaultPageNumberPagination, Customers, type Customer, type CustomerPortalSession, type CustomerCreateParams, type CustomerUpdateParams, type CustomerListParams, } from "./customers.js";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/customers/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/customers/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,KAAK,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AACpF,OAAO,EACL,oCAAoC,EACpC,SAAS,EACT,KAAK,QAAQ,EACb,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,GACxB,MAAM,aAAa,CAAC"}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.Customers = exports.CustomersDefaultPageNumberPagination = exports.CustomerPortal = void 0;
|
|
5
|
-
var
|
|
6
|
-
Object.defineProperty(exports, "CustomerPortal", { enumerable: true, get: function () { return
|
|
5
|
+
var customer_portal_1 = require("./customer-portal.js");
|
|
6
|
+
Object.defineProperty(exports, "CustomerPortal", { enumerable: true, get: function () { return customer_portal_1.CustomerPortal; } });
|
|
7
7
|
var customers_1 = require("./customers.js");
|
|
8
8
|
Object.defineProperty(exports, "CustomersDefaultPageNumberPagination", { enumerable: true, get: function () { return customers_1.CustomersDefaultPageNumberPagination; } });
|
|
9
9
|
Object.defineProperty(exports, "Customers", { enumerable: true, get: function () { return customers_1.Customers; } });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/customers/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/customers/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAoF;AAA3E,iHAAA,cAAc,OAAA;AACvB,4CAQqB;AAPnB,iIAAA,oCAAoC,OAAA;AACpC,sGAAA,SAAS,OAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
export { CustomerPortal } from "./customer-portal
|
|
2
|
+
export { CustomerPortal } from "./customer-portal.mjs";
|
|
3
3
|
export { CustomersDefaultPageNumberPagination, Customers, } from "./customers.mjs";
|
|
4
4
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/customers/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,cAAc,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/customers/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,cAAc,EAAmC;OACnD,EACL,oCAAoC,EACpC,SAAS,GAMV"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customers.d.ts","sourceRoot":"","sources":["../src/resources/customers.ts"],"names":[],"mappings":"AAEA,cAAc,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16
|
+
};
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
__exportStar(require("./customers/index.js"), exports);
|
|
19
|
+
//# sourceMappingURL=customers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customers.js","sourceRoot":"","sources":["../src/resources/customers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;AAEtF,uDAAkC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customers.mjs","sourceRoot":"","sources":["../src/resources/customers.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
|