twitter-openapi-typescript-generated 0.0.12 → 0.0.13

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.
Files changed (108) hide show
  1. package/.openapi-generator/FILES +13 -0
  2. package/README.md +2 -2
  3. package/dist/models/BirdwatchEntity.d.ts +45 -0
  4. package/dist/models/BirdwatchEntity.d.ts.map +1 -0
  5. package/dist/models/BirdwatchEntity.js +58 -0
  6. package/dist/models/BirdwatchEntity.js.map +1 -0
  7. package/dist/models/BirdwatchEntityRef.d.ts +58 -0
  8. package/dist/models/BirdwatchEntityRef.d.ts.map +1 -0
  9. package/dist/models/BirdwatchEntityRef.js +69 -0
  10. package/dist/models/BirdwatchEntityRef.js.map +1 -0
  11. package/dist/models/BirdwatchPivot.d.ts +91 -0
  12. package/dist/models/BirdwatchPivot.d.ts.map +1 -0
  13. package/dist/models/BirdwatchPivot.js +87 -0
  14. package/dist/models/BirdwatchPivot.js.map +1 -0
  15. package/dist/models/BirdwatchPivotFooter.d.ts +39 -0
  16. package/dist/models/BirdwatchPivotFooter.d.ts.map +1 -0
  17. package/dist/models/BirdwatchPivotFooter.js +55 -0
  18. package/dist/models/BirdwatchPivotFooter.js.map +1 -0
  19. package/dist/models/BirdwatchPivotNote.d.ts +32 -0
  20. package/dist/models/BirdwatchPivotNote.d.ts.map +1 -0
  21. package/dist/models/BirdwatchPivotNote.js +51 -0
  22. package/dist/models/BirdwatchPivotNote.js.map +1 -0
  23. package/dist/models/BirdwatchPivotSubtitle.d.ts +39 -0
  24. package/dist/models/BirdwatchPivotSubtitle.d.ts.map +1 -0
  25. package/dist/models/BirdwatchPivotSubtitle.js +55 -0
  26. package/dist/models/BirdwatchPivotSubtitle.js.map +1 -0
  27. package/dist/models/ContentItemType.d.ts +1 -0
  28. package/dist/models/ContentItemType.d.ts.map +1 -1
  29. package/dist/models/ContentItemType.js +2 -1
  30. package/dist/models/ContentItemType.js.map +1 -1
  31. package/dist/models/ExtMediaAvailability.d.ts +7 -0
  32. package/dist/models/ExtMediaAvailability.d.ts.map +1 -1
  33. package/dist/models/ExtMediaAvailability.js +4 -1
  34. package/dist/models/ExtMediaAvailability.js.map +1 -1
  35. package/dist/models/ItemContentUnion.d.ts +3 -0
  36. package/dist/models/ItemContentUnion.d.ts.map +1 -1
  37. package/dist/models/ItemContentUnion.js +5 -0
  38. package/dist/models/ItemContentUnion.js.map +1 -1
  39. package/dist/models/NoteTweet.d.ts +39 -0
  40. package/dist/models/NoteTweet.d.ts.map +1 -0
  41. package/dist/models/NoteTweet.js +55 -0
  42. package/dist/models/NoteTweet.js.map +1 -0
  43. package/dist/models/NoteTweetResult.d.ts +33 -0
  44. package/dist/models/NoteTweetResult.d.ts.map +1 -0
  45. package/dist/models/NoteTweetResult.js +52 -0
  46. package/dist/models/NoteTweetResult.js.map +1 -0
  47. package/dist/models/NoteTweetResultData.d.ts +59 -0
  48. package/dist/models/NoteTweetResultData.d.ts.map +1 -0
  49. package/dist/models/NoteTweetResultData.js +65 -0
  50. package/dist/models/NoteTweetResultData.js.map +1 -0
  51. package/dist/models/NoteTweetResultMedia.d.ts +32 -0
  52. package/dist/models/NoteTweetResultMedia.d.ts.map +1 -0
  53. package/dist/models/NoteTweetResultMedia.js +51 -0
  54. package/dist/models/NoteTweetResultMedia.js.map +1 -0
  55. package/dist/models/NoteTweetResultRichText.d.ts +33 -0
  56. package/dist/models/NoteTweetResultRichText.d.ts.map +1 -0
  57. package/dist/models/NoteTweetResultRichText.js +52 -0
  58. package/dist/models/NoteTweetResultRichText.js.map +1 -0
  59. package/dist/models/NoteTweetResultRichTextTag.d.ts +52 -0
  60. package/dist/models/NoteTweetResultRichTextTag.d.ts.map +1 -0
  61. package/dist/models/NoteTweetResultRichTextTag.js +64 -0
  62. package/dist/models/NoteTweetResultRichTextTag.js.map +1 -0
  63. package/dist/models/TimelineCommunity.d.ts +34 -0
  64. package/dist/models/TimelineCommunity.d.ts.map +1 -0
  65. package/dist/models/TimelineCommunity.js +59 -0
  66. package/dist/models/TimelineCommunity.js.map +1 -0
  67. package/dist/models/Tweet.d.ts +20 -0
  68. package/dist/models/Tweet.d.ts.map +1 -1
  69. package/dist/models/Tweet.js +8 -0
  70. package/dist/models/Tweet.js.map +1 -1
  71. package/dist/models/TypeName.d.ts +1 -0
  72. package/dist/models/TypeName.d.ts.map +1 -1
  73. package/dist/models/TypeName.js +1 -0
  74. package/dist/models/TypeName.js.map +1 -1
  75. package/dist/models/index.d.ts +13 -0
  76. package/dist/models/index.d.ts.map +1 -1
  77. package/dist/models/index.js +13 -0
  78. package/dist/models/index.js.map +1 -1
  79. package/package.json +2 -3
  80. package/src/models/BirdwatchEntity.ts +91 -0
  81. package/src/models/BirdwatchEntityRef.ts +102 -0
  82. package/src/models/BirdwatchPivot.ts +165 -0
  83. package/src/models/BirdwatchPivotFooter.ts +82 -0
  84. package/src/models/BirdwatchPivotNote.ts +66 -0
  85. package/src/models/BirdwatchPivotSubtitle.ts +82 -0
  86. package/src/models/ContentItemType.ts +2 -1
  87. package/src/models/ExtMediaAvailability.ts +10 -1
  88. package/src/models/ItemContentUnion.ts +12 -1
  89. package/src/models/NoteTweet.ts +82 -0
  90. package/src/models/NoteTweetResult.ts +73 -0
  91. package/src/models/NoteTweetResultData.ts +119 -0
  92. package/src/models/NoteTweetResultMedia.ts +66 -0
  93. package/src/models/NoteTweetResultRichText.ts +73 -0
  94. package/src/models/NoteTweetResultRichTextTag.ts +95 -0
  95. package/src/models/TimelineCommunity.ts +75 -0
  96. package/src/models/Tweet.ts +36 -0
  97. package/src/models/TypeName.ts +1 -0
  98. package/src/models/index.ts +13 -0
  99. package/tools/openapi-generator-config.yaml +1 -1
  100. package/twitter-openapi/README.md +2 -0
  101. package/twitter-openapi/dist/compatible/openapi-3.0.yaml +172 -0
  102. package/twitter-openapi/dist/docs/openapi-3.0.yaml +172 -0
  103. package/twitter-openapi/src/openapi/schemas/content.yaml +9 -0
  104. package/twitter-openapi/src/openapi/schemas/tweet.yaml +168 -1
  105. package/twitter-openapi/src/openapi/schemas/typename.yaml +1 -0
  106. package/twitter-openapi/test/python/test_serialize.py +24 -0
  107. package/twitter-openapi/tools/__pycache__/build_config.cpython-310.pyc +0 -0
  108. package/twitter-openapi/tools/__pycache__/hooks.cpython-310.pyc +0 -0
@@ -14,6 +14,12 @@ src/apis/V20GetApi.ts
14
14
  src/apis/index.ts
15
15
  src/index.ts
16
16
  src/models/AdditionalMediaInfo.ts
17
+ src/models/BirdwatchEntity.ts
18
+ src/models/BirdwatchEntityRef.ts
19
+ src/models/BirdwatchPivot.ts
20
+ src/models/BirdwatchPivotFooter.ts
21
+ src/models/BirdwatchPivotNote.ts
22
+ src/models/BirdwatchPivotSubtitle.ts
17
23
  src/models/BookmarksResponse.ts
18
24
  src/models/BookmarksResponseData.ts
19
25
  src/models/BookmarksTimeline.ts
@@ -92,6 +98,12 @@ src/models/MediaVideoInfoVariant.ts
92
98
  src/models/ModelError.ts
93
99
  src/models/ModuleEntry.ts
94
100
  src/models/ModuleItem.ts
101
+ src/models/NoteTweet.ts
102
+ src/models/NoteTweetResult.ts
103
+ src/models/NoteTweetResultData.ts
104
+ src/models/NoteTweetResultMedia.ts
105
+ src/models/NoteTweetResultRichText.ts
106
+ src/models/NoteTweetResultRichTextTag.ts
95
107
  src/models/OneFactorLoginEligibility.ts
96
108
  src/models/Other200Response.ts
97
109
  src/models/OtherResponse.ts
@@ -132,6 +144,7 @@ src/models/TimelineAddEntries.ts
132
144
  src/models/TimelineAddEntry.ts
133
145
  src/models/TimelineAddToModule.ts
134
146
  src/models/TimelineClearCache.ts
147
+ src/models/TimelineCommunity.ts
135
148
  src/models/TimelineCoverBehavior.ts
136
149
  src/models/TimelineHalfCover.ts
137
150
  src/models/TimelineMessagePrompt.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## twitter-openapi-typescript-generated@0.0.12
1
+ ## twitter-openapi-typescript-generated@0.0.13
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install twitter-openapi-typescript-generated@0.0.12 --save
39
+ npm install twitter-openapi-typescript-generated@0.0.13 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -0,0 +1,45 @@
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 { BirdwatchEntityRef } from './BirdwatchEntityRef';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface BirdwatchEntity
17
+ */
18
+ export interface BirdwatchEntity {
19
+ /**
20
+ *
21
+ * @type {number}
22
+ * @memberof BirdwatchEntity
23
+ */
24
+ fromIndex: number;
25
+ /**
26
+ *
27
+ * @type {BirdwatchEntityRef}
28
+ * @memberof BirdwatchEntity
29
+ */
30
+ ref: BirdwatchEntityRef;
31
+ /**
32
+ *
33
+ * @type {number}
34
+ * @memberof BirdwatchEntity
35
+ */
36
+ toIndex: number;
37
+ }
38
+ /**
39
+ * Check if a given object implements the BirdwatchEntity interface.
40
+ */
41
+ export declare function instanceOfBirdwatchEntity(value: object): boolean;
42
+ export declare function BirdwatchEntityFromJSON(json: any): BirdwatchEntity;
43
+ export declare function BirdwatchEntityFromJSONTyped(json: any, ignoreDiscriminator: boolean): BirdwatchEntity;
44
+ export declare function BirdwatchEntityToJSON(value?: BirdwatchEntity | null): any;
45
+ //# sourceMappingURL=BirdwatchEntity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BirdwatchEntity.d.ts","sourceRoot":"","sources":["../../src/models/BirdwatchEntity.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAO/D;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,GAAG,EAAE,kBAAkB,CAAC;IACxB;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAOhE;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAElE;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,eAAe,CAUrG;AAED,wBAAgB,qBAAqB,CAAC,KAAK,CAAC,EAAE,eAAe,GAAG,IAAI,GAAG,GAAG,CAazE"}
@@ -0,0 +1,58 @@
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.BirdwatchEntityToJSON = exports.BirdwatchEntityFromJSONTyped = exports.BirdwatchEntityFromJSON = exports.instanceOfBirdwatchEntity = void 0;
17
+ var BirdwatchEntityRef_1 = require("./BirdwatchEntityRef");
18
+ /**
19
+ * Check if a given object implements the BirdwatchEntity interface.
20
+ */
21
+ function instanceOfBirdwatchEntity(value) {
22
+ var isInstance = true;
23
+ isInstance = isInstance && "fromIndex" in value;
24
+ isInstance = isInstance && "ref" in value;
25
+ isInstance = isInstance && "toIndex" in value;
26
+ return isInstance;
27
+ }
28
+ exports.instanceOfBirdwatchEntity = instanceOfBirdwatchEntity;
29
+ function BirdwatchEntityFromJSON(json) {
30
+ return BirdwatchEntityFromJSONTyped(json, false);
31
+ }
32
+ exports.BirdwatchEntityFromJSON = BirdwatchEntityFromJSON;
33
+ function BirdwatchEntityFromJSONTyped(json, ignoreDiscriminator) {
34
+ if ((json === undefined) || (json === null)) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'fromIndex': json['fromIndex'],
39
+ 'ref': (0, BirdwatchEntityRef_1.BirdwatchEntityRefFromJSON)(json['ref']),
40
+ 'toIndex': json['toIndex'],
41
+ };
42
+ }
43
+ exports.BirdwatchEntityFromJSONTyped = BirdwatchEntityFromJSONTyped;
44
+ function BirdwatchEntityToJSON(value) {
45
+ if (value === undefined) {
46
+ return undefined;
47
+ }
48
+ if (value === null) {
49
+ return null;
50
+ }
51
+ return {
52
+ 'fromIndex': value.fromIndex,
53
+ 'ref': (0, BirdwatchEntityRef_1.BirdwatchEntityRefToJSON)(value.ref),
54
+ 'toIndex': value.toIndex,
55
+ };
56
+ }
57
+ exports.BirdwatchEntityToJSON = BirdwatchEntityToJSON;
58
+ //# sourceMappingURL=BirdwatchEntity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BirdwatchEntity.js","sourceRoot":"","sources":["../../src/models/BirdwatchEntity.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH,2DAI8B;AA4B9B;;GAEG;AACH,SAAgB,yBAAyB,CAAC,KAAa;IACnD,IAAI,UAAU,GAAG,IAAI,CAAC;IACtB,UAAU,GAAG,UAAU,IAAI,WAAW,IAAI,KAAK,CAAC;IAChD,UAAU,GAAG,UAAU,IAAI,KAAK,IAAI,KAAK,CAAC;IAC1C,UAAU,GAAG,UAAU,IAAI,SAAS,IAAI,KAAK,CAAC;IAE9C,OAAO,UAAU,CAAC;AACtB,CAAC;AAPD,8DAOC;AAED,SAAgB,uBAAuB,CAAC,IAAS;IAC7C,OAAO,4BAA4B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACrD,CAAC;AAFD,0DAEC;AAED,SAAgB,4BAA4B,CAAC,IAAS,EAAE,mBAA4B;IAChF,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE;QACzC,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC;QAC9B,KAAK,EAAE,IAAA,+CAA0B,EAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC9C,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC;KAC7B,CAAC;AACN,CAAC;AAVD,oEAUC;AAED,SAAgB,qBAAqB,CAAC,KAA8B;IAChE,IAAI,KAAK,KAAK,SAAS,EAAE;QACrB,OAAO,SAAS,CAAC;KACpB;IACD,IAAI,KAAK,KAAK,IAAI,EAAE;QAChB,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,WAAW,EAAE,KAAK,CAAC,SAAS;QAC5B,KAAK,EAAE,IAAA,6CAAwB,EAAC,KAAK,CAAC,GAAG,CAAC;QAC1C,SAAS,EAAE,KAAK,CAAC,OAAO;KAC3B,CAAC;AACN,CAAC;AAbD,sDAaC"}
@@ -0,0 +1,58 @@
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 BirdwatchEntityRef
16
+ */
17
+ export interface BirdwatchEntityRef {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof BirdwatchEntityRef
22
+ */
23
+ type: BirdwatchEntityRefTypeEnum;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof BirdwatchEntityRef
28
+ */
29
+ url: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof BirdwatchEntityRef
34
+ */
35
+ urlType: BirdwatchEntityRefUrlTypeEnum;
36
+ }
37
+ /**
38
+ * @export
39
+ */
40
+ export declare const BirdwatchEntityRefTypeEnum: {
41
+ readonly TimelineUrl: "TimelineUrl";
42
+ };
43
+ export type BirdwatchEntityRefTypeEnum = typeof BirdwatchEntityRefTypeEnum[keyof typeof BirdwatchEntityRefTypeEnum];
44
+ /**
45
+ * @export
46
+ */
47
+ export declare const BirdwatchEntityRefUrlTypeEnum: {
48
+ readonly ExternalUrl: "ExternalUrl";
49
+ };
50
+ export type BirdwatchEntityRefUrlTypeEnum = typeof BirdwatchEntityRefUrlTypeEnum[keyof typeof BirdwatchEntityRefUrlTypeEnum];
51
+ /**
52
+ * Check if a given object implements the BirdwatchEntityRef interface.
53
+ */
54
+ export declare function instanceOfBirdwatchEntityRef(value: object): boolean;
55
+ export declare function BirdwatchEntityRefFromJSON(json: any): BirdwatchEntityRef;
56
+ export declare function BirdwatchEntityRefFromJSONTyped(json: any, ignoreDiscriminator: boolean): BirdwatchEntityRef;
57
+ export declare function BirdwatchEntityRefToJSON(value?: BirdwatchEntityRef | null): any;
58
+ //# sourceMappingURL=BirdwatchEntityRef.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BirdwatchEntityRef.d.ts","sourceRoot":"","sources":["../../src/models/BirdwatchEntityRef.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;;;OAIG;IACH,IAAI,EAAE,0BAA0B,CAAC;IACjC;;;;OAIG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;;;OAIG;IACH,OAAO,EAAE,6BAA6B,CAAC;CAC1C;AAGD;;GAEG;AACH,eAAO,MAAM,0BAA0B;;CAE7B,CAAC;AACX,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,MAAM,OAAO,0BAA0B,CAAC,CAAC;AAEpH;;GAEG;AACH,eAAO,MAAM,6BAA6B;;CAEhC,CAAC;AACX,MAAM,MAAM,6BAA6B,GAAG,OAAO,6BAA6B,CAAC,MAAM,OAAO,6BAA6B,CAAC,CAAC;AAG7H;;GAEG;AACH,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAOnE;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,GAAG,kBAAkB,CAExE;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,kBAAkB,CAU3G;AAED,wBAAgB,wBAAwB,CAAC,KAAK,CAAC,EAAE,kBAAkB,GAAG,IAAI,GAAG,GAAG,CAa/E"}
@@ -0,0 +1,69 @@
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.BirdwatchEntityRefToJSON = exports.BirdwatchEntityRefFromJSONTyped = exports.BirdwatchEntityRefFromJSON = exports.instanceOfBirdwatchEntityRef = exports.BirdwatchEntityRefUrlTypeEnum = exports.BirdwatchEntityRefTypeEnum = void 0;
17
+ /**
18
+ * @export
19
+ */
20
+ exports.BirdwatchEntityRefTypeEnum = {
21
+ TimelineUrl: 'TimelineUrl'
22
+ };
23
+ /**
24
+ * @export
25
+ */
26
+ exports.BirdwatchEntityRefUrlTypeEnum = {
27
+ ExternalUrl: 'ExternalUrl'
28
+ };
29
+ /**
30
+ * Check if a given object implements the BirdwatchEntityRef interface.
31
+ */
32
+ function instanceOfBirdwatchEntityRef(value) {
33
+ var isInstance = true;
34
+ isInstance = isInstance && "type" in value;
35
+ isInstance = isInstance && "url" in value;
36
+ isInstance = isInstance && "urlType" in value;
37
+ return isInstance;
38
+ }
39
+ exports.instanceOfBirdwatchEntityRef = instanceOfBirdwatchEntityRef;
40
+ function BirdwatchEntityRefFromJSON(json) {
41
+ return BirdwatchEntityRefFromJSONTyped(json, false);
42
+ }
43
+ exports.BirdwatchEntityRefFromJSON = BirdwatchEntityRefFromJSON;
44
+ function BirdwatchEntityRefFromJSONTyped(json, ignoreDiscriminator) {
45
+ if ((json === undefined) || (json === null)) {
46
+ return json;
47
+ }
48
+ return {
49
+ 'type': json['type'],
50
+ 'url': json['url'],
51
+ 'urlType': json['urlType'],
52
+ };
53
+ }
54
+ exports.BirdwatchEntityRefFromJSONTyped = BirdwatchEntityRefFromJSONTyped;
55
+ function BirdwatchEntityRefToJSON(value) {
56
+ if (value === undefined) {
57
+ return undefined;
58
+ }
59
+ if (value === null) {
60
+ return null;
61
+ }
62
+ return {
63
+ 'type': value.type,
64
+ 'url': value.url,
65
+ 'urlType': value.urlType,
66
+ };
67
+ }
68
+ exports.BirdwatchEntityRefToJSON = BirdwatchEntityRefToJSON;
69
+ //# sourceMappingURL=BirdwatchEntityRef.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BirdwatchEntityRef.js","sourceRoot":"","sources":["../../src/models/BirdwatchEntityRef.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AA8BH;;GAEG;AACU,QAAA,0BAA0B,GAAG;IACtC,WAAW,EAAE,aAAa;CACpB,CAAC;AAGX;;GAEG;AACU,QAAA,6BAA6B,GAAG;IACzC,WAAW,EAAE,aAAa;CACpB,CAAC;AAIX;;GAEG;AACH,SAAgB,4BAA4B,CAAC,KAAa;IACtD,IAAI,UAAU,GAAG,IAAI,CAAC;IACtB,UAAU,GAAG,UAAU,IAAI,MAAM,IAAI,KAAK,CAAC;IAC3C,UAAU,GAAG,UAAU,IAAI,KAAK,IAAI,KAAK,CAAC;IAC1C,UAAU,GAAG,UAAU,IAAI,SAAS,IAAI,KAAK,CAAC;IAE9C,OAAO,UAAU,CAAC;AACtB,CAAC;AAPD,oEAOC;AAED,SAAgB,0BAA0B,CAAC,IAAS;IAChD,OAAO,+BAA+B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACxD,CAAC;AAFD,gEAEC;AAED,SAAgB,+BAA+B,CAAC,IAAS,EAAE,mBAA4B;IACnF,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE;QACzC,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;QACpB,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC;QAClB,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC;KAC7B,CAAC;AACN,CAAC;AAVD,0EAUC;AAED,SAAgB,wBAAwB,CAAC,KAAiC;IACtE,IAAI,KAAK,KAAK,SAAS,EAAE;QACrB,OAAO,SAAS,CAAC;KACpB;IACD,IAAI,KAAK,KAAK,IAAI,EAAE;QAChB,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,MAAM,EAAE,KAAK,CAAC,IAAI;QAClB,KAAK,EAAE,KAAK,CAAC,GAAG;QAChB,SAAS,EAAE,KAAK,CAAC,OAAO;KAC3B,CAAC;AACN,CAAC;AAbD,4DAaC"}
@@ -0,0 +1,91 @@
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 { BirdwatchPivotFooter } from './BirdwatchPivotFooter';
13
+ import type { BirdwatchPivotNote } from './BirdwatchPivotNote';
14
+ import type { BirdwatchPivotSubtitle } from './BirdwatchPivotSubtitle';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface BirdwatchPivot
19
+ */
20
+ export interface BirdwatchPivot {
21
+ /**
22
+ *
23
+ * @type {string}
24
+ * @memberof BirdwatchPivot
25
+ */
26
+ destinationUrl: string;
27
+ /**
28
+ *
29
+ * @type {BirdwatchPivotFooter}
30
+ * @memberof BirdwatchPivot
31
+ */
32
+ footer: BirdwatchPivotFooter;
33
+ /**
34
+ *
35
+ * @type {string}
36
+ * @memberof BirdwatchPivot
37
+ */
38
+ iconType: BirdwatchPivotIconTypeEnum;
39
+ /**
40
+ *
41
+ * @type {BirdwatchPivotNote}
42
+ * @memberof BirdwatchPivot
43
+ */
44
+ note: BirdwatchPivotNote;
45
+ /**
46
+ *
47
+ * @type {string}
48
+ * @memberof BirdwatchPivot
49
+ */
50
+ shorttitle: string;
51
+ /**
52
+ *
53
+ * @type {BirdwatchPivotSubtitle}
54
+ * @memberof BirdwatchPivot
55
+ */
56
+ subtitle: BirdwatchPivotSubtitle;
57
+ /**
58
+ *
59
+ * @type {string}
60
+ * @memberof BirdwatchPivot
61
+ */
62
+ title: string;
63
+ /**
64
+ *
65
+ * @type {string}
66
+ * @memberof BirdwatchPivot
67
+ */
68
+ visualStyle?: BirdwatchPivotVisualStyleEnum;
69
+ }
70
+ /**
71
+ * @export
72
+ */
73
+ export declare const BirdwatchPivotIconTypeEnum: {
74
+ readonly BirdwatchV1Icon: "BirdwatchV1Icon";
75
+ };
76
+ export type BirdwatchPivotIconTypeEnum = typeof BirdwatchPivotIconTypeEnum[keyof typeof BirdwatchPivotIconTypeEnum];
77
+ /**
78
+ * @export
79
+ */
80
+ export declare const BirdwatchPivotVisualStyleEnum: {
81
+ readonly Default: "Default";
82
+ };
83
+ export type BirdwatchPivotVisualStyleEnum = typeof BirdwatchPivotVisualStyleEnum[keyof typeof BirdwatchPivotVisualStyleEnum];
84
+ /**
85
+ * Check if a given object implements the BirdwatchPivot interface.
86
+ */
87
+ export declare function instanceOfBirdwatchPivot(value: object): boolean;
88
+ export declare function BirdwatchPivotFromJSON(json: any): BirdwatchPivot;
89
+ export declare function BirdwatchPivotFromJSONTyped(json: any, ignoreDiscriminator: boolean): BirdwatchPivot;
90
+ export declare function BirdwatchPivotToJSON(value?: BirdwatchPivot | null): any;
91
+ //# sourceMappingURL=BirdwatchPivot.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BirdwatchPivot.d.ts","sourceRoot":"","sources":["../../src/models/BirdwatchPivot.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAMnE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAM/D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAOvE;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC3B;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,MAAM,EAAE,oBAAoB,CAAC;IAC7B;;;;OAIG;IACH,QAAQ,EAAE,0BAA0B,CAAC;IACrC;;;;OAIG;IACH,IAAI,EAAE,kBAAkB,CAAC;IACzB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,QAAQ,EAAE,sBAAsB,CAAC;IACjC;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,WAAW,CAAC,EAAE,6BAA6B,CAAC;CAC/C;AAGD;;GAEG;AACH,eAAO,MAAM,0BAA0B;;CAE7B,CAAC;AACX,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,MAAM,OAAO,0BAA0B,CAAC,CAAC;AAEpH;;GAEG;AACH,eAAO,MAAM,6BAA6B;;CAEhC,CAAC;AACX,MAAM,MAAM,6BAA6B,GAAG,OAAO,6BAA6B,CAAC,MAAM,OAAO,6BAA6B,CAAC,CAAC;AAG7H;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAW/D;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAEhE;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,cAAc,CAenG;AAED,wBAAgB,oBAAoB,CAAC,KAAK,CAAC,EAAE,cAAc,GAAG,IAAI,GAAG,GAAG,CAkBvE"}
@@ -0,0 +1,87 @@
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.BirdwatchPivotToJSON = exports.BirdwatchPivotFromJSONTyped = exports.BirdwatchPivotFromJSON = exports.instanceOfBirdwatchPivot = exports.BirdwatchPivotVisualStyleEnum = exports.BirdwatchPivotIconTypeEnum = void 0;
17
+ var runtime_1 = require("../runtime");
18
+ var BirdwatchPivotFooter_1 = require("./BirdwatchPivotFooter");
19
+ var BirdwatchPivotNote_1 = require("./BirdwatchPivotNote");
20
+ var BirdwatchPivotSubtitle_1 = require("./BirdwatchPivotSubtitle");
21
+ /**
22
+ * @export
23
+ */
24
+ exports.BirdwatchPivotIconTypeEnum = {
25
+ BirdwatchV1Icon: 'BirdwatchV1Icon'
26
+ };
27
+ /**
28
+ * @export
29
+ */
30
+ exports.BirdwatchPivotVisualStyleEnum = {
31
+ Default: 'Default'
32
+ };
33
+ /**
34
+ * Check if a given object implements the BirdwatchPivot interface.
35
+ */
36
+ function instanceOfBirdwatchPivot(value) {
37
+ var isInstance = true;
38
+ isInstance = isInstance && "destinationUrl" in value;
39
+ isInstance = isInstance && "footer" in value;
40
+ isInstance = isInstance && "iconType" in value;
41
+ isInstance = isInstance && "note" in value;
42
+ isInstance = isInstance && "shorttitle" in value;
43
+ isInstance = isInstance && "subtitle" in value;
44
+ isInstance = isInstance && "title" in value;
45
+ return isInstance;
46
+ }
47
+ exports.instanceOfBirdwatchPivot = instanceOfBirdwatchPivot;
48
+ function BirdwatchPivotFromJSON(json) {
49
+ return BirdwatchPivotFromJSONTyped(json, false);
50
+ }
51
+ exports.BirdwatchPivotFromJSON = BirdwatchPivotFromJSON;
52
+ function BirdwatchPivotFromJSONTyped(json, ignoreDiscriminator) {
53
+ if ((json === undefined) || (json === null)) {
54
+ return json;
55
+ }
56
+ return {
57
+ 'destinationUrl': json['destinationUrl'],
58
+ 'footer': (0, BirdwatchPivotFooter_1.BirdwatchPivotFooterFromJSON)(json['footer']),
59
+ 'iconType': json['iconType'],
60
+ 'note': (0, BirdwatchPivotNote_1.BirdwatchPivotNoteFromJSON)(json['note']),
61
+ 'shorttitle': json['shorttitle'],
62
+ 'subtitle': (0, BirdwatchPivotSubtitle_1.BirdwatchPivotSubtitleFromJSON)(json['subtitle']),
63
+ 'title': json['title'],
64
+ 'visualStyle': !(0, runtime_1.exists)(json, 'visualStyle') ? undefined : json['visualStyle'],
65
+ };
66
+ }
67
+ exports.BirdwatchPivotFromJSONTyped = BirdwatchPivotFromJSONTyped;
68
+ function BirdwatchPivotToJSON(value) {
69
+ if (value === undefined) {
70
+ return undefined;
71
+ }
72
+ if (value === null) {
73
+ return null;
74
+ }
75
+ return {
76
+ 'destinationUrl': value.destinationUrl,
77
+ 'footer': (0, BirdwatchPivotFooter_1.BirdwatchPivotFooterToJSON)(value.footer),
78
+ 'iconType': value.iconType,
79
+ 'note': (0, BirdwatchPivotNote_1.BirdwatchPivotNoteToJSON)(value.note),
80
+ 'shorttitle': value.shorttitle,
81
+ 'subtitle': (0, BirdwatchPivotSubtitle_1.BirdwatchPivotSubtitleToJSON)(value.subtitle),
82
+ 'title': value.title,
83
+ 'visualStyle': value.visualStyle,
84
+ };
85
+ }
86
+ exports.BirdwatchPivotToJSON = BirdwatchPivotToJSON;
87
+ //# sourceMappingURL=BirdwatchPivot.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BirdwatchPivot.js","sourceRoot":"","sources":["../../src/models/BirdwatchPivot.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAEH,sCAA+C;AAE/C,+DAIgC;AAEhC,2DAI8B;AAE9B,mEAIkC;AA2DlC;;GAEG;AACU,QAAA,0BAA0B,GAAG;IACtC,eAAe,EAAE,iBAAiB;CAC5B,CAAC;AAGX;;GAEG;AACU,QAAA,6BAA6B,GAAG;IACzC,OAAO,EAAE,SAAS;CACZ,CAAC;AAIX;;GAEG;AACH,SAAgB,wBAAwB,CAAC,KAAa;IAClD,IAAI,UAAU,GAAG,IAAI,CAAC;IACtB,UAAU,GAAG,UAAU,IAAI,gBAAgB,IAAI,KAAK,CAAC;IACrD,UAAU,GAAG,UAAU,IAAI,QAAQ,IAAI,KAAK,CAAC;IAC7C,UAAU,GAAG,UAAU,IAAI,UAAU,IAAI,KAAK,CAAC;IAC/C,UAAU,GAAG,UAAU,IAAI,MAAM,IAAI,KAAK,CAAC;IAC3C,UAAU,GAAG,UAAU,IAAI,YAAY,IAAI,KAAK,CAAC;IACjD,UAAU,GAAG,UAAU,IAAI,UAAU,IAAI,KAAK,CAAC;IAC/C,UAAU,GAAG,UAAU,IAAI,OAAO,IAAI,KAAK,CAAC;IAE5C,OAAO,UAAU,CAAC;AACtB,CAAC;AAXD,4DAWC;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,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE;QACzC,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,CAAC;QACxC,QAAQ,EAAE,IAAA,mDAA4B,EAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACtD,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC;QAC5B,MAAM,EAAE,IAAA,+CAA0B,EAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAChD,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC;QAChC,UAAU,EAAE,IAAA,uDAA8B,EAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAC5D,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC;QACtB,aAAa,EAAE,CAAC,IAAA,gBAAM,EAAC,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC;KAChF,CAAC;AACN,CAAC;AAfD,kEAeC;AAED,SAAgB,oBAAoB,CAAC,KAA6B;IAC9D,IAAI,KAAK,KAAK,SAAS,EAAE;QACrB,OAAO,SAAS,CAAC;KACpB;IACD,IAAI,KAAK,KAAK,IAAI,EAAE;QAChB,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,gBAAgB,EAAE,KAAK,CAAC,cAAc;QACtC,QAAQ,EAAE,IAAA,iDAA0B,EAAC,KAAK,CAAC,MAAM,CAAC;QAClD,UAAU,EAAE,KAAK,CAAC,QAAQ;QAC1B,MAAM,EAAE,IAAA,6CAAwB,EAAC,KAAK,CAAC,IAAI,CAAC;QAC5C,YAAY,EAAE,KAAK,CAAC,UAAU;QAC9B,UAAU,EAAE,IAAA,qDAA4B,EAAC,KAAK,CAAC,QAAQ,CAAC;QACxD,OAAO,EAAE,KAAK,CAAC,KAAK;QACpB,aAAa,EAAE,KAAK,CAAC,WAAW;KACnC,CAAC;AACN,CAAC;AAlBD,oDAkBC"}
@@ -0,0 +1,39 @@
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 { BirdwatchEntity } from './BirdwatchEntity';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface BirdwatchPivotFooter
17
+ */
18
+ export interface BirdwatchPivotFooter {
19
+ /**
20
+ *
21
+ * @type {Array<BirdwatchEntity>}
22
+ * @memberof BirdwatchPivotFooter
23
+ */
24
+ entities: Array<BirdwatchEntity>;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof BirdwatchPivotFooter
29
+ */
30
+ text: string;
31
+ }
32
+ /**
33
+ * Check if a given object implements the BirdwatchPivotFooter interface.
34
+ */
35
+ export declare function instanceOfBirdwatchPivotFooter(value: object): boolean;
36
+ export declare function BirdwatchPivotFooterFromJSON(json: any): BirdwatchPivotFooter;
37
+ export declare function BirdwatchPivotFooterFromJSONTyped(json: any, ignoreDiscriminator: boolean): BirdwatchPivotFooter;
38
+ export declare function BirdwatchPivotFooterToJSON(value?: BirdwatchPivotFooter | null): any;
39
+ //# sourceMappingURL=BirdwatchPivotFooter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BirdwatchPivotFooter.d.ts","sourceRoot":"","sources":["../../src/models/BirdwatchPivotFooter.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAOzD;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,QAAQ,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;IACjC;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAMrE;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE5E;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oBAAoB,CAS/G;AAED,wBAAgB,0BAA0B,CAAC,KAAK,CAAC,EAAE,oBAAoB,GAAG,IAAI,GAAG,GAAG,CAYnF"}
@@ -0,0 +1,55 @@
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.BirdwatchPivotFooterToJSON = exports.BirdwatchPivotFooterFromJSONTyped = exports.BirdwatchPivotFooterFromJSON = exports.instanceOfBirdwatchPivotFooter = void 0;
17
+ var BirdwatchEntity_1 = require("./BirdwatchEntity");
18
+ /**
19
+ * Check if a given object implements the BirdwatchPivotFooter interface.
20
+ */
21
+ function instanceOfBirdwatchPivotFooter(value) {
22
+ var isInstance = true;
23
+ isInstance = isInstance && "entities" in value;
24
+ isInstance = isInstance && "text" in value;
25
+ return isInstance;
26
+ }
27
+ exports.instanceOfBirdwatchPivotFooter = instanceOfBirdwatchPivotFooter;
28
+ function BirdwatchPivotFooterFromJSON(json) {
29
+ return BirdwatchPivotFooterFromJSONTyped(json, false);
30
+ }
31
+ exports.BirdwatchPivotFooterFromJSON = BirdwatchPivotFooterFromJSON;
32
+ function BirdwatchPivotFooterFromJSONTyped(json, ignoreDiscriminator) {
33
+ if ((json === undefined) || (json === null)) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'entities': (json['entities'].map(BirdwatchEntity_1.BirdwatchEntityFromJSON)),
38
+ 'text': json['text'],
39
+ };
40
+ }
41
+ exports.BirdwatchPivotFooterFromJSONTyped = BirdwatchPivotFooterFromJSONTyped;
42
+ function BirdwatchPivotFooterToJSON(value) {
43
+ if (value === undefined) {
44
+ return undefined;
45
+ }
46
+ if (value === null) {
47
+ return null;
48
+ }
49
+ return {
50
+ 'entities': (value.entities.map(BirdwatchEntity_1.BirdwatchEntityToJSON)),
51
+ 'text': value.text,
52
+ };
53
+ }
54
+ exports.BirdwatchPivotFooterToJSON = BirdwatchPivotFooterToJSON;
55
+ //# sourceMappingURL=BirdwatchPivotFooter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BirdwatchPivotFooter.js","sourceRoot":"","sources":["../../src/models/BirdwatchPivotFooter.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH,qDAI2B;AAsB3B;;GAEG;AACH,SAAgB,8BAA8B,CAAC,KAAa;IACxD,IAAI,UAAU,GAAG,IAAI,CAAC;IACtB,UAAU,GAAG,UAAU,IAAI,UAAU,IAAI,KAAK,CAAC;IAC/C,UAAU,GAAG,UAAU,IAAI,MAAM,IAAI,KAAK,CAAC;IAE3C,OAAO,UAAU,CAAC;AACtB,CAAC;AAND,wEAMC;AAED,SAAgB,4BAA4B,CAAC,IAAS;IAClD,OAAO,iCAAiC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC1D,CAAC;AAFD,oEAEC;AAED,SAAgB,iCAAiC,CAAC,IAAS,EAAE,mBAA4B;IACrF,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE;QACzC,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,UAAU,EAAE,CAAE,IAAI,CAAC,UAAU,CAAgB,CAAC,GAAG,CAAC,yCAAuB,CAAC,CAAC;QAC3E,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;KACvB,CAAC;AACN,CAAC;AATD,8EASC;AAED,SAAgB,0BAA0B,CAAC,KAAmC;IAC1E,IAAI,KAAK,KAAK,SAAS,EAAE;QACrB,OAAO,SAAS,CAAC;KACpB;IACD,IAAI,KAAK,KAAK,IAAI,EAAE;QAChB,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,UAAU,EAAE,CAAE,KAAK,CAAC,QAAuB,CAAC,GAAG,CAAC,uCAAqB,CAAC,CAAC;QACvE,MAAM,EAAE,KAAK,CAAC,IAAI;KACrB,CAAC;AACN,CAAC;AAZD,gEAYC"}
@@ -0,0 +1,32 @@
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 BirdwatchPivotNote
16
+ */
17
+ export interface BirdwatchPivotNote {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof BirdwatchPivotNote
22
+ */
23
+ restId: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the BirdwatchPivotNote interface.
27
+ */
28
+ export declare function instanceOfBirdwatchPivotNote(value: object): boolean;
29
+ export declare function BirdwatchPivotNoteFromJSON(json: any): BirdwatchPivotNote;
30
+ export declare function BirdwatchPivotNoteFromJSONTyped(json: any, ignoreDiscriminator: boolean): BirdwatchPivotNote;
31
+ export declare function BirdwatchPivotNoteToJSON(value?: BirdwatchPivotNote | null): any;
32
+ //# sourceMappingURL=BirdwatchPivotNote.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BirdwatchPivotNote.d.ts","sourceRoot":"","sources":["../../src/models/BirdwatchPivotNote.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAKnE;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,GAAG,kBAAkB,CAExE;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,kBAAkB,CAQ3G;AAED,wBAAgB,wBAAwB,CAAC,KAAK,CAAC,EAAE,kBAAkB,GAAG,IAAI,GAAG,GAAG,CAW/E"}