@stoplight/elements 9.0.11 → 9.0.12-beta-0.1

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 (63) hide show
  1. package/.storybook/main.js +6 -0
  2. package/.storybook/manager.js +1 -0
  3. package/.storybook/preview.jsx +3 -0
  4. package/jest.config.js +7 -0
  5. package/package.json +76 -16
  6. package/src/__fixtures__/api-descriptions/Instagram.ts +1859 -0
  7. package/src/__fixtures__/api-descriptions/badgesForSchema.ts +36 -0
  8. package/src/__fixtures__/api-descriptions/simpleApiWithInternalOperations.ts +253 -0
  9. package/src/__fixtures__/api-descriptions/simpleApiWithoutDescription.ts +243 -0
  10. package/src/__fixtures__/api-descriptions/todosApiBundled.ts +430 -0
  11. package/src/__fixtures__/api-descriptions/zoomApiYaml.ts +6083 -0
  12. package/src/components/API/APIWithResponsiveSidebarLayout.tsx +125 -0
  13. package/src/components/API/APIWithSidebarLayout.tsx +158 -0
  14. package/src/components/API/APIWithStackedLayout.tsx +286 -0
  15. package/src/components/API/__tests__/utils.test.ts +1323 -0
  16. package/src/components/API/utils.ts +206 -0
  17. package/src/containers/API.spec.tsx +122 -0
  18. package/src/containers/API.stories.tsx +117 -0
  19. package/src/containers/API.tsx +277 -0
  20. package/src/containers/story-helper.tsx +53 -0
  21. package/src/hooks/useExportDocumentProps.spec.tsx +68 -0
  22. package/src/hooks/useExportDocumentProps.tsx +48 -0
  23. package/src/styles.css +1 -0
  24. package/src/utils/oas/__tests__/oas.spec.ts +411 -0
  25. package/src/utils/oas/index.ts +192 -0
  26. package/src/utils/oas/oas2.ts +31 -0
  27. package/src/utils/oas/oas3.ts +54 -0
  28. package/src/utils/oas/types.ts +34 -0
  29. package/src/web-components/__stories__/Api.stories.tsx +63 -0
  30. package/src/web-components/components.ts +26 -0
  31. package/src/web-components/index.ts +3 -0
  32. package/tsconfig.build.json +18 -0
  33. package/tsconfig.json +7 -0
  34. package/web-components.config.js +1 -0
  35. package/__fixtures__/api-descriptions/Instagram.d.ts +0 -1547
  36. package/__fixtures__/api-descriptions/badgesForSchema.d.ts +0 -1
  37. package/__fixtures__/api-descriptions/simpleApiWithInternalOperations.d.ts +0 -224
  38. package/__fixtures__/api-descriptions/simpleApiWithoutDescription.d.ts +0 -212
  39. package/__fixtures__/api-descriptions/todosApiBundled.d.ts +0 -1
  40. package/__fixtures__/api-descriptions/zoomApiYaml.d.ts +0 -1
  41. package/components/API/APIWithResponsiveSidebarLayout.d.ts +0 -25
  42. package/components/API/APIWithSidebarLayout.d.ts +0 -32
  43. package/components/API/APIWithStackedLayout.d.ts +0 -29
  44. package/components/API/utils.d.ts +0 -20
  45. package/containers/API.d.ts +0 -30
  46. package/containers/API.spec.d.ts +0 -1
  47. package/containers/API.stories.d.ts +0 -58
  48. package/containers/story-helper.d.ts +0 -2
  49. package/hooks/useExportDocumentProps.d.ts +0 -11
  50. package/hooks/useExportDocumentProps.spec.d.ts +0 -1
  51. package/index.esm.js +0 -657
  52. package/index.js +0 -681
  53. package/index.mjs +0 -657
  54. package/styles.min.css +0 -1
  55. package/utils/oas/index.d.ts +0 -3
  56. package/utils/oas/oas2.d.ts +0 -2
  57. package/utils/oas/oas3.d.ts +0 -2
  58. package/utils/oas/types.d.ts +0 -33
  59. package/web-components/components.d.ts +0 -1
  60. package/web-components/index.d.ts +0 -1
  61. package/web-components.min.js +0 -2
  62. package/web-components.min.js.LICENSE.txt +0 -176
  63. /package/{index.d.ts → src/index.ts} +0 -0
@@ -1,1547 +0,0 @@
1
- export declare const InstagramAPI: {
2
- swagger: string;
3
- schemes: string[];
4
- host: string;
5
- basePath: string;
6
- info: {
7
- contact: {
8
- name: string;
9
- url: string;
10
- 'x-twitter': string;
11
- };
12
- description: string;
13
- termsOfService: string;
14
- title: string;
15
- version: string;
16
- 'x-apisguru-categories': string[];
17
- 'x-logo': {
18
- url: string;
19
- };
20
- 'x-origin': {
21
- format: string;
22
- url: string;
23
- version: string;
24
- }[];
25
- 'x-preferred': boolean;
26
- 'x-providerName': string;
27
- 'x-unofficialSpec': boolean;
28
- };
29
- externalDocs: {
30
- description: string;
31
- url: string;
32
- };
33
- produces: string[];
34
- securityDefinitions: {
35
- api_key: {
36
- in: string;
37
- name: string;
38
- type: string;
39
- };
40
- instagram_auth: {
41
- authorizationUrl: string;
42
- flow: string;
43
- scopes: {
44
- basic: string;
45
- comments: string;
46
- follower_list: string;
47
- likes: string;
48
- public_content: string;
49
- relationships: string;
50
- };
51
- type: string;
52
- };
53
- };
54
- tags: {
55
- description: string;
56
- name: string;
57
- }[];
58
- paths: {
59
- '/geographies/{geo-id}/media/recent': {
60
- get: {
61
- deprecated: boolean;
62
- description: string;
63
- parameters: ({
64
- description: string;
65
- in: string;
66
- name: string;
67
- required: boolean;
68
- type: string;
69
- format?: undefined;
70
- } | {
71
- description: string;
72
- format: string;
73
- in: string;
74
- name: string;
75
- required: boolean;
76
- type: string;
77
- })[];
78
- responses: {
79
- '200': {
80
- description: string;
81
- schema: {
82
- $ref: string;
83
- };
84
- };
85
- };
86
- security: ({
87
- api_key: never[];
88
- instagram_auth?: undefined;
89
- } | {
90
- instagram_auth: string[];
91
- api_key?: undefined;
92
- })[];
93
- summary: string;
94
- tags: string[];
95
- };
96
- };
97
- '/locations/search': {
98
- get: {
99
- description: string;
100
- parameters: ({
101
- description: string;
102
- format: string;
103
- in: string;
104
- name: string;
105
- required: boolean;
106
- type: string;
107
- } | {
108
- description: string;
109
- in: string;
110
- name: string;
111
- required: boolean;
112
- type: string;
113
- format?: undefined;
114
- })[];
115
- responses: {
116
- '200': {
117
- description: string;
118
- schema: {
119
- $ref: string;
120
- };
121
- };
122
- };
123
- security: ({
124
- api_key: never[];
125
- instagram_auth?: undefined;
126
- } | {
127
- instagram_auth: string[];
128
- api_key?: undefined;
129
- })[];
130
- summary: string;
131
- tags: string[];
132
- };
133
- };
134
- '/locations/{location-id}': {
135
- get: {
136
- description: string;
137
- parameters: {
138
- description: string;
139
- in: string;
140
- name: string;
141
- required: boolean;
142
- type: string;
143
- }[];
144
- responses: {
145
- '200': {
146
- description: string;
147
- schema: {
148
- $ref: string;
149
- };
150
- };
151
- };
152
- security: ({
153
- api_key: never[];
154
- instagram_auth?: undefined;
155
- } | {
156
- instagram_auth: string[];
157
- api_key?: undefined;
158
- })[];
159
- summary: string;
160
- tags: string[];
161
- };
162
- };
163
- '/locations/{location-id}/media/recent': {
164
- get: {
165
- description: string;
166
- parameters: ({
167
- description: string;
168
- in: string;
169
- name: string;
170
- required: boolean;
171
- type: string;
172
- format?: undefined;
173
- } | {
174
- description: string;
175
- format: string;
176
- in: string;
177
- name: string;
178
- required: boolean;
179
- type: string;
180
- })[];
181
- responses: {
182
- '200': {
183
- description: string;
184
- schema: {
185
- $ref: string;
186
- };
187
- };
188
- };
189
- security: ({
190
- api_key: never[];
191
- instagram_auth?: undefined;
192
- } | {
193
- instagram_auth: string[];
194
- api_key?: undefined;
195
- })[];
196
- summary: string;
197
- tags: string[];
198
- };
199
- };
200
- '/media/popular': {
201
- get: {
202
- deprecated: boolean;
203
- description: string;
204
- responses: {
205
- '200': {
206
- description: string;
207
- schema: {
208
- $ref: string;
209
- };
210
- };
211
- };
212
- security: ({
213
- api_key: never[];
214
- instagram_auth?: undefined;
215
- } | {
216
- instagram_auth: string[];
217
- api_key?: undefined;
218
- })[];
219
- summary: string;
220
- tags: string[];
221
- };
222
- };
223
- '/media/search': {
224
- get: {
225
- description: string;
226
- parameters: {
227
- description: string;
228
- format: string;
229
- in: string;
230
- name: string;
231
- required: boolean;
232
- type: string;
233
- }[];
234
- responses: {
235
- '200': {
236
- description: string;
237
- schema: {
238
- $ref: string;
239
- };
240
- };
241
- };
242
- security: ({
243
- api_key: never[];
244
- instagram_auth?: undefined;
245
- } | {
246
- instagram_auth: string[];
247
- api_key?: undefined;
248
- })[];
249
- summary: string;
250
- tags: string[];
251
- };
252
- };
253
- '/media/shortcode/{shortcode}': {
254
- get: {
255
- description: string;
256
- parameters: {
257
- description: string;
258
- in: string;
259
- name: string;
260
- required: boolean;
261
- type: string;
262
- }[];
263
- responses: {
264
- '200': {
265
- description: string;
266
- schema: {
267
- $ref: string;
268
- };
269
- };
270
- };
271
- security: ({
272
- api_key: never[];
273
- instagram_auth?: undefined;
274
- } | {
275
- instagram_auth: string[];
276
- api_key?: undefined;
277
- })[];
278
- summary: string;
279
- tags: string[];
280
- };
281
- };
282
- '/media/{media-id}': {
283
- get: {
284
- description: string;
285
- parameters: {
286
- description: string;
287
- in: string;
288
- name: string;
289
- required: boolean;
290
- type: string;
291
- }[];
292
- responses: {
293
- '200': {
294
- description: string;
295
- schema: {
296
- $ref: string;
297
- };
298
- };
299
- };
300
- security: ({
301
- api_key: never[];
302
- instagram_auth?: undefined;
303
- } | {
304
- instagram_auth: string[];
305
- api_key?: undefined;
306
- })[];
307
- summary: string;
308
- tags: string[];
309
- };
310
- };
311
- '/media/{media-id}/comments': {
312
- get: {
313
- description: string;
314
- parameters: {
315
- description: string;
316
- in: string;
317
- name: string;
318
- required: boolean;
319
- type: string;
320
- }[];
321
- responses: {
322
- '200': {
323
- description: string;
324
- schema: {
325
- $ref: string;
326
- };
327
- };
328
- };
329
- security: ({
330
- api_key: never[];
331
- instagram_auth?: undefined;
332
- } | {
333
- instagram_auth: string[];
334
- api_key?: undefined;
335
- })[];
336
- summary: string;
337
- tags: string[];
338
- };
339
- post: {
340
- description: string;
341
- parameters: {
342
- description: string;
343
- in: string;
344
- name: string;
345
- required: boolean;
346
- type: string;
347
- }[];
348
- responses: {
349
- '200': {
350
- description: string;
351
- schema: {
352
- $ref: string;
353
- };
354
- };
355
- };
356
- security: ({
357
- api_key: never[];
358
- instagram_auth?: undefined;
359
- } | {
360
- instagram_auth: string[];
361
- api_key?: undefined;
362
- })[];
363
- summary: string;
364
- tags: string[];
365
- };
366
- };
367
- '/media/{media-id}/comments/{comment-id}': {
368
- delete: {
369
- description: string;
370
- parameters: {
371
- description: string;
372
- in: string;
373
- name: string;
374
- required: boolean;
375
- type: string;
376
- }[];
377
- responses: {
378
- '200': {
379
- description: string;
380
- schema: {
381
- $ref: string;
382
- };
383
- };
384
- };
385
- security: ({
386
- api_key: never[];
387
- instagram_auth?: undefined;
388
- } | {
389
- instagram_auth: string[];
390
- api_key?: undefined;
391
- })[];
392
- summary: string;
393
- tags: string[];
394
- };
395
- };
396
- '/media/{media-id}/likes': {
397
- delete: {
398
- description: string;
399
- parameters: {
400
- description: string;
401
- in: string;
402
- name: string;
403
- required: boolean;
404
- type: string;
405
- }[];
406
- responses: {
407
- '200': {
408
- description: string;
409
- schema: {
410
- $ref: string;
411
- };
412
- };
413
- };
414
- security: ({
415
- api_key: never[];
416
- instagram_auth?: undefined;
417
- } | {
418
- instagram_auth: string[];
419
- api_key?: undefined;
420
- })[];
421
- summary: string;
422
- tags: string[];
423
- };
424
- get: {
425
- description: string;
426
- parameters: {
427
- description: string;
428
- in: string;
429
- name: string;
430
- required: boolean;
431
- type: string;
432
- }[];
433
- responses: {
434
- '200': {
435
- description: string;
436
- schema: {
437
- $ref: string;
438
- };
439
- };
440
- };
441
- security: ({
442
- api_key: never[];
443
- instagram_auth?: undefined;
444
- } | {
445
- instagram_auth: string[];
446
- api_key?: undefined;
447
- })[];
448
- summary: string;
449
- tags: string[];
450
- };
451
- post: {
452
- description: string;
453
- parameters: {
454
- description: string;
455
- in: string;
456
- name: string;
457
- required: boolean;
458
- type: string;
459
- }[];
460
- responses: {
461
- '200': {
462
- description: string;
463
- schema: {
464
- $ref: string;
465
- };
466
- };
467
- };
468
- security: ({
469
- api_key: never[];
470
- instagram_auth?: undefined;
471
- } | {
472
- instagram_auth: string[];
473
- api_key?: undefined;
474
- })[];
475
- summary: string;
476
- tags: string[];
477
- };
478
- };
479
- '/tags/search': {
480
- get: {
481
- description: string;
482
- parameters: {
483
- description: string;
484
- in: string;
485
- name: string;
486
- required: boolean;
487
- type: string;
488
- }[];
489
- responses: {
490
- '200': {
491
- description: string;
492
- schema: {
493
- $ref: string;
494
- };
495
- };
496
- };
497
- security: ({
498
- api_key: never[];
499
- instagram_auth?: undefined;
500
- } | {
501
- instagram_auth: string[];
502
- api_key?: undefined;
503
- })[];
504
- summary: string;
505
- tags: string[];
506
- };
507
- };
508
- '/tags/{tag-name}': {
509
- get: {
510
- description: string;
511
- parameters: {
512
- description: string;
513
- in: string;
514
- name: string;
515
- required: boolean;
516
- type: string;
517
- }[];
518
- responses: {
519
- '200': {
520
- description: string;
521
- schema: {
522
- $ref: string;
523
- };
524
- };
525
- };
526
- security: ({
527
- api_key: never[];
528
- instagram_auth?: undefined;
529
- } | {
530
- instagram_auth: string[];
531
- api_key?: undefined;
532
- })[];
533
- summary: string;
534
- tags: string[];
535
- };
536
- };
537
- '/tags/{tag-name}/media/recent': {
538
- get: {
539
- description: string;
540
- parameters: {
541
- description: string;
542
- in: string;
543
- name: string;
544
- required: boolean;
545
- type: string;
546
- }[];
547
- responses: {
548
- '200': {
549
- description: string;
550
- schema: {
551
- $ref: string;
552
- };
553
- };
554
- };
555
- security: ({
556
- api_key: never[];
557
- instagram_auth?: undefined;
558
- } | {
559
- instagram_auth: string[];
560
- api_key?: undefined;
561
- })[];
562
- summary: string;
563
- tags: string[];
564
- };
565
- };
566
- '/users/search': {
567
- get: {
568
- description: string;
569
- parameters: {
570
- description: string;
571
- in: string;
572
- name: string;
573
- required: boolean;
574
- type: string;
575
- }[];
576
- responses: {
577
- '200': {
578
- description: string;
579
- schema: {
580
- $ref: string;
581
- };
582
- };
583
- };
584
- security: ({
585
- api_key: never[];
586
- instagram_auth?: undefined;
587
- } | {
588
- instagram_auth: string[];
589
- api_key?: undefined;
590
- })[];
591
- summary: string;
592
- tags: string[];
593
- };
594
- };
595
- '/users/self/feed': {
596
- get: {
597
- deprecated: boolean;
598
- description: string;
599
- parameters: {
600
- description: string;
601
- in: string;
602
- name: string;
603
- required: boolean;
604
- type: string;
605
- }[];
606
- responses: {
607
- '200': {
608
- description: string;
609
- schema: {
610
- $ref: string;
611
- };
612
- };
613
- };
614
- security: ({
615
- api_key: never[];
616
- instagram_auth?: undefined;
617
- } | {
618
- instagram_auth: string[];
619
- api_key?: undefined;
620
- })[];
621
- summary: string;
622
- tags: string[];
623
- };
624
- };
625
- '/users/self/media/liked': {
626
- get: {
627
- description: string;
628
- parameters: {
629
- description: string;
630
- in: string;
631
- name: string;
632
- required: boolean;
633
- type: string;
634
- }[];
635
- responses: {
636
- '200': {
637
- description: string;
638
- schema: {
639
- $ref: string;
640
- };
641
- };
642
- };
643
- security: ({
644
- api_key: never[];
645
- instagram_auth?: undefined;
646
- } | {
647
- instagram_auth: string[];
648
- api_key?: undefined;
649
- })[];
650
- summary: string;
651
- tags: string[];
652
- };
653
- };
654
- '/users/self/requested-by': {
655
- get: {
656
- description: string;
657
- responses: {
658
- '200': {
659
- description: string;
660
- schema: {
661
- $ref: string;
662
- };
663
- };
664
- };
665
- security: ({
666
- api_key: never[];
667
- instagram_auth?: undefined;
668
- } | {
669
- instagram_auth: string[];
670
- api_key?: undefined;
671
- })[];
672
- summary: string;
673
- tags: string[];
674
- };
675
- };
676
- '/users/{user-id}': {
677
- get: {
678
- description: string;
679
- parameters: {
680
- description: string;
681
- in: string;
682
- name: string;
683
- required: boolean;
684
- type: string;
685
- }[];
686
- responses: {
687
- '200': {
688
- description: string;
689
- schema: {
690
- $ref: string;
691
- };
692
- };
693
- '404': {
694
- description: string;
695
- };
696
- };
697
- security: ({
698
- api_key: never[];
699
- instagram_auth?: undefined;
700
- } | {
701
- instagram_auth: string[];
702
- api_key?: undefined;
703
- })[];
704
- summary: string;
705
- tags: string[];
706
- };
707
- };
708
- '/users/{user-id}/followed-by': {
709
- get: {
710
- description: string;
711
- parameters: {
712
- description: string;
713
- in: string;
714
- name: string;
715
- required: boolean;
716
- type: string;
717
- }[];
718
- responses: {
719
- '200': {
720
- description: string;
721
- schema: {
722
- $ref: string;
723
- };
724
- };
725
- };
726
- security: ({
727
- api_key: never[];
728
- instagram_auth?: undefined;
729
- } | {
730
- instagram_auth: string[];
731
- api_key?: undefined;
732
- })[];
733
- summary: string;
734
- tags: string[];
735
- };
736
- };
737
- '/users/{user-id}/follows': {
738
- get: {
739
- description: string;
740
- parameters: {
741
- description: string;
742
- in: string;
743
- name: string;
744
- required: boolean;
745
- type: string;
746
- }[];
747
- responses: {
748
- '200': {
749
- description: string;
750
- schema: {
751
- $ref: string;
752
- };
753
- };
754
- };
755
- security: ({
756
- api_key: never[];
757
- instagram_auth?: undefined;
758
- } | {
759
- instagram_auth: string[];
760
- api_key?: undefined;
761
- })[];
762
- summary: string;
763
- tags: string[];
764
- };
765
- };
766
- '/users/{user-id}/media/recent': {
767
- get: {
768
- description: string;
769
- parameters: ({
770
- description: string;
771
- in: string;
772
- name: string;
773
- required: boolean;
774
- type: string;
775
- format?: undefined;
776
- } | {
777
- description: string;
778
- format: string;
779
- in: string;
780
- name: string;
781
- required: boolean;
782
- type: string;
783
- })[];
784
- responses: {
785
- '200': {
786
- description: string;
787
- schema: {
788
- $ref: string;
789
- };
790
- };
791
- };
792
- security: ({
793
- api_key: never[];
794
- instagram_auth?: undefined;
795
- } | {
796
- instagram_auth: string[];
797
- api_key?: undefined;
798
- })[];
799
- summary: string;
800
- tags: string[];
801
- };
802
- };
803
- '/internal/operation': {
804
- get: {
805
- description: string;
806
- 'x-internal': boolean;
807
- };
808
- };
809
- '/users/{user-id}/relationship': {
810
- get: {
811
- description: string;
812
- parameters: {
813
- description: string;
814
- in: string;
815
- name: string;
816
- required: boolean;
817
- type: string;
818
- }[];
819
- responses: {
820
- '200': {
821
- description: string;
822
- schema: {
823
- $ref: string;
824
- };
825
- };
826
- };
827
- security: ({
828
- api_key: never[];
829
- instagram_auth?: undefined;
830
- } | {
831
- instagram_auth: string[];
832
- api_key?: undefined;
833
- })[];
834
- summary: string;
835
- tags: string[];
836
- };
837
- post: {
838
- description: string;
839
- parameters: ({
840
- description: string;
841
- in: string;
842
- name: string;
843
- required: boolean;
844
- type: string;
845
- enum?: undefined;
846
- } | {
847
- description: string;
848
- enum: string[];
849
- in: string;
850
- name: string;
851
- required: boolean;
852
- type: string;
853
- })[];
854
- responses: {
855
- '200': {
856
- description: string;
857
- schema: {
858
- $ref: string;
859
- };
860
- };
861
- };
862
- security: ({
863
- api_key: never[];
864
- instagram_auth?: undefined;
865
- } | {
866
- instagram_auth: string[];
867
- api_key?: undefined;
868
- })[];
869
- summary: string;
870
- tags: string[];
871
- };
872
- };
873
- };
874
- definitions: {
875
- CaptionData: {
876
- properties: {
877
- created_time: {
878
- description: string;
879
- type: string;
880
- };
881
- from: {
882
- $ref: string;
883
- description: string;
884
- };
885
- id: {
886
- description: string;
887
- type: string;
888
- };
889
- text: {
890
- description: string;
891
- type: string;
892
- };
893
- };
894
- type: string;
895
- };
896
- CommentEntry: {
897
- properties: {
898
- created_time: {
899
- description: string;
900
- type: string;
901
- };
902
- from: {
903
- $ref: string;
904
- description: string;
905
- };
906
- id: {
907
- description: string;
908
- type: string;
909
- };
910
- text: {
911
- description: string;
912
- type: string;
913
- };
914
- };
915
- type: string;
916
- };
917
- CommentsCollection: {
918
- properties: {
919
- count: {
920
- description: string;
921
- type: string;
922
- };
923
- data: {
924
- description: string;
925
- items: {
926
- $ref: string;
927
- };
928
- type: string;
929
- };
930
- };
931
- type: string;
932
- };
933
- CommentsResponse: {
934
- properties: {
935
- data: {
936
- description: string;
937
- items: {
938
- $ref: string;
939
- };
940
- type: string;
941
- };
942
- meta: {
943
- $ref: string;
944
- description: string;
945
- };
946
- };
947
- type: string;
948
- };
949
- CursorPaginationInfo: {
950
- properties: {
951
- next_cursor: {
952
- description: string;
953
- type: string;
954
- };
955
- next_url: {
956
- description: string;
957
- type: string;
958
- };
959
- };
960
- type: string;
961
- };
962
- IdPaginationInfo: {
963
- properties: {
964
- next_max_id: {
965
- description: string;
966
- type: string;
967
- };
968
- next_url: {
969
- description: string;
970
- type: string;
971
- };
972
- };
973
- type: string;
974
- };
975
- ImageInfo: {
976
- properties: {
977
- height: {
978
- description: string;
979
- type: string;
980
- };
981
- url: {
982
- description: string;
983
- type: string;
984
- };
985
- width: {
986
- description: string;
987
- type: string;
988
- };
989
- };
990
- type: string;
991
- };
992
- ImagesData: {
993
- properties: {
994
- low_resolution: {
995
- $ref: string;
996
- description: string;
997
- };
998
- standard_resolution: {
999
- $ref: string;
1000
- description: string;
1001
- };
1002
- thumbnail: {
1003
- $ref: string;
1004
- description: string;
1005
- };
1006
- };
1007
- type: string;
1008
- };
1009
- LikesCollection: {
1010
- properties: {
1011
- count: {
1012
- description: string;
1013
- type: string;
1014
- };
1015
- data: {
1016
- description: string;
1017
- items: {
1018
- $ref: string;
1019
- };
1020
- type: string;
1021
- };
1022
- };
1023
- type: string;
1024
- };
1025
- LocationInfo: {
1026
- properties: {
1027
- id: {
1028
- description: string;
1029
- type: string;
1030
- };
1031
- latitude: {
1032
- description: string;
1033
- format: string;
1034
- type: string;
1035
- };
1036
- longitude: {
1037
- description: string;
1038
- format: string;
1039
- type: string;
1040
- };
1041
- name: {
1042
- description: string;
1043
- type: string;
1044
- };
1045
- };
1046
- type: string;
1047
- };
1048
- LocationInfoResponse: {
1049
- properties: {
1050
- data: {
1051
- $ref: string;
1052
- description: string;
1053
- };
1054
- meta: {
1055
- $ref: string;
1056
- description: string;
1057
- };
1058
- };
1059
- type: string;
1060
- };
1061
- LocationSearchResponse: {
1062
- properties: {
1063
- data: {
1064
- description: string;
1065
- items: {
1066
- $ref: string;
1067
- };
1068
- type: string;
1069
- };
1070
- meta: {
1071
- $ref: string;
1072
- description: string;
1073
- };
1074
- };
1075
- type: string;
1076
- };
1077
- MediaEntry: {
1078
- properties: {
1079
- attribution: {
1080
- description: string;
1081
- type: string;
1082
- };
1083
- caption: {
1084
- $ref: string;
1085
- description: string;
1086
- };
1087
- comments: {
1088
- $ref: string;
1089
- description: string;
1090
- };
1091
- created_time: {
1092
- description: string;
1093
- type: string;
1094
- };
1095
- filter: {
1096
- description: string;
1097
- type: string;
1098
- };
1099
- id: {
1100
- description: string;
1101
- type: string;
1102
- };
1103
- images: {
1104
- $ref: string;
1105
- description: string;
1106
- };
1107
- likes: {
1108
- $ref: string;
1109
- description: string;
1110
- };
1111
- link: {
1112
- description: string;
1113
- type: string;
1114
- };
1115
- location: {
1116
- $ref: string;
1117
- description: string;
1118
- };
1119
- tags: {
1120
- description: string;
1121
- items: {
1122
- type: string;
1123
- };
1124
- type: string;
1125
- };
1126
- type: {
1127
- description: string;
1128
- enum: string[];
1129
- type: string;
1130
- };
1131
- user: {
1132
- $ref: string;
1133
- description: string;
1134
- };
1135
- user_has_liked: {
1136
- description: string;
1137
- type: string;
1138
- };
1139
- users_in_photo: {
1140
- description: string;
1141
- items: {
1142
- $ref: string;
1143
- };
1144
- type: string;
1145
- };
1146
- videos: {
1147
- $ref: string;
1148
- description: string;
1149
- };
1150
- };
1151
- type: string;
1152
- };
1153
- MediaEntryResponse: {
1154
- properties: {
1155
- data: {
1156
- $ref: string;
1157
- description: string;
1158
- };
1159
- meta: {
1160
- $ref: string;
1161
- description: string;
1162
- };
1163
- };
1164
- type: string;
1165
- };
1166
- MediaListResponse: {
1167
- properties: {
1168
- data: {
1169
- description: string;
1170
- items: {
1171
- $ref: string;
1172
- };
1173
- type: string;
1174
- };
1175
- meta: {
1176
- $ref: string;
1177
- description: string;
1178
- };
1179
- pagination: {
1180
- $ref: string;
1181
- description: string;
1182
- };
1183
- };
1184
- type: string;
1185
- };
1186
- MediaSearchResponse: {
1187
- properties: {
1188
- data: {
1189
- description: string;
1190
- items: {
1191
- $ref: string;
1192
- };
1193
- type: string;
1194
- };
1195
- meta: {
1196
- $ref: string;
1197
- description: string;
1198
- };
1199
- };
1200
- type: string;
1201
- };
1202
- MetaData: {
1203
- properties: {
1204
- code: {
1205
- description: string;
1206
- format: string;
1207
- type: string;
1208
- };
1209
- };
1210
- type: string;
1211
- };
1212
- Position: {
1213
- properties: {
1214
- x: {
1215
- description: string;
1216
- format: string;
1217
- type: string;
1218
- };
1219
- y: {
1220
- description: string;
1221
- format: string;
1222
- type: string;
1223
- };
1224
- };
1225
- type: string;
1226
- };
1227
- RelationshipInfo: {
1228
- properties: {
1229
- incoming_status: {
1230
- description: string;
1231
- enum: string[];
1232
- type: string;
1233
- };
1234
- outgoing_status: {
1235
- description: string;
1236
- enum: string[];
1237
- type: string;
1238
- };
1239
- target_user_is_private: {
1240
- description: string;
1241
- type: string;
1242
- };
1243
- };
1244
- type: string;
1245
- };
1246
- RelationshipPostResponse: {
1247
- properties: {
1248
- data: {
1249
- $ref: string;
1250
- description: string;
1251
- };
1252
- meta: {
1253
- $ref: string;
1254
- description: string;
1255
- };
1256
- };
1257
- type: string;
1258
- };
1259
- RelationshipResponse: {
1260
- properties: {
1261
- data: {
1262
- $ref: string;
1263
- description: string;
1264
- };
1265
- meta: {
1266
- $ref: string;
1267
- description: string;
1268
- };
1269
- };
1270
- type: string;
1271
- };
1272
- RelationshipStatus: {
1273
- properties: {
1274
- outgoing_status: {
1275
- description: string;
1276
- enum: string[];
1277
- type: string;
1278
- };
1279
- };
1280
- type: string;
1281
- };
1282
- StatusResponse: {
1283
- properties: {
1284
- data: {
1285
- description: string;
1286
- type: string;
1287
- };
1288
- meta: {
1289
- $ref: string;
1290
- description: string;
1291
- };
1292
- };
1293
- type: string;
1294
- };
1295
- TagInfo: {
1296
- properties: {
1297
- media_count: {
1298
- description: string;
1299
- format: string;
1300
- type: string;
1301
- };
1302
- name: {
1303
- description: string;
1304
- type: string;
1305
- };
1306
- };
1307
- type: string;
1308
- };
1309
- TagInfoResponse: {
1310
- properties: {
1311
- data: {
1312
- $ref: string;
1313
- description: string;
1314
- };
1315
- meta: {
1316
- $ref: string;
1317
- description: string;
1318
- };
1319
- };
1320
- type: string;
1321
- };
1322
- TagMediaListResponse: {
1323
- properties: {
1324
- data: {
1325
- description: string;
1326
- items: {
1327
- $ref: string;
1328
- };
1329
- type: string;
1330
- };
1331
- meta: {
1332
- $ref: string;
1333
- description: string;
1334
- };
1335
- pagination: {
1336
- $ref: string;
1337
- description: string;
1338
- };
1339
- };
1340
- type: string;
1341
- };
1342
- TagPaginationInfo: {
1343
- properties: {
1344
- deprecation_warning: {
1345
- description: string;
1346
- type: string;
1347
- };
1348
- min_tag_id: {
1349
- description: string;
1350
- type: string;
1351
- };
1352
- next_max_id: {
1353
- description: string;
1354
- type: string;
1355
- };
1356
- next_max_tag_id: {
1357
- description: string;
1358
- type: string;
1359
- };
1360
- next_min_id: {
1361
- description: string;
1362
- type: string;
1363
- };
1364
- next_url: {
1365
- description: string;
1366
- type: string;
1367
- };
1368
- };
1369
- type: string;
1370
- };
1371
- TagSearchResponse: {
1372
- properties: {
1373
- data: {
1374
- description: string;
1375
- items: {
1376
- $ref: string;
1377
- };
1378
- type: string;
1379
- };
1380
- meta: {
1381
- $ref: string;
1382
- description: string;
1383
- };
1384
- };
1385
- type: string;
1386
- };
1387
- UserCounts: {
1388
- properties: {
1389
- followed_by: {
1390
- description: string;
1391
- format: string;
1392
- type: string;
1393
- };
1394
- follows: {
1395
- description: string;
1396
- format: string;
1397
- type: string;
1398
- };
1399
- media: {
1400
- description: string;
1401
- format: string;
1402
- type: string;
1403
- };
1404
- };
1405
- type: string;
1406
- };
1407
- UserInPhoto: {
1408
- properties: {
1409
- position: {
1410
- $ref: string;
1411
- description: string;
1412
- };
1413
- user: {
1414
- $ref: string;
1415
- description: string;
1416
- };
1417
- };
1418
- type: string;
1419
- };
1420
- UserInfo: {
1421
- properties: {
1422
- bio: {
1423
- description: string;
1424
- type: string;
1425
- };
1426
- counts: {
1427
- $ref: string;
1428
- description: string;
1429
- };
1430
- full_name: {
1431
- description: string;
1432
- type: string;
1433
- };
1434
- id: {
1435
- description: string;
1436
- type: string;
1437
- };
1438
- profile_picture: {
1439
- description: string;
1440
- type: string;
1441
- };
1442
- username: {
1443
- description: string;
1444
- type: string;
1445
- };
1446
- website: {
1447
- description: string;
1448
- type: string;
1449
- };
1450
- };
1451
- type: string;
1452
- };
1453
- UserResponse: {
1454
- properties: {
1455
- data: {
1456
- $ref: string;
1457
- description: string;
1458
- };
1459
- meta: {
1460
- $ref: string;
1461
- description: string;
1462
- };
1463
- };
1464
- type: string;
1465
- };
1466
- UserShortInfo: {
1467
- properties: {
1468
- full_name: {
1469
- description: string;
1470
- type: string;
1471
- };
1472
- id: {
1473
- description: string;
1474
- type: string;
1475
- };
1476
- profile_picture: {
1477
- description: string;
1478
- type: string;
1479
- };
1480
- username: {
1481
- description: string;
1482
- type: string;
1483
- };
1484
- };
1485
- type: string;
1486
- };
1487
- UsersInfoResponse: {
1488
- properties: {
1489
- data: {
1490
- description: string;
1491
- items: {
1492
- $ref: string;
1493
- };
1494
- type: string;
1495
- };
1496
- meta: {
1497
- $ref: string;
1498
- description: string;
1499
- };
1500
- };
1501
- type: string;
1502
- };
1503
- UsersPagingResponse: {
1504
- properties: {
1505
- data: {
1506
- description: string;
1507
- items: {
1508
- $ref: string;
1509
- };
1510
- type: string;
1511
- };
1512
- meta: {
1513
- $ref: string;
1514
- description: string;
1515
- };
1516
- pagination: {
1517
- $ref: string;
1518
- description: string;
1519
- };
1520
- };
1521
- type: string;
1522
- };
1523
- VideosData: {
1524
- properties: {
1525
- low_resolution: {
1526
- $ref: string;
1527
- description: string;
1528
- };
1529
- standard_resolution: {
1530
- $ref: string;
1531
- description: string;
1532
- };
1533
- };
1534
- type: string;
1535
- };
1536
- InternalObject: {
1537
- description: string;
1538
- type: string;
1539
- properties: {
1540
- a: {
1541
- type: string;
1542
- };
1543
- };
1544
- 'x-internal': boolean;
1545
- };
1546
- };
1547
- };