@@ -39,6 +39,8 @@ namespace Endpoints {
39
39
Get1 : ( args ?: IGet1 ) => IGet1WithCall
40
40
GetSomething : ( args ?: IGetSomething ) => IGetSomethingWithCall
41
41
GetSomethingElse : ( args ?: IGetSomethingElse ) => IGetSomethingElseWithCall
42
+ GetEnumerableString : ( args ?: IGetEnumerableString ) => IGetEnumerableStringWithCall
43
+ GetIHttpActionResult : ( args ?: IGetIHttpActionResult ) => IGetIHttpActionResultWithCall
42
44
Post : ( args ?: IPost ) => IPostWithCall
43
45
Post1 : ( args ?: IPost1 ) => IPost1WithCall
44
46
Post2 : ( args ?: IPost2 ) => IPost2WithCall
@@ -51,8 +53,8 @@ namespace Endpoints {
51
53
}
52
54
53
55
export interface IGetWithCall extends IGet , IEndpoint {
54
- call < TView > ( ) : ng . IPromise < TView > ;
55
- callCached < TView > ( ) : ng . IPromise < TView > ;
56
+ call ( ) : ng . IPromise < string [ ] > ;
57
+ callCached ( ) : ng . IPromise < string [ ] > ;
56
58
}
57
59
58
60
export class Get implements IGet , IEndpoint {
@@ -74,8 +76,8 @@ namespace Endpoints {
74
76
}
75
77
76
78
export interface IGet1WithCall extends IGet1 , IEndpoint {
77
- call < TView > ( ) : ng . IPromise < TView > ;
78
- callCached < TView > ( ) : ng . IPromise < TView > ;
79
+ call ( ) : ng . IPromise < string > ;
80
+ callCached ( ) : ng . IPromise < string > ;
79
81
}
80
82
81
83
export class Get1 implements IGet1 , IEndpoint {
@@ -111,8 +113,8 @@ namespace Endpoints {
111
113
}
112
114
113
115
export interface IGetSomethingWithCall extends IGetSomething , IEndpoint {
114
- call < TView > ( ) : ng . IPromise < TView > ;
115
- callCached < TView > ( ) : ng . IPromise < TView > ;
116
+ call ( ) : ng . IPromise < string > ;
117
+ callCached ( ) : ng . IPromise < string > ;
116
118
}
117
119
118
120
export class GetSomething implements IGetSomething , IEndpoint {
@@ -150,8 +152,8 @@ namespace Endpoints {
150
152
}
151
153
152
154
export interface IGetSomethingElseWithCall extends IGetSomethingElse , IEndpoint {
153
- call < TView > ( ) : ng . IPromise < TView > ;
154
- callCached < TView > ( ) : ng . IPromise < TView > ;
155
+ call ( ) : ng . IPromise < string > ;
156
+ callCached ( ) : ng . IPromise < string > ;
155
157
}
156
158
157
159
export class GetSomethingElse implements IGetSomethingElse , IEndpoint {
@@ -183,12 +185,50 @@ namespace Endpoints {
183
185
}
184
186
}
185
187
188
+ export interface IGetEnumerableString {
189
+ }
190
+
191
+ export interface IGetEnumerableStringWithCall extends IGetEnumerableString , IEndpoint {
192
+ call ( ) : ng . IPromise < string [ ] > ;
193
+ callCached ( ) : ng . IPromise < string [ ] > ;
194
+ }
195
+
196
+ export class GetEnumerableString implements IGetEnumerableString , IEndpoint {
197
+ _verb = 'GET' ;
198
+
199
+ constructor ( args ?: IGetEnumerableString ) {
200
+ }
201
+
202
+ toString = ( ) : string => {
203
+ return `/api/Test/${ this . hole } /actions/GetEnumerableString` ;
204
+ }
205
+ }
206
+
207
+ export interface IGetIHttpActionResult {
208
+ }
209
+
210
+ export interface IGetIHttpActionResultWithCall extends IGetIHttpActionResult , IEndpoint {
211
+ call < TView > ( ) : ng . IPromise < TView > ;
212
+ callCached < TView > ( ) : ng . IPromise < TView > ;
213
+ }
214
+
215
+ export class GetIHttpActionResult implements IGetIHttpActionResult , IEndpoint {
216
+ _verb = 'GET' ;
217
+
218
+ constructor ( args ?: IGetIHttpActionResult ) {
219
+ }
220
+
221
+ toString = ( ) : string => {
222
+ return `/api/Test/${ this . hole } /actions/GetIHttpActionResult` ;
223
+ }
224
+ }
225
+
186
226
export interface IPost {
187
227
hole : string ;
188
228
}
189
229
190
230
export interface IPostWithCall extends IPost , IEndpoint {
191
- call < TView > ( value : Interfaces . IDummyClass ) : ng . IPromise < TView > ;
231
+ call ( value : Interfaces . IDummyClass ) : ng . IPromise < string > ;
192
232
}
193
233
194
234
export class Post implements IPost , IEndpoint {
@@ -209,7 +249,7 @@ namespace Endpoints {
209
249
}
210
250
211
251
export interface IPost1WithCall extends IPost1 , IEndpoint {
212
- call < TView > ( value : Interfaces . IDerivedClassWithShadowedProperty ) : ng . IPromise < TView > ;
252
+ call ( value : Interfaces . IDerivedClassWithShadowedProperty ) : ng . IPromise < string > ;
213
253
}
214
254
215
255
export class Post1 implements IPost1 , IEndpoint {
@@ -230,7 +270,7 @@ namespace Endpoints {
230
270
}
231
271
232
272
export interface IPost2WithCall extends IPost2 , IEndpoint {
233
- call < TView > ( value : Interfaces . IDerivedClassWithAnotherShadowedProperty ) : ng . IPromise < TView > ;
273
+ call ( value : Interfaces . IDerivedClassWithAnotherShadowedProperty ) : ng . IPromise < string > ;
234
274
}
235
275
236
276
export class Post2 implements IPost2 , IEndpoint {
@@ -252,7 +292,7 @@ namespace Endpoints {
252
292
}
253
293
254
294
export interface IPutWithCall extends IPut , IEndpoint {
255
- call < TView > ( value : string ) : ng . IPromise < TView > ;
295
+ call ( value : string ) : ng . IPromise < string > ;
256
296
}
257
297
258
298
export class Put implements IPut , IEndpoint {
@@ -276,7 +316,7 @@ namespace Endpoints {
276
316
}
277
317
278
318
export interface IDeleteWithCall extends IDelete , IEndpoint {
279
- call < TView > ( ) : ng . IPromise < TView > ;
319
+ call ( ) : ng . IPromise < string > ;
280
320
}
281
321
282
322
export class Delete implements IDelete , IEndpoint {
@@ -318,8 +358,8 @@ namespace Endpoints {
318
358
}
319
359
320
360
export interface IGetAllWithCall extends IGetAll , IEndpoint {
321
- call < TView > ( ) : ng . IPromise < TView > ;
322
- callCached < TView > ( ) : ng . IPromise < TView > ;
361
+ call ( ) : ng . IPromise < string > ;
362
+ callCached ( ) : ng . IPromise < string > ;
323
363
}
324
364
325
365
export class GetAll implements IGetAll , IEndpoint {
@@ -340,8 +380,8 @@ namespace Endpoints {
340
380
}
341
381
342
382
export interface IGetWithCall extends IGet , IEndpoint {
343
- call < TView > ( ) : ng . IPromise < TView > ;
344
- callCached < TView > ( ) : ng . IPromise < TView > ;
383
+ call ( ) : ng . IPromise < string > ;
384
+ callCached ( ) : ng . IPromise < string > ;
345
385
}
346
386
347
387
export class Get implements IGet , IEndpoint {
@@ -379,8 +419,8 @@ namespace Endpoints {
379
419
}
380
420
381
421
export interface IGettyWithCall extends IGetty , IEndpoint {
382
- call < TView > ( ) : ng . IPromise < TView > ;
383
- callCached < TView > ( ) : ng . IPromise < TView > ;
422
+ call ( ) : ng . IPromise < string > ;
423
+ callCached ( ) : ng . IPromise < string > ;
384
424
}
385
425
386
426
export class Getty implements IGetty , IEndpoint {
@@ -414,7 +454,7 @@ namespace Endpoints {
414
454
}
415
455
416
456
export interface IPostWithCall extends IPost , IEndpoint {
417
- call < TView > ( value : Interfaces . IMegaClass ) : ng . IPromise < TView > ;
457
+ call ( value : Interfaces . IMegaClass ) : ng . IPromise < string > ;
418
458
}
419
459
420
460
export class Post implements IPost , IEndpoint {
0 commit comments