@ai-matrx/desktop-protocol 0.21.38 → 0.21.39
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/CHANGELOG.md +5 -0
- package/dist/client.cjs +584 -499
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +2 -2
- package/dist/client.d.ts +2 -2
- package/dist/client.js +584 -499
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +1441 -1336
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +174 -6
- package/dist/index.d.ts +174 -6
- package/dist/index.js +1441 -1336
- package/dist/index.js.map +1 -1
- package/dist/{models-zxDeNnGE.d.cts → models-Ut2nuRzV.d.cts} +233 -1
- package/dist/{models-zxDeNnGE.d.ts → models-Ut2nuRzV.d.ts} +233 -1
- package/dist/react.d.cts +84 -1
- package/dist/react.d.ts +84 -1
- package/generated/desktop-protocol.schema.json +508 -1
- package/package.json +2 -2
|
@@ -711,7 +711,7 @@ type OpSpec = {
|
|
|
711
711
|
readonly params: z.ZodType;
|
|
712
712
|
readonly result: z.ZodType;
|
|
713
713
|
readonly kind: "unary" | "stream" | "resource";
|
|
714
|
-
readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6" | "1.8" | "1.9" | "1.10" | "1.11" | "1.16" | "1.17" | "1.19" | "1.20" | "1.21" | "1.22" | "1.23" | "1.24" | "1.26" | "1.28" | "1.29" | "1.30" | "1.31" | "1.37" | "1.38" | "1.39" | "1.40" | "1.43" | "1.44" | "1.45";
|
|
714
|
+
readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6" | "1.8" | "1.9" | "1.10" | "1.11" | "1.16" | "1.17" | "1.19" | "1.20" | "1.21" | "1.22" | "1.23" | "1.24" | "1.26" | "1.28" | "1.29" | "1.30" | "1.31" | "1.37" | "1.38" | "1.39" | "1.40" | "1.43" | "1.44" | "1.45" | "1.47";
|
|
715
715
|
readonly errors: readonly z.infer<typeof ErrorCode>[];
|
|
716
716
|
};
|
|
717
717
|
declare const OPS: {
|
|
@@ -2544,6 +2544,89 @@ declare const OPS: {
|
|
|
2544
2544
|
readonly since: "1.10";
|
|
2545
2545
|
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2546
2546
|
};
|
|
2547
|
+
readonly "apps.instances.list": {
|
|
2548
|
+
readonly params: z.ZodObject<{
|
|
2549
|
+
app_key: z.ZodString;
|
|
2550
|
+
}, z.core.$strict>;
|
|
2551
|
+
readonly result: z.ZodObject<{
|
|
2552
|
+
app_key: z.ZodString;
|
|
2553
|
+
install: z.ZodNullable<z.ZodObject<{
|
|
2554
|
+
location: z.ZodString;
|
|
2555
|
+
version: z.ZodNullable<z.ZodString>;
|
|
2556
|
+
}, z.core.$strict>>;
|
|
2557
|
+
instances: z.ZodArray<z.ZodObject<{
|
|
2558
|
+
app_key: z.ZodString;
|
|
2559
|
+
key: z.ZodString;
|
|
2560
|
+
main: z.ZodBoolean;
|
|
2561
|
+
status: z.ZodEnum<{
|
|
2562
|
+
open: "open";
|
|
2563
|
+
closed: "closed";
|
|
2564
|
+
wrong_account: "wrong_account";
|
|
2565
|
+
update_waiting: "update_waiting";
|
|
2566
|
+
folder_missing: "folder_missing";
|
|
2567
|
+
}>;
|
|
2568
|
+
running: z.ZodBoolean;
|
|
2569
|
+
pid: z.ZodNullable<z.ZodInt>;
|
|
2570
|
+
folder: z.ZodNullable<z.ZodString>;
|
|
2571
|
+
folder_exists: z.ZodBoolean;
|
|
2572
|
+
account_id: z.ZodNullable<z.ZodString>;
|
|
2573
|
+
account: z.ZodNullable<z.ZodString>;
|
|
2574
|
+
meant_for: z.ZodNullable<z.ZodString>;
|
|
2575
|
+
version: z.ZodNullable<z.ZodString>;
|
|
2576
|
+
installed_version: z.ZodNullable<z.ZodString>;
|
|
2577
|
+
open_chats: z.ZodInt;
|
|
2578
|
+
launched_ms: z.ZodNullable<z.ZodInt>;
|
|
2579
|
+
quit_ms: z.ZodNullable<z.ZodInt>;
|
|
2580
|
+
first_launch_ms: z.ZodNullable<z.ZodInt>;
|
|
2581
|
+
}, z.core.$strict>>;
|
|
2582
|
+
problem: z.ZodOptional<z.ZodString>;
|
|
2583
|
+
}, z.core.$strict>;
|
|
2584
|
+
readonly kind: "unary";
|
|
2585
|
+
readonly since: "1.47";
|
|
2586
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2587
|
+
};
|
|
2588
|
+
readonly "apps.accounts.list": {
|
|
2589
|
+
readonly params: z.ZodObject<{
|
|
2590
|
+
app_key: z.ZodString;
|
|
2591
|
+
}, z.core.$strict>;
|
|
2592
|
+
readonly result: z.ZodObject<{
|
|
2593
|
+
app_key: z.ZodString;
|
|
2594
|
+
accounts: z.ZodArray<z.ZodObject<{
|
|
2595
|
+
app_key: z.ZodString;
|
|
2596
|
+
account_id: z.ZodString;
|
|
2597
|
+
email: z.ZodNullable<z.ZodString>;
|
|
2598
|
+
plan: z.ZodNullable<z.ZodString>;
|
|
2599
|
+
orgs: z.ZodArray<z.ZodString>;
|
|
2600
|
+
weekly: z.ZodNullable<z.ZodNumber>;
|
|
2601
|
+
weekly_reset_since: z.ZodBoolean;
|
|
2602
|
+
weekly_resets_at_ms: z.ZodNullable<z.ZodInt>;
|
|
2603
|
+
weekly_reset_source: z.ZodNullable<z.ZodEnum<{
|
|
2604
|
+
app: "app";
|
|
2605
|
+
usage_history: "usage_history";
|
|
2606
|
+
your_list: "your_list";
|
|
2607
|
+
}>>;
|
|
2608
|
+
five_hour: z.ZodNullable<z.ZodNumber>;
|
|
2609
|
+
five_hour_reset_since: z.ZodBoolean;
|
|
2610
|
+
five_hour_resets_at_ms: z.ZodNullable<z.ZodInt>;
|
|
2611
|
+
extra_usage: z.ZodNullable<z.ZodNumber>;
|
|
2612
|
+
credits: z.ZodNullable<z.ZodNumber>;
|
|
2613
|
+
read_at_ms: z.ZodNullable<z.ZodInt>;
|
|
2614
|
+
read_in: z.ZodNullable<z.ZodString>;
|
|
2615
|
+
instances: z.ZodArray<z.ZodString>;
|
|
2616
|
+
first_seen_ms: z.ZodNullable<z.ZodInt>;
|
|
2617
|
+
last_seen_ms: z.ZodNullable<z.ZodInt>;
|
|
2618
|
+
missing: z.ZodArray<z.ZodEnum<{
|
|
2619
|
+
usage: "usage";
|
|
2620
|
+
plan: "plan";
|
|
2621
|
+
email: "email";
|
|
2622
|
+
}>>;
|
|
2623
|
+
}, z.core.$strict>>;
|
|
2624
|
+
problem: z.ZodOptional<z.ZodString>;
|
|
2625
|
+
}, z.core.$strict>;
|
|
2626
|
+
readonly kind: "unary";
|
|
2627
|
+
readonly since: "1.47";
|
|
2628
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2629
|
+
};
|
|
2547
2630
|
readonly "apps.projects.move": {
|
|
2548
2631
|
readonly params: z.ZodObject<{
|
|
2549
2632
|
app_key: z.ZodString;
|
|
@@ -8674,6 +8757,155 @@ type ServiceOpName<S extends ServiceId> = keyof (typeof SERVICES)[S]["ops"] & st
|
|
|
8674
8757
|
* which write zod's process-global registry as an import side effect.
|
|
8675
8758
|
*/
|
|
8676
8759
|
declare const NAMED_SCHEMAS: {
|
|
8760
|
+
readonly InstanceStatus: z.ZodEnum<{
|
|
8761
|
+
open: "open";
|
|
8762
|
+
closed: "closed";
|
|
8763
|
+
wrong_account: "wrong_account";
|
|
8764
|
+
update_waiting: "update_waiting";
|
|
8765
|
+
folder_missing: "folder_missing";
|
|
8766
|
+
}>;
|
|
8767
|
+
readonly AppInstall: z.ZodObject<{
|
|
8768
|
+
location: z.ZodString;
|
|
8769
|
+
version: z.ZodNullable<z.ZodString>;
|
|
8770
|
+
}, z.core.$strict>;
|
|
8771
|
+
readonly AppInstance: z.ZodObject<{
|
|
8772
|
+
app_key: z.ZodString;
|
|
8773
|
+
key: z.ZodString;
|
|
8774
|
+
main: z.ZodBoolean;
|
|
8775
|
+
status: z.ZodEnum<{
|
|
8776
|
+
open: "open";
|
|
8777
|
+
closed: "closed";
|
|
8778
|
+
wrong_account: "wrong_account";
|
|
8779
|
+
update_waiting: "update_waiting";
|
|
8780
|
+
folder_missing: "folder_missing";
|
|
8781
|
+
}>;
|
|
8782
|
+
running: z.ZodBoolean;
|
|
8783
|
+
pid: z.ZodNullable<z.ZodInt>;
|
|
8784
|
+
folder: z.ZodNullable<z.ZodString>;
|
|
8785
|
+
folder_exists: z.ZodBoolean;
|
|
8786
|
+
account_id: z.ZodNullable<z.ZodString>;
|
|
8787
|
+
account: z.ZodNullable<z.ZodString>;
|
|
8788
|
+
meant_for: z.ZodNullable<z.ZodString>;
|
|
8789
|
+
version: z.ZodNullable<z.ZodString>;
|
|
8790
|
+
installed_version: z.ZodNullable<z.ZodString>;
|
|
8791
|
+
open_chats: z.ZodInt;
|
|
8792
|
+
launched_ms: z.ZodNullable<z.ZodInt>;
|
|
8793
|
+
quit_ms: z.ZodNullable<z.ZodInt>;
|
|
8794
|
+
first_launch_ms: z.ZodNullable<z.ZodInt>;
|
|
8795
|
+
}, z.core.$strict>;
|
|
8796
|
+
readonly AccountResetSource: z.ZodEnum<{
|
|
8797
|
+
app: "app";
|
|
8798
|
+
usage_history: "usage_history";
|
|
8799
|
+
your_list: "your_list";
|
|
8800
|
+
}>;
|
|
8801
|
+
readonly AccountGap: z.ZodEnum<{
|
|
8802
|
+
usage: "usage";
|
|
8803
|
+
plan: "plan";
|
|
8804
|
+
email: "email";
|
|
8805
|
+
}>;
|
|
8806
|
+
readonly AppAccount: z.ZodObject<{
|
|
8807
|
+
app_key: z.ZodString;
|
|
8808
|
+
account_id: z.ZodString;
|
|
8809
|
+
email: z.ZodNullable<z.ZodString>;
|
|
8810
|
+
plan: z.ZodNullable<z.ZodString>;
|
|
8811
|
+
orgs: z.ZodArray<z.ZodString>;
|
|
8812
|
+
weekly: z.ZodNullable<z.ZodNumber>;
|
|
8813
|
+
weekly_reset_since: z.ZodBoolean;
|
|
8814
|
+
weekly_resets_at_ms: z.ZodNullable<z.ZodInt>;
|
|
8815
|
+
weekly_reset_source: z.ZodNullable<z.ZodEnum<{
|
|
8816
|
+
app: "app";
|
|
8817
|
+
usage_history: "usage_history";
|
|
8818
|
+
your_list: "your_list";
|
|
8819
|
+
}>>;
|
|
8820
|
+
five_hour: z.ZodNullable<z.ZodNumber>;
|
|
8821
|
+
five_hour_reset_since: z.ZodBoolean;
|
|
8822
|
+
five_hour_resets_at_ms: z.ZodNullable<z.ZodInt>;
|
|
8823
|
+
extra_usage: z.ZodNullable<z.ZodNumber>;
|
|
8824
|
+
credits: z.ZodNullable<z.ZodNumber>;
|
|
8825
|
+
read_at_ms: z.ZodNullable<z.ZodInt>;
|
|
8826
|
+
read_in: z.ZodNullable<z.ZodString>;
|
|
8827
|
+
instances: z.ZodArray<z.ZodString>;
|
|
8828
|
+
first_seen_ms: z.ZodNullable<z.ZodInt>;
|
|
8829
|
+
last_seen_ms: z.ZodNullable<z.ZodInt>;
|
|
8830
|
+
missing: z.ZodArray<z.ZodEnum<{
|
|
8831
|
+
usage: "usage";
|
|
8832
|
+
plan: "plan";
|
|
8833
|
+
email: "email";
|
|
8834
|
+
}>>;
|
|
8835
|
+
}, z.core.$strict>;
|
|
8836
|
+
readonly AppsInstancesListParams: z.ZodObject<{
|
|
8837
|
+
app_key: z.ZodString;
|
|
8838
|
+
}, z.core.$strict>;
|
|
8839
|
+
readonly AppsInstancesListResult: z.ZodObject<{
|
|
8840
|
+
app_key: z.ZodString;
|
|
8841
|
+
install: z.ZodNullable<z.ZodObject<{
|
|
8842
|
+
location: z.ZodString;
|
|
8843
|
+
version: z.ZodNullable<z.ZodString>;
|
|
8844
|
+
}, z.core.$strict>>;
|
|
8845
|
+
instances: z.ZodArray<z.ZodObject<{
|
|
8846
|
+
app_key: z.ZodString;
|
|
8847
|
+
key: z.ZodString;
|
|
8848
|
+
main: z.ZodBoolean;
|
|
8849
|
+
status: z.ZodEnum<{
|
|
8850
|
+
open: "open";
|
|
8851
|
+
closed: "closed";
|
|
8852
|
+
wrong_account: "wrong_account";
|
|
8853
|
+
update_waiting: "update_waiting";
|
|
8854
|
+
folder_missing: "folder_missing";
|
|
8855
|
+
}>;
|
|
8856
|
+
running: z.ZodBoolean;
|
|
8857
|
+
pid: z.ZodNullable<z.ZodInt>;
|
|
8858
|
+
folder: z.ZodNullable<z.ZodString>;
|
|
8859
|
+
folder_exists: z.ZodBoolean;
|
|
8860
|
+
account_id: z.ZodNullable<z.ZodString>;
|
|
8861
|
+
account: z.ZodNullable<z.ZodString>;
|
|
8862
|
+
meant_for: z.ZodNullable<z.ZodString>;
|
|
8863
|
+
version: z.ZodNullable<z.ZodString>;
|
|
8864
|
+
installed_version: z.ZodNullable<z.ZodString>;
|
|
8865
|
+
open_chats: z.ZodInt;
|
|
8866
|
+
launched_ms: z.ZodNullable<z.ZodInt>;
|
|
8867
|
+
quit_ms: z.ZodNullable<z.ZodInt>;
|
|
8868
|
+
first_launch_ms: z.ZodNullable<z.ZodInt>;
|
|
8869
|
+
}, z.core.$strict>>;
|
|
8870
|
+
problem: z.ZodOptional<z.ZodString>;
|
|
8871
|
+
}, z.core.$strict>;
|
|
8872
|
+
readonly AppsAccountsListParams: z.ZodObject<{
|
|
8873
|
+
app_key: z.ZodString;
|
|
8874
|
+
}, z.core.$strict>;
|
|
8875
|
+
readonly AppsAccountsListResult: z.ZodObject<{
|
|
8876
|
+
app_key: z.ZodString;
|
|
8877
|
+
accounts: z.ZodArray<z.ZodObject<{
|
|
8878
|
+
app_key: z.ZodString;
|
|
8879
|
+
account_id: z.ZodString;
|
|
8880
|
+
email: z.ZodNullable<z.ZodString>;
|
|
8881
|
+
plan: z.ZodNullable<z.ZodString>;
|
|
8882
|
+
orgs: z.ZodArray<z.ZodString>;
|
|
8883
|
+
weekly: z.ZodNullable<z.ZodNumber>;
|
|
8884
|
+
weekly_reset_since: z.ZodBoolean;
|
|
8885
|
+
weekly_resets_at_ms: z.ZodNullable<z.ZodInt>;
|
|
8886
|
+
weekly_reset_source: z.ZodNullable<z.ZodEnum<{
|
|
8887
|
+
app: "app";
|
|
8888
|
+
usage_history: "usage_history";
|
|
8889
|
+
your_list: "your_list";
|
|
8890
|
+
}>>;
|
|
8891
|
+
five_hour: z.ZodNullable<z.ZodNumber>;
|
|
8892
|
+
five_hour_reset_since: z.ZodBoolean;
|
|
8893
|
+
five_hour_resets_at_ms: z.ZodNullable<z.ZodInt>;
|
|
8894
|
+
extra_usage: z.ZodNullable<z.ZodNumber>;
|
|
8895
|
+
credits: z.ZodNullable<z.ZodNumber>;
|
|
8896
|
+
read_at_ms: z.ZodNullable<z.ZodInt>;
|
|
8897
|
+
read_in: z.ZodNullable<z.ZodString>;
|
|
8898
|
+
instances: z.ZodArray<z.ZodString>;
|
|
8899
|
+
first_seen_ms: z.ZodNullable<z.ZodInt>;
|
|
8900
|
+
last_seen_ms: z.ZodNullable<z.ZodInt>;
|
|
8901
|
+
missing: z.ZodArray<z.ZodEnum<{
|
|
8902
|
+
usage: "usage";
|
|
8903
|
+
plan: "plan";
|
|
8904
|
+
email: "email";
|
|
8905
|
+
}>>;
|
|
8906
|
+
}, z.core.$strict>>;
|
|
8907
|
+
problem: z.ZodOptional<z.ZodString>;
|
|
8908
|
+
}, z.core.$strict>;
|
|
8677
8909
|
readonly ProtocolVersion: z.ZodString;
|
|
8678
8910
|
readonly RequestId: z.ZodString;
|
|
8679
8911
|
readonly ResourceId: z.ZodString;
|
|
@@ -711,7 +711,7 @@ type OpSpec = {
|
|
|
711
711
|
readonly params: z.ZodType;
|
|
712
712
|
readonly result: z.ZodType;
|
|
713
713
|
readonly kind: "unary" | "stream" | "resource";
|
|
714
|
-
readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6" | "1.8" | "1.9" | "1.10" | "1.11" | "1.16" | "1.17" | "1.19" | "1.20" | "1.21" | "1.22" | "1.23" | "1.24" | "1.26" | "1.28" | "1.29" | "1.30" | "1.31" | "1.37" | "1.38" | "1.39" | "1.40" | "1.43" | "1.44" | "1.45";
|
|
714
|
+
readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6" | "1.8" | "1.9" | "1.10" | "1.11" | "1.16" | "1.17" | "1.19" | "1.20" | "1.21" | "1.22" | "1.23" | "1.24" | "1.26" | "1.28" | "1.29" | "1.30" | "1.31" | "1.37" | "1.38" | "1.39" | "1.40" | "1.43" | "1.44" | "1.45" | "1.47";
|
|
715
715
|
readonly errors: readonly z.infer<typeof ErrorCode>[];
|
|
716
716
|
};
|
|
717
717
|
declare const OPS: {
|
|
@@ -2544,6 +2544,89 @@ declare const OPS: {
|
|
|
2544
2544
|
readonly since: "1.10";
|
|
2545
2545
|
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2546
2546
|
};
|
|
2547
|
+
readonly "apps.instances.list": {
|
|
2548
|
+
readonly params: z.ZodObject<{
|
|
2549
|
+
app_key: z.ZodString;
|
|
2550
|
+
}, z.core.$strict>;
|
|
2551
|
+
readonly result: z.ZodObject<{
|
|
2552
|
+
app_key: z.ZodString;
|
|
2553
|
+
install: z.ZodNullable<z.ZodObject<{
|
|
2554
|
+
location: z.ZodString;
|
|
2555
|
+
version: z.ZodNullable<z.ZodString>;
|
|
2556
|
+
}, z.core.$strict>>;
|
|
2557
|
+
instances: z.ZodArray<z.ZodObject<{
|
|
2558
|
+
app_key: z.ZodString;
|
|
2559
|
+
key: z.ZodString;
|
|
2560
|
+
main: z.ZodBoolean;
|
|
2561
|
+
status: z.ZodEnum<{
|
|
2562
|
+
open: "open";
|
|
2563
|
+
closed: "closed";
|
|
2564
|
+
wrong_account: "wrong_account";
|
|
2565
|
+
update_waiting: "update_waiting";
|
|
2566
|
+
folder_missing: "folder_missing";
|
|
2567
|
+
}>;
|
|
2568
|
+
running: z.ZodBoolean;
|
|
2569
|
+
pid: z.ZodNullable<z.ZodInt>;
|
|
2570
|
+
folder: z.ZodNullable<z.ZodString>;
|
|
2571
|
+
folder_exists: z.ZodBoolean;
|
|
2572
|
+
account_id: z.ZodNullable<z.ZodString>;
|
|
2573
|
+
account: z.ZodNullable<z.ZodString>;
|
|
2574
|
+
meant_for: z.ZodNullable<z.ZodString>;
|
|
2575
|
+
version: z.ZodNullable<z.ZodString>;
|
|
2576
|
+
installed_version: z.ZodNullable<z.ZodString>;
|
|
2577
|
+
open_chats: z.ZodInt;
|
|
2578
|
+
launched_ms: z.ZodNullable<z.ZodInt>;
|
|
2579
|
+
quit_ms: z.ZodNullable<z.ZodInt>;
|
|
2580
|
+
first_launch_ms: z.ZodNullable<z.ZodInt>;
|
|
2581
|
+
}, z.core.$strict>>;
|
|
2582
|
+
problem: z.ZodOptional<z.ZodString>;
|
|
2583
|
+
}, z.core.$strict>;
|
|
2584
|
+
readonly kind: "unary";
|
|
2585
|
+
readonly since: "1.47";
|
|
2586
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2587
|
+
};
|
|
2588
|
+
readonly "apps.accounts.list": {
|
|
2589
|
+
readonly params: z.ZodObject<{
|
|
2590
|
+
app_key: z.ZodString;
|
|
2591
|
+
}, z.core.$strict>;
|
|
2592
|
+
readonly result: z.ZodObject<{
|
|
2593
|
+
app_key: z.ZodString;
|
|
2594
|
+
accounts: z.ZodArray<z.ZodObject<{
|
|
2595
|
+
app_key: z.ZodString;
|
|
2596
|
+
account_id: z.ZodString;
|
|
2597
|
+
email: z.ZodNullable<z.ZodString>;
|
|
2598
|
+
plan: z.ZodNullable<z.ZodString>;
|
|
2599
|
+
orgs: z.ZodArray<z.ZodString>;
|
|
2600
|
+
weekly: z.ZodNullable<z.ZodNumber>;
|
|
2601
|
+
weekly_reset_since: z.ZodBoolean;
|
|
2602
|
+
weekly_resets_at_ms: z.ZodNullable<z.ZodInt>;
|
|
2603
|
+
weekly_reset_source: z.ZodNullable<z.ZodEnum<{
|
|
2604
|
+
app: "app";
|
|
2605
|
+
usage_history: "usage_history";
|
|
2606
|
+
your_list: "your_list";
|
|
2607
|
+
}>>;
|
|
2608
|
+
five_hour: z.ZodNullable<z.ZodNumber>;
|
|
2609
|
+
five_hour_reset_since: z.ZodBoolean;
|
|
2610
|
+
five_hour_resets_at_ms: z.ZodNullable<z.ZodInt>;
|
|
2611
|
+
extra_usage: z.ZodNullable<z.ZodNumber>;
|
|
2612
|
+
credits: z.ZodNullable<z.ZodNumber>;
|
|
2613
|
+
read_at_ms: z.ZodNullable<z.ZodInt>;
|
|
2614
|
+
read_in: z.ZodNullable<z.ZodString>;
|
|
2615
|
+
instances: z.ZodArray<z.ZodString>;
|
|
2616
|
+
first_seen_ms: z.ZodNullable<z.ZodInt>;
|
|
2617
|
+
last_seen_ms: z.ZodNullable<z.ZodInt>;
|
|
2618
|
+
missing: z.ZodArray<z.ZodEnum<{
|
|
2619
|
+
usage: "usage";
|
|
2620
|
+
plan: "plan";
|
|
2621
|
+
email: "email";
|
|
2622
|
+
}>>;
|
|
2623
|
+
}, z.core.$strict>>;
|
|
2624
|
+
problem: z.ZodOptional<z.ZodString>;
|
|
2625
|
+
}, z.core.$strict>;
|
|
2626
|
+
readonly kind: "unary";
|
|
2627
|
+
readonly since: "1.47";
|
|
2628
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2629
|
+
};
|
|
2547
2630
|
readonly "apps.projects.move": {
|
|
2548
2631
|
readonly params: z.ZodObject<{
|
|
2549
2632
|
app_key: z.ZodString;
|
|
@@ -8674,6 +8757,155 @@ type ServiceOpName<S extends ServiceId> = keyof (typeof SERVICES)[S]["ops"] & st
|
|
|
8674
8757
|
* which write zod's process-global registry as an import side effect.
|
|
8675
8758
|
*/
|
|
8676
8759
|
declare const NAMED_SCHEMAS: {
|
|
8760
|
+
readonly InstanceStatus: z.ZodEnum<{
|
|
8761
|
+
open: "open";
|
|
8762
|
+
closed: "closed";
|
|
8763
|
+
wrong_account: "wrong_account";
|
|
8764
|
+
update_waiting: "update_waiting";
|
|
8765
|
+
folder_missing: "folder_missing";
|
|
8766
|
+
}>;
|
|
8767
|
+
readonly AppInstall: z.ZodObject<{
|
|
8768
|
+
location: z.ZodString;
|
|
8769
|
+
version: z.ZodNullable<z.ZodString>;
|
|
8770
|
+
}, z.core.$strict>;
|
|
8771
|
+
readonly AppInstance: z.ZodObject<{
|
|
8772
|
+
app_key: z.ZodString;
|
|
8773
|
+
key: z.ZodString;
|
|
8774
|
+
main: z.ZodBoolean;
|
|
8775
|
+
status: z.ZodEnum<{
|
|
8776
|
+
open: "open";
|
|
8777
|
+
closed: "closed";
|
|
8778
|
+
wrong_account: "wrong_account";
|
|
8779
|
+
update_waiting: "update_waiting";
|
|
8780
|
+
folder_missing: "folder_missing";
|
|
8781
|
+
}>;
|
|
8782
|
+
running: z.ZodBoolean;
|
|
8783
|
+
pid: z.ZodNullable<z.ZodInt>;
|
|
8784
|
+
folder: z.ZodNullable<z.ZodString>;
|
|
8785
|
+
folder_exists: z.ZodBoolean;
|
|
8786
|
+
account_id: z.ZodNullable<z.ZodString>;
|
|
8787
|
+
account: z.ZodNullable<z.ZodString>;
|
|
8788
|
+
meant_for: z.ZodNullable<z.ZodString>;
|
|
8789
|
+
version: z.ZodNullable<z.ZodString>;
|
|
8790
|
+
installed_version: z.ZodNullable<z.ZodString>;
|
|
8791
|
+
open_chats: z.ZodInt;
|
|
8792
|
+
launched_ms: z.ZodNullable<z.ZodInt>;
|
|
8793
|
+
quit_ms: z.ZodNullable<z.ZodInt>;
|
|
8794
|
+
first_launch_ms: z.ZodNullable<z.ZodInt>;
|
|
8795
|
+
}, z.core.$strict>;
|
|
8796
|
+
readonly AccountResetSource: z.ZodEnum<{
|
|
8797
|
+
app: "app";
|
|
8798
|
+
usage_history: "usage_history";
|
|
8799
|
+
your_list: "your_list";
|
|
8800
|
+
}>;
|
|
8801
|
+
readonly AccountGap: z.ZodEnum<{
|
|
8802
|
+
usage: "usage";
|
|
8803
|
+
plan: "plan";
|
|
8804
|
+
email: "email";
|
|
8805
|
+
}>;
|
|
8806
|
+
readonly AppAccount: z.ZodObject<{
|
|
8807
|
+
app_key: z.ZodString;
|
|
8808
|
+
account_id: z.ZodString;
|
|
8809
|
+
email: z.ZodNullable<z.ZodString>;
|
|
8810
|
+
plan: z.ZodNullable<z.ZodString>;
|
|
8811
|
+
orgs: z.ZodArray<z.ZodString>;
|
|
8812
|
+
weekly: z.ZodNullable<z.ZodNumber>;
|
|
8813
|
+
weekly_reset_since: z.ZodBoolean;
|
|
8814
|
+
weekly_resets_at_ms: z.ZodNullable<z.ZodInt>;
|
|
8815
|
+
weekly_reset_source: z.ZodNullable<z.ZodEnum<{
|
|
8816
|
+
app: "app";
|
|
8817
|
+
usage_history: "usage_history";
|
|
8818
|
+
your_list: "your_list";
|
|
8819
|
+
}>>;
|
|
8820
|
+
five_hour: z.ZodNullable<z.ZodNumber>;
|
|
8821
|
+
five_hour_reset_since: z.ZodBoolean;
|
|
8822
|
+
five_hour_resets_at_ms: z.ZodNullable<z.ZodInt>;
|
|
8823
|
+
extra_usage: z.ZodNullable<z.ZodNumber>;
|
|
8824
|
+
credits: z.ZodNullable<z.ZodNumber>;
|
|
8825
|
+
read_at_ms: z.ZodNullable<z.ZodInt>;
|
|
8826
|
+
read_in: z.ZodNullable<z.ZodString>;
|
|
8827
|
+
instances: z.ZodArray<z.ZodString>;
|
|
8828
|
+
first_seen_ms: z.ZodNullable<z.ZodInt>;
|
|
8829
|
+
last_seen_ms: z.ZodNullable<z.ZodInt>;
|
|
8830
|
+
missing: z.ZodArray<z.ZodEnum<{
|
|
8831
|
+
usage: "usage";
|
|
8832
|
+
plan: "plan";
|
|
8833
|
+
email: "email";
|
|
8834
|
+
}>>;
|
|
8835
|
+
}, z.core.$strict>;
|
|
8836
|
+
readonly AppsInstancesListParams: z.ZodObject<{
|
|
8837
|
+
app_key: z.ZodString;
|
|
8838
|
+
}, z.core.$strict>;
|
|
8839
|
+
readonly AppsInstancesListResult: z.ZodObject<{
|
|
8840
|
+
app_key: z.ZodString;
|
|
8841
|
+
install: z.ZodNullable<z.ZodObject<{
|
|
8842
|
+
location: z.ZodString;
|
|
8843
|
+
version: z.ZodNullable<z.ZodString>;
|
|
8844
|
+
}, z.core.$strict>>;
|
|
8845
|
+
instances: z.ZodArray<z.ZodObject<{
|
|
8846
|
+
app_key: z.ZodString;
|
|
8847
|
+
key: z.ZodString;
|
|
8848
|
+
main: z.ZodBoolean;
|
|
8849
|
+
status: z.ZodEnum<{
|
|
8850
|
+
open: "open";
|
|
8851
|
+
closed: "closed";
|
|
8852
|
+
wrong_account: "wrong_account";
|
|
8853
|
+
update_waiting: "update_waiting";
|
|
8854
|
+
folder_missing: "folder_missing";
|
|
8855
|
+
}>;
|
|
8856
|
+
running: z.ZodBoolean;
|
|
8857
|
+
pid: z.ZodNullable<z.ZodInt>;
|
|
8858
|
+
folder: z.ZodNullable<z.ZodString>;
|
|
8859
|
+
folder_exists: z.ZodBoolean;
|
|
8860
|
+
account_id: z.ZodNullable<z.ZodString>;
|
|
8861
|
+
account: z.ZodNullable<z.ZodString>;
|
|
8862
|
+
meant_for: z.ZodNullable<z.ZodString>;
|
|
8863
|
+
version: z.ZodNullable<z.ZodString>;
|
|
8864
|
+
installed_version: z.ZodNullable<z.ZodString>;
|
|
8865
|
+
open_chats: z.ZodInt;
|
|
8866
|
+
launched_ms: z.ZodNullable<z.ZodInt>;
|
|
8867
|
+
quit_ms: z.ZodNullable<z.ZodInt>;
|
|
8868
|
+
first_launch_ms: z.ZodNullable<z.ZodInt>;
|
|
8869
|
+
}, z.core.$strict>>;
|
|
8870
|
+
problem: z.ZodOptional<z.ZodString>;
|
|
8871
|
+
}, z.core.$strict>;
|
|
8872
|
+
readonly AppsAccountsListParams: z.ZodObject<{
|
|
8873
|
+
app_key: z.ZodString;
|
|
8874
|
+
}, z.core.$strict>;
|
|
8875
|
+
readonly AppsAccountsListResult: z.ZodObject<{
|
|
8876
|
+
app_key: z.ZodString;
|
|
8877
|
+
accounts: z.ZodArray<z.ZodObject<{
|
|
8878
|
+
app_key: z.ZodString;
|
|
8879
|
+
account_id: z.ZodString;
|
|
8880
|
+
email: z.ZodNullable<z.ZodString>;
|
|
8881
|
+
plan: z.ZodNullable<z.ZodString>;
|
|
8882
|
+
orgs: z.ZodArray<z.ZodString>;
|
|
8883
|
+
weekly: z.ZodNullable<z.ZodNumber>;
|
|
8884
|
+
weekly_reset_since: z.ZodBoolean;
|
|
8885
|
+
weekly_resets_at_ms: z.ZodNullable<z.ZodInt>;
|
|
8886
|
+
weekly_reset_source: z.ZodNullable<z.ZodEnum<{
|
|
8887
|
+
app: "app";
|
|
8888
|
+
usage_history: "usage_history";
|
|
8889
|
+
your_list: "your_list";
|
|
8890
|
+
}>>;
|
|
8891
|
+
five_hour: z.ZodNullable<z.ZodNumber>;
|
|
8892
|
+
five_hour_reset_since: z.ZodBoolean;
|
|
8893
|
+
five_hour_resets_at_ms: z.ZodNullable<z.ZodInt>;
|
|
8894
|
+
extra_usage: z.ZodNullable<z.ZodNumber>;
|
|
8895
|
+
credits: z.ZodNullable<z.ZodNumber>;
|
|
8896
|
+
read_at_ms: z.ZodNullable<z.ZodInt>;
|
|
8897
|
+
read_in: z.ZodNullable<z.ZodString>;
|
|
8898
|
+
instances: z.ZodArray<z.ZodString>;
|
|
8899
|
+
first_seen_ms: z.ZodNullable<z.ZodInt>;
|
|
8900
|
+
last_seen_ms: z.ZodNullable<z.ZodInt>;
|
|
8901
|
+
missing: z.ZodArray<z.ZodEnum<{
|
|
8902
|
+
usage: "usage";
|
|
8903
|
+
plan: "plan";
|
|
8904
|
+
email: "email";
|
|
8905
|
+
}>>;
|
|
8906
|
+
}, z.core.$strict>>;
|
|
8907
|
+
problem: z.ZodOptional<z.ZodString>;
|
|
8908
|
+
}, z.core.$strict>;
|
|
8677
8909
|
readonly ProtocolVersion: z.ZodString;
|
|
8678
8910
|
readonly RequestId: z.ZodString;
|
|
8679
8911
|
readonly ResourceId: z.ZodString;
|
package/dist/react.d.cts
CHANGED
|
@@ -1980,6 +1980,89 @@ declare const OPS: {
|
|
|
1980
1980
|
readonly since: "1.10";
|
|
1981
1981
|
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1982
1982
|
};
|
|
1983
|
+
readonly "apps.instances.list": {
|
|
1984
|
+
readonly params: z.ZodObject<{
|
|
1985
|
+
app_key: z.ZodString;
|
|
1986
|
+
}, z.core.$strict>;
|
|
1987
|
+
readonly result: z.ZodObject<{
|
|
1988
|
+
app_key: z.ZodString;
|
|
1989
|
+
install: z.ZodNullable<z.ZodObject<{
|
|
1990
|
+
location: z.ZodString;
|
|
1991
|
+
version: z.ZodNullable<z.ZodString>;
|
|
1992
|
+
}, z.core.$strict>>;
|
|
1993
|
+
instances: z.ZodArray<z.ZodObject<{
|
|
1994
|
+
app_key: z.ZodString;
|
|
1995
|
+
key: z.ZodString;
|
|
1996
|
+
main: z.ZodBoolean;
|
|
1997
|
+
status: z.ZodEnum<{
|
|
1998
|
+
open: "open";
|
|
1999
|
+
closed: "closed";
|
|
2000
|
+
wrong_account: "wrong_account";
|
|
2001
|
+
update_waiting: "update_waiting";
|
|
2002
|
+
folder_missing: "folder_missing";
|
|
2003
|
+
}>;
|
|
2004
|
+
running: z.ZodBoolean;
|
|
2005
|
+
pid: z.ZodNullable<z.ZodInt>;
|
|
2006
|
+
folder: z.ZodNullable<z.ZodString>;
|
|
2007
|
+
folder_exists: z.ZodBoolean;
|
|
2008
|
+
account_id: z.ZodNullable<z.ZodString>;
|
|
2009
|
+
account: z.ZodNullable<z.ZodString>;
|
|
2010
|
+
meant_for: z.ZodNullable<z.ZodString>;
|
|
2011
|
+
version: z.ZodNullable<z.ZodString>;
|
|
2012
|
+
installed_version: z.ZodNullable<z.ZodString>;
|
|
2013
|
+
open_chats: z.ZodInt;
|
|
2014
|
+
launched_ms: z.ZodNullable<z.ZodInt>;
|
|
2015
|
+
quit_ms: z.ZodNullable<z.ZodInt>;
|
|
2016
|
+
first_launch_ms: z.ZodNullable<z.ZodInt>;
|
|
2017
|
+
}, z.core.$strict>>;
|
|
2018
|
+
problem: z.ZodOptional<z.ZodString>;
|
|
2019
|
+
}, z.core.$strict>;
|
|
2020
|
+
readonly kind: "unary";
|
|
2021
|
+
readonly since: "1.47";
|
|
2022
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2023
|
+
};
|
|
2024
|
+
readonly "apps.accounts.list": {
|
|
2025
|
+
readonly params: z.ZodObject<{
|
|
2026
|
+
app_key: z.ZodString;
|
|
2027
|
+
}, z.core.$strict>;
|
|
2028
|
+
readonly result: z.ZodObject<{
|
|
2029
|
+
app_key: z.ZodString;
|
|
2030
|
+
accounts: z.ZodArray<z.ZodObject<{
|
|
2031
|
+
app_key: z.ZodString;
|
|
2032
|
+
account_id: z.ZodString;
|
|
2033
|
+
email: z.ZodNullable<z.ZodString>;
|
|
2034
|
+
plan: z.ZodNullable<z.ZodString>;
|
|
2035
|
+
orgs: z.ZodArray<z.ZodString>;
|
|
2036
|
+
weekly: z.ZodNullable<z.ZodNumber>;
|
|
2037
|
+
weekly_reset_since: z.ZodBoolean;
|
|
2038
|
+
weekly_resets_at_ms: z.ZodNullable<z.ZodInt>;
|
|
2039
|
+
weekly_reset_source: z.ZodNullable<z.ZodEnum<{
|
|
2040
|
+
app: "app";
|
|
2041
|
+
usage_history: "usage_history";
|
|
2042
|
+
your_list: "your_list";
|
|
2043
|
+
}>>;
|
|
2044
|
+
five_hour: z.ZodNullable<z.ZodNumber>;
|
|
2045
|
+
five_hour_reset_since: z.ZodBoolean;
|
|
2046
|
+
five_hour_resets_at_ms: z.ZodNullable<z.ZodInt>;
|
|
2047
|
+
extra_usage: z.ZodNullable<z.ZodNumber>;
|
|
2048
|
+
credits: z.ZodNullable<z.ZodNumber>;
|
|
2049
|
+
read_at_ms: z.ZodNullable<z.ZodInt>;
|
|
2050
|
+
read_in: z.ZodNullable<z.ZodString>;
|
|
2051
|
+
instances: z.ZodArray<z.ZodString>;
|
|
2052
|
+
first_seen_ms: z.ZodNullable<z.ZodInt>;
|
|
2053
|
+
last_seen_ms: z.ZodNullable<z.ZodInt>;
|
|
2054
|
+
missing: z.ZodArray<z.ZodEnum<{
|
|
2055
|
+
usage: "usage";
|
|
2056
|
+
plan: "plan";
|
|
2057
|
+
email: "email";
|
|
2058
|
+
}>>;
|
|
2059
|
+
}, z.core.$strict>>;
|
|
2060
|
+
problem: z.ZodOptional<z.ZodString>;
|
|
2061
|
+
}, z.core.$strict>;
|
|
2062
|
+
readonly kind: "unary";
|
|
2063
|
+
readonly since: "1.47";
|
|
2064
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2065
|
+
};
|
|
1983
2066
|
readonly "apps.projects.move": {
|
|
1984
2067
|
readonly params: z.ZodObject<{
|
|
1985
2068
|
app_key: z.ZodString;
|
|
@@ -6039,8 +6122,8 @@ declare const OPS: {
|
|
|
6039
6122
|
kind: z.ZodEnum<{
|
|
6040
6123
|
progress: "progress";
|
|
6041
6124
|
timeout: "timeout";
|
|
6042
|
-
result: "result";
|
|
6043
6125
|
closed: "closed";
|
|
6126
|
+
result: "result";
|
|
6044
6127
|
register: "register";
|
|
6045
6128
|
invoke: "invoke";
|
|
6046
6129
|
}>;
|