Initial project import

This commit is contained in:
drjones
2026-06-13 17:36:44 -07:00
commit ad2a18cc8d
18471 changed files with 4497570 additions and 0 deletions

79
node_modules/stripe/esm/resources/Reserve/Holds.d.ts generated vendored Normal file
View File

@@ -0,0 +1,79 @@
import { Plan } from './Plans.js';
import { Charge } from './../Charges.js';
import { Metadata } from '../../shared.js';
export interface Hold {
/**
* Unique identifier for the object.
*/
id: string;
/**
* String representing the object's type. Objects of the same type share the same value.
*/
object: 'reserve.hold';
/**
* Amount reserved. A positive integer representing how much is reserved in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
*/
amount: number;
/**
* Amount in cents that can be released from this ReserveHold
*/
amount_releasable?: number;
/**
* Time at which the object was created. Measured in seconds since the Unix epoch.
*/
created: number;
/**
* Indicates which party created this ReserveHold.
*/
created_by: Reserve.Hold.CreatedBy;
/**
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
*/
currency: string;
/**
* Whether there are any funds available to release on this ReserveHold. Note that if the ReserveHold is in the process of being released, this could be false, even though the funds haven't been fully released yet.
*/
is_releasable?: boolean;
/**
* If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
*/
livemode: boolean;
/**
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
*/
metadata?: Metadata;
/**
* The reason for the ReserveHold.
*/
reason: Reserve.Hold.Reason;
release_schedule: Reserve.Hold.ReleaseSchedule;
/**
* The ReservePlan which produced this ReserveHold (i.e., resplan_123)
*/
reserve_plan: string | Plan | null;
/**
* The Charge which funded this ReserveHold (e.g., ch_123)
*/
source_charge: string | Charge | null;
/**
* Which source balance type this ReserveHold reserves funds from. One of `bank_account`, `card`, or `fpx`.
*/
source_type: Reserve.Hold.SourceType;
}
export declare namespace Reserve {
namespace Hold {
type CreatedBy = 'application' | 'stripe';
type Reason = 'charge' | 'standalone';
interface ReleaseSchedule {
/**
* The time after which the ReserveHold is requested to be released.
*/
release_after: number | null;
/**
* The time at which the ReserveHold is scheduled to be released, automatically set to midnight UTC of the day after `release_after`.
*/
scheduled_release: number | null;
}
type SourceType = 'bank_account' | 'card' | 'fpx';
}
}

3
node_modules/stripe/esm/resources/Reserve/Holds.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
// File generated from our OpenAPI spec
export {};
//# sourceMappingURL=Holds.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"Holds.js","sourceRoot":"","sources":["../../../src/resources/Reserve/Holds.ts"],"names":[],"mappings":"AAAA,uCAAuC"}

76
node_modules/stripe/esm/resources/Reserve/Plans.d.ts generated vendored Normal file
View File

@@ -0,0 +1,76 @@
import { Metadata } from '../../shared.js';
export interface Plan {
/**
* Unique identifier for the object.
*/
id: string;
/**
* String representing the object's type. Objects of the same type share the same value.
*/
object: 'reserve.plan';
/**
* Time at which the object was created. Measured in seconds since the Unix epoch.
*/
created: number;
/**
* Indicates which party created this ReservePlan.
*/
created_by: Reserve.Plan.CreatedBy;
/**
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). An unset currency indicates that the plan applies to all currencies.
*/
currency: string | null;
/**
* Time at which the ReservePlan was disabled.
*/
disabled_at: number | null;
fixed_release?: Reserve.Plan.FixedRelease;
/**
* If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
*/
livemode: boolean;
/**
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
*/
metadata?: Metadata;
/**
* The percent of each Charge to reserve.
*/
percent: number;
rolling_release?: Reserve.Plan.RollingRelease;
/**
* The current status of the ReservePlan. The ReservePlan only affects charges if it is `active`.
*/
status: Reserve.Plan.Status;
/**
* The type of the ReservePlan.
*/
type: Reserve.Plan.Type;
}
export declare namespace Reserve {
namespace Plan {
type CreatedBy = 'application' | 'stripe';
interface FixedRelease {
/**
* The time after which all reserved funds are requested for release.
*/
release_after: number;
/**
* The time at which reserved funds are scheduled for release, automatically set to midnight UTC of the day after `release_after`.
*/
scheduled_release: number;
}
interface RollingRelease {
/**
* The number of days to reserve funds before releasing.
*/
days_after_charge: number;
/**
* The time at which the ReservePlan expires.
*/
expires_on: number | null;
}
type Status = 'active' | 'disabled' | 'expired';
type Type = 'fixed_release' | 'rolling_release';
}
}

3
node_modules/stripe/esm/resources/Reserve/Plans.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
// File generated from our OpenAPI spec
export {};
//# sourceMappingURL=Plans.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"Plans.js","sourceRoot":"","sources":["../../../src/resources/Reserve/Plans.ts"],"names":[],"mappings":"AAAA,uCAAuC"}

View File

@@ -0,0 +1,79 @@
import { Hold } from './Holds.js';
import { Plan } from './Plans.js';
import { Dispute } from './../Disputes.js';
import { Refund } from './../Refunds.js';
import { Metadata } from '../../shared.js';
export interface Release {
/**
* Unique identifier for the object.
*/
id: string;
/**
* String representing the object's type. Objects of the same type share the same value.
*/
object: 'reserve.release';
/**
* Amount released. A positive integer representing how much is released in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
*/
amount: number;
/**
* Time at which the object was created. Measured in seconds since the Unix epoch.
*/
created: number;
/**
* Indicates which party created this ReserveRelease.
*/
created_by: Reserve.Release.CreatedBy;
/**
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
*/
currency: string;
/**
* If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
*/
livemode: boolean;
/**
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
*/
metadata?: Metadata;
/**
* The reason for the ReserveRelease, indicating why the funds were released.
*/
reason: Reserve.Release.Reason;
/**
* The release timestamp of the funds.
*/
released_at: number;
/**
* The ReserveHold this ReserveRelease is associated with.
*/
reserve_hold: string | Hold | null;
/**
* The ReservePlan ID this ReserveRelease is associated with. This field is only populated if a ReserveRelease is created by a ReservePlan disable operation, or from a scheduled ReservedHold expiry.
*/
reserve_plan: string | Plan | null;
source_transaction?: Reserve.Release.SourceTransaction;
}
export declare namespace Reserve {
namespace Release {
type CreatedBy = 'application' | 'stripe';
type Reason = 'bulk_hold_expiry' | 'hold_released_early' | 'hold_reversed' | 'plan_disabled';
interface SourceTransaction {
/**
* The ID of the dispute.
*/
dispute?: string | Dispute;
/**
* The ID of the refund.
*/
refund?: string | Refund;
/**
* The type of source transaction.
*/
type: SourceTransaction.Type;
}
namespace SourceTransaction {
type Type = 'dispute' | 'refund';
}
}
}

View File

@@ -0,0 +1,3 @@
// File generated from our OpenAPI spec
export {};
//# sourceMappingURL=Releases.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"Releases.js","sourceRoot":"","sources":["../../../src/resources/Reserve/Releases.ts"],"names":[],"mappings":"AAAA,uCAAuC"}

13
node_modules/stripe/esm/resources/Reserve/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,13 @@
import { Hold } from './Holds.js';
import { Plan } from './Plans.js';
import { Release } from './Releases.js';
export { Hold } from './Holds.js';
export { Plan } from './Plans.js';
export { Release } from './Releases.js';
export declare class Reserve {
}
export declare namespace Reserve {
export { Hold };
export { Plan };
export { Release };
}

5
node_modules/stripe/esm/resources/Reserve/index.js generated vendored Normal file
View File

@@ -0,0 +1,5 @@
// eslint-disable-next-line no-warning-comments
// TODO(prathmesh): https://go/j/DEVSDK-3050 Generate this class with codegen
export class Reserve {
}
//# sourceMappingURL=index.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/Reserve/index.ts"],"names":[],"mappings":"AAAA,+CAA+C;AAC/C,6EAA6E;AAU7E,MAAM,OAAO,OAAO;CAAG"}