lago-javascript-client 1.53.0 → 1.54.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.
- package/esm/openapi/client.d.ts +110 -29
- package/esm/openapi/client.js +4 -3
- package/esm/openapi/webhooks.d.ts +90 -35
- package/package.json +1 -1
- package/script/openapi/client.d.ts +110 -29
- package/script/openapi/client.js +4 -3
- package/script/openapi/webhooks.d.ts +90 -35
|
@@ -1226,7 +1226,7 @@ export interface paths {
|
|
|
1226
1226
|
get?: never;
|
|
1227
1227
|
/**
|
|
1228
1228
|
* Set the payment method as default
|
|
1229
|
-
* @description
|
|
1229
|
+
* @description This endpoint sets a payment method as the customer's default one. It is the payment method Lago uses when a payment is triggered without an explicit one. Any other default payment method of the customer is unset.
|
|
1230
1230
|
*/
|
|
1231
1231
|
put: operations["paymentMethodSetAsDefault"];
|
|
1232
1232
|
post?: never;
|
|
@@ -1901,7 +1901,7 @@ export interface paths {
|
|
|
1901
1901
|
query?: never;
|
|
1902
1902
|
header?: never;
|
|
1903
1903
|
path: {
|
|
1904
|
-
/** @description
|
|
1904
|
+
/** @description Unique identifier of the payment receipt. */
|
|
1905
1905
|
lago_id: string;
|
|
1906
1906
|
};
|
|
1907
1907
|
cookie?: never;
|
|
@@ -4888,7 +4888,7 @@ export interface components {
|
|
|
4888
4888
|
* @example USD
|
|
4889
4889
|
* @enum {string}
|
|
4890
4890
|
*/
|
|
4891
|
-
Currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLF" | "CLP" | "CNY" | "COP" | "CRC" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "ISK" | "JMD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KRW" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRO" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "STD" | "SZL" | "THB" | "TJS" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XOF" | "XPF" | "YER" | "ZAR" | "ZMW";
|
|
4891
|
+
Currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLF" | "CLP" | "CNY" | "COP" | "CRC" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "ISK" | "JMD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KRW" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRO" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "STD" | "SYP" | "SZL" | "THB" | "TJS" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XOF" | "XPF" | "YER" | "ZAR" | "ZMW";
|
|
4892
4892
|
/**
|
|
4893
4893
|
* @example US
|
|
4894
4894
|
* @enum {string|null}
|
|
@@ -6001,7 +6001,7 @@ export interface components {
|
|
|
6001
6001
|
* @example USD
|
|
6002
6002
|
* @enum {string|null}
|
|
6003
6003
|
*/
|
|
6004
|
-
CurrencyOrNull: null | "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLF" | "CLP" | "CNY" | "COP" | "CRC" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "ISK" | "JMD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KRW" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRO" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "STD" | "SZL" | "THB" | "TJS" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XOF" | "XPF" | "YER" | "ZAR" | "ZMW";
|
|
6004
|
+
CurrencyOrNull: null | "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLF" | "CLP" | "CNY" | "COP" | "CRC" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "ISK" | "JMD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KRW" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRO" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "STD" | "SYP" | "SZL" | "THB" | "TJS" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XOF" | "XPF" | "YER" | "ZAR" | "ZMW";
|
|
6005
6005
|
AppliedCouponObject: {
|
|
6006
6006
|
/**
|
|
6007
6007
|
* Format: uuid
|
|
@@ -6025,6 +6025,11 @@ export interface components {
|
|
|
6025
6025
|
* @example Startup Deal
|
|
6026
6026
|
*/
|
|
6027
6027
|
coupon_name: string;
|
|
6028
|
+
/**
|
|
6029
|
+
* @description The description of the parent coupon.
|
|
6030
|
+
* @example I am a coupon description
|
|
6031
|
+
*/
|
|
6032
|
+
coupon_description?: string | null;
|
|
6028
6033
|
/**
|
|
6029
6034
|
* @description The status of the parent coupon. Can be either `active` or `terminated`.
|
|
6030
6035
|
* @example active
|
|
@@ -8876,7 +8881,7 @@ export interface components {
|
|
|
8876
8881
|
/** @description List of invoice IDs associated with the payment. */
|
|
8877
8882
|
invoice_ids: string[];
|
|
8878
8883
|
/** @description List of invoice numbers associated with the payment. */
|
|
8879
|
-
invoice_numbers
|
|
8884
|
+
invoice_numbers: string[];
|
|
8880
8885
|
/**
|
|
8881
8886
|
* Format: uuid
|
|
8882
8887
|
* @description The unique identifier of the paid resource, created by Lago.
|
|
@@ -8917,15 +8922,15 @@ export interface components {
|
|
|
8917
8922
|
*/
|
|
8918
8923
|
type: "manual" | "provider";
|
|
8919
8924
|
/**
|
|
8920
|
-
* @description Reference for the payment.
|
|
8925
|
+
* @description Reference for the payment. Set on manual payments only; it is always `null` for payments collected through a payment provider.
|
|
8921
8926
|
* @example ref1
|
|
8922
8927
|
*/
|
|
8923
|
-
reference: string;
|
|
8928
|
+
reference: string | null;
|
|
8924
8929
|
/**
|
|
8925
|
-
* @description Code of the payment provider
|
|
8930
|
+
* @description Code of the payment provider. It is `null` for manual payments, which are not attached to a payment provider.
|
|
8926
8931
|
* @example stripe_prod
|
|
8927
8932
|
*/
|
|
8928
|
-
payment_provider_code: string;
|
|
8933
|
+
payment_provider_code: string | null;
|
|
8929
8934
|
/**
|
|
8930
8935
|
* @description The type of payment provider
|
|
8931
8936
|
* @example stripe
|
|
@@ -8940,16 +8945,10 @@ export interface components {
|
|
|
8940
8945
|
*/
|
|
8941
8946
|
provider_payment_id: string | null;
|
|
8942
8947
|
/**
|
|
8943
|
-
* @description Unique identifier of the customer within the payment provider
|
|
8948
|
+
* @description Unique identifier of the customer within the payment provider. It is `null` for manual payments.
|
|
8944
8949
|
* @example cus_5eb0285bcf941bc6ba
|
|
8945
8950
|
*/
|
|
8946
|
-
provider_customer_id: string;
|
|
8947
|
-
/**
|
|
8948
|
-
* Format: uuid
|
|
8949
|
-
* @description The unique identifier of the payment method used for this payment.
|
|
8950
|
-
* @example 1a901a90-1a90-1a90-1a90-1a901a901a90
|
|
8951
|
-
*/
|
|
8952
|
-
payment_method_id?: string | null;
|
|
8951
|
+
provider_customer_id: string | null;
|
|
8953
8952
|
/**
|
|
8954
8953
|
* @description The next action to be taken by the customer to complete the payment. Should usually be empty, except when receiving the `payment.requires_action` webhook.
|
|
8955
8954
|
* @example {
|
|
@@ -8983,10 +8982,10 @@ export interface components {
|
|
|
8983
8982
|
lago_id: string;
|
|
8984
8983
|
/**
|
|
8985
8984
|
* Format: email
|
|
8986
|
-
* @description The
|
|
8985
|
+
* @description The email address used for sending dunning notifications. It defaults to the customer's own email address, and is `null` when the customer has none.
|
|
8987
8986
|
* @example dinesh@piedpiper.test
|
|
8988
8987
|
*/
|
|
8989
|
-
email: string;
|
|
8988
|
+
email: string | null;
|
|
8990
8989
|
/**
|
|
8991
8990
|
* @description The sum of the total amounts of all the invoices included in the payment request, expressed in cents.
|
|
8992
8991
|
* @example 100
|
|
@@ -9481,7 +9480,7 @@ export interface components {
|
|
|
9481
9480
|
*/
|
|
9482
9481
|
code?: string | null;
|
|
9483
9482
|
/**
|
|
9484
|
-
* @description Wallet priority for ordering when a customer has multiple wallets. Allowed values: 1-50, where 1 is highest priority and 50 is lowest. Defaults to 50.
|
|
9483
|
+
* @description Wallet priority for ordering when a customer has multiple wallets. Allowed values: 1-50, where 1 is highest priority and 50 is lowest. Defaults to 50. Wallets with the same priority are applied by expiration date, soonest first, with wallets without an expiration date last, then by creation date, oldest first.
|
|
9485
9484
|
* @example 50
|
|
9486
9485
|
*/
|
|
9487
9486
|
priority?: number;
|
|
@@ -9620,7 +9619,7 @@ export interface components {
|
|
|
9620
9619
|
invoice_custom_section_codes?: string[];
|
|
9621
9620
|
};
|
|
9622
9621
|
WalletCreateInput: {
|
|
9623
|
-
wallet
|
|
9622
|
+
wallet: {
|
|
9624
9623
|
/**
|
|
9625
9624
|
* @description The name of the wallet.
|
|
9626
9625
|
* @example Prepaid
|
|
@@ -9632,7 +9631,7 @@ export interface components {
|
|
|
9632
9631
|
*/
|
|
9633
9632
|
code?: string | null;
|
|
9634
9633
|
/**
|
|
9635
|
-
* @description Wallet priority for ordering when a customer has multiple wallets. Allowed values: 1-50, where 1 is highest priority and 50 is lowest. Defaults to 50.
|
|
9634
|
+
* @description Wallet priority for ordering when a customer has multiple wallets. Allowed values: 1-50, where 1 is highest priority and 50 is lowest. Defaults to 50. Wallets with the same priority are applied by expiration date, soonest first, with wallets without an expiration date last, then by creation date, oldest first.
|
|
9636
9635
|
* @example 50
|
|
9637
9636
|
*/
|
|
9638
9637
|
priority?: number;
|
|
@@ -9701,6 +9700,11 @@ export interface components {
|
|
|
9701
9700
|
* @example Tokens for models 'high-fidelity-boost'
|
|
9702
9701
|
*/
|
|
9703
9702
|
transaction_name?: string | null;
|
|
9703
|
+
/**
|
|
9704
|
+
* @description The priority of the wallet transactions triggered when creating the wallet. It drives the order in which credits are consumed. Allowed values: 1-50, where 1 is highest priority and 50 is lowest. Defaults to 50.
|
|
9705
|
+
* @example 50
|
|
9706
|
+
*/
|
|
9707
|
+
transaction_priority?: number;
|
|
9704
9708
|
/**
|
|
9705
9709
|
* @description The purchase order number associated with the wallet. It will be added to invoices generated for wallet top-ups, unless a more specific purchase order number is set on the wallet transaction or recurring transaction rule that triggered the top-up.
|
|
9706
9710
|
* @example PO-123
|
|
@@ -9858,7 +9862,7 @@ export interface components {
|
|
|
9858
9862
|
*/
|
|
9859
9863
|
code?: string | null;
|
|
9860
9864
|
/**
|
|
9861
|
-
* @description Wallet priority for ordering when a customer has multiple wallets. Allowed values: 1-50, where 1 is highest priority and 50 is lowest. Defaults to 50.
|
|
9865
|
+
* @description Wallet priority for ordering when a customer has multiple wallets. Allowed values: 1-50, where 1 is highest priority and 50 is lowest. Defaults to 50. Wallets with the same priority are applied by expiration date, soonest first, with wallets without an expiration date last, then by creation date, oldest first.
|
|
9862
9866
|
* @example 50
|
|
9863
9867
|
*/
|
|
9864
9868
|
priority?: number;
|
|
@@ -9873,6 +9877,16 @@ export interface components {
|
|
|
9873
9877
|
* @example false
|
|
9874
9878
|
*/
|
|
9875
9879
|
invoice_requires_successful_payment?: boolean;
|
|
9880
|
+
/**
|
|
9881
|
+
* @description Minimum amount of cents that can be top-up with a single paid transaction.
|
|
9882
|
+
* @example 100
|
|
9883
|
+
*/
|
|
9884
|
+
paid_top_up_min_amount_cents?: number | null;
|
|
9885
|
+
/**
|
|
9886
|
+
* @description Maximum amount of cents that can be top-up with a single paid transaction.
|
|
9887
|
+
* @example 1000
|
|
9888
|
+
*/
|
|
9889
|
+
paid_top_up_max_amount_cents?: number | null;
|
|
9876
9890
|
/**
|
|
9877
9891
|
* @description The code of the billing entity associated with the wallet.
|
|
9878
9892
|
* @example default
|
|
@@ -10666,18 +10680,18 @@ export interface components {
|
|
|
10666
10680
|
* @description Code of the payment provider associated with this payment method.
|
|
10667
10681
|
* @example stripe_prod
|
|
10668
10682
|
*/
|
|
10669
|
-
payment_provider_code
|
|
10683
|
+
payment_provider_code: string | null;
|
|
10670
10684
|
/**
|
|
10671
10685
|
* @description Human-readable name of the payment provider.
|
|
10672
10686
|
* @example Stripe
|
|
10673
10687
|
*/
|
|
10674
|
-
payment_provider_name
|
|
10688
|
+
payment_provider_name: string | null;
|
|
10675
10689
|
/**
|
|
10676
|
-
* @description The type of the payment provider.
|
|
10690
|
+
* @description The type of the payment provider. It is `null` when the payment method is no longer attached to a payment provider.
|
|
10677
10691
|
* @example stripe
|
|
10678
|
-
* @enum {string}
|
|
10692
|
+
* @enum {string|null}
|
|
10679
10693
|
*/
|
|
10680
|
-
payment_provider_type: "adyen" | "cashfree" | "gocardless" | "stripe" | "flutterwave" | "moneyhash";
|
|
10694
|
+
payment_provider_type: null | "adyen" | "cashfree" | "gocardless" | "stripe" | "flutterwave" | "moneyhash";
|
|
10681
10695
|
/**
|
|
10682
10696
|
* @description Unique identifier of the payment method within the payment provider.
|
|
10683
10697
|
* @example pm_1N8ZQX2eZvKYlo2CkL9Y8XYZ
|
|
@@ -12574,6 +12588,16 @@ export interface components {
|
|
|
12574
12588
|
* @example LAG-1234-001-002
|
|
12575
12589
|
*/
|
|
12576
12590
|
number: string;
|
|
12591
|
+
/**
|
|
12592
|
+
* @description The PDF file of the payment receipt. It is `null` while no PDF has been generated.
|
|
12593
|
+
* @example https://getlago.com/payment_receipt/file
|
|
12594
|
+
*/
|
|
12595
|
+
file_url?: string | null;
|
|
12596
|
+
/**
|
|
12597
|
+
* @description The e-invoicing XML file of the payment receipt. It is `null` while no XML file has been generated.
|
|
12598
|
+
* @example https://getlago.com/payment_receipt/xml
|
|
12599
|
+
*/
|
|
12600
|
+
xml_url?: string | null;
|
|
12577
12601
|
payment: components["schemas"]["PaymentObject"];
|
|
12578
12602
|
};
|
|
12579
12603
|
PaymentReceiptsPaginated: {
|
|
@@ -12592,10 +12616,10 @@ export interface components {
|
|
|
12592
12616
|
external_customer_id: string;
|
|
12593
12617
|
/**
|
|
12594
12618
|
* Format: email
|
|
12595
|
-
* @description The
|
|
12619
|
+
* @description The email address used for sending dunning notifications. When omitted, the customer's own email address is used.
|
|
12596
12620
|
* @example dinesh@piedpiper.test
|
|
12597
12621
|
*/
|
|
12598
|
-
email
|
|
12622
|
+
email?: string;
|
|
12599
12623
|
/** @description A list of Lago IDs for the customer's overdue invoices to start the dunning process */
|
|
12600
12624
|
lago_invoice_ids: string[];
|
|
12601
12625
|
/** @description Optional payment method to use for processing the payment request. */
|
|
@@ -15519,6 +15543,17 @@ export interface components {
|
|
|
15519
15543
|
* @example 5.0
|
|
15520
15544
|
*/
|
|
15521
15545
|
voided_credits?: string | null;
|
|
15546
|
+
/**
|
|
15547
|
+
* Format: uuid
|
|
15548
|
+
* @description Unique identifier of the inbound wallet transaction to void. Only available on traceable wallets, and the target transaction must still have a remaining amount.
|
|
15549
|
+
* @example 1a901a90-1a90-1a90-1a90-1a901a901a90
|
|
15550
|
+
*/
|
|
15551
|
+
voided_transaction_id?: string | null;
|
|
15552
|
+
/**
|
|
15553
|
+
* @description The priority of the wallet transaction. It drives the order in which credits are consumed. Allowed values: 1-50, where 1 is highest priority and 50 is lowest. Defaults to 50.
|
|
15554
|
+
* @example 50
|
|
15555
|
+
*/
|
|
15556
|
+
priority?: number;
|
|
15522
15557
|
/**
|
|
15523
15558
|
* @description A boolean setting that, when set to true, delays issuing an invoice for a wallet top-up until a successful payment is made; if false, the invoice is issued immediately upon wallet top-up, regardless of the payment status. Default value of false.
|
|
15524
15559
|
* @example false
|
|
@@ -15571,6 +15606,11 @@ export interface components {
|
|
|
15571
15606
|
* @example 1a901a90-1a90-1a90-1a90-1a901a901a90
|
|
15572
15607
|
*/
|
|
15573
15608
|
lago_wallet_id: string;
|
|
15609
|
+
/**
|
|
15610
|
+
* @description The code of the billing entity associated with the wallet transaction. Falls back to the wallet's billing entity when the transaction does not carry one.
|
|
15611
|
+
* @example default
|
|
15612
|
+
*/
|
|
15613
|
+
billing_entity_code?: string;
|
|
15574
15614
|
/**
|
|
15575
15615
|
* Format: uuid
|
|
15576
15616
|
* @description Unique identifier assigned to the invoice associated with this wallet transaction. This ID is exclusively created by Lago and serves as a unique identifier for the invoice's record within the Lago system.
|
|
@@ -16484,6 +16524,8 @@ export interface components {
|
|
|
16484
16524
|
purchase_order_number: string;
|
|
16485
16525
|
/** @description The customer external unique identifier (provided by your own application) */
|
|
16486
16526
|
external_customer_id_path: string;
|
|
16527
|
+
/** @description Filter the results by currency, expressed as an ISO 4217 code. */
|
|
16528
|
+
currency: string;
|
|
16487
16529
|
/** @description Filter by payment status. Possible values are `pending`, `failed` or `succeeded`. */
|
|
16488
16530
|
payment_status: "pending" | "failed" | "succeeded";
|
|
16489
16531
|
/** @description A unique wallet identifier within a customer. It is either set by the user at creation or auto-generated by Lago if not provided. */
|
|
@@ -16494,8 +16536,6 @@ export interface components {
|
|
|
16494
16536
|
lago_order_form_id: string;
|
|
16495
16537
|
/** @description Unique identifier assigned to the order within the Lago application. This ID is exclusively created by Lago and serves as a unique identifier for the order's record within the Lago system. */
|
|
16496
16538
|
lago_order_id: string;
|
|
16497
|
-
/** @description Filter the results by currency, expressed as an ISO 4217 code. */
|
|
16498
|
-
currency: string;
|
|
16499
16539
|
/** @description Code of the existing plan. */
|
|
16500
16540
|
plan_code: string;
|
|
16501
16541
|
/** @description Code of the existing charge. */
|
|
@@ -18304,6 +18344,8 @@ export interface operations {
|
|
|
18304
18344
|
page?: components["parameters"]["page"];
|
|
18305
18345
|
/** @description Number of records per page. */
|
|
18306
18346
|
per_page?: components["parameters"]["per_page"];
|
|
18347
|
+
/** @description Filter the results by currency, expressed as an ISO 4217 code. */
|
|
18348
|
+
currency?: components["parameters"]["currency"];
|
|
18307
18349
|
/** @description Filter by payment status. Possible values are `pending`, `failed` or `succeeded`. */
|
|
18308
18350
|
payment_status?: components["parameters"]["payment_status"];
|
|
18309
18351
|
/** @description Filter payment requests by billing entity codes. */
|
|
@@ -18409,6 +18451,8 @@ export interface operations {
|
|
|
18409
18451
|
page?: components["parameters"]["page"];
|
|
18410
18452
|
/** @description Number of records per page. */
|
|
18411
18453
|
per_page?: components["parameters"]["per_page"];
|
|
18454
|
+
/** @description Filter the results by currency, expressed as an ISO 4217 code. */
|
|
18455
|
+
currency?: components["parameters"]["currency"];
|
|
18412
18456
|
/** @description Filter wallets by billing entity codes. */
|
|
18413
18457
|
"billing_entity_codes[]"?: string[];
|
|
18414
18458
|
};
|
|
@@ -18681,7 +18725,12 @@ export interface operations {
|
|
|
18681
18725
|
};
|
|
18682
18726
|
getCustomerWalletAlerts: {
|
|
18683
18727
|
parameters: {
|
|
18684
|
-
query?:
|
|
18728
|
+
query?: {
|
|
18729
|
+
/** @description Page number. */
|
|
18730
|
+
page?: components["parameters"]["page"];
|
|
18731
|
+
/** @description Number of records per page. */
|
|
18732
|
+
per_page?: components["parameters"]["per_page"];
|
|
18733
|
+
};
|
|
18685
18734
|
header?: never;
|
|
18686
18735
|
path: {
|
|
18687
18736
|
/** @description The customer external unique identifier (provided by your own application) */
|
|
@@ -19060,7 +19109,7 @@ export interface operations {
|
|
|
19060
19109
|
};
|
|
19061
19110
|
requestBody?: never;
|
|
19062
19111
|
responses: {
|
|
19063
|
-
/** @description
|
|
19112
|
+
/** @description Payment method set as default */
|
|
19064
19113
|
200: {
|
|
19065
19114
|
headers: {
|
|
19066
19115
|
[name: string]: unknown;
|
|
@@ -20190,7 +20239,7 @@ export interface operations {
|
|
|
20190
20239
|
query?: never;
|
|
20191
20240
|
header?: never;
|
|
20192
20241
|
path: {
|
|
20193
|
-
/** @description
|
|
20242
|
+
/** @description Unique identifier of the payment receipt. */
|
|
20194
20243
|
lago_id: string;
|
|
20195
20244
|
};
|
|
20196
20245
|
cookie?: never;
|
|
@@ -21738,6 +21787,10 @@ export interface operations {
|
|
|
21738
21787
|
query?: {
|
|
21739
21788
|
/** @description Filter by subscription status. When provided, the subscription is looked up with this status instead of the default `active` status. Possible values are `pending`, `active`, `terminated`, or `canceled`. */
|
|
21740
21789
|
subscription_status?: components["parameters"]["subscription_status"];
|
|
21790
|
+
/** @description Page number. */
|
|
21791
|
+
page?: components["parameters"]["page"];
|
|
21792
|
+
/** @description Number of records per page. */
|
|
21793
|
+
per_page?: components["parameters"]["per_page"];
|
|
21741
21794
|
};
|
|
21742
21795
|
header?: never;
|
|
21743
21796
|
path: {
|
|
@@ -23005,6 +23058,8 @@ export interface operations {
|
|
|
23005
23058
|
transaction_status?: string;
|
|
23006
23059
|
/** @description The transaction type of the wallet transaction. Possible values are `inbound` (increasing the wallet balance) or `outbound` (decreasing the wallet balance). */
|
|
23007
23060
|
transaction_type?: string;
|
|
23061
|
+
/** @description Filter wallet transactions by metadata. Replace `key` with the actual metadata key you want to match, and provide the corresponding value. For example, `metadata[color]=blue`. */
|
|
23062
|
+
"metadata[key]"?: string;
|
|
23008
23063
|
};
|
|
23009
23064
|
header?: never;
|
|
23010
23065
|
path: {
|