@ranwhenparked/trustap-sdk 0.1.0

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,770 @@
1
+ // generated by scripts/generate-security-map.mjs
2
+ export const securityMap = {
3
+ "/batch/transactions": {
4
+ "GET": [
5
+ "OAuth2"
6
+ ]
7
+ },
8
+ "/charge": {
9
+ "GET": [
10
+ "OAuth2",
11
+ "APIKey"
12
+ ]
13
+ },
14
+ "/client/supported_registration_countries": {
15
+ "GET": [
16
+ "OAuth2"
17
+ ]
18
+ },
19
+ "/guest_users": {
20
+ "POST": [
21
+ "OAuth2"
22
+ ]
23
+ },
24
+ "/me/account_session": {
25
+ "GET": [
26
+ "OAuth2"
27
+ ]
28
+ },
29
+ "/me/balances": {
30
+ "GET": [
31
+ "OAuth2"
32
+ ]
33
+ },
34
+ "/me/carriers/{carrier_id}/facilities": {
35
+ "GET": [
36
+ "OAuth2"
37
+ ]
38
+ },
39
+ "/me/debit_account": {
40
+ "GET": [
41
+ "OAuth2"
42
+ ],
43
+ "POST": [
44
+ "OAuth2"
45
+ ]
46
+ },
47
+ "/me/features": {
48
+ "GET": [
49
+ "OAuth2"
50
+ ]
51
+ },
52
+ "/me/features/instant_payouts": {
53
+ "POST": [
54
+ "OAuth2"
55
+ ]
56
+ },
57
+ "/me/instant_payout_balance": {
58
+ "GET": [
59
+ "OAuth2"
60
+ ]
61
+ },
62
+ "/me/multi_use_listings/create": {
63
+ "POST": [
64
+ "OAuth2"
65
+ ]
66
+ },
67
+ "/me/notifications": {
68
+ "GET": [
69
+ "OAuth2"
70
+ ]
71
+ },
72
+ "/me/payout_attempts": {
73
+ "GET": [
74
+ "OAuth2"
75
+ ]
76
+ },
77
+ "/me/personal/additional_identity_document/verification_status": {
78
+ "GET": [
79
+ "OAuth2"
80
+ ]
81
+ },
82
+ "/me/personal/additional_identity_document_back/verification_status": {
83
+ "GET": [
84
+ "OAuth2"
85
+ ]
86
+ },
87
+ "/me/personal/details": {
88
+ "GET": [
89
+ "OAuth2"
90
+ ],
91
+ "PATCH": [
92
+ "OAuth2"
93
+ ]
94
+ },
95
+ "/me/personal/identity_document/verification_status": {
96
+ "GET": [
97
+ "OAuth2"
98
+ ]
99
+ },
100
+ "/me/personal/identity_document_back/verification_status": {
101
+ "GET": [
102
+ "OAuth2"
103
+ ]
104
+ },
105
+ "/me/personal/stripe_publishable_key": {
106
+ "GET": [
107
+ "OAuth2"
108
+ ]
109
+ },
110
+ "/me/profile/payout_status": {
111
+ "GET": [
112
+ "OAuth2"
113
+ ]
114
+ },
115
+ "/me/single_use_listings/create": {
116
+ "POST": [
117
+ "OAuth2"
118
+ ]
119
+ },
120
+ "/me/stripe_financial_connections/add_account": {
121
+ "POST": [
122
+ "OAuth2"
123
+ ]
124
+ },
125
+ "/me/stripe_financial_connections/ownership": {
126
+ "GET": [
127
+ "OAuth2"
128
+ ]
129
+ },
130
+ "/me/stripe_financial_connections/prepare_account": {
131
+ "POST": [
132
+ "OAuth2"
133
+ ]
134
+ },
135
+ "/me/transactions": {
136
+ "GET": [
137
+ "OAuth2"
138
+ ],
139
+ "POST": [
140
+ "OAuth2"
141
+ ]
142
+ },
143
+ "/users/{userId}": {
144
+ "GET": [
145
+ "OAuth2"
146
+ ],
147
+ "PUT": [
148
+ "OAuth2"
149
+ ]
150
+ },
151
+ "/me/transactions/create_and_join": {
152
+ "POST": [
153
+ "OAuth2"
154
+ ]
155
+ },
156
+ "/me/transactions/create_with_guest_user": {
157
+ "POST": [
158
+ "APIKey"
159
+ ]
160
+ },
161
+ "/me/verification_method": {
162
+ "GET": [
163
+ "OAuth2"
164
+ ]
165
+ },
166
+ "/me/verification_session": {
167
+ "GET": [
168
+ "OAuth2"
169
+ ]
170
+ },
171
+ "/me/verification_session_native": {
172
+ "GET": [
173
+ "OAuth2"
174
+ ]
175
+ },
176
+ "/me/verification_status": {
177
+ "GET": [
178
+ "OAuth2"
179
+ ]
180
+ },
181
+ "/multi_use_listings/{listing_id}": {
182
+ "DELETE": [
183
+ "OAuth2"
184
+ ],
185
+ "GET": [
186
+ "OAuth2"
187
+ ],
188
+ "PATCH": [
189
+ "OAuth2"
190
+ ]
191
+ },
192
+ "/multi_use_listings/{listing_id}/create_transaction": {
193
+ "POST": [
194
+ "OAuth2"
195
+ ]
196
+ },
197
+ "/multi_use_listings/{listing_id}/create_transaction_with_guest_buyer": {
198
+ "POST": [
199
+ "OAuth2"
200
+ ]
201
+ },
202
+ "/multi_use_listings/{listing_id}/disable": {
203
+ "POST": [
204
+ "OAuth2"
205
+ ]
206
+ },
207
+ "/multi_use_listings/{listing_id}/enable": {
208
+ "POST": [
209
+ "OAuth2"
210
+ ]
211
+ },
212
+ "/multi_use_listings/{listing_id}/set_description": {
213
+ "POST": [
214
+ "OAuth2"
215
+ ]
216
+ },
217
+ "/multi_use_listings/{listing_id}/set_pricing": {
218
+ "POST": [
219
+ "OAuth2"
220
+ ]
221
+ },
222
+ "/notifications/{notification_id}": {
223
+ "GET": [
224
+ "OAuth2"
225
+ ]
226
+ },
227
+ "/notifications/{notification_id}/mark_as_read": {
228
+ "POST": [
229
+ "OAuth2"
230
+ ]
231
+ },
232
+ "/p2p/batch/transactions": {
233
+ "GET": [
234
+ "OAuth2"
235
+ ]
236
+ },
237
+ "/p2p/charge": {
238
+ "GET": [
239
+ "OAuth2",
240
+ "APIKey"
241
+ ]
242
+ },
243
+ "/p2p/me/multi_use_listings/create": {
244
+ "POST": [
245
+ "OAuth2"
246
+ ]
247
+ },
248
+ "/p2p/me/single_use_listings/create": {
249
+ "POST": [
250
+ "OAuth2"
251
+ ]
252
+ },
253
+ "/p2p/me/transactions": {
254
+ "GET": [
255
+ "OAuth2"
256
+ ],
257
+ "POST": [
258
+ "OAuth2"
259
+ ]
260
+ },
261
+ "/p2p/me/transactions/create_and_join": {
262
+ "POST": [
263
+ "OAuth2"
264
+ ]
265
+ },
266
+ "/p2p/me/transactions/create_with_guest_user": {
267
+ "POST": [
268
+ "OAuth2"
269
+ ]
270
+ },
271
+ "/p2p/multi_use_listings/{listingId}": {
272
+ "DELETE": [
273
+ "OAuth2"
274
+ ],
275
+ "GET": [
276
+ "OAuth2"
277
+ ],
278
+ "PATCH": [
279
+ "OAuth2"
280
+ ]
281
+ },
282
+ "/p2p/multi_use_listings/{listingId}/create_transaction": {
283
+ "POST": [
284
+ "OAuth2"
285
+ ]
286
+ },
287
+ "/p2p/multi_use_listings/{listingId}/disable": {
288
+ "POST": [
289
+ "OAuth2"
290
+ ]
291
+ },
292
+ "/p2p/multi_use_listings/{listingId}/enable": {
293
+ "POST": [
294
+ "OAuth2"
295
+ ]
296
+ },
297
+ "/p2p/multi_use_listings/{listingId}/set_deposit_pricing": {
298
+ "POST": [
299
+ "OAuth2"
300
+ ]
301
+ },
302
+ "/p2p/multi_use_listings/{listingId}/set_description": {
303
+ "POST": [
304
+ "OAuth2"
305
+ ]
306
+ },
307
+ "/p2p/multi_use_listings/{listingId}/set_skip_remainder": {
308
+ "POST": [
309
+ "OAuth2"
310
+ ]
311
+ },
312
+ "/p2p/single_use_listings/{listingId}": {
313
+ "DELETE": [
314
+ "OAuth2"
315
+ ],
316
+ "GET": [
317
+ "OAuth2"
318
+ ],
319
+ "PATCH": [
320
+ "OAuth2"
321
+ ]
322
+ },
323
+ "/p2p/single_use_listings/{listingId}/create_transaction": {
324
+ "POST": [
325
+ "OAuth2"
326
+ ]
327
+ },
328
+ "/p2p/single_use_listings/{listingId}/disable": {
329
+ "POST": [
330
+ "OAuth2"
331
+ ]
332
+ },
333
+ "/p2p/single_use_listings/{listingId}/enable": {
334
+ "POST": [
335
+ "OAuth2"
336
+ ]
337
+ },
338
+ "/p2p/single_use_listings/{listingId}/set_deposit_pricing": {
339
+ "POST": [
340
+ "OAuth2"
341
+ ]
342
+ },
343
+ "/p2p/single_use_listings/{listingId}/set_description": {
344
+ "POST": [
345
+ "OAuth2"
346
+ ]
347
+ },
348
+ "/p2p/transactions/{transaction_id}": {
349
+ "GET": [
350
+ "OAuth2"
351
+ ],
352
+ "PATCH": [
353
+ "OAuth2"
354
+ ]
355
+ },
356
+ "/p2p/transactions/{transaction_id}/accept_complaint": {
357
+ "POST": [
358
+ "OAuth2"
359
+ ]
360
+ },
361
+ "/p2p/transactions/{transaction_id}/accept_deposit_with_guest_seller": {
362
+ "POST": [
363
+ "OAuth2"
364
+ ]
365
+ },
366
+ "/p2p/transactions/{transaction_id}/bank_transfer_details": {
367
+ "GET": [
368
+ "OAuth2"
369
+ ]
370
+ },
371
+ "/p2p/transactions/{transaction_id}/cancel_with_description": {
372
+ "POST": [
373
+ "OAuth2"
374
+ ]
375
+ },
376
+ "/p2p/transactions/{transaction_id}/cancel_with_description_with_guest_user": {
377
+ "POST": [
378
+ "OAuth2"
379
+ ]
380
+ },
381
+ "/p2p/transactions/{transaction_id}/claim_for_seller": {
382
+ "POST": [
383
+ "OAuth2"
384
+ ]
385
+ },
386
+ "/p2p/transactions/{transaction_id}/complain": {
387
+ "POST": [
388
+ "OAuth2"
389
+ ]
390
+ },
391
+ "/p2p/transactions/{transaction_id}/complain_with_guest_buyer": {
392
+ "POST": [
393
+ "OAuth2"
394
+ ]
395
+ },
396
+ "/p2p/transactions/{transaction_id}/confirm_handover": {
397
+ "POST": [
398
+ "OAuth2"
399
+ ]
400
+ },
401
+ "/p2p/transactions/{transaction_id}/end_complaint_period_with_guest_buyer": {
402
+ "POST": [
403
+ "OAuth2"
404
+ ]
405
+ },
406
+ "/p2p/transactions/{transaction_id}/join_with_guest": {
407
+ "POST": [
408
+ "OAuth2"
409
+ ]
410
+ },
411
+ "/p2p/transactions/{transaction_id}/metadata": {
412
+ "GET": [
413
+ "OAuth2"
414
+ ],
415
+ "POST": [
416
+ "OAuth2"
417
+ ]
418
+ },
419
+ "/p2p/transactions/{transaction_id}/pay_deposit_with_balance": {
420
+ "POST": [
421
+ "OAuth2"
422
+ ]
423
+ },
424
+ "/p2p/transactions/{transaction_id}/pay_remainder_with_balance": {
425
+ "POST": [
426
+ "OAuth2"
427
+ ]
428
+ },
429
+ "/p2p/transactions/{transaction_id}/remainder_stripe_client_secret": {
430
+ "GET": [
431
+ "OAuth2"
432
+ ]
433
+ },
434
+ "/p2p/transactions/{transaction_id}/set_deposit_payment_method": {
435
+ "POST": [
436
+ "OAuth2"
437
+ ]
438
+ },
439
+ "/p2p/transactions/{transaction_id}/stripe_publishable_key": {
440
+ "GET": [
441
+ "OAuth2"
442
+ ]
443
+ },
444
+ "/p2p/transactions/{transactionId}/accept_deposit": {
445
+ "POST": [
446
+ "OAuth2"
447
+ ]
448
+ },
449
+ "/p2p/transactions/{transactionId}/buyer_details": {
450
+ "GET": [
451
+ "OAuth2"
452
+ ]
453
+ },
454
+ "/p2p/transactions/{transactionId}/confirm_handover_with_guest_user": {
455
+ "POST": [
456
+ "OAuth2"
457
+ ]
458
+ },
459
+ "/p2p/transactions/{transactionId}/deposit_stripe_client_secret": {
460
+ "GET": [
461
+ "OAuth2"
462
+ ]
463
+ },
464
+ "/p2p/transactions/{transactionId}/seller_details": {
465
+ "GET": [
466
+ "OAuth2"
467
+ ]
468
+ },
469
+ "/p2p/transactions/{transactionId}/set_price": {
470
+ "POST": [
471
+ "OAuth2"
472
+ ]
473
+ },
474
+ "/p2p/transactions/{transactionId}/skip_remainder": {
475
+ "POST": [
476
+ "OAuth2"
477
+ ]
478
+ },
479
+ "/p2p/transactions_by_claim_secret/{secret}/claim_as_buyer": {
480
+ "POST": [
481
+ "OAuth2"
482
+ ]
483
+ },
484
+ "/p2p/transactions_by_claim_secret/{secret}/claim_as_seller": {
485
+ "POST": [
486
+ "OAuth2"
487
+ ]
488
+ },
489
+ "/p2p/transactions_by_join_code/{joinCode}": {
490
+ "GET": [
491
+ "OAuth2"
492
+ ]
493
+ },
494
+ "/p2p/transactions_by_join_code/{joinCode}/join": {
495
+ "POST": [
496
+ "OAuth2"
497
+ ]
498
+ },
499
+ "/p2p/transactions_by_join_code/{joinCode}/reject": {
500
+ "POST": [
501
+ "OAuth2"
502
+ ]
503
+ },
504
+ "/shippo_shipping_rates": {
505
+ "POST": [
506
+ "OAuth2",
507
+ "APIKey"
508
+ ]
509
+ },
510
+ "/single_use_listings/{listing_id}": {
511
+ "DELETE": [
512
+ "OAuth2"
513
+ ],
514
+ "GET": [
515
+ "OAuth2"
516
+ ],
517
+ "PATCH": [
518
+ "OAuth2"
519
+ ]
520
+ },
521
+ "/single_use_listings/{listing_id}/create_transaction": {
522
+ "POST": [
523
+ "OAuth2"
524
+ ]
525
+ },
526
+ "/single_use_listings/{listing_id}/create_transaction_with_guest_buyer": {
527
+ "POST": [
528
+ "OAuth2"
529
+ ]
530
+ },
531
+ "/single_use_listings/{listing_id}/disable": {
532
+ "POST": [
533
+ "OAuth2"
534
+ ]
535
+ },
536
+ "/single_use_listings/{listing_id}/enable": {
537
+ "POST": [
538
+ "OAuth2"
539
+ ]
540
+ },
541
+ "/single_use_listings/{listing_id}/set_description": {
542
+ "POST": [
543
+ "OAuth2"
544
+ ]
545
+ },
546
+ "/single_use_listings/{listing_id}/set_pricing": {
547
+ "POST": [
548
+ "OAuth2"
549
+ ]
550
+ },
551
+ "/supported_carriers": {
552
+ "GET": [
553
+ "OAuth2",
554
+ "APIKey"
555
+ ]
556
+ },
557
+ "/transactions": {
558
+ "GET": [
559
+ "OAuth2"
560
+ ],
561
+ "POST": [
562
+ "OAuth2"
563
+ ],
564
+ "PUT": [
565
+ "OAuth2"
566
+ ]
567
+ },
568
+ "/transactions-by-join-code/{join_code}/reject": {
569
+ "POST": [
570
+ "OAuth2"
571
+ ]
572
+ },
573
+ "/transactions/{transaction_id}": {
574
+ "GET": [
575
+ "OAuth2"
576
+ ],
577
+ "PATCH": [
578
+ "OAuth2"
579
+ ]
580
+ },
581
+ "/transactions/{transaction_id}/accept_complaint": {
582
+ "POST": [
583
+ "OAuth2"
584
+ ]
585
+ },
586
+ "/transactions/{transaction_id}/accept_listing_transaction": {
587
+ "POST": [
588
+ "OAuth2"
589
+ ]
590
+ },
591
+ "/transactions/{transaction_id}/accept_payment": {
592
+ "POST": [
593
+ "OAuth2"
594
+ ]
595
+ },
596
+ "/transactions/{transaction_id}/accept_payment_with_guest_seller": {
597
+ "POST": [
598
+ "OAuth2"
599
+ ]
600
+ },
601
+ "/transactions/{transaction_id}/bank_transfer_details": {
602
+ "GET": [
603
+ "OAuth2"
604
+ ]
605
+ },
606
+ "/transactions/{transaction_id}/buyer_details": {
607
+ "GET": [
608
+ "OAuth2"
609
+ ]
610
+ },
611
+ "/transactions/{transaction_id}/cancel": {
612
+ "POST": [
613
+ "OAuth2"
614
+ ]
615
+ },
616
+ "/transactions/{transaction_id}/cancel_with_guest_user": {
617
+ "POST": [
618
+ "OAuth2"
619
+ ]
620
+ },
621
+ "/transactions/{transaction_id}/charge": {
622
+ "GET": [
623
+ "OAuth2",
624
+ "APIKey"
625
+ ]
626
+ },
627
+ "/transactions/{transaction_id}/claim_for_buyer": {
628
+ "POST": [
629
+ "OAuth2"
630
+ ]
631
+ },
632
+ "/transactions/{transaction_id}/claim_for_seller": {
633
+ "POST": [
634
+ "OAuth2"
635
+ ]
636
+ },
637
+ "/transactions/{transaction_id}/complain_with_description": {
638
+ "POST": [
639
+ "OAuth2"
640
+ ]
641
+ },
642
+ "/transactions/{transaction_id}/complain_with_guest_buyer": {
643
+ "POST": [
644
+ "OAuth2"
645
+ ]
646
+ },
647
+ "/transactions/{transaction_id}/confirm_delivery": {
648
+ "POST": [
649
+ "OAuth2"
650
+ ]
651
+ },
652
+ "/transactions/{transaction_id}/confirm_delivery_with_guest_buyer": {
653
+ "POST": [
654
+ "OAuth2"
655
+ ]
656
+ },
657
+ "/transactions/{transaction_id}/delivery_point": {
658
+ "POST": [
659
+ "OAuth2"
660
+ ]
661
+ },
662
+ "/transactions/{transaction_id}/end_complaint_period": {
663
+ "POST": [
664
+ "OAuth2"
665
+ ]
666
+ },
667
+ "/transactions/{transaction_id}/extend_tracking_deadline": {
668
+ "POST": [
669
+ "OAuth2"
670
+ ]
671
+ },
672
+ "/transactions/{transaction_id}/generate_shipment_label": {
673
+ "POST": [
674
+ "OAuth2"
675
+ ]
676
+ },
677
+ "/transactions/{transaction_id}/pay_with_balance": {
678
+ "POST": [
679
+ "OAuth2"
680
+ ]
681
+ },
682
+ "/transactions/{transaction_id}/pick_up_point": {
683
+ "POST": [
684
+ "OAuth2"
685
+ ]
686
+ },
687
+ "/transactions/{transaction_id}/reject_listing_transaction": {
688
+ "POST": [
689
+ "OAuth2"
690
+ ]
691
+ },
692
+ "/transactions/{transaction_id}/seller_details": {
693
+ "GET": [
694
+ "OAuth2"
695
+ ]
696
+ },
697
+ "/transactions/{transaction_id}/set_payment_method": {
698
+ "POST": [
699
+ "OAuth2"
700
+ ]
701
+ },
702
+ "/transactions/{transaction_id}/shipping_details": {
703
+ "GET": [
704
+ "OAuth2"
705
+ ],
706
+ "POST": [
707
+ "OAuth2"
708
+ ]
709
+ },
710
+ "/transactions/{transaction_id}/shippo_address": {
711
+ "POST": [
712
+ "OAuth2"
713
+ ]
714
+ },
715
+ "/transactions/{transaction_id}/shippo_customs_declaration": {
716
+ "POST": [
717
+ "OAuth2"
718
+ ]
719
+ },
720
+ "/transactions/{transaction_id}/shippo_parcel_details": {
721
+ "POST": [
722
+ "OAuth2"
723
+ ]
724
+ },
725
+ "/transactions/{transaction_id}/shippo_shipping_label": {
726
+ "GET": [
727
+ "OAuth2"
728
+ ]
729
+ },
730
+ "/transactions/{transaction_id}/shippo_shipping_rate": {
731
+ "POST": [
732
+ "OAuth2"
733
+ ]
734
+ },
735
+ "/transactions/{transaction_id}/shippo_shipping_rates": {
736
+ "GET": [
737
+ "OAuth2"
738
+ ]
739
+ },
740
+ "/transactions/{transaction_id}/stripe_client_secret": {
741
+ "GET": [
742
+ "OAuth2"
743
+ ]
744
+ },
745
+ "/transactions/{transaction_id}/stripe_publishable_key": {
746
+ "GET": [
747
+ "OAuth2"
748
+ ]
749
+ },
750
+ "/transactions/{transaction_id}/submit_order_issue": {
751
+ "POST": [
752
+ "OAuth2"
753
+ ]
754
+ },
755
+ "/transactions/{transaction_id}/track": {
756
+ "POST": [
757
+ "OAuth2"
758
+ ]
759
+ },
760
+ "/transactions/{transaction_id}/track_with_guest_seller": {
761
+ "POST": [
762
+ "OAuth2"
763
+ ]
764
+ },
765
+ "/transactions_by_claim_secret/{secret}/claim_as_buyer": {
766
+ "POST": [
767
+ "OAuth2"
768
+ ]
769
+ }
770
+ } as const;