@proveanything/smartlinks 1.0.0 → 1.0.2

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.
@@ -0,0 +1,1780 @@
1
+ {
2
+ "id": 0,
3
+ "name": "@proveanything/smartlinks",
4
+ "variant": "project",
5
+ "kind": 1,
6
+ "flags": {},
7
+ "children": [
8
+ {
9
+ "id": 18,
10
+ "name": "ApiClient",
11
+ "variant": "declaration",
12
+ "kind": 128,
13
+ "flags": {},
14
+ "comment": {
15
+ "summary": [
16
+ {
17
+ "kind": "text",
18
+ "text": "ApiClient for the Smartlinks API.\nSupports both browser (native fetch) and Node (using cross-fetch)."
19
+ }
20
+ ]
21
+ },
22
+ "children": [
23
+ {
24
+ "id": 19,
25
+ "name": "constructor",
26
+ "variant": "declaration",
27
+ "kind": 512,
28
+ "flags": {},
29
+ "sources": [
30
+ {
31
+ "fileName": "index.ts",
32
+ "line": 97,
33
+ "character": 2
34
+ }
35
+ ],
36
+ "signatures": [
37
+ {
38
+ "id": 20,
39
+ "name": "new ApiClient",
40
+ "variant": "signature",
41
+ "kind": 16384,
42
+ "flags": {},
43
+ "comment": {
44
+ "summary": [
45
+ {
46
+ "kind": "text",
47
+ "text": "Creates an instance of ApiClient."
48
+ }
49
+ ],
50
+ "blockTags": [
51
+ {
52
+ "tag": "@example",
53
+ "content": [
54
+ {
55
+ "kind": "code",
56
+ "text": "```ts\n// With both API key and bearer token\nconst client = new ApiClient(\n 'https://smartlinks.app/api/v1',\n 'your-api-key',\n 'your-bearer-token'\n);\n\n// With only API key\nconst client = new ApiClient(\n 'https://smartlinks.app/api/v1',\n 'your-api-key'\n);\n\n// With only bearer token\nconst client = new ApiClient(\n 'https://smartlinks.app/api/v1',\n undefined,\n 'your-bearer-token'\n);\n```"
57
+ }
58
+ ]
59
+ }
60
+ ]
61
+ },
62
+ "sources": [
63
+ {
64
+ "fileName": "index.ts",
65
+ "line": 97,
66
+ "character": 2
67
+ }
68
+ ],
69
+ "parameters": [
70
+ {
71
+ "id": 21,
72
+ "name": "baseURL",
73
+ "variant": "param",
74
+ "kind": 32768,
75
+ "flags": {},
76
+ "comment": {
77
+ "summary": [
78
+ {
79
+ "kind": "text",
80
+ "text": "The base URL of the Smartlinks API (e.g., https://smartlinks.app/api/v1)"
81
+ }
82
+ ]
83
+ },
84
+ "type": {
85
+ "type": "intrinsic",
86
+ "name": "string"
87
+ }
88
+ },
89
+ {
90
+ "id": 22,
91
+ "name": "apiKey",
92
+ "variant": "param",
93
+ "kind": 32768,
94
+ "flags": {
95
+ "isOptional": true
96
+ },
97
+ "comment": {
98
+ "summary": [
99
+ {
100
+ "kind": "text",
101
+ "text": "(Optional) API key for X-API-Key header"
102
+ }
103
+ ]
104
+ },
105
+ "type": {
106
+ "type": "intrinsic",
107
+ "name": "string"
108
+ }
109
+ },
110
+ {
111
+ "id": 23,
112
+ "name": "bearerToken",
113
+ "variant": "param",
114
+ "kind": 32768,
115
+ "flags": {
116
+ "isOptional": true
117
+ },
118
+ "comment": {
119
+ "summary": [
120
+ {
121
+ "kind": "text",
122
+ "text": "(Optional) Bearer token for AUTHORIZATION header"
123
+ }
124
+ ]
125
+ },
126
+ "type": {
127
+ "type": "intrinsic",
128
+ "name": "string"
129
+ }
130
+ }
131
+ ],
132
+ "type": {
133
+ "type": "reference",
134
+ "target": 18,
135
+ "name": "ApiClient",
136
+ "package": "@proveanything/smartlinks"
137
+ }
138
+ }
139
+ ]
140
+ },
141
+ {
142
+ "id": 25,
143
+ "name": "apiKey",
144
+ "variant": "declaration",
145
+ "kind": 1024,
146
+ "flags": {
147
+ "isPrivate": true,
148
+ "isOptional": true
149
+ },
150
+ "sources": [
151
+ {
152
+ "fileName": "index.ts",
153
+ "line": 67,
154
+ "character": 10
155
+ }
156
+ ],
157
+ "type": {
158
+ "type": "intrinsic",
159
+ "name": "string"
160
+ }
161
+ },
162
+ {
163
+ "id": 24,
164
+ "name": "baseURL",
165
+ "variant": "declaration",
166
+ "kind": 1024,
167
+ "flags": {
168
+ "isPrivate": true
169
+ },
170
+ "sources": [
171
+ {
172
+ "fileName": "index.ts",
173
+ "line": 66,
174
+ "character": 10
175
+ }
176
+ ],
177
+ "type": {
178
+ "type": "intrinsic",
179
+ "name": "string"
180
+ }
181
+ },
182
+ {
183
+ "id": 26,
184
+ "name": "bearerToken",
185
+ "variant": "declaration",
186
+ "kind": 1024,
187
+ "flags": {
188
+ "isPrivate": true,
189
+ "isOptional": true
190
+ },
191
+ "sources": [
192
+ {
193
+ "fileName": "index.ts",
194
+ "line": 68,
195
+ "character": 10
196
+ }
197
+ ],
198
+ "type": {
199
+ "type": "intrinsic",
200
+ "name": "string"
201
+ }
202
+ },
203
+ {
204
+ "id": 34,
205
+ "name": "getAppConfiguration",
206
+ "variant": "declaration",
207
+ "kind": 2048,
208
+ "flags": {
209
+ "isPublic": true
210
+ },
211
+ "sources": [
212
+ {
213
+ "fileName": "index.ts",
214
+ "line": 133,
215
+ "character": 15
216
+ }
217
+ ],
218
+ "signatures": [
219
+ {
220
+ "id": 35,
221
+ "name": "getAppConfiguration",
222
+ "variant": "signature",
223
+ "kind": 4096,
224
+ "flags": {},
225
+ "comment": {
226
+ "summary": [
227
+ {
228
+ "kind": "text",
229
+ "text": "Retrieves a single App Configuration by Collection ID and App ID."
230
+ }
231
+ ],
232
+ "blockTags": [
233
+ {
234
+ "tag": "@returns",
235
+ "content": [
236
+ {
237
+ "kind": "text",
238
+ "text": "Promise resolving to an AppConfigurationResponse object"
239
+ }
240
+ ]
241
+ },
242
+ {
243
+ "tag": "@throws",
244
+ "content": [
245
+ {
246
+ "kind": "text",
247
+ "text": "ErrorResponse if the request fails"
248
+ }
249
+ ]
250
+ }
251
+ ]
252
+ },
253
+ "sources": [
254
+ {
255
+ "fileName": "index.ts",
256
+ "line": 133,
257
+ "character": 15
258
+ }
259
+ ],
260
+ "parameters": [
261
+ {
262
+ "id": 36,
263
+ "name": "collectionId",
264
+ "variant": "param",
265
+ "kind": 32768,
266
+ "flags": {},
267
+ "comment": {
268
+ "summary": [
269
+ {
270
+ "kind": "text",
271
+ "text": "Identifier of the parent collection"
272
+ }
273
+ ]
274
+ },
275
+ "type": {
276
+ "type": "intrinsic",
277
+ "name": "string"
278
+ }
279
+ },
280
+ {
281
+ "id": 37,
282
+ "name": "appId",
283
+ "variant": "param",
284
+ "kind": 32768,
285
+ "flags": {},
286
+ "comment": {
287
+ "summary": [
288
+ {
289
+ "kind": "text",
290
+ "text": "Identifier of the app configuration"
291
+ }
292
+ ]
293
+ },
294
+ "type": {
295
+ "type": "intrinsic",
296
+ "name": "string"
297
+ }
298
+ }
299
+ ],
300
+ "type": {
301
+ "type": "reference",
302
+ "target": {
303
+ "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts",
304
+ "qualifiedName": "Promise"
305
+ },
306
+ "typeArguments": [
307
+ {
308
+ "type": "reference",
309
+ "target": 11,
310
+ "name": "AppConfigurationResponse",
311
+ "package": "@proveanything/smartlinks"
312
+ }
313
+ ],
314
+ "name": "Promise",
315
+ "package": "typescript"
316
+ }
317
+ }
318
+ ]
319
+ },
320
+ {
321
+ "id": 27,
322
+ "name": "getCollection",
323
+ "variant": "declaration",
324
+ "kind": 2048,
325
+ "flags": {
326
+ "isPublic": true
327
+ },
328
+ "sources": [
329
+ {
330
+ "fileName": "index.ts",
331
+ "line": 109,
332
+ "character": 15
333
+ }
334
+ ],
335
+ "signatures": [
336
+ {
337
+ "id": 28,
338
+ "name": "getCollection",
339
+ "variant": "signature",
340
+ "kind": 4096,
341
+ "flags": {},
342
+ "comment": {
343
+ "summary": [
344
+ {
345
+ "kind": "text",
346
+ "text": "Retrieves a single Collection by its ID."
347
+ }
348
+ ],
349
+ "blockTags": [
350
+ {
351
+ "tag": "@returns",
352
+ "content": [
353
+ {
354
+ "kind": "text",
355
+ "text": "Promise resolving to a CollectionResponse object"
356
+ }
357
+ ]
358
+ },
359
+ {
360
+ "tag": "@throws",
361
+ "content": [
362
+ {
363
+ "kind": "text",
364
+ "text": "ErrorResponse if the request fails"
365
+ }
366
+ ]
367
+ }
368
+ ]
369
+ },
370
+ "sources": [
371
+ {
372
+ "fileName": "index.ts",
373
+ "line": 109,
374
+ "character": 15
375
+ }
376
+ ],
377
+ "parameters": [
378
+ {
379
+ "id": 29,
380
+ "name": "collectionId",
381
+ "variant": "param",
382
+ "kind": 32768,
383
+ "flags": {},
384
+ "comment": {
385
+ "summary": [
386
+ {
387
+ "kind": "text",
388
+ "text": "Identifier of the collection"
389
+ }
390
+ ]
391
+ },
392
+ "type": {
393
+ "type": "intrinsic",
394
+ "name": "string"
395
+ }
396
+ }
397
+ ],
398
+ "type": {
399
+ "type": "reference",
400
+ "target": {
401
+ "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts",
402
+ "qualifiedName": "Promise"
403
+ },
404
+ "typeArguments": [
405
+ {
406
+ "type": "reference",
407
+ "target": 1,
408
+ "name": "CollectionResponse",
409
+ "package": "@proveanything/smartlinks"
410
+ }
411
+ ],
412
+ "name": "Promise",
413
+ "package": "typescript"
414
+ }
415
+ }
416
+ ]
417
+ },
418
+ {
419
+ "id": 30,
420
+ "name": "getProductItem",
421
+ "variant": "declaration",
422
+ "kind": 2048,
423
+ "flags": {
424
+ "isPublic": true
425
+ },
426
+ "sources": [
427
+ {
428
+ "fileName": "index.ts",
429
+ "line": 121,
430
+ "character": 15
431
+ }
432
+ ],
433
+ "signatures": [
434
+ {
435
+ "id": 31,
436
+ "name": "getProductItem",
437
+ "variant": "signature",
438
+ "kind": 4096,
439
+ "flags": {},
440
+ "comment": {
441
+ "summary": [
442
+ {
443
+ "kind": "text",
444
+ "text": "Retrieves a single Product Item by Collection ID and Product ID."
445
+ }
446
+ ],
447
+ "blockTags": [
448
+ {
449
+ "tag": "@returns",
450
+ "content": [
451
+ {
452
+ "kind": "text",
453
+ "text": "Promise resolving to a ProductResponse object"
454
+ }
455
+ ]
456
+ },
457
+ {
458
+ "tag": "@throws",
459
+ "content": [
460
+ {
461
+ "kind": "text",
462
+ "text": "ErrorResponse if the request fails"
463
+ }
464
+ ]
465
+ }
466
+ ]
467
+ },
468
+ "sources": [
469
+ {
470
+ "fileName": "index.ts",
471
+ "line": 121,
472
+ "character": 15
473
+ }
474
+ ],
475
+ "parameters": [
476
+ {
477
+ "id": 32,
478
+ "name": "collectionId",
479
+ "variant": "param",
480
+ "kind": 32768,
481
+ "flags": {},
482
+ "comment": {
483
+ "summary": [
484
+ {
485
+ "kind": "text",
486
+ "text": "Identifier of the parent collection"
487
+ }
488
+ ]
489
+ },
490
+ "type": {
491
+ "type": "intrinsic",
492
+ "name": "string"
493
+ }
494
+ },
495
+ {
496
+ "id": 33,
497
+ "name": "productId",
498
+ "variant": "param",
499
+ "kind": 32768,
500
+ "flags": {},
501
+ "comment": {
502
+ "summary": [
503
+ {
504
+ "kind": "text",
505
+ "text": "Identifier of the product item"
506
+ }
507
+ ]
508
+ },
509
+ "type": {
510
+ "type": "intrinsic",
511
+ "name": "string"
512
+ }
513
+ }
514
+ ],
515
+ "type": {
516
+ "type": "reference",
517
+ "target": {
518
+ "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts",
519
+ "qualifiedName": "Promise"
520
+ },
521
+ "typeArguments": [
522
+ {
523
+ "type": "reference",
524
+ "target": 6,
525
+ "name": "ProductResponse",
526
+ "package": "@proveanything/smartlinks"
527
+ }
528
+ ],
529
+ "name": "Promise",
530
+ "package": "typescript"
531
+ }
532
+ }
533
+ ]
534
+ },
535
+ {
536
+ "id": 38,
537
+ "name": "request",
538
+ "variant": "declaration",
539
+ "kind": 2048,
540
+ "flags": {
541
+ "isPrivate": true
542
+ },
543
+ "sources": [
544
+ {
545
+ "fileName": "index.ts",
546
+ "line": 144,
547
+ "character": 16
548
+ }
549
+ ],
550
+ "signatures": [
551
+ {
552
+ "id": 39,
553
+ "name": "request",
554
+ "variant": "signature",
555
+ "kind": 4096,
556
+ "flags": {},
557
+ "comment": {
558
+ "summary": [
559
+ {
560
+ "kind": "text",
561
+ "text": "Internal helper to perform a GET request and parse JSON."
562
+ }
563
+ ],
564
+ "blockTags": [
565
+ {
566
+ "tag": "@returns",
567
+ "content": [
568
+ {
569
+ "kind": "text",
570
+ "text": "Promise resolving to the parsed JSON of type T"
571
+ }
572
+ ]
573
+ },
574
+ {
575
+ "tag": "@throws",
576
+ "content": [
577
+ {
578
+ "kind": "text",
579
+ "text": "Error if network error or a non-2xx response is returned"
580
+ }
581
+ ]
582
+ }
583
+ ]
584
+ },
585
+ "sources": [
586
+ {
587
+ "fileName": "index.ts",
588
+ "line": 144,
589
+ "character": 16
590
+ }
591
+ ],
592
+ "typeParameter": [
593
+ {
594
+ "id": 40,
595
+ "name": "T",
596
+ "variant": "typeParam",
597
+ "kind": 131072,
598
+ "flags": {}
599
+ }
600
+ ],
601
+ "parameters": [
602
+ {
603
+ "id": 41,
604
+ "name": "path",
605
+ "variant": "param",
606
+ "kind": 32768,
607
+ "flags": {},
608
+ "comment": {
609
+ "summary": [
610
+ {
611
+ "kind": "text",
612
+ "text": "The path (relative to baseURL) to request"
613
+ }
614
+ ]
615
+ },
616
+ "type": {
617
+ "type": "intrinsic",
618
+ "name": "string"
619
+ }
620
+ }
621
+ ],
622
+ "type": {
623
+ "type": "reference",
624
+ "target": {
625
+ "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts",
626
+ "qualifiedName": "Promise"
627
+ },
628
+ "typeArguments": [
629
+ {
630
+ "type": "reference",
631
+ "target": 40,
632
+ "name": "T",
633
+ "package": "@proveanything/smartlinks",
634
+ "refersToTypeParameter": true
635
+ }
636
+ ],
637
+ "name": "Promise",
638
+ "package": "typescript"
639
+ }
640
+ }
641
+ ]
642
+ }
643
+ ],
644
+ "groups": [
645
+ {
646
+ "title": "Constructors",
647
+ "children": [
648
+ 19
649
+ ]
650
+ },
651
+ {
652
+ "title": "Properties",
653
+ "children": [
654
+ 25,
655
+ 24,
656
+ 26
657
+ ]
658
+ },
659
+ {
660
+ "title": "Methods",
661
+ "children": [
662
+ 34,
663
+ 27,
664
+ 30,
665
+ 38
666
+ ]
667
+ }
668
+ ],
669
+ "sources": [
670
+ {
671
+ "fileName": "index.ts",
672
+ "line": 65,
673
+ "character": 13
674
+ }
675
+ ]
676
+ },
677
+ {
678
+ "id": 11,
679
+ "name": "AppConfigurationResponse",
680
+ "variant": "declaration",
681
+ "kind": 256,
682
+ "flags": {},
683
+ "comment": {
684
+ "summary": [
685
+ {
686
+ "kind": "text",
687
+ "text": "Represents an App Configuration object."
688
+ }
689
+ ]
690
+ },
691
+ "children": [
692
+ {
693
+ "id": 12,
694
+ "name": "id",
695
+ "variant": "declaration",
696
+ "kind": 1024,
697
+ "flags": {},
698
+ "comment": {
699
+ "summary": [
700
+ {
701
+ "kind": "text",
702
+ "text": "Unique identifier for the app configuration"
703
+ }
704
+ ]
705
+ },
706
+ "sources": [
707
+ {
708
+ "fileName": "index.ts",
709
+ "line": 40,
710
+ "character": 2
711
+ }
712
+ ],
713
+ "type": {
714
+ "type": "intrinsic",
715
+ "name": "string"
716
+ }
717
+ },
718
+ {
719
+ "id": 13,
720
+ "name": "name",
721
+ "variant": "declaration",
722
+ "kind": 1024,
723
+ "flags": {},
724
+ "comment": {
725
+ "summary": [
726
+ {
727
+ "kind": "text",
728
+ "text": "Name of the app configuration"
729
+ }
730
+ ]
731
+ },
732
+ "sources": [
733
+ {
734
+ "fileName": "index.ts",
735
+ "line": 42,
736
+ "character": 2
737
+ }
738
+ ],
739
+ "type": {
740
+ "type": "intrinsic",
741
+ "name": "string"
742
+ }
743
+ },
744
+ {
745
+ "id": 14,
746
+ "name": "settings",
747
+ "variant": "declaration",
748
+ "kind": 1024,
749
+ "flags": {
750
+ "isOptional": true
751
+ },
752
+ "comment": {
753
+ "summary": [
754
+ {
755
+ "kind": "text",
756
+ "text": "Key‐value pairs representing configuration settings"
757
+ }
758
+ ]
759
+ },
760
+ "sources": [
761
+ {
762
+ "fileName": "index.ts",
763
+ "line": 44,
764
+ "character": 2
765
+ }
766
+ ],
767
+ "type": {
768
+ "type": "reference",
769
+ "target": {
770
+ "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts",
771
+ "qualifiedName": "Record"
772
+ },
773
+ "typeArguments": [
774
+ {
775
+ "type": "intrinsic",
776
+ "name": "string"
777
+ },
778
+ {
779
+ "type": "intrinsic",
780
+ "name": "any"
781
+ }
782
+ ],
783
+ "name": "Record",
784
+ "package": "typescript"
785
+ }
786
+ }
787
+ ],
788
+ "groups": [
789
+ {
790
+ "title": "Properties",
791
+ "children": [
792
+ 12,
793
+ 13,
794
+ 14
795
+ ]
796
+ }
797
+ ],
798
+ "sources": [
799
+ {
800
+ "fileName": "index.ts",
801
+ "line": 38,
802
+ "character": 17
803
+ }
804
+ ]
805
+ },
806
+ {
807
+ "id": 1,
808
+ "name": "CollectionResponse",
809
+ "variant": "declaration",
810
+ "kind": 256,
811
+ "flags": {},
812
+ "comment": {
813
+ "summary": [
814
+ {
815
+ "kind": "text",
816
+ "text": "Represents a Collection object."
817
+ }
818
+ ]
819
+ },
820
+ "children": [
821
+ {
822
+ "id": 2,
823
+ "name": "id",
824
+ "variant": "declaration",
825
+ "kind": 1024,
826
+ "flags": {},
827
+ "comment": {
828
+ "summary": [
829
+ {
830
+ "kind": "text",
831
+ "text": "Unique identifier for the collection"
832
+ }
833
+ ]
834
+ },
835
+ "sources": [
836
+ {
837
+ "fileName": "index.ts",
838
+ "line": 12,
839
+ "character": 2
840
+ }
841
+ ],
842
+ "type": {
843
+ "type": "intrinsic",
844
+ "name": "string"
845
+ }
846
+ },
847
+ {
848
+ "id": 5,
849
+ "name": "logoImage",
850
+ "variant": "declaration",
851
+ "kind": 1024,
852
+ "flags": {},
853
+ "comment": {
854
+ "summary": [
855
+ {
856
+ "kind": "text",
857
+ "text": "URL to the collection’s logo image"
858
+ }
859
+ ]
860
+ },
861
+ "sources": [
862
+ {
863
+ "fileName": "index.ts",
864
+ "line": 18,
865
+ "character": 2
866
+ }
867
+ ],
868
+ "type": {
869
+ "type": "intrinsic",
870
+ "name": "string"
871
+ }
872
+ },
873
+ {
874
+ "id": 3,
875
+ "name": "name",
876
+ "variant": "declaration",
877
+ "kind": 1024,
878
+ "flags": {},
879
+ "comment": {
880
+ "summary": [
881
+ {
882
+ "kind": "text",
883
+ "text": "Machine‐readable name of the collection"
884
+ }
885
+ ]
886
+ },
887
+ "sources": [
888
+ {
889
+ "fileName": "index.ts",
890
+ "line": 14,
891
+ "character": 2
892
+ }
893
+ ],
894
+ "type": {
895
+ "type": "intrinsic",
896
+ "name": "string"
897
+ }
898
+ },
899
+ {
900
+ "id": 4,
901
+ "name": "title",
902
+ "variant": "declaration",
903
+ "kind": 1024,
904
+ "flags": {},
905
+ "comment": {
906
+ "summary": [
907
+ {
908
+ "kind": "text",
909
+ "text": "Human‐readable title of the collection"
910
+ }
911
+ ]
912
+ },
913
+ "sources": [
914
+ {
915
+ "fileName": "index.ts",
916
+ "line": 16,
917
+ "character": 2
918
+ }
919
+ ],
920
+ "type": {
921
+ "type": "intrinsic",
922
+ "name": "string"
923
+ }
924
+ }
925
+ ],
926
+ "groups": [
927
+ {
928
+ "title": "Properties",
929
+ "children": [
930
+ 2,
931
+ 5,
932
+ 3,
933
+ 4
934
+ ]
935
+ }
936
+ ],
937
+ "sources": [
938
+ {
939
+ "fileName": "index.ts",
940
+ "line": 10,
941
+ "character": 17
942
+ }
943
+ ]
944
+ },
945
+ {
946
+ "id": 15,
947
+ "name": "ErrorResponse",
948
+ "variant": "declaration",
949
+ "kind": 256,
950
+ "flags": {},
951
+ "comment": {
952
+ "summary": [
953
+ {
954
+ "kind": "text",
955
+ "text": "Represents a standardized error response."
956
+ }
957
+ ]
958
+ },
959
+ "children": [
960
+ {
961
+ "id": 16,
962
+ "name": "code",
963
+ "variant": "declaration",
964
+ "kind": 1024,
965
+ "flags": {},
966
+ "comment": {
967
+ "summary": [
968
+ {
969
+ "kind": "text",
970
+ "text": "Numeric error code"
971
+ }
972
+ ]
973
+ },
974
+ "sources": [
975
+ {
976
+ "fileName": "index.ts",
977
+ "line": 52,
978
+ "character": 2
979
+ }
980
+ ],
981
+ "type": {
982
+ "type": "intrinsic",
983
+ "name": "number"
984
+ }
985
+ },
986
+ {
987
+ "id": 17,
988
+ "name": "message",
989
+ "variant": "declaration",
990
+ "kind": 1024,
991
+ "flags": {},
992
+ "comment": {
993
+ "summary": [
994
+ {
995
+ "kind": "text",
996
+ "text": "Human‐readable error message"
997
+ }
998
+ ]
999
+ },
1000
+ "sources": [
1001
+ {
1002
+ "fileName": "index.ts",
1003
+ "line": 54,
1004
+ "character": 2
1005
+ }
1006
+ ],
1007
+ "type": {
1008
+ "type": "intrinsic",
1009
+ "name": "string"
1010
+ }
1011
+ }
1012
+ ],
1013
+ "groups": [
1014
+ {
1015
+ "title": "Properties",
1016
+ "children": [
1017
+ 16,
1018
+ 17
1019
+ ]
1020
+ }
1021
+ ],
1022
+ "sources": [
1023
+ {
1024
+ "fileName": "index.ts",
1025
+ "line": 50,
1026
+ "character": 17
1027
+ }
1028
+ ]
1029
+ },
1030
+ {
1031
+ "id": 6,
1032
+ "name": "ProductResponse",
1033
+ "variant": "declaration",
1034
+ "kind": 256,
1035
+ "flags": {},
1036
+ "comment": {
1037
+ "summary": [
1038
+ {
1039
+ "kind": "text",
1040
+ "text": "Represents a Product Item object."
1041
+ }
1042
+ ]
1043
+ },
1044
+ "children": [
1045
+ {
1046
+ "id": 9,
1047
+ "name": "description",
1048
+ "variant": "declaration",
1049
+ "kind": 1024,
1050
+ "flags": {},
1051
+ "comment": {
1052
+ "summary": [
1053
+ {
1054
+ "kind": "text",
1055
+ "text": "Detailed description of the product"
1056
+ }
1057
+ ]
1058
+ },
1059
+ "sources": [
1060
+ {
1061
+ "fileName": "index.ts",
1062
+ "line": 30,
1063
+ "character": 2
1064
+ }
1065
+ ],
1066
+ "type": {
1067
+ "type": "intrinsic",
1068
+ "name": "string"
1069
+ }
1070
+ },
1071
+ {
1072
+ "id": 10,
1073
+ "name": "heroImage",
1074
+ "variant": "declaration",
1075
+ "kind": 1024,
1076
+ "flags": {},
1077
+ "comment": {
1078
+ "summary": [
1079
+ {
1080
+ "kind": "text",
1081
+ "text": "URL to the product’s hero image"
1082
+ }
1083
+ ]
1084
+ },
1085
+ "sources": [
1086
+ {
1087
+ "fileName": "index.ts",
1088
+ "line": 32,
1089
+ "character": 2
1090
+ }
1091
+ ],
1092
+ "type": {
1093
+ "type": "intrinsic",
1094
+ "name": "string"
1095
+ }
1096
+ },
1097
+ {
1098
+ "id": 7,
1099
+ "name": "id",
1100
+ "variant": "declaration",
1101
+ "kind": 1024,
1102
+ "flags": {},
1103
+ "comment": {
1104
+ "summary": [
1105
+ {
1106
+ "kind": "text",
1107
+ "text": "Unique identifier for the product"
1108
+ }
1109
+ ]
1110
+ },
1111
+ "sources": [
1112
+ {
1113
+ "fileName": "index.ts",
1114
+ "line": 26,
1115
+ "character": 2
1116
+ }
1117
+ ],
1118
+ "type": {
1119
+ "type": "intrinsic",
1120
+ "name": "string"
1121
+ }
1122
+ },
1123
+ {
1124
+ "id": 8,
1125
+ "name": "name",
1126
+ "variant": "declaration",
1127
+ "kind": 1024,
1128
+ "flags": {},
1129
+ "comment": {
1130
+ "summary": [
1131
+ {
1132
+ "kind": "text",
1133
+ "text": "Name of the product"
1134
+ }
1135
+ ]
1136
+ },
1137
+ "sources": [
1138
+ {
1139
+ "fileName": "index.ts",
1140
+ "line": 28,
1141
+ "character": 2
1142
+ }
1143
+ ],
1144
+ "type": {
1145
+ "type": "intrinsic",
1146
+ "name": "string"
1147
+ }
1148
+ }
1149
+ ],
1150
+ "groups": [
1151
+ {
1152
+ "title": "Properties",
1153
+ "children": [
1154
+ 9,
1155
+ 10,
1156
+ 7,
1157
+ 8
1158
+ ]
1159
+ }
1160
+ ],
1161
+ "sources": [
1162
+ {
1163
+ "fileName": "index.ts",
1164
+ "line": 24,
1165
+ "character": 17
1166
+ }
1167
+ ]
1168
+ }
1169
+ ],
1170
+ "groups": [
1171
+ {
1172
+ "title": "Classes",
1173
+ "children": [
1174
+ 18
1175
+ ]
1176
+ },
1177
+ {
1178
+ "title": "Interfaces",
1179
+ "children": [
1180
+ 11,
1181
+ 1,
1182
+ 15,
1183
+ 6
1184
+ ]
1185
+ }
1186
+ ],
1187
+ "packageName": "@proveanything/smartlinks",
1188
+ "readme": [
1189
+ {
1190
+ "kind": "text",
1191
+ "text": "# @smartlinks/sdk\n\nAn official JavaScript/TypeScript client SDK for the Smartlinks API. This package provides a simple wrapper around the Smartlinks REST endpoints, allowing you to fetch Collection, Product, and App Configuration data in both browser and Node.js environments.\n\n## Installation\n\n"
1192
+ },
1193
+ {
1194
+ "kind": "code",
1195
+ "text": "```bash\nnpm install @smartlinks/sdk\n# or\nyarn add @smartlinks/sdk\n```"
1196
+ },
1197
+ {
1198
+ "kind": "text",
1199
+ "text": "\n\n## Quickstart\n\n"
1200
+ },
1201
+ {
1202
+ "kind": "code",
1203
+ "text": "```ts\nimport { ApiClient, CollectionResponse, ProductResponse } from \"@smartlinks/sdk\";\n\nasync function main() {\n // Instantiate the client (no apiKey needed for public endpoints, but shown here for reference)\n const client = new ApiClient(\"https://smartlinks.app/api/v1\", \"YOUR_API_KEY_HERE\");\n\n try {\n // Fetch a collection by ID\n const collection: CollectionResponse = await client.getCollection(\"abc123\");\n console.log(\"Collection:\", collection);\n\n // Fetch a product item by collection ID & product ID\n const product: ProductResponse = await client.getProductItem(\"abc123\", \"prod789\");\n console.log(\"Product Item:\", product);\n } catch (err) {\n console.error(\"Error fetching data:\", err);\n }\n}\n\nmain();\n```"
1204
+ },
1205
+ {
1206
+ "kind": "text",
1207
+ "text": "\n\n## API Reference\n\n### Class: "
1208
+ },
1209
+ {
1210
+ "kind": "code",
1211
+ "text": "`ApiClient`"
1212
+ },
1213
+ {
1214
+ "kind": "text",
1215
+ "text": "\n\n"
1216
+ },
1217
+ {
1218
+ "kind": "code",
1219
+ "text": "```ts\nconstructor(baseURL: string, apiKey?: string)\n```"
1220
+ },
1221
+ {
1222
+ "kind": "text",
1223
+ "text": "\n\n- **Parameters:**\n - "
1224
+ },
1225
+ {
1226
+ "kind": "code",
1227
+ "text": "`baseURL`"
1228
+ },
1229
+ {
1230
+ "kind": "text",
1231
+ "text": " ("
1232
+ },
1233
+ {
1234
+ "kind": "code",
1235
+ "text": "`string`"
1236
+ },
1237
+ {
1238
+ "kind": "text",
1239
+ "text": ", required): The root URL of the Smartlinks API, e.g. "
1240
+ },
1241
+ {
1242
+ "kind": "code",
1243
+ "text": "`https://smartlinks.app/api/v1`"
1244
+ },
1245
+ {
1246
+ "kind": "text",
1247
+ "text": ". \n - "
1248
+ },
1249
+ {
1250
+ "kind": "code",
1251
+ "text": "`apiKey`"
1252
+ },
1253
+ {
1254
+ "kind": "text",
1255
+ "text": " ("
1256
+ },
1257
+ {
1258
+ "kind": "code",
1259
+ "text": "`string`"
1260
+ },
1261
+ {
1262
+ "kind": "text",
1263
+ "text": ", optional): Your Bearer token. If omitted, requests will be sent without an "
1264
+ },
1265
+ {
1266
+ "kind": "code",
1267
+ "text": "`Authorization`"
1268
+ },
1269
+ {
1270
+ "kind": "text",
1271
+ "text": " header.\n\n---\n\n#### "
1272
+ },
1273
+ {
1274
+ "kind": "code",
1275
+ "text": "`getCollection(collectionId: string): Promise<CollectionResponse>`"
1276
+ },
1277
+ {
1278
+ "kind": "text",
1279
+ "text": "\n\nFetches a single collection by its ID.\n\n- **Parameters:**\n - "
1280
+ },
1281
+ {
1282
+ "kind": "code",
1283
+ "text": "`collectionId`"
1284
+ },
1285
+ {
1286
+ "kind": "text",
1287
+ "text": " ("
1288
+ },
1289
+ {
1290
+ "kind": "code",
1291
+ "text": "`string`"
1292
+ },
1293
+ {
1294
+ "kind": "text",
1295
+ "text": ", required): The unique identifier of the collection to fetch.\n- **Returns:** \n A "
1296
+ },
1297
+ {
1298
+ "kind": "code",
1299
+ "text": "`Promise`"
1300
+ },
1301
+ {
1302
+ "kind": "text",
1303
+ "text": " that resolves to a "
1304
+ },
1305
+ {
1306
+ "kind": "code",
1307
+ "text": "`CollectionResponse`"
1308
+ },
1309
+ {
1310
+ "kind": "text",
1311
+ "text": " object:\n\n "
1312
+ },
1313
+ {
1314
+ "kind": "code",
1315
+ "text": "```ts\n export interface CollectionResponse {\n id: string;\n name: string;\n title: string;\n logoImage: string;\n }\n ```"
1316
+ },
1317
+ {
1318
+ "kind": "text",
1319
+ "text": "\n\n- **Example:**\n "
1320
+ },
1321
+ {
1322
+ "kind": "code",
1323
+ "text": "```ts\n const client = new ApiClient(\"https://smartlinks.app/api/v1\", \"YOUR_API_KEY\");\n const collection = await client.getCollection(\"abc123\");\n console.log(\"Fetched collection:\", collection);\n ```"
1324
+ },
1325
+ {
1326
+ "kind": "text",
1327
+ "text": "\n\n---\n\n#### "
1328
+ },
1329
+ {
1330
+ "kind": "code",
1331
+ "text": "`getProductItem(collectionId: string, productId: string): Promise<ProductResponse>`"
1332
+ },
1333
+ {
1334
+ "kind": "text",
1335
+ "text": "\n\nFetches a single product item within a collection.\n\n- **Parameters:**\n - "
1336
+ },
1337
+ {
1338
+ "kind": "code",
1339
+ "text": "`collectionId`"
1340
+ },
1341
+ {
1342
+ "kind": "text",
1343
+ "text": " ("
1344
+ },
1345
+ {
1346
+ "kind": "code",
1347
+ "text": "`string`"
1348
+ },
1349
+ {
1350
+ "kind": "text",
1351
+ "text": ", required): The parent collection’s ID.\n - "
1352
+ },
1353
+ {
1354
+ "kind": "code",
1355
+ "text": "`productId`"
1356
+ },
1357
+ {
1358
+ "kind": "text",
1359
+ "text": " ("
1360
+ },
1361
+ {
1362
+ "kind": "code",
1363
+ "text": "`string`"
1364
+ },
1365
+ {
1366
+ "kind": "text",
1367
+ "text": ", required): The product item’s ID.\n- **Returns:** \n A "
1368
+ },
1369
+ {
1370
+ "kind": "code",
1371
+ "text": "`Promise`"
1372
+ },
1373
+ {
1374
+ "kind": "text",
1375
+ "text": " that resolves to a "
1376
+ },
1377
+ {
1378
+ "kind": "code",
1379
+ "text": "`ProductResponse`"
1380
+ },
1381
+ {
1382
+ "kind": "text",
1383
+ "text": " object:\n\n "
1384
+ },
1385
+ {
1386
+ "kind": "code",
1387
+ "text": "```ts\n export interface ProductResponse {\n id: string;\n name: string;\n description: string;\n heroImage: string;\n }\n ```"
1388
+ },
1389
+ {
1390
+ "kind": "text",
1391
+ "text": "\n\n- **Example:**\n "
1392
+ },
1393
+ {
1394
+ "kind": "code",
1395
+ "text": "```ts\n const client = new ApiClient(\"https://smartlinks.app/api/v1\", \"YOUR_API_KEY\");\n const product = await client.getProductItem(\"abc123\", \"prod789\");\n console.log(\"Fetched product:\", product);\n ```"
1396
+ },
1397
+ {
1398
+ "kind": "text",
1399
+ "text": "\n\n---\n\n#### "
1400
+ },
1401
+ {
1402
+ "kind": "code",
1403
+ "text": "`getAppConfiguration(collectionId: string, appId: string): Promise<AppConfigurationResponse>`"
1404
+ },
1405
+ {
1406
+ "kind": "text",
1407
+ "text": "\n\nFetches a single app configuration within a collection.\n\n- **Parameters:**\n - "
1408
+ },
1409
+ {
1410
+ "kind": "code",
1411
+ "text": "`collectionId`"
1412
+ },
1413
+ {
1414
+ "kind": "text",
1415
+ "text": " ("
1416
+ },
1417
+ {
1418
+ "kind": "code",
1419
+ "text": "`string`"
1420
+ },
1421
+ {
1422
+ "kind": "text",
1423
+ "text": ", required): The parent collection’s ID.\n - "
1424
+ },
1425
+ {
1426
+ "kind": "code",
1427
+ "text": "`appId`"
1428
+ },
1429
+ {
1430
+ "kind": "text",
1431
+ "text": " ("
1432
+ },
1433
+ {
1434
+ "kind": "code",
1435
+ "text": "`string`"
1436
+ },
1437
+ {
1438
+ "kind": "text",
1439
+ "text": ", required): The app configuration’s ID.\n- **Returns:** \n A "
1440
+ },
1441
+ {
1442
+ "kind": "code",
1443
+ "text": "`Promise`"
1444
+ },
1445
+ {
1446
+ "kind": "text",
1447
+ "text": " that resolves to an "
1448
+ },
1449
+ {
1450
+ "kind": "code",
1451
+ "text": "`AppConfigurationResponse`"
1452
+ },
1453
+ {
1454
+ "kind": "text",
1455
+ "text": " object:\n\n "
1456
+ },
1457
+ {
1458
+ "kind": "code",
1459
+ "text": "```ts\n export interface AppConfigurationResponse {\n id: string;\n name: string;\n settings?: Record<string, any>;\n }\n ```"
1460
+ },
1461
+ {
1462
+ "kind": "text",
1463
+ "text": "\n\n- **Example:**\n "
1464
+ },
1465
+ {
1466
+ "kind": "code",
1467
+ "text": "```ts\n const client = new ApiClient(\"https://smartlinks.app/api/v1\", \"YOUR_API_KEY\");\n const config = await client.getAppConfiguration(\"abc123\", \"app456\");\n console.log(\"Fetched app configuration:\", config);\n ```"
1468
+ },
1469
+ {
1470
+ "kind": "text",
1471
+ "text": "\n\n---\n\n## Authentication\n\nAll endpoints require a Bearer token passed in the "
1472
+ },
1473
+ {
1474
+ "kind": "code",
1475
+ "text": "`AUTHORIZATION`"
1476
+ },
1477
+ {
1478
+ "kind": "text",
1479
+ "text": " header. When instantiating "
1480
+ },
1481
+ {
1482
+ "kind": "code",
1483
+ "text": "`ApiClient`"
1484
+ },
1485
+ {
1486
+ "kind": "text",
1487
+ "text": ", optionally supply your token:\n\n"
1488
+ },
1489
+ {
1490
+ "kind": "code",
1491
+ "text": "```ts\nimport { ApiClient } from \"@smartlinks/sdk\";\n\nconst apiKey = \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\";\nconst client = new ApiClient(\"https://smartlinks.app/api/v1\", apiKey);\n```"
1492
+ },
1493
+ {
1494
+ "kind": "text",
1495
+ "text": "\n\nIf "
1496
+ },
1497
+ {
1498
+ "kind": "code",
1499
+ "text": "`apiKey`"
1500
+ },
1501
+ {
1502
+ "kind": "text",
1503
+ "text": " is omitted, requests will be sent without an "
1504
+ },
1505
+ {
1506
+ "kind": "code",
1507
+ "text": "`Authorization`"
1508
+ },
1509
+ {
1510
+ "kind": "text",
1511
+ "text": " header, which may cause a "
1512
+ },
1513
+ {
1514
+ "kind": "code",
1515
+ "text": "`401 Unauthorized`"
1516
+ },
1517
+ {
1518
+ "kind": "text",
1519
+ "text": " for protected endpoints.\n\n## Error Handling\n\nAll methods throw an "
1520
+ },
1521
+ {
1522
+ "kind": "code",
1523
+ "text": "`Error`"
1524
+ },
1525
+ {
1526
+ "kind": "text",
1527
+ "text": " when the server responds with a non-2xx status. The thrown error message includes the numeric error code and message from the API. Example:\n\n"
1528
+ },
1529
+ {
1530
+ "kind": "code",
1531
+ "text": "```ts\nimport { ApiClient } from \"@smartlinks/sdk\";\n\nasync function fetchData() {\n const client = new ApiClient(\"https://smartlinks.app/api/v1\", \"INVALID_KEY\");\n\n try {\n await client.getCollection(\"nonexistent\");\n } catch (err) {\n // err.message might be: \"Error 401: Unauthorized\" or \"Error 404: Not Found\"\n console.error(\"Request failed:\", err);\n }\n}\n\nfetchData();\n```"
1532
+ },
1533
+ {
1534
+ "kind": "text",
1535
+ "text": "\n\n## Examples\n\nSee the **examples/** folder for complete, runnable samples:\n\n- ["
1536
+ },
1537
+ {
1538
+ "kind": "code",
1539
+ "text": "`examples/node-demo.ts`"
1540
+ },
1541
+ {
1542
+ "kind": "text",
1543
+ "text": "](examples/node-demo.ts) \n- ["
1544
+ },
1545
+ {
1546
+ "kind": "code",
1547
+ "text": "`examples/browser-demo.html`"
1548
+ },
1549
+ {
1550
+ "kind": "text",
1551
+ "text": "](examples/browser-demo.html) \n- ["
1552
+ },
1553
+ {
1554
+ "kind": "code",
1555
+ "text": "`examples/react-demo.tsx`"
1556
+ },
1557
+ {
1558
+ "kind": "text",
1559
+ "text": "](examples/react-demo.tsx) \n\n## OpenAPI Specification\n\nThis SDK is generated and maintained according to the [Smartlinks OpenAPI 3.0 specification](openapi.yaml). \nYou can find the full API contract in ["
1560
+ },
1561
+ {
1562
+ "kind": "code",
1563
+ "text": "`openapi.yaml`"
1564
+ },
1565
+ {
1566
+ "kind": "text",
1567
+ "text": "](openapi.yaml) at the root of this package.\n\n## Changelog\n\n### 1.0.0\n\n- Initial release: \n - "
1568
+ },
1569
+ {
1570
+ "kind": "code",
1571
+ "text": "`ApiClient`"
1572
+ },
1573
+ {
1574
+ "kind": "text",
1575
+ "text": " class with "
1576
+ },
1577
+ {
1578
+ "kind": "code",
1579
+ "text": "`getCollection`"
1580
+ },
1581
+ {
1582
+ "kind": "text",
1583
+ "text": ", "
1584
+ },
1585
+ {
1586
+ "kind": "code",
1587
+ "text": "`getProductItem`"
1588
+ },
1589
+ {
1590
+ "kind": "text",
1591
+ "text": ", and "
1592
+ },
1593
+ {
1594
+ "kind": "code",
1595
+ "text": "`getAppConfiguration`"
1596
+ },
1597
+ {
1598
+ "kind": "text",
1599
+ "text": " methods. \n - Full TypeScript typings and JSDoc. \n - Browser/Node fetch support. \n - Error handling via thrown "
1600
+ },
1601
+ {
1602
+ "kind": "code",
1603
+ "text": "`Error`"
1604
+ },
1605
+ {
1606
+ "kind": "text",
1607
+ "text": " objects."
1608
+ }
1609
+ ],
1610
+ "symbolIdMap": {
1611
+ "0": {
1612
+ "sourceFileName": "src/index.ts",
1613
+ "qualifiedName": ""
1614
+ },
1615
+ "1": {
1616
+ "sourceFileName": "src/index.ts",
1617
+ "qualifiedName": "CollectionResponse"
1618
+ },
1619
+ "2": {
1620
+ "sourceFileName": "src/index.ts",
1621
+ "qualifiedName": "CollectionResponse.id"
1622
+ },
1623
+ "3": {
1624
+ "sourceFileName": "src/index.ts",
1625
+ "qualifiedName": "CollectionResponse.name"
1626
+ },
1627
+ "4": {
1628
+ "sourceFileName": "src/index.ts",
1629
+ "qualifiedName": "CollectionResponse.title"
1630
+ },
1631
+ "5": {
1632
+ "sourceFileName": "src/index.ts",
1633
+ "qualifiedName": "CollectionResponse.logoImage"
1634
+ },
1635
+ "6": {
1636
+ "sourceFileName": "src/index.ts",
1637
+ "qualifiedName": "ProductResponse"
1638
+ },
1639
+ "7": {
1640
+ "sourceFileName": "src/index.ts",
1641
+ "qualifiedName": "ProductResponse.id"
1642
+ },
1643
+ "8": {
1644
+ "sourceFileName": "src/index.ts",
1645
+ "qualifiedName": "ProductResponse.name"
1646
+ },
1647
+ "9": {
1648
+ "sourceFileName": "src/index.ts",
1649
+ "qualifiedName": "ProductResponse.description"
1650
+ },
1651
+ "10": {
1652
+ "sourceFileName": "src/index.ts",
1653
+ "qualifiedName": "ProductResponse.heroImage"
1654
+ },
1655
+ "11": {
1656
+ "sourceFileName": "src/index.ts",
1657
+ "qualifiedName": "AppConfigurationResponse"
1658
+ },
1659
+ "12": {
1660
+ "sourceFileName": "src/index.ts",
1661
+ "qualifiedName": "AppConfigurationResponse.id"
1662
+ },
1663
+ "13": {
1664
+ "sourceFileName": "src/index.ts",
1665
+ "qualifiedName": "AppConfigurationResponse.name"
1666
+ },
1667
+ "14": {
1668
+ "sourceFileName": "src/index.ts",
1669
+ "qualifiedName": "AppConfigurationResponse.settings"
1670
+ },
1671
+ "15": {
1672
+ "sourceFileName": "src/index.ts",
1673
+ "qualifiedName": "ErrorResponse"
1674
+ },
1675
+ "16": {
1676
+ "sourceFileName": "src/index.ts",
1677
+ "qualifiedName": "ErrorResponse.code"
1678
+ },
1679
+ "17": {
1680
+ "sourceFileName": "src/index.ts",
1681
+ "qualifiedName": "ErrorResponse.message"
1682
+ },
1683
+ "18": {
1684
+ "sourceFileName": "src/index.ts",
1685
+ "qualifiedName": "ApiClient"
1686
+ },
1687
+ "19": {
1688
+ "sourceFileName": "src/index.ts",
1689
+ "qualifiedName": "ApiClient.__constructor"
1690
+ },
1691
+ "20": {
1692
+ "sourceFileName": "src/index.ts",
1693
+ "qualifiedName": "ApiClient"
1694
+ },
1695
+ "21": {
1696
+ "sourceFileName": "src/index.ts",
1697
+ "qualifiedName": "baseURL"
1698
+ },
1699
+ "22": {
1700
+ "sourceFileName": "src/index.ts",
1701
+ "qualifiedName": "apiKey"
1702
+ },
1703
+ "23": {
1704
+ "sourceFileName": "src/index.ts",
1705
+ "qualifiedName": "bearerToken"
1706
+ },
1707
+ "24": {
1708
+ "sourceFileName": "src/index.ts",
1709
+ "qualifiedName": "ApiClient.baseURL"
1710
+ },
1711
+ "25": {
1712
+ "sourceFileName": "src/index.ts",
1713
+ "qualifiedName": "ApiClient.apiKey"
1714
+ },
1715
+ "26": {
1716
+ "sourceFileName": "src/index.ts",
1717
+ "qualifiedName": "ApiClient.bearerToken"
1718
+ },
1719
+ "27": {
1720
+ "sourceFileName": "src/index.ts",
1721
+ "qualifiedName": "ApiClient.getCollection"
1722
+ },
1723
+ "28": {
1724
+ "sourceFileName": "src/index.ts",
1725
+ "qualifiedName": "ApiClient.getCollection"
1726
+ },
1727
+ "29": {
1728
+ "sourceFileName": "src/index.ts",
1729
+ "qualifiedName": "collectionId"
1730
+ },
1731
+ "30": {
1732
+ "sourceFileName": "src/index.ts",
1733
+ "qualifiedName": "ApiClient.getProductItem"
1734
+ },
1735
+ "31": {
1736
+ "sourceFileName": "src/index.ts",
1737
+ "qualifiedName": "ApiClient.getProductItem"
1738
+ },
1739
+ "32": {
1740
+ "sourceFileName": "src/index.ts",
1741
+ "qualifiedName": "collectionId"
1742
+ },
1743
+ "33": {
1744
+ "sourceFileName": "src/index.ts",
1745
+ "qualifiedName": "productId"
1746
+ },
1747
+ "34": {
1748
+ "sourceFileName": "src/index.ts",
1749
+ "qualifiedName": "ApiClient.getAppConfiguration"
1750
+ },
1751
+ "35": {
1752
+ "sourceFileName": "src/index.ts",
1753
+ "qualifiedName": "ApiClient.getAppConfiguration"
1754
+ },
1755
+ "36": {
1756
+ "sourceFileName": "src/index.ts",
1757
+ "qualifiedName": "collectionId"
1758
+ },
1759
+ "37": {
1760
+ "sourceFileName": "src/index.ts",
1761
+ "qualifiedName": "appId"
1762
+ },
1763
+ "38": {
1764
+ "sourceFileName": "src/index.ts",
1765
+ "qualifiedName": "ApiClient.request"
1766
+ },
1767
+ "39": {
1768
+ "sourceFileName": "src/index.ts",
1769
+ "qualifiedName": "ApiClient.request"
1770
+ },
1771
+ "40": {
1772
+ "sourceFileName": "src/index.ts",
1773
+ "qualifiedName": "T"
1774
+ },
1775
+ "41": {
1776
+ "sourceFileName": "src/index.ts",
1777
+ "qualifiedName": "path"
1778
+ }
1779
+ }
1780
+ }