@idm-plugin/vessel 2.2.8 → 2.3.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.
@@ -74,6 +74,74 @@ export declare class MyVesselImpl extends AISImpl {
74
74
  authToken(options?: {
75
75
  requestId?: string;
76
76
  }): Promise<void>;
77
+ checkToken(options?: {
78
+ requestId?: string;
79
+ }): Promise<AuthToken | undefined>;
80
+ /**
81
+ * 模糊查询
82
+ * @param kw
83
+ * @param options
84
+ */
85
+ suggest(kw: string, options?: {
86
+ requestId?: string;
87
+ ps?: number;
88
+ }): Promise<any>;
89
+ /**
90
+ * imo/mmsi 精确查询
91
+ * @param imo
92
+ * @param options
93
+ */
94
+ search(imo: number, options?: {
95
+ requestId?: string;
96
+ ps?: number;
97
+ }): Promise<{
98
+ mmsi?: undefined;
99
+ imo?: undefined;
100
+ callSign?: undefined;
101
+ name?: undefined;
102
+ nameCn?: undefined;
103
+ type?: undefined;
104
+ flagName?: undefined;
105
+ clasz?: undefined;
106
+ dateOfBuild?: undefined;
107
+ deadweight?: undefined;
108
+ grossTonnage?: undefined;
109
+ netTonnage?: undefined;
110
+ teu?: undefined;
111
+ length?: undefined;
112
+ breadth?: undefined;
113
+ height?: undefined;
114
+ draught?: undefined;
115
+ speed?: undefined;
116
+ passengerCapacity?: undefined;
117
+ vendor?: undefined;
118
+ raw?: undefined;
119
+ } | {
120
+ mmsi: any;
121
+ imo: number | null;
122
+ callSign: any;
123
+ name: any;
124
+ nameCn: any;
125
+ type: any;
126
+ flagName: any;
127
+ clasz: any;
128
+ dateOfBuild: any;
129
+ deadweight: any;
130
+ grossTonnage: any;
131
+ netTonnage: any;
132
+ teu: any;
133
+ length: any;
134
+ breadth: any;
135
+ height: any;
136
+ draught: any;
137
+ speed: any;
138
+ passengerCapacity: any;
139
+ vendor: string;
140
+ raw: any;
141
+ }>;
142
+ archives(mmsi: any, options?: {
143
+ requestId?: string;
144
+ }): Promise<any>;
77
145
  realTimePosition(mmsi: number, options?: {
78
146
  requestId?: string;
79
147
  }): Promise<AISRecord>;