@onesi/genesis 0.2.11 → 0.2.13
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/README.md +1 -1
- package/dist/client.js +1 -1
- package/dist/flares.d.ts +9 -0
- package/dist/flares.js +1 -0
- package/dist/gateway.d.ts +47 -1
- package/dist/gateway.js +5 -1
- package/dist/generated/operations.d.ts +1 -1
- package/dist/generated/operations.js +899 -237
- package/dist/generated/schema.d.ts +1570 -264
- package/dist/genesis.d.ts +53 -0
- package/dist/genesis.openapi.json +2610 -440
- package/dist/iam.d.ts +1 -1
- package/dist/iam.js +1 -1
- package/package.json +1 -1
package/dist/genesis.d.ts
CHANGED
|
@@ -6328,6 +6328,15 @@ export declare class Genesis extends GenesisClient {
|
|
|
6328
6328
|
start: (workflow_id: string, key: string) => Promise<{
|
|
6329
6329
|
[key: string]: unknown;
|
|
6330
6330
|
}>;
|
|
6331
|
+
delete: (workflow_id: string, key: string) => Promise<{
|
|
6332
|
+
id: string;
|
|
6333
|
+
deleted: boolean;
|
|
6334
|
+
workflow: {
|
|
6335
|
+
[key: string]: unknown;
|
|
6336
|
+
};
|
|
6337
|
+
} & {
|
|
6338
|
+
[key: string]: unknown;
|
|
6339
|
+
}>;
|
|
6331
6340
|
};
|
|
6332
6341
|
executions: {
|
|
6333
6342
|
list: () => Promise<{
|
|
@@ -7115,6 +7124,34 @@ export declare class Genesis extends GenesisClient {
|
|
|
7115
7124
|
granted_micro_usd: number;
|
|
7116
7125
|
};
|
|
7117
7126
|
}>;
|
|
7127
|
+
catalog: () => Promise<{
|
|
7128
|
+
object: "credits_catalog";
|
|
7129
|
+
version: string;
|
|
7130
|
+
billing_environment: "sandbox" | "live";
|
|
7131
|
+
test_mode: boolean;
|
|
7132
|
+
currency: "usd";
|
|
7133
|
+
pack_credits_per_usd: number;
|
|
7134
|
+
prices: components["schemas"]["Gateway.CreditCatalogPrice"][];
|
|
7135
|
+
payment_methods: {
|
|
7136
|
+
payment: string[];
|
|
7137
|
+
subscription: string[];
|
|
7138
|
+
};
|
|
7139
|
+
return_to: {
|
|
7140
|
+
origin?: string;
|
|
7141
|
+
path_prefix?: string;
|
|
7142
|
+
};
|
|
7143
|
+
wallet?: {
|
|
7144
|
+
token?: "usdc";
|
|
7145
|
+
networks?: ("base" | "solana")[];
|
|
7146
|
+
packs?: (10 | 25 | 50)[];
|
|
7147
|
+
usdc_per_usd?: number;
|
|
7148
|
+
intent_minutes?: number;
|
|
7149
|
+
jitter_max_cents?: number;
|
|
7150
|
+
test_networks?: {
|
|
7151
|
+
[key: string]: string;
|
|
7152
|
+
};
|
|
7153
|
+
};
|
|
7154
|
+
}>;
|
|
7118
7155
|
entries: (query?: {
|
|
7119
7156
|
limit?: number;
|
|
7120
7157
|
before?: string;
|
|
@@ -7137,6 +7174,22 @@ export declare class Genesis extends GenesisClient {
|
|
|
7137
7174
|
checkout: (body: In<"gateway_createCreditCheckout">["body"], idempotencyKey: string) => Promise<{
|
|
7138
7175
|
url: string;
|
|
7139
7176
|
}>;
|
|
7177
|
+
walletPayment: (body: In<"gateway_createCreditWalletPayment">["body"], idempotencyKey: string) => Promise<{
|
|
7178
|
+
payment_intent: string;
|
|
7179
|
+
status: "requires_action";
|
|
7180
|
+
pack: 10 | 25 | 50;
|
|
7181
|
+
network: "base" | "solana";
|
|
7182
|
+
token: "usdc";
|
|
7183
|
+
deposit_address: string;
|
|
7184
|
+
token_contract_address: string;
|
|
7185
|
+
amount_cents: number;
|
|
7186
|
+
amount_usd: string;
|
|
7187
|
+
amount_usdc_atomic: string;
|
|
7188
|
+
jitter_cents: number;
|
|
7189
|
+
credits: number;
|
|
7190
|
+
payer_address: string;
|
|
7191
|
+
expires_at: string;
|
|
7192
|
+
}>;
|
|
7140
7193
|
changeSubscription: (body: In<"gateway_changeCreditSubscription">["body"], idempotencyKey: string) => Promise<{
|
|
7141
7194
|
plan?: string;
|
|
7142
7195
|
subscription: components["schemas"]["Gateway.CreditSubscription"] | null;
|