@capgo/cli 8.68.2 → 8.70.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/dist/index.js +390 -389
- package/dist/notify-app-ready-worker.js +77 -76
- package/dist/onboarding-worker.js +127 -126
- package/dist/package.json +1 -1
- package/dist/src/sdk.js +179 -178
- package/dist/src/types/supabase.types.d.ts +26 -0
- package/dist/src/utils.d.ts +26 -0
- package/dist/updater-installed-worker.js +62 -61
- package/package.json +1 -1
|
@@ -3389,6 +3389,14 @@ export type Database = {
|
|
|
3389
3389
|
};
|
|
3390
3390
|
Returns: string;
|
|
3391
3391
|
};
|
|
3392
|
+
ack_updates_cache_purge: {
|
|
3393
|
+
Args: {
|
|
3394
|
+
p_lease_token: string;
|
|
3395
|
+
p_retry_after_seconds?: number;
|
|
3396
|
+
p_success: boolean;
|
|
3397
|
+
};
|
|
3398
|
+
Returns: undefined;
|
|
3399
|
+
};
|
|
3392
3400
|
acknowledge_compatibility_event: {
|
|
3393
3401
|
Args: {
|
|
3394
3402
|
event_id: number;
|
|
@@ -3418,6 +3426,7 @@ export type Database = {
|
|
|
3418
3426
|
p_billing_cycle_end: string;
|
|
3419
3427
|
p_billing_cycle_start: string;
|
|
3420
3428
|
p_details?: Json;
|
|
3429
|
+
p_included_amount?: number;
|
|
3421
3430
|
p_metric: Database["public"]["Enums"]["credit_metric_type"];
|
|
3422
3431
|
p_org_id: string;
|
|
3423
3432
|
p_overage_amount: number;
|
|
@@ -3447,6 +3456,17 @@ export type Database = {
|
|
|
3447
3456
|
credit_step_id: number;
|
|
3448
3457
|
credits_required: number;
|
|
3449
3458
|
}[];
|
|
3459
|
+
} | {
|
|
3460
|
+
Args: {
|
|
3461
|
+
p_included_amount: number;
|
|
3462
|
+
p_metric: Database["public"]["Enums"]["credit_metric_type"];
|
|
3463
|
+
p_overage_amount: number;
|
|
3464
|
+
};
|
|
3465
|
+
Returns: {
|
|
3466
|
+
credit_cost_per_unit: number;
|
|
3467
|
+
credit_step_id: number;
|
|
3468
|
+
credits_required: number;
|
|
3469
|
+
}[];
|
|
3450
3470
|
};
|
|
3451
3471
|
calculate_org_metrics_cache_entry: {
|
|
3452
3472
|
Args: {
|
|
@@ -3538,6 +3558,12 @@ export type Database = {
|
|
|
3538
3558
|
};
|
|
3539
3559
|
Returns: undefined;
|
|
3540
3560
|
};
|
|
3561
|
+
claim_updates_cache_purge: {
|
|
3562
|
+
Args: {
|
|
3563
|
+
p_limit?: number;
|
|
3564
|
+
};
|
|
3565
|
+
Returns: Json;
|
|
3566
|
+
};
|
|
3541
3567
|
cleanup_expired_apikeys: {
|
|
3542
3568
|
Args: never;
|
|
3543
3569
|
Returns: undefined;
|
package/dist/src/utils.d.ts
CHANGED
|
@@ -3449,6 +3449,14 @@ export declare function createSupabaseClient(apikey: string, supaHost?: string,
|
|
|
3449
3449
|
};
|
|
3450
3450
|
Returns: string;
|
|
3451
3451
|
};
|
|
3452
|
+
ack_updates_cache_purge: {
|
|
3453
|
+
Args: {
|
|
3454
|
+
p_lease_token: string;
|
|
3455
|
+
p_retry_after_seconds?: number;
|
|
3456
|
+
p_success: boolean;
|
|
3457
|
+
};
|
|
3458
|
+
Returns: undefined;
|
|
3459
|
+
};
|
|
3452
3460
|
acknowledge_compatibility_event: {
|
|
3453
3461
|
Args: {
|
|
3454
3462
|
event_id: number;
|
|
@@ -3478,6 +3486,7 @@ export declare function createSupabaseClient(apikey: string, supaHost?: string,
|
|
|
3478
3486
|
p_billing_cycle_end: string;
|
|
3479
3487
|
p_billing_cycle_start: string;
|
|
3480
3488
|
p_details?: import("./types/supabase.types").Json;
|
|
3489
|
+
p_included_amount?: number;
|
|
3481
3490
|
p_metric: Database["public"]["Enums"]["credit_metric_type"];
|
|
3482
3491
|
p_org_id: string;
|
|
3483
3492
|
p_overage_amount: number;
|
|
@@ -3507,6 +3516,17 @@ export declare function createSupabaseClient(apikey: string, supaHost?: string,
|
|
|
3507
3516
|
credit_step_id: number;
|
|
3508
3517
|
credits_required: number;
|
|
3509
3518
|
}[];
|
|
3519
|
+
} | {
|
|
3520
|
+
Args: {
|
|
3521
|
+
p_included_amount: number;
|
|
3522
|
+
p_metric: Database["public"]["Enums"]["credit_metric_type"];
|
|
3523
|
+
p_overage_amount: number;
|
|
3524
|
+
};
|
|
3525
|
+
Returns: {
|
|
3526
|
+
credit_cost_per_unit: number;
|
|
3527
|
+
credit_step_id: number;
|
|
3528
|
+
credits_required: number;
|
|
3529
|
+
}[];
|
|
3510
3530
|
};
|
|
3511
3531
|
calculate_org_metrics_cache_entry: {
|
|
3512
3532
|
Args: {
|
|
@@ -3598,6 +3618,12 @@ export declare function createSupabaseClient(apikey: string, supaHost?: string,
|
|
|
3598
3618
|
};
|
|
3599
3619
|
Returns: undefined;
|
|
3600
3620
|
};
|
|
3621
|
+
claim_updates_cache_purge: {
|
|
3622
|
+
Args: {
|
|
3623
|
+
p_limit?: number;
|
|
3624
|
+
};
|
|
3625
|
+
Returns: import("./types/supabase.types").Json;
|
|
3626
|
+
};
|
|
3601
3627
|
cleanup_expired_apikeys: {
|
|
3602
3628
|
Args: never;
|
|
3603
3629
|
Returns: undefined;
|