Skip to content

Latest commit

 

History

History
721 lines (559 loc) · 48.4 KB

File metadata and controls

721 lines (559 loc) · 48.4 KB

Shared Types

from orb.types import (
    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:

from orb.types import TopLevelPingResponse

Methods:

Beta

Types:

from orb.types import PlanVersion, PlanVersionPhase

Methods:

ExternalPlanID

Methods:

Coupons

Types:

from orb.types import Coupon

Methods:

Subscriptions

Methods:

CreditNotes

Methods:

Customers

Types:

from orb.types import (
    AccountingProviderConfig,
    AddressInput,
    Customer,
    CustomerHierarchyConfig,
    NewAccountingSyncConfiguration,
    NewAvalaraTaxConfiguration,
    NewReportingConfiguration,
    NewSphereConfiguration,
    NewTaxJarConfiguration,
)

Methods:

Costs

Types:

from orb.types.customers import CostListResponse, CostListByExternalIDResponse

Methods:

Credits

Types:

from orb.types.customers import CreditListResponse, CreditListByExternalIDResponse

Methods:

Ledger

Types:

from orb.types.customers.credits import (
    AffectedBlock,
    AmendmentLedgerEntry,
    CreditBlockExpiryLedgerEntry,
    DecrementLedgerEntry,
    ExpirationChangeLedgerEntry,
    IncrementLedgerEntry,
    VoidInitiatedLedgerEntry,
    VoidLedgerEntry,
    LedgerListResponse,
    LedgerCreateEntryResponse,
    LedgerCreateEntryByExternalIDResponse,
    LedgerListByExternalIDResponse,
)

Methods:

TopUps

Types:

from orb.types.customers.credits import (
    TopUpInvoiceSettings,
    TopUpCreateResponse,
    TopUpListResponse,
    TopUpCreateByExternalIDResponse,
    TopUpListByExternalIDResponse,
)

Methods:

BalanceTransactions

Types:

from orb.types.customers import BalanceTransactionCreateResponse, BalanceTransactionListResponse

Methods:

Events

Types:

from orb.types import (
    EventUpdateResponse,
    EventDeprecateResponse,
    EventIngestResponse,
    EventSearchResponse,
)

Methods:

Backfills

Types:

from orb.types.events import (
    BackfillCreateResponse,
    BackfillListResponse,
    BackfillCloseResponse,
    BackfillFetchResponse,
    BackfillRevertResponse,
)

Methods:

Volume

Types:

from orb.types.events import EventVolumes

Methods:

InvoiceLineItems

Types:

from orb.types import InvoiceLineItemCreateResponse

Methods:

Invoices

Types:

from orb.types import (
    InvoiceFetchUpcomingResponse,
    InvoiceIssueSummaryResponse,
    InvoiceListSummaryResponse,
)

Methods:

Items

Types:

from orb.types import Item

Methods:

Metrics

Types:

from orb.types import BillableMetric

Methods:

Plans

Types:

from orb.types import Plan

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:

from orb.types.plans import (
    MigrationRetrieveResponse,
    MigrationListResponse,
    MigrationCancelResponse,
)

Methods:

Prices

Types:

from orb.types import (
    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:

from orb.types import (
    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:

from orb.types import Alert, Threshold

Methods:

DimensionalPriceGroups

Types:

from orb.types import DimensionalPriceGroup, DimensionalPriceGroups

Methods:

ExternalDimensionalPriceGroupID

Methods:

SubscriptionChanges

Types:

from orb.types import (
    MutatedSubscription,
    SubscriptionChangeRetrieveResponse,
    SubscriptionChangeListResponse,
    SubscriptionChangeApplyResponse,
    SubscriptionChangeCancelResponse,
)

Methods:

CreditBlocks

Types:

from orb.types import CreditBlockRetrieveResponse, CreditBlockListInvoicesResponse

Methods:

LicenseTypes

Types:

from orb.types import (
    LicenseTypeCreateResponse,
    LicenseTypeRetrieveResponse,
    LicenseTypeListResponse,
)

Methods:

Licenses

Types:

from orb.types import (
    LicenseCreateResponse,
    LicenseRetrieveResponse,
    LicenseListResponse,
    LicenseDeactivateResponse,
    LicenseRetrieveByExternalIDResponse,
)

Methods:

ExternalLicenses

Types:

from orb.types.licenses import ExternalLicenseGetUsageResponse

Methods:

Usage

Types:

from orb.types.licenses import UsageGetAllUsageResponse, UsageGetUsageResponse

Methods: