@@ -80,4 +80,54 @@ export class Types {
80
80
81
81
return data ;
82
82
}
83
+
84
+ async stringArray ( query : string , options ?: MethodParamsOptions ) {
85
+ const data = await this . makeRequest < string [ ] > ( {
86
+ endpointType : 'string_array' ,
87
+ query,
88
+ contextId : options ?. contextId ,
89
+ } ) ;
90
+
91
+ return data ;
92
+ }
93
+
94
+ async integerArray ( query : string , options ?: MethodParamsOptions ) {
95
+ const data = await this . makeRequest < number [ ] > ( {
96
+ endpointType : 'integer_array' ,
97
+ query,
98
+ contextId : options ?. contextId ,
99
+ } ) ;
100
+
101
+ return data ;
102
+ }
103
+
104
+ async floatArray ( query : string , options ?: MethodParamsOptions ) {
105
+ const data = await this . makeRequest < number [ ] > ( {
106
+ endpointType : 'float_array' ,
107
+ query,
108
+ contextId : options ?. contextId ,
109
+ } ) ;
110
+
111
+ return data ;
112
+ }
113
+
114
+ async booleanArray ( query : string , options ?: MethodParamsOptions ) {
115
+ const data = await this . makeRequest < boolean [ ] > ( {
116
+ endpointType : 'boolean_array' ,
117
+ query,
118
+ contextId : options ?. contextId ,
119
+ } ) ;
120
+
121
+ return data ;
122
+ }
123
+
124
+ async datetimeArray ( query : string , options ?: MethodParamsOptions ) {
125
+ const data = await this . makeRequest < string [ ] > ( {
126
+ endpointType : 'datetime_array' ,
127
+ query,
128
+ contextId : options ?. contextId ,
129
+ } ) ;
130
+
131
+ return data ;
132
+ }
83
133
}
0 commit comments