twitter-openapi-typescript-generated 0.0.39 → 0.0.40
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 +45 -5
- package/dist/apis/UserListApi.d.ts +17 -0
- package/dist/apis/UserListApi.d.ts.map +1 -1
- package/dist/apis/UserListApi.js +236 -0
- package/dist/apis/UserListApi.js.map +1 -1
- package/dist/models/ArticlePreview.d.ts +52 -0
- package/dist/models/ArticlePreview.d.ts.map +1 -0
- package/dist/models/ArticlePreview.js +63 -0
- package/dist/models/ArticlePreview.js.map +1 -0
- package/dist/models/ArticleResult.d.ts +21 -1
- package/dist/models/ArticleResult.d.ts.map +1 -1
- package/dist/models/ArticleResult.js +7 -3
- package/dist/models/ArticleResult.js.map +1 -1
- package/dist/models/AuthorCommunityRelationship.d.ts +4 -3
- package/dist/models/AuthorCommunityRelationship.d.ts.map +1 -1
- package/dist/models/AuthorCommunityRelationship.js +5 -4
- package/dist/models/AuthorCommunityRelationship.js.map +1 -1
- package/dist/models/BirdwatchPivot.d.ts +14 -0
- package/dist/models/BirdwatchPivot.d.ts.map +1 -1
- package/dist/models/BirdwatchPivot.js +11 -2
- package/dist/models/BirdwatchPivot.js.map +1 -1
- package/dist/models/BirdwatchPivotNote.d.ts +19 -0
- package/dist/models/BirdwatchPivotNote.d.ts.map +1 -1
- package/dist/models/BirdwatchPivotNote.js +7 -0
- package/dist/models/BirdwatchPivotNote.js.map +1 -1
- package/dist/models/Community.d.ts +189 -3
- package/dist/models/Community.d.ts.map +1 -1
- package/dist/models/Community.js +82 -4
- package/dist/models/Community.js.map +1 -1
- package/dist/models/CommunityResult.d.ts +34 -0
- package/dist/models/CommunityResult.d.ts.map +1 -0
- package/dist/models/CommunityResult.js +53 -0
- package/dist/models/CommunityResult.js.map +1 -0
- package/dist/models/CommunityUnavailable.d.ts +34 -0
- package/dist/models/CommunityUnavailable.d.ts.map +1 -0
- package/dist/models/CommunityUnavailable.js +53 -0
- package/dist/models/CommunityUnavailable.js.map +1 -0
- package/dist/models/CommunityUnion.d.ts +28 -0
- package/dist/models/CommunityUnion.d.ts.map +1 -0
- package/dist/models/CommunityUnion.js +55 -0
- package/dist/models/CommunityUnion.js.map +1 -0
- package/dist/models/ContentDisclosure.d.ts +41 -0
- package/dist/models/ContentDisclosure.d.ts.map +1 -0
- package/dist/models/ContentDisclosure.js +54 -0
- package/dist/models/ContentDisclosure.js.map +1 -0
- package/dist/models/ContentDisclosureAdvertisingDisclosure.d.ts +33 -0
- package/dist/models/ContentDisclosureAdvertisingDisclosure.d.ts.map +1 -0
- package/dist/models/ContentDisclosureAdvertisingDisclosure.js +52 -0
- package/dist/models/ContentDisclosureAdvertisingDisclosure.js.map +1 -0
- package/dist/models/ContentDisclosureAiGeneratedDisclosure.d.ts +54 -0
- package/dist/models/ContentDisclosureAiGeneratedDisclosure.d.ts.map +1 -0
- package/dist/models/ContentDisclosureAiGeneratedDisclosure.js +67 -0
- package/dist/models/ContentDisclosureAiGeneratedDisclosure.js.map +1 -0
- package/dist/models/Entities.d.ts +11 -4
- package/dist/models/Entities.d.ts.map +1 -1
- package/dist/models/Entities.js +8 -13
- package/dist/models/Entities.js.map +1 -1
- package/dist/models/ErrorResponse.d.ts +3 -2
- package/dist/models/ErrorResponse.d.ts.map +1 -1
- package/dist/models/ErrorResponse.js +3 -2
- package/dist/models/ErrorResponse.js.map +1 -1
- package/dist/models/ErrorResponsePathInner.d.ts +22 -0
- package/dist/models/ErrorResponsePathInner.d.ts.map +1 -0
- package/dist/models/ErrorResponsePathInner.js +51 -0
- package/dist/models/ErrorResponsePathInner.js.map +1 -0
- package/dist/models/GrokAnnotation.d.ts +33 -0
- package/dist/models/GrokAnnotation.d.ts.map +1 -0
- package/dist/models/GrokAnnotation.js +50 -0
- package/dist/models/GrokAnnotation.js.map +1 -0
- package/dist/models/GrokEntity.d.ts +46 -0
- package/dist/models/GrokEntity.d.ts.map +1 -0
- package/dist/models/GrokEntity.js +61 -0
- package/dist/models/GrokEntity.js.map +1 -0
- package/dist/models/GrokEntityRef.d.ts +78 -0
- package/dist/models/GrokEntityRef.d.ts.map +1 -0
- package/dist/models/GrokEntityRef.js +76 -0
- package/dist/models/GrokEntityRef.js.map +1 -0
- package/dist/models/GrokShareAttachmentItem.d.ts +8 -0
- package/dist/models/GrokShareAttachmentItem.d.ts.map +1 -1
- package/dist/models/GrokShareAttachmentItem.js +2 -0
- package/dist/models/GrokShareAttachmentItem.js.map +1 -1
- package/dist/models/GrokTranslatedCommunityNote.d.ts +58 -0
- package/dist/models/GrokTranslatedCommunityNote.d.ts.map +1 -0
- package/dist/models/GrokTranslatedCommunityNote.js +67 -0
- package/dist/models/GrokTranslatedCommunityNote.js.map +1 -0
- package/dist/models/GrokTranslatedCommunityNoteWithAvailability.d.ts +40 -0
- package/dist/models/GrokTranslatedCommunityNoteWithAvailability.d.ts.map +1 -0
- package/dist/models/GrokTranslatedCommunityNoteWithAvailability.js +55 -0
- package/dist/models/GrokTranslatedCommunityNoteWithAvailability.js.map +1 -0
- package/dist/models/GrokTranslatedPost.d.ts +66 -0
- package/dist/models/GrokTranslatedPost.d.ts.map +1 -0
- package/dist/models/GrokTranslatedPost.js +61 -0
- package/dist/models/GrokTranslatedPost.js.map +1 -0
- package/dist/models/GrokTranslatedPostWithAvailability.d.ts +40 -0
- package/dist/models/GrokTranslatedPostWithAvailability.d.ts.map +1 -0
- package/dist/models/GrokTranslatedPostWithAvailability.js +55 -0
- package/dist/models/GrokTranslatedPostWithAvailability.js.map +1 -0
- package/dist/models/Media.d.ts +6 -0
- package/dist/models/Media.d.ts.map +1 -1
- package/dist/models/Media.js +2 -0
- package/dist/models/Media.js.map +1 -1
- package/dist/models/MediaExtended.d.ts +6 -0
- package/dist/models/MediaExtended.d.ts.map +1 -1
- package/dist/models/MediaExtended.js +2 -0
- package/dist/models/MediaExtended.js.map +1 -1
- package/dist/models/NoteTweet.d.ts +1 -1
- package/dist/models/NoteTweet.d.ts.map +1 -1
- package/dist/models/NoteTweet.js +1 -3
- package/dist/models/NoteTweet.js.map +1 -1
- package/dist/models/PostCreateTweetRequestFeatures.d.ts +50 -8
- package/dist/models/PostCreateTweetRequestFeatures.d.ts.map +1 -1
- package/dist/models/PostCreateTweetRequestFeatures.js +39 -11
- package/dist/models/PostCreateTweetRequestFeatures.js.map +1 -1
- package/dist/models/PostCta.d.ts +58 -0
- package/dist/models/PostCta.d.ts.map +1 -0
- package/dist/models/PostCta.js +69 -0
- package/dist/models/PostCta.js.map +1 -0
- package/dist/models/PostCtaTitleText.d.ts +40 -0
- package/dist/models/PostCtaTitleText.d.ts.map +1 -0
- package/dist/models/PostCtaTitleText.js +57 -0
- package/dist/models/PostCtaTitleText.js.map +1 -0
- package/dist/models/PostCtaTitleTextEntity.d.ts +46 -0
- package/dist/models/PostCtaTitleTextEntity.d.ts.map +1 -0
- package/dist/models/PostCtaTitleTextEntity.js +61 -0
- package/dist/models/PostCtaTitleTextEntity.js.map +1 -0
- package/dist/models/PostCtaTitleTextEntityRef.d.ts +41 -0
- package/dist/models/PostCtaTitleTextEntityRef.d.ts.map +1 -0
- package/dist/models/PostCtaTitleTextEntityRef.js +56 -0
- package/dist/models/PostCtaTitleTextEntityRef.js.map +1 -0
- package/dist/models/PostCtaUserResults.d.ts +34 -0
- package/dist/models/PostCtaUserResults.d.ts.map +1 -0
- package/dist/models/PostCtaUserResults.js +53 -0
- package/dist/models/PostCtaUserResults.js.map +1 -0
- package/dist/models/PostCtaUserResultsAvatar.d.ts +33 -0
- package/dist/models/PostCtaUserResultsAvatar.d.ts.map +1 -0
- package/dist/models/PostCtaUserResultsAvatar.js +52 -0
- package/dist/models/PostCtaUserResultsAvatar.js.map +1 -0
- package/dist/models/PostCtaUserResultsResult.d.ts +41 -0
- package/dist/models/PostCtaUserResultsResult.d.ts.map +1 -0
- package/dist/models/PostCtaUserResultsResult.js +58 -0
- package/dist/models/PostCtaUserResultsResult.js.map +1 -0
- package/dist/models/ProfileBio.d.ts +33 -0
- package/dist/models/ProfileBio.d.ts.map +1 -0
- package/dist/models/ProfileBio.js +52 -0
- package/dist/models/ProfileBio.js.map +1 -0
- package/dist/models/Smarttag.d.ts +46 -0
- package/dist/models/Smarttag.d.ts.map +1 -0
- package/dist/models/Smarttag.js +61 -0
- package/dist/models/Smarttag.js.map +1 -0
- package/dist/models/SmarttagTag.d.ts +35 -0
- package/dist/models/SmarttagTag.d.ts.map +1 -0
- package/dist/models/SmarttagTag.js +52 -0
- package/dist/models/SmarttagTag.js.map +1 -0
- package/dist/models/SuperFollowUserProfile.d.ts +33 -0
- package/dist/models/SuperFollowUserProfile.d.ts.map +1 -0
- package/dist/models/SuperFollowUserProfile.js +52 -0
- package/dist/models/SuperFollowUserProfile.js.map +1 -0
- package/dist/models/SuperFollowsReplyUserResultCore.d.ts +33 -0
- package/dist/models/SuperFollowsReplyUserResultCore.d.ts.map +1 -0
- package/dist/models/SuperFollowsReplyUserResultCore.js +52 -0
- package/dist/models/SuperFollowsReplyUserResultCore.js.map +1 -0
- package/dist/models/SuperFollowsReplyUserResultData.d.ts +3 -3
- package/dist/models/SuperFollowsReplyUserResultData.d.ts.map +1 -1
- package/dist/models/SuperFollowsReplyUserResultData.js +3 -5
- package/dist/models/SuperFollowsReplyUserResultData.js.map +1 -1
- package/dist/models/TimelineShowAlert.d.ts +7 -0
- package/dist/models/TimelineShowAlert.d.ts.map +1 -1
- package/dist/models/TimelineShowAlert.js +3 -0
- package/dist/models/TimelineShowAlert.js.map +1 -1
- package/dist/models/Tweet.d.ts +43 -3
- package/dist/models/Tweet.d.ts.map +1 -1
- package/dist/models/Tweet.js +19 -3
- package/dist/models/Tweet.js.map +1 -1
- package/dist/models/TweetInterstitial.d.ts +1 -0
- package/dist/models/TweetInterstitial.d.ts.map +1 -1
- package/dist/models/TweetInterstitial.js +2 -1
- package/dist/models/TweetInterstitial.js.map +1 -1
- package/dist/models/TweetLegacy.d.ts +1 -1
- package/dist/models/TweetLegacy.d.ts.map +1 -1
- package/dist/models/TweetLegacy.js +1 -3
- package/dist/models/TweetLegacy.js.map +1 -1
- package/dist/models/TweetPostCta.d.ts +55 -0
- package/dist/models/TweetPostCta.d.ts.map +1 -0
- package/dist/models/TweetPostCta.js +68 -0
- package/dist/models/TweetPostCta.js.map +1 -0
- package/dist/models/TweetPreviewDisplayTweet.d.ts +7 -0
- package/dist/models/TweetPreviewDisplayTweet.d.ts.map +1 -1
- package/dist/models/TweetPreviewDisplayTweet.js +3 -0
- package/dist/models/TweetPreviewDisplayTweet.js.map +1 -1
- package/dist/models/TypeName.d.ts +2 -0
- package/dist/models/TypeName.d.ts.map +1 -1
- package/dist/models/TypeName.js +3 -1
- package/dist/models/TypeName.js.map +1 -1
- package/dist/models/User.d.ts +91 -2
- package/dist/models/User.d.ts.map +1 -1
- package/dist/models/User.js +40 -3
- package/dist/models/User.js.map +1 -1
- package/dist/models/UserAvatar.d.ts +33 -0
- package/dist/models/UserAvatar.d.ts.map +1 -0
- package/dist/models/UserAvatar.js +52 -0
- package/dist/models/UserAvatar.js.map +1 -0
- package/dist/models/UserCore.d.ts +45 -0
- package/dist/models/UserCore.d.ts.map +1 -0
- package/dist/models/UserCore.js +60 -0
- package/dist/models/UserCore.js.map +1 -0
- package/dist/models/UserDmPermissions.d.ts +33 -0
- package/dist/models/UserDmPermissions.d.ts.map +1 -0
- package/dist/models/UserDmPermissions.js +52 -0
- package/dist/models/UserDmPermissions.js.map +1 -0
- package/dist/models/UserLegacy.d.ts +31 -7
- package/dist/models/UserLegacy.d.ts.map +1 -1
- package/dist/models/UserLegacy.js +22 -20
- package/dist/models/UserLegacy.js.map +1 -1
- package/dist/models/UserLocation.d.ts +33 -0
- package/dist/models/UserLocation.d.ts.map +1 -0
- package/dist/models/UserLocation.js +52 -0
- package/dist/models/UserLocation.js.map +1 -0
- package/dist/models/UserMediaPermissions.d.ts +33 -0
- package/dist/models/UserMediaPermissions.d.ts.map +1 -0
- package/dist/models/UserMediaPermissions.js +52 -0
- package/dist/models/UserMediaPermissions.js.map +1 -0
- package/dist/models/UserPrivacy.d.ts +33 -0
- package/dist/models/UserPrivacy.d.ts.map +1 -0
- package/dist/models/UserPrivacy.js +52 -0
- package/dist/models/UserPrivacy.js.map +1 -0
- package/dist/models/UserProfessional.d.ts +1 -1
- package/dist/models/UserProfessional.d.ts.map +1 -1
- package/dist/models/UserProfessional.js +2 -4
- package/dist/models/UserProfessional.js.map +1 -1
- package/dist/models/UserProfile.d.ts +34 -0
- package/dist/models/UserProfile.d.ts.map +1 -0
- package/dist/models/UserProfile.js +53 -0
- package/dist/models/UserProfile.js.map +1 -0
- package/dist/models/UserRelationshipPerspectives.d.ts +51 -0
- package/dist/models/UserRelationshipPerspectives.d.ts.map +1 -0
- package/dist/models/UserRelationshipPerspectives.js +56 -0
- package/dist/models/UserRelationshipPerspectives.js.map +1 -0
- package/dist/models/UserResultByScreenNameCore.d.ts +39 -0
- package/dist/models/UserResultByScreenNameCore.d.ts.map +1 -0
- package/dist/models/UserResultByScreenNameCore.js +56 -0
- package/dist/models/UserResultByScreenNameCore.js.map +1 -0
- package/dist/models/UserResultByScreenNameResult.d.ts +22 -1
- package/dist/models/UserResultByScreenNameResult.d.ts.map +1 -1
- package/dist/models/UserResultByScreenNameResult.js +15 -2
- package/dist/models/UserResultByScreenNameResult.js.map +1 -1
- package/dist/models/UserResultPrivacy.d.ts +33 -0
- package/dist/models/UserResultPrivacy.d.ts.map +1 -0
- package/dist/models/UserResultPrivacy.js +52 -0
- package/dist/models/UserResultPrivacy.js.map +1 -0
- package/dist/models/UserResultRelationshipPerspectives.d.ts +51 -0
- package/dist/models/UserResultRelationshipPerspectives.d.ts.map +1 -0
- package/dist/models/UserResultRelationshipPerspectives.js +56 -0
- package/dist/models/UserResultRelationshipPerspectives.js.map +1 -0
- package/dist/models/UserVerification.d.ts +47 -0
- package/dist/models/UserVerification.d.ts.map +1 -0
- package/dist/models/UserVerification.js +62 -0
- package/dist/models/UserVerification.js.map +1 -0
- package/dist/models/index.d.ts +40 -1
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +40 -1
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/models/CommunityData.d.ts +0 -220
- package/dist/models/CommunityData.d.ts.map +0 -1
- package/dist/models/CommunityData.js +0 -133
- package/dist/models/CommunityData.js.map +0 -1
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Twitter OpenAPI
|
|
3
|
+
* Twitter OpenAPI(Swagger) specification
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.1
|
|
6
|
+
* Contact: yuki@yuki0311.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ContentDisclosureAdvertisingDisclosure } from './ContentDisclosureAdvertisingDisclosure';
|
|
13
|
+
import type { ContentDisclosureAiGeneratedDisclosure } from './ContentDisclosureAiGeneratedDisclosure';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ContentDisclosure
|
|
18
|
+
*/
|
|
19
|
+
export interface ContentDisclosure {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {ContentDisclosureAdvertisingDisclosure}
|
|
23
|
+
* @memberof ContentDisclosure
|
|
24
|
+
*/
|
|
25
|
+
advertisingDisclosure?: ContentDisclosureAdvertisingDisclosure;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {ContentDisclosureAiGeneratedDisclosure}
|
|
29
|
+
* @memberof ContentDisclosure
|
|
30
|
+
*/
|
|
31
|
+
aiGeneratedDisclosure?: ContentDisclosureAiGeneratedDisclosure;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the ContentDisclosure interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfContentDisclosure(value: object): value is ContentDisclosure;
|
|
37
|
+
export declare function ContentDisclosureFromJSON(json: any): ContentDisclosure;
|
|
38
|
+
export declare function ContentDisclosureFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContentDisclosure;
|
|
39
|
+
export declare function ContentDisclosureToJSON(json: any): ContentDisclosure;
|
|
40
|
+
export declare function ContentDisclosureToJSONTyped(value?: ContentDisclosure | null, ignoreDiscriminator?: boolean): any;
|
|
41
|
+
//# sourceMappingURL=ContentDisclosure.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContentDisclosure.d.ts","sourceRoot":"","sources":["../../src/models/ContentDisclosure.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,sCAAsC,EAAE,MAAM,0CAA0C,CAAC;AAOvG,OAAO,KAAK,EAAE,sCAAsC,EAAE,MAAM,0CAA0C,CAAC;AAQvG;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,sCAAsC,CAAC;IAC/D;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,sCAAsC,CAAC;CAClE;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,iBAAiB,CAErF;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,CAEtE;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,iBAAiB,CASzG;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,CAEpE;AAED,wBAAgB,4BAA4B,CAAC,KAAK,CAAC,EAAE,iBAAiB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUxH"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Twitter OpenAPI
|
|
6
|
+
* Twitter OpenAPI(Swagger) specification
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.1
|
|
9
|
+
* Contact: yuki@yuki0311.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfContentDisclosure = instanceOfContentDisclosure;
|
|
17
|
+
exports.ContentDisclosureFromJSON = ContentDisclosureFromJSON;
|
|
18
|
+
exports.ContentDisclosureFromJSONTyped = ContentDisclosureFromJSONTyped;
|
|
19
|
+
exports.ContentDisclosureToJSON = ContentDisclosureToJSON;
|
|
20
|
+
exports.ContentDisclosureToJSONTyped = ContentDisclosureToJSONTyped;
|
|
21
|
+
var ContentDisclosureAdvertisingDisclosure_1 = require("./ContentDisclosureAdvertisingDisclosure");
|
|
22
|
+
var ContentDisclosureAiGeneratedDisclosure_1 = require("./ContentDisclosureAiGeneratedDisclosure");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the ContentDisclosure interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfContentDisclosure(value) {
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function ContentDisclosureFromJSON(json) {
|
|
30
|
+
return ContentDisclosureFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function ContentDisclosureFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'advertisingDisclosure': json['advertising_disclosure'] == null ? undefined : (0, ContentDisclosureAdvertisingDisclosure_1.ContentDisclosureAdvertisingDisclosureFromJSON)(json['advertising_disclosure']),
|
|
38
|
+
'aiGeneratedDisclosure': json['ai_generated_disclosure'] == null ? undefined : (0, ContentDisclosureAiGeneratedDisclosure_1.ContentDisclosureAiGeneratedDisclosureFromJSON)(json['ai_generated_disclosure']),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function ContentDisclosureToJSON(json) {
|
|
42
|
+
return ContentDisclosureToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function ContentDisclosureToJSONTyped(value, ignoreDiscriminator) {
|
|
45
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'advertising_disclosure': (0, ContentDisclosureAdvertisingDisclosure_1.ContentDisclosureAdvertisingDisclosureToJSON)(value['advertisingDisclosure']),
|
|
51
|
+
'ai_generated_disclosure': (0, ContentDisclosureAiGeneratedDisclosure_1.ContentDisclosureAiGeneratedDisclosureToJSON)(value['aiGeneratedDisclosure']),
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=ContentDisclosure.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContentDisclosure.js","sourceRoot":"","sources":["../../src/models/ContentDisclosure.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAyCH,kEAEC;AAED,8DAEC;AAED,wEASC;AAED,0DAEC;AAED,oEAUC;AAtED,mGAKkD;AAElD,mGAKkD;AAsBlD;;GAEG;AACH,SAAgB,2BAA2B,CAAC,KAAa;IACrD,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,yBAAyB,CAAC,IAAS;IAC/C,OAAO,8BAA8B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACvD,CAAC;AAED,SAAgB,8BAA8B,CAAC,IAAS,EAAE,mBAA4B;IAClF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,uBAAuB,EAAE,IAAI,CAAC,wBAAwB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAA,uFAA8C,EAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC;QAC5J,uBAAuB,EAAE,IAAI,CAAC,yBAAyB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAA,uFAA8C,EAAC,IAAI,CAAC,yBAAyB,CAAC,CAAC;KACjK,CAAC;AACN,CAAC;AAED,SAAgB,uBAAuB,CAAC,IAAS;IAC7C,OAAO,4BAA4B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACrD,CAAC;AAED,SAAgB,4BAA4B,CAAC,KAAgC,EAAE,mBAAoC;IAApC,oCAAA,EAAA,2BAAoC;IAC/G,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,wBAAwB,EAAE,IAAA,qFAA4C,EAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC;QACtG,yBAAyB,EAAE,IAAA,qFAA4C,EAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC;KAC1G,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Twitter OpenAPI
|
|
3
|
+
* Twitter OpenAPI(Swagger) specification
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.1
|
|
6
|
+
* Contact: yuki@yuki0311.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ContentDisclosureAdvertisingDisclosure
|
|
16
|
+
*/
|
|
17
|
+
export interface ContentDisclosureAdvertisingDisclosure {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof ContentDisclosureAdvertisingDisclosure
|
|
22
|
+
*/
|
|
23
|
+
isPaidPromotion: boolean;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the ContentDisclosureAdvertisingDisclosure interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfContentDisclosureAdvertisingDisclosure(value: object): value is ContentDisclosureAdvertisingDisclosure;
|
|
29
|
+
export declare function ContentDisclosureAdvertisingDisclosureFromJSON(json: any): ContentDisclosureAdvertisingDisclosure;
|
|
30
|
+
export declare function ContentDisclosureAdvertisingDisclosureFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContentDisclosureAdvertisingDisclosure;
|
|
31
|
+
export declare function ContentDisclosureAdvertisingDisclosureToJSON(json: any): ContentDisclosureAdvertisingDisclosure;
|
|
32
|
+
export declare function ContentDisclosureAdvertisingDisclosureToJSONTyped(value?: ContentDisclosureAdvertisingDisclosure | null, ignoreDiscriminator?: boolean): any;
|
|
33
|
+
//# sourceMappingURL=ContentDisclosureAdvertisingDisclosure.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContentDisclosureAdvertisingDisclosure.d.ts","sourceRoot":"","sources":["../../src/models/ContentDisclosureAdvertisingDisclosure.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,sCAAsC;IACnD;;;;OAIG;IACH,eAAe,EAAE,OAAO,CAAC;CAC5B;AAED;;GAEG;AACH,wBAAgB,gDAAgD,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,sCAAsC,CAG/H;AAED,wBAAgB,8CAA8C,CAAC,IAAI,EAAE,GAAG,GAAG,sCAAsC,CAEhH;AAED,wBAAgB,mDAAmD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,sCAAsC,CAQnJ;AAED,wBAAgB,4CAA4C,CAAC,IAAI,EAAE,GAAG,GAAG,sCAAsC,CAE9G;AAED,wBAAgB,iDAAiD,CAAC,KAAK,CAAC,EAAE,sCAAsC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CASlK"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Twitter OpenAPI
|
|
6
|
+
* Twitter OpenAPI(Swagger) specification
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.1
|
|
9
|
+
* Contact: yuki@yuki0311.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfContentDisclosureAdvertisingDisclosure = instanceOfContentDisclosureAdvertisingDisclosure;
|
|
17
|
+
exports.ContentDisclosureAdvertisingDisclosureFromJSON = ContentDisclosureAdvertisingDisclosureFromJSON;
|
|
18
|
+
exports.ContentDisclosureAdvertisingDisclosureFromJSONTyped = ContentDisclosureAdvertisingDisclosureFromJSONTyped;
|
|
19
|
+
exports.ContentDisclosureAdvertisingDisclosureToJSON = ContentDisclosureAdvertisingDisclosureToJSON;
|
|
20
|
+
exports.ContentDisclosureAdvertisingDisclosureToJSONTyped = ContentDisclosureAdvertisingDisclosureToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ContentDisclosureAdvertisingDisclosure interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfContentDisclosureAdvertisingDisclosure(value) {
|
|
25
|
+
if (!('isPaidPromotion' in value) || value['isPaidPromotion'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function ContentDisclosureAdvertisingDisclosureFromJSON(json) {
|
|
30
|
+
return ContentDisclosureAdvertisingDisclosureFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function ContentDisclosureAdvertisingDisclosureFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'isPaidPromotion': json['is_paid_promotion'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function ContentDisclosureAdvertisingDisclosureToJSON(json) {
|
|
41
|
+
return ContentDisclosureAdvertisingDisclosureToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function ContentDisclosureAdvertisingDisclosureToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'is_paid_promotion': value['isPaidPromotion'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
//# sourceMappingURL=ContentDisclosureAdvertisingDisclosure.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContentDisclosureAdvertisingDisclosure.js","sourceRoot":"","sources":["../../src/models/ContentDisclosureAdvertisingDisclosure.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAoBH,4GAGC;AAED,wGAEC;AAED,kHAQC;AAED,oGAEC;AAED,8GASC;AAnCD;;GAEG;AACH,SAAgB,gDAAgD,CAAC,KAAa;IAC1E,IAAI,CAAC,CAAC,iBAAiB,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,iBAAiB,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC1F,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,8CAA8C,CAAC,IAAS;IACpE,OAAO,mDAAmD,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC5E,CAAC;AAED,SAAgB,mDAAmD,CAAC,IAAS,EAAE,mBAA4B;IACvG,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,iBAAiB,EAAE,IAAI,CAAC,mBAAmB,CAAC;KAC/C,CAAC;AACN,CAAC;AAED,SAAgB,4CAA4C,CAAC,IAAS;IAClE,OAAO,iDAAiD,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC1E,CAAC;AAED,SAAgB,iDAAiD,CAAC,KAAqD,EAAE,mBAAoC;IAApC,oCAAA,EAAA,2BAAoC;IACzJ,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,mBAAmB,EAAE,KAAK,CAAC,iBAAiB,CAAC;KAChD,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Twitter OpenAPI
|
|
3
|
+
* Twitter OpenAPI(Swagger) specification
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.1
|
|
6
|
+
* Contact: yuki@yuki0311.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ContentDisclosureAiGeneratedDisclosure
|
|
16
|
+
*/
|
|
17
|
+
export interface ContentDisclosureAiGeneratedDisclosure {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {ContentDisclosureAiGeneratedDisclosureAiGeneratedDetectionSourceEnum}
|
|
21
|
+
* @memberof ContentDisclosureAiGeneratedDisclosure
|
|
22
|
+
*/
|
|
23
|
+
aiGeneratedDetectionSource?: ContentDisclosureAiGeneratedDisclosureAiGeneratedDetectionSourceEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof ContentDisclosureAiGeneratedDisclosure
|
|
28
|
+
*/
|
|
29
|
+
canEdit: boolean;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof ContentDisclosureAiGeneratedDisclosure
|
|
34
|
+
*/
|
|
35
|
+
hasAiGeneratedMedia: boolean;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export declare const ContentDisclosureAiGeneratedDisclosureAiGeneratedDetectionSourceEnum: {
|
|
41
|
+
readonly C2paClient: "C2paClient";
|
|
42
|
+
readonly ContentDisclosureAiGeneratedDisclosure: "ContentDisclosureAiGeneratedDisclosure";
|
|
43
|
+
readonly UserDeclared: "UserDeclared";
|
|
44
|
+
};
|
|
45
|
+
export type ContentDisclosureAiGeneratedDisclosureAiGeneratedDetectionSourceEnum = typeof ContentDisclosureAiGeneratedDisclosureAiGeneratedDetectionSourceEnum[keyof typeof ContentDisclosureAiGeneratedDisclosureAiGeneratedDetectionSourceEnum];
|
|
46
|
+
/**
|
|
47
|
+
* Check if a given object implements the ContentDisclosureAiGeneratedDisclosure interface.
|
|
48
|
+
*/
|
|
49
|
+
export declare function instanceOfContentDisclosureAiGeneratedDisclosure(value: object): value is ContentDisclosureAiGeneratedDisclosure;
|
|
50
|
+
export declare function ContentDisclosureAiGeneratedDisclosureFromJSON(json: any): ContentDisclosureAiGeneratedDisclosure;
|
|
51
|
+
export declare function ContentDisclosureAiGeneratedDisclosureFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContentDisclosureAiGeneratedDisclosure;
|
|
52
|
+
export declare function ContentDisclosureAiGeneratedDisclosureToJSON(json: any): ContentDisclosureAiGeneratedDisclosure;
|
|
53
|
+
export declare function ContentDisclosureAiGeneratedDisclosureToJSONTyped(value?: ContentDisclosureAiGeneratedDisclosure | null, ignoreDiscriminator?: boolean): any;
|
|
54
|
+
//# sourceMappingURL=ContentDisclosureAiGeneratedDisclosure.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContentDisclosureAiGeneratedDisclosure.d.ts","sourceRoot":"","sources":["../../src/models/ContentDisclosureAiGeneratedDisclosure.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,sCAAsC;IACnD;;;;OAIG;IACH,0BAA0B,CAAC,EAAE,oEAAoE,CAAC;IAClG;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,mBAAmB,EAAE,OAAO,CAAC;CAChC;AAGD;;GAEG;AACH,eAAO,MAAM,oEAAoE;;;;CAIvE,CAAC;AACX,MAAM,MAAM,oEAAoE,GAAG,OAAO,oEAAoE,CAAC,MAAM,OAAO,oEAAoE,CAAC,CAAC;AAGlP;;GAEG;AACH,wBAAgB,gDAAgD,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,sCAAsC,CAI/H;AAED,wBAAgB,8CAA8C,CAAC,IAAI,EAAE,GAAG,GAAG,sCAAsC,CAEhH;AAED,wBAAgB,mDAAmD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,sCAAsC,CAUnJ;AAED,wBAAgB,4CAA4C,CAAC,IAAI,EAAE,GAAG,GAAG,sCAAsC,CAE9G;AAED,wBAAgB,iDAAiD,CAAC,KAAK,CAAC,EAAE,sCAAsC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWlK"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Twitter OpenAPI
|
|
6
|
+
* Twitter OpenAPI(Swagger) specification
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.1
|
|
9
|
+
* Contact: yuki@yuki0311.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ContentDisclosureAiGeneratedDisclosureAiGeneratedDetectionSourceEnum = void 0;
|
|
17
|
+
exports.instanceOfContentDisclosureAiGeneratedDisclosure = instanceOfContentDisclosureAiGeneratedDisclosure;
|
|
18
|
+
exports.ContentDisclosureAiGeneratedDisclosureFromJSON = ContentDisclosureAiGeneratedDisclosureFromJSON;
|
|
19
|
+
exports.ContentDisclosureAiGeneratedDisclosureFromJSONTyped = ContentDisclosureAiGeneratedDisclosureFromJSONTyped;
|
|
20
|
+
exports.ContentDisclosureAiGeneratedDisclosureToJSON = ContentDisclosureAiGeneratedDisclosureToJSON;
|
|
21
|
+
exports.ContentDisclosureAiGeneratedDisclosureToJSONTyped = ContentDisclosureAiGeneratedDisclosureToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.ContentDisclosureAiGeneratedDisclosureAiGeneratedDetectionSourceEnum = {
|
|
26
|
+
C2paClient: 'C2paClient',
|
|
27
|
+
ContentDisclosureAiGeneratedDisclosure: 'ContentDisclosureAiGeneratedDisclosure',
|
|
28
|
+
UserDeclared: 'UserDeclared'
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the ContentDisclosureAiGeneratedDisclosure interface.
|
|
32
|
+
*/
|
|
33
|
+
function instanceOfContentDisclosureAiGeneratedDisclosure(value) {
|
|
34
|
+
if (!('canEdit' in value) || value['canEdit'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('hasAiGeneratedMedia' in value) || value['hasAiGeneratedMedia'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
function ContentDisclosureAiGeneratedDisclosureFromJSON(json) {
|
|
41
|
+
return ContentDisclosureAiGeneratedDisclosureFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function ContentDisclosureAiGeneratedDisclosureFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
if (json == null) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'aiGeneratedDetectionSource': json['ai_generated_detection_source'] == null ? undefined : json['ai_generated_detection_source'],
|
|
49
|
+
'canEdit': json['can_edit'],
|
|
50
|
+
'hasAiGeneratedMedia': json['has_ai_generated_media'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
function ContentDisclosureAiGeneratedDisclosureToJSON(json) {
|
|
54
|
+
return ContentDisclosureAiGeneratedDisclosureToJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
function ContentDisclosureAiGeneratedDisclosureToJSONTyped(value, ignoreDiscriminator) {
|
|
57
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
58
|
+
if (value == null) {
|
|
59
|
+
return value;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
'ai_generated_detection_source': value['aiGeneratedDetectionSource'],
|
|
63
|
+
'can_edit': value['canEdit'],
|
|
64
|
+
'has_ai_generated_media': value['hasAiGeneratedMedia'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
//# sourceMappingURL=ContentDisclosureAiGeneratedDisclosure.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContentDisclosureAiGeneratedDisclosure.js","sourceRoot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AqD,EAAE,mBAAoC;IAApC,oCAAA,EAAA,2BAAoC;IACzJ,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,+BAA+B,EAAE,KAAK,CAAC,4BAA4B,CAAC;QACpE,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC;QAC5B,wBAAwB,EAAE,KAAK,CAAC,qBAAqB,CAAC;KACzD,CAAC;AACN,CAAC"}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { Media } from './Media';
|
|
13
|
+
import type { Smarttag } from './Smarttag';
|
|
13
14
|
import type { Timestamp } from './Timestamp';
|
|
14
15
|
import type { Url } from './Url';
|
|
15
16
|
/**
|
|
@@ -23,7 +24,7 @@ export interface Entities {
|
|
|
23
24
|
* @type {Array<{ [key: string]: any; }>}
|
|
24
25
|
* @memberof Entities
|
|
25
26
|
*/
|
|
26
|
-
hashtags
|
|
27
|
+
hashtags?: Array<{
|
|
27
28
|
[key: string]: any;
|
|
28
29
|
}>;
|
|
29
30
|
/**
|
|
@@ -32,12 +33,18 @@ export interface Entities {
|
|
|
32
33
|
* @memberof Entities
|
|
33
34
|
*/
|
|
34
35
|
media?: Array<Media>;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Array<Smarttag>}
|
|
39
|
+
* @memberof Entities
|
|
40
|
+
*/
|
|
41
|
+
smarttags?: Array<Smarttag>;
|
|
35
42
|
/**
|
|
36
43
|
*
|
|
37
44
|
* @type {Array<{ [key: string]: any; }>}
|
|
38
45
|
* @memberof Entities
|
|
39
46
|
*/
|
|
40
|
-
symbols
|
|
47
|
+
symbols?: Array<{
|
|
41
48
|
[key: string]: any;
|
|
42
49
|
}>;
|
|
43
50
|
/**
|
|
@@ -51,13 +58,13 @@ export interface Entities {
|
|
|
51
58
|
* @type {Array<Url>}
|
|
52
59
|
* @memberof Entities
|
|
53
60
|
*/
|
|
54
|
-
urls
|
|
61
|
+
urls?: Array<Url>;
|
|
55
62
|
/**
|
|
56
63
|
*
|
|
57
64
|
* @type {Array<{ [key: string]: any; }>}
|
|
58
65
|
* @memberof Entities
|
|
59
66
|
*/
|
|
60
|
-
userMentions
|
|
67
|
+
userMentions?: Array<{
|
|
61
68
|
[key: string]: any;
|
|
62
69
|
}>;
|
|
63
70
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Entities.d.ts","sourceRoot":"","sources":["../../src/models/Entities.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAOrC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAO7C,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAQjC;;;;GAIG;AACH,MAAM,WAAW,QAAQ;IACrB;;;;OAIG;IACH,QAAQ,EAAE,KAAK,CAAC;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"Entities.d.ts","sourceRoot":"","sources":["../../src/models/Entities.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAOrC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAO3C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAO7C,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAQjC;;;;GAIG;AACH,MAAM,WAAW,QAAQ;IACrB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC,CAAC;IAC1C;;;;OAIG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;IACrB;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC;IAC5B;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC,CAAC;IACzC;;;;OAIG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;IAC9B;;;;OAIG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;IAClB;;;;OAIG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC,CAAC;CACjD;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,QAAQ,CAEnE;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAEpD;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,QAAQ,CAcvF;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAElD;AAED,wBAAgB,mBAAmB,CAAC,KAAK,CAAC,EAAE,QAAQ,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAetG"}
|
package/dist/models/Entities.js
CHANGED
|
@@ -19,20 +19,13 @@ exports.EntitiesFromJSONTyped = EntitiesFromJSONTyped;
|
|
|
19
19
|
exports.EntitiesToJSON = EntitiesToJSON;
|
|
20
20
|
exports.EntitiesToJSONTyped = EntitiesToJSONTyped;
|
|
21
21
|
var Media_1 = require("./Media");
|
|
22
|
+
var Smarttag_1 = require("./Smarttag");
|
|
22
23
|
var Timestamp_1 = require("./Timestamp");
|
|
23
24
|
var Url_1 = require("./Url");
|
|
24
25
|
/**
|
|
25
26
|
* Check if a given object implements the Entities interface.
|
|
26
27
|
*/
|
|
27
28
|
function instanceOfEntities(value) {
|
|
28
|
-
if (!('hashtags' in value) || value['hashtags'] === undefined)
|
|
29
|
-
return false;
|
|
30
|
-
if (!('symbols' in value) || value['symbols'] === undefined)
|
|
31
|
-
return false;
|
|
32
|
-
if (!('urls' in value) || value['urls'] === undefined)
|
|
33
|
-
return false;
|
|
34
|
-
if (!('userMentions' in value) || value['userMentions'] === undefined)
|
|
35
|
-
return false;
|
|
36
29
|
return true;
|
|
37
30
|
}
|
|
38
31
|
function EntitiesFromJSON(json) {
|
|
@@ -43,12 +36,13 @@ function EntitiesFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
43
36
|
return json;
|
|
44
37
|
}
|
|
45
38
|
return {
|
|
46
|
-
'hashtags': json['hashtags'],
|
|
39
|
+
'hashtags': json['hashtags'] == null ? undefined : json['hashtags'],
|
|
47
40
|
'media': json['media'] == null ? undefined : (json['media'].map(Media_1.MediaFromJSON)),
|
|
48
|
-
'
|
|
41
|
+
'smarttags': json['smarttags'] == null ? undefined : (json['smarttags'].map(Smarttag_1.SmarttagFromJSON)),
|
|
42
|
+
'symbols': json['symbols'] == null ? undefined : json['symbols'],
|
|
49
43
|
'timestamps': json['timestamps'] == null ? undefined : (json['timestamps'].map(Timestamp_1.TimestampFromJSON)),
|
|
50
|
-
'urls': (json['urls'].map(Url_1.UrlFromJSON)),
|
|
51
|
-
'userMentions': json['user_mentions'],
|
|
44
|
+
'urls': json['urls'] == null ? undefined : (json['urls'].map(Url_1.UrlFromJSON)),
|
|
45
|
+
'userMentions': json['user_mentions'] == null ? undefined : json['user_mentions'],
|
|
52
46
|
};
|
|
53
47
|
}
|
|
54
48
|
function EntitiesToJSON(json) {
|
|
@@ -62,9 +56,10 @@ function EntitiesToJSONTyped(value, ignoreDiscriminator) {
|
|
|
62
56
|
return {
|
|
63
57
|
'hashtags': value['hashtags'],
|
|
64
58
|
'media': value['media'] == null ? undefined : (value['media'].map(Media_1.MediaToJSON)),
|
|
59
|
+
'smarttags': value['smarttags'] == null ? undefined : (value['smarttags'].map(Smarttag_1.SmarttagToJSON)),
|
|
65
60
|
'symbols': value['symbols'],
|
|
66
61
|
'timestamps': value['timestamps'] == null ? undefined : (value['timestamps'].map(Timestamp_1.TimestampToJSON)),
|
|
67
|
-
'urls': (value['urls'].map(Url_1.UrlToJSON)),
|
|
62
|
+
'urls': value['urls'] == null ? undefined : (value['urls'].map(Url_1.UrlToJSON)),
|
|
68
63
|
'user_mentions': value['userMentions'],
|
|
69
64
|
};
|
|
70
65
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Entities.js","sourceRoot":"","sources":["../../src/models/Entities.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;
|
|
1
|
+
{"version":3,"file":"Entities.js","sourceRoot":"","sources":["../../src/models/Entities.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAqFH,gDAEC;AAED,4CAEC;AAED,sDAcC;AAED,wCAEC;AAED,kDAeC;AA5HD,iCAKiB;AAEjB,uCAKoB;AAEpB,yCAKqB;AAErB,6BAKe;AAoDf;;GAEG;AACH,SAAgB,kBAAkB,CAAC,KAAa;IAC5C,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,gBAAgB,CAAC,IAAS;IACtC,OAAO,qBAAqB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC9C,CAAC;AAED,SAAgB,qBAAqB,CAAC,IAAS,EAAE,mBAA4B;IACzE,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC;QACnE,OAAO,EAAE,IAA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E,KAAK,CAAC,OAAO,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,KAAK,CAAC,OAAO,CAAgB,CAAC,GAAG,CAAC,mBAAW,CAAC,CAAC;QAC/F,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,KAAK,CAAC,WAAW,CAAgB,CAAC,GAAG,CAAC,yBAAc,CAAC,CAAC;QAC9G,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;QAC3B,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,KAAK,CAAC,YAAY,CAAgB,CAAC,GAAG,CAAC,2BAAe,CAAC,CAAC;QAClH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,KAAK,CAAC,MAAM,CAAgB,CAAC,GAAG,CAAC,eAAS,CAAC,CAAC;QAC1F,eAAe,EAAE,KAAK,CAAC,cAAc,CAAC;KACzC,CAAC;AACN,CAAC"}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { ErrorExtensions } from './ErrorExtensions';
|
|
13
|
+
import type { ErrorResponsePathInner } from './ErrorResponsePathInner';
|
|
13
14
|
import type { Tracing } from './Tracing';
|
|
14
15
|
import type { Location } from './Location';
|
|
15
16
|
/**
|
|
@@ -56,10 +57,10 @@ export interface ErrorResponse {
|
|
|
56
57
|
name: string;
|
|
57
58
|
/**
|
|
58
59
|
*
|
|
59
|
-
* @type {Array<
|
|
60
|
+
* @type {Array<ErrorResponsePathInner>}
|
|
60
61
|
* @memberof ErrorResponse
|
|
61
62
|
*/
|
|
62
|
-
path: Array<
|
|
63
|
+
path: Array<ErrorResponsePathInner>;
|
|
63
64
|
/**
|
|
64
65
|
*
|
|
65
66
|
* @type {number}
|
|
@@ -1 +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;AAOzD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAOzC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAQ3C;;;;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,
|
|
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;AAOzD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAOvE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAOzC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAQ3C;;;;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,sBAAsB,CAAC,CAAC;IACpC;;;;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,IAAI,EAAE,GAAG,GAAG,aAAa,CAE5D;AAED,wBAAgB,wBAAwB,CAAC,KAAK,CAAC,EAAE,aAAa,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAkBhH"}
|
|
@@ -19,6 +19,7 @@ exports.ErrorResponseFromJSONTyped = ErrorResponseFromJSONTyped;
|
|
|
19
19
|
exports.ErrorResponseToJSON = ErrorResponseToJSON;
|
|
20
20
|
exports.ErrorResponseToJSONTyped = ErrorResponseToJSONTyped;
|
|
21
21
|
var ErrorExtensions_1 = require("./ErrorExtensions");
|
|
22
|
+
var ErrorResponsePathInner_1 = require("./ErrorResponsePathInner");
|
|
22
23
|
var Tracing_1 = require("./Tracing");
|
|
23
24
|
var Location_1 = require("./Location");
|
|
24
25
|
/**
|
|
@@ -59,7 +60,7 @@ function ErrorResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
59
60
|
'locations': (json['locations'].map(Location_1.LocationFromJSON)),
|
|
60
61
|
'message': json['message'],
|
|
61
62
|
'name': json['name'],
|
|
62
|
-
'path': json['path'],
|
|
63
|
+
'path': (json['path'].map(ErrorResponsePathInner_1.ErrorResponsePathInnerFromJSON)),
|
|
63
64
|
'retryAfter': json['retry_after'] == null ? undefined : json['retry_after'],
|
|
64
65
|
'source': json['source'],
|
|
65
66
|
'tracing': (0, Tracing_1.TracingFromJSON)(json['tracing']),
|
|
@@ -80,7 +81,7 @@ function ErrorResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
|
80
81
|
'locations': (value['locations'].map(Location_1.LocationToJSON)),
|
|
81
82
|
'message': value['message'],
|
|
82
83
|
'name': value['name'],
|
|
83
|
-
'path': value['path'],
|
|
84
|
+
'path': (value['path'].map(ErrorResponsePathInner_1.ErrorResponsePathInnerToJSON)),
|
|
84
85
|
'retry_after': value['retryAfter'],
|
|
85
86
|
'source': value['source'],
|
|
86
87
|
'tracing': (0, Tracing_1.TracingToJSON)(value['tracing']),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorResponse.js","sourceRoot":"","sources":["../../src/models/ErrorResponse.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;
|
|
1
|
+
{"version":3,"file":"ErrorResponse.js","sourceRoot":"","sources":["../../src/models/ErrorResponse.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAuGH,0DAWC;AAED,sDAEC;AAED,gEAiBC;AAED,kDAEC;AAED,4DAkBC;AA7JD,qDAK2B;AAE3B,mEAKkC;AAElC,qCAKmB;AAEnB,uCAKoB;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,CA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AE,KAAK,CAAC,MAAM,CAAgB,CAAC,GAAG,CAAC,qDAA4B,CAAC,CAAC;QACzE,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"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Twitter OpenAPI
|
|
3
|
+
* Twitter OpenAPI(Swagger) specification
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.1
|
|
6
|
+
* Contact: yuki@yuki0311.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* @type ErrorResponsePathInner
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export type ErrorResponsePathInner = number | string;
|
|
18
|
+
export declare function ErrorResponsePathInnerFromJSON(json: any): ErrorResponsePathInner;
|
|
19
|
+
export declare function ErrorResponsePathInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ErrorResponsePathInner;
|
|
20
|
+
export declare function ErrorResponsePathInnerToJSON(json: any): any;
|
|
21
|
+
export declare function ErrorResponsePathInnerToJSONTyped(value?: ErrorResponsePathInner | null, ignoreDiscriminator?: boolean): any;
|
|
22
|
+
//# sourceMappingURL=ErrorResponsePathInner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorResponsePathInner.d.ts","sourceRoot":"","sources":["../../src/models/ErrorResponsePathInner.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH;;;;GAIG;AACH,MAAM,MAAM,sBAAsB,GAAG,MAAM,GAAG,MAAM,CAAC;AAErD,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,sBAAsB,CAEhF;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,sBAAsB,CAWnH;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,GAAG,CAE3D;AAED,wBAAgB,iCAAiC,CAAC,KAAK,CAAC,EAAE,sBAAsB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWlI"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Twitter OpenAPI
|
|
6
|
+
* Twitter OpenAPI(Swagger) specification
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.1
|
|
9
|
+
* Contact: yuki@yuki0311.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ErrorResponsePathInnerFromJSON = ErrorResponsePathInnerFromJSON;
|
|
17
|
+
exports.ErrorResponsePathInnerFromJSONTyped = ErrorResponsePathInnerFromJSONTyped;
|
|
18
|
+
exports.ErrorResponsePathInnerToJSON = ErrorResponsePathInnerToJSON;
|
|
19
|
+
exports.ErrorResponsePathInnerToJSONTyped = ErrorResponsePathInnerToJSONTyped;
|
|
20
|
+
function ErrorResponsePathInnerFromJSON(json) {
|
|
21
|
+
return ErrorResponsePathInnerFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
function ErrorResponsePathInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
if (typeof json === 'string') {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
if (typeof json === 'number') {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {};
|
|
34
|
+
}
|
|
35
|
+
function ErrorResponsePathInnerToJSON(json) {
|
|
36
|
+
return ErrorResponsePathInnerToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function ErrorResponsePathInnerToJSONTyped(value, ignoreDiscriminator) {
|
|
39
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
if (typeof value === 'string') {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
if (typeof value === 'number') {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {};
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=ErrorResponsePathInner.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorResponsePathInner.js","sourceRoot":"","sources":["../../src/models/ErrorResponsePathInner.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AASH,wEAEC;AAED,kFAWC;AAED,oEAEC;AAED,8EAWC;AAhCD,SAAgB,8BAA8B,CAAC,IAAS;IACpD,OAAO,mCAAmC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC5D,CAAC;AAED,SAAgB,mCAAmC,CAAC,IAAS,EAAE,mBAA4B;IACvF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO,EAAS,CAAC;AACrB,CAAC;AAED,SAAgB,4BAA4B,CAAC,IAAS;IAClD,OAAO,iCAAiC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC1D,CAAC;AAED,SAAgB,iCAAiC,CAAC,KAAqC,EAAE,mBAAoC;IAApC,oCAAA,EAAA,2BAAoC;IACzH,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IACD,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QAC5B,OAAO,KAAK,CAAC;IACjB,CAAC;IACD,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QAC5B,OAAO,KAAK,CAAC;IACjB,CAAC;IACD,OAAO,EAAE,CAAC;AACd,CAAC"}
|