twitter-openapi-typescript-generated 0.0.28 → 0.0.30
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/README.md +2 -2
- package/dist/apis/DefaultApi.d.ts.map +1 -1
- package/dist/apis/DefaultApi.js +180 -164
- package/dist/apis/DefaultApi.js.map +1 -1
- package/dist/apis/OtherApi.d.ts.map +1 -1
- package/dist/apis/OtherApi.js +90 -82
- package/dist/apis/OtherApi.js.map +1 -1
- package/dist/apis/PostApi.d.ts.map +1 -1
- package/dist/apis/PostApi.js +720 -656
- package/dist/apis/PostApi.js.map +1 -1
- package/dist/apis/TweetApi.d.ts.map +1 -1
- package/dist/apis/TweetApi.js +990 -902
- package/dist/apis/TweetApi.js.map +1 -1
- package/dist/apis/UserApi.d.ts.map +1 -1
- package/dist/apis/UserApi.js +180 -164
- package/dist/apis/UserApi.js.map +1 -1
- package/dist/apis/UserListApi.d.ts.map +1 -1
- package/dist/apis/UserListApi.js +450 -410
- package/dist/apis/UserListApi.js.map +1 -1
- package/dist/apis/UsersApi.d.ts.map +1 -1
- package/dist/apis/UsersApi.js +90 -82
- package/dist/apis/UsersApi.js.map +1 -1
- package/dist/apis/V11GetApi.d.ts.map +1 -1
- package/dist/apis/V11GetApi.js +180 -164
- package/dist/apis/V11GetApi.js.map +1 -1
- package/dist/apis/V11PostApi.d.ts.map +1 -1
- package/dist/apis/V11PostApi.js +178 -162
- package/dist/apis/V11PostApi.js.map +1 -1
- package/dist/apis/V20GetApi.d.ts.map +1 -1
- package/dist/apis/V20GetApi.js +90 -82
- package/dist/apis/V20GetApi.js.map +1 -1
- package/dist/models/BookmarksResponse.d.ts +3 -2
- package/dist/models/BookmarksResponse.d.ts.map +1 -1
- package/dist/models/BookmarksResponse.js +3 -2
- package/dist/models/BookmarksResponse.js.map +1 -1
- package/dist/models/CreateBookmarkResponse.d.ts +3 -2
- package/dist/models/CreateBookmarkResponse.d.ts.map +1 -1
- package/dist/models/CreateBookmarkResponse.js +3 -2
- package/dist/models/CreateBookmarkResponse.js.map +1 -1
- package/dist/models/CreateRetweetResponse.d.ts +3 -2
- package/dist/models/CreateRetweetResponse.d.ts.map +1 -1
- package/dist/models/CreateRetweetResponse.js +3 -2
- package/dist/models/CreateRetweetResponse.js.map +1 -1
- package/dist/models/CreateTweetResponse.d.ts +3 -2
- package/dist/models/CreateTweetResponse.d.ts.map +1 -1
- package/dist/models/CreateTweetResponse.js +3 -2
- package/dist/models/CreateTweetResponse.js.map +1 -1
- package/dist/models/DeleteBookmarkResponse.d.ts +3 -2
- package/dist/models/DeleteBookmarkResponse.d.ts.map +1 -1
- package/dist/models/DeleteBookmarkResponse.js +3 -2
- package/dist/models/DeleteBookmarkResponse.js.map +1 -1
- package/dist/models/DeleteRetweetResponse.d.ts +3 -2
- package/dist/models/DeleteRetweetResponse.d.ts.map +1 -1
- package/dist/models/DeleteRetweetResponse.js +3 -2
- package/dist/models/DeleteRetweetResponse.js.map +1 -1
- package/dist/models/DeleteTweetResponse.d.ts +3 -2
- package/dist/models/DeleteTweetResponse.d.ts.map +1 -1
- package/dist/models/DeleteTweetResponse.js +3 -2
- package/dist/models/DeleteTweetResponse.js.map +1 -1
- package/dist/models/{ModelError.d.ts → ErrorResponse.d.ts} +18 -18
- package/dist/models/ErrorResponse.d.ts.map +1 -0
- package/dist/models/{ModelError.js → ErrorResponse.js} +12 -12
- package/dist/models/ErrorResponse.js.map +1 -0
- package/dist/models/FavoriteTweetResponse.d.ts +3 -2
- package/dist/models/FavoriteTweetResponse.d.ts.map +1 -1
- package/dist/models/FavoriteTweetResponse.js +3 -2
- package/dist/models/FavoriteTweetResponse.js.map +1 -1
- package/dist/models/FollowResponse.d.ts +3 -2
- package/dist/models/FollowResponse.d.ts.map +1 -1
- package/dist/models/FollowResponse.js +3 -2
- package/dist/models/FollowResponse.js.map +1 -1
- package/dist/models/ListLatestTweetsTimelineResponse.d.ts +3 -2
- package/dist/models/ListLatestTweetsTimelineResponse.d.ts.map +1 -1
- package/dist/models/ListLatestTweetsTimelineResponse.js +3 -2
- package/dist/models/ListLatestTweetsTimelineResponse.js.map +1 -1
- package/dist/models/ProfileResponse.d.ts +3 -2
- package/dist/models/ProfileResponse.d.ts.map +1 -1
- package/dist/models/ProfileResponse.js +3 -2
- package/dist/models/ProfileResponse.js.map +1 -1
- package/dist/models/SearchTimelineResponse.d.ts +3 -2
- package/dist/models/SearchTimelineResponse.d.ts.map +1 -1
- package/dist/models/SearchTimelineResponse.js +3 -2
- package/dist/models/SearchTimelineResponse.js.map +1 -1
- package/dist/models/TimelineResponse.d.ts +3 -2
- package/dist/models/TimelineResponse.d.ts.map +1 -1
- package/dist/models/TimelineResponse.js +3 -2
- package/dist/models/TimelineResponse.js.map +1 -1
- package/dist/models/TweetDetailResponse.d.ts +3 -2
- package/dist/models/TweetDetailResponse.d.ts.map +1 -1
- package/dist/models/TweetDetailResponse.js +3 -2
- package/dist/models/TweetDetailResponse.js.map +1 -1
- package/dist/models/TweetFavoritersResponse.d.ts +3 -2
- package/dist/models/TweetFavoritersResponse.d.ts.map +1 -1
- package/dist/models/TweetFavoritersResponse.js +3 -2
- package/dist/models/TweetFavoritersResponse.js.map +1 -1
- package/dist/models/TweetResultByRestIdResponse.d.ts +3 -2
- package/dist/models/TweetResultByRestIdResponse.d.ts.map +1 -1
- package/dist/models/TweetResultByRestIdResponse.js +3 -2
- package/dist/models/TweetResultByRestIdResponse.js.map +1 -1
- package/dist/models/TweetRetweetersResponse.d.ts +3 -2
- package/dist/models/TweetRetweetersResponse.d.ts.map +1 -1
- package/dist/models/TweetRetweetersResponse.js +3 -2
- package/dist/models/TweetRetweetersResponse.js.map +1 -1
- package/dist/models/UnfavoriteTweetResponse.d.ts +3 -2
- package/dist/models/UnfavoriteTweetResponse.d.ts.map +1 -1
- package/dist/models/UnfavoriteTweetResponse.js +3 -2
- package/dist/models/UnfavoriteTweetResponse.js.map +1 -1
- package/dist/models/UserHighlightsTweetsResponse.d.ts +3 -2
- package/dist/models/UserHighlightsTweetsResponse.d.ts.map +1 -1
- package/dist/models/UserHighlightsTweetsResponse.js +3 -2
- package/dist/models/UserHighlightsTweetsResponse.js.map +1 -1
- package/dist/models/UserResponse.d.ts +3 -2
- package/dist/models/UserResponse.d.ts.map +1 -1
- package/dist/models/UserResponse.js +3 -2
- package/dist/models/UserResponse.js.map +1 -1
- package/dist/models/UserTweetsResponse.d.ts +3 -2
- package/dist/models/UserTweetsResponse.d.ts.map +1 -1
- package/dist/models/UserTweetsResponse.js +3 -2
- package/dist/models/UserTweetsResponse.js.map +1 -1
- package/dist/models/UsersResponse.d.ts +3 -2
- package/dist/models/UsersResponse.d.ts.map +1 -1
- package/dist/models/UsersResponse.js +3 -2
- package/dist/models/UsersResponse.js.map +1 -1
- package/dist/models/index.d.ts +1 -1
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +1 -1
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/models/ModelError.d.ts.map +0 -1
- package/dist/models/ModelError.js.map +0 -1
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { DeleteBookmarkResponseData } from './DeleteBookmarkResponseData';
|
|
13
|
+
import type { ErrorResponse } from './ErrorResponse';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
@@ -24,10 +25,10 @@ export interface DeleteBookmarkResponse {
|
|
|
24
25
|
data: DeleteBookmarkResponseData;
|
|
25
26
|
/**
|
|
26
27
|
*
|
|
27
|
-
* @type {Array<
|
|
28
|
+
* @type {Array<ErrorResponse>}
|
|
28
29
|
* @memberof DeleteBookmarkResponse
|
|
29
30
|
*/
|
|
30
|
-
errors?: Array<
|
|
31
|
+
errors?: Array<ErrorResponse>;
|
|
31
32
|
}
|
|
32
33
|
/**
|
|
33
34
|
* Check if a given object implements the DeleteBookmarkResponse interface.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeleteBookmarkResponse.d.ts","sourceRoot":"","sources":["../../src/models/DeleteBookmarkResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"DeleteBookmarkResponse.d.ts","sourceRoot":"","sources":["../../src/models/DeleteBookmarkResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAM/E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAOrD;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,IAAI,EAAE,0BAA0B,CAAC;IACjC;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;CACjC;AAED;;GAEG;AACH,wBAAgB,gCAAgC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,sBAAsB,CAG/F;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,sBAAsB,CAEhF;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,sBAAsB,CASnH;AAED,wBAAgB,4BAA4B,CAAC,KAAK,CAAC,EAAE,sBAAsB,GAAG,IAAI,GAAG,GAAG,CASvF"}
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.DeleteBookmarkResponseToJSON = exports.DeleteBookmarkResponseFromJSONTyped = exports.DeleteBookmarkResponseFromJSON = exports.instanceOfDeleteBookmarkResponse = void 0;
|
|
17
17
|
var DeleteBookmarkResponseData_1 = require("./DeleteBookmarkResponseData");
|
|
18
|
+
var ErrorResponse_1 = require("./ErrorResponse");
|
|
18
19
|
/**
|
|
19
20
|
* Check if a given object implements the DeleteBookmarkResponse interface.
|
|
20
21
|
*/
|
|
@@ -34,7 +35,7 @@ function DeleteBookmarkResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
35
|
}
|
|
35
36
|
return {
|
|
36
37
|
'data': (0, DeleteBookmarkResponseData_1.DeleteBookmarkResponseDataFromJSON)(json['data']),
|
|
37
|
-
'errors': json['errors'] == null ? undefined : json['errors'],
|
|
38
|
+
'errors': json['errors'] == null ? undefined : (json['errors'].map(ErrorResponse_1.ErrorResponseFromJSON)),
|
|
38
39
|
};
|
|
39
40
|
}
|
|
40
41
|
exports.DeleteBookmarkResponseFromJSONTyped = DeleteBookmarkResponseFromJSONTyped;
|
|
@@ -44,7 +45,7 @@ function DeleteBookmarkResponseToJSON(value) {
|
|
|
44
45
|
}
|
|
45
46
|
return {
|
|
46
47
|
'data': (0, DeleteBookmarkResponseData_1.DeleteBookmarkResponseDataToJSON)(value['data']),
|
|
47
|
-
'errors': value['errors'],
|
|
48
|
+
'errors': value['errors'] == null ? undefined : (value['errors'].map(ErrorResponse_1.ErrorResponseToJSON)),
|
|
48
49
|
};
|
|
49
50
|
}
|
|
50
51
|
exports.DeleteBookmarkResponseToJSON = DeleteBookmarkResponseToJSON;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeleteBookmarkResponse.js","sourceRoot":"","sources":["../../src/models/DeleteBookmarkResponse.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH,2EAIsC;
|
|
1
|
+
{"version":3,"file":"DeleteBookmarkResponse.js","sourceRoot":"","sources":["../../src/models/DeleteBookmarkResponse.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH,2EAIsC;AAEtC,iDAIyB;AAsBzB;;GAEG;AACH,SAAgB,gCAAgC,CAAC,KAAa;IAC1D,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,OAAO,IAAI,CAAC;AAChB,CAAC;AAHD,4EAGC;AAED,SAAgB,8BAA8B,CAAC,IAAS;IACpD,OAAO,mCAAmC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC5D,CAAC;AAFD,wEAEC;AAED,SAAgB,mCAAmC,CAAC,IAAS,EAAE,mBAA4B;IACvF,IAAI,IAAI,IAAI,IAAI,EAAE;QACd,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,MAAM,EAAE,IAAA,+DAAkC,EAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACxD,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,IAAI,CAAC,QAAQ,CAAgB,CAAC,GAAG,CAAC,qCAAqB,CAAC,CAAC;KAC7G,CAAC;AACN,CAAC;AATD,kFASC;AAED,SAAgB,4BAA4B,CAAC,KAAqC;IAC9E,IAAI,KAAK,IAAI,IAAI,EAAE;QACf,OAAO,KAAK,CAAC;KAChB;IACD,OAAO;QAEH,MAAM,EAAE,IAAA,6DAAgC,EAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QACvD,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,KAAK,CAAC,QAAQ,CAAgB,CAAC,GAAG,CAAC,mCAAmB,CAAC,CAAC;KAC7G,CAAC;AACN,CAAC;AATD,oEASC"}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { DeleteRetweetResponseData } from './DeleteRetweetResponseData';
|
|
13
|
+
import type { ErrorResponse } from './ErrorResponse';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
@@ -24,10 +25,10 @@ export interface DeleteRetweetResponse {
|
|
|
24
25
|
data: DeleteRetweetResponseData;
|
|
25
26
|
/**
|
|
26
27
|
*
|
|
27
|
-
* @type {Array<
|
|
28
|
+
* @type {Array<ErrorResponse>}
|
|
28
29
|
* @memberof DeleteRetweetResponse
|
|
29
30
|
*/
|
|
30
|
-
errors?: Array<
|
|
31
|
+
errors?: Array<ErrorResponse>;
|
|
31
32
|
}
|
|
32
33
|
/**
|
|
33
34
|
* Check if a given object implements the DeleteRetweetResponse interface.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeleteRetweetResponse.d.ts","sourceRoot":"","sources":["../../src/models/DeleteRetweetResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"DeleteRetweetResponse.d.ts","sourceRoot":"","sources":["../../src/models/DeleteRetweetResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAM7E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAOrD;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,IAAI,EAAE,yBAAyB,CAAC;IAChC;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;CACjC;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAG7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CASjH;AAED,wBAAgB,2BAA2B,CAAC,KAAK,CAAC,EAAE,qBAAqB,GAAG,IAAI,GAAG,GAAG,CASrF"}
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.DeleteRetweetResponseToJSON = exports.DeleteRetweetResponseFromJSONTyped = exports.DeleteRetweetResponseFromJSON = exports.instanceOfDeleteRetweetResponse = void 0;
|
|
17
17
|
var DeleteRetweetResponseData_1 = require("./DeleteRetweetResponseData");
|
|
18
|
+
var ErrorResponse_1 = require("./ErrorResponse");
|
|
18
19
|
/**
|
|
19
20
|
* Check if a given object implements the DeleteRetweetResponse interface.
|
|
20
21
|
*/
|
|
@@ -34,7 +35,7 @@ function DeleteRetweetResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
35
|
}
|
|
35
36
|
return {
|
|
36
37
|
'data': (0, DeleteRetweetResponseData_1.DeleteRetweetResponseDataFromJSON)(json['data']),
|
|
37
|
-
'errors': json['errors'] == null ? undefined : json['errors'],
|
|
38
|
+
'errors': json['errors'] == null ? undefined : (json['errors'].map(ErrorResponse_1.ErrorResponseFromJSON)),
|
|
38
39
|
};
|
|
39
40
|
}
|
|
40
41
|
exports.DeleteRetweetResponseFromJSONTyped = DeleteRetweetResponseFromJSONTyped;
|
|
@@ -44,7 +45,7 @@ function DeleteRetweetResponseToJSON(value) {
|
|
|
44
45
|
}
|
|
45
46
|
return {
|
|
46
47
|
'data': (0, DeleteRetweetResponseData_1.DeleteRetweetResponseDataToJSON)(value['data']),
|
|
47
|
-
'errors': value['errors'],
|
|
48
|
+
'errors': value['errors'] == null ? undefined : (value['errors'].map(ErrorResponse_1.ErrorResponseToJSON)),
|
|
48
49
|
};
|
|
49
50
|
}
|
|
50
51
|
exports.DeleteRetweetResponseToJSON = DeleteRetweetResponseToJSON;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeleteRetweetResponse.js","sourceRoot":"","sources":["../../src/models/DeleteRetweetResponse.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACp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AAE,KAAK,CAAC,QAAQ,CAAgB,CAAC,GAAG,CAAC,mCAAmB,CAAC,CAAC;KAC7G,CAAC;AACN,CAAC;AATD,kEASC"}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { DeleteTweetResponseData } from './DeleteTweetResponseData';
|
|
13
|
+
import type { ErrorResponse } from './ErrorResponse';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
@@ -24,10 +25,10 @@ export interface DeleteTweetResponse {
|
|
|
24
25
|
data: DeleteTweetResponseData;
|
|
25
26
|
/**
|
|
26
27
|
*
|
|
27
|
-
* @type {Array<
|
|
28
|
+
* @type {Array<ErrorResponse>}
|
|
28
29
|
* @memberof DeleteTweetResponse
|
|
29
30
|
*/
|
|
30
|
-
errors?: Array<
|
|
31
|
+
errors?: Array<ErrorResponse>;
|
|
31
32
|
}
|
|
32
33
|
/**
|
|
33
34
|
* Check if a given object implements the DeleteTweetResponse interface.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeleteTweetResponse.d.ts","sourceRoot":"","sources":["../../src/models/DeleteTweetResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"DeleteTweetResponse.d.ts","sourceRoot":"","sources":["../../src/models/DeleteTweetResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAMzE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAOrD;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,IAAI,EAAE,uBAAuB,CAAC;IAC9B;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;CACjC;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,mBAAmB,CAGzF;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAE1E;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mBAAmB,CAS7G;AAED,wBAAgB,yBAAyB,CAAC,KAAK,CAAC,EAAE,mBAAmB,GAAG,IAAI,GAAG,GAAG,CASjF"}
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.DeleteTweetResponseToJSON = exports.DeleteTweetResponseFromJSONTyped = exports.DeleteTweetResponseFromJSON = exports.instanceOfDeleteTweetResponse = void 0;
|
|
17
17
|
var DeleteTweetResponseData_1 = require("./DeleteTweetResponseData");
|
|
18
|
+
var ErrorResponse_1 = require("./ErrorResponse");
|
|
18
19
|
/**
|
|
19
20
|
* Check if a given object implements the DeleteTweetResponse interface.
|
|
20
21
|
*/
|
|
@@ -34,7 +35,7 @@ function DeleteTweetResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
35
|
}
|
|
35
36
|
return {
|
|
36
37
|
'data': (0, DeleteTweetResponseData_1.DeleteTweetResponseDataFromJSON)(json['data']),
|
|
37
|
-
'errors': json['errors'] == null ? undefined : json['errors'],
|
|
38
|
+
'errors': json['errors'] == null ? undefined : (json['errors'].map(ErrorResponse_1.ErrorResponseFromJSON)),
|
|
38
39
|
};
|
|
39
40
|
}
|
|
40
41
|
exports.DeleteTweetResponseFromJSONTyped = DeleteTweetResponseFromJSONTyped;
|
|
@@ -44,7 +45,7 @@ function DeleteTweetResponseToJSON(value) {
|
|
|
44
45
|
}
|
|
45
46
|
return {
|
|
46
47
|
'data': (0, DeleteTweetResponseData_1.DeleteTweetResponseDataToJSON)(value['data']),
|
|
47
|
-
'errors': value['errors'],
|
|
48
|
+
'errors': value['errors'] == null ? undefined : (value['errors'].map(ErrorResponse_1.ErrorResponseToJSON)),
|
|
48
49
|
};
|
|
49
50
|
}
|
|
50
51
|
exports.DeleteTweetResponseToJSON = DeleteTweetResponseToJSON;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeleteTweetResponse.js","sourceRoot":"","sources":["../../src/models/DeleteTweetResponse.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH,qEAImC;
|
|
1
|
+
{"version":3,"file":"DeleteTweetResponse.js","sourceRoot":"","sources":["../../src/models/DeleteTweetResponse.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH,qEAImC;AAEnC,iDAIyB;AAsBzB;;GAEG;AACH,SAAgB,6BAA6B,CAAC,KAAa;IACvD,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,OAAO,IAAI,CAAC;AAChB,CAAC;AAHD,sEAGC;AAED,SAAgB,2BAA2B,CAAC,IAAS;IACjD,OAAO,gCAAgC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACzD,CAAC;AAFD,kEAEC;AAED,SAAgB,gCAAgC,CAAC,IAAS,EAAE,mBAA4B;IACpF,IAAI,IAAI,IAAI,IAAI,EAAE;QACd,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,MAAM,EAAE,IAAA,yDAA+B,EAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACrD,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,IAAI,CAAC,QAAQ,CAAgB,CAAC,GAAG,CAAC,qCAAqB,CAAC,CAAC;KAC7G,CAAC;AACN,CAAC;AATD,4EASC;AAED,SAAgB,yBAAyB,CAAC,KAAkC;IACxE,IAAI,KAAK,IAAI,IAAI,EAAE;QACf,OAAO,KAAK,CAAC;KAChB;IACD,OAAO;QAEH,MAAM,EAAE,IAAA,uDAA6B,EAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QACpD,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,KAAK,CAAC,QAAQ,CAAgB,CAAC,GAAG,CAAC,mCAAmB,CAAC,CAAC;KAC7G,CAAC;AACN,CAAC;AATD,8DASC"}
|
|
@@ -15,75 +15,75 @@ import type { Location } from './Location';
|
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
17
17
|
* @export
|
|
18
|
-
* @interface
|
|
18
|
+
* @interface ErrorResponse
|
|
19
19
|
*/
|
|
20
|
-
export interface
|
|
20
|
+
export interface ErrorResponse {
|
|
21
21
|
/**
|
|
22
22
|
*
|
|
23
23
|
* @type {number}
|
|
24
|
-
* @memberof
|
|
24
|
+
* @memberof ErrorResponse
|
|
25
25
|
*/
|
|
26
26
|
code: number;
|
|
27
27
|
/**
|
|
28
28
|
*
|
|
29
29
|
* @type {ErrorExtensions}
|
|
30
|
-
* @memberof
|
|
30
|
+
* @memberof ErrorResponse
|
|
31
31
|
*/
|
|
32
32
|
extensions: ErrorExtensions;
|
|
33
33
|
/**
|
|
34
34
|
*
|
|
35
35
|
* @type {string}
|
|
36
|
-
* @memberof
|
|
36
|
+
* @memberof ErrorResponse
|
|
37
37
|
*/
|
|
38
38
|
kind: string;
|
|
39
39
|
/**
|
|
40
40
|
*
|
|
41
41
|
* @type {Array<Location>}
|
|
42
|
-
* @memberof
|
|
42
|
+
* @memberof ErrorResponse
|
|
43
43
|
*/
|
|
44
44
|
locations: Array<Location>;
|
|
45
45
|
/**
|
|
46
46
|
*
|
|
47
47
|
* @type {string}
|
|
48
|
-
* @memberof
|
|
48
|
+
* @memberof ErrorResponse
|
|
49
49
|
*/
|
|
50
50
|
message: string;
|
|
51
51
|
/**
|
|
52
52
|
*
|
|
53
53
|
* @type {string}
|
|
54
|
-
* @memberof
|
|
54
|
+
* @memberof ErrorResponse
|
|
55
55
|
*/
|
|
56
56
|
name: string;
|
|
57
57
|
/**
|
|
58
58
|
*
|
|
59
59
|
* @type {Array<string>}
|
|
60
|
-
* @memberof
|
|
60
|
+
* @memberof ErrorResponse
|
|
61
61
|
*/
|
|
62
62
|
path: Array<string>;
|
|
63
63
|
/**
|
|
64
64
|
*
|
|
65
65
|
* @type {number}
|
|
66
|
-
* @memberof
|
|
66
|
+
* @memberof ErrorResponse
|
|
67
67
|
*/
|
|
68
68
|
retryAfter?: number;
|
|
69
69
|
/**
|
|
70
70
|
*
|
|
71
71
|
* @type {string}
|
|
72
|
-
* @memberof
|
|
72
|
+
* @memberof ErrorResponse
|
|
73
73
|
*/
|
|
74
74
|
source: string;
|
|
75
75
|
/**
|
|
76
76
|
*
|
|
77
77
|
* @type {Tracing}
|
|
78
|
-
* @memberof
|
|
78
|
+
* @memberof ErrorResponse
|
|
79
79
|
*/
|
|
80
80
|
tracing: Tracing;
|
|
81
81
|
}
|
|
82
82
|
/**
|
|
83
|
-
* Check if a given object implements the
|
|
83
|
+
* Check if a given object implements the ErrorResponse interface.
|
|
84
84
|
*/
|
|
85
|
-
export declare function
|
|
86
|
-
export declare function
|
|
87
|
-
export declare function
|
|
88
|
-
export declare function
|
|
89
|
-
//# sourceMappingURL=
|
|
85
|
+
export declare function instanceOfErrorResponse(value: object): value is ErrorResponse;
|
|
86
|
+
export declare function ErrorResponseFromJSON(json: any): ErrorResponse;
|
|
87
|
+
export declare function ErrorResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ErrorResponse;
|
|
88
|
+
export declare function ErrorResponseToJSON(value?: ErrorResponse | null): any;
|
|
89
|
+
//# sourceMappingURL=ErrorResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorResponse.d.ts","sourceRoot":"","sources":["../../src/models/ErrorResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAMzD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAMzC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAO3C;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,UAAU,EAAE,eAAe,CAAC;IAC5B;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC;IAC3B;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACpB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;CACpB;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,aAAa,CAW7E;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE9D;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,aAAa,CAiBjG;AAED,wBAAgB,mBAAmB,CAAC,KAAK,CAAC,EAAE,aAAa,GAAG,IAAI,GAAG,GAAG,CAiBrE"}
|
|
@@ -13,14 +13,14 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
16
|
+
exports.ErrorResponseToJSON = exports.ErrorResponseFromJSONTyped = exports.ErrorResponseFromJSON = exports.instanceOfErrorResponse = void 0;
|
|
17
17
|
var ErrorExtensions_1 = require("./ErrorExtensions");
|
|
18
18
|
var Tracing_1 = require("./Tracing");
|
|
19
19
|
var Location_1 = require("./Location");
|
|
20
20
|
/**
|
|
21
|
-
* Check if a given object implements the
|
|
21
|
+
* Check if a given object implements the ErrorResponse interface.
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function instanceOfErrorResponse(value) {
|
|
24
24
|
if (!('code' in value) || value['code'] === undefined)
|
|
25
25
|
return false;
|
|
26
26
|
if (!('extensions' in value) || value['extensions'] === undefined)
|
|
@@ -41,12 +41,12 @@ function instanceOfModelError(value) {
|
|
|
41
41
|
return false;
|
|
42
42
|
return true;
|
|
43
43
|
}
|
|
44
|
-
exports.
|
|
45
|
-
function
|
|
46
|
-
return
|
|
44
|
+
exports.instanceOfErrorResponse = instanceOfErrorResponse;
|
|
45
|
+
function ErrorResponseFromJSON(json) {
|
|
46
|
+
return ErrorResponseFromJSONTyped(json, false);
|
|
47
47
|
}
|
|
48
|
-
exports.
|
|
49
|
-
function
|
|
48
|
+
exports.ErrorResponseFromJSON = ErrorResponseFromJSON;
|
|
49
|
+
function ErrorResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
50
50
|
if (json == null) {
|
|
51
51
|
return json;
|
|
52
52
|
}
|
|
@@ -63,8 +63,8 @@ function ModelErrorFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
63
63
|
'tracing': (0, Tracing_1.TracingFromJSON)(json['tracing']),
|
|
64
64
|
};
|
|
65
65
|
}
|
|
66
|
-
exports.
|
|
67
|
-
function
|
|
66
|
+
exports.ErrorResponseFromJSONTyped = ErrorResponseFromJSONTyped;
|
|
67
|
+
function ErrorResponseToJSON(value) {
|
|
68
68
|
if (value == null) {
|
|
69
69
|
return value;
|
|
70
70
|
}
|
|
@@ -81,5 +81,5 @@ function ModelErrorToJSON(value) {
|
|
|
81
81
|
'tracing': (0, Tracing_1.TracingToJSON)(value['tracing']),
|
|
82
82
|
};
|
|
83
83
|
}
|
|
84
|
-
exports.
|
|
85
|
-
//# sourceMappingURL=
|
|
84
|
+
exports.ErrorResponseToJSON = ErrorResponseToJSON;
|
|
85
|
+
//# sourceMappingURL=ErrorResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorResponse.js","sourceRoot":"","sources":["../../src/models/ErrorResponse.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH,qDAI2B;AAE3B,qCAImB;AAEnB,uCAIoB;AAsEpB;;GAEG;AACH,SAAgB,uBAAuB,CAAC,KAAa;IACjD,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,IAAI,CAAC,CAAC,YAAY,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,YAAY,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChF,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,IAAI,CAAC,CAAC,WAAW,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,WAAW,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC9E,IAAI,CAAC,CAAC,SAAS,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,SAAS,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC1E,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,IAAI,CAAC,CAAC,MAAM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AjBD,gEAiBC;AAED,SAAgB,mBAAmB,CAAC,KAA4B;IAC5D,IAAI,KAAK,IAAI,IAAI,EAAE;QACf,OAAO,KAAK,CAAC;KAChB;IACD,OAAO;QAEH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,YAAY,EAAE,IAAA,uCAAqB,EAAC,KAAK,CAAC,YAAY,CAAC,CAAC;QACxD,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,WAAW,EAAE,CAAE,KAAK,CAAC,WAAW,CAAgB,CAAC,GAAG,CAAC,yBAAc,CAAC,CAAC;QACrE,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;QAC3B,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,aAAa,EAAE,KAAK,CAAC,YAAY,CAAC;QAClC,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC;QACzB,SAAS,EAAE,IAAA,uBAAa,EAAC,KAAK,CAAC,SAAS,CAAC,CAAC;KAC7C,CAAC;AACN,CAAC;AAjBD,kDAiBC"}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { FavoriteTweet } from './FavoriteTweet';
|
|
13
|
+
import type { ErrorResponse } from './ErrorResponse';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
@@ -24,10 +25,10 @@ export interface FavoriteTweetResponse {
|
|
|
24
25
|
data: FavoriteTweet;
|
|
25
26
|
/**
|
|
26
27
|
*
|
|
27
|
-
* @type {Array<
|
|
28
|
+
* @type {Array<ErrorResponse>}
|
|
28
29
|
* @memberof FavoriteTweetResponse
|
|
29
30
|
*/
|
|
30
|
-
errors?: Array<
|
|
31
|
+
errors?: Array<ErrorResponse>;
|
|
31
32
|
}
|
|
32
33
|
/**
|
|
33
34
|
* Check if a given object implements the FavoriteTweetResponse interface.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FavoriteTweetResponse.d.ts","sourceRoot":"","sources":["../../src/models/FavoriteTweetResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAOrD;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,IAAI,EAAE,aAAa,CAAC;IACpB;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"FavoriteTweetResponse.d.ts","sourceRoot":"","sources":["../../src/models/FavoriteTweetResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAMrD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAOrD;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,IAAI,EAAE,aAAa,CAAC;IACpB;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;CACjC;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAG7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CASjH;AAED,wBAAgB,2BAA2B,CAAC,KAAK,CAAC,EAAE,qBAAqB,GAAG,IAAI,GAAG,GAAG,CASrF"}
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.FavoriteTweetResponseToJSON = exports.FavoriteTweetResponseFromJSONTyped = exports.FavoriteTweetResponseFromJSON = exports.instanceOfFavoriteTweetResponse = void 0;
|
|
17
17
|
var FavoriteTweet_1 = require("./FavoriteTweet");
|
|
18
|
+
var ErrorResponse_1 = require("./ErrorResponse");
|
|
18
19
|
/**
|
|
19
20
|
* Check if a given object implements the FavoriteTweetResponse interface.
|
|
20
21
|
*/
|
|
@@ -34,7 +35,7 @@ function FavoriteTweetResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
35
|
}
|
|
35
36
|
return {
|
|
36
37
|
'data': (0, FavoriteTweet_1.FavoriteTweetFromJSON)(json['data']),
|
|
37
|
-
'errors': json['errors'] == null ? undefined : json['errors'],
|
|
38
|
+
'errors': json['errors'] == null ? undefined : (json['errors'].map(ErrorResponse_1.ErrorResponseFromJSON)),
|
|
38
39
|
};
|
|
39
40
|
}
|
|
40
41
|
exports.FavoriteTweetResponseFromJSONTyped = FavoriteTweetResponseFromJSONTyped;
|
|
@@ -44,7 +45,7 @@ function FavoriteTweetResponseToJSON(value) {
|
|
|
44
45
|
}
|
|
45
46
|
return {
|
|
46
47
|
'data': (0, FavoriteTweet_1.FavoriteTweetToJSON)(value['data']),
|
|
47
|
-
'errors': value['errors'],
|
|
48
|
+
'errors': value['errors'] == null ? undefined : (value['errors'].map(ErrorResponse_1.ErrorResponseToJSON)),
|
|
48
49
|
};
|
|
49
50
|
}
|
|
50
51
|
exports.FavoriteTweetResponseToJSON = FavoriteTweetResponseToJSON;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FavoriteTweetResponse.js","sourceRoot":"","sources":["../../src/models/FavoriteTweetResponse.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH,iDAIyB;AAsBzB;;GAEG;AACH,SAAgB,+BAA+B,CAAC,KAAa;IACzD,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,OAAO,IAAI,CAAC;AA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S,CAAC,CAAC,CAAC,CAAE,IAAI,CAAC,QAAQ,CAAgB,CAAC,GAAG,CAAC,qCAAqB,CAAC,CAAC;KAC7G,CAAC;AACN,CAAC;AATD,gFASC;AAED,SAAgB,2BAA2B,CAAC,KAAoC;IAC5E,IAAI,KAAK,IAAI,IAAI,EAAE;QACf,OAAO,KAAK,CAAC;KAChB;IACD,OAAO;QAEH,MAAM,EAAE,IAAA,mCAAmB,EAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QAC1C,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,KAAK,CAAC,QAAQ,CAAgB,CAAC,GAAG,CAAC,mCAAmB,CAAC,CAAC;KAC7G,CAAC;AACN,CAAC;AATD,kEASC"}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { FollowResponseData } from './FollowResponseData';
|
|
13
|
+
import type { ErrorResponse } from './ErrorResponse';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
@@ -24,10 +25,10 @@ export interface FollowResponse {
|
|
|
24
25
|
data: FollowResponseData;
|
|
25
26
|
/**
|
|
26
27
|
*
|
|
27
|
-
* @type {Array<
|
|
28
|
+
* @type {Array<ErrorResponse>}
|
|
28
29
|
* @memberof FollowResponse
|
|
29
30
|
*/
|
|
30
|
-
errors?: Array<
|
|
31
|
+
errors?: Array<ErrorResponse>;
|
|
31
32
|
}
|
|
32
33
|
/**
|
|
33
34
|
* Check if a given object implements the FollowResponse interface.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FollowResponse.d.ts","sourceRoot":"","sources":["../../src/models/FollowResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"FollowResponse.d.ts","sourceRoot":"","sources":["../../src/models/FollowResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAM/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAOrD;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC3B;;;;OAIG;IACH,IAAI,EAAE,kBAAkB,CAAC;IACzB;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;CACjC;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,cAAc,CAG/E;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAEhE;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,cAAc,CASnG;AAED,wBAAgB,oBAAoB,CAAC,KAAK,CAAC,EAAE,cAAc,GAAG,IAAI,GAAG,GAAG,CASvE"}
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.FollowResponseToJSON = exports.FollowResponseFromJSONTyped = exports.FollowResponseFromJSON = exports.instanceOfFollowResponse = void 0;
|
|
17
17
|
var FollowResponseData_1 = require("./FollowResponseData");
|
|
18
|
+
var ErrorResponse_1 = require("./ErrorResponse");
|
|
18
19
|
/**
|
|
19
20
|
* Check if a given object implements the FollowResponse interface.
|
|
20
21
|
*/
|
|
@@ -34,7 +35,7 @@ function FollowResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
35
|
}
|
|
35
36
|
return {
|
|
36
37
|
'data': (0, FollowResponseData_1.FollowResponseDataFromJSON)(json['data']),
|
|
37
|
-
'errors': json['errors'] == null ? undefined : json['errors'],
|
|
38
|
+
'errors': json['errors'] == null ? undefined : (json['errors'].map(ErrorResponse_1.ErrorResponseFromJSON)),
|
|
38
39
|
};
|
|
39
40
|
}
|
|
40
41
|
exports.FollowResponseFromJSONTyped = FollowResponseFromJSONTyped;
|
|
@@ -44,7 +45,7 @@ function FollowResponseToJSON(value) {
|
|
|
44
45
|
}
|
|
45
46
|
return {
|
|
46
47
|
'data': (0, FollowResponseData_1.FollowResponseDataToJSON)(value['data']),
|
|
47
|
-
'errors': value['errors'],
|
|
48
|
+
'errors': value['errors'] == null ? undefined : (value['errors'].map(ErrorResponse_1.ErrorResponseToJSON)),
|
|
48
49
|
};
|
|
49
50
|
}
|
|
50
51
|
exports.FollowResponseToJSON = FollowResponseToJSON;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FollowResponse.js","sourceRoot":"","sources":["../../src/models/FollowResponse.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH,2DAI8B;
|
|
1
|
+
{"version":3,"file":"FollowResponse.js","sourceRoot":"","sources":["../../src/models/FollowResponse.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH,2DAI8B;AAE9B,iDAIyB;AAsBzB;;GAEG;AACH,SAAgB,wBAAwB,CAAC,KAAa;IAClD,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,OAAO,IAAI,CAAC;AAChB,CAAC;AAHD,4DAGC;AAED,SAAgB,sBAAsB,CAAC,IAAS;IAC5C,OAAO,2BAA2B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACpD,CAAC;AAFD,wDAEC;AAED,SAAgB,2BAA2B,CAAC,IAAS,EAAE,mBAA4B;IAC/E,IAAI,IAAI,IAAI,IAAI,EAAE;QACd,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,MAAM,EAAE,IAAA,+CAA0B,EAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAChD,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,IAAI,CAAC,QAAQ,CAAgB,CAAC,GAAG,CAAC,qCAAqB,CAAC,CAAC;KAC7G,CAAC;AACN,CAAC;AATD,kEASC;AAED,SAAgB,oBAAoB,CAAC,KAA6B;IAC9D,IAAI,KAAK,IAAI,IAAI,EAAE;QACf,OAAO,KAAK,CAAC;KAChB;IACD,OAAO;QAEH,MAAM,EAAE,IAAA,6CAAwB,EAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QAC/C,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,KAAK,CAAC,QAAQ,CAAgB,CAAC,GAAG,CAAC,mCAAmB,CAAC,CAAC;KAC7G,CAAC;AACN,CAAC;AATD,oDASC"}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { ListTweetsTimelineData } from './ListTweetsTimelineData';
|
|
13
|
+
import type { ErrorResponse } from './ErrorResponse';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
@@ -24,10 +25,10 @@ export interface ListLatestTweetsTimelineResponse {
|
|
|
24
25
|
data: ListTweetsTimelineData;
|
|
25
26
|
/**
|
|
26
27
|
*
|
|
27
|
-
* @type {Array<
|
|
28
|
+
* @type {Array<ErrorResponse>}
|
|
28
29
|
* @memberof ListLatestTweetsTimelineResponse
|
|
29
30
|
*/
|
|
30
|
-
errors?: Array<
|
|
31
|
+
errors?: Array<ErrorResponse>;
|
|
31
32
|
}
|
|
32
33
|
/**
|
|
33
34
|
* Check if a given object implements the ListLatestTweetsTimelineResponse interface.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListLatestTweetsTimelineResponse.d.ts","sourceRoot":"","sources":["../../src/models/ListLatestTweetsTimelineResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"ListLatestTweetsTimelineResponse.d.ts","sourceRoot":"","sources":["../../src/models/ListLatestTweetsTimelineResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAMvE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAOrD;;;;GAIG;AACH,MAAM,WAAW,gCAAgC;IAC7C;;;;OAIG;IACH,IAAI,EAAE,sBAAsB,CAAC;IAC7B;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;CACjC;AAED;;GAEG;AACH,wBAAgB,0CAA0C,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gCAAgC,CAGnH;AAED,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,GAAG,GAAG,gCAAgC,CAEpG;AAED,wBAAgB,6CAA6C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gCAAgC,CASvI;AAED,wBAAgB,sCAAsC,CAAC,KAAK,CAAC,EAAE,gCAAgC,GAAG,IAAI,GAAG,GAAG,CAS3G"}
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.ListLatestTweetsTimelineResponseToJSON = exports.ListLatestTweetsTimelineResponseFromJSONTyped = exports.ListLatestTweetsTimelineResponseFromJSON = exports.instanceOfListLatestTweetsTimelineResponse = void 0;
|
|
17
17
|
var ListTweetsTimelineData_1 = require("./ListTweetsTimelineData");
|
|
18
|
+
var ErrorResponse_1 = require("./ErrorResponse");
|
|
18
19
|
/**
|
|
19
20
|
* Check if a given object implements the ListLatestTweetsTimelineResponse interface.
|
|
20
21
|
*/
|
|
@@ -34,7 +35,7 @@ function ListLatestTweetsTimelineResponseFromJSONTyped(json, ignoreDiscriminator
|
|
|
34
35
|
}
|
|
35
36
|
return {
|
|
36
37
|
'data': (0, ListTweetsTimelineData_1.ListTweetsTimelineDataFromJSON)(json['data']),
|
|
37
|
-
'errors': json['errors'] == null ? undefined : json['errors'],
|
|
38
|
+
'errors': json['errors'] == null ? undefined : (json['errors'].map(ErrorResponse_1.ErrorResponseFromJSON)),
|
|
38
39
|
};
|
|
39
40
|
}
|
|
40
41
|
exports.ListLatestTweetsTimelineResponseFromJSONTyped = ListLatestTweetsTimelineResponseFromJSONTyped;
|
|
@@ -44,7 +45,7 @@ function ListLatestTweetsTimelineResponseToJSON(value) {
|
|
|
44
45
|
}
|
|
45
46
|
return {
|
|
46
47
|
'data': (0, ListTweetsTimelineData_1.ListTweetsTimelineDataToJSON)(value['data']),
|
|
47
|
-
'errors': value['errors'],
|
|
48
|
+
'errors': value['errors'] == null ? undefined : (value['errors'].map(ErrorResponse_1.ErrorResponseToJSON)),
|
|
48
49
|
};
|
|
49
50
|
}
|
|
50
51
|
exports.ListLatestTweetsTimelineResponseToJSON = ListLatestTweetsTimelineResponseToJSON;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListLatestTweetsTimelineResponse.js","sourceRoot":"","sources":["../../src/models/ListLatestTweetsTimelineResponse.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH,mEAIkC;
|
|
1
|
+
{"version":3,"file":"ListLatestTweetsTimelineResponse.js","sourceRoot":"","sources":["../../src/models/ListLatestTweetsTimelineResponse.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH,mEAIkC;AAElC,iDAIyB;AAsBzB;;GAEG;AACH,SAAgB,0CAA0C,CAAC,KAAa;IACpE,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,OAAO,IAAI,CAAC;AAChB,CAAC;AAHD,gGAGC;AAED,SAAgB,wCAAwC,CAAC,IAAS;IAC9D,OAAO,6CAA6C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACtE,CAAC;AAFD,4FAEC;AAED,SAAgB,6CAA6C,CAAC,IAAS,EAAE,mBAA4B;IACjG,IAAI,IAAI,IAAI,IAAI,EAAE;QACd,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,MAAM,EAAE,IAAA,uDAA8B,EAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACpD,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,IAAI,CAAC,QAAQ,CAAgB,CAAC,GAAG,CAAC,qCAAqB,CAAC,CAAC;KAC7G,CAAC;AACN,CAAC;AATD,sGASC;AAED,SAAgB,sCAAsC,CAAC,KAA+C;IAClG,IAAI,KAAK,IAAI,IAAI,EAAE;QACf,OAAO,KAAK,CAAC;KAChB;IACD,OAAO;QAEH,MAAM,EAAE,IAAA,qDAA4B,EAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QACnD,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,KAAK,CAAC,QAAQ,CAAgB,CAAC,GAAG,CAAC,mCAAmB,CAAC,CAAC;KAC7G,CAAC;AACN,CAAC;AATD,wFASC"}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { ProfileResponseData } from './ProfileResponseData';
|
|
13
|
+
import type { ErrorResponse } from './ErrorResponse';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
@@ -24,10 +25,10 @@ export interface ProfileResponse {
|
|
|
24
25
|
data: ProfileResponseData;
|
|
25
26
|
/**
|
|
26
27
|
*
|
|
27
|
-
* @type {Array<
|
|
28
|
+
* @type {Array<ErrorResponse>}
|
|
28
29
|
* @memberof ProfileResponse
|
|
29
30
|
*/
|
|
30
|
-
errors?: Array<
|
|
31
|
+
errors?: Array<ErrorResponse>;
|
|
31
32
|
}
|
|
32
33
|
/**
|
|
33
34
|
* Check if a given object implements the ProfileResponse interface.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProfileResponse.d.ts","sourceRoot":"","sources":["../../src/models/ProfileResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"ProfileResponse.d.ts","sourceRoot":"","sources":["../../src/models/ProfileResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAMjE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAOrD;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,IAAI,EAAE,mBAAmB,CAAC;IAC1B;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;CACjC;AAED;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,eAAe,CAGjF;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAElE;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,eAAe,CASrG;AAED,wBAAgB,qBAAqB,CAAC,KAAK,CAAC,EAAE,eAAe,GAAG,IAAI,GAAG,GAAG,CASzE"}
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.ProfileResponseToJSON = exports.ProfileResponseFromJSONTyped = exports.ProfileResponseFromJSON = exports.instanceOfProfileResponse = void 0;
|
|
17
17
|
var ProfileResponseData_1 = require("./ProfileResponseData");
|
|
18
|
+
var ErrorResponse_1 = require("./ErrorResponse");
|
|
18
19
|
/**
|
|
19
20
|
* Check if a given object implements the ProfileResponse interface.
|
|
20
21
|
*/
|
|
@@ -34,7 +35,7 @@ function ProfileResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
35
|
}
|
|
35
36
|
return {
|
|
36
37
|
'data': (0, ProfileResponseData_1.ProfileResponseDataFromJSON)(json['data']),
|
|
37
|
-
'errors': json['errors'] == null ? undefined : json['errors'],
|
|
38
|
+
'errors': json['errors'] == null ? undefined : (json['errors'].map(ErrorResponse_1.ErrorResponseFromJSON)),
|
|
38
39
|
};
|
|
39
40
|
}
|
|
40
41
|
exports.ProfileResponseFromJSONTyped = ProfileResponseFromJSONTyped;
|
|
@@ -44,7 +45,7 @@ function ProfileResponseToJSON(value) {
|
|
|
44
45
|
}
|
|
45
46
|
return {
|
|
46
47
|
'data': (0, ProfileResponseData_1.ProfileResponseDataToJSON)(value['data']),
|
|
47
|
-
'errors': value['errors'],
|
|
48
|
+
'errors': value['errors'] == null ? undefined : (value['errors'].map(ErrorResponse_1.ErrorResponseToJSON)),
|
|
48
49
|
};
|
|
49
50
|
}
|
|
50
51
|
exports.ProfileResponseToJSON = ProfileResponseToJSON;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProfileResponse.js","sourceRoot":"","sources":["../../src/models/ProfileResponse.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH,6DAI+B;
|
|
1
|
+
{"version":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AAC;AACN,CAAC;AATD,sDASC"}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { SearchTimelineData } from './SearchTimelineData';
|
|
13
|
+
import type { ErrorResponse } from './ErrorResponse';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
@@ -24,10 +25,10 @@ export interface SearchTimelineResponse {
|
|
|
24
25
|
data: SearchTimelineData;
|
|
25
26
|
/**
|
|
26
27
|
*
|
|
27
|
-
* @type {Array<
|
|
28
|
+
* @type {Array<ErrorResponse>}
|
|
28
29
|
* @memberof SearchTimelineResponse
|
|
29
30
|
*/
|
|
30
|
-
errors?: Array<
|
|
31
|
+
errors?: Array<ErrorResponse>;
|
|
31
32
|
}
|
|
32
33
|
/**
|
|
33
34
|
* Check if a given object implements the SearchTimelineResponse interface.
|