Skip to content

Latest commit

History

History
728 lines (566 loc) · 50 KB

File metadata and controls

728 lines (566 loc) · 50 KB

Shared Types

fromorb.typesimport (
Address,
AdjustmentInterval,
AggregatedCost,
Allocation,
AmountDiscount,
AmountDiscountInterval,
BillableMetricTiny,
BillingCycleAnchorConfiguration,
BillingCycleConfiguration,
BillingCycleRelativeDate,
BulkConfig,
BulkTier,
ChangedSubscriptionResources,
ConversionRateTier,
ConversionRateTieredConfig,
ConversionRateUnitConfig,
CouponRedemption,
CreditNote,
CreditNoteTiny,
CustomExpiration,
CustomerMinified,
CustomerTaxID,
DimensionalPriceConfiguration,
Discount,
FixedFeeQuantityScheduleEntry,
FixedFeeQuantityTransition,
Invoice,
InvoiceLevelDiscount,
InvoiceTiny,
ItemSlim,
MatrixConfig,
MatrixSubLineItem,
MatrixValue,
MatrixWithAllocationConfig,
Maximum,
MaximumInterval,
Minimum,
MinimumInterval,
MonetaryAmountDiscountAdjustment,
MonetaryMaximumAdjustment,
MonetaryMinimumAdjustment,
MonetaryPercentageDiscountAdjustment,
MonetaryUsageDiscountAdjustment,
NewAllocationPrice,
NewAmountDiscount,
NewBillingCycleConfiguration,
NewDimensionalPriceConfiguration,
NewFloatingBulkPrice,
NewFloatingBulkWithProrationPrice,
NewFloatingCumulativeGroupedBulkPrice,
NewFloatingGroupedAllocationPrice,
NewFloatingGroupedTieredPackagePrice,
NewFloatingGroupedTieredPrice,
NewFloatingGroupedWithMeteredMinimumPrice,
NewFloatingGroupedWithProratedMinimumPrice,
NewFloatingMatrixPrice,
NewFloatingMatrixWithAllocationPrice,
NewFloatingMatrixWithDisplayNamePrice,
NewFloatingMaxGroupTieredPackagePrice,
NewFloatingMinimumCompositePrice,
NewFloatingPackagePrice,
NewFloatingPackageWithAllocationPrice,
NewFloatingScalableMatrixWithTieredPricingPrice,
NewFloatingScalableMatrixWithUnitPricingPrice,
NewFloatingThresholdTotalAmountPrice,
NewFloatingTieredPackagePrice,
NewFloatingTieredPackageWithMinimumPrice,
NewFloatingTieredPrice,
NewFloatingTieredWithMinimumPrice,
NewFloatingTieredWithProrationPrice,
NewFloatingUnitPrice,
NewFloatingUnitWithPercentPrice,
NewFloatingUnitWithProrationPrice,
NewMaximum,
NewMinimum,
NewPercentageDiscount,
NewPlanBulkPrice,
NewPlanBulkWithProrationPrice,
NewPlanCumulativeGroupedBulkPrice,
NewPlanGroupedAllocationPrice,
NewPlanGroupedTieredPackagePrice,
NewPlanGroupedTieredPrice,
NewPlanGroupedWithMeteredMinimumPrice,
NewPlanGroupedWithProratedMinimumPrice,
NewPlanMatrixPrice,
NewPlanMatrixWithAllocationPrice,
NewPlanMatrixWithDisplayNamePrice,
NewPlanMaxGroupTieredPackagePrice,
NewPlanMinimumCompositePrice,
NewPlanPackagePrice,
NewPlanPackageWithAllocationPrice,
NewPlanScalableMatrixWithTieredPricingPrice,
NewPlanScalableMatrixWithUnitPricingPrice,
NewPlanThresholdTotalAmountPrice,
NewPlanTieredPackagePrice,
NewPlanTieredPackageWithMinimumPrice,
NewPlanTieredPrice,
NewPlanTieredWithMinimumPrice,
NewPlanUnitPrice,
NewPlanUnitWithPercentPrice,
NewPlanUnitWithProrationPrice,
NewUsageDiscount,
OtherSubLineItem,
PackageConfig,
PaginationMetadata,
PerPriceCost,
PercentageDiscount,
PercentageDiscountInterval,
PlanPhaseAmountDiscountAdjustment,
PlanPhaseMaximumAdjustment,
PlanPhaseMinimumAdjustment,
PlanPhasePercentageDiscountAdjustment,
PlanPhaseUsageDiscountAdjustment,
Price,
PriceInterval,
SubLineItemGrouping,
SubLineItemMatrixConfig,
SubscriptionChangeMinified,
SubscriptionMinified,
SubscriptionTrialInfo,
TaxAmount,
Tier,
TierSubLineItem,
TieredConfig,
TieredConversionRateConfig,
TrialDiscount,
UnitConfig,
UnitConversionRateConfig,
UsageDiscount,
UsageDiscountInterval,
)

TopLevel

Types:

fromorb.typesimportTopLevelPingResponse

Methods:

Beta

Types:

fromorb.typesimportPlanVersion, PlanVersionPhase

Methods:

ExternalPlanID

Methods:

Coupons

Types:

fromorb.typesimportCoupon

Methods:

Subscriptions

Methods:

CreditNotes

Methods:

Customers

Types:

fromorb.typesimport (
AccountingProviderConfig,
AddressInput,
Customer,
CustomerHierarchyConfig,
NewAccountingSyncConfiguration,
NewAvalaraTaxConfiguration,
NewReportingConfiguration,
NewSphereConfiguration,
NewTaxJarConfiguration,
CustomerCreatePortalSessionResponse,
CustomerCreatePortalSessionByExternalIDResponse,
)

Methods:

Costs

Types:

fromorb.types.customersimportCostListResponse, CostListByExternalIDResponse

Methods:

Credits

Types:

fromorb.types.customersimportCreditListResponse, CreditListByExternalIDResponse

Methods:

Ledger

Types:

fromorb.types.customers.creditsimport (
AffectedBlock,
AmendmentLedgerEntry,
CreditBlockExpiryLedgerEntry,
DecrementLedgerEntry,
ExpirationChangeLedgerEntry,
IncrementLedgerEntry,
VoidInitiatedLedgerEntry,
VoidLedgerEntry,
LedgerListResponse,
LedgerCreateEntryResponse,
LedgerCreateEntryByExternalIDResponse,
LedgerListByExternalIDResponse,
)

Methods:

TopUps

Types:

fromorb.types.customers.creditsimport (
TopUpInvoiceSettings,
TopUpCreateResponse,
TopUpListResponse,
TopUpCreateByExternalIDResponse,
TopUpListByExternalIDResponse,
)

Methods:

BalanceTransactions

Types:

fromorb.types.customersimportBalanceTransactionCreateResponse, BalanceTransactionListResponse

Methods:

Events

Types:

fromorb.typesimport (
EventUpdateResponse,
EventDeprecateResponse,
EventIngestResponse,
EventSearchResponse,
)

Methods:

Backfills

Types:

fromorb.types.eventsimport (
BackfillCreateResponse,
BackfillListResponse,
BackfillCloseResponse,
BackfillFetchResponse,
BackfillRevertResponse,
)

Methods:

Volume

Types:

fromorb.types.eventsimportEventVolumes

Methods:

InvoiceLineItems

Types:

fromorb.typesimportInvoiceLineItemCreateResponse

Methods:

Invoices

Types:

fromorb.typesimport (
InvoiceFetchUpcomingResponse,
InvoiceIssueSummaryResponse,
InvoiceListSummaryResponse,
)

Methods:

Items

Types:

fromorb.typesimportItem

Methods:

Metrics

Types:

fromorb.typesimportBillableMetric

Methods:

Plans

Types:

fromorb.typesimportPlan

Methods:

ExternalPlanID

Methods:

  • client.plans.external_plan_id.update(other_external_plan_id, **params) -> Plan
  • client.plans.external_plan_id.fetch(external_plan_id) -> Plan

Migrations

Types:

fromorb.types.plansimport (
MigrationRetrieveResponse,
MigrationListResponse,
MigrationCancelResponse,
)

Methods:

Prices

Types:

fromorb.typesimport (
EvaluatePriceGroup,
PriceEvaluateResponse,
PriceEvaluateMultipleResponse,
PriceEvaluatePreviewEventsResponse,
)

Methods:

ExternalPriceID

Methods:

  • client.prices.external_price_id.update(external_price_id, **params) -> Price
  • client.prices.external_price_id.fetch(external_price_id) -> Price

Subscriptions

Types:

fromorb.typesimport (
DiscountOverride,
NewSubscriptionBulkPrice,
NewSubscriptionBulkWithProrationPrice,
NewSubscriptionCumulativeGroupedBulkPrice,
NewSubscriptionGroupedAllocationPrice,
NewSubscriptionGroupedTieredPackagePrice,
NewSubscriptionGroupedTieredPrice,
NewSubscriptionGroupedWithMeteredMinimumPrice,
NewSubscriptionGroupedWithProratedMinimumPrice,
NewSubscriptionMatrixPrice,
NewSubscriptionMatrixWithAllocationPrice,
NewSubscriptionMatrixWithDisplayNamePrice,
NewSubscriptionMaxGroupTieredPackagePrice,
NewSubscriptionMinimumCompositePrice,
NewSubscriptionPackagePrice,
NewSubscriptionPackageWithAllocationPrice,
NewSubscriptionScalableMatrixWithTieredPricingPrice,
NewSubscriptionScalableMatrixWithUnitPricingPrice,
NewSubscriptionThresholdTotalAmountPrice,
NewSubscriptionTieredPackagePrice,
NewSubscriptionTieredPackageWithMinimumPrice,
NewSubscriptionTieredPrice,
NewSubscriptionTieredWithMinimumPrice,
NewSubscriptionUnitPrice,
NewSubscriptionUnitWithPercentPrice,
NewSubscriptionUnitWithProrationPrice,
Subscription,
SubscriptionUsage,
Subscriptions,
SubscriptionFetchCostsResponse,
SubscriptionFetchScheduleResponse,
)

Methods:

Webhooks

Methods:

Alerts

Types:

fromorb.typesimportAlert, Threshold

Methods:

DimensionalPriceGroups

Types:

fromorb.typesimportDimensionalPriceGroup, DimensionalPriceGroups

Methods:

ExternalDimensionalPriceGroupID

Methods:

SubscriptionChanges

Types:

fromorb.typesimport (
MutatedSubscription,
SubscriptionChangeRetrieveResponse,
SubscriptionChangeListResponse,
SubscriptionChangeApplyResponse,
SubscriptionChangeCancelResponse,
)

Methods:

CreditBlocks

Types:

fromorb.typesimportCreditBlockRetrieveResponse, CreditBlockListInvoicesResponse

Methods:

LicenseTypes

Types:

fromorb.typesimport (
LicenseTypeCreateResponse,
LicenseTypeRetrieveResponse,
LicenseTypeListResponse,
)

Methods:

Licenses

Types:

fromorb.typesimport (
LicenseCreateResponse,
LicenseRetrieveResponse,
LicenseListResponse,
LicenseDeactivateResponse,
LicenseRetrieveByExternalIDResponse,
)

Methods:

ExternalLicenses

Types:

fromorb.types.licensesimportExternalLicenseGetUsageResponse

Methods:

Usage

Types:

fromorb.types.licensesimportUsageGetAllUsageResponse, UsageGetUsageResponse

Methods: