@open-wa/schema 5.6.3 → 5.6.4
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.
|
@@ -10831,11 +10831,6 @@ export declare abstract class BaseNamespacedClient extends BaseClient {
|
|
|
10831
10831
|
caption?: string | undefined;
|
|
10832
10832
|
viewOnce?: boolean | undefined;
|
|
10833
10833
|
type: "image";
|
|
10834
|
-
} | {
|
|
10835
|
-
quotedMsgId?: string | undefined;
|
|
10836
|
-
caption?: string | undefined;
|
|
10837
|
-
viewOnce?: boolean | undefined;
|
|
10838
|
-
type?: "auto" | undefined;
|
|
10839
10834
|
} | {
|
|
10840
10835
|
quotedMsgId?: string | undefined;
|
|
10841
10836
|
caption?: string | undefined;
|
|
@@ -10847,6 +10842,11 @@ export declare abstract class BaseNamespacedClient extends BaseClient {
|
|
|
10847
10842
|
quotedMsgId?: string | undefined;
|
|
10848
10843
|
caption?: string | undefined;
|
|
10849
10844
|
type: "document";
|
|
10845
|
+
} | {
|
|
10846
|
+
quotedMsgId?: string | undefined;
|
|
10847
|
+
caption?: string | undefined;
|
|
10848
|
+
viewOnce?: boolean | undefined;
|
|
10849
|
+
type?: "auto" | undefined;
|
|
10850
10850
|
} | undefined;
|
|
10851
10851
|
}] | [{
|
|
10852
10852
|
to: string;
|
|
@@ -10862,11 +10862,6 @@ export declare abstract class BaseNamespacedClient extends BaseClient {
|
|
|
10862
10862
|
caption?: string | undefined;
|
|
10863
10863
|
viewOnce?: boolean | undefined;
|
|
10864
10864
|
type: "image";
|
|
10865
|
-
} | {
|
|
10866
|
-
quotedMsgId?: string | undefined;
|
|
10867
|
-
caption?: string | undefined;
|
|
10868
|
-
viewOnce?: boolean | undefined;
|
|
10869
|
-
type?: "auto" | undefined;
|
|
10870
10865
|
} | {
|
|
10871
10866
|
quotedMsgId?: string | undefined;
|
|
10872
10867
|
caption?: string | undefined;
|
|
@@ -10878,6 +10873,11 @@ export declare abstract class BaseNamespacedClient extends BaseClient {
|
|
|
10878
10873
|
quotedMsgId?: string | undefined;
|
|
10879
10874
|
caption?: string | undefined;
|
|
10880
10875
|
type: "document";
|
|
10876
|
+
} | {
|
|
10877
|
+
quotedMsgId?: string | undefined;
|
|
10878
|
+
caption?: string | undefined;
|
|
10879
|
+
viewOnce?: boolean | undefined;
|
|
10880
|
+
type?: "auto" | undefined;
|
|
10881
10881
|
} | undefined;
|
|
10882
10882
|
}, ...unknown[]]) => Promise<boolean | {
|
|
10883
10883
|
[x: string]: unknown;
|
|
@@ -10897,11 +10897,6 @@ export declare abstract class BaseNamespacedClient extends BaseClient {
|
|
|
10897
10897
|
caption?: string | undefined;
|
|
10898
10898
|
viewOnce?: boolean | undefined;
|
|
10899
10899
|
type: "image";
|
|
10900
|
-
} | {
|
|
10901
|
-
quotedMsgId?: string | undefined;
|
|
10902
|
-
caption?: string | undefined;
|
|
10903
|
-
viewOnce?: boolean | undefined;
|
|
10904
|
-
type?: "auto" | undefined;
|
|
10905
10900
|
} | {
|
|
10906
10901
|
quotedMsgId?: string | undefined;
|
|
10907
10902
|
caption?: string | undefined;
|
|
@@ -10913,6 +10908,11 @@ export declare abstract class BaseNamespacedClient extends BaseClient {
|
|
|
10913
10908
|
quotedMsgId?: string | undefined;
|
|
10914
10909
|
caption?: string | undefined;
|
|
10915
10910
|
type: "document";
|
|
10911
|
+
} | {
|
|
10912
|
+
quotedMsgId?: string | undefined;
|
|
10913
|
+
caption?: string | undefined;
|
|
10914
|
+
viewOnce?: boolean | undefined;
|
|
10915
|
+
type?: "auto" | undefined;
|
|
10916
10916
|
} | undefined;
|
|
10917
10917
|
headers?: Record<string, string> | undefined;
|
|
10918
10918
|
}] | [{
|
|
@@ -10929,11 +10929,6 @@ export declare abstract class BaseNamespacedClient extends BaseClient {
|
|
|
10929
10929
|
caption?: string | undefined;
|
|
10930
10930
|
viewOnce?: boolean | undefined;
|
|
10931
10931
|
type: "image";
|
|
10932
|
-
} | {
|
|
10933
|
-
quotedMsgId?: string | undefined;
|
|
10934
|
-
caption?: string | undefined;
|
|
10935
|
-
viewOnce?: boolean | undefined;
|
|
10936
|
-
type?: "auto" | undefined;
|
|
10937
10932
|
} | {
|
|
10938
10933
|
quotedMsgId?: string | undefined;
|
|
10939
10934
|
caption?: string | undefined;
|
|
@@ -10945,6 +10940,11 @@ export declare abstract class BaseNamespacedClient extends BaseClient {
|
|
|
10945
10940
|
quotedMsgId?: string | undefined;
|
|
10946
10941
|
caption?: string | undefined;
|
|
10947
10942
|
type: "document";
|
|
10943
|
+
} | {
|
|
10944
|
+
quotedMsgId?: string | undefined;
|
|
10945
|
+
caption?: string | undefined;
|
|
10946
|
+
viewOnce?: boolean | undefined;
|
|
10947
|
+
type?: "auto" | undefined;
|
|
10948
10948
|
} | undefined;
|
|
10949
10949
|
headers?: Record<string, string> | undefined;
|
|
10950
10950
|
}, ...unknown[]]) => Promise<string | boolean | {
|
|
@@ -10965,11 +10965,6 @@ export declare abstract class BaseNamespacedClient extends BaseClient {
|
|
|
10965
10965
|
caption?: string | undefined;
|
|
10966
10966
|
viewOnce?: boolean | undefined;
|
|
10967
10967
|
type: "image";
|
|
10968
|
-
} | {
|
|
10969
|
-
quotedMsgId?: string | undefined;
|
|
10970
|
-
caption?: string | undefined;
|
|
10971
|
-
viewOnce?: boolean | undefined;
|
|
10972
|
-
type?: "auto" | undefined;
|
|
10973
10968
|
} | {
|
|
10974
10969
|
quotedMsgId?: string | undefined;
|
|
10975
10970
|
caption?: string | undefined;
|
|
@@ -10981,6 +10976,11 @@ export declare abstract class BaseNamespacedClient extends BaseClient {
|
|
|
10981
10976
|
quotedMsgId?: string | undefined;
|
|
10982
10977
|
caption?: string | undefined;
|
|
10983
10978
|
type: "document";
|
|
10979
|
+
} | {
|
|
10980
|
+
quotedMsgId?: string | undefined;
|
|
10981
|
+
caption?: string | undefined;
|
|
10982
|
+
viewOnce?: boolean | undefined;
|
|
10983
|
+
type?: "auto" | undefined;
|
|
10984
10984
|
} | undefined;
|
|
10985
10985
|
}] | [{
|
|
10986
10986
|
to: string;
|
|
@@ -10996,11 +10996,6 @@ export declare abstract class BaseNamespacedClient extends BaseClient {
|
|
|
10996
10996
|
caption?: string | undefined;
|
|
10997
10997
|
viewOnce?: boolean | undefined;
|
|
10998
10998
|
type: "image";
|
|
10999
|
-
} | {
|
|
11000
|
-
quotedMsgId?: string | undefined;
|
|
11001
|
-
caption?: string | undefined;
|
|
11002
|
-
viewOnce?: boolean | undefined;
|
|
11003
|
-
type?: "auto" | undefined;
|
|
11004
10999
|
} | {
|
|
11005
11000
|
quotedMsgId?: string | undefined;
|
|
11006
11001
|
caption?: string | undefined;
|
|
@@ -11012,6 +11007,11 @@ export declare abstract class BaseNamespacedClient extends BaseClient {
|
|
|
11012
11007
|
quotedMsgId?: string | undefined;
|
|
11013
11008
|
caption?: string | undefined;
|
|
11014
11009
|
type: "document";
|
|
11010
|
+
} | {
|
|
11011
|
+
quotedMsgId?: string | undefined;
|
|
11012
|
+
caption?: string | undefined;
|
|
11013
|
+
viewOnce?: boolean | undefined;
|
|
11014
|
+
type?: "auto" | undefined;
|
|
11015
11015
|
} | undefined;
|
|
11016
11016
|
}, ...unknown[]]) => Promise<boolean | {
|
|
11017
11017
|
[x: string]: unknown;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-wa/schema",
|
|
3
|
-
"version": "5.6.
|
|
3
|
+
"version": "5.6.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Zod-based schema definitions for open-wa",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -84,8 +84,8 @@
|
|
|
84
84
|
},
|
|
85
85
|
"dependencies": {
|
|
86
86
|
"@asteasolutions/zod-to-openapi": "^9.1.0",
|
|
87
|
-
"@open-wa/config": "5.6.
|
|
88
|
-
"@open-wa/utils": "5.6.
|
|
87
|
+
"@open-wa/config": "5.6.4",
|
|
88
|
+
"@open-wa/utils": "5.6.4",
|
|
89
89
|
"zod": "^4.6.5",
|
|
90
90
|
"zod-to-json-schema": "^3.25.2",
|
|
91
91
|
"effect": "4.0.2"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"asyncapi": "3.1.0",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "OpenWA events",
|
|
5
|
-
"version": "5.6.
|
|
5
|
+
"version": "5.6.4",
|
|
6
6
|
"description": "Initial public wire contracts for six runtime events. This is not an exhaustive list of internal lifecycle events. SSE and webhook policies differ; MCP provides compact summaries for three events."
|
|
7
7
|
},
|
|
8
8
|
"servers": {
|