@pontive/server 1.24.0 → 1.26.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.
@@ -1605,7 +1605,7 @@ export declare class BillingCatalog {
1605
1605
  *
1606
1606
  * `POST /v1/billing/catalog/import` (ImportCatalog)
1607
1607
  */
1608
- import(body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
1608
+ import(body?: T.ImportCatalogRequest, options?: RequestOptions): APIPromise<T.CatalogImportPlan>;
1609
1609
  }
1610
1610
  /**
1611
1611
  * The `billing.catalogRules` operations.
@@ -1619,13 +1619,13 @@ export declare class BillingCatalogRules {
1619
1619
  *
1620
1620
  * `GET /v1/billing/catalog-rules` (GetCatalogRules)
1621
1621
  */
1622
- get(options?: RequestOptions): APIPromise<T.BillingObject>;
1622
+ get(options?: RequestOptions): APIPromise<T.CatalogRules>;
1623
1623
  /**
1624
1624
  * billing.catalog.v1.CatalogRulesService/UpdateCatalogRules (34-billing-catalog.md, API Surface).
1625
1625
  *
1626
1626
  * `PATCH /v1/billing/catalog-rules` (UpdateCatalogRules)
1627
1627
  */
1628
- update(body?: Record<string, unknown>, params?: T.UpdateCatalogRulesParams, options?: RequestOptions): APIPromise<T.BillingObject>;
1628
+ update(body?: T.UpdateCatalogRulesRequest, params?: T.UpdateCatalogRulesParams, options?: RequestOptions): APIPromise<T.CatalogRules>;
1629
1629
  }
1630
1630
  /**
1631
1631
  * The `billing.checkoutSessions` operations.
@@ -1642,21 +1642,21 @@ export declare class BillingCheckoutSessions {
1642
1642
  *
1643
1643
  * `POST /v1/billing/checkout-sessions` (CreateCheckoutSession)
1644
1644
  */
1645
- create(body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
1645
+ create(body?: T.CreateCheckoutSessionRequest, options?: RequestOptions): APIPromise<T.CheckoutSession>;
1646
1646
  /**
1647
1647
  * billing.contract.v1.CheckoutSessionService/ExpireCheckoutSession (35-contracts.md, Checkout session
1648
1648
  * and API Surface). An open session becomes expired.
1649
1649
  *
1650
1650
  * `POST /v1/billing/checkout-sessions/{checkout_session_id}/expire` (ExpireCheckoutSession)
1651
1651
  */
1652
- expire(checkoutSessionId: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
1652
+ expire(checkoutSessionId: string, options?: RequestOptions): APIPromise<T.CheckoutSession>;
1653
1653
  /**
1654
1654
  * billing.contract.v1.CheckoutSessionService/GetCheckoutSession (35-contracts.md, Checkout session and
1655
1655
  * API Surface).
1656
1656
  *
1657
1657
  * `GET /v1/billing/checkout-sessions/{checkout_session_id}` (GetCheckoutSession)
1658
1658
  */
1659
- get(checkoutSessionId: string, options?: RequestOptions): APIPromise<T.BillingObject>;
1659
+ get(checkoutSessionId: string, options?: RequestOptions): APIPromise<T.CheckoutSession>;
1660
1660
  }
1661
1661
  /**
1662
1662
  * The `billing.contracts` operations.
@@ -1670,25 +1670,25 @@ export declare class BillingContracts {
1670
1670
  *
1671
1671
  * `POST /v1/billing/contracts/{contract_id}/cancel` (CancelContract)
1672
1672
  */
1673
- cancel(contractId: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
1673
+ cancel(contractId: string, body?: T.CancelContractRequest, options?: RequestOptions): APIPromise<T.Contract>;
1674
1674
  /**
1675
1675
  * billing.contract.v1.ContractService/ChangeContractPackage (35-contracts.md, API Surface).
1676
1676
  *
1677
1677
  * `POST /v1/billing/contracts/{contract_id}/change-package` (ChangeContractPackage)
1678
1678
  */
1679
- changePackage(contractId: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
1679
+ changePackage(contractId: string, body?: T.ChangeContractPackageRequest, options?: RequestOptions): APIPromise<T.Contract>;
1680
1680
  /**
1681
1681
  * billing.contract.v1.ContractService/CreateContract (35-contracts.md, API Surface).
1682
1682
  *
1683
1683
  * `POST /v1/billing/contracts` (CreateContract)
1684
1684
  */
1685
- create(body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
1685
+ create(body?: T.CreateContractRequest, options?: RequestOptions): APIPromise<T.Contract>;
1686
1686
  /**
1687
1687
  * billing.contract.v1.ContractService/CreateContractEdit (35-contracts.md, API Surface).
1688
1688
  *
1689
1689
  * `POST /v1/billing/contracts/{contract_id}/edits` (CreateContractEdit)
1690
1690
  */
1691
- createEdit(contractId: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
1691
+ createEdit(contractId: string, body?: T.CreateContractEditRequest, options?: RequestOptions): APIPromise<T.Edit>;
1692
1692
  /**
1693
1693
  * billing.contract.v1.ContractService/DeleteContractEdit (35-contracts.md, API Surface).
1694
1694
  *
@@ -1700,13 +1700,13 @@ export declare class BillingContracts {
1700
1700
  *
1701
1701
  * `GET /v1/billing/contracts/{contract_id}` (GetContract)
1702
1702
  */
1703
- get(contractId: string, params?: T.GetContractParams, options?: RequestOptions): APIPromise<T.BillingObject>;
1703
+ get(contractId: string, params?: T.GetContractParams, options?: RequestOptions): APIPromise<T.Contract>;
1704
1704
  /**
1705
1705
  * billing.contract.v1.ContractService/GetContractHistory (35-contracts.md, API Surface).
1706
1706
  *
1707
1707
  * `GET /v1/billing/contracts/{contract_id}/history` (GetContractHistory)
1708
1708
  */
1709
- getHistory(contractId: string, options?: RequestOptions): APIPromise<T.BillingObject>;
1709
+ getHistory(contractId: string, options?: RequestOptions): APIPromise<T.ContractHistory>;
1710
1710
  /**
1711
1711
  * billing.contract.v1.ContractService/ListContracts (35-contracts.md, API Surface).
1712
1712
  *
@@ -1714,7 +1714,7 @@ export declare class BillingContracts {
1714
1714
  *
1715
1715
  * Await it for the first page, or iterate it with `for await` for every item across pages.
1716
1716
  */
1717
- list(params?: T.ListContractsParams, options?: RequestOptions): PagePromise<T.BillingObject, T.BillingList>;
1717
+ list(params?: T.ListContractsParams, options?: RequestOptions): PagePromise<T.Contract, T.ContractList>;
1718
1718
  /**
1719
1719
  * billing.ledger.v1.GrantService/ListAllowanceSchedules (36-credits-ledger.md, API Surface).
1720
1720
  *
@@ -1722,7 +1722,7 @@ export declare class BillingContracts {
1722
1722
  *
1723
1723
  * Await it for the first page, or iterate it with `for await` for every item across pages.
1724
1724
  */
1725
- listAllowanceSchedules(contractId: string, params?: T.ListAllowanceSchedulesParams, options?: RequestOptions): PagePromise<T.BillingObject, T.BillingList>;
1725
+ listAllowanceSchedules(contractId: string, params?: T.ListAllowanceSchedulesParams, options?: RequestOptions): PagePromise<T.AllowanceSchedule, T.AllowanceScheduleList>;
1726
1726
  /**
1727
1727
  * billing.contract.v1.ContractService/ListContractEdits (35-contracts.md, API Surface).
1728
1728
  *
@@ -1730,25 +1730,25 @@ export declare class BillingContracts {
1730
1730
  *
1731
1731
  * Await it for the first page, or iterate it with `for await` for every item across pages.
1732
1732
  */
1733
- listEdits(contractId: string, params?: T.ListContractEditsParams, options?: RequestOptions): PagePromise<T.BillingObject, T.BillingList>;
1733
+ listEdits(contractId: string, params?: T.ListContractEditsParams, options?: RequestOptions): PagePromise<T.Edit, T.EditList>;
1734
1734
  /**
1735
1735
  * billing.contract.v1.ContractService/PreviewContract (35-contracts.md, API Surface).
1736
1736
  *
1737
1737
  * `POST /v1/billing/contracts/preview` (PreviewContract)
1738
1738
  */
1739
- preview(body?: Record<string, unknown>, options?: RequestOptions): APIPromise<Record<string, unknown>>;
1739
+ preview(body?: T.PreviewContractRequest, options?: RequestOptions): APIPromise<T.PreviewContractResponse>;
1740
1740
  /**
1741
1741
  * billing.contract.v1.ContractService/PreviewContractEdit (35-contracts.md, API Surface).
1742
1742
  *
1743
1743
  * `POST /v1/billing/contracts/{contract_id}/edits/preview` (PreviewContractEdit)
1744
1744
  */
1745
- previewEdit(contractId: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<Record<string, unknown>>;
1745
+ previewEdit(contractId: string, body?: T.PreviewContractEditRequest, options?: RequestOptions): APIPromise<T.PreviewContractEditResponse>;
1746
1746
  /**
1747
1747
  * billing.contract.v1.ContractService/RevokeContractCancellation (35-contracts.md, API Surface).
1748
1748
  *
1749
1749
  * `POST /v1/billing/contracts/{contract_id}/revoke-cancellation` (RevokeContractCancellation)
1750
1750
  */
1751
- revokeCancellation(contractId: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<Record<string, unknown>>;
1751
+ revokeCancellation(contractId: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.RevokeContractCancellationResponse>;
1752
1752
  }
1753
1753
  /**
1754
1754
  * The `billing.creditNotes` operations.
@@ -1762,13 +1762,13 @@ export declare class BillingCreditNotes {
1762
1762
  *
1763
1763
  * `POST /v1/billing/credit-notes` (CreateCreditNote)
1764
1764
  */
1765
- create(body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
1765
+ create(body?: T.CreateCreditNoteRequest, options?: RequestOptions): APIPromise<T.CreditNote>;
1766
1766
  /**
1767
1767
  * billing.invoice.v1.CreditNoteService/GetCreditNote (37-invoicing.md, API Surface).
1768
1768
  *
1769
1769
  * `GET /v1/billing/credit-notes/{credit_note_id}` (GetCreditNote)
1770
1770
  */
1771
- get(creditNoteId: string, options?: RequestOptions): APIPromise<T.BillingObject>;
1771
+ get(creditNoteId: string, options?: RequestOptions): APIPromise<T.CreditNote>;
1772
1772
  /**
1773
1773
  * billing.invoice.v1.CreditNoteService/GetCreditNotePdf (37-invoicing.md, API Surface; The document).
1774
1774
  * The credit note's PDF as a download, not an envelope: Content-Type application/pdf and
@@ -1786,19 +1786,19 @@ export declare class BillingCreditNotes {
1786
1786
  *
1787
1787
  * Await it for the first page, or iterate it with `for await` for every item across pages.
1788
1788
  */
1789
- list(params?: T.ListCreditNotesParams, options?: RequestOptions): PagePromise<T.BillingObject, T.BillingList>;
1789
+ list(params?: T.ListCreditNotesParams, options?: RequestOptions): PagePromise<T.CreditNote, T.CreditNoteList>;
1790
1790
  /**
1791
1791
  * billing.invoice.v1.CreditNoteService/PreviewCreditNote (37-invoicing.md, API Surface).
1792
1792
  *
1793
1793
  * `POST /v1/billing/credit-notes/preview` (PreviewCreditNote)
1794
1794
  */
1795
- preview(body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
1795
+ preview(body?: T.PreviewCreditNoteRequest, options?: RequestOptions): APIPromise<T.CreditNote>;
1796
1796
  /**
1797
1797
  * billing.invoice.v1.CreditNoteService/VoidCreditNote (37-invoicing.md, API Surface).
1798
1798
  *
1799
1799
  * `POST /v1/billing/credit-notes/{credit_note_id}/void` (VoidCreditNote)
1800
1800
  */
1801
- void(creditNoteId: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
1801
+ void(creditNoteId: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.CreditNote>;
1802
1802
  }
1803
1803
  /**
1804
1804
  * The `billing.currencies` operations.
@@ -1811,13 +1811,13 @@ export declare class BillingCurrencies {
1811
1811
  * billing.catalog.v1.CurrencyService/ListCurrencies (32-billing-overview.md, API Surface, Currencies).
1812
1812
  * Every currency billing accepts, sorted by code: its upper-case ISO 4217 code, English name, minor
1813
1813
  * units (exponent), whether Stripe can charge it (chargeable) and Stripe's minimum charge, or null.
1814
- * chargeable=true lists only the chargeable ones. Unpaginated.
1814
+ * chargeable=true lists only the chargeable ones. Paged like every list.
1815
1815
  *
1816
1816
  * `GET /v1/billing/currencies` (ListCurrencies)
1817
1817
  *
1818
1818
  * Await it for the first page, or iterate it with `for await` for every item across pages.
1819
1819
  */
1820
- list(params?: T.ListCurrenciesParams, options?: RequestOptions): PagePromise<T.BillingObject, T.BillingList>;
1820
+ list(params?: T.ListCurrenciesParams, options?: RequestOptions): PagePromise<T.Currency, T.CurrencyList>;
1821
1821
  }
1822
1822
  /**
1823
1823
  * The `billing.customers` operations.
@@ -1837,13 +1837,13 @@ export declare class BillingCustomers {
1837
1837
  *
1838
1838
  * `POST /v1/billing/customers/{customer_id}/anonymize` (AnonymizeCustomer)
1839
1839
  */
1840
- anonymize(customerId: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
1840
+ anonymize(customerId: string, body?: T.AnonymizeCustomerRequest, options?: RequestOptions): APIPromise<T.Customer>;
1841
1841
  /**
1842
1842
  * billing.customer.v1.CustomerService/ArchiveCustomer (32-billing-overview.md, API Surface).
1843
1843
  *
1844
1844
  * `POST /v1/billing/customers/{customer_id}/archive` (ArchiveCustomer)
1845
1845
  */
1846
- archive(customerId: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
1846
+ archive(customerId: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.Customer>;
1847
1847
  /**
1848
1848
  * billing.customer.v1.CustomerService/ChangeCustomerSubject (32-billing-overview.md, Changing the
1849
1849
  * subject). Re-points the Customer from user to organization, or from external to user or
@@ -1851,7 +1851,7 @@ export declare class BillingCustomers {
1851
1851
  *
1852
1852
  * `POST /v1/billing/customers/{customer_id}/change-subject` (ChangeCustomerSubject)
1853
1853
  */
1854
- changeSubject(customerId: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
1854
+ changeSubject(customerId: string, body?: T.ChangeCustomerSubjectRequest, options?: RequestOptions): APIPromise<T.Customer>;
1855
1855
  /**
1856
1856
  * billing.customer.v1.CustomerService/CreateCustomer (32-billing-overview.md, API Surface; Customer).
1857
1857
  * tax_status is auto, taxable, exempt or reverse_charge; left out, it is auto: billing decides reverse
@@ -1859,13 +1859,13 @@ export declare class BillingCustomers {
1859
1859
  *
1860
1860
  * `POST /v1/billing/customers` (CreateCustomer)
1861
1861
  */
1862
- create(body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
1862
+ create(body?: T.CreateCustomerRequest, options?: RequestOptions): APIPromise<T.Customer>;
1863
1863
  /**
1864
1864
  * billing.customer.v1.CustomerService/GetCustomer (32-billing-overview.md, API Surface).
1865
1865
  *
1866
1866
  * `GET /v1/billing/customers/{customer_id}` (GetCustomer)
1867
1867
  */
1868
- get(customerId: string, options?: RequestOptions): APIPromise<T.BillingObject>;
1868
+ get(customerId: string, options?: RequestOptions): APIPromise<T.Customer>;
1869
1869
  /**
1870
1870
  * billing.customer.v1.CustomerService/ListCustomers (32-billing-overview.md, API Surface).
1871
1871
  *
@@ -1873,20 +1873,20 @@ export declare class BillingCustomers {
1873
1873
  *
1874
1874
  * Await it for the first page, or iterate it with `for await` for every item across pages.
1875
1875
  */
1876
- list(params?: T.ListCustomersParams, options?: RequestOptions): PagePromise<T.BillingObject, T.BillingList>;
1876
+ list(params?: T.ListCustomersParams, options?: RequestOptions): PagePromise<T.Customer, T.CustomerList>;
1877
1877
  /**
1878
1878
  * billing.customer.v1.CustomerService/UnarchiveCustomer (32-billing-overview.md, API Surface).
1879
1879
  *
1880
1880
  * `POST /v1/billing/customers/{customer_id}/unarchive` (UnarchiveCustomer)
1881
1881
  */
1882
- unarchive(customerId: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
1882
+ unarchive(customerId: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.Customer>;
1883
1883
  /**
1884
1884
  * billing.customer.v1.CustomerService/UpdateCustomer (32-billing-overview.md, API Surface; Customer).
1885
1885
  * tax_status is auto, taxable, exempt or reverse_charge (billing-svc docs/questions.md, P105).
1886
1886
  *
1887
1887
  * `PATCH /v1/billing/customers/{customer_id}` (UpdateCustomer)
1888
1888
  */
1889
- update(customerId: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
1889
+ update(customerId: string, body?: T.UpdateCustomerRequest, options?: RequestOptions): APIPromise<T.Customer>;
1890
1890
  }
1891
1891
  /**
1892
1892
  * The `billing.disputes` operations.
@@ -1901,7 +1901,7 @@ export declare class BillingDisputes {
1901
1901
  *
1902
1902
  * `GET /v1/billing/disputes/{dispute_id}` (GetDispute)
1903
1903
  */
1904
- get(disputeId: string, options?: RequestOptions): APIPromise<T.BillingObject>;
1904
+ get(disputeId: string, options?: RequestOptions): APIPromise<T.Dispute>;
1905
1905
  /**
1906
1906
  * billing.payment.v1.DisputeService/ListDisputes (38-payments-and-tax.md, API Surface, Refunds and
1907
1907
  * disputes). Newest first.
@@ -1910,7 +1910,7 @@ export declare class BillingDisputes {
1910
1910
  *
1911
1911
  * Await it for the first page, or iterate it with `for await` for every item across pages.
1912
1912
  */
1913
- list(params?: T.ListDisputesParams, options?: RequestOptions): PagePromise<T.BillingObject, T.BillingList>;
1913
+ list(params?: T.ListDisputesParams, options?: RequestOptions): PagePromise<T.Dispute, T.DisputeList>;
1914
1914
  }
1915
1915
  /**
1916
1916
  * The `billing.dunning` operations.
@@ -1926,14 +1926,14 @@ export declare class BillingDunning {
1926
1926
  *
1927
1927
  * `GET /v1/billing/customers/{customer_id}/dunning` (GetCustomerDunning)
1928
1928
  */
1929
- getForCustomer(customerId: string, options?: RequestOptions): APIPromise<T.BillingObject>;
1929
+ getForCustomer(customerId: string, options?: RequestOptions): APIPromise<T.DunningState>;
1930
1930
  /**
1931
1931
  * billing.payment.v1.DunningService/GetDunningPolicy (38-payments-and-tax.md, API Surface, Dunning;
1932
1932
  * Dunning policy). The instance's policy, with 38's defaults until it is changed.
1933
1933
  *
1934
1934
  * `GET /v1/billing/dunning-policy` (GetDunningPolicy)
1935
1935
  */
1936
- getPolicy(options?: RequestOptions): APIPromise<T.BillingObject>;
1936
+ getPolicy(options?: RequestOptions): APIPromise<T.DunningPolicy>;
1937
1937
  /**
1938
1938
  * billing.payment.v1.DunningService/RetryCustomerDunning (38-payments-and-tax.md, API Surface,
1939
1939
  * Dunning). Tries every overdue invoice at once, oldest first, as the client; the schedule does not
@@ -1941,7 +1941,7 @@ export declare class BillingDunning {
1941
1941
  *
1942
1942
  * `POST /v1/billing/customers/{customer_id}/dunning/retry` (RetryCustomerDunning)
1943
1943
  */
1944
- retryForCustomer(customerId: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<Record<string, unknown>>;
1944
+ retryForCustomer(customerId: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.DunningState>;
1945
1945
  /**
1946
1946
  * billing.payment.v1.DunningService/UpdateDunningPolicy (38-payments-and-tax.md, API Surface, Dunning;
1947
1947
  * Dunning policy). A field left out keeps its value; retries and steps replace their lists;
@@ -1950,7 +1950,7 @@ export declare class BillingDunning {
1950
1950
  *
1951
1951
  * `PATCH /v1/billing/dunning-policy` (UpdateDunningPolicy)
1952
1952
  */
1953
- updatePolicy(body?: Record<string, unknown>, params?: T.UpdateDunningPolicyParams, options?: RequestOptions): APIPromise<Record<string, unknown>>;
1953
+ updatePolicy(body?: T.UpdateDunningPolicyRequest, params?: T.UpdateDunningPolicyParams, options?: RequestOptions): APIPromise<T.DunningPolicy>;
1954
1954
  }
1955
1955
  /**
1956
1956
  * The `billing.entitlements` operations.
@@ -1970,7 +1970,7 @@ export declare class BillingEntitlements {
1970
1970
  *
1971
1971
  * `POST /v1/entitlements/check` (CheckEntitlement)
1972
1972
  */
1973
- check(body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
1973
+ check(body?: T.CheckEntitlementRequest, options?: RequestOptions): APIPromise<T.CheckEntitlementResponse>;
1974
1974
  /**
1975
1975
  * billing.entitlement.v1.EntitlementService/ConsumeEntitlement (39-entitlements-and-controls.md, API
1976
1976
  * Surface; Check, list, consume). Resolves, decides as a check would and, when allowed, records the
@@ -1986,7 +1986,7 @@ export declare class BillingEntitlements {
1986
1986
  *
1987
1987
  * `POST /v1/entitlements/consume` (ConsumeEntitlement)
1988
1988
  */
1989
- consume(body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
1989
+ consume(body?: T.ConsumeEntitlementRequest, options?: RequestOptions): APIPromise<T.ConsumeEntitlementResponse>;
1990
1990
  /**
1991
1991
  * billing.entitlement.v1.EntitlementService/ListEntitlements (39-entitlements-and-controls.md, API
1992
1992
  * Surface; Entitlement (resolved)). The resolved set for a subject (subject_type and subject_id) or a
@@ -1996,7 +1996,7 @@ export declare class BillingEntitlements {
1996
1996
  *
1997
1997
  * `GET /v1/billing/entitlements` (GetEntitlements)
1998
1998
  */
1999
- get(params?: T.GetEntitlementsParams, options?: RequestOptions): APIPromise<T.BillingObject>;
1999
+ get(params?: T.GetEntitlementsParams, options?: RequestOptions): APIPromise<T.EntitlementSet>;
2000
2000
  }
2001
2001
  /**
2002
2002
  * The `billing.eventTypes` operations.
@@ -2014,7 +2014,7 @@ export declare class BillingEventTypes {
2014
2014
  *
2015
2015
  * `POST /v1/billing/event-types/{event_type}/archive` (ArchiveEventType)
2016
2016
  */
2017
- archive(eventType: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2017
+ archive(eventType: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.MeteringEventType>;
2018
2018
  /**
2019
2019
  * billing.metering.v1.EventTypeService/CreateEventType (33-metering.md, API Surface, Event types;
2020
2020
  * Event types and schemas; billing-svc docs/questions.md, P99). Served under /billing, since
@@ -2026,7 +2026,7 @@ export declare class BillingEventTypes {
2026
2026
  *
2027
2027
  * `POST /v1/billing/event-types` (CreateEventType)
2028
2028
  */
2029
- create(body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2029
+ create(body?: T.CreateEventTypeRequest, options?: RequestOptions): APIPromise<T.MeteringEventType>;
2030
2030
  /**
2031
2031
  * billing.metering.v1.EventTypeService/GetEventType (33-metering.md, API Surface, Event types; Event
2032
2032
  * types and schemas; billing-svc docs/questions.md, P99). Served under /billing, since /v1/event-types
@@ -2036,7 +2036,7 @@ export declare class BillingEventTypes {
2036
2036
  *
2037
2037
  * `GET /v1/billing/event-types/{event_type}` (GetEventType)
2038
2038
  */
2039
- get(eventType: string, options?: RequestOptions): APIPromise<T.BillingObject>;
2039
+ get(eventType: string, options?: RequestOptions): APIPromise<T.MeteringEventType>;
2040
2040
  /**
2041
2041
  * billing.metering.v1.EventTypeService/InferEventType (33-metering.md, API Surface, Event types; Event
2042
2042
  * types and schemas; billing-svc docs/questions.md, P99). Served under /billing, since /v1/event-types
@@ -2047,7 +2047,7 @@ export declare class BillingEventTypes {
2047
2047
  *
2048
2048
  * `POST /v1/billing/event-types/infer` (InferEventType)
2049
2049
  */
2050
- infer(body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2050
+ infer(body?: T.InferEventTypeRequest, options?: RequestOptions): APIPromise<T.MeteringEventType>;
2051
2051
  /**
2052
2052
  * billing.metering.v1.EventTypeService/ListEventTypes (33-metering.md, API Surface, Event types; Event
2053
2053
  * types and schemas; billing-svc docs/questions.md, P99). Served under /billing, since /v1/event-types
@@ -2058,7 +2058,7 @@ export declare class BillingEventTypes {
2058
2058
  *
2059
2059
  * Await it for the first page, or iterate it with `for await` for every item across pages.
2060
2060
  */
2061
- list(params?: T.ListEventTypesParams, options?: RequestOptions): PagePromise<T.BillingObject, T.BillingList>;
2061
+ list(params?: T.ListEventTypesParams, options?: RequestOptions): PagePromise<T.MeteringEventType, T.EventTypeList>;
2062
2062
  /**
2063
2063
  * billing.metering.v1.EventTypeService/UnarchiveEventType (33-metering.md, API Surface, Event types;
2064
2064
  * Event types and schemas; billing-svc docs/questions.md, P99). Served under /billing, since
@@ -2067,7 +2067,7 @@ export declare class BillingEventTypes {
2067
2067
  *
2068
2068
  * `POST /v1/billing/event-types/{event_type}/unarchive` (UnarchiveEventType)
2069
2069
  */
2070
- unarchive(eventType: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2070
+ unarchive(eventType: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.MeteringEventType>;
2071
2071
  /**
2072
2072
  * billing.metering.v1.EventTypeService/UpdateEventType (33-metering.md, API Surface, Event types;
2073
2073
  * Event types and schemas; billing-svc docs/questions.md, P99). Served under /billing, since
@@ -2079,7 +2079,7 @@ export declare class BillingEventTypes {
2079
2079
  *
2080
2080
  * `PATCH /v1/billing/event-types/{event_type}` (UpdateEventType)
2081
2081
  */
2082
- update(eventType: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2082
+ update(eventType: string, body?: T.UpdateEventTypeRequest, options?: RequestOptions): APIPromise<T.MeteringEventType>;
2083
2083
  }
2084
2084
  /**
2085
2085
  * The `billing.events` operations.
@@ -2094,7 +2094,7 @@ export declare class BillingEvents {
2094
2094
  *
2095
2095
  * `GET /v1/billing/events/{event_id}` (GetEvent)
2096
2096
  */
2097
- get(eventId: string, options?: RequestOptions): APIPromise<T.BillingObject>;
2097
+ get(eventId: string, options?: RequestOptions): APIPromise<T.BillingEvent>;
2098
2098
  /**
2099
2099
  * billing.event.v1.EventService/ListEvents (32-billing-overview.md, API Surface, Events; billing-svc
2100
2100
  * docs/questions.md, P32).
@@ -2103,7 +2103,7 @@ export declare class BillingEvents {
2103
2103
  *
2104
2104
  * Await it for the first page, or iterate it with `for await` for every item across pages.
2105
2105
  */
2106
- list(params?: T.ListEventsParams, options?: RequestOptions): PagePromise<T.BillingObject, T.BillingCursorList>;
2106
+ list(params?: T.ListEventsParams, options?: RequestOptions): PagePromise<T.BillingEvent, T.EventCursorList>;
2107
2107
  }
2108
2108
  /**
2109
2109
  * The `billing.exchangeRates` operations.
@@ -2120,7 +2120,7 @@ export declare class BillingExchangeRates {
2120
2120
  *
2121
2121
  * `GET /v1/billing/exchange-rates` (GetExchangeRate)
2122
2122
  */
2123
- get(params: T.GetExchangeRateParams, options?: RequestOptions): APIPromise<T.BillingObject>;
2123
+ get(params: T.GetExchangeRateParams, options?: RequestOptions): APIPromise<T.ExchangeRate>;
2124
2124
  /**
2125
2125
  * billing.catalog.v1.ExchangeRateService/SetManualExchangeRate (32-billing-overview.md, API Surface,
2126
2126
  * Exchange rates). A manual rate for one day (UTC) of a pair the ECB does not publish: { rate, note }.
@@ -2129,7 +2129,7 @@ export declare class BillingExchangeRates {
2129
2129
  *
2130
2130
  * `PUT /v1/billing/exchange-rates/{from}/{to}/{date}` (ReplaceExchangeRate)
2131
2131
  */
2132
- replace(from: string, to: string, date: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2132
+ replace(from: string, to: string, date: string, body?: T.SetManualExchangeRateRequest, options?: RequestOptions): APIPromise<T.ExchangeRate>;
2133
2133
  }
2134
2134
  /**
2135
2135
  * The `billing.features` operations.
@@ -2143,19 +2143,19 @@ export declare class BillingFeatures {
2143
2143
  *
2144
2144
  * `POST /v1/billing/features/{feature}/archive` (ArchiveFeature)
2145
2145
  */
2146
- archive(feature: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2146
+ archive(feature: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.Feature>;
2147
2147
  /**
2148
2148
  * billing.catalog.v1.FeatureService/CreateFeature (34-billing-catalog.md, API Surface).
2149
2149
  *
2150
2150
  * `POST /v1/billing/features` (CreateFeature)
2151
2151
  */
2152
- create(body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2152
+ create(body?: T.CreateFeatureRequest, options?: RequestOptions): APIPromise<T.Feature>;
2153
2153
  /**
2154
2154
  * billing.catalog.v1.FeatureService/GetFeature (34-billing-catalog.md, API Surface).
2155
2155
  *
2156
2156
  * `GET /v1/billing/features/{feature}` (GetFeature)
2157
2157
  */
2158
- get(feature: string, options?: RequestOptions): APIPromise<T.BillingObject>;
2158
+ get(feature: string, options?: RequestOptions): APIPromise<T.Feature>;
2159
2159
  /**
2160
2160
  * billing.catalog.v1.FeatureService/ListFeatures (34-billing-catalog.md, API Surface).
2161
2161
  *
@@ -2163,13 +2163,13 @@ export declare class BillingFeatures {
2163
2163
  *
2164
2164
  * Await it for the first page, or iterate it with `for await` for every item across pages.
2165
2165
  */
2166
- list(params?: T.ListFeaturesParams, options?: RequestOptions): PagePromise<T.BillingObject, T.BillingList>;
2166
+ list(params?: T.ListFeaturesParams, options?: RequestOptions): PagePromise<T.Feature, T.FeatureList>;
2167
2167
  /**
2168
2168
  * billing.catalog.v1.FeatureService/UpdateFeature (34-billing-catalog.md, API Surface).
2169
2169
  *
2170
2170
  * `PATCH /v1/billing/features/{feature}` (UpdateFeature)
2171
2171
  */
2172
- update(feature: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2172
+ update(feature: string, body?: T.UpdateFeatureRequest, options?: RequestOptions): APIPromise<T.Feature>;
2173
2173
  }
2174
2174
  /**
2175
2175
  * The `billing.grants` operations.
@@ -2183,13 +2183,13 @@ export declare class BillingGrants {
2183
2183
  *
2184
2184
  * `POST /v1/billing/grants` (CreateGrant)
2185
2185
  */
2186
- create(body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2186
+ create(body?: T.CreateGrantRequest, options?: RequestOptions): APIPromise<T.Grant>;
2187
2187
  /**
2188
2188
  * billing.ledger.v1.GrantService/GetGrant (36-credits-ledger.md, API Surface).
2189
2189
  *
2190
2190
  * `GET /v1/billing/grants/{grant_id}` (GetGrant)
2191
2191
  */
2192
- get(grantId: string, options?: RequestOptions): APIPromise<T.BillingObject>;
2192
+ get(grantId: string, options?: RequestOptions): APIPromise<T.Grant>;
2193
2193
  /**
2194
2194
  * billing.ledger.v1.GrantService/ListGrants (36-credits-ledger.md, API Surface).
2195
2195
  *
@@ -2197,19 +2197,19 @@ export declare class BillingGrants {
2197
2197
  *
2198
2198
  * Await it for the first page, or iterate it with `for await` for every item across pages.
2199
2199
  */
2200
- list(params?: T.ListGrantsParams, options?: RequestOptions): PagePromise<T.BillingObject, T.BillingList>;
2200
+ list(params?: T.ListGrantsParams, options?: RequestOptions): PagePromise<T.Grant, T.GrantList>;
2201
2201
  /**
2202
2202
  * billing.ledger.v1.GrantService/UpdateGrant (36-credits-ledger.md, API Surface).
2203
2203
  *
2204
2204
  * `PATCH /v1/billing/grants/{grant_id}` (UpdateGrant)
2205
2205
  */
2206
- update(grantId: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2206
+ update(grantId: string, body?: T.UpdateGrantRequest, options?: RequestOptions): APIPromise<T.Grant>;
2207
2207
  /**
2208
2208
  * billing.ledger.v1.GrantService/VoidGrant (36-credits-ledger.md, API Surface).
2209
2209
  *
2210
2210
  * `POST /v1/billing/grants/{grant_id}/void` (VoidGrant)
2211
2211
  */
2212
- void(grantId: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<Record<string, unknown>>;
2212
+ void(grantId: string, body?: T.VoidGrantRequest, options?: RequestOptions): APIPromise<T.VoidGrantResponse>;
2213
2213
  }
2214
2214
  /**
2215
2215
  * The `billing.invoices` operations.
@@ -2223,19 +2223,19 @@ export declare class BillingInvoices {
2223
2223
  *
2224
2224
  * `POST /v1/billing/invoices` (CreateInvoice)
2225
2225
  */
2226
- create(body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2226
+ create(body?: T.CreateInvoiceRequest, options?: RequestOptions): APIPromise<T.Invoice>;
2227
2227
  /**
2228
2228
  * billing.invoice.v1.InvoiceService/FinalizeInvoice (37-invoicing.md, API Surface).
2229
2229
  *
2230
2230
  * `POST /v1/billing/invoices/{invoice_id}/finalize` (FinalizeInvoice)
2231
2231
  */
2232
- finalize(invoiceId: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2232
+ finalize(invoiceId: string, body?: T.FinalizeInvoiceRequest, options?: RequestOptions): APIPromise<T.Invoice>;
2233
2233
  /**
2234
2234
  * billing.invoice.v1.InvoiceService/GetInvoice (37-invoicing.md, API Surface).
2235
2235
  *
2236
2236
  * `GET /v1/billing/invoices/{invoice_id}` (GetInvoice)
2237
2237
  */
2238
- get(invoiceId: string, options?: RequestOptions): APIPromise<T.BillingObject>;
2238
+ get(invoiceId: string, options?: RequestOptions): APIPromise<T.Invoice>;
2239
2239
  /**
2240
2240
  * billing.invoice.v1.InvoiceService/GetInvoicePdf (37-invoicing.md, API Surface; The document). The
2241
2241
  * invoice's PDF as a download, not an envelope: Content-Type application/pdf and Content-Disposition
@@ -2251,7 +2251,7 @@ export declare class BillingInvoices {
2251
2251
  *
2252
2252
  * `GET /v1/billing/invoices/upcoming` (GetUpcomingInvoice)
2253
2253
  */
2254
- getUpcoming(params?: T.GetUpcomingInvoiceParams, options?: RequestOptions): APIPromise<T.BillingObject>;
2254
+ getUpcoming(params?: T.GetUpcomingInvoiceParams, options?: RequestOptions): APIPromise<T.Invoice>;
2255
2255
  /**
2256
2256
  * billing.invoice.v1.InvoiceService/GetInvoiceUsageCsv (37-invoicing.md, API Surface; The document).
2257
2257
  * One row per rated usage line (billing-svc docs/questions.md, X157), as a download, not an envelope:
@@ -2268,7 +2268,7 @@ export declare class BillingInvoices {
2268
2268
  *
2269
2269
  * Await it for the first page, or iterate it with `for await` for every item across pages.
2270
2270
  */
2271
- list(params?: T.ListInvoicesParams, options?: RequestOptions): PagePromise<T.BillingObject, T.BillingList>;
2271
+ list(params?: T.ListInvoicesParams, options?: RequestOptions): PagePromise<T.Invoice, T.InvoiceList>;
2272
2272
  /**
2273
2273
  * billing.invoice.v1.InvoiceService/ListInvoiceLines (37-invoicing.md, API Surface).
2274
2274
  *
@@ -2276,25 +2276,25 @@ export declare class BillingInvoices {
2276
2276
  *
2277
2277
  * Await it for the first page, or iterate it with `for await` for every item across pages.
2278
2278
  */
2279
- listLines(invoiceId: string, params?: T.ListInvoiceLinesParams, options?: RequestOptions): PagePromise<T.BillingObject, T.BillingList>;
2279
+ listLines(invoiceId: string, params?: T.ListInvoiceLinesParams, options?: RequestOptions): PagePromise<T.Line, T.LineList>;
2280
2280
  /**
2281
2281
  * billing.invoice.v1.InvoiceService/MarkInvoiceUncollectible (37-invoicing.md, API Surface).
2282
2282
  *
2283
2283
  * `POST /v1/billing/invoices/{invoice_id}/mark-uncollectible` (MarkInvoiceUncollectible)
2284
2284
  */
2285
- markUncollectible(invoiceId: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2285
+ markUncollectible(invoiceId: string, body?: T.MarkInvoiceUncollectibleRequest, options?: RequestOptions): APIPromise<T.Invoice>;
2286
2286
  /**
2287
2287
  * billing.invoice.v1.InvoiceService/PayInvoice (37-invoicing.md, API Surface).
2288
2288
  *
2289
2289
  * `POST /v1/billing/invoices/{invoice_id}/pay` (PayInvoice)
2290
2290
  */
2291
- pay(invoiceId: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2291
+ pay(invoiceId: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.Invoice>;
2292
2292
  /**
2293
2293
  * billing.invoice.v1.InvoiceService/RecomputeInvoice (37-invoicing.md, API Surface).
2294
2294
  *
2295
2295
  * `POST /v1/billing/invoices/{invoice_id}/recompute` (RecomputeInvoice)
2296
2296
  */
2297
- recompute(invoiceId: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2297
+ recompute(invoiceId: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.Invoice>;
2298
2298
  /**
2299
2299
  * billing.invoice.v1.InvoiceService/SendInvoice (37-invoicing.md, API Surface; Emails). Sends the
2300
2300
  * invoice issued email again, with its PDF, to the Customer's email as it is now, whatever the emails
@@ -2303,19 +2303,19 @@ export declare class BillingInvoices {
2303
2303
  *
2304
2304
  * `POST /v1/billing/invoices/{invoice_id}/send` (SendInvoice)
2305
2305
  */
2306
- send(invoiceId: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<Record<string, unknown>>;
2306
+ send(invoiceId: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.Invoice>;
2307
2307
  /**
2308
2308
  * billing.invoice.v1.InvoiceService/UpdateInvoice (37-invoicing.md, API Surface).
2309
2309
  *
2310
2310
  * `PATCH /v1/billing/invoices/{invoice_id}` (UpdateInvoice)
2311
2311
  */
2312
- update(invoiceId: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2312
+ update(invoiceId: string, body?: T.UpdateInvoiceRequest, options?: RequestOptions): APIPromise<T.Invoice>;
2313
2313
  /**
2314
2314
  * billing.invoice.v1.InvoiceService/VoidInvoice (37-invoicing.md, API Surface).
2315
2315
  *
2316
2316
  * `POST /v1/billing/invoices/{invoice_id}/void` (VoidInvoice)
2317
2317
  */
2318
- void(invoiceId: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2318
+ void(invoiceId: string, body?: T.VoidInvoiceRequest, options?: RequestOptions): APIPromise<T.Invoice>;
2319
2319
  }
2320
2320
  /**
2321
2321
  * The `billing.ledger` operations.
@@ -2329,19 +2329,19 @@ export declare class BillingLedger {
2329
2329
  *
2330
2330
  * `POST /v1/billing/customers/{customer_id}/ledger-adjustments` (CreateLedgerAdjustment)
2331
2331
  */
2332
- createAdjustment(customerId: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2332
+ createAdjustment(customerId: string, body?: T.CreateLedgerAdjustmentRequest, options?: RequestOptions): APIPromise<T.LedgerEntry>;
2333
2333
  /**
2334
2334
  * billing.ledger.v1.LedgerService/CreateTopUp (36-credits-ledger.md, API Surface).
2335
2335
  *
2336
2336
  * `POST /v1/billing/customers/{customer_id}/top-ups` (CreateTopUp)
2337
2337
  */
2338
- createTopUp(customerId: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<Record<string, unknown>>;
2338
+ createTopUp(customerId: string, body?: T.CreateTopUpRequest, options?: RequestOptions): APIPromise<T.CreateTopUpResponse>;
2339
2339
  /**
2340
2340
  * billing.ledger.v1.LedgerService/GetWallet (36-credits-ledger.md, API Surface).
2341
2341
  *
2342
2342
  * `GET /v1/billing/customers/{customer_id}/wallets/{unit}` (GetWallet)
2343
2343
  */
2344
- getWallet(customerId: string, unit: string, options?: RequestOptions): APIPromise<T.BillingObject>;
2344
+ getWallet(customerId: string, unit: string, options?: RequestOptions): APIPromise<T.Wallet>;
2345
2345
  /**
2346
2346
  * billing.ledger.v1.LedgerService/ListBalances (36-credits-ledger.md, API Surface).
2347
2347
  *
@@ -2349,7 +2349,7 @@ export declare class BillingLedger {
2349
2349
  *
2350
2350
  * Await it for the first page, or iterate it with `for await` for every item across pages.
2351
2351
  */
2352
- listBalances(customerId: string, params?: T.ListBalancesParams, options?: RequestOptions): PagePromise<T.BillingObject, T.BillingList>;
2352
+ listBalances(customerId: string, params?: T.ListBalancesParams, options?: RequestOptions): PagePromise<T.Balance, T.BalanceList>;
2353
2353
  /**
2354
2354
  * billing.ledger.v1.LedgerService/ListLedgerEntries (36-credits-ledger.md, API Surface).
2355
2355
  *
@@ -2357,7 +2357,7 @@ export declare class BillingLedger {
2357
2357
  *
2358
2358
  * Await it for the first page, or iterate it with `for await` for every item across pages.
2359
2359
  */
2360
- listEntries(params?: T.ListLedgerEntriesParams, options?: RequestOptions): PagePromise<T.BillingObject, T.BillingCursorList>;
2360
+ listEntries(params?: T.ListLedgerEntriesParams, options?: RequestOptions): PagePromise<T.LedgerEntry, T.LedgerEntryCursorList>;
2361
2361
  /**
2362
2362
  * billing.ledger.v1.LedgerService/RefundAccountCredit (36-credits-ledger.md, API Surface; Account
2363
2363
  * credit; 38-payments-and-tax.md, Refunds). Pays refundable account credit back to the provider
@@ -2369,13 +2369,13 @@ export declare class BillingLedger {
2369
2369
  *
2370
2370
  * `POST /v1/billing/customers/{customer_id}/account-credit/refund` (RefundAccountCredit)
2371
2371
  */
2372
- refundAccountCredit(customerId: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<Record<string, unknown>>;
2372
+ refundAccountCredit(customerId: string, body?: T.RefundAccountCreditRequest, options?: RequestOptions): APIPromise<T.LedgerEntry>;
2373
2373
  /**
2374
2374
  * billing.ledger.v1.LedgerService/UpdateWalletSettings (36-credits-ledger.md, API Surface).
2375
2375
  *
2376
2376
  * `PUT /v1/billing/customers/{customer_id}/wallets/{unit}` (ReplaceWalletSettings)
2377
2377
  */
2378
- replaceWalletSettings(customerId: string, unit: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2378
+ replaceWalletSettings(customerId: string, unit: string, body?: T.UpdateWalletSettingsRequest, options?: RequestOptions): APIPromise<T.WalletSettings>;
2379
2379
  }
2380
2380
  /**
2381
2381
  * The `billing.meters` operations.
@@ -2389,19 +2389,19 @@ export declare class BillingMeters {
2389
2389
  *
2390
2390
  * `POST /v1/billing/meters/{meter}/archive` (ArchiveMeter)
2391
2391
  */
2392
- archive(meter: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2392
+ archive(meter: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.Meter>;
2393
2393
  /**
2394
2394
  * billing.metering.v1.MeterService/CreateMeter (33-metering.md, API Surface).
2395
2395
  *
2396
2396
  * `POST /v1/billing/meters` (CreateMeter)
2397
2397
  */
2398
- create(body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2398
+ create(body?: T.CreateMeterRequest, options?: RequestOptions): APIPromise<T.Meter>;
2399
2399
  /**
2400
2400
  * billing.metering.v1.MeterService/GetMeter (33-metering.md, API Surface).
2401
2401
  *
2402
2402
  * `GET /v1/billing/meters/{meter}` (GetMeter)
2403
2403
  */
2404
- get(meter: string, options?: RequestOptions): APIPromise<T.BillingObject>;
2404
+ get(meter: string, options?: RequestOptions): APIPromise<T.Meter>;
2405
2405
  /**
2406
2406
  * billing.metering.v1.MeterService/ListMeters (33-metering.md, API Surface).
2407
2407
  *
@@ -2409,31 +2409,31 @@ export declare class BillingMeters {
2409
2409
  *
2410
2410
  * Await it for the first page, or iterate it with `for await` for every item across pages.
2411
2411
  */
2412
- list(params?: T.ListMetersParams, options?: RequestOptions): PagePromise<T.BillingObject, T.BillingList>;
2412
+ list(params?: T.ListMetersParams, options?: RequestOptions): PagePromise<T.Meter, T.MeterList>;
2413
2413
  /**
2414
2414
  * billing.metering.v1.MeterService/PreviewMeter (33-metering.md, API Surface).
2415
2415
  *
2416
2416
  * `POST /v1/billing/meters/preview` (PreviewMeter)
2417
2417
  */
2418
- preview(body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2418
+ preview(body?: T.PreviewMeterRequest, options?: RequestOptions): APIPromise<T.MeterPreview>;
2419
2419
  /**
2420
2420
  * billing.metering.v1.MeterService/ReplaceMeterDefinition (33-metering.md, API Surface).
2421
2421
  *
2422
2422
  * `PUT /v1/billing/meters/{meter}/definition` (ReplaceMeterDefinition)
2423
2423
  */
2424
- replaceDefinition(meter: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2424
+ replaceDefinition(meter: string, body?: T.ReplaceMeterDefinitionRequest, options?: RequestOptions): APIPromise<T.Meter>;
2425
2425
  /**
2426
2426
  * billing.metering.v1.MeterService/UnarchiveMeter (33-metering.md, API Surface).
2427
2427
  *
2428
2428
  * `POST /v1/billing/meters/{meter}/unarchive` (UnarchiveMeter)
2429
2429
  */
2430
- unarchive(meter: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2430
+ unarchive(meter: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.Meter>;
2431
2431
  /**
2432
2432
  * billing.metering.v1.MeterService/UpdateMeter (33-metering.md, API Surface).
2433
2433
  *
2434
2434
  * `PATCH /v1/billing/meters/{meter}` (UpdateMeter)
2435
2435
  */
2436
- update(meter: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2436
+ update(meter: string, body?: T.UpdateMeterRequest, options?: RequestOptions): APIPromise<T.Meter>;
2437
2437
  }
2438
2438
  /**
2439
2439
  * The `billing.packages` operations.
@@ -2447,25 +2447,25 @@ export declare class BillingPackages {
2447
2447
  *
2448
2448
  * `POST /v1/billing/packages/{package}/archive` (ArchivePackage)
2449
2449
  */
2450
- archive(package_: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2450
+ archive(package_: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.Package>;
2451
2451
  /**
2452
2452
  * billing.catalog.v1.PackageService/CreatePackage (34-billing-catalog.md, API Surface).
2453
2453
  *
2454
2454
  * `POST /v1/billing/packages` (CreatePackage)
2455
2455
  */
2456
- create(body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2456
+ create(body?: T.CreatePackageRequest, options?: RequestOptions): APIPromise<T.Package>;
2457
2457
  /**
2458
2458
  * billing.catalog.v1.PackageService/DiscardPackageDraft (34-billing-catalog.md, API Surface).
2459
2459
  *
2460
2460
  * `POST /v1/billing/packages/{package}/discard-draft` (DiscardPackageDraft)
2461
2461
  */
2462
- discardDraft(package_: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2462
+ discardDraft(package_: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.Package>;
2463
2463
  /**
2464
2464
  * billing.catalog.v1.PackageService/GetPackage (34-billing-catalog.md, API Surface).
2465
2465
  *
2466
2466
  * `GET /v1/billing/packages/{package}` (GetPackage)
2467
2467
  */
2468
- get(package_: string, params?: T.GetPackageParams, options?: RequestOptions): APIPromise<T.BillingObject>;
2468
+ get(package_: string, params?: T.GetPackageParams, options?: RequestOptions): APIPromise<T.Package>;
2469
2469
  /**
2470
2470
  * billing.catalog.v1.PackageService/ListPackages (34-billing-catalog.md, API Surface).
2471
2471
  *
@@ -2473,7 +2473,7 @@ export declare class BillingPackages {
2473
2473
  *
2474
2474
  * Await it for the first page, or iterate it with `for await` for every item across pages.
2475
2475
  */
2476
- list(params?: T.ListPackagesParams, options?: RequestOptions): PagePromise<T.BillingObject, T.BillingList>;
2476
+ list(params?: T.ListPackagesParams, options?: RequestOptions): PagePromise<T.Package, T.PackageList>;
2477
2477
  /**
2478
2478
  * billing.catalog.v1.PackageService/ListPackageVersions (34-billing-catalog.md, API Surface).
2479
2479
  *
@@ -2481,25 +2481,25 @@ export declare class BillingPackages {
2481
2481
  *
2482
2482
  * Await it for the first page, or iterate it with `for await` for every item across pages.
2483
2483
  */
2484
- listVersions(package_: string, params?: T.ListPackageVersionsParams, options?: RequestOptions): PagePromise<T.BillingObject, T.BillingList>;
2484
+ listVersions(package_: string, params?: T.ListPackageVersionsParams, options?: RequestOptions): PagePromise<T.Package, T.PackageList>;
2485
2485
  /**
2486
2486
  * billing.catalog.v1.PackageService/PublishPackage (34-billing-catalog.md, API Surface).
2487
2487
  *
2488
2488
  * `POST /v1/billing/packages/{package}/publish` (PublishPackage)
2489
2489
  */
2490
- publish(package_: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2490
+ publish(package_: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.Package>;
2491
2491
  /**
2492
2492
  * billing.catalog.v1.PackageService/UnarchivePackage (34-billing-catalog.md, API Surface).
2493
2493
  *
2494
2494
  * `POST /v1/billing/packages/{package}/unarchive` (UnarchivePackage)
2495
2495
  */
2496
- unarchive(package_: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2496
+ unarchive(package_: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.Package>;
2497
2497
  /**
2498
2498
  * billing.catalog.v1.PackageService/UpdatePackage (34-billing-catalog.md, API Surface).
2499
2499
  *
2500
2500
  * `PATCH /v1/billing/packages/{package}` (UpdatePackage)
2501
2501
  */
2502
- update(package_: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2502
+ update(package_: string, body?: T.UpdatePackageRequest, options?: RequestOptions): APIPromise<T.Package>;
2503
2503
  }
2504
2504
  /**
2505
2505
  * The `billing.paymentConnections` operations.
@@ -2514,7 +2514,7 @@ export declare class BillingPaymentConnections {
2514
2514
  *
2515
2515
  * `POST /v1/billing/payment-connections` (CreatePaymentConnection)
2516
2516
  */
2517
- create(body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2517
+ create(body?: T.CreatePaymentConnectionRequest, options?: RequestOptions): APIPromise<T.PaymentConnection>;
2518
2518
  /**
2519
2519
  * billing.payment.v1.PaymentConnectionService/GetPaymentConnection (32-billing-overview.md, API
2520
2520
  * Surface, Payment connections). tax is the connected account's Stripe Tax read, read-only and null
@@ -2524,7 +2524,7 @@ export declare class BillingPaymentConnections {
2524
2524
  *
2525
2525
  * `GET /v1/billing/payment-connections/{payment_connection_id}` (GetPaymentConnection)
2526
2526
  */
2527
- get(paymentConnectionId: string, options?: RequestOptions): APIPromise<T.BillingObject>;
2527
+ get(paymentConnectionId: string, options?: RequestOptions): APIPromise<T.PaymentConnection>;
2528
2528
  /**
2529
2529
  * billing.payment.v1.PaymentConnectionService/ListPaymentConnections (32-billing-overview.md, API
2530
2530
  * Surface, Payment connections).
@@ -2533,7 +2533,7 @@ export declare class BillingPaymentConnections {
2533
2533
  *
2534
2534
  * Await it for the first page, or iterate it with `for await` for every item across pages.
2535
2535
  */
2536
- list(params?: T.ListPaymentConnectionsParams, options?: RequestOptions): PagePromise<T.BillingObject, T.BillingList>;
2536
+ list(params?: T.ListPaymentConnectionsParams, options?: RequestOptions): PagePromise<T.PaymentConnection, T.PaymentConnectionList>;
2537
2537
  /**
2538
2538
  * billing.payment.v1.PaymentConnectionService/RefreshPaymentConnection (32-billing-overview.md, API
2539
2539
  * Surface, Payment connections). tax is the connected account's Stripe Tax read, read-only and null
@@ -2543,7 +2543,7 @@ export declare class BillingPaymentConnections {
2543
2543
  *
2544
2544
  * `POST /v1/billing/payment-connections/{payment_connection_id}/refresh` (RefreshPaymentConnection)
2545
2545
  */
2546
- refresh(paymentConnectionId: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2546
+ refresh(paymentConnectionId: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.PaymentConnection>;
2547
2547
  /**
2548
2548
  * billing.payment.v1.PaymentConnectionService/RevokePaymentConnection (32-billing-overview.md, API
2549
2549
  * Surface, Payment connections). Revokes Pontive's access on the provider; the connection stays,
@@ -2551,7 +2551,7 @@ export declare class BillingPaymentConnections {
2551
2551
  *
2552
2552
  * `POST /v1/billing/payment-connections/{payment_connection_id}/revoke` (RevokePaymentConnection)
2553
2553
  */
2554
- revoke(paymentConnectionId: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2554
+ revoke(paymentConnectionId: string, options?: RequestOptions): APIPromise<T.PaymentConnection>;
2555
2555
  }
2556
2556
  /**
2557
2557
  * The `billing.paymentMethods` operations.
@@ -2566,7 +2566,7 @@ export declare class BillingPaymentMethods {
2566
2566
  *
2567
2567
  * `POST /v1/billing/customers/{customer_id}/payment-method-session` (CreatePaymentMethodSession)
2568
2568
  */
2569
- createSession(customerId: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2569
+ createSession(customerId: string, body?: T.CreatePaymentMethodSessionRequest, options?: RequestOptions): APIPromise<T.PaymentMethodSession>;
2570
2570
  /**
2571
2571
  * billing.payment.v1.PaymentMethodService/DetachPaymentMethod (38-payments-and-tax.md, API Surface,
2572
2572
  * Payment methods). A warning payment_method_required comes back when it was the last reusable method
@@ -2575,7 +2575,7 @@ export declare class BillingPaymentMethods {
2575
2575
  * `DELETE /v1/billing/customers/{customer_id}/payment-methods/{payment_method_id}`
2576
2576
  * (DeleteCustomerPaymentMethod)
2577
2577
  */
2578
- delete(customerId: string, paymentMethodId: string, options?: RequestOptions): APIPromise<Record<string, unknown>>;
2578
+ delete(customerId: string, paymentMethodId: string, options?: RequestOptions): APIPromise<T.DetachPaymentMethodResponse>;
2579
2579
  /**
2580
2580
  * billing.payment.v1.PaymentMethodService/ListPaymentMethods (38-payments-and-tax.md, API Surface,
2581
2581
  * Payment methods).
@@ -2584,7 +2584,7 @@ export declare class BillingPaymentMethods {
2584
2584
  *
2585
2585
  * Await it for the first page, or iterate it with `for await` for every item across pages.
2586
2586
  */
2587
- list(customerId: string, params?: T.ListPaymentMethodsParams, options?: RequestOptions): PagePromise<T.BillingObject, T.BillingList>;
2587
+ list(customerId: string, params?: T.ListPaymentMethodsParams, options?: RequestOptions): PagePromise<T.PaymentMethod, T.PaymentMethodList>;
2588
2588
  }
2589
2589
  /**
2590
2590
  * The `billing.payments` operations.
@@ -2602,13 +2602,13 @@ export declare class BillingPayments {
2602
2602
  *
2603
2603
  * `POST /v1/billing/payments` (CreatePayment)
2604
2604
  */
2605
- create(body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2605
+ create(body?: T.RecordExternalPaymentRequest, options?: RequestOptions): APIPromise<T.Payment>;
2606
2606
  /**
2607
2607
  * billing.payment.v1.PaymentService/GetPayment (38-payments-and-tax.md, API Surface, Payments).
2608
2608
  *
2609
2609
  * `GET /v1/billing/payments/{payment_id}` (GetPayment)
2610
2610
  */
2611
- get(paymentId: string, options?: RequestOptions): APIPromise<T.BillingObject>;
2611
+ get(paymentId: string, options?: RequestOptions): APIPromise<T.Payment>;
2612
2612
  /**
2613
2613
  * billing.payment.v1.PaymentService/ListPayments (38-payments-and-tax.md, API Surface, Payments).
2614
2614
  *
@@ -2616,7 +2616,7 @@ export declare class BillingPayments {
2616
2616
  *
2617
2617
  * Await it for the first page, or iterate it with `for await` for every item across pages.
2618
2618
  */
2619
- list(params?: T.ListPaymentsParams, options?: RequestOptions): PagePromise<T.BillingObject, T.BillingList>;
2619
+ list(params?: T.ListPaymentsParams, options?: RequestOptions): PagePromise<T.Payment, T.PaymentList>;
2620
2620
  }
2621
2621
  /**
2622
2622
  * The `billing.pricingUnits` operations.
@@ -2630,19 +2630,19 @@ export declare class BillingPricingUnits {
2630
2630
  *
2631
2631
  * `POST /v1/billing/pricing-units/{pricing_unit}/archive` (ArchivePricingUnit)
2632
2632
  */
2633
- archive(pricingUnit: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2633
+ archive(pricingUnit: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.PricingUnit>;
2634
2634
  /**
2635
2635
  * billing.catalog.v1.PricingUnitService/CreatePricingUnit (34-billing-catalog.md, API Surface).
2636
2636
  *
2637
2637
  * `POST /v1/billing/pricing-units` (CreatePricingUnit)
2638
2638
  */
2639
- create(body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2639
+ create(body?: T.CreatePricingUnitRequest, options?: RequestOptions): APIPromise<T.PricingUnit>;
2640
2640
  /**
2641
2641
  * billing.catalog.v1.PricingUnitService/GetPricingUnit (34-billing-catalog.md, API Surface).
2642
2642
  *
2643
2643
  * `GET /v1/billing/pricing-units/{pricing_unit}` (GetPricingUnit)
2644
2644
  */
2645
- get(pricingUnit: string, options?: RequestOptions): APIPromise<T.BillingObject>;
2645
+ get(pricingUnit: string, options?: RequestOptions): APIPromise<T.PricingUnit>;
2646
2646
  /**
2647
2647
  * billing.catalog.v1.PricingUnitService/ListPricingUnits (34-billing-catalog.md, API Surface).
2648
2648
  *
@@ -2650,13 +2650,13 @@ export declare class BillingPricingUnits {
2650
2650
  *
2651
2651
  * Await it for the first page, or iterate it with `for await` for every item across pages.
2652
2652
  */
2653
- list(params?: T.ListPricingUnitsParams, options?: RequestOptions): PagePromise<T.BillingObject, T.BillingList>;
2653
+ list(params?: T.ListPricingUnitsParams, options?: RequestOptions): PagePromise<T.PricingUnit, T.PricingUnitList>;
2654
2654
  /**
2655
2655
  * billing.catalog.v1.PricingUnitService/UpdatePricingUnit (34-billing-catalog.md, API Surface).
2656
2656
  *
2657
2657
  * `PATCH /v1/billing/pricing-units/{pricing_unit}` (UpdatePricingUnit)
2658
2658
  */
2659
- update(pricingUnit: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2659
+ update(pricingUnit: string, body?: T.UpdatePricingUnitRequest, options?: RequestOptions): APIPromise<T.PricingUnit>;
2660
2660
  }
2661
2661
  /**
2662
2662
  * The `billing.products` operations.
@@ -2670,19 +2670,19 @@ export declare class BillingProducts {
2670
2670
  *
2671
2671
  * `POST /v1/billing/products/{product}/archive` (ArchiveProduct)
2672
2672
  */
2673
- archive(product: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2673
+ archive(product: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.Product>;
2674
2674
  /**
2675
2675
  * billing.catalog.v1.ProductService/CreateProduct (34-billing-catalog.md, API Surface).
2676
2676
  *
2677
2677
  * `POST /v1/billing/products` (CreateProduct)
2678
2678
  */
2679
- create(body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2679
+ create(body?: T.CreateProductRequest, options?: RequestOptions): APIPromise<T.Product>;
2680
2680
  /**
2681
2681
  * billing.catalog.v1.ProductService/GetProduct (34-billing-catalog.md, API Surface).
2682
2682
  *
2683
2683
  * `GET /v1/billing/products/{product}` (GetProduct)
2684
2684
  */
2685
- get(product: string, options?: RequestOptions): APIPromise<T.BillingObject>;
2685
+ get(product: string, options?: RequestOptions): APIPromise<T.Product>;
2686
2686
  /**
2687
2687
  * billing.catalog.v1.ProductService/ListProducts (34-billing-catalog.md, API Surface).
2688
2688
  *
@@ -2690,19 +2690,19 @@ export declare class BillingProducts {
2690
2690
  *
2691
2691
  * Await it for the first page, or iterate it with `for await` for every item across pages.
2692
2692
  */
2693
- list(params?: T.ListProductsParams, options?: RequestOptions): PagePromise<T.BillingObject, T.BillingList>;
2693
+ list(params?: T.ListProductsParams, options?: RequestOptions): PagePromise<T.Product, T.ProductList>;
2694
2694
  /**
2695
2695
  * billing.catalog.v1.ProductService/UnarchiveProduct (34-billing-catalog.md, API Surface).
2696
2696
  *
2697
2697
  * `POST /v1/billing/products/{product}/unarchive` (UnarchiveProduct)
2698
2698
  */
2699
- unarchive(product: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2699
+ unarchive(product: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.Product>;
2700
2700
  /**
2701
2701
  * billing.catalog.v1.ProductService/UpdateProduct (34-billing-catalog.md, API Surface).
2702
2702
  *
2703
2703
  * `PATCH /v1/billing/products/{product}` (UpdateProduct)
2704
2704
  */
2705
- update(product: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2705
+ update(product: string, body?: T.UpdateProductRequest, options?: RequestOptions): APIPromise<T.Product>;
2706
2706
  }
2707
2707
  /**
2708
2708
  * The `billing.rateCards` operations.
@@ -2716,19 +2716,19 @@ export declare class BillingRateCards {
2716
2716
  *
2717
2717
  * `POST /v1/billing/rate-cards/{rate_card}/archive` (ArchiveRateCard)
2718
2718
  */
2719
- archive(rateCard: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2719
+ archive(rateCard: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.RateCard>;
2720
2720
  /**
2721
2721
  * billing.catalog.v1.RateCardService/CreateRateCard (34-billing-catalog.md, API Surface).
2722
2722
  *
2723
2723
  * `POST /v1/billing/rate-cards` (CreateRateCard)
2724
2724
  */
2725
- create(body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2725
+ create(body?: T.CreateRateCardRequest, options?: RequestOptions): APIPromise<T.RateCard>;
2726
2726
  /**
2727
2727
  * billing.catalog.v1.RateCardService/CreateRates (34-billing-catalog.md, API Surface).
2728
2728
  *
2729
2729
  * `POST /v1/billing/rate-cards/{rate_card}/rates` (CreateRates)
2730
2730
  */
2731
- createRates(rateCard: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingList>;
2731
+ createRates(rateCard: string, body?: T.CreateRatesRequest, options?: RequestOptions): APIPromise<T.RateUnpagedList>;
2732
2732
  /**
2733
2733
  * billing.catalog.v1.RateCardService/DeleteRate (34-billing-catalog.md, API Surface).
2734
2734
  *
@@ -2740,7 +2740,7 @@ export declare class BillingRateCards {
2740
2740
  *
2741
2741
  * `GET /v1/billing/rate-cards/{rate_card}` (GetRateCard)
2742
2742
  */
2743
- get(rateCard: string, options?: RequestOptions): APIPromise<T.BillingObject>;
2743
+ get(rateCard: string, options?: RequestOptions): APIPromise<T.RateCard>;
2744
2744
  /**
2745
2745
  * billing.catalog.v1.RateCardService/ListRateCards (34-billing-catalog.md, API Surface).
2746
2746
  *
@@ -2748,39 +2748,39 @@ export declare class BillingRateCards {
2748
2748
  *
2749
2749
  * Await it for the first page, or iterate it with `for await` for every item across pages.
2750
2750
  */
2751
- list(params?: T.ListRateCardsParams, options?: RequestOptions): PagePromise<T.BillingObject, T.BillingList>;
2751
+ list(params?: T.ListRateCardsParams, options?: RequestOptions): PagePromise<T.RateCard, T.RateCardList>;
2752
2752
  /**
2753
2753
  * billing.catalog.v1.RateCardService/ReplaceConversions (34-billing-catalog.md, API Surface).
2754
2754
  *
2755
2755
  * `PUT /v1/billing/rate-cards/{rate_card}/conversions` (ReplaceConversions)
2756
2756
  */
2757
- replaceConversions(rateCard: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2757
+ replaceConversions(rateCard: string, body?: T.ReplaceConversionsRequest, options?: RequestOptions): APIPromise<T.RateCard>;
2758
2758
  /**
2759
2759
  * billing.catalog.v1.RateCardService/GetRateCardPrice (34-billing-catalog.md, API Surface). The RPC
2760
2760
  * writes nothing and takes no idempotency key, so X-Idempotency-Key is not read.
2761
2761
  *
2762
2762
  * `POST /v1/billing/rate-cards/{rate_card}/price/search` (SearchRateCardPrices)
2763
2763
  */
2764
- searchPrices(rateCard: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2764
+ searchPrices(rateCard: string, body?: T.GetRateCardPriceRequest, options?: RequestOptions): APIPromise<T.PriceQuote>;
2765
2765
  /**
2766
2766
  * billing.catalog.v1.RateCardService/ListRates (34-billing-catalog.md, API Surface). The RPC writes
2767
2767
  * nothing and takes no idempotency key, so X-Idempotency-Key is not read.
2768
2768
  *
2769
2769
  * `POST /v1/billing/rate-cards/{rate_card}/rates/search` (SearchRates)
2770
2770
  */
2771
- searchRates(rateCard: string, body?: Record<string, unknown>, params?: T.SearchRatesParams, options?: RequestOptions): APIPromise<T.BillingList>;
2771
+ searchRates(rateCard: string, body?: T.ListRatesRequest, params?: T.SearchRatesParams, options?: RequestOptions): APIPromise<T.RateList>;
2772
2772
  /**
2773
2773
  * billing.catalog.v1.RateCardService/UpdateRateCard (34-billing-catalog.md, API Surface).
2774
2774
  *
2775
2775
  * `PATCH /v1/billing/rate-cards/{rate_card}` (UpdateRateCard)
2776
2776
  */
2777
- update(rateCard: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2777
+ update(rateCard: string, body?: T.UpdateRateCardRequest, options?: RequestOptions): APIPromise<T.RateCard>;
2778
2778
  /**
2779
2779
  * billing.catalog.v1.RateCardService/UpdateRate (34-billing-catalog.md, API Surface).
2780
2780
  *
2781
2781
  * `PATCH /v1/billing/rate-cards/{rate_card}/rates/{rate_id}` (UpdateRate)
2782
2782
  */
2783
- updateRate(rateCard: string, rateId: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2783
+ updateRate(rateCard: string, rateId: string, body?: T.UpdateRateRequest, options?: RequestOptions): APIPromise<T.Rate>;
2784
2784
  }
2785
2785
  /**
2786
2786
  * The `billing.refunds` operations.
@@ -2799,14 +2799,14 @@ export declare class BillingRefunds {
2799
2799
  *
2800
2800
  * `POST /v1/billing/refunds` (CreateRefund)
2801
2801
  */
2802
- create(body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2802
+ create(body?: T.RefundPaymentRequest, options?: RequestOptions): APIPromise<T.Refund>;
2803
2803
  /**
2804
2804
  * billing.payment.v1.RefundService/GetRefund (38-payments-and-tax.md, API Surface, Refunds and
2805
2805
  * disputes).
2806
2806
  *
2807
2807
  * `GET /v1/billing/refunds/{refund_id}` (GetRefund)
2808
2808
  */
2809
- get(refundId: string, options?: RequestOptions): APIPromise<T.BillingObject>;
2809
+ get(refundId: string, options?: RequestOptions): APIPromise<T.Refund>;
2810
2810
  /**
2811
2811
  * billing.payment.v1.RefundService/ListRefunds (38-payments-and-tax.md, API Surface, Refunds and
2812
2812
  * disputes). Newest first.
@@ -2815,7 +2815,7 @@ export declare class BillingRefunds {
2815
2815
  *
2816
2816
  * Await it for the first page, or iterate it with `for await` for every item across pages.
2817
2817
  */
2818
- list(params?: T.ListRefundsParams, options?: RequestOptions): PagePromise<T.BillingObject, T.BillingList>;
2818
+ list(params?: T.ListRefundsParams, options?: RequestOptions): PagePromise<T.Refund, T.RefundList>;
2819
2819
  }
2820
2820
  /**
2821
2821
  * The `billing.settings` operations.
@@ -2829,7 +2829,7 @@ export declare class BillingSettings {
2829
2829
  *
2830
2830
  * `GET /v1/billing/settings` (GetBillingSettings)
2831
2831
  */
2832
- get(options?: RequestOptions): APIPromise<T.BillingObject>;
2832
+ get(options?: RequestOptions): APIPromise<T.BillingSettings>;
2833
2833
  /**
2834
2834
  * billing.customer.v1.BillingSettingsService/UpdateBillingSettings (32-billing-overview.md, API
2835
2835
  * Surface; 38-payments-and-tax.md, Tax settings). A field left out keeps its value. limits is
@@ -2841,7 +2841,7 @@ export declare class BillingSettings {
2841
2841
  *
2842
2842
  * `PATCH /v1/billing/settings` (UpdateBillingSettings)
2843
2843
  */
2844
- update(body?: Record<string, unknown>, params?: T.UpdateBillingSettingsParams, options?: RequestOptions): APIPromise<T.BillingObject>;
2844
+ update(body?: T.UpdateBillingSettingsRequest, params?: T.UpdateBillingSettingsParams, options?: RequestOptions): APIPromise<T.BillingSettings>;
2845
2845
  /**
2846
2846
  * billing.customer.v1.BillingSettingsService/UpdateBillingLimits (32-billing-overview.md, API Surface,
2847
2847
  * Billing settings; Billing settings, limits; billing-svc docs/questions.md, P99). Pontive's own
@@ -2853,7 +2853,7 @@ export declare class BillingSettings {
2853
2853
  *
2854
2854
  * `PATCH /v1/billing/settings/limits` (UpdateBillingLimits)
2855
2855
  */
2856
- updateLimits(body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2856
+ updateLimits(body?: T.UpdateBillingLimitsRequest, options?: RequestOptions): APIPromise<T.BillingSettings>;
2857
2857
  }
2858
2858
  /**
2859
2859
  * The `billing.subjectStates` operations.
@@ -2876,7 +2876,7 @@ export declare class BillingSubjectStates {
2876
2876
  *
2877
2877
  * `GET /v1/billing/subject-state` (GetSubjectState)
2878
2878
  */
2879
- get(params: T.GetSubjectStateParams, options?: RequestOptions): APIPromise<T.BillingObject>;
2879
+ get(params: T.GetSubjectStateParams, options?: RequestOptions): APIPromise<T.SubjectState>;
2880
2880
  }
2881
2881
  /**
2882
2882
  * The `billing.tax` operations.
@@ -2894,7 +2894,7 @@ export declare class BillingTax {
2894
2894
  *
2895
2895
  * `POST /v1/billing/tax/preview` (PreviewTax)
2896
2896
  */
2897
- preview(body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2897
+ preview(body?: T.PreviewTaxRequest, options?: RequestOptions): APIPromise<T.TaxPreview>;
2898
2898
  }
2899
2899
  /**
2900
2900
  * The `billing.timeMachines` operations.
@@ -2908,32 +2908,32 @@ export declare class BillingTimeMachines {
2908
2908
  *
2909
2909
  * `POST /v1/billing/time-machines/{time_machine_id}/advance` (AdvanceTimeMachine)
2910
2910
  */
2911
- advance(timeMachineId: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2911
+ advance(timeMachineId: string, body?: T.AdvanceTimeMachineRequest, options?: RequestOptions): APIPromise<T.TimeMachine>;
2912
2912
  /**
2913
2913
  * billing.timemachine.v1.TimeMachineService/CreateTimeMachine (32-billing-overview.md, API Surface).
2914
2914
  *
2915
2915
  * `POST /v1/billing/time-machines` (CreateTimeMachine)
2916
2916
  */
2917
- create(body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2917
+ create(body?: T.CreateTimeMachineRequest, options?: RequestOptions): APIPromise<T.TimeMachine>;
2918
2918
  /**
2919
2919
  * billing.timemachine.v1.TimeMachineService/AddTimeMachineCustomer (32-billing-overview.md, API
2920
2920
  * Surface).
2921
2921
  *
2922
2922
  * `POST /v1/billing/time-machines/{time_machine_id}/customers` (CreateTimeMachineCustomer)
2923
2923
  */
2924
- createCustomer(timeMachineId: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2924
+ createCustomer(timeMachineId: string, body?: T.AddTimeMachineCustomerRequest, options?: RequestOptions): APIPromise<T.TimeMachine>;
2925
2925
  /**
2926
2926
  * billing.timemachine.v1.TimeMachineService/EndTimeMachine (32-billing-overview.md, API Surface).
2927
2927
  *
2928
2928
  * `POST /v1/billing/time-machines/{time_machine_id}/end` (EndTimeMachine)
2929
2929
  */
2930
- end(timeMachineId: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2930
+ end(timeMachineId: string, body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.TimeMachine>;
2931
2931
  /**
2932
2932
  * billing.timemachine.v1.TimeMachineService/GetTimeMachine (32-billing-overview.md, API Surface).
2933
2933
  *
2934
2934
  * `GET /v1/billing/time-machines/{time_machine_id}` (GetTimeMachine)
2935
2935
  */
2936
- get(timeMachineId: string, options?: RequestOptions): APIPromise<T.BillingObject>;
2936
+ get(timeMachineId: string, options?: RequestOptions): APIPromise<T.TimeMachine>;
2937
2937
  /**
2938
2938
  * billing.timemachine.v1.TimeMachineService/ListTimeMachines (32-billing-overview.md, API Surface).
2939
2939
  *
@@ -2941,7 +2941,7 @@ export declare class BillingTimeMachines {
2941
2941
  *
2942
2942
  * Await it for the first page, or iterate it with `for await` for every item across pages.
2943
2943
  */
2944
- list(params?: T.ListTimeMachinesParams, options?: RequestOptions): PagePromise<T.BillingObject, T.BillingList>;
2944
+ list(params?: T.ListTimeMachinesParams, options?: RequestOptions): PagePromise<T.TimeMachine, T.TimeMachineList>;
2945
2945
  }
2946
2946
  /**
2947
2947
  * The `billing.usage` operations.
@@ -2959,7 +2959,7 @@ export declare class BillingUsage {
2959
2959
  *
2960
2960
  * `POST /v1/usage/events` (CreateUsageEvents)
2961
2961
  */
2962
- createEvents(body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2962
+ createEvents(body: T.SentUsageEventInput[], options?: RequestOptions): APIPromise<T.IngestResult>;
2963
2963
  /**
2964
2964
  * billing.metering.v1.UsageService/GetUsageDiagnostics (33-metering.md, API Surface, Usage). Counts
2965
2965
  * per meter: missing_property, non_numeric, missing_group_keys, late_duplicates, and not_entitled, the
@@ -2968,13 +2968,13 @@ export declare class BillingUsage {
2968
2968
  *
2969
2969
  * `GET /v1/billing/usage/diagnostics` (GetUsageDiagnostics)
2970
2970
  */
2971
- getDiagnostics(params: T.GetUsageDiagnosticsParams, options?: RequestOptions): APIPromise<T.BillingObject>;
2971
+ getDiagnostics(params: T.GetUsageDiagnosticsParams, options?: RequestOptions): APIPromise<T.UsageDiagnostics>;
2972
2972
  /**
2973
2973
  * billing.metering.v1.UsageService/GetLateUsage (33-metering.md, API Surface).
2974
2974
  *
2975
2975
  * `GET /v1/billing/usage/late` (GetLateUsage)
2976
2976
  */
2977
- getLate(params?: T.GetLateUsageParams, options?: RequestOptions): APIPromise<T.BillingObject>;
2977
+ getLate(params?: T.GetLateUsageParams, options?: RequestOptions): APIPromise<T.LateUsage>;
2978
2978
  /**
2979
2979
  * billing.metering.v1.UsageService/ListUsageEvents (33-metering.md, API Surface).
2980
2980
  *
@@ -2982,20 +2982,20 @@ export declare class BillingUsage {
2982
2982
  *
2983
2983
  * Await it for the first page, or iterate it with `for await` for every item across pages.
2984
2984
  */
2985
- listEvents(params?: T.ListUsageEventsParams, options?: RequestOptions): PagePromise<T.BillingObject, T.BillingCursorList>;
2985
+ listEvents(params?: T.ListUsageEventsParams, options?: RequestOptions): PagePromise<T.UsageEvent, T.UsageEventCursorList>;
2986
2986
  /**
2987
2987
  * billing.metering.v1.UsageService/GetUsage (33-metering.md, API Surface). The RPC writes nothing and
2988
2988
  * takes no idempotency key, so X-Idempotency-Key is not read.
2989
2989
  *
2990
2990
  * `POST /v1/billing/usage/search` (SearchUsage)
2991
2991
  */
2992
- search(body?: Record<string, unknown>, options?: RequestOptions): APIPromise<T.BillingObject>;
2992
+ search(body?: T.GetUsageRequest, options?: RequestOptions): APIPromise<T.UsageSeries>;
2993
2993
  /**
2994
2994
  * billing.metering.v1.UsageService/VoidUsageEvents (33-metering.md, API Surface).
2995
2995
  *
2996
2996
  * `POST /v1/usage/events/void` (VoidUsageEvents)
2997
2997
  */
2998
- voidEvents(body?: Record<string, unknown>, options?: RequestOptions): APIPromise<Record<string, unknown>>;
2998
+ voidEvents(body?: T.VoidUsageEventsRequest, options?: RequestOptions): APIPromise<T.VoidUsageEventsResponse>;
2999
2999
  }
3000
3000
  /**
3001
3001
  * The brand: its document, blueprints, localization and widgets.
@@ -3124,7 +3124,7 @@ export declare class CapabilitiesBilling {
3124
3124
  *
3125
3125
  * `POST /v1/capabilities/billing/disable` (DisableBillingCapability)
3126
3126
  */
3127
- disable(body?: Record<string, unknown>, options?: RequestOptions): APIPromise<Record<string, unknown>>;
3127
+ disable(options?: RequestOptions): APIPromise<T.DisableBillingCapabilityResponse>;
3128
3128
  /**
3129
3129
  * billing.customer.v1.CapabilityService/EnableBillingCapability (32-billing-overview.md, API Surface,
3130
3130
  * Capability; 02b-instance-management.md, Capability toggle). Needs instance:manage. Answers the
@@ -3132,7 +3132,7 @@ export declare class CapabilitiesBilling {
3132
3132
  *
3133
3133
  * `POST /v1/capabilities/billing/enable` (EnableBillingCapability)
3134
3134
  */
3135
- enable(body?: Record<string, unknown>, options?: RequestOptions): APIPromise<Record<string, unknown>>;
3135
+ enable(options?: RequestOptions): APIPromise<T.EnableBillingCapabilityResponse>;
3136
3136
  }
3137
3137
  /**
3138
3138
  * The `capabilities.fga` operations.
@@ -3482,7 +3482,7 @@ export declare class MeBilling {
3482
3482
  *
3483
3483
  * `POST /v1/me/billing/contracts/{contract_id}/cancel` (CancelMyContract)
3484
3484
  */
3485
- cancelContract(contractId: string, body?: Record<string, unknown>, params?: T.CancelMyContractParams, options?: RequestOptions): APIPromise<T.BillingObject>;
3485
+ cancelContract(contractId: string, body?: T.CancelMyContractRequest, params?: T.CancelMyContractParams, options?: RequestOptions): APIPromise<T.MyContract>;
3486
3486
  /**
3487
3487
  * billing.contract.v1.MeContractService/ChangeMyContract (35-contracts.md, End-customer portal and API
3488
3488
  * Surface). The body is the preview's, with its preview_hash; preview_stale when the preview changed.
@@ -3491,7 +3491,7 @@ export declare class MeBilling {
3491
3491
  *
3492
3492
  * `POST /v1/me/billing/contracts/{contract_id}/change-package` (ChangeMyContractPackage)
3493
3493
  */
3494
- changeContractPackage(contractId: string, body?: Record<string, unknown>, params?: T.ChangeMyContractPackageParams, options?: RequestOptions): APIPromise<T.BillingObject>;
3494
+ changeContractPackage(contractId: string, body?: T.ChangeMyContractRequest, params?: T.ChangeMyContractPackageParams, options?: RequestOptions): APIPromise<T.MyContract>;
3495
3495
  /**
3496
3496
  * billing.entitlement.v1.MeEntitlementService/CheckMyEntitlement (39-entitlements-and-controls.md, API
3497
3497
  * Surface). The body is { feature, quantity? }. Under pontive:billing:read
@@ -3501,7 +3501,7 @@ export declare class MeBilling {
3501
3501
  *
3502
3502
  * `POST /v1/me/entitlements/check` (CheckMyEntitlement)
3503
3503
  */
3504
- checkEntitlement(body?: Record<string, unknown>, params?: T.CheckMyEntitlementParams, options?: RequestOptions): APIPromise<T.BillingObject>;
3504
+ checkEntitlement(body?: T.CheckMyEntitlementRequest, params?: T.CheckMyEntitlementParams, options?: RequestOptions): APIPromise<T.CheckMyEntitlementResponse>;
3505
3505
  /**
3506
3506
  * billing.contract.v1.MeContractService/ConfirmMyCheckoutSession (35-contracts.md, End-customer portal
3507
3507
  * and API Surface). The body is { package, billing_frequency, billing_address?, tax_id?,
@@ -3512,7 +3512,7 @@ export declare class MeBilling {
3512
3512
  *
3513
3513
  * `POST /v1/me/billing/checkout-sessions/{checkout_session_id}/confirm` (ConfirmMyCheckoutSession)
3514
3514
  */
3515
- confirmCheckoutSession(checkoutSessionId: string, body?: Record<string, unknown>, params?: T.ConfirmMyCheckoutSessionParams, options?: RequestOptions): APIPromise<Record<string, unknown>>;
3515
+ confirmCheckoutSession(checkoutSessionId: string, body?: T.ConfirmMyCheckoutSessionRequest, params?: T.ConfirmMyCheckoutSessionParams, options?: RequestOptions): APIPromise<T.ConfirmMyCheckoutSessionResponse>;
3516
3516
  /**
3517
3517
  * billing.contract.v1.MeContractService/CreateMyCheckoutSession (35-contracts.md, End-customer portal
3518
3518
  * and API Surface). The body is { subject?, packages, success_url, cancel_url }. billing-svc checks
@@ -3523,7 +3523,7 @@ export declare class MeBilling {
3523
3523
  *
3524
3524
  * `POST /v1/me/billing/checkout-sessions` (CreateMyCheckoutSession)
3525
3525
  */
3526
- createCheckoutSession(body?: Record<string, unknown>, params?: T.CreateMyCheckoutSessionParams, options?: RequestOptions): APIPromise<T.BillingObject>;
3526
+ createCheckoutSession(body?: T.CreateMyCheckoutSessionRequest, params?: T.CreateMyCheckoutSessionParams, options?: RequestOptions): APIPromise<T.MyCheckoutSession>;
3527
3527
  /**
3528
3528
  * billing.payment.v1.MePaymentService/CreateMyPaymentMethodSession (38-payments-and-tax.md, API
3529
3529
  * Surface). The body is { mode?, return_url? }. The answer carries a client secret: no log or span
@@ -3533,7 +3533,7 @@ export declare class MeBilling {
3533
3533
  *
3534
3534
  * `POST /v1/me/billing/payment-method-session` (CreateMyPaymentMethodSession)
3535
3535
  */
3536
- createPaymentMethodSession(body?: Record<string, unknown>, params?: T.CreateMyPaymentMethodSessionParams, options?: RequestOptions): APIPromise<T.BillingObject>;
3536
+ createPaymentMethodSession(body?: T.CreateMyPaymentMethodSessionRequest, params?: T.CreateMyPaymentMethodSessionParams, options?: RequestOptions): APIPromise<T.PaymentMethodSession>;
3537
3537
  /**
3538
3538
  * billing.contract.v1.MeContractService/DeleteMyContractEdit (35-contracts.md, Package changes and
3539
3539
  * End-customer portal; billing-svc P124). Cancels the contract's pending change, a scheduled
@@ -3554,7 +3554,7 @@ export declare class MeBilling {
3554
3554
  *
3555
3555
  * `DELETE /v1/me/billing/payment-methods/{payment_method_id}` (DeleteMyPaymentMethod)
3556
3556
  */
3557
- deletePaymentMethod(paymentMethodId: string, params?: T.DeleteMyPaymentMethodParams, options?: RequestOptions): APIPromise<Record<string, unknown>>;
3557
+ deletePaymentMethod(paymentMethodId: string, params?: T.DeleteMyPaymentMethodParams, options?: RequestOptions): APIPromise<T.RemoveMyPaymentMethodResponse>;
3558
3558
  /**
3559
3559
  * billing.contract.v1.MeContractService/GetMyCheckoutSession (35-contracts.md, End-customer portal and
3560
3560
  * API Surface). Under pontive:billing:pay, the scope the checkout element holds
@@ -3563,7 +3563,7 @@ export declare class MeBilling {
3563
3563
  *
3564
3564
  * `GET /v1/me/billing/checkout-sessions/{checkout_session_id}` (GetMyCheckoutSession)
3565
3565
  */
3566
- getCheckoutSession(checkoutSessionId: string, params?: T.GetMyCheckoutSessionParams, options?: RequestOptions): APIPromise<T.BillingObject>;
3566
+ getCheckoutSession(checkoutSessionId: string, params?: T.GetMyCheckoutSessionParams, options?: RequestOptions): APIPromise<T.MyCheckoutSession>;
3567
3567
  /**
3568
3568
  * billing.invoice.v1.MeInvoiceService/GetMyCreditNotePdf (37-invoicing.md, API Surface). The credit
3569
3569
  * note's PDF as a download, not an envelope: Content-Type application/pdf and Content-Disposition
@@ -3581,7 +3581,7 @@ export declare class MeBilling {
3581
3581
  *
3582
3582
  * `GET /v1/me/billing/entitlements` (GetMyEntitlements)
3583
3583
  */
3584
- getEntitlements(params?: T.GetMyEntitlementsParams, options?: RequestOptions): APIPromise<T.BillingObject>;
3584
+ getEntitlements(params?: T.GetMyEntitlementsParams, options?: RequestOptions): APIPromise<T.EntitlementSet>;
3585
3585
  /**
3586
3586
  * billing.invoice.v1.MeInvoiceService/GetMyInvoice (37-invoicing.md, API Surface). An instance user's
3587
3587
  * token must be issued for the instance's me audience, https://{auth domain}/me/, with
@@ -3589,7 +3589,7 @@ export declare class MeBilling {
3589
3589
  *
3590
3590
  * `GET /v1/me/billing/invoices/{invoice_id}` (GetMyInvoice)
3591
3591
  */
3592
- getInvoice(invoiceId: string, params?: T.GetMyInvoiceParams, options?: RequestOptions): APIPromise<T.BillingObject>;
3592
+ getInvoice(invoiceId: string, params?: T.GetMyInvoiceParams, options?: RequestOptions): APIPromise<T.Invoice>;
3593
3593
  /**
3594
3594
  * billing.invoice.v1.MeInvoiceService/GetMyInvoicePdf (37-invoicing.md, API Surface). The invoice's
3595
3595
  * PDF as a download, not an envelope: Content-Type application/pdf and Content-Disposition attachment
@@ -3607,7 +3607,7 @@ export declare class MeBilling {
3607
3607
  *
3608
3608
  * `GET /v1/me/billing/invoices/upcoming` (GetMyUpcomingInvoice)
3609
3609
  */
3610
- getUpcomingInvoice(params?: T.GetMyUpcomingInvoiceParams, options?: RequestOptions): APIPromise<T.BillingObject>;
3610
+ getUpcomingInvoice(params?: T.GetMyUpcomingInvoiceParams, options?: RequestOptions): APIPromise<T.Invoice>;
3611
3611
  /**
3612
3612
  * billing.metering.v1.MeUsageService/GetMyUsage (33-metering.md, API Surface). The same parameters as
3613
3613
  * GET /v1/usage, for the caller's Customer. An instance user's token must be issued for the instance's
@@ -3615,7 +3615,7 @@ export declare class MeBilling {
3615
3615
  *
3616
3616
  * `GET /v1/me/billing/usage` (GetMyUsage)
3617
3617
  */
3618
- getUsage(params?: T.GetMyUsageParams, options?: RequestOptions): APIPromise<T.BillingObject>;
3618
+ getUsage(params?: T.GetMyUsageParams, options?: RequestOptions): APIPromise<T.UsageSeries>;
3619
3619
  /**
3620
3620
  * billing.ledger.v1.MeLedgerService/ListMyBalances (36-credits-ledger.md, API Surface). An instance
3621
3621
  * user's token must be issued for the instance's me audience, https://{auth domain}/me/, with
@@ -3625,7 +3625,7 @@ export declare class MeBilling {
3625
3625
  *
3626
3626
  * Await it for the first page, or iterate it with `for await` for every item across pages.
3627
3627
  */
3628
- listBalances(params?: T.ListMyBalancesParams, options?: RequestOptions): PagePromise<T.BillingObject, T.BillingList>;
3628
+ listBalances(params?: T.ListMyBalancesParams, options?: RequestOptions): PagePromise<T.Balance, T.BalanceList>;
3629
3629
  /**
3630
3630
  * billing.contract.v1.MeContractService/ListMyContracts (35-contracts.md, End-customer portal and API
3631
3631
  * Surface). An instance user's token must be issued for the instance's me audience, https://{auth
@@ -3635,7 +3635,7 @@ export declare class MeBilling {
3635
3635
  *
3636
3636
  * Await it for the first page, or iterate it with `for await` for every item across pages.
3637
3637
  */
3638
- listContracts(params?: T.ListMyContractsParams, options?: RequestOptions): PagePromise<T.BillingObject, T.BillingList>;
3638
+ listContracts(params?: T.ListMyContractsParams, options?: RequestOptions): PagePromise<T.MyContract, T.MyContractList>;
3639
3639
  /**
3640
3640
  * billing.invoice.v1.MeInvoiceService/ListMyCreditNotes (37-invoicing.md, API Surface). An instance
3641
3641
  * user's token must be issued for the instance's me audience, https://{auth domain}/me/, with
@@ -3645,7 +3645,7 @@ export declare class MeBilling {
3645
3645
  *
3646
3646
  * Await it for the first page, or iterate it with `for await` for every item across pages.
3647
3647
  */
3648
- listCreditNotes(params?: T.ListMyCreditNotesParams, options?: RequestOptions): PagePromise<T.BillingObject, T.BillingList>;
3648
+ listCreditNotes(params?: T.ListMyCreditNotesParams, options?: RequestOptions): PagePromise<T.CreditNote, T.CreditNoteList>;
3649
3649
  /**
3650
3650
  * billing.customer.v1.MeCustomerService/ListMyCustomers (32-billing-overview.md, End-customer
3651
3651
  * surface). The caller's own user Customer, the token's organization's where they hold a billing key,
@@ -3658,7 +3658,7 @@ export declare class MeBilling {
3658
3658
  *
3659
3659
  * Await it for the first page, or iterate it with `for await` for every item across pages.
3660
3660
  */
3661
- listCustomers(params?: T.ListMyCustomersParams, options?: RequestOptions): PagePromise<T.BillingObject, T.BillingList>;
3661
+ listCustomers(params?: T.ListMyCustomersParams, options?: RequestOptions): PagePromise<T.MyCustomer, T.MyCustomerList>;
3662
3662
  /**
3663
3663
  * billing.invoice.v1.MeInvoiceService/ListMyInvoices (37-invoicing.md, API Surface). An instance
3664
3664
  * user's token must be issued for the instance's me audience, https://{auth domain}/me/, with
@@ -3668,7 +3668,7 @@ export declare class MeBilling {
3668
3668
  *
3669
3669
  * Await it for the first page, or iterate it with `for await` for every item across pages.
3670
3670
  */
3671
- listInvoices(params?: T.ListMyInvoicesParams, options?: RequestOptions): PagePromise<T.BillingObject, T.BillingList>;
3671
+ listInvoices(params?: T.ListMyInvoicesParams, options?: RequestOptions): PagePromise<T.Invoice, T.InvoiceList>;
3672
3672
  /**
3673
3673
  * billing.ledger.v1.MeLedgerService/ListMyLedgerEntries (36-credits-ledger.md, API Surface). An
3674
3674
  * instance user's token must be issued for the instance's me audience, https://{auth domain}/me/, with
@@ -3678,7 +3678,7 @@ export declare class MeBilling {
3678
3678
  *
3679
3679
  * Await it for the first page, or iterate it with `for await` for every item across pages.
3680
3680
  */
3681
- listLedgerEntries(params?: T.ListMyLedgerEntriesParams, options?: RequestOptions): PagePromise<T.BillingObject, T.BillingCursorList>;
3681
+ listLedgerEntries(params?: T.ListMyLedgerEntriesParams, options?: RequestOptions): PagePromise<T.LedgerEntry, T.LedgerEntryCursorList>;
3682
3682
  /**
3683
3683
  * billing.payment.v1.MePaymentService/ListMyPaymentMethods (38-payments-and-tax.md, API Surface). An
3684
3684
  * instance user's token must be issued for the instance's me audience, https://{auth domain}/me/, with
@@ -3688,7 +3688,7 @@ export declare class MeBilling {
3688
3688
  *
3689
3689
  * Await it for the first page, or iterate it with `for await` for every item across pages.
3690
3690
  */
3691
- listPaymentMethods(params?: T.ListMyPaymentMethodsParams, options?: RequestOptions): PagePromise<T.BillingObject, T.BillingList>;
3691
+ listPaymentMethods(params?: T.ListMyPaymentMethodsParams, options?: RequestOptions): PagePromise<T.PaymentMethod, T.PaymentMethodList>;
3692
3692
  /**
3693
3693
  * billing.payment.v1.MePaymentService/ListMyPayments (38-payments-and-tax.md, API Surface). An
3694
3694
  * instance user's token must be issued for the instance's me audience, https://{auth domain}/me/, with
@@ -3698,7 +3698,7 @@ export declare class MeBilling {
3698
3698
  *
3699
3699
  * Await it for the first page, or iterate it with `for await` for every item across pages.
3700
3700
  */
3701
- listPayments(params?: T.ListMyPaymentsParams, options?: RequestOptions): PagePromise<T.BillingObject, T.BillingList>;
3701
+ listPayments(params?: T.ListMyPaymentsParams, options?: RequestOptions): PagePromise<T.Payment, T.PaymentList>;
3702
3702
  /**
3703
3703
  * billing.payment.v1.MePaymentService/PayMyInvoice (38-payments-and-tax.md, API Surface). The body is
3704
3704
  * { method }, saved or new. The answer carries a client secret: no log or span holds the response body
@@ -3707,7 +3707,7 @@ export declare class MeBilling {
3707
3707
  *
3708
3708
  * `POST /v1/me/billing/invoices/{invoice_id}/pay` (PayMyInvoice)
3709
3709
  */
3710
- payInvoice(invoiceId: string, body?: Record<string, unknown>, params?: T.PayMyInvoiceParams, options?: RequestOptions): APIPromise<Record<string, unknown>>;
3710
+ payInvoice(invoiceId: string, body?: T.PayMyInvoiceRequest, params?: T.PayMyInvoiceParams, options?: RequestOptions): APIPromise<T.PayMyInvoiceResponse>;
3711
3711
  /**
3712
3712
  * billing.contract.v1.MeContractService/PreviewMyCheckoutSession (35-contracts.md, End-customer portal
3713
3713
  * and API Surface). The body is confirm's (P65). An instance user's token must be issued for the
@@ -3716,7 +3716,7 @@ export declare class MeBilling {
3716
3716
  *
3717
3717
  * `POST /v1/me/billing/checkout-sessions/{checkout_session_id}/preview` (PreviewMyCheckoutSession)
3718
3718
  */
3719
- previewCheckoutSession(checkoutSessionId: string, body?: Record<string, unknown>, params?: T.PreviewMyCheckoutSessionParams, options?: RequestOptions): APIPromise<Record<string, unknown>>;
3719
+ previewCheckoutSession(checkoutSessionId: string, body?: T.PreviewMyCheckoutSessionRequest, params?: T.PreviewMyCheckoutSessionParams, options?: RequestOptions): APIPromise<T.Invoice>;
3720
3720
  /**
3721
3721
  * billing.contract.v1.MeContractService/PreviewMyContractChange (35-contracts.md, End-customer portal
3722
3722
  * and API Surface). The body is { package, billing_frequency? } or { quantity, subscription_id? }. An
@@ -3726,7 +3726,7 @@ export declare class MeBilling {
3726
3726
  *
3727
3727
  * `POST /v1/me/billing/contracts/{contract_id}/change-package/preview` (PreviewMyContractChange)
3728
3728
  */
3729
- previewContractChange(contractId: string, body?: Record<string, unknown>, params?: T.PreviewMyContractChangeParams, options?: RequestOptions): APIPromise<Record<string, unknown>>;
3729
+ previewContractChange(contractId: string, body?: T.PreviewMyContractChangeRequest, params?: T.PreviewMyContractChangeParams, options?: RequestOptions): APIPromise<T.PreviewMyContractChangeResponse>;
3730
3730
  /**
3731
3731
  * billing.contract.v1.MeContractService/RevokeMyContractCancellation (35-contracts.md, End-customer
3732
3732
  * portal and API Surface). An instance user's token must be issued for the instance's me audience,
@@ -3734,7 +3734,7 @@ export declare class MeBilling {
3734
3734
  *
3735
3735
  * `POST /v1/me/billing/contracts/{contract_id}/revoke-cancellation` (RevokeMyContractCancellation)
3736
3736
  */
3737
- revokeContractCancellation(contractId: string, body?: Record<string, unknown>, params?: T.RevokeMyContractCancellationParams, options?: RequestOptions): APIPromise<T.BillingObject>;
3737
+ revokeContractCancellation(contractId: string, body?: Record<string, unknown>, params?: T.RevokeMyContractCancellationParams, options?: RequestOptions): APIPromise<T.MyContract>;
3738
3738
  /**
3739
3739
  * billing.payment.v1.MePaymentService/SetMyDefaultPaymentMethod (38-payments-and-tax.md, API Surface;
3740
3740
  * api-route-review D38). The caller's Customer, or the subject's it names: default_payment_method_id,
@@ -3743,7 +3743,7 @@ export declare class MeBilling {
3743
3743
  *
3744
3744
  * `PATCH /v1/me/billing/customer` (UpdateMyCustomer)
3745
3745
  */
3746
- updateCustomer(body?: Record<string, unknown>, params?: T.UpdateMyCustomerParams, options?: RequestOptions): APIPromise<Record<string, unknown>>;
3746
+ updateCustomer(body?: T.SetMyDefaultPaymentMethodRequest, params?: T.UpdateMyCustomerParams, options?: RequestOptions): APIPromise<T.PaymentMethod>;
3747
3747
  }
3748
3748
  /**
3749
3749
  * Organizations, their members, invitations and settings.