From b2110896d1438d19bae73396cb527dafecb8a0b4 Mon Sep 17 00:00:00 2001
From: Travis Fischer
amount_total
..`
params: stripe.PostClimateOrdersOrderCancelParams
): Promiseamount_total
..`
params: stripe.GetClimateProductsProductParams
): Promiseamount_total
..`
params: stripe.GetClimateSuppliersSupplierParams
): Promiseamount_total
..`
params: stripe.GetConfirmationTokensConfirmationTokenParams
): Promiseamount_total
..`
params: stripe.GetCountrySpecsCountryParams
): Promiseamount_total
..`
params: stripe.GetCouponsCouponParams
): Promiseamount_total
..`
params: stripe.PostCouponsCouponParams
): Promiseamount_total
..`
params: stripe.DeleteCouponsCouponParams
): Promisepost_payment_credit_notes_amount
depending on its status
params: stripe.GetCreditNotesCreditNoteLinesParams
): Promise {
return this.ky
- .get(`/v1/credit_notes/${params.credit_note}/lines`, {
+ .get(`/v1/credit_notes/${params['credit_note']}/lines`, {
searchParams: sanitizeSearchParams(
pick(params, 'ending_before', 'expand', 'limit', 'starting_after')
)
@@ -63577,7 +63577,7 @@ or post_payment_credit_notes_amount
depending on its status
params: stripe.GetCreditNotesIdParams
): Promise {
return this.ky
- .get(`/v1/credit_notes/${params.id}`, {
+ .get(`/v1/credit_notes/${params['id']}`, {
searchParams: sanitizeSearchParams(pick(params, 'expand'))
})
.json()
@@ -63595,7 +63595,7 @@ or post_payment_credit_notes_amount
depending on its status
params: stripe.PostCreditNotesIdParams
): Promise {
return this.ky
- .post(`/v1/credit_notes/${params.id}`)
+ .post(`/v1/credit_notes/${params['id']}`)
.json()
}
@@ -63612,7 +63612,7 @@ or post_payment_credit_notes_amount
depending on its status
params: stripe.PostCreditNotesIdVoidParams
): Promise {
return this.ky
- .post(`/v1/credit_notes/${params.id}/void`)
+ .post(`/v1/credit_notes/${params['id']}/void`)
.json()
}
@@ -63702,7 +63702,7 @@ to an hour behind during outages. Search functionality is not available to merch
params: stripe.GetCustomersCustomerParams
): Promise {
return this.ky
- .get(`/v1/customers/${params.customer}`, {
+ .get(`/v1/customers/${params['customer']}`, {
searchParams: sanitizeSearchParams(pick(params, 'expand'))
})
.json()
@@ -63724,7 +63724,7 @@ to an hour behind during outages. Search functionality is not available to merch
params: stripe.PostCustomersCustomerParams
): Promise {
return this.ky
- .post(`/v1/customers/${params.customer}`)
+ .post(`/v1/customers/${params['customer']}`)
.json()
}
@@ -63741,7 +63741,7 @@ to an hour behind during outages. Search functionality is not available to merch
params: stripe.DeleteCustomersCustomerParams
): Promise {
return this.ky
- .delete(`/v1/customers/${params.customer}`)
+ .delete(`/v1/customers/${params['customer']}`)
.json()
}
@@ -63758,7 +63758,7 @@ to an hour behind during outages. Search functionality is not available to merch
params: stripe.GetCustomersCustomerBalanceTransactionsParams
): Promise {
return this.ky
- .get(`/v1/customers/${params.customer}/balance_transactions`, {
+ .get(`/v1/customers/${params['customer']}/balance_transactions`, {
searchParams: sanitizeSearchParams(
pick(params, 'ending_before', 'expand', 'limit', 'starting_after')
)
@@ -63779,7 +63779,7 @@ to an hour behind during outages. Search functionality is not available to merch
params: stripe.PostCustomersCustomerBalanceTransactionsParams
): Promise {
return this.ky
- .post(`/v1/customers/${params.customer}/balance_transactions`)
+ .post(`/v1/customers/${params['customer']}/balance_transactions`)
.json()
}
@@ -63798,7 +63798,7 @@ to an hour behind during outages. Search functionality is not available to merch
): Promise {
return this.ky
.get(
- `/v1/customers/${params.customer}/balance_transactions/${params.transaction}`,
+ `/v1/customers/${params['customer']}/balance_transactions/${params['transaction']}`,
{
searchParams: sanitizeSearchParams(pick(params, 'expand'))
}
@@ -63821,7 +63821,7 @@ to an hour behind during outages. Search functionality is not available to merch
): Promise {
return this.ky
.post(
- `/v1/customers/${params.customer}/balance_transactions/${params.transaction}`
+ `/v1/customers/${params['customer']}/balance_transactions/${params['transaction']}`
)
.json()
}
@@ -63839,7 +63839,7 @@ to an hour behind during outages. Search functionality is not available to merch
params: stripe.GetCustomersCustomerBankAccountsParams
): Promise {
return this.ky
- .get(`/v1/customers/${params.customer}/bank_accounts`, {
+ .get(`/v1/customers/${params['customer']}/bank_accounts`, {
searchParams: sanitizeSearchParams(
pick(params, 'ending_before', 'expand', 'limit', 'starting_after')
)
@@ -63867,7 +63867,7 @@ To change the default, you should update the
params: stripe.PostCustomersCustomerBankAccountsParams
): Promise {
return this.ky
- .post(`/v1/customers/${params.customer}/bank_accounts`)
+ .post(`/v1/customers/${params['customer']}/bank_accounts`)
.json()
}
@@ -63885,7 +63885,7 @@ To change the default, you should update the
): Promise {
return this.ky
.get(
- `/v1/customers/${params.customer}/bank_accounts/${params.id}`,
+ `/v1/customers/${params['customer']}/bank_accounts/${params['id']}`,
{
searchParams: sanitizeSearchParams(pick(params, 'expand'))
}
@@ -63905,7 +63905,7 @@ To change the default, you should update the
params: stripe.PostCustomersCustomerBankAccountsIdParams
): Promise {
return this.ky
- .post(`/v1/customers/${params.customer}/bank_accounts/${params.id}`)
+ .post(`/v1/customers/${params['customer']}/bank_accounts/${params['id']}`)
.json()
}
@@ -63922,7 +63922,7 @@ To change the default, you should update the
): Promise {
return this.ky
.delete(
- `/v1/customers/${params.customer}/bank_accounts/${params.id}`
+ `/v1/customers/${params['customer']}/bank_accounts/${params['id']}`
)
.json()
}
@@ -63941,7 +63941,7 @@ To change the default, you should update the
): Promise {
return this.ky
.post(
- `/v1/customers/${params.customer}/bank_accounts/${params.id}/verify`
+ `/v1/customers/${params['customer']}/bank_accounts/${params['id']}/verify`
)
.json()
}
@@ -63962,7 +63962,7 @@ If you need more than those 10, you can use this API method and the limit<
params: stripe.GetCustomersCustomerCardsParams
): Promise {
return this.ky
- .get(`/v1/customers/${params.customer}/cards`, {
+ .get(`/v1/customers/${params['customer']}/cards`, {
searchParams: sanitizeSearchParams(
pick(params, 'ending_before', 'expand', 'limit', 'starting_after')
)
@@ -63990,7 +63990,7 @@ To change the default, you should update the
params: stripe.PostCustomersCustomerCardsParams
): Promise {
return this.ky
- .post(`/v1/customers/${params.customer}/cards`)
+ .post(`/v1/customers/${params['customer']}/cards`)
.json()
}
@@ -64007,7 +64007,7 @@ To change the default, you should update the
params: stripe.GetCustomersCustomerCardsIdParams
): Promise {
return this.ky
- .get(`/v1/customers/${params.customer}/cards/${params.id}`, {
+ .get(`/v1/customers/${params['customer']}/cards/${params['id']}`, {
searchParams: sanitizeSearchParams(pick(params, 'expand'))
})
.json()
@@ -64025,7 +64025,7 @@ To change the default, you should update the
params: stripe.PostCustomersCustomerCardsIdParams
): Promise {
return this.ky
- .post(`/v1/customers/${params.customer}/cards/${params.id}`)
+ .post(`/v1/customers/${params['customer']}/cards/${params['id']}`)
.json()
}
@@ -64041,7 +64041,7 @@ To change the default, you should update the
params: stripe.DeleteCustomersCustomerCardsIdParams
): Promise {
return this.ky
- .delete(`/v1/customers/${params.customer}/cards/${params.id}`)
+ .delete(`/v1/customers/${params['customer']}/cards/${params['id']}`)
.json()
}
@@ -64057,7 +64057,7 @@ To change the default, you should update the
params: stripe.GetCustomersCustomerCashBalanceParams
): Promise {
return this.ky
- .get(`/v1/customers/${params.customer}/cash_balance`, {
+ .get(`/v1/customers/${params['customer']}/cash_balance`, {
searchParams: sanitizeSearchParams(pick(params, 'expand'))
})
.json()
@@ -64075,7 +64075,7 @@ To change the default, you should update the
params: stripe.PostCustomersCustomerCashBalanceParams
): Promise {
return this.ky
- .post(`/v1/customers/${params.customer}/cash_balance`)
+ .post(`/v1/customers/${params['customer']}/cash_balance`)
.json()
}
@@ -64092,7 +64092,7 @@ To change the default, you should update the
params: stripe.GetCustomersCustomerCashBalanceTransactionsParams
): Promise {
return this.ky
- .get(`/v1/customers/${params.customer}/cash_balance_transactions`, {
+ .get(`/v1/customers/${params['customer']}/cash_balance_transactions`, {
searchParams: sanitizeSearchParams(
pick(params, 'ending_before', 'expand', 'limit', 'starting_after')
)
@@ -64115,7 +64115,7 @@ To change the default, you should update the
): Promise {
return this.ky
.get(
- `/v1/customers/${params.customer}/cash_balance_transactions/${params.transaction}`,
+ `/v1/customers/${params['customer']}/cash_balance_transactions/${params['transaction']}`,
{
searchParams: sanitizeSearchParams(pick(params, 'expand'))
}
@@ -64132,7 +64132,7 @@ To change the default, you should update the
params: stripe.GetCustomersCustomerDiscountParams
): Promise {
return this.ky
- .get(`/v1/customers/${params.customer}/discount`, {
+ .get(`/v1/customers/${params['customer']}/discount`, {
searchParams: sanitizeSearchParams(pick(params, 'expand'))
})
.json()
@@ -64151,7 +64151,7 @@ To change the default, you should update the
params: stripe.DeleteCustomersCustomerDiscountParams
): Promise {
return this.ky
- .delete(`/v1/customers/${params.customer}/discount`)
+ .delete(`/v1/customers/${params['customer']}/discount`)
.json()
}
@@ -64171,7 +64171,7 @@ funding instructions will be retrieved. In other words, we will return the same
params: stripe.PostCustomersCustomerFundingInstructionsParams
): Promise {
return this.ky
- .post(`/v1/customers/${params.customer}/funding_instructions`)
+ .post(`/v1/customers/${params['customer']}/funding_instructions`)
.json()
}
@@ -64188,7 +64188,7 @@ funding instructions will be retrieved. In other words, we will return the same
params: stripe.GetCustomersCustomerPaymentMethodsParams
): Promise {
return this.ky
- .get(`/v1/customers/${params.customer}/payment_methods`, {
+ .get(`/v1/customers/${params['customer']}/payment_methods`, {
searchParams: sanitizeSearchParams(
pick(
params,
@@ -64219,7 +64219,7 @@ funding instructions will be retrieved. In other words, we will return the same
): Promise {
return this.ky
.get(
- `/v1/customers/${params.customer}/payment_methods/${params.payment_method}`,
+ `/v1/customers/${params['customer']}/payment_methods/${params['payment_method']}`,
{
searchParams: sanitizeSearchParams(pick(params, 'expand'))
}
@@ -64239,7 +64239,7 @@ funding instructions will be retrieved. In other words, we will return the same
params: stripe.GetCustomersCustomerSourcesParams
): Promise {
return this.ky
- .get(`/v1/customers/${params.customer}/sources`, {
+ .get(`/v1/customers/${params['customer']}/sources`, {
searchParams: sanitizeSearchParams(
pick(
params,
@@ -64274,7 +64274,7 @@ To change the default, you should update the
params: stripe.PostCustomersCustomerSourcesParams
): Promise {
return this.ky
- .post(`/v1/customers/${params.customer}/sources`)
+ .post(`/v1/customers/${params['customer']}/sources`)
.json()
}
@@ -64290,7 +64290,7 @@ To change the default, you should update the
params: stripe.GetCustomersCustomerSourcesIdParams
): Promise {
return this.ky
- .get(`/v1/customers/${params.customer}/sources/${params.id}`, {
+ .get(`/v1/customers/${params['customer']}/sources/${params['id']}`, {
searchParams: sanitizeSearchParams(pick(params, 'expand'))
})
.json()
@@ -64308,7 +64308,7 @@ To change the default, you should update the
params: stripe.PostCustomersCustomerSourcesIdParams
): Promise {
return this.ky
- .post(`/v1/customers/${params.customer}/sources/${params.id}`)
+ .post(`/v1/customers/${params['customer']}/sources/${params['id']}`)
.json()
}
@@ -64324,7 +64324,7 @@ To change the default, you should update the
params: stripe.DeleteCustomersCustomerSourcesIdParams
): Promise {
return this.ky
- .delete(`/v1/customers/${params.customer}/sources/${params.id}`)
+ .delete(`/v1/customers/${params['customer']}/sources/${params['id']}`)
.json()
}
@@ -64342,7 +64342,7 @@ To change the default, you should update the
): Promise {
return this.ky
.post(
- `/v1/customers/${params.customer}/sources/${params.id}/verify`
+ `/v1/customers/${params['customer']}/sources/${params['id']}/verify`
)
.json()
}
@@ -64360,7 +64360,7 @@ To change the default, you should update the
params: stripe.GetCustomersCustomerSubscriptionsParams
): Promise {
return this.ky
- .get(`/v1/customers/${params.customer}/subscriptions`, {
+ .get(`/v1/customers/${params['customer']}/subscriptions`, {
searchParams: sanitizeSearchParams(
pick(params, 'ending_before', 'expand', 'limit', 'starting_after')
)
@@ -64380,7 +64380,7 @@ To change the default, you should update the
params: stripe.PostCustomersCustomerSubscriptionsParams
): Promise {
return this.ky
- .post(`/v1/customers/${params.customer}/subscriptions`)
+ .post(`/v1/customers/${params['customer']}/subscriptions`)
.json()
}
@@ -64398,7 +64398,7 @@ To change the default, you should update the
): Promise {
return this.ky
.get(
- `/v1/customers/${params.customer}/subscriptions/${params.subscription_exposed_id}`,
+ `/v1/customers/${params['customer']}/subscriptions/${params['subscription_exposed_id']}`,
{
searchParams: sanitizeSearchParams(pick(params, 'expand'))
}
@@ -64421,7 +64421,7 @@ To change the default, you should update the
): Promise {
return this.ky
.post(
- `/v1/customers/${params.customer}/subscriptions/${params.subscription_exposed_id}`
+ `/v1/customers/${params['customer']}/subscriptions/${params['subscription_exposed_id']}`
)
.json()
}
@@ -64448,7 +64448,7 @@ To change the default, you should update the
): Promise {
return this.ky
.delete(
- `/v1/customers/${params.customer}/subscriptions/${params.subscription_exposed_id}`
+ `/v1/customers/${params['customer']}/subscriptions/${params['subscription_exposed_id']}`
)
.json()
}
@@ -64464,7 +64464,7 @@ To change the default, you should update the
): Promise {
return this.ky
.get(
- `/v1/customers/${params.customer}/subscriptions/${params.subscription_exposed_id}/discount`,
+ `/v1/customers/${params['customer']}/subscriptions/${params['subscription_exposed_id']}/discount`,
{
searchParams: sanitizeSearchParams(pick(params, 'expand'))
}
@@ -64487,7 +64487,7 @@ To change the default, you should update the
): Promise {
return this.ky
.delete(
- `/v1/customers/${params.customer}/subscriptions/${params.subscription_exposed_id}/discount`
+ `/v1/customers/${params['customer']}/subscriptions/${params['subscription_exposed_id']}/discount`
)
.json()
}
@@ -64504,7 +64504,7 @@ To change the default, you should update the
params: stripe.GetCustomersCustomerTaxIdsParams
): Promise {
return this.ky
- .get(`/v1/customers/${params.customer}/tax_ids`, {
+ .get(`/v1/customers/${params['customer']}/tax_ids`, {
searchParams: sanitizeSearchParams(
pick(params, 'ending_before', 'expand', 'limit', 'starting_after')
)
@@ -64525,7 +64525,7 @@ To change the default, you should