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