@paygentic/sdk 0.3.1-beta.0 → 0.4.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/README.md +3 -2
- package/RUNTIMES.md +6 -6
- package/dist/commonjs/__tests__/subscriptions.test.js +15 -0
- package/dist/commonjs/__tests__/subscriptions.test.js.map +1 -1
- package/dist/commonjs/funcs/billableMetricsCreate.js +1 -1
- package/dist/commonjs/funcs/billableMetricsCreate.js.map +1 -1
- package/dist/commonjs/funcs/billableMetricsGet.js +1 -1
- package/dist/commonjs/funcs/billableMetricsGet.js.map +1 -1
- package/dist/commonjs/funcs/billableMetricsGetPrice.js +1 -1
- package/dist/commonjs/funcs/billableMetricsGetPrice.js.map +1 -1
- package/dist/commonjs/funcs/billableMetricsGetPriceLegacy.js +1 -1
- package/dist/commonjs/funcs/billableMetricsGetPriceLegacy.js.map +1 -1
- package/dist/commonjs/funcs/billableMetricsList.js +1 -1
- package/dist/commonjs/funcs/billableMetricsList.js.map +1 -1
- package/dist/commonjs/funcs/billableMetricsUpdate.js +1 -1
- package/dist/commonjs/funcs/billableMetricsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/consumersGet.js +1 -1
- package/dist/commonjs/funcs/consumersGet.js.map +1 -1
- package/dist/commonjs/funcs/consumersListOffSessionPaymentMethods.js +1 -1
- package/dist/commonjs/funcs/consumersListOffSessionPaymentMethods.js.map +1 -1
- package/dist/commonjs/funcs/customersCheckAuthorizationSessionStatus.js +1 -1
- package/dist/commonjs/funcs/customersCheckAuthorizationSessionStatus.js.map +1 -1
- package/dist/commonjs/funcs/customersCreate.js +1 -1
- package/dist/commonjs/funcs/customersCreate.js.map +1 -1
- package/dist/commonjs/funcs/customersCreateAuthorizationSession.js +1 -1
- package/dist/commonjs/funcs/customersCreateAuthorizationSession.js.map +1 -1
- package/dist/commonjs/funcs/customersGet.js +1 -1
- package/dist/commonjs/funcs/customersGet.js.map +1 -1
- package/dist/commonjs/funcs/customersList.js +1 -1
- package/dist/commonjs/funcs/customersList.js.map +1 -1
- package/dist/commonjs/funcs/customersUpdateCustomer.js +1 -1
- package/dist/commonjs/funcs/customersUpdateCustomer.js.map +1 -1
- package/dist/commonjs/funcs/disputesCreate.js +1 -1
- package/dist/commonjs/funcs/disputesCreate.js.map +1 -1
- package/dist/commonjs/funcs/disputesList.js +1 -1
- package/dist/commonjs/funcs/disputesList.js.map +1 -1
- package/dist/commonjs/funcs/entitlementsCreate.js +1 -1
- package/dist/commonjs/funcs/entitlementsCreate.js.map +1 -1
- package/dist/commonjs/funcs/entitlementsListActive.js +1 -1
- package/dist/commonjs/funcs/entitlementsListActive.js.map +1 -1
- package/dist/commonjs/funcs/externalBankAccountsCreate.js +1 -1
- package/dist/commonjs/funcs/externalBankAccountsCreate.js.map +1 -1
- package/dist/commonjs/funcs/externalBankAccountsDelete.js +1 -1
- package/dist/commonjs/funcs/externalBankAccountsDelete.js.map +1 -1
- package/dist/commonjs/funcs/externalBankAccountsGet.js +1 -1
- package/dist/commonjs/funcs/externalBankAccountsGet.js.map +1 -1
- package/dist/commonjs/funcs/externalBankAccountsList.js +1 -1
- package/dist/commonjs/funcs/externalBankAccountsList.js.map +1 -1
- package/dist/commonjs/funcs/externalBankAccountsUpdate.js +1 -1
- package/dist/commonjs/funcs/externalBankAccountsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/merchantsGet.js +1 -1
- package/dist/commonjs/funcs/merchantsGet.js.map +1 -1
- package/dist/commonjs/funcs/merchantsListEligibleCountries.js +1 -1
- package/dist/commonjs/funcs/merchantsListEligibleCountries.js.map +1 -1
- package/dist/commonjs/funcs/payoutsGet.js +1 -1
- package/dist/commonjs/funcs/payoutsGet.js.map +1 -1
- package/dist/commonjs/funcs/payoutsList.js +1 -1
- package/dist/commonjs/funcs/payoutsList.js.map +1 -1
- package/dist/commonjs/funcs/payoutsListMethods.js +1 -1
- package/dist/commonjs/funcs/payoutsListMethods.js.map +1 -1
- package/dist/commonjs/funcs/plansCreate.js +1 -1
- package/dist/commonjs/funcs/plansCreate.js.map +1 -1
- package/dist/commonjs/funcs/plansGet.js +1 -1
- package/dist/commonjs/funcs/plansGet.js.map +1 -1
- package/dist/commonjs/funcs/plansList.js +1 -1
- package/dist/commonjs/funcs/plansList.js.map +1 -1
- package/dist/commonjs/funcs/plansUpdate.js +1 -1
- package/dist/commonjs/funcs/plansUpdate.js.map +1 -1
- package/dist/commonjs/funcs/pricesCreate.js +1 -1
- package/dist/commonjs/funcs/pricesCreate.js.map +1 -1
- package/dist/commonjs/funcs/pricesGet.js +1 -1
- package/dist/commonjs/funcs/pricesGet.js.map +1 -1
- package/dist/commonjs/funcs/pricesList.js +1 -1
- package/dist/commonjs/funcs/pricesList.js.map +1 -1
- package/dist/commonjs/funcs/pricesUpdate.js +1 -1
- package/dist/commonjs/funcs/pricesUpdate.js.map +1 -1
- package/dist/commonjs/funcs/productsCreate.js +1 -1
- package/dist/commonjs/funcs/productsCreate.js.map +1 -1
- package/dist/commonjs/funcs/productsGet.js +1 -1
- package/dist/commonjs/funcs/productsGet.js.map +1 -1
- package/dist/commonjs/funcs/productsList.js +1 -1
- package/dist/commonjs/funcs/productsList.js.map +1 -1
- package/dist/commonjs/funcs/productsUpdate.js +1 -1
- package/dist/commonjs/funcs/productsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/sourcesAdd.js +1 -1
- package/dist/commonjs/funcs/sourcesAdd.js.map +1 -1
- package/dist/commonjs/funcs/sourcesApproveEvent.js +1 -1
- package/dist/commonjs/funcs/sourcesApproveEvent.js.map +1 -1
- package/dist/commonjs/funcs/sourcesBulkApproveEvents.js +1 -1
- package/dist/commonjs/funcs/sourcesBulkApproveEvents.js.map +1 -1
- package/dist/commonjs/funcs/sourcesCreate.js +1 -1
- package/dist/commonjs/funcs/sourcesCreate.js.map +1 -1
- package/dist/commonjs/funcs/sourcesDelete.js +1 -1
- package/dist/commonjs/funcs/sourcesDelete.js.map +1 -1
- package/dist/commonjs/funcs/sourcesEventsBulkReject.js +1 -1
- package/dist/commonjs/funcs/sourcesEventsBulkReject.js.map +1 -1
- package/dist/commonjs/funcs/sourcesGet.js +1 -1
- package/dist/commonjs/funcs/sourcesGet.js.map +1 -1
- package/dist/commonjs/funcs/sourcesGetRule.js +1 -1
- package/dist/commonjs/funcs/sourcesGetRule.js.map +1 -1
- package/dist/commonjs/funcs/sourcesList.js +1 -1
- package/dist/commonjs/funcs/sourcesList.js.map +1 -1
- package/dist/commonjs/funcs/sourcesListEvents.js +1 -1
- package/dist/commonjs/funcs/sourcesListEvents.js.map +1 -1
- package/dist/commonjs/funcs/sourcesListRules.js +1 -1
- package/dist/commonjs/funcs/sourcesListRules.js.map +1 -1
- package/dist/commonjs/funcs/sourcesRejectEvent.js +1 -1
- package/dist/commonjs/funcs/sourcesRejectEvent.js.map +1 -1
- package/dist/commonjs/funcs/sourcesUpdate.js +1 -1
- package/dist/commonjs/funcs/sourcesUpdate.js.map +1 -1
- package/dist/commonjs/funcs/sourcesUpdateRule.js +1 -1
- package/dist/commonjs/funcs/sourcesUpdateRule.js.map +1 -1
- package/{funcs/disputesList.d.ts → dist/commonjs/funcs/subscriptionsCreateSubscription.d.ts} +5 -4
- package/dist/commonjs/funcs/subscriptionsCreateSubscription.d.ts.map +1 -0
- package/dist/commonjs/funcs/subscriptionsCreateSubscription.js +119 -0
- package/dist/commonjs/funcs/subscriptionsCreateSubscription.js.map +1 -0
- package/dist/commonjs/funcs/subscriptionsGeneratePortalLink.js +1 -1
- package/dist/commonjs/funcs/subscriptionsGeneratePortalLink.js.map +1 -1
- package/dist/commonjs/funcs/subscriptionsGet.js +1 -1
- package/dist/commonjs/funcs/subscriptionsGet.js.map +1 -1
- package/dist/commonjs/funcs/subscriptionsList.js +1 -1
- package/dist/commonjs/funcs/subscriptionsList.js.map +1 -1
- package/dist/commonjs/funcs/usageEventsBatchCreate.js +1 -1
- package/dist/commonjs/funcs/usageEventsBatchCreate.js.map +1 -1
- package/dist/commonjs/funcs/usageEventsCreate.js +1 -1
- package/dist/commonjs/funcs/usageEventsCreate.js.map +1 -1
- package/dist/commonjs/funcs/usageEventsGet.js +1 -1
- package/dist/commonjs/funcs/usageEventsGet.js.map +1 -1
- package/dist/commonjs/funcs/usageEventsList.js +1 -1
- package/dist/commonjs/funcs/usageEventsList.js.map +1 -1
- package/dist/commonjs/funcs/usersGet.js +1 -1
- package/dist/commonjs/funcs/usersGet.js.map +1 -1
- package/dist/commonjs/funcs/usersUpdate.js +1 -1
- package/dist/commonjs/funcs/usersUpdate.js.map +1 -1
- package/dist/commonjs/funcs/walletsCreateTopup.js +1 -1
- package/dist/commonjs/funcs/walletsCreateTopup.js.map +1 -1
- package/dist/commonjs/funcs/walletsGet.js +1 -1
- package/dist/commonjs/funcs/walletsGet.js.map +1 -1
- package/dist/commonjs/funcs/walletsGetTopup.js +1 -1
- package/dist/commonjs/funcs/walletsGetTopup.js.map +1 -1
- package/dist/commonjs/funcs/walletsList.js +1 -1
- package/dist/commonjs/funcs/walletsList.js.map +1 -1
- package/dist/commonjs/funcs/walletsListTopups.js +1 -1
- package/dist/commonjs/funcs/walletsListTopups.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/lib/config.js.map +1 -1
- package/dist/commonjs/models/billablemetric.d.ts +27 -0
- package/dist/commonjs/models/billablemetric.d.ts.map +1 -1
- package/dist/commonjs/models/billablemetric.js +22 -1
- package/dist/commonjs/models/billablemetric.js.map +1 -1
- package/dist/commonjs/models/componentsschemasprice.d.ts +27 -0
- package/dist/commonjs/models/componentsschemasprice.d.ts.map +1 -1
- package/dist/commonjs/models/componentsschemasprice.js +22 -1
- package/dist/commonjs/models/componentsschemasprice.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +0 -1
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +0 -1
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/operations/createbillablemetric.d.ts +36 -0
- package/dist/commonjs/models/operations/createbillablemetric.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createbillablemetric.js +25 -1
- package/dist/commonjs/models/operations/createbillablemetric.js.map +1 -1
- package/dist/commonjs/models/operations/createplan.d.ts +0 -6
- package/dist/commonjs/models/operations/createplan.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createplan.js +0 -3
- package/dist/commonjs/models/operations/createplan.js.map +1 -1
- package/dist/commonjs/models/operations/createprice.d.ts +36 -0
- package/dist/commonjs/models/operations/createprice.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createprice.js +26 -1
- package/dist/commonjs/models/operations/createprice.js.map +1 -1
- package/dist/commonjs/models/operations/createsubscription.d.ts +144 -0
- package/dist/commonjs/models/operations/createsubscription.d.ts.map +1 -0
- package/dist/commonjs/models/operations/createsubscription.js +150 -0
- package/dist/commonjs/models/operations/createsubscription.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +1 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +1 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/updatecustomer.d.ts +4 -4
- package/dist/commonjs/models/operations/updatecustomer.js +4 -4
- package/dist/commonjs/models/plan.d.ts +29 -6
- package/dist/commonjs/models/plan.d.ts.map +1 -1
- package/dist/commonjs/models/plan.js +41 -4
- package/dist/commonjs/models/plan.js.map +1 -1
- package/dist/commonjs/models/price.d.ts +30 -3
- package/dist/commonjs/models/price.d.ts.map +1 -1
- package/dist/commonjs/models/price.js +24 -3
- package/dist/commonjs/models/price.js.map +1 -1
- package/dist/commonjs/models/pricepropertiesunion.d.ts +4 -0
- package/dist/commonjs/models/pricepropertiesunion.d.ts.map +1 -1
- package/dist/commonjs/models/pricepropertiesunion.js +11 -2
- package/dist/commonjs/models/pricepropertiesunion.js.map +1 -1
- package/dist/commonjs/models/schemasprice.d.ts +27 -0
- package/dist/commonjs/models/schemasprice.d.ts.map +1 -1
- package/dist/commonjs/models/schemasprice.js +22 -1
- package/dist/commonjs/models/schemasprice.js.map +1 -1
- package/dist/commonjs/models/subscription.d.ts +172 -0
- package/dist/commonjs/models/subscription.d.ts.map +1 -1
- package/dist/commonjs/models/subscription.js +129 -1
- package/dist/commonjs/models/subscription.js.map +1 -1
- package/dist/commonjs/models/usageevent.d.ts +5 -0
- package/dist/commonjs/models/usageevent.d.ts.map +1 -1
- package/dist/commonjs/models/usageevent.js +2 -0
- package/dist/commonjs/models/usageevent.js.map +1 -1
- package/dist/commonjs/sdk/subscriptions.d.ts +7 -0
- package/dist/commonjs/sdk/subscriptions.d.ts.map +1 -1
- package/dist/commonjs/sdk/subscriptions.js +10 -0
- package/dist/commonjs/sdk/subscriptions.js.map +1 -1
- package/dist/esm/__tests__/subscriptions.test.js +15 -0
- package/dist/esm/__tests__/subscriptions.test.js.map +1 -1
- package/dist/esm/funcs/billableMetricsCreate.js +1 -1
- package/dist/esm/funcs/billableMetricsCreate.js.map +1 -1
- package/dist/esm/funcs/billableMetricsGet.js +1 -1
- package/dist/esm/funcs/billableMetricsGet.js.map +1 -1
- package/dist/esm/funcs/billableMetricsGetPrice.js +1 -1
- package/dist/esm/funcs/billableMetricsGetPrice.js.map +1 -1
- package/dist/esm/funcs/billableMetricsGetPriceLegacy.js +1 -1
- package/dist/esm/funcs/billableMetricsGetPriceLegacy.js.map +1 -1
- package/dist/esm/funcs/billableMetricsList.js +1 -1
- package/dist/esm/funcs/billableMetricsList.js.map +1 -1
- package/dist/esm/funcs/billableMetricsUpdate.js +1 -1
- package/dist/esm/funcs/billableMetricsUpdate.js.map +1 -1
- package/dist/esm/funcs/consumersGet.js +1 -1
- package/dist/esm/funcs/consumersGet.js.map +1 -1
- package/dist/esm/funcs/consumersListOffSessionPaymentMethods.js +1 -1
- package/dist/esm/funcs/consumersListOffSessionPaymentMethods.js.map +1 -1
- package/dist/esm/funcs/customersCheckAuthorizationSessionStatus.js +1 -1
- package/dist/esm/funcs/customersCheckAuthorizationSessionStatus.js.map +1 -1
- package/dist/esm/funcs/customersCreate.js +1 -1
- package/dist/esm/funcs/customersCreate.js.map +1 -1
- package/dist/esm/funcs/customersCreateAuthorizationSession.js +1 -1
- package/dist/esm/funcs/customersCreateAuthorizationSession.js.map +1 -1
- package/dist/esm/funcs/customersGet.js +1 -1
- package/dist/esm/funcs/customersGet.js.map +1 -1
- package/dist/esm/funcs/customersList.js +1 -1
- package/dist/esm/funcs/customersList.js.map +1 -1
- package/dist/esm/funcs/customersUpdateCustomer.js +1 -1
- package/dist/esm/funcs/customersUpdateCustomer.js.map +1 -1
- package/dist/esm/funcs/disputesCreate.js +1 -1
- package/dist/esm/funcs/disputesCreate.js.map +1 -1
- package/dist/esm/funcs/disputesList.js +1 -1
- package/dist/esm/funcs/disputesList.js.map +1 -1
- package/dist/esm/funcs/entitlementsCreate.js +1 -1
- package/dist/esm/funcs/entitlementsCreate.js.map +1 -1
- package/dist/esm/funcs/entitlementsListActive.js +1 -1
- package/dist/esm/funcs/entitlementsListActive.js.map +1 -1
- package/dist/esm/funcs/externalBankAccountsCreate.js +1 -1
- package/dist/esm/funcs/externalBankAccountsCreate.js.map +1 -1
- package/dist/esm/funcs/externalBankAccountsDelete.js +1 -1
- package/dist/esm/funcs/externalBankAccountsDelete.js.map +1 -1
- package/dist/esm/funcs/externalBankAccountsGet.js +1 -1
- package/dist/esm/funcs/externalBankAccountsGet.js.map +1 -1
- package/dist/esm/funcs/externalBankAccountsList.js +1 -1
- package/dist/esm/funcs/externalBankAccountsList.js.map +1 -1
- package/dist/esm/funcs/externalBankAccountsUpdate.js +1 -1
- package/dist/esm/funcs/externalBankAccountsUpdate.js.map +1 -1
- package/dist/esm/funcs/merchantsGet.js +1 -1
- package/dist/esm/funcs/merchantsGet.js.map +1 -1
- package/dist/esm/funcs/merchantsListEligibleCountries.js +1 -1
- package/dist/esm/funcs/merchantsListEligibleCountries.js.map +1 -1
- package/dist/esm/funcs/payoutsGet.js +1 -1
- package/dist/esm/funcs/payoutsGet.js.map +1 -1
- package/dist/esm/funcs/payoutsList.js +1 -1
- package/dist/esm/funcs/payoutsList.js.map +1 -1
- package/dist/esm/funcs/payoutsListMethods.js +1 -1
- package/dist/esm/funcs/payoutsListMethods.js.map +1 -1
- package/dist/esm/funcs/plansCreate.js +1 -1
- package/dist/esm/funcs/plansCreate.js.map +1 -1
- package/dist/esm/funcs/plansGet.js +1 -1
- package/dist/esm/funcs/plansGet.js.map +1 -1
- package/dist/esm/funcs/plansList.js +1 -1
- package/dist/esm/funcs/plansList.js.map +1 -1
- package/dist/esm/funcs/plansUpdate.js +1 -1
- package/dist/esm/funcs/plansUpdate.js.map +1 -1
- package/dist/esm/funcs/pricesCreate.js +1 -1
- package/dist/esm/funcs/pricesCreate.js.map +1 -1
- package/dist/esm/funcs/pricesGet.js +1 -1
- package/dist/esm/funcs/pricesGet.js.map +1 -1
- package/dist/esm/funcs/pricesList.js +1 -1
- package/dist/esm/funcs/pricesList.js.map +1 -1
- package/dist/esm/funcs/pricesUpdate.js +1 -1
- package/dist/esm/funcs/pricesUpdate.js.map +1 -1
- package/dist/esm/funcs/productsCreate.js +1 -1
- package/dist/esm/funcs/productsCreate.js.map +1 -1
- package/dist/esm/funcs/productsGet.js +1 -1
- package/dist/esm/funcs/productsGet.js.map +1 -1
- package/dist/esm/funcs/productsList.js +1 -1
- package/dist/esm/funcs/productsList.js.map +1 -1
- package/dist/esm/funcs/productsUpdate.js +1 -1
- package/dist/esm/funcs/productsUpdate.js.map +1 -1
- package/dist/esm/funcs/sourcesAdd.js +1 -1
- package/dist/esm/funcs/sourcesAdd.js.map +1 -1
- package/dist/esm/funcs/sourcesApproveEvent.js +1 -1
- package/dist/esm/funcs/sourcesApproveEvent.js.map +1 -1
- package/dist/esm/funcs/sourcesBulkApproveEvents.js +1 -1
- package/dist/esm/funcs/sourcesBulkApproveEvents.js.map +1 -1
- package/dist/esm/funcs/sourcesCreate.js +1 -1
- package/dist/esm/funcs/sourcesCreate.js.map +1 -1
- package/dist/esm/funcs/sourcesDelete.js +1 -1
- package/dist/esm/funcs/sourcesDelete.js.map +1 -1
- package/dist/esm/funcs/sourcesEventsBulkReject.js +1 -1
- package/dist/esm/funcs/sourcesEventsBulkReject.js.map +1 -1
- package/dist/esm/funcs/sourcesGet.js +1 -1
- package/dist/esm/funcs/sourcesGet.js.map +1 -1
- package/dist/esm/funcs/sourcesGetRule.js +1 -1
- package/dist/esm/funcs/sourcesGetRule.js.map +1 -1
- package/dist/esm/funcs/sourcesList.js +1 -1
- package/dist/esm/funcs/sourcesList.js.map +1 -1
- package/dist/esm/funcs/sourcesListEvents.js +1 -1
- package/dist/esm/funcs/sourcesListEvents.js.map +1 -1
- package/dist/esm/funcs/sourcesListRules.js +1 -1
- package/dist/esm/funcs/sourcesListRules.js.map +1 -1
- package/dist/esm/funcs/sourcesRejectEvent.js +1 -1
- package/dist/esm/funcs/sourcesRejectEvent.js.map +1 -1
- package/dist/esm/funcs/sourcesUpdate.js +1 -1
- package/dist/esm/funcs/sourcesUpdate.js.map +1 -1
- package/dist/esm/funcs/sourcesUpdateRule.js +1 -1
- package/dist/esm/funcs/sourcesUpdateRule.js.map +1 -1
- package/{funcs/productsList.d.ts → dist/esm/funcs/subscriptionsCreateSubscription.d.ts} +7 -3
- package/dist/esm/funcs/subscriptionsCreateSubscription.d.ts.map +1 -0
- package/dist/esm/funcs/subscriptionsCreateSubscription.js +83 -0
- package/dist/esm/funcs/subscriptionsCreateSubscription.js.map +1 -0
- package/dist/esm/funcs/subscriptionsGeneratePortalLink.js +1 -1
- package/dist/esm/funcs/subscriptionsGeneratePortalLink.js.map +1 -1
- package/dist/esm/funcs/subscriptionsGet.js +1 -1
- package/dist/esm/funcs/subscriptionsGet.js.map +1 -1
- package/dist/esm/funcs/subscriptionsList.js +1 -1
- package/dist/esm/funcs/subscriptionsList.js.map +1 -1
- package/dist/esm/funcs/usageEventsBatchCreate.js +1 -1
- package/dist/esm/funcs/usageEventsBatchCreate.js.map +1 -1
- package/dist/esm/funcs/usageEventsCreate.js +1 -1
- package/dist/esm/funcs/usageEventsCreate.js.map +1 -1
- package/dist/esm/funcs/usageEventsGet.js +1 -1
- package/dist/esm/funcs/usageEventsGet.js.map +1 -1
- package/dist/esm/funcs/usageEventsList.js +1 -1
- package/dist/esm/funcs/usageEventsList.js.map +1 -1
- package/dist/esm/funcs/usersGet.js +1 -1
- package/dist/esm/funcs/usersGet.js.map +1 -1
- package/dist/esm/funcs/usersUpdate.js +1 -1
- package/dist/esm/funcs/usersUpdate.js.map +1 -1
- package/dist/esm/funcs/walletsCreateTopup.js +1 -1
- package/dist/esm/funcs/walletsCreateTopup.js.map +1 -1
- package/dist/esm/funcs/walletsGet.js +1 -1
- package/dist/esm/funcs/walletsGet.js.map +1 -1
- package/dist/esm/funcs/walletsGetTopup.js +1 -1
- package/dist/esm/funcs/walletsGetTopup.js.map +1 -1
- package/dist/esm/funcs/walletsList.js +1 -1
- package/dist/esm/funcs/walletsList.js.map +1 -1
- package/dist/esm/funcs/walletsListTopups.js +1 -1
- package/dist/esm/funcs/walletsListTopups.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/lib/config.js.map +1 -1
- package/dist/esm/models/billablemetric.d.ts +27 -0
- package/dist/esm/models/billablemetric.d.ts.map +1 -1
- package/dist/esm/models/billablemetric.js +21 -0
- package/dist/esm/models/billablemetric.js.map +1 -1
- package/dist/esm/models/componentsschemasprice.d.ts +27 -0
- package/dist/esm/models/componentsschemasprice.d.ts.map +1 -1
- package/dist/esm/models/componentsschemasprice.js +21 -0
- package/dist/esm/models/componentsschemasprice.js.map +1 -1
- package/dist/esm/models/index.d.ts +0 -1
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +0 -1
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/operations/createbillablemetric.d.ts +36 -0
- package/dist/esm/models/operations/createbillablemetric.d.ts.map +1 -1
- package/dist/esm/models/operations/createbillablemetric.js +24 -0
- package/dist/esm/models/operations/createbillablemetric.js.map +1 -1
- package/dist/esm/models/operations/createplan.d.ts +0 -6
- package/dist/esm/models/operations/createplan.d.ts.map +1 -1
- package/dist/esm/models/operations/createplan.js +0 -3
- package/dist/esm/models/operations/createplan.js.map +1 -1
- package/dist/esm/models/operations/createprice.d.ts +36 -0
- package/dist/esm/models/operations/createprice.d.ts.map +1 -1
- package/dist/esm/models/operations/createprice.js +25 -0
- package/dist/esm/models/operations/createprice.js.map +1 -1
- package/dist/esm/models/operations/createsubscription.d.ts +144 -0
- package/dist/esm/models/operations/createsubscription.d.ts.map +1 -0
- package/dist/esm/models/operations/createsubscription.js +108 -0
- package/dist/esm/models/operations/createsubscription.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +1 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +1 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/updatecustomer.d.ts +4 -4
- package/dist/esm/models/operations/updatecustomer.js +4 -4
- package/dist/esm/models/plan.d.ts +29 -6
- package/dist/esm/models/plan.d.ts.map +1 -1
- package/dist/esm/models/plan.js +38 -3
- package/dist/esm/models/plan.js.map +1 -1
- package/dist/esm/models/price.d.ts +30 -3
- package/dist/esm/models/price.d.ts.map +1 -1
- package/dist/esm/models/price.js +23 -2
- package/dist/esm/models/price.js.map +1 -1
- package/dist/esm/models/pricepropertiesunion.d.ts +4 -0
- package/dist/esm/models/pricepropertiesunion.d.ts.map +1 -1
- package/dist/esm/models/pricepropertiesunion.js +12 -3
- package/dist/esm/models/pricepropertiesunion.js.map +1 -1
- package/dist/esm/models/schemasprice.d.ts +27 -0
- package/dist/esm/models/schemasprice.d.ts.map +1 -1
- package/dist/esm/models/schemasprice.js +21 -0
- package/dist/esm/models/schemasprice.js.map +1 -1
- package/dist/esm/models/subscription.d.ts +172 -0
- package/dist/esm/models/subscription.d.ts.map +1 -1
- package/dist/esm/models/subscription.js +122 -0
- package/dist/esm/models/subscription.js.map +1 -1
- package/dist/esm/models/usageevent.d.ts +5 -0
- package/dist/esm/models/usageevent.d.ts.map +1 -1
- package/dist/esm/models/usageevent.js +2 -0
- package/dist/esm/models/usageevent.js.map +1 -1
- package/dist/esm/sdk/subscriptions.d.ts +7 -0
- package/dist/esm/sdk/subscriptions.d.ts.map +1 -1
- package/dist/esm/sdk/subscriptions.js +10 -0
- package/dist/esm/sdk/subscriptions.js.map +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +6 -1
- package/src/__tests__/subscriptions.test.ts +18 -0
- package/src/funcs/billableMetricsCreate.ts +1 -1
- package/src/funcs/billableMetricsGet.ts +1 -1
- package/src/funcs/billableMetricsGetPrice.ts +1 -1
- package/src/funcs/billableMetricsGetPriceLegacy.ts +1 -1
- package/src/funcs/billableMetricsList.ts +1 -1
- package/src/funcs/billableMetricsUpdate.ts +1 -1
- package/src/funcs/consumersGet.ts +1 -1
- package/src/funcs/consumersListOffSessionPaymentMethods.ts +1 -1
- package/src/funcs/customersCheckAuthorizationSessionStatus.ts +1 -1
- package/src/funcs/customersCreate.ts +1 -1
- package/src/funcs/customersCreateAuthorizationSession.ts +1 -1
- package/src/funcs/customersGet.ts +1 -1
- package/src/funcs/customersList.ts +1 -1
- package/src/funcs/customersUpdateCustomer.ts +1 -1
- package/src/funcs/disputesCreate.ts +1 -1
- package/src/funcs/disputesList.ts +1 -1
- package/src/funcs/entitlementsCreate.ts +1 -1
- package/src/funcs/entitlementsListActive.ts +1 -1
- package/src/funcs/externalBankAccountsCreate.ts +1 -1
- package/src/funcs/externalBankAccountsDelete.ts +1 -1
- package/src/funcs/externalBankAccountsGet.ts +1 -1
- package/src/funcs/externalBankAccountsList.ts +1 -1
- package/src/funcs/externalBankAccountsUpdate.ts +1 -1
- package/src/funcs/merchantsGet.ts +1 -1
- package/src/funcs/merchantsListEligibleCountries.ts +1 -1
- package/src/funcs/payoutsGet.ts +1 -1
- package/src/funcs/payoutsList.ts +1 -1
- package/src/funcs/payoutsListMethods.ts +1 -1
- package/src/funcs/plansCreate.ts +1 -1
- package/src/funcs/plansGet.ts +1 -1
- package/src/funcs/plansList.ts +1 -1
- package/src/funcs/plansUpdate.ts +1 -1
- package/src/funcs/pricesCreate.ts +1 -1
- package/src/funcs/pricesGet.ts +1 -1
- package/src/funcs/pricesList.ts +1 -1
- package/src/funcs/pricesUpdate.ts +1 -1
- package/src/funcs/productsCreate.ts +1 -1
- package/src/funcs/productsGet.ts +1 -1
- package/src/funcs/productsList.ts +1 -1
- package/src/funcs/productsUpdate.ts +1 -1
- package/src/funcs/sourcesAdd.ts +1 -1
- package/src/funcs/sourcesApproveEvent.ts +1 -1
- package/src/funcs/sourcesBulkApproveEvents.ts +1 -1
- package/src/funcs/sourcesCreate.ts +1 -1
- package/src/funcs/sourcesDelete.ts +1 -1
- package/src/funcs/sourcesEventsBulkReject.ts +1 -1
- package/src/funcs/sourcesGet.ts +1 -1
- package/src/funcs/sourcesGetRule.ts +1 -1
- package/src/funcs/sourcesList.ts +1 -1
- package/src/funcs/sourcesListEvents.ts +1 -1
- package/src/funcs/sourcesListRules.ts +1 -1
- package/src/funcs/sourcesRejectEvent.ts +1 -1
- package/src/funcs/sourcesUpdate.ts +1 -1
- package/src/funcs/sourcesUpdateRule.ts +1 -1
- package/src/funcs/subscriptionsCreateSubscription.ts +175 -0
- package/src/funcs/subscriptionsGeneratePortalLink.ts +1 -1
- package/src/funcs/subscriptionsGet.ts +1 -1
- package/src/funcs/subscriptionsList.ts +1 -1
- package/src/funcs/usageEventsBatchCreate.ts +1 -1
- package/src/funcs/usageEventsCreate.ts +1 -1
- package/src/funcs/usageEventsGet.ts +1 -1
- package/src/funcs/usageEventsList.ts +1 -1
- package/src/funcs/usersGet.ts +1 -1
- package/src/funcs/usersUpdate.ts +1 -1
- package/src/funcs/walletsCreateTopup.ts +1 -1
- package/src/funcs/walletsGet.ts +1 -1
- package/src/funcs/walletsGetTopup.ts +1 -1
- package/src/funcs/walletsList.ts +1 -1
- package/src/funcs/walletsListTopups.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/models/billablemetric.ts +30 -0
- package/src/models/componentsschemasprice.ts +34 -0
- package/src/models/index.ts +0 -1
- package/src/models/operations/createbillablemetric.ts +39 -0
- package/src/models/operations/createplan.ts +0 -8
- package/src/models/operations/createprice.ts +38 -0
- package/src/models/operations/createsubscription.ts +254 -0
- package/src/models/operations/index.ts +1 -0
- package/src/models/operations/updatecustomer.ts +8 -8
- package/src/models/plan.ts +73 -13
- package/src/models/price.ts +36 -5
- package/src/models/pricepropertiesunion.ts +25 -7
- package/src/models/schemasprice.ts +33 -0
- package/src/models/subscription.ts +276 -0
- package/src/models/usageevent.ts +7 -0
- package/src/sdk/subscriptions.ts +18 -0
- package/core.d.ts +0 -10
- package/core.d.ts.map +0 -1
- package/dist/commonjs/models/paymentoptions.d.ts +0 -55
- package/dist/commonjs/models/paymentoptions.d.ts.map +0 -1
- package/dist/commonjs/models/paymentoptions.js +0 -77
- package/dist/commonjs/models/paymentoptions.js.map +0 -1
- package/dist/esm/models/paymentoptions.d.ts +0 -55
- package/dist/esm/models/paymentoptions.d.ts.map +0 -1
- package/dist/esm/models/paymentoptions.js +0 -39
- package/dist/esm/models/paymentoptions.js.map +0 -1
- package/examples/node_modules/.package-lock.json +0 -627
- package/examples/node_modules/@esbuild/darwin-arm64/package.json +0 -20
- package/examples/node_modules/@types/node/assert/strict.d.ts +0 -8
- package/examples/node_modules/@types/node/assert.d.ts +0 -1044
- package/examples/node_modules/@types/node/async_hooks.d.ts +0 -605
- package/examples/node_modules/@types/node/buffer.buffer.d.ts +0 -462
- package/examples/node_modules/@types/node/buffer.d.ts +0 -1932
- package/examples/node_modules/@types/node/child_process.d.ts +0 -1452
- package/examples/node_modules/@types/node/cluster.d.ts +0 -578
- package/examples/node_modules/@types/node/compatibility/disposable.d.ts +0 -16
- package/examples/node_modules/@types/node/compatibility/index.d.ts +0 -9
- package/examples/node_modules/@types/node/compatibility/indexable.d.ts +0 -20
- package/examples/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
- package/examples/node_modules/@types/node/console.d.ts +0 -452
- package/examples/node_modules/@types/node/constants.d.ts +0 -21
- package/examples/node_modules/@types/node/crypto.d.ts +0 -4570
- package/examples/node_modules/@types/node/dgram.d.ts +0 -596
- package/examples/node_modules/@types/node/diagnostics_channel.d.ts +0 -578
- package/examples/node_modules/@types/node/dns/promises.d.ts +0 -479
- package/examples/node_modules/@types/node/dns.d.ts +0 -871
- package/examples/node_modules/@types/node/domain.d.ts +0 -170
- package/examples/node_modules/@types/node/events.d.ts +0 -931
- package/examples/node_modules/@types/node/fs/promises.d.ts +0 -1248
- package/examples/node_modules/@types/node/fs.d.ts +0 -4362
- package/examples/node_modules/@types/node/globals.d.ts +0 -170
- package/examples/node_modules/@types/node/globals.typedarray.d.ts +0 -21
- package/examples/node_modules/@types/node/http.d.ts +0 -2031
- package/examples/node_modules/@types/node/http2.d.ts +0 -2623
- package/examples/node_modules/@types/node/https.d.ts +0 -549
- package/examples/node_modules/@types/node/index.d.ts +0 -93
- package/examples/node_modules/@types/node/inspector.generated.d.ts +0 -3966
- package/examples/node_modules/@types/node/module.d.ts +0 -539
- package/examples/node_modules/@types/node/net.d.ts +0 -1011
- package/examples/node_modules/@types/node/os.d.ts +0 -495
- package/examples/node_modules/@types/node/package.json +0 -140
- package/examples/node_modules/@types/node/path.d.ts +0 -200
- package/examples/node_modules/@types/node/perf_hooks.d.ts +0 -963
- package/examples/node_modules/@types/node/process.d.ts +0 -1956
- package/examples/node_modules/@types/node/punycode.d.ts +0 -117
- package/examples/node_modules/@types/node/querystring.d.ts +0 -152
- package/examples/node_modules/@types/node/readline/promises.d.ts +0 -162
- package/examples/node_modules/@types/node/readline.d.ts +0 -589
- package/examples/node_modules/@types/node/repl.d.ts +0 -430
- package/examples/node_modules/@types/node/sea.d.ts +0 -153
- package/examples/node_modules/@types/node/stream/consumers.d.ts +0 -38
- package/examples/node_modules/@types/node/stream/promises.d.ts +0 -90
- package/examples/node_modules/@types/node/stream/web.d.ts +0 -533
- package/examples/node_modules/@types/node/stream.d.ts +0 -1668
- package/examples/node_modules/@types/node/string_decoder.d.ts +0 -67
- package/examples/node_modules/@types/node/test.d.ts +0 -1807
- package/examples/node_modules/@types/node/timers/promises.d.ts +0 -108
- package/examples/node_modules/@types/node/timers.d.ts +0 -286
- package/examples/node_modules/@types/node/tls.d.ts +0 -1231
- package/examples/node_modules/@types/node/trace_events.d.ts +0 -197
- package/examples/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -460
- package/examples/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -19
- package/examples/node_modules/@types/node/ts5.6/index.d.ts +0 -93
- package/examples/node_modules/@types/node/tty.d.ts +0 -208
- package/examples/node_modules/@types/node/url.d.ts +0 -964
- package/examples/node_modules/@types/node/util.d.ts +0 -2331
- package/examples/node_modules/@types/node/v8.d.ts +0 -808
- package/examples/node_modules/@types/node/vm.d.ts +0 -1030
- package/examples/node_modules/@types/node/wasi.d.ts +0 -181
- package/examples/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -34
- package/examples/node_modules/@types/node/web-globals/domexception.d.ts +0 -68
- package/examples/node_modules/@types/node/web-globals/events.d.ts +0 -94
- package/examples/node_modules/@types/node/web-globals/fetch.d.ts +0 -46
- package/examples/node_modules/@types/node/worker_threads.d.ts +0 -743
- package/examples/node_modules/@types/node/zlib.d.ts +0 -539
- package/examples/node_modules/dotenv/config.d.ts +0 -1
- package/examples/node_modules/dotenv/config.js +0 -9
- package/examples/node_modules/dotenv/lib/cli-options.js +0 -17
- package/examples/node_modules/dotenv/lib/env-options.js +0 -28
- package/examples/node_modules/dotenv/lib/main.d.ts +0 -162
- package/examples/node_modules/dotenv/lib/main.js +0 -386
- package/examples/node_modules/dotenv/package.json +0 -62
- package/examples/node_modules/esbuild/install.js +0 -289
- package/examples/node_modules/esbuild/lib/main.d.ts +0 -716
- package/examples/node_modules/esbuild/lib/main.js +0 -2242
- package/examples/node_modules/esbuild/package.json +0 -49
- package/examples/node_modules/fsevents/fsevents.d.ts +0 -46
- package/examples/node_modules/fsevents/fsevents.js +0 -83
- package/examples/node_modules/fsevents/package.json +0 -62
- package/examples/node_modules/get-tsconfig/dist/index.mjs +0 -7
- package/examples/node_modules/get-tsconfig/package.json +0 -46
- package/examples/node_modules/resolve-pkg-maps/dist/index.mjs +0 -1
- package/examples/node_modules/resolve-pkg-maps/package.json +0 -42
- package/examples/node_modules/tsx/dist/cjs/api/index.mjs +0 -1
- package/examples/node_modules/tsx/dist/cjs/index.mjs +0 -1
- package/examples/node_modules/tsx/dist/cli.mjs +0 -55
- package/examples/node_modules/tsx/dist/client-BQVF1NaW.mjs +0 -1
- package/examples/node_modules/tsx/dist/esm/api/index.mjs +0 -1
- package/examples/node_modules/tsx/dist/esm/index.mjs +0 -2
- package/examples/node_modules/tsx/dist/get-pipe-path-BHW2eJdv.mjs +0 -1
- package/examples/node_modules/tsx/dist/index-7AaEi15b.mjs +0 -14
- package/examples/node_modules/tsx/dist/index-gbaejti9.mjs +0 -1
- package/examples/node_modules/tsx/dist/lexer-DQCqS3nf.mjs +0 -3
- package/examples/node_modules/tsx/dist/loader.mjs +0 -1
- package/examples/node_modules/tsx/dist/node-features-_8ZFwP_x.mjs +0 -1
- package/examples/node_modules/tsx/dist/package-DqlROeDy.mjs +0 -1
- package/examples/node_modules/tsx/dist/patch-repl.mjs +0 -1
- package/examples/node_modules/tsx/dist/preflight.mjs +0 -1
- package/examples/node_modules/tsx/dist/register-B7jrtLTO.mjs +0 -1
- package/examples/node_modules/tsx/dist/register-CFH5oNdT.mjs +0 -4
- package/examples/node_modules/tsx/dist/repl.mjs +0 -3
- package/examples/node_modules/tsx/dist/require-DQxpCAr4.mjs +0 -1
- package/examples/node_modules/tsx/dist/suppress-warnings.mjs +0 -1
- package/examples/node_modules/tsx/dist/temporary-directory-CwHp0_NW.mjs +0 -1
- package/examples/node_modules/tsx/dist/types-Cxp8y2TL.d.ts +0 -5
- package/examples/node_modules/tsx/package.json +0 -68
- package/examples/node_modules/undici-types/agent.d.ts +0 -31
- package/examples/node_modules/undici-types/api.d.ts +0 -43
- package/examples/node_modules/undici-types/balanced-pool.d.ts +0 -29
- package/examples/node_modules/undici-types/cache.d.ts +0 -36
- package/examples/node_modules/undici-types/client.d.ts +0 -108
- package/examples/node_modules/undici-types/connector.d.ts +0 -34
- package/examples/node_modules/undici-types/content-type.d.ts +0 -21
- package/examples/node_modules/undici-types/cookies.d.ts +0 -28
- package/examples/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
- package/examples/node_modules/undici-types/dispatcher.d.ts +0 -256
- package/examples/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
- package/examples/node_modules/undici-types/errors.d.ts +0 -149
- package/examples/node_modules/undici-types/eventsource.d.ts +0 -61
- package/examples/node_modules/undici-types/fetch.d.ts +0 -209
- package/examples/node_modules/undici-types/file.d.ts +0 -39
- package/examples/node_modules/undici-types/filereader.d.ts +0 -54
- package/examples/node_modules/undici-types/formdata.d.ts +0 -108
- package/examples/node_modules/undici-types/global-dispatcher.d.ts +0 -9
- package/examples/node_modules/undici-types/global-origin.d.ts +0 -7
- package/examples/node_modules/undici-types/handlers.d.ts +0 -15
- package/examples/node_modules/undici-types/header.d.ts +0 -4
- package/examples/node_modules/undici-types/index.d.ts +0 -71
- package/examples/node_modules/undici-types/interceptors.d.ts +0 -17
- package/examples/node_modules/undici-types/mock-agent.d.ts +0 -50
- package/examples/node_modules/undici-types/mock-client.d.ts +0 -25
- package/examples/node_modules/undici-types/mock-errors.d.ts +0 -12
- package/examples/node_modules/undici-types/mock-interceptor.d.ts +0 -93
- package/examples/node_modules/undici-types/mock-pool.d.ts +0 -25
- package/examples/node_modules/undici-types/package.json +0 -55
- package/examples/node_modules/undici-types/patch.d.ts +0 -33
- package/examples/node_modules/undici-types/pool-stats.d.ts +0 -19
- package/examples/node_modules/undici-types/pool.d.ts +0 -39
- package/examples/node_modules/undici-types/proxy-agent.d.ts +0 -28
- package/examples/node_modules/undici-types/readable.d.ts +0 -65
- package/examples/node_modules/undici-types/retry-agent.d.ts +0 -8
- package/examples/node_modules/undici-types/retry-handler.d.ts +0 -116
- package/examples/node_modules/undici-types/util.d.ts +0 -18
- package/examples/node_modules/undici-types/webidl.d.ts +0 -228
- package/examples/node_modules/undici-types/websocket.d.ts +0 -150
- package/funcs/billableMetricsCreate.d.ts +0 -19
- package/funcs/billableMetricsCreate.d.ts.map +0 -1
- package/funcs/billableMetricsGet.d.ts +0 -16
- package/funcs/billableMetricsGet.d.ts.map +0 -1
- package/funcs/billableMetricsGetPrice.d.ts +0 -16
- package/funcs/billableMetricsGetPrice.d.ts.map +0 -1
- package/funcs/billableMetricsGetPriceLegacy.d.ts +0 -16
- package/funcs/billableMetricsGetPriceLegacy.d.ts.map +0 -1
- package/funcs/billableMetricsList.d.ts +0 -15
- package/funcs/billableMetricsList.d.ts.map +0 -1
- package/funcs/billableMetricsUpdate.d.ts +0 -16
- package/funcs/billableMetricsUpdate.d.ts.map +0 -1
- package/funcs/consumersGet.d.ts +0 -16
- package/funcs/consumersGet.d.ts.map +0 -1
- package/funcs/consumersListOffSessionPaymentMethods.d.ts +0 -15
- package/funcs/consumersListOffSessionPaymentMethods.d.ts.map +0 -1
- package/funcs/customersCheckAuthorizationSessionStatus.d.ts +0 -16
- package/funcs/customersCheckAuthorizationSessionStatus.d.ts.map +0 -1
- package/funcs/customersCreate.d.ts +0 -18
- package/funcs/customersCreate.d.ts.map +0 -1
- package/funcs/customersCreateAuthorizationSession.d.ts +0 -19
- package/funcs/customersCreateAuthorizationSession.d.ts.map +0 -1
- package/funcs/customersGet.d.ts +0 -16
- package/funcs/customersGet.d.ts.map +0 -1
- package/funcs/customersList.d.ts +0 -15
- package/funcs/customersList.d.ts.map +0 -1
- package/funcs/customersUpdateCustomer.d.ts +0 -16
- package/funcs/customersUpdateCustomer.d.ts.map +0 -1
- package/funcs/disputesCreate.d.ts +0 -18
- package/funcs/disputesCreate.d.ts.map +0 -1
- package/funcs/disputesList.d.ts.map +0 -1
- package/funcs/entitlementsCreate.d.ts +0 -18
- package/funcs/entitlementsCreate.d.ts.map +0 -1
- package/funcs/entitlementsListActive.d.ts +0 -15
- package/funcs/entitlementsListActive.d.ts.map +0 -1
- package/funcs/externalBankAccountsCreate.d.ts +0 -19
- package/funcs/externalBankAccountsCreate.d.ts.map +0 -1
- package/funcs/externalBankAccountsDelete.d.ts +0 -18
- package/funcs/externalBankAccountsDelete.d.ts.map +0 -1
- package/funcs/externalBankAccountsGet.d.ts +0 -19
- package/funcs/externalBankAccountsGet.d.ts.map +0 -1
- package/funcs/externalBankAccountsList.d.ts +0 -18
- package/funcs/externalBankAccountsList.d.ts.map +0 -1
- package/funcs/externalBankAccountsUpdate.d.ts +0 -19
- package/funcs/externalBankAccountsUpdate.d.ts.map +0 -1
- package/funcs/merchantsGet.d.ts +0 -16
- package/funcs/merchantsGet.d.ts.map +0 -1
- package/funcs/merchantsListEligibleCountries.d.ts +0 -17
- package/funcs/merchantsListEligibleCountries.d.ts.map +0 -1
- package/funcs/payoutsGet.d.ts +0 -19
- package/funcs/payoutsGet.d.ts.map +0 -1
- package/funcs/payoutsList.d.ts +0 -18
- package/funcs/payoutsList.d.ts.map +0 -1
- package/funcs/payoutsListMethods.d.ts +0 -18
- package/funcs/payoutsListMethods.d.ts.map +0 -1
- package/funcs/plansCreate.d.ts +0 -16
- package/funcs/plansCreate.d.ts.map +0 -1
- package/funcs/plansGet.d.ts +0 -16
- package/funcs/plansGet.d.ts.map +0 -1
- package/funcs/plansList.d.ts +0 -15
- package/funcs/plansList.d.ts.map +0 -1
- package/funcs/plansUpdate.d.ts +0 -16
- package/funcs/plansUpdate.d.ts.map +0 -1
- package/funcs/pricesCreate.d.ts +0 -16
- package/funcs/pricesCreate.d.ts.map +0 -1
- package/funcs/pricesGet.d.ts +0 -16
- package/funcs/pricesGet.d.ts.map +0 -1
- package/funcs/pricesList.d.ts +0 -15
- package/funcs/pricesList.d.ts.map +0 -1
- package/funcs/pricesUpdate.d.ts +0 -16
- package/funcs/pricesUpdate.d.ts.map +0 -1
- package/funcs/productsCreate.d.ts +0 -16
- package/funcs/productsCreate.d.ts.map +0 -1
- package/funcs/productsGet.d.ts +0 -16
- package/funcs/productsGet.d.ts.map +0 -1
- package/funcs/productsList.d.ts.map +0 -1
- package/funcs/productsUpdate.d.ts +0 -16
- package/funcs/productsUpdate.d.ts.map +0 -1
- package/funcs/sourcesAdd.d.ts +0 -19
- package/funcs/sourcesAdd.d.ts.map +0 -1
- package/funcs/sourcesApproveEvent.d.ts +0 -19
- package/funcs/sourcesApproveEvent.d.ts.map +0 -1
- package/funcs/sourcesBulkApproveEvents.d.ts +0 -18
- package/funcs/sourcesBulkApproveEvents.d.ts.map +0 -1
- package/funcs/sourcesCreate.d.ts +0 -18
- package/funcs/sourcesCreate.d.ts.map +0 -1
- package/funcs/sourcesDelete.d.ts +0 -15
- package/funcs/sourcesDelete.d.ts.map +0 -1
- package/funcs/sourcesEventsBulkReject.d.ts +0 -18
- package/funcs/sourcesEventsBulkReject.d.ts.map +0 -1
- package/funcs/sourcesGet.d.ts +0 -16
- package/funcs/sourcesGet.d.ts.map +0 -1
- package/funcs/sourcesGetRule.d.ts +0 -16
- package/funcs/sourcesGetRule.d.ts.map +0 -1
- package/funcs/sourcesList.d.ts +0 -15
- package/funcs/sourcesList.d.ts.map +0 -1
- package/funcs/sourcesListEvents.d.ts +0 -18
- package/funcs/sourcesListEvents.d.ts.map +0 -1
- package/funcs/sourcesListRules.d.ts +0 -18
- package/funcs/sourcesListRules.d.ts.map +0 -1
- package/funcs/sourcesRejectEvent.d.ts +0 -19
- package/funcs/sourcesRejectEvent.d.ts.map +0 -1
- package/funcs/sourcesUpdate.d.ts +0 -16
- package/funcs/sourcesUpdate.d.ts.map +0 -1
- package/funcs/sourcesUpdateRule.d.ts +0 -16
- package/funcs/sourcesUpdateRule.d.ts.map +0 -1
- package/funcs/subscriptionsGeneratePortalLink.d.ts +0 -19
- package/funcs/subscriptionsGeneratePortalLink.d.ts.map +0 -1
- package/funcs/subscriptionsGet.d.ts +0 -16
- package/funcs/subscriptionsGet.d.ts.map +0 -1
- package/funcs/subscriptionsList.d.ts +0 -15
- package/funcs/subscriptionsList.d.ts.map +0 -1
- package/funcs/usageEventsBatchCreate.d.ts +0 -19
- package/funcs/usageEventsBatchCreate.d.ts.map +0 -1
- package/funcs/usageEventsCreate.d.ts +0 -18
- package/funcs/usageEventsCreate.d.ts.map +0 -1
- package/funcs/usageEventsGet.d.ts +0 -16
- package/funcs/usageEventsGet.d.ts.map +0 -1
- package/funcs/usageEventsList.d.ts +0 -15
- package/funcs/usageEventsList.d.ts.map +0 -1
- package/funcs/usersGet.d.ts +0 -16
- package/funcs/usersGet.d.ts.map +0 -1
- package/funcs/usersUpdate.d.ts +0 -16
- package/funcs/usersUpdate.d.ts.map +0 -1
- package/funcs/walletsCreateTopup.d.ts +0 -16
- package/funcs/walletsCreateTopup.d.ts.map +0 -1
- package/funcs/walletsGet.d.ts +0 -16
- package/funcs/walletsGet.d.ts.map +0 -1
- package/funcs/walletsGetTopup.d.ts +0 -16
- package/funcs/walletsGetTopup.d.ts.map +0 -1
- package/funcs/walletsList.d.ts +0 -15
- package/funcs/walletsList.d.ts.map +0 -1
- package/funcs/walletsListTopups.d.ts +0 -15
- package/funcs/walletsListTopups.d.ts.map +0 -1
- package/hooks/hooks.d.ts +0 -25
- package/hooks/hooks.d.ts.map +0 -1
- package/hooks/index.d.ts +0 -3
- package/hooks/index.d.ts.map +0 -1
- package/hooks/registration.d.ts +0 -3
- package/hooks/registration.d.ts.map +0 -1
- package/hooks/types.d.ts +0 -76
- package/hooks/types.d.ts.map +0 -1
- package/index.d.ts +0 -6
- package/index.d.ts.map +0 -1
- package/lib/base64.d.ts +0 -10
- package/lib/base64.d.ts.map +0 -1
- package/lib/config.d.ts +0 -38
- package/lib/config.d.ts.map +0 -1
- package/lib/dlv.d.ts +0 -14
- package/lib/dlv.d.ts.map +0 -1
- package/lib/encodings.d.ts +0 -52
- package/lib/encodings.d.ts.map +0 -1
- package/lib/env.d.ts +0 -15
- package/lib/env.d.ts.map +0 -1
- package/lib/files.d.ts +0 -13
- package/lib/files.d.ts.map +0 -1
- package/lib/http.d.ts +0 -67
- package/lib/http.d.ts.map +0 -1
- package/lib/is-plain-object.d.ts +0 -2
- package/lib/is-plain-object.d.ts.map +0 -1
- package/lib/logger.d.ts +0 -6
- package/lib/logger.d.ts.map +0 -1
- package/lib/matchers.d.ts +0 -59
- package/lib/matchers.d.ts.map +0 -1
- package/lib/primitives.d.ts +0 -26
- package/lib/primitives.d.ts.map +0 -1
- package/lib/retries.d.ts +0 -38
- package/lib/retries.d.ts.map +0 -1
- package/lib/schemas.d.ts +0 -19
- package/lib/schemas.d.ts.map +0 -1
- package/lib/sdks.d.ts +0 -63
- package/lib/sdks.d.ts.map +0 -1
- package/lib/security.d.ts +0 -83
- package/lib/security.d.ts.map +0 -1
- package/lib/url.d.ts +0 -5
- package/lib/url.d.ts.map +0 -1
- package/models/activeentitlement.d.ts +0 -87
- package/models/activeentitlement.d.ts.map +0 -1
- package/models/address.d.ts +0 -42
- package/models/address.d.ts.map +0 -1
- package/models/authorizationsession.d.ts +0 -78
- package/models/authorizationsession.d.ts.map +0 -1
- package/models/batchusageeventresponse.d.ts +0 -147
- package/models/batchusageeventresponse.d.ts.map +0 -1
- package/models/billablemetric.d.ts +0 -110
- package/models/billablemetric.d.ts.map +0 -1
- package/models/componentsschemasprice.d.ts +0 -104
- package/models/componentsschemasprice.d.ts.map +0 -1
- package/models/consumer.d.ts +0 -81
- package/models/consumer.d.ts.map +0 -1
- package/models/createdisputerequest.d.ts +0 -37
- package/models/createdisputerequest.d.ts.map +0 -1
- package/models/createentitlementrequest.d.ts +0 -85
- package/models/createentitlementrequest.d.ts.map +0 -1
- package/models/createrulerequest.d.ts +0 -58
- package/models/createrulerequest.d.ts.map +0 -1
- package/models/createusageeventrequest.d.ts +0 -101
- package/models/createusageeventrequest.d.ts.map +0 -1
- package/models/customer.d.ts +0 -121
- package/models/customer.d.ts.map +0 -1
- package/models/dispute.d.ts +0 -136
- package/models/dispute.d.ts.map +0 -1
- package/models/disputewithcustomer.d.ts +0 -167
- package/models/disputewithcustomer.d.ts.map +0 -1
- package/models/entitlement.d.ts +0 -140
- package/models/entitlement.d.ts.map +0 -1
- package/models/errors/badrequest.d.ts +0 -30
- package/models/errors/badrequest.d.ts.map +0 -1
- package/models/errors/error.d.ts +0 -68
- package/models/errors/error.d.ts.map +0 -1
- package/models/errors/httpclienterrors.d.ts +0 -44
- package/models/errors/httpclienterrors.d.ts.map +0 -1
- package/models/errors/index.d.ts +0 -9
- package/models/errors/index.d.ts.map +0 -1
- package/models/errors/paygenticdefaulterror.d.ts +0 -10
- package/models/errors/paygenticdefaulterror.d.ts.map +0 -1
- package/models/errors/paygenticerror.d.ts +0 -19
- package/models/errors/paygenticerror.d.ts.map +0 -1
- package/models/errors/responsevalidationerror.d.ts +0 -26
- package/models/errors/responsevalidationerror.d.ts.map +0 -1
- package/models/errors/sdkvalidationerror.d.ts +0 -21
- package/models/errors/sdkvalidationerror.d.ts.map +0 -1
- package/models/errors/validationerror.d.ts +0 -57
- package/models/errors/validationerror.d.ts.map +0 -1
- package/models/externalbankaccount.d.ts +0 -190
- package/models/externalbankaccount.d.ts.map +0 -1
- package/models/index.d.ts +0 -41
- package/models/index.d.ts.map +0 -1
- package/models/merchant.d.ts +0 -115
- package/models/merchant.d.ts.map +0 -1
- package/models/offsessionpaymentmethod.d.ts +0 -42
- package/models/offsessionpaymentmethod.d.ts.map +0 -1
- package/models/offsetpagination.d.ts +0 -45
- package/models/offsetpagination.d.ts.map +0 -1
- package/models/operations/approvesourceevent.d.ts +0 -31
- package/models/operations/approvesourceevent.d.ts.map +0 -1
- package/models/operations/batchcreateusageevents.d.ts +0 -30
- package/models/operations/batchcreateusageevents.d.ts.map +0 -1
- package/models/operations/bulkapprovesourceevents.d.ts +0 -157
- package/models/operations/bulkapprovesourceevents.d.ts.map +0 -1
- package/models/operations/bulkrejectsourceevents.d.ts +0 -90
- package/models/operations/bulkrejectsourceevents.d.ts.map +0 -1
- package/models/operations/checkauthorizationsessionstatus.d.ts +0 -32
- package/models/operations/checkauthorizationsessionstatus.d.ts.map +0 -1
- package/models/operations/createauthorizationsession.d.ts +0 -47
- package/models/operations/createauthorizationsession.d.ts.map +0 -1
- package/models/operations/createbillablemetric.d.ts +0 -86
- package/models/operations/createbillablemetric.d.ts.map +0 -1
- package/models/operations/createcustomer.d.ts +0 -163
- package/models/operations/createcustomer.d.ts.map +0 -1
- package/models/operations/createexternalbankaccount.d.ts +0 -108
- package/models/operations/createexternalbankaccount.d.ts.map +0 -1
- package/models/operations/createplan.d.ts +0 -87
- package/models/operations/createplan.d.ts.map +0 -1
- package/models/operations/createprice.d.ts +0 -83
- package/models/operations/createprice.d.ts.map +0 -1
- package/models/operations/createproduct.d.ts +0 -71
- package/models/operations/createproduct.d.ts.map +0 -1
- package/models/operations/createsource.d.ts +0 -135
- package/models/operations/createsource.d.ts.map +0 -1
- package/models/operations/createwallettopup.d.ts +0 -101
- package/models/operations/createwallettopup.d.ts.map +0 -1
- package/models/operations/deleteexternalbankaccount.d.ts +0 -32
- package/models/operations/deleteexternalbankaccount.d.ts.map +0 -1
- package/models/operations/deletesourcerule.d.ts +0 -29
- package/models/operations/deletesourcerule.d.ts.map +0 -1
- package/models/operations/generateportallink.d.ts +0 -32
- package/models/operations/generateportallink.d.ts.map +0 -1
- package/models/operations/getactiveentitlements.d.ts +0 -127
- package/models/operations/getactiveentitlements.d.ts.map +0 -1
- package/models/operations/getbillablemetric.d.ts +0 -29
- package/models/operations/getbillablemetric.d.ts.map +0 -1
- package/models/operations/getbillablemetricprice.d.ts +0 -31
- package/models/operations/getbillablemetricprice.d.ts.map +0 -1
- package/models/operations/getbillablemetricpricelegacy.d.ts +0 -31
- package/models/operations/getbillablemetricpricelegacy.d.ts.map +0 -1
- package/models/operations/getconsumer.d.ts +0 -29
- package/models/operations/getconsumer.d.ts.map +0 -1
- package/models/operations/getcustomer.d.ts +0 -32
- package/models/operations/getcustomer.d.ts.map +0 -1
- package/models/operations/getexternalbankaccount.d.ts +0 -32
- package/models/operations/getexternalbankaccount.d.ts.map +0 -1
- package/models/operations/getmerchant.d.ts +0 -32
- package/models/operations/getmerchant.d.ts.map +0 -1
- package/models/operations/getpayoutbyid.d.ts +0 -32
- package/models/operations/getpayoutbyid.d.ts.map +0 -1
- package/models/operations/getpayoutmethods.d.ts +0 -58
- package/models/operations/getpayoutmethods.d.ts.map +0 -1
- package/models/operations/getplan.d.ts +0 -32
- package/models/operations/getplan.d.ts.map +0 -1
- package/models/operations/getprice.d.ts +0 -32
- package/models/operations/getprice.d.ts.map +0 -1
- package/models/operations/getproduct.d.ts +0 -32
- package/models/operations/getproduct.d.ts.map +0 -1
- package/models/operations/getsource.d.ts +0 -32
- package/models/operations/getsource.d.ts.map +0 -1
- package/models/operations/getsourcerule.d.ts +0 -29
- package/models/operations/getsourcerule.d.ts.map +0 -1
- package/models/operations/getsubscription.d.ts +0 -29
- package/models/operations/getsubscription.d.ts.map +0 -1
- package/models/operations/getusageevent.d.ts +0 -29
- package/models/operations/getusageevent.d.ts.map +0 -1
- package/models/operations/getuser.d.ts +0 -29
- package/models/operations/getuser.d.ts.map +0 -1
- package/models/operations/getwallet.d.ts +0 -29
- package/models/operations/getwallet.d.ts.map +0 -1
- package/models/operations/getwallettopup.d.ts +0 -37
- package/models/operations/getwallettopup.d.ts.map +0 -1
- package/models/operations/index.d.ts +0 -64
- package/models/operations/index.d.ts.map +0 -1
- package/models/operations/listbillablemetrics.d.ts +0 -132
- package/models/operations/listbillablemetrics.d.ts.map +0 -1
- package/models/operations/listcustomers.d.ts +0 -101
- package/models/operations/listcustomers.d.ts.map +0 -1
- package/models/operations/listdisputes.d.ts +0 -178
- package/models/operations/listdisputes.d.ts.map +0 -1
- package/models/operations/listexternalbankaccounts.d.ts +0 -98
- package/models/operations/listexternalbankaccounts.d.ts.map +0 -1
- package/models/operations/listoffsessionpaymentmethods.d.ts +0 -83
- package/models/operations/listoffsessionpaymentmethods.d.ts.map +0 -1
- package/models/operations/listpayouts.d.ts +0 -129
- package/models/operations/listpayouts.d.ts.map +0 -1
- package/models/operations/listplans.d.ts +0 -107
- package/models/operations/listplans.d.ts.map +0 -1
- package/models/operations/listprices.d.ts +0 -102
- package/models/operations/listprices.d.ts.map +0 -1
- package/models/operations/listproducts.d.ts +0 -76
- package/models/operations/listproducts.d.ts.map +0 -1
- package/models/operations/listsourceevents.d.ts +0 -110
- package/models/operations/listsourceevents.d.ts.map +0 -1
- package/models/operations/listsourcerules.d.ts +0 -61
- package/models/operations/listsourcerules.d.ts.map +0 -1
- package/models/operations/listsources.d.ts +0 -75
- package/models/operations/listsources.d.ts.map +0 -1
- package/models/operations/listsubscriptions.d.ts +0 -105
- package/models/operations/listsubscriptions.d.ts.map +0 -1
- package/models/operations/listusageevents.d.ts +0 -126
- package/models/operations/listusageevents.d.ts.map +0 -1
- package/models/operations/listwallets.d.ts +0 -101
- package/models/operations/listwallets.d.ts.map +0 -1
- package/models/operations/listwallettopups.d.ts +0 -153
- package/models/operations/listwallettopups.d.ts.map +0 -1
- package/models/operations/rejectsourceevent.d.ts +0 -31
- package/models/operations/rejectsourceevent.d.ts.map +0 -1
- package/models/operations/updatebillablemetric.d.ts +0 -69
- package/models/operations/updatebillablemetric.d.ts.map +0 -1
- package/models/operations/updatecustomer.d.ts +0 -88
- package/models/operations/updatecustomer.d.ts.map +0 -1
- package/models/operations/updateexternalbankaccount.d.ts +0 -123
- package/models/operations/updateexternalbankaccount.d.ts.map +0 -1
- package/models/operations/updateplan.d.ts +0 -96
- package/models/operations/updateplan.d.ts.map +0 -1
- package/models/operations/updateprice.d.ts +0 -113
- package/models/operations/updateprice.d.ts.map +0 -1
- package/models/operations/updateproduct.d.ts +0 -67
- package/models/operations/updateproduct.d.ts.map +0 -1
- package/models/operations/updatesource.d.ts +0 -127
- package/models/operations/updatesource.d.ts.map +0 -1
- package/models/operations/updatesourcerule.d.ts +0 -32
- package/models/operations/updatesourcerule.d.ts.map +0 -1
- package/models/operations/updateuser.d.ts +0 -115
- package/models/operations/updateuser.d.ts.map +0 -1
- package/models/paymentoptions.d.ts +0 -55
- package/models/paymentoptions.d.ts.map +0 -1
- package/models/payout.d.ts +0 -220
- package/models/payout.d.ts.map +0 -1
- package/models/payoutmethod.d.ts +0 -86
- package/models/payoutmethod.d.ts.map +0 -1
- package/models/plan.d.ts +0 -103
- package/models/plan.d.ts.map +0 -1
- package/models/price.d.ts +0 -240
- package/models/price.d.ts.map +0 -1
- package/models/pricepropertiesunion.d.ts +0 -197
- package/models/pricepropertiesunion.d.ts.map +0 -1
- package/models/product.d.ts +0 -76
- package/models/product.d.ts.map +0 -1
- package/models/rulecondition.d.ts +0 -219
- package/models/rulecondition.d.ts.map +0 -1
- package/models/schemasprice.d.ts +0 -110
- package/models/schemasprice.d.ts.map +0 -1
- package/models/security.d.ts +0 -29
- package/models/security.d.ts.map +0 -1
- package/models/source.d.ts +0 -140
- package/models/source.d.ts.map +0 -1
- package/models/sourceevent.d.ts +0 -91
- package/models/sourceevent.d.ts.map +0 -1
- package/models/sourcerule.d.ts +0 -96
- package/models/sourcerule.d.ts.map +0 -1
- package/models/subscription.d.ts +0 -112
- package/models/subscription.d.ts.map +0 -1
- package/models/subscriptionportal.d.ts +0 -62
- package/models/subscriptionportal.d.ts.map +0 -1
- package/models/topupresponse.d.ts +0 -171
- package/models/topupresponse.d.ts.map +0 -1
- package/models/updaterulerequest.d.ts +0 -53
- package/models/updaterulerequest.d.ts.map +0 -1
- package/models/usageevent.d.ts +0 -177
- package/models/usageevent.d.ts.map +0 -1
- package/models/user.d.ts +0 -109
- package/models/user.d.ts.map +0 -1
- package/models/validationerror.d.ts +0 -71
- package/models/validationerror.d.ts.map +0 -1
- package/models/wallet.d.ts +0 -107
- package/models/wallet.d.ts.map +0 -1
- package/sdk/billablemetrics.d.ts +0 -33
- package/sdk/billablemetrics.d.ts.map +0 -1
- package/sdk/consumers.d.ts +0 -14
- package/sdk/consumers.d.ts.map +0 -1
- package/sdk/customers.d.ts +0 -36
- package/sdk/customers.d.ts.map +0 -1
- package/sdk/disputes.d.ts +0 -20
- package/sdk/disputes.d.ts.map +0 -1
- package/sdk/entitlements.d.ts +0 -17
- package/sdk/entitlements.d.ts.map +0 -1
- package/sdk/events.d.ts +0 -12
- package/sdk/events.d.ts.map +0 -1
- package/sdk/externalbankaccounts.d.ts +0 -41
- package/sdk/externalbankaccounts.d.ts.map +0 -1
- package/sdk/index.d.ts +0 -2
- package/sdk/index.d.ts.map +0 -1
- package/sdk/merchants.d.ts +0 -17
- package/sdk/merchants.d.ts.map +0 -1
- package/sdk/payouts.d.ts +0 -27
- package/sdk/payouts.d.ts.map +0 -1
- package/sdk/plans.d.ts +0 -22
- package/sdk/plans.d.ts.map +0 -1
- package/sdk/prices.d.ts +0 -22
- package/sdk/prices.d.ts.map +0 -1
- package/sdk/products.d.ts +0 -22
- package/sdk/products.d.ts.map +0 -1
- package/sdk/sdk.d.ts +0 -52
- package/sdk/sdk.d.ts.map +0 -1
- package/sdk/sources.d.ts +0 -82
- package/sdk/sources.d.ts.map +0 -1
- package/sdk/subscriptions.d.ts +0 -21
- package/sdk/subscriptions.d.ts.map +0 -1
- package/sdk/usageevents.d.ts +0 -28
- package/sdk/usageevents.d.ts.map +0 -1
- package/sdk/users.d.ts +0 -14
- package/sdk/users.d.ts.map +0 -1
- package/sdk/wallets.d.ts +0 -26
- package/sdk/wallets.d.ts.map +0 -1
- package/src/models/paymentoptions.ts +0 -96
- package/types/async.d.ts +0 -23
- package/types/async.d.ts.map +0 -1
- package/types/blobs.d.ts +0 -4
- package/types/blobs.d.ts.map +0 -1
- package/types/constdatetime.d.ts +0 -3
- package/types/constdatetime.d.ts.map +0 -1
- package/types/decimal.d.ts +0 -2
- package/types/decimal.d.ts.map +0 -1
- package/types/enums.d.ts +0 -12
- package/types/enums.d.ts.map +0 -1
- package/types/fp.d.ts +0 -31
- package/types/fp.d.ts.map +0 -1
- package/types/index.d.ts +0 -9
- package/types/index.d.ts.map +0 -1
- package/types/operations.d.ts +0 -27
- package/types/operations.d.ts.map +0 -1
- package/types/rfcdate.d.ts +0 -21
- package/types/rfcdate.d.ts.map +0 -1
- package/types/streams.d.ts +0 -2
- package/types/streams.d.ts.map +0 -1
|
@@ -1,219 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
import { ClosedEnum } from "../types/enums.js";
|
|
3
|
-
import { Result as SafeParseResult } from "../types/fp.js";
|
|
4
|
-
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
5
|
-
/**
|
|
6
|
-
* The type of field to evaluate
|
|
7
|
-
*/
|
|
8
|
-
export declare const RuleConditionType: {
|
|
9
|
-
readonly Date: "date";
|
|
10
|
-
readonly CustomerName: "customerName";
|
|
11
|
-
readonly CustomerEmail: "customerEmail";
|
|
12
|
-
readonly Amount: "amount";
|
|
13
|
-
};
|
|
14
|
-
/**
|
|
15
|
-
* The type of field to evaluate
|
|
16
|
-
*/
|
|
17
|
-
export type RuleConditionType = ClosedEnum<typeof RuleConditionType>;
|
|
18
|
-
/**
|
|
19
|
-
* The comparison operator to use
|
|
20
|
-
*/
|
|
21
|
-
export declare const Operator: {
|
|
22
|
-
readonly Equals: "equals";
|
|
23
|
-
readonly Contains: "contains";
|
|
24
|
-
readonly Between: "between";
|
|
25
|
-
readonly GreaterThan: "greaterThan";
|
|
26
|
-
readonly LessThan: "lessThan";
|
|
27
|
-
readonly Domain: "domain";
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* The comparison operator to use
|
|
31
|
-
*/
|
|
32
|
-
export type Operator = ClosedEnum<typeof Operator>;
|
|
33
|
-
export type From = string | number;
|
|
34
|
-
export type To = string | number;
|
|
35
|
-
export type Value = {
|
|
36
|
-
from: string | number;
|
|
37
|
-
to: string | number;
|
|
38
|
-
};
|
|
39
|
-
/**
|
|
40
|
-
* The value to compare against
|
|
41
|
-
*/
|
|
42
|
-
export type ValueUnion = Value | string | number;
|
|
43
|
-
/**
|
|
44
|
-
* A single condition that must be met for a rule to trigger auto-acceptance. Multiple conditions in a rule use AND logic.
|
|
45
|
-
*/
|
|
46
|
-
export type RuleCondition = {
|
|
47
|
-
/**
|
|
48
|
-
* The type of field to evaluate
|
|
49
|
-
*/
|
|
50
|
-
type: RuleConditionType;
|
|
51
|
-
/**
|
|
52
|
-
* The comparison operator to use
|
|
53
|
-
*/
|
|
54
|
-
operator: Operator;
|
|
55
|
-
/**
|
|
56
|
-
* The value to compare against
|
|
57
|
-
*/
|
|
58
|
-
value: Value | string | number;
|
|
59
|
-
};
|
|
60
|
-
/** @internal */
|
|
61
|
-
export declare const RuleConditionType$inboundSchema: z.ZodNativeEnum<typeof RuleConditionType>;
|
|
62
|
-
/** @internal */
|
|
63
|
-
export declare const RuleConditionType$outboundSchema: z.ZodNativeEnum<typeof RuleConditionType>;
|
|
64
|
-
/**
|
|
65
|
-
* @internal
|
|
66
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
67
|
-
*/
|
|
68
|
-
export declare namespace RuleConditionType$ {
|
|
69
|
-
/** @deprecated use `RuleConditionType$inboundSchema` instead. */
|
|
70
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
71
|
-
readonly Date: "date";
|
|
72
|
-
readonly CustomerName: "customerName";
|
|
73
|
-
readonly CustomerEmail: "customerEmail";
|
|
74
|
-
readonly Amount: "amount";
|
|
75
|
-
}>;
|
|
76
|
-
/** @deprecated use `RuleConditionType$outboundSchema` instead. */
|
|
77
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
78
|
-
readonly Date: "date";
|
|
79
|
-
readonly CustomerName: "customerName";
|
|
80
|
-
readonly CustomerEmail: "customerEmail";
|
|
81
|
-
readonly Amount: "amount";
|
|
82
|
-
}>;
|
|
83
|
-
}
|
|
84
|
-
/** @internal */
|
|
85
|
-
export declare const Operator$inboundSchema: z.ZodNativeEnum<typeof Operator>;
|
|
86
|
-
/** @internal */
|
|
87
|
-
export declare const Operator$outboundSchema: z.ZodNativeEnum<typeof Operator>;
|
|
88
|
-
/**
|
|
89
|
-
* @internal
|
|
90
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
91
|
-
*/
|
|
92
|
-
export declare namespace Operator$ {
|
|
93
|
-
/** @deprecated use `Operator$inboundSchema` instead. */
|
|
94
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
95
|
-
readonly Equals: "equals";
|
|
96
|
-
readonly Contains: "contains";
|
|
97
|
-
readonly Between: "between";
|
|
98
|
-
readonly GreaterThan: "greaterThan";
|
|
99
|
-
readonly LessThan: "lessThan";
|
|
100
|
-
readonly Domain: "domain";
|
|
101
|
-
}>;
|
|
102
|
-
/** @deprecated use `Operator$outboundSchema` instead. */
|
|
103
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
104
|
-
readonly Equals: "equals";
|
|
105
|
-
readonly Contains: "contains";
|
|
106
|
-
readonly Between: "between";
|
|
107
|
-
readonly GreaterThan: "greaterThan";
|
|
108
|
-
readonly LessThan: "lessThan";
|
|
109
|
-
readonly Domain: "domain";
|
|
110
|
-
}>;
|
|
111
|
-
}
|
|
112
|
-
/** @internal */
|
|
113
|
-
export declare const From$inboundSchema: z.ZodType<From, z.ZodTypeDef, unknown>;
|
|
114
|
-
/** @internal */
|
|
115
|
-
export type From$Outbound = string | number;
|
|
116
|
-
/** @internal */
|
|
117
|
-
export declare const From$outboundSchema: z.ZodType<From$Outbound, z.ZodTypeDef, From>;
|
|
118
|
-
/**
|
|
119
|
-
* @internal
|
|
120
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
121
|
-
*/
|
|
122
|
-
export declare namespace From$ {
|
|
123
|
-
/** @deprecated use `From$inboundSchema` instead. */
|
|
124
|
-
const inboundSchema: z.ZodType<From, z.ZodTypeDef, unknown>;
|
|
125
|
-
/** @deprecated use `From$outboundSchema` instead. */
|
|
126
|
-
const outboundSchema: z.ZodType<From$Outbound, z.ZodTypeDef, From>;
|
|
127
|
-
/** @deprecated use `From$Outbound` instead. */
|
|
128
|
-
type Outbound = From$Outbound;
|
|
129
|
-
}
|
|
130
|
-
export declare function fromToJSON(from: From): string;
|
|
131
|
-
export declare function fromFromJSON(jsonString: string): SafeParseResult<From, SDKValidationError>;
|
|
132
|
-
/** @internal */
|
|
133
|
-
export declare const To$inboundSchema: z.ZodType<To, z.ZodTypeDef, unknown>;
|
|
134
|
-
/** @internal */
|
|
135
|
-
export type To$Outbound = string | number;
|
|
136
|
-
/** @internal */
|
|
137
|
-
export declare const To$outboundSchema: z.ZodType<To$Outbound, z.ZodTypeDef, To>;
|
|
138
|
-
/**
|
|
139
|
-
* @internal
|
|
140
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
141
|
-
*/
|
|
142
|
-
export declare namespace To$ {
|
|
143
|
-
/** @deprecated use `To$inboundSchema` instead. */
|
|
144
|
-
const inboundSchema: z.ZodType<To, z.ZodTypeDef, unknown>;
|
|
145
|
-
/** @deprecated use `To$outboundSchema` instead. */
|
|
146
|
-
const outboundSchema: z.ZodType<To$Outbound, z.ZodTypeDef, To>;
|
|
147
|
-
/** @deprecated use `To$Outbound` instead. */
|
|
148
|
-
type Outbound = To$Outbound;
|
|
149
|
-
}
|
|
150
|
-
export declare function toToJSON(to: To): string;
|
|
151
|
-
export declare function toFromJSON(jsonString: string): SafeParseResult<To, SDKValidationError>;
|
|
152
|
-
/** @internal */
|
|
153
|
-
export declare const Value$inboundSchema: z.ZodType<Value, z.ZodTypeDef, unknown>;
|
|
154
|
-
/** @internal */
|
|
155
|
-
export type Value$Outbound = {
|
|
156
|
-
from: string | number;
|
|
157
|
-
to: string | number;
|
|
158
|
-
};
|
|
159
|
-
/** @internal */
|
|
160
|
-
export declare const Value$outboundSchema: z.ZodType<Value$Outbound, z.ZodTypeDef, Value>;
|
|
161
|
-
/**
|
|
162
|
-
* @internal
|
|
163
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
164
|
-
*/
|
|
165
|
-
export declare namespace Value$ {
|
|
166
|
-
/** @deprecated use `Value$inboundSchema` instead. */
|
|
167
|
-
const inboundSchema: z.ZodType<Value, z.ZodTypeDef, unknown>;
|
|
168
|
-
/** @deprecated use `Value$outboundSchema` instead. */
|
|
169
|
-
const outboundSchema: z.ZodType<Value$Outbound, z.ZodTypeDef, Value>;
|
|
170
|
-
/** @deprecated use `Value$Outbound` instead. */
|
|
171
|
-
type Outbound = Value$Outbound;
|
|
172
|
-
}
|
|
173
|
-
export declare function valueToJSON(value: Value): string;
|
|
174
|
-
export declare function valueFromJSON(jsonString: string): SafeParseResult<Value, SDKValidationError>;
|
|
175
|
-
/** @internal */
|
|
176
|
-
export declare const ValueUnion$inboundSchema: z.ZodType<ValueUnion, z.ZodTypeDef, unknown>;
|
|
177
|
-
/** @internal */
|
|
178
|
-
export type ValueUnion$Outbound = Value$Outbound | string | number;
|
|
179
|
-
/** @internal */
|
|
180
|
-
export declare const ValueUnion$outboundSchema: z.ZodType<ValueUnion$Outbound, z.ZodTypeDef, ValueUnion>;
|
|
181
|
-
/**
|
|
182
|
-
* @internal
|
|
183
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
184
|
-
*/
|
|
185
|
-
export declare namespace ValueUnion$ {
|
|
186
|
-
/** @deprecated use `ValueUnion$inboundSchema` instead. */
|
|
187
|
-
const inboundSchema: z.ZodType<ValueUnion, z.ZodTypeDef, unknown>;
|
|
188
|
-
/** @deprecated use `ValueUnion$outboundSchema` instead. */
|
|
189
|
-
const outboundSchema: z.ZodType<ValueUnion$Outbound, z.ZodTypeDef, ValueUnion>;
|
|
190
|
-
/** @deprecated use `ValueUnion$Outbound` instead. */
|
|
191
|
-
type Outbound = ValueUnion$Outbound;
|
|
192
|
-
}
|
|
193
|
-
export declare function valueUnionToJSON(valueUnion: ValueUnion): string;
|
|
194
|
-
export declare function valueUnionFromJSON(jsonString: string): SafeParseResult<ValueUnion, SDKValidationError>;
|
|
195
|
-
/** @internal */
|
|
196
|
-
export declare const RuleCondition$inboundSchema: z.ZodType<RuleCondition, z.ZodTypeDef, unknown>;
|
|
197
|
-
/** @internal */
|
|
198
|
-
export type RuleCondition$Outbound = {
|
|
199
|
-
type: string;
|
|
200
|
-
operator: string;
|
|
201
|
-
value: Value$Outbound | string | number;
|
|
202
|
-
};
|
|
203
|
-
/** @internal */
|
|
204
|
-
export declare const RuleCondition$outboundSchema: z.ZodType<RuleCondition$Outbound, z.ZodTypeDef, RuleCondition>;
|
|
205
|
-
/**
|
|
206
|
-
* @internal
|
|
207
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
208
|
-
*/
|
|
209
|
-
export declare namespace RuleCondition$ {
|
|
210
|
-
/** @deprecated use `RuleCondition$inboundSchema` instead. */
|
|
211
|
-
const inboundSchema: z.ZodType<RuleCondition, z.ZodTypeDef, unknown>;
|
|
212
|
-
/** @deprecated use `RuleCondition$outboundSchema` instead. */
|
|
213
|
-
const outboundSchema: z.ZodType<RuleCondition$Outbound, z.ZodTypeDef, RuleCondition>;
|
|
214
|
-
/** @deprecated use `RuleCondition$Outbound` instead. */
|
|
215
|
-
type Outbound = RuleCondition$Outbound;
|
|
216
|
-
}
|
|
217
|
-
export declare function ruleConditionToJSON(ruleCondition: RuleCondition): string;
|
|
218
|
-
export declare function ruleConditionFromJSON(jsonString: string): SafeParseResult<RuleCondition, SDKValidationError>;
|
|
219
|
-
//# sourceMappingURL=rulecondition.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rulecondition.d.ts","sourceRoot":"","sources":["../src/models/rulecondition.ts"],"names":[],"mappings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,CAAC;AAEH;;;GAGG;AACH,yBAAiB,cAAc,CAAC;IAC9B,6DAA6D;IACtD,MAAM,aAAa,iDAA8B,CAAC;IACzD,8DAA8D;IACvD,MAAM,cAAc,gEAA+B,CAAC;IAC3D,wDAAwD;IACxD,KAAY,QAAQ,GAAG,sBAAsB,CAAC;CAC/C;AAED,wBAAgB,mBAAmB,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM,CAExE;AAED,wBAAgB,qBAAqB,CACnC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,aAAa,EAAE,kBAAkB,CAAC,CAMpD"}
|
package/models/schemasprice.d.ts
DELETED
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
import { ClosedEnum } from "../types/enums.js";
|
|
3
|
-
import { Result as SafeParseResult } from "../types/fp.js";
|
|
4
|
-
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
5
|
-
export declare const SchemasPriceObject: {
|
|
6
|
-
readonly Price: "price";
|
|
7
|
-
};
|
|
8
|
-
export type SchemasPriceObject = ClosedEnum<typeof SchemasPriceObject>;
|
|
9
|
-
export declare const SchemasPriceModel: {
|
|
10
|
-
readonly Standard: "standard";
|
|
11
|
-
readonly Dynamic: "dynamic";
|
|
12
|
-
readonly Volume: "volume";
|
|
13
|
-
readonly Percentage: "percentage";
|
|
14
|
-
};
|
|
15
|
-
export type SchemasPriceModel = ClosedEnum<typeof SchemasPriceModel>;
|
|
16
|
-
export type SchemasPrice = {
|
|
17
|
-
/**
|
|
18
|
-
* Unique identifier for a price
|
|
19
|
-
*/
|
|
20
|
-
id?: string | undefined;
|
|
21
|
-
object?: SchemasPriceObject | undefined;
|
|
22
|
-
billableMetricId?: string | undefined;
|
|
23
|
-
model?: SchemasPriceModel | undefined;
|
|
24
|
-
invoiceDisplayName?: string | undefined;
|
|
25
|
-
properties?: {
|
|
26
|
-
[k: string]: any;
|
|
27
|
-
} | undefined;
|
|
28
|
-
description?: string | undefined;
|
|
29
|
-
unitAmount?: string | undefined;
|
|
30
|
-
currency?: string | undefined;
|
|
31
|
-
createdAt?: Date | undefined;
|
|
32
|
-
updatedAt?: Date | undefined;
|
|
33
|
-
};
|
|
34
|
-
/** @internal */
|
|
35
|
-
export declare const SchemasPriceObject$inboundSchema: z.ZodNativeEnum<typeof SchemasPriceObject>;
|
|
36
|
-
/** @internal */
|
|
37
|
-
export declare const SchemasPriceObject$outboundSchema: z.ZodNativeEnum<typeof SchemasPriceObject>;
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
41
|
-
*/
|
|
42
|
-
export declare namespace SchemasPriceObject$ {
|
|
43
|
-
/** @deprecated use `SchemasPriceObject$inboundSchema` instead. */
|
|
44
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
45
|
-
readonly Price: "price";
|
|
46
|
-
}>;
|
|
47
|
-
/** @deprecated use `SchemasPriceObject$outboundSchema` instead. */
|
|
48
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
49
|
-
readonly Price: "price";
|
|
50
|
-
}>;
|
|
51
|
-
}
|
|
52
|
-
/** @internal */
|
|
53
|
-
export declare const SchemasPriceModel$inboundSchema: z.ZodNativeEnum<typeof SchemasPriceModel>;
|
|
54
|
-
/** @internal */
|
|
55
|
-
export declare const SchemasPriceModel$outboundSchema: z.ZodNativeEnum<typeof SchemasPriceModel>;
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
59
|
-
*/
|
|
60
|
-
export declare namespace SchemasPriceModel$ {
|
|
61
|
-
/** @deprecated use `SchemasPriceModel$inboundSchema` instead. */
|
|
62
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
63
|
-
readonly Standard: "standard";
|
|
64
|
-
readonly Dynamic: "dynamic";
|
|
65
|
-
readonly Volume: "volume";
|
|
66
|
-
readonly Percentage: "percentage";
|
|
67
|
-
}>;
|
|
68
|
-
/** @deprecated use `SchemasPriceModel$outboundSchema` instead. */
|
|
69
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
70
|
-
readonly Standard: "standard";
|
|
71
|
-
readonly Dynamic: "dynamic";
|
|
72
|
-
readonly Volume: "volume";
|
|
73
|
-
readonly Percentage: "percentage";
|
|
74
|
-
}>;
|
|
75
|
-
}
|
|
76
|
-
/** @internal */
|
|
77
|
-
export declare const SchemasPrice$inboundSchema: z.ZodType<SchemasPrice, z.ZodTypeDef, unknown>;
|
|
78
|
-
/** @internal */
|
|
79
|
-
export type SchemasPrice$Outbound = {
|
|
80
|
-
id?: string | undefined;
|
|
81
|
-
object: string;
|
|
82
|
-
billableMetricId?: string | undefined;
|
|
83
|
-
model?: string | undefined;
|
|
84
|
-
invoiceDisplayName?: string | undefined;
|
|
85
|
-
properties?: {
|
|
86
|
-
[k: string]: any;
|
|
87
|
-
} | undefined;
|
|
88
|
-
description?: string | undefined;
|
|
89
|
-
unitAmount?: string | undefined;
|
|
90
|
-
currency?: string | undefined;
|
|
91
|
-
createdAt?: string | undefined;
|
|
92
|
-
updatedAt?: string | undefined;
|
|
93
|
-
};
|
|
94
|
-
/** @internal */
|
|
95
|
-
export declare const SchemasPrice$outboundSchema: z.ZodType<SchemasPrice$Outbound, z.ZodTypeDef, SchemasPrice>;
|
|
96
|
-
/**
|
|
97
|
-
* @internal
|
|
98
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
99
|
-
*/
|
|
100
|
-
export declare namespace SchemasPrice$ {
|
|
101
|
-
/** @deprecated use `SchemasPrice$inboundSchema` instead. */
|
|
102
|
-
const inboundSchema: z.ZodType<SchemasPrice, z.ZodTypeDef, unknown>;
|
|
103
|
-
/** @deprecated use `SchemasPrice$outboundSchema` instead. */
|
|
104
|
-
const outboundSchema: z.ZodType<SchemasPrice$Outbound, z.ZodTypeDef, SchemasPrice>;
|
|
105
|
-
/** @deprecated use `SchemasPrice$Outbound` instead. */
|
|
106
|
-
type Outbound = SchemasPrice$Outbound;
|
|
107
|
-
}
|
|
108
|
-
export declare function schemasPriceToJSON(schemasPrice: SchemasPrice): string;
|
|
109
|
-
export declare function schemasPriceFromJSON(jsonString: string): SafeParseResult<SchemasPrice, SDKValidationError>;
|
|
110
|
-
//# sourceMappingURL=schemasprice.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schemasprice.d.ts","sourceRoot":"","sources":["../src/models/schemasprice.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEpE,eAAO,MAAM,kBAAkB;;CAErB,CAAC;AACX,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEvE,eAAO,MAAM,iBAAiB;;;;;CAKpB,CAAC;AACX,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAErE,MAAM,MAAM,YAAY,GAAG;IACzB;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,MAAM,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACxC,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,KAAK,CAAC,EAAE,iBAAiB,GAAG,SAAS,CAAC;IACtC,kBAAkB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC,UAAU,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;IAC9C,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,U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CAAC;IAC3B,kBAAkB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC,UAAU,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;IAC9C,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,OAAO,CACjD,qBAAqB,EACrB,CAAC,CAAC,UAAU,EACZ,YAAY,CAaZ,CAAC;AAEH;;;GAGG;AACH,yBAAiB,aAAa,CAAC;IAC7B,4DAA4D;IACrD,MAAM,aAAa,gDAA6B,CAAC;IACxD,6DAA6D;IACtD,MAAM,cAAc,8DAA8B,CAAC;IAC1D,uDAAuD;IACvD,KAAY,QAAQ,GAAG,qBAAqB,CAAC;CAC9C;AAED,wBAAgB,kBAAkB,CAAC,YAAY,EAAE,YAAY,GAAG,MAAM,CAErE;AAED,wBAAgB,oBAAoB,CAClC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,YAAY,EAAE,kBAAkB,CAAC,CAMnD"}
|
package/models/security.d.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
import { Result as SafeParseResult } from "../types/fp.js";
|
|
3
|
-
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
4
|
-
export type Security = {
|
|
5
|
-
bearerAuth?: string | undefined;
|
|
6
|
-
};
|
|
7
|
-
/** @internal */
|
|
8
|
-
export declare const Security$inboundSchema: z.ZodType<Security, z.ZodTypeDef, unknown>;
|
|
9
|
-
/** @internal */
|
|
10
|
-
export type Security$Outbound = {
|
|
11
|
-
BearerAuth?: string | undefined;
|
|
12
|
-
};
|
|
13
|
-
/** @internal */
|
|
14
|
-
export declare const Security$outboundSchema: z.ZodType<Security$Outbound, z.ZodTypeDef, Security>;
|
|
15
|
-
/**
|
|
16
|
-
* @internal
|
|
17
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
18
|
-
*/
|
|
19
|
-
export declare namespace Security$ {
|
|
20
|
-
/** @deprecated use `Security$inboundSchema` instead. */
|
|
21
|
-
const inboundSchema: z.ZodType<Security, z.ZodTypeDef, unknown>;
|
|
22
|
-
/** @deprecated use `Security$outboundSchema` instead. */
|
|
23
|
-
const outboundSchema: z.ZodType<Security$Outbound, z.ZodTypeDef, Security>;
|
|
24
|
-
/** @deprecated use `Security$Outbound` instead. */
|
|
25
|
-
type Outbound = Security$Outbound;
|
|
26
|
-
}
|
|
27
|
-
export declare function securityToJSON(security: Security): string;
|
|
28
|
-
export declare function securityFromJSON(jsonString: string): SafeParseResult<Security, SDKValidationError>;
|
|
29
|
-
//# sourceMappingURL=security.d.ts.map
|
package/models/security.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"security.d.ts","sourceRoot":"","sources":["../src/models/security.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEpE,MAAM,MAAM,QAAQ,GAAG;IACrB,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACjC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sBAAsB,EAAE,CAAC,CAAC,OAAO,CAC5C,QAAQ,EACR,CAAC,CAAC,UAAU,EACZ,OAAO,CAOP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,iBAAiB,GAAG;IAC9B,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACjC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uBAAuB,EAAE,CAAC,CAAC,OAAO,CAC7C,iBAAiB,EACjB,CAAC,CAAC,UAAU,EACZ,QAAQ,CAOR,CAAC;AAEH;;;GAGG;AACH,yBAAiB,SAAS,CAAC;IACzB,wDAAwD;IACjD,MAAM,aAAa,4CAAyB,CAAC;IACpD,yDAAyD;IAClD,MAAM,cAAc,sDAA0B,CAAC;IACtD,mDAAmD;IACnD,KAAY,QAAQ,GAAG,iBAAiB,CAAC;CAC1C;AAED,wBAAgB,cAAc,CAAC,QAAQ,EAAE,QAAQ,GAAG,MAAM,CAEzD;AAED,wBAAgB,gBAAgB,CAC9B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,QAAQ,EAAE,kBAAkB,CAAC,CAM/C"}
|
package/models/source.d.ts
DELETED
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
import { ClosedEnum } from "../types/enums.js";
|
|
3
|
-
import { Result as SafeParseResult } from "../types/fp.js";
|
|
4
|
-
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
5
|
-
export declare const SourceObject: {
|
|
6
|
-
readonly Source: "source";
|
|
7
|
-
};
|
|
8
|
-
export type SourceObject = ClosedEnum<typeof SourceObject>;
|
|
9
|
-
export declare const SourceType: {
|
|
10
|
-
readonly StripeRevenue: "stripe_revenue";
|
|
11
|
-
};
|
|
12
|
-
export type SourceType = ClosedEnum<typeof SourceType>;
|
|
13
|
-
export declare const ProcessingMode: {
|
|
14
|
-
readonly Automatic: "automatic";
|
|
15
|
-
readonly Manual: "manual";
|
|
16
|
-
};
|
|
17
|
-
export type ProcessingMode = ClosedEnum<typeof ProcessingMode>;
|
|
18
|
-
export type Source = {
|
|
19
|
-
/**
|
|
20
|
-
* Unique identifier for a source
|
|
21
|
-
*/
|
|
22
|
-
id: string;
|
|
23
|
-
/**
|
|
24
|
-
* Unique identifier for a plan
|
|
25
|
-
*/
|
|
26
|
-
planId: string;
|
|
27
|
-
/**
|
|
28
|
-
* Unique identifier for an organization
|
|
29
|
-
*/
|
|
30
|
-
merchantId: string;
|
|
31
|
-
object: SourceObject;
|
|
32
|
-
type: SourceType;
|
|
33
|
-
name: string;
|
|
34
|
-
description?: string | undefined;
|
|
35
|
-
config?: {
|
|
36
|
-
[k: string]: any;
|
|
37
|
-
} | undefined;
|
|
38
|
-
metadata?: {
|
|
39
|
-
[k: string]: any;
|
|
40
|
-
} | undefined;
|
|
41
|
-
enabled: boolean;
|
|
42
|
-
processingMode: ProcessingMode;
|
|
43
|
-
createdAt: Date;
|
|
44
|
-
updatedAt: Date;
|
|
45
|
-
};
|
|
46
|
-
/** @internal */
|
|
47
|
-
export declare const SourceObject$inboundSchema: z.ZodNativeEnum<typeof SourceObject>;
|
|
48
|
-
/** @internal */
|
|
49
|
-
export declare const SourceObject$outboundSchema: z.ZodNativeEnum<typeof SourceObject>;
|
|
50
|
-
/**
|
|
51
|
-
* @internal
|
|
52
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
53
|
-
*/
|
|
54
|
-
export declare namespace SourceObject$ {
|
|
55
|
-
/** @deprecated use `SourceObject$inboundSchema` instead. */
|
|
56
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
57
|
-
readonly Source: "source";
|
|
58
|
-
}>;
|
|
59
|
-
/** @deprecated use `SourceObject$outboundSchema` instead. */
|
|
60
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
61
|
-
readonly Source: "source";
|
|
62
|
-
}>;
|
|
63
|
-
}
|
|
64
|
-
/** @internal */
|
|
65
|
-
export declare const SourceType$inboundSchema: z.ZodNativeEnum<typeof SourceType>;
|
|
66
|
-
/** @internal */
|
|
67
|
-
export declare const SourceType$outboundSchema: z.ZodNativeEnum<typeof SourceType>;
|
|
68
|
-
/**
|
|
69
|
-
* @internal
|
|
70
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
71
|
-
*/
|
|
72
|
-
export declare namespace SourceType$ {
|
|
73
|
-
/** @deprecated use `SourceType$inboundSchema` instead. */
|
|
74
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
75
|
-
readonly StripeRevenue: "stripe_revenue";
|
|
76
|
-
}>;
|
|
77
|
-
/** @deprecated use `SourceType$outboundSchema` instead. */
|
|
78
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
79
|
-
readonly StripeRevenue: "stripe_revenue";
|
|
80
|
-
}>;
|
|
81
|
-
}
|
|
82
|
-
/** @internal */
|
|
83
|
-
export declare const ProcessingMode$inboundSchema: z.ZodNativeEnum<typeof ProcessingMode>;
|
|
84
|
-
/** @internal */
|
|
85
|
-
export declare const ProcessingMode$outboundSchema: z.ZodNativeEnum<typeof ProcessingMode>;
|
|
86
|
-
/**
|
|
87
|
-
* @internal
|
|
88
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
89
|
-
*/
|
|
90
|
-
export declare namespace ProcessingMode$ {
|
|
91
|
-
/** @deprecated use `ProcessingMode$inboundSchema` instead. */
|
|
92
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
93
|
-
readonly Automatic: "automatic";
|
|
94
|
-
readonly Manual: "manual";
|
|
95
|
-
}>;
|
|
96
|
-
/** @deprecated use `ProcessingMode$outboundSchema` instead. */
|
|
97
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
98
|
-
readonly Automatic: "automatic";
|
|
99
|
-
readonly Manual: "manual";
|
|
100
|
-
}>;
|
|
101
|
-
}
|
|
102
|
-
/** @internal */
|
|
103
|
-
export declare const Source$inboundSchema: z.ZodType<Source, z.ZodTypeDef, unknown>;
|
|
104
|
-
/** @internal */
|
|
105
|
-
export type Source$Outbound = {
|
|
106
|
-
id: string;
|
|
107
|
-
planId: string;
|
|
108
|
-
merchantId: string;
|
|
109
|
-
object: string;
|
|
110
|
-
type: string;
|
|
111
|
-
name: string;
|
|
112
|
-
description?: string | undefined;
|
|
113
|
-
config?: {
|
|
114
|
-
[k: string]: any;
|
|
115
|
-
} | undefined;
|
|
116
|
-
metadata?: {
|
|
117
|
-
[k: string]: any;
|
|
118
|
-
} | undefined;
|
|
119
|
-
enabled: boolean;
|
|
120
|
-
processingMode: string;
|
|
121
|
-
createdAt: string;
|
|
122
|
-
updatedAt: string;
|
|
123
|
-
};
|
|
124
|
-
/** @internal */
|
|
125
|
-
export declare const Source$outboundSchema: z.ZodType<Source$Outbound, z.ZodTypeDef, Source>;
|
|
126
|
-
/**
|
|
127
|
-
* @internal
|
|
128
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
129
|
-
*/
|
|
130
|
-
export declare namespace Source$ {
|
|
131
|
-
/** @deprecated use `Source$inboundSchema` instead. */
|
|
132
|
-
const inboundSchema: z.ZodType<Source, z.ZodTypeDef, unknown>;
|
|
133
|
-
/** @deprecated use `Source$outboundSchema` instead. */
|
|
134
|
-
const outboundSchema: z.ZodType<Source$Outbound, z.ZodTypeDef, Source>;
|
|
135
|
-
/** @deprecated use `Source$Outbound` instead. */
|
|
136
|
-
type Outbound = Source$Outbound;
|
|
137
|
-
}
|
|
138
|
-
export declare function sourceToJSON(source: Source): string;
|
|
139
|
-
export declare function sourceFromJSON(jsonString: string): SafeParseResult<Source, SDKValidationError>;
|
|
140
|
-
//# sourceMappingURL=source.d.ts.map
|
package/models/source.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"source.d.ts","sourceRoot":"","sources":["../src/models/source.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,g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AAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;IAC5C,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qBAAqB,EAAE,CAAC,CAAC,OAAO,CAC3C,eAAe,EACf,CAAC,CAAC,UAAU,EACZ,MAAM,CAeN,CAAC;AAEH;;;GAGG;AACH,yBAAiB,OAAO,CAAC;IACvB,sDAAsD;IAC/C,MAAM,aAAa,0CAAuB,CAAC;IAClD,uDAAuD;IAChD,MAAM,cAAc,kDAAwB,CAAC;IACpD,iDAAiD;IACjD,KAAY,QAAQ,GAAG,eAAe,CAAC;CACxC;AAED,wBAAgB,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAEnD;AAED,wBAAgB,cAAc,CAC5B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAM7C"}
|
package/models/sourceevent.d.ts
DELETED
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
import { ClosedEnum } from "../types/enums.js";
|
|
3
|
-
import { Result as SafeParseResult } from "../types/fp.js";
|
|
4
|
-
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
5
|
-
export declare const SourceEventStatus: {
|
|
6
|
-
readonly Pending: "pending";
|
|
7
|
-
readonly Processed: "processed";
|
|
8
|
-
readonly Failed: "failed";
|
|
9
|
-
readonly Rejected: "rejected";
|
|
10
|
-
};
|
|
11
|
-
export type SourceEventStatus = ClosedEnum<typeof SourceEventStatus>;
|
|
12
|
-
export type SourceEvent = {
|
|
13
|
-
/**
|
|
14
|
-
* Unique identifier for a source event
|
|
15
|
-
*/
|
|
16
|
-
id: string;
|
|
17
|
-
/**
|
|
18
|
-
* Unique identifier for a source
|
|
19
|
-
*/
|
|
20
|
-
sourceId: string;
|
|
21
|
-
externalEventId: string;
|
|
22
|
-
status: SourceEventStatus;
|
|
23
|
-
errorMessage?: string | undefined;
|
|
24
|
-
usageEventIds?: Array<string> | undefined;
|
|
25
|
-
rawData: {
|
|
26
|
-
[k: string]: any;
|
|
27
|
-
};
|
|
28
|
-
processedBy?: string | undefined;
|
|
29
|
-
processedAt?: Date | undefined;
|
|
30
|
-
createdAt: Date;
|
|
31
|
-
updatedAt: Date;
|
|
32
|
-
};
|
|
33
|
-
/** @internal */
|
|
34
|
-
export declare const SourceEventStatus$inboundSchema: z.ZodNativeEnum<typeof SourceEventStatus>;
|
|
35
|
-
/** @internal */
|
|
36
|
-
export declare const SourceEventStatus$outboundSchema: z.ZodNativeEnum<typeof SourceEventStatus>;
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
40
|
-
*/
|
|
41
|
-
export declare namespace SourceEventStatus$ {
|
|
42
|
-
/** @deprecated use `SourceEventStatus$inboundSchema` instead. */
|
|
43
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
44
|
-
readonly Pending: "pending";
|
|
45
|
-
readonly Processed: "processed";
|
|
46
|
-
readonly Failed: "failed";
|
|
47
|
-
readonly Rejected: "rejected";
|
|
48
|
-
}>;
|
|
49
|
-
/** @deprecated use `SourceEventStatus$outboundSchema` instead. */
|
|
50
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
51
|
-
readonly Pending: "pending";
|
|
52
|
-
readonly Processed: "processed";
|
|
53
|
-
readonly Failed: "failed";
|
|
54
|
-
readonly Rejected: "rejected";
|
|
55
|
-
}>;
|
|
56
|
-
}
|
|
57
|
-
/** @internal */
|
|
58
|
-
export declare const SourceEvent$inboundSchema: z.ZodType<SourceEvent, z.ZodTypeDef, unknown>;
|
|
59
|
-
/** @internal */
|
|
60
|
-
export type SourceEvent$Outbound = {
|
|
61
|
-
id: string;
|
|
62
|
-
sourceId: string;
|
|
63
|
-
externalEventId: string;
|
|
64
|
-
status: string;
|
|
65
|
-
errorMessage?: string | undefined;
|
|
66
|
-
usageEventIds?: Array<string> | undefined;
|
|
67
|
-
rawData: {
|
|
68
|
-
[k: string]: any;
|
|
69
|
-
};
|
|
70
|
-
processedBy?: string | undefined;
|
|
71
|
-
processedAt?: string | undefined;
|
|
72
|
-
createdAt: string;
|
|
73
|
-
updatedAt: string;
|
|
74
|
-
};
|
|
75
|
-
/** @internal */
|
|
76
|
-
export declare const SourceEvent$outboundSchema: z.ZodType<SourceEvent$Outbound, z.ZodTypeDef, SourceEvent>;
|
|
77
|
-
/**
|
|
78
|
-
* @internal
|
|
79
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
80
|
-
*/
|
|
81
|
-
export declare namespace SourceEvent$ {
|
|
82
|
-
/** @deprecated use `SourceEvent$inboundSchema` instead. */
|
|
83
|
-
const inboundSchema: z.ZodType<SourceEvent, z.ZodTypeDef, unknown>;
|
|
84
|
-
/** @deprecated use `SourceEvent$outboundSchema` instead. */
|
|
85
|
-
const outboundSchema: z.ZodType<SourceEvent$Outbound, z.ZodTypeDef, SourceEvent>;
|
|
86
|
-
/** @deprecated use `SourceEvent$Outbound` instead. */
|
|
87
|
-
type Outbound = SourceEvent$Outbound;
|
|
88
|
-
}
|
|
89
|
-
export declare function sourceEventToJSON(sourceEvent: SourceEvent): string;
|
|
90
|
-
export declare function sourceEventFromJSON(jsonString: string): SafeParseResult<SourceEvent, SDKValidationError>;
|
|
91
|
-
//# sourceMappingURL=sourceevent.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sourceevent.d.ts","sourceRoot":"","sources":["../src/models/sourceevent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,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