@adyen/adyen-platform-experience-web 1.6.1 → 1.7.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.
Files changed (160) hide show
  1. package/README.md +1 -1
  2. package/dist/adyen-platform-experience-web.css +1 -1
  3. package/dist/{angle-right-K64mXtoy.cjs → angle-right-BYzD_-Ft.cjs} +2 -2
  4. package/dist/{angle-right-K64mXtoy.cjs.map → angle-right-BYzD_-Ft.cjs.map} +1 -1
  5. package/dist/{checkmark-BFOfQ4U3.cjs → checkmark-BvN7Hdc4.cjs} +2 -2
  6. package/dist/{checkmark-BFOfQ4U3.cjs.map → checkmark-BvN7Hdc4.cjs.map} +1 -1
  7. package/dist/{checkmark-circle-fill-BV2FvQh0.cjs → checkmark-circle-fill-B2FBCXMi.cjs} +2 -2
  8. package/dist/{checkmark-circle-fill-BV2FvQh0.cjs.map → checkmark-circle-fill-B2FBCXMi.cjs.map} +1 -1
  9. package/dist/{checkmark-square-fill-B6rUSLy6.cjs → checkmark-square-fill-C0yzqh08.cjs} +2 -2
  10. package/dist/{checkmark-square-fill-B6rUSLy6.cjs.map → checkmark-square-fill-C0yzqh08.cjs.map} +1 -1
  11. package/dist/{chevron-down-Cwk2F1N2.cjs → chevron-down-Bh5iG-g7.cjs} +2 -2
  12. package/dist/{chevron-down-Cwk2F1N2.cjs.map → chevron-down-Bh5iG-g7.cjs.map} +1 -1
  13. package/dist/{chevron-left-3kfyOgH8.cjs → chevron-left-CslKDyxG.cjs} +2 -2
  14. package/dist/{chevron-left-3kfyOgH8.cjs.map → chevron-left-CslKDyxG.cjs.map} +1 -1
  15. package/dist/{chevron-right-DlSewmYP.cjs → chevron-right-B86-08tq.cjs} +2 -2
  16. package/dist/{chevron-right-DlSewmYP.cjs.map → chevron-right-B86-08tq.cjs.map} +1 -1
  17. package/dist/{chevron-up-DcHOD7ve.cjs → chevron-up-DRKXzgCM.cjs} +2 -2
  18. package/dist/{chevron-up-DcHOD7ve.cjs.map → chevron-up-DRKXzgCM.cjs.map} +1 -1
  19. package/dist/cjs/index.js +1 -1
  20. package/dist/{copy-DmBUwp7_.cjs → copy--wgagwiQ.cjs} +2 -2
  21. package/dist/{copy-DmBUwp7_.cjs.map → copy--wgagwiQ.cjs.map} +1 -1
  22. package/dist/{cross-JGXC9RPo.cjs → cross-BWhI1OkU.cjs} +2 -2
  23. package/dist/{cross-JGXC9RPo.cjs.map → cross-BWhI1OkU.cjs.map} +1 -1
  24. package/dist/{cross-circle-fill-CepPVSd-.cjs → cross-circle-fill-CNa1fp55.cjs} +2 -2
  25. package/dist/{cross-circle-fill-CepPVSd-.cjs.map → cross-circle-fill-CNa1fp55.cjs.map} +1 -1
  26. package/dist/{download-BToMR9ry.cjs → download-v3aQcc7_.cjs} +2 -2
  27. package/dist/{download-BToMR9ry.cjs.map → download-v3aQcc7_.cjs.map} +1 -1
  28. package/dist/es/components/external/CapitalOverview/components/GrantActions/GrantActions.js +133 -0
  29. package/dist/es/components/external/CapitalOverview/components/GrantActions/constants.js +9 -0
  30. package/dist/es/components/external/CapitalOverview/components/GrantItem/GrantItem.js +39 -40
  31. package/dist/es/components/external/ReportsOverview/components/ReportsTable/ReportsTable.js +11 -11
  32. package/dist/es/components/external/TransactionDetails/components/refund/TransactionRefundAmount.js +19 -19
  33. package/dist/es/components/internal/Accordion/Accordion.js +19 -20
  34. package/dist/es/components/internal/Button/DownloadButton/DownloadButton.js +37 -37
  35. package/dist/es/components/internal/Calendar/hooks/useCalendarControlsRendering.js +18 -19
  36. package/dist/es/components/internal/ExpandableCard/ExpandableCard.js +47 -48
  37. package/dist/es/components/internal/FormFields/Select/Select.js +29 -29
  38. package/dist/es/components/internal/FormFields/Select/components/SelectButton.js +27 -27
  39. package/dist/es/components/internal/FormFields/Select/components/SelectListItem.js +27 -29
  40. package/dist/es/components/internal/Pagination/Pagination.js +41 -38
  41. package/dist/es/constants/dateFormats.js +19 -18
  42. package/dist/es/core/Http/utils.js +1 -1
  43. package/dist/es/core/core.js +1 -1
  44. package/dist/es/translations/en-US.json.js +4 -0
  45. package/dist/{external-link-BRDaK3Bx.cjs → external-link-Y0ITwX_D.cjs} +2 -2
  46. package/dist/{external-link-BRDaK3Bx.cjs.map → external-link-Y0ITwX_D.cjs.map} +1 -1
  47. package/dist/{filter-DXSSpM1j.cjs → filter-B0jf9LNT.cjs} +2 -2
  48. package/dist/{filter-DXSSpM1j.cjs.map → filter-B0jf9LNT.cjs.map} +1 -1
  49. package/dist/index-CldOsFs0.cjs +12 -0
  50. package/dist/index-CldOsFs0.cjs.map +1 -0
  51. package/dist/{info-filled-CqqSx6ab.cjs → info-filled-DWI7yYIK.cjs} +2 -2
  52. package/dist/{info-filled-CqqSx6ab.cjs.map → info-filled-DWI7yYIK.cjs.map} +1 -1
  53. package/dist/{minus-circle-outline-C_OF3LwJ.cjs → minus-circle-outline-TX4FRKCq.cjs} +2 -2
  54. package/dist/{minus-circle-outline-C_OF3LwJ.cjs.map → minus-circle-outline-TX4FRKCq.cjs.map} +1 -1
  55. package/dist/{plus-CW8c0zs1.cjs → plus-WkQleJCL.cjs} +2 -2
  56. package/dist/{plus-CW8c0zs1.cjs.map → plus-WkQleJCL.cjs.map} +1 -1
  57. package/dist/{plus-circle-outline-DJ6zGU6z.cjs → plus-circle-outline-BSbUWJEJ.cjs} +2 -2
  58. package/dist/{plus-circle-outline-DJ6zGU6z.cjs.map → plus-circle-outline-BSbUWJEJ.cjs.map} +1 -1
  59. package/dist/{square-2HAeIvAR.cjs → square-wBNy5hkk.cjs} +2 -2
  60. package/dist/{square-2HAeIvAR.cjs.map → square-wBNy5hkk.cjs.map} +1 -1
  61. package/dist/{trash-can-BLQ5Pm8W.cjs → trash-can-BtOHiu0D.cjs} +2 -2
  62. package/dist/{trash-can-BLQ5Pm8W.cjs.map → trash-can-BtOHiu0D.cjs.map} +1 -1
  63. package/dist/types/components/external/CapitalOverview/components/AccountDetails/types.d.ts +2 -2
  64. package/dist/types/components/external/CapitalOverview/components/AccountDetails/types.d.ts.map +1 -1
  65. package/dist/types/components/external/CapitalOverview/components/GrantActions/GrantActions.d.ts +9 -0
  66. package/dist/types/components/external/CapitalOverview/components/GrantActions/GrantActions.d.ts.map +1 -0
  67. package/dist/types/components/external/CapitalOverview/components/GrantActions/constants.d.ts +7 -0
  68. package/dist/types/components/external/CapitalOverview/components/{GrantAction → GrantActions}/constants.d.ts.map +1 -1
  69. package/dist/types/components/external/CapitalOverview/components/GrantActions/utils.d.ts.map +1 -0
  70. package/dist/types/components/external/CapitalOverview/components/GrantItem/GrantItem.d.ts.map +1 -1
  71. package/dist/types/components/external/ReportsOverview/components/ReportsTable/ReportsTable.d.ts.map +1 -1
  72. package/dist/types/components/internal/Accordion/Accordion.d.ts.map +1 -1
  73. package/dist/types/components/internal/Button/DownloadButton/useDownload.d.ts +5 -21
  74. package/dist/types/components/internal/Button/DownloadButton/useDownload.d.ts.map +1 -1
  75. package/dist/types/components/internal/Calendar/hooks/useCalendarControlsRendering.d.ts.map +1 -1
  76. package/dist/types/components/internal/ExpandableCard/ExpandableCard.d.ts.map +1 -1
  77. package/dist/types/components/internal/FormFields/Select/components/SelectListItem.d.ts.map +1 -1
  78. package/dist/types/components/internal/Pagination/Pagination.d.ts +1 -1
  79. package/dist/types/components/internal/Pagination/Pagination.d.ts.map +1 -1
  80. package/dist/types/components/internal/StructuredList/useStructuredListItem.d.ts +1 -1
  81. package/dist/types/constants/dateFormats.d.ts +1 -0
  82. package/dist/types/constants/dateFormats.d.ts.map +1 -1
  83. package/dist/types/core/ConfigContext/context.d.ts +38 -20
  84. package/dist/types/core/ConfigContext/context.d.ts.map +1 -1
  85. package/dist/types/core/ConfigContext/session/AuthSession.d.ts +76 -40
  86. package/dist/types/core/ConfigContext/session/AuthSession.d.ts.map +1 -1
  87. package/dist/types/core/ConfigContext/session/SetupContext.d.ts +38 -20
  88. package/dist/types/core/ConfigContext/session/SetupContext.d.ts.map +1 -1
  89. package/dist/types/core/ConfigContext/types.d.ts +7 -1
  90. package/dist/types/core/ConfigContext/types.d.ts.map +1 -1
  91. package/dist/types/hooks/useTableColumns.d.ts +1 -1
  92. package/dist/types/translations/index.d.ts +4 -0
  93. package/dist/types/translations/index.d.ts.map +1 -1
  94. package/dist/types/types/api/endpoints.d.ts +4 -2
  95. package/dist/types/types/api/endpoints.d.ts.map +1 -1
  96. package/dist/types/types/api/models/capital.d.ts +10 -6
  97. package/dist/types/types/api/models/capital.d.ts.map +1 -1
  98. package/dist/types/types/api/resources/BalanceAccountsResource.d.ts +56 -28
  99. package/dist/types/types/api/resources/BalanceAccountsResource.d.ts.map +1 -1
  100. package/dist/types/types/api/resources/CapitalGrantOffersResource.d.ts +182 -0
  101. package/dist/types/types/api/resources/CapitalGrantOffersResource.d.ts.map +1 -0
  102. package/dist/types/types/api/resources/CapitalGrantsResource.d.ts +190 -0
  103. package/dist/types/types/api/resources/CapitalGrantsResource.d.ts.map +1 -0
  104. package/dist/types/types/api/resources/CapitalMissingActionsResource.d.ts +112 -0
  105. package/dist/types/types/api/resources/CapitalMissingActionsResource.d.ts.map +1 -0
  106. package/dist/types/types/api/resources/SetupResource.d.ts +33 -15
  107. package/dist/types/types/api/resources/SetupResource.d.ts.map +1 -1
  108. package/dist/types/utils/abort/main.d.ts +1 -2
  109. package/dist/types/utils/abort/main.d.ts.map +1 -1
  110. package/dist/{upload-C9Z9qRuS.cjs → upload-CwRQ9v3Y.cjs} +2 -2
  111. package/dist/{upload-C9Z9qRuS.cjs.map → upload-CwRQ9v3Y.cjs.map} +1 -1
  112. package/dist/{warning-CIRG3GTY.cjs → warning-DBphva9h.cjs} +2 -2
  113. package/dist/{warning-CIRG3GTY.cjs.map → warning-DBphva9h.cjs.map} +1 -1
  114. package/dist/{warning-filled-3hD1yAKv.cjs → warning-filled-Ctsg1oEC.cjs} +2 -2
  115. package/dist/{warning-filled-3hD1yAKv.cjs.map → warning-filled-Ctsg1oEC.cjs.map} +1 -1
  116. package/package.json +20 -43
  117. package/dist/es/components/external/CapitalOverview/components/GrantAction/GrantAction.js +0 -65
  118. package/dist/es/components/external/CapitalOverview/components/GrantAction/constants.js +0 -6
  119. package/dist/es/components/internal/SVGIcons/CheckedBox.js +0 -15
  120. package/dist/es/components/internal/SVGIcons/Checkmark.js +0 -17
  121. package/dist/es/components/internal/SVGIcons/ChevronDown.js +0 -17
  122. package/dist/es/components/internal/SVGIcons/ChevronLeft.js +0 -17
  123. package/dist/es/components/internal/SVGIcons/ChevronRight.js +0 -17
  124. package/dist/es/components/internal/SVGIcons/ChevronUp.js +0 -17
  125. package/dist/es/components/internal/SVGIcons/CloseCircle.js +0 -16
  126. package/dist/es/components/internal/SVGIcons/Download.js +0 -20
  127. package/dist/es/components/internal/SVGIcons/UncheckedBox.js +0 -9
  128. package/dist/es/components/internal/SVGIcons/Warning.js +0 -21
  129. package/dist/index-BKTWT4wv.cjs +0 -12
  130. package/dist/index-BKTWT4wv.cjs.map +0 -1
  131. package/dist/types/components/external/CapitalOverview/components/GrantAction/GrantAction.d.ts +0 -5
  132. package/dist/types/components/external/CapitalOverview/components/GrantAction/GrantAction.d.ts.map +0 -1
  133. package/dist/types/components/external/CapitalOverview/components/GrantAction/constants.d.ts +0 -4
  134. package/dist/types/components/external/CapitalOverview/components/GrantAction/types.d.ts +0 -7
  135. package/dist/types/components/external/CapitalOverview/components/GrantAction/types.d.ts.map +0 -1
  136. package/dist/types/components/external/CapitalOverview/components/GrantAction/utils.d.ts.map +0 -1
  137. package/dist/types/components/internal/SVGIcons/CheckedBox.d.ts +0 -10
  138. package/dist/types/components/internal/SVGIcons/CheckedBox.d.ts.map +0 -1
  139. package/dist/types/components/internal/SVGIcons/Checkmark.d.ts +0 -10
  140. package/dist/types/components/internal/SVGIcons/Checkmark.d.ts.map +0 -1
  141. package/dist/types/components/internal/SVGIcons/ChevronDown.d.ts +0 -10
  142. package/dist/types/components/internal/SVGIcons/ChevronDown.d.ts.map +0 -1
  143. package/dist/types/components/internal/SVGIcons/ChevronLeft.d.ts +0 -10
  144. package/dist/types/components/internal/SVGIcons/ChevronLeft.d.ts.map +0 -1
  145. package/dist/types/components/internal/SVGIcons/ChevronRight.d.ts +0 -10
  146. package/dist/types/components/internal/SVGIcons/ChevronRight.d.ts.map +0 -1
  147. package/dist/types/components/internal/SVGIcons/ChevronUp.d.ts +0 -10
  148. package/dist/types/components/internal/SVGIcons/ChevronUp.d.ts.map +0 -1
  149. package/dist/types/components/internal/SVGIcons/CloseCircle.d.ts +0 -7
  150. package/dist/types/components/internal/SVGIcons/CloseCircle.d.ts.map +0 -1
  151. package/dist/types/components/internal/SVGIcons/Download.d.ts +0 -7
  152. package/dist/types/components/internal/SVGIcons/Download.d.ts.map +0 -1
  153. package/dist/types/components/internal/SVGIcons/UncheckedBox.d.ts +0 -10
  154. package/dist/types/components/internal/SVGIcons/UncheckedBox.d.ts.map +0 -1
  155. package/dist/types/components/internal/SVGIcons/Warning.d.ts +0 -7
  156. package/dist/types/components/internal/SVGIcons/Warning.d.ts.map +0 -1
  157. package/dist/types/types/api/resources/CapitalResource.d.ts +0 -255
  158. package/dist/types/types/api/resources/CapitalResource.d.ts.map +0 -1
  159. /package/dist/es/components/external/CapitalOverview/components/{GrantAction → GrantActions}/utils.js +0 -0
  160. /package/dist/types/components/external/CapitalOverview/components/{GrantAction → GrantActions}/utils.d.ts +0 -0
@@ -34,9 +34,12 @@ export declare const useConfigContext: () => Readonly<{
34
34
  contentType?: string | undefined;
35
35
  clientKey?: string | undefined;
36
36
  }, args_0: {
37
+ query?: undefined;
38
+ header?: undefined;
37
39
  path: {
38
40
  balanceAccountId: string;
39
41
  };
42
+ cookie?: undefined;
40
43
  }) => Promise<{
41
44
  data: {
42
45
  currency: string;
@@ -425,6 +428,7 @@ export declare const useConfigContext: () => Readonly<{
425
428
  currency: string;
426
429
  };
427
430
  }) => Promise<{
431
+ aprBasisPoints?: number | undefined;
428
432
  expectedRepaymentPeriodDays: number;
429
433
  feesAmount: {
430
434
  currency: string;
@@ -437,7 +441,6 @@ export declare const useConfigContext: () => Readonly<{
437
441
  id: string;
438
442
  maximumRepaymentPeriodDays?: number | undefined;
439
443
  repaymentRate: number;
440
- aprBasisPoints?: number | undefined;
441
444
  thresholdAmount: {
442
445
  currency: string;
443
446
  value: number;
@@ -463,7 +466,11 @@ export declare const useConfigContext: () => Readonly<{
463
466
  amount: number;
464
467
  currency: string;
465
468
  };
469
+ header?: undefined;
470
+ path?: undefined;
471
+ cookie?: undefined;
466
472
  }) => Promise<{
473
+ aprBasisPoints?: number | undefined;
467
474
  expectedRepaymentPeriodDays: number;
468
475
  feesAmount: {
469
476
  currency: string;
@@ -476,7 +483,6 @@ export declare const useConfigContext: () => Readonly<{
476
483
  id: string;
477
484
  maximumRepaymentPeriodDays?: number | undefined;
478
485
  repaymentRate: number;
479
- aprBasisPoints?: number | undefined;
480
486
  thresholdAmount: {
481
487
  currency: string;
482
488
  value: number;
@@ -535,7 +541,7 @@ export declare const useConfigContext: () => Readonly<{
535
541
  id: string;
536
542
  maximumRepaymentPeriodDays?: number | undefined;
537
543
  missingActions?: {
538
- type: "signToS";
544
+ type: "signToS" | "AnaCredit";
539
545
  }[] | undefined;
540
546
  offerExpiresAt?: string | undefined;
541
547
  remainingFeesAmount: {
@@ -567,10 +573,6 @@ export declare const useConfigContext: () => Readonly<{
567
573
  revocationAccount?: {
568
574
  order: string[];
569
575
  region: string;
570
- accountNumber?: string | undefined;
571
- iban?: string | undefined;
572
- routingNumber?: string | undefined;
573
- sortCode?: string | undefined;
574
576
  } | undefined;
575
577
  status: "Failed" | "Pending" | "Repaid" | "Revoked" | "Active" | "WrittenOff";
576
578
  termEndsAt: string;
@@ -585,10 +587,6 @@ export declare const useConfigContext: () => Readonly<{
585
587
  unscheduledRepaymentAccounts?: {
586
588
  order: string[];
587
589
  region: string;
588
- accountNumber?: string | undefined;
589
- iban?: string | undefined;
590
- routingNumber?: string | undefined;
591
- sortCode?: string | undefined;
592
590
  }[] | undefined;
593
591
  }[];
594
592
  }>) | undefined;
@@ -604,9 +602,12 @@ export declare const useConfigContext: () => Readonly<{
604
602
  contentType?: string | undefined;
605
603
  clientKey?: string | undefined;
606
604
  }, args_0: {
605
+ query?: undefined;
606
+ header?: undefined;
607
607
  path: {
608
608
  grantOfferId: string;
609
609
  };
610
+ cookie?: undefined;
610
611
  }) => Promise<{
611
612
  balanceAccountCode: string;
612
613
  balanceAccountDescription: string;
@@ -622,7 +623,7 @@ export declare const useConfigContext: () => Readonly<{
622
623
  id: string;
623
624
  maximumRepaymentPeriodDays?: number | undefined;
624
625
  missingActions?: {
625
- type: "signToS";
626
+ type: "signToS" | "AnaCredit";
626
627
  }[] | undefined;
627
628
  offerExpiresAt?: string | undefined;
628
629
  remainingFeesAmount: {
@@ -654,10 +655,6 @@ export declare const useConfigContext: () => Readonly<{
654
655
  revocationAccount?: {
655
656
  order: string[];
656
657
  region: string;
657
- accountNumber?: string | undefined;
658
- iban?: string | undefined;
659
- routingNumber?: string | undefined;
660
- sortCode?: string | undefined;
661
658
  } | undefined;
662
659
  status: "Failed" | "Pending" | "Repaid" | "Revoked" | "Active" | "WrittenOff";
663
660
  termEndsAt: string;
@@ -672,10 +669,6 @@ export declare const useConfigContext: () => Readonly<{
672
669
  unscheduledRepaymentAccounts?: {
673
670
  order: string[];
674
671
  region: string;
675
- accountNumber?: string | undefined;
676
- iban?: string | undefined;
677
- routingNumber?: string | undefined;
678
- sortCode?: string | undefined;
679
672
  }[] | undefined;
680
673
  }>) | undefined;
681
674
  signToSActionDetails?: ((options: {
@@ -694,6 +687,31 @@ export declare const useConfigContext: () => Readonly<{
694
687
  redirectUrl: string;
695
688
  locale: string;
696
689
  };
690
+ header?: undefined;
691
+ path?: undefined;
692
+ cookie?: undefined;
693
+ }) => Promise<{
694
+ url: string;
695
+ }>) | undefined;
696
+ anaCreditActionDetails?: ((options: {
697
+ body?: any;
698
+ signal?: AbortSignal | undefined;
699
+ headers?: HeadersInit | undefined;
700
+ origin?: string | undefined;
701
+ accept?: string | undefined;
702
+ errorMessage?: string | undefined;
703
+ errorLevel?: import("../Http/types").ErrorLevel | undefined;
704
+ errorHandler?: ((response: any) => any) | undefined;
705
+ contentType?: string | undefined;
706
+ clientKey?: string | undefined;
707
+ }, args_0: {
708
+ query: {
709
+ redirectUrl: string;
710
+ locale: string;
711
+ };
712
+ header?: undefined;
713
+ path?: undefined;
714
+ cookie?: undefined;
697
715
  }) => Promise<{
698
716
  url: string;
699
717
  }>) | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../src/core/ConfigContext/context.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAIpD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAanD,eAAO,MAAM,cAAc,gCAAiC,mBAAmB,iCAgC9E,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0CAAkC,CAAC;AAChE,eAAe,gBAAgB,CAAC"}
@@ -45,9 +45,12 @@ export declare class AuthSession {
45
45
  contentType?: string | undefined;
46
46
  clientKey?: string | undefined;
47
47
  }, args_0: {
48
+ query?: undefined;
49
+ header?: undefined;
48
50
  path: {
49
51
  balanceAccountId: string;
50
52
  };
53
+ cookie?: undefined;
51
54
  }) => Promise<{
52
55
  data: {
53
56
  currency: string;
@@ -436,6 +439,7 @@ export declare class AuthSession {
436
439
  currency: string;
437
440
  };
438
441
  }) => Promise<{
442
+ aprBasisPoints?: number | undefined;
439
443
  expectedRepaymentPeriodDays: number;
440
444
  feesAmount: {
441
445
  currency: string;
@@ -448,7 +452,6 @@ export declare class AuthSession {
448
452
  id: string;
449
453
  maximumRepaymentPeriodDays?: number | undefined;
450
454
  repaymentRate: number;
451
- aprBasisPoints?: number | undefined;
452
455
  thresholdAmount: {
453
456
  currency: string;
454
457
  value: number;
@@ -474,7 +477,11 @@ export declare class AuthSession {
474
477
  amount: number;
475
478
  currency: string;
476
479
  };
480
+ header?: undefined;
481
+ path?: undefined;
482
+ cookie?: undefined;
477
483
  }) => Promise<{
484
+ aprBasisPoints?: number | undefined;
478
485
  expectedRepaymentPeriodDays: number;
479
486
  feesAmount: {
480
487
  currency: string;
@@ -487,7 +494,6 @@ export declare class AuthSession {
487
494
  id: string;
488
495
  maximumRepaymentPeriodDays?: number | undefined;
489
496
  repaymentRate: number;
490
- aprBasisPoints?: number | undefined;
491
497
  thresholdAmount: {
492
498
  currency: string;
493
499
  value: number;
@@ -546,7 +552,7 @@ export declare class AuthSession {
546
552
  id: string;
547
553
  maximumRepaymentPeriodDays?: number | undefined;
548
554
  missingActions?: {
549
- type: "signToS";
555
+ type: "signToS" | "AnaCredit";
550
556
  }[] | undefined;
551
557
  offerExpiresAt?: string | undefined;
552
558
  remainingFeesAmount: {
@@ -578,10 +584,6 @@ export declare class AuthSession {
578
584
  revocationAccount?: {
579
585
  order: string[];
580
586
  region: string;
581
- accountNumber?: string | undefined;
582
- iban?: string | undefined;
583
- routingNumber?: string | undefined;
584
- sortCode?: string | undefined;
585
587
  } | undefined;
586
588
  status: "Failed" | "Pending" | "Repaid" | "Revoked" | "Active" | "WrittenOff";
587
589
  termEndsAt: string;
@@ -596,10 +598,6 @@ export declare class AuthSession {
596
598
  unscheduledRepaymentAccounts?: {
597
599
  order: string[];
598
600
  region: string;
599
- accountNumber?: string | undefined;
600
- iban?: string | undefined;
601
- routingNumber?: string | undefined;
602
- sortCode?: string | undefined;
603
601
  }[] | undefined;
604
602
  }[];
605
603
  }>) | undefined;
@@ -615,9 +613,12 @@ export declare class AuthSession {
615
613
  contentType?: string | undefined;
616
614
  clientKey?: string | undefined;
617
615
  }, args_0: {
616
+ query?: undefined;
617
+ header?: undefined;
618
618
  path: {
619
619
  grantOfferId: string;
620
620
  };
621
+ cookie?: undefined;
621
622
  }) => Promise<{
622
623
  balanceAccountCode: string;
623
624
  balanceAccountDescription: string;
@@ -633,7 +634,7 @@ export declare class AuthSession {
633
634
  id: string;
634
635
  maximumRepaymentPeriodDays?: number | undefined;
635
636
  missingActions?: {
636
- type: "signToS";
637
+ type: "signToS" | "AnaCredit";
637
638
  }[] | undefined;
638
639
  offerExpiresAt?: string | undefined;
639
640
  remainingFeesAmount: {
@@ -665,10 +666,6 @@ export declare class AuthSession {
665
666
  revocationAccount?: {
666
667
  order: string[];
667
668
  region: string;
668
- accountNumber?: string | undefined;
669
- iban?: string | undefined;
670
- routingNumber?: string | undefined;
671
- sortCode?: string | undefined;
672
669
  } | undefined;
673
670
  status: "Failed" | "Pending" | "Repaid" | "Revoked" | "Active" | "WrittenOff";
674
671
  termEndsAt: string;
@@ -683,10 +680,6 @@ export declare class AuthSession {
683
680
  unscheduledRepaymentAccounts?: {
684
681
  order: string[];
685
682
  region: string;
686
- accountNumber?: string | undefined;
687
- iban?: string | undefined;
688
- routingNumber?: string | undefined;
689
- sortCode?: string | undefined;
690
683
  }[] | undefined;
691
684
  }>) | undefined;
692
685
  signToSActionDetails?: ((options: {
@@ -705,6 +698,31 @@ export declare class AuthSession {
705
698
  redirectUrl: string;
706
699
  locale: string;
707
700
  };
701
+ header?: undefined;
702
+ path?: undefined;
703
+ cookie?: undefined;
704
+ }) => Promise<{
705
+ url: string;
706
+ }>) | undefined;
707
+ anaCreditActionDetails?: ((options: {
708
+ body?: any;
709
+ signal?: AbortSignal | undefined;
710
+ headers?: HeadersInit | undefined;
711
+ origin?: string | undefined;
712
+ accept?: string | undefined;
713
+ errorMessage?: string | undefined;
714
+ errorLevel?: import("../../Http/types").ErrorLevel | undefined;
715
+ errorHandler?: ((response: any) => any) | undefined;
716
+ contentType?: string | undefined;
717
+ clientKey?: string | undefined;
718
+ }, args_0: {
719
+ query: {
720
+ redirectUrl: string;
721
+ locale: string;
722
+ };
723
+ header?: undefined;
724
+ path?: undefined;
725
+ cookie?: undefined;
708
726
  }) => Promise<{
709
727
  url: string;
710
728
  }>) | undefined;
@@ -1230,9 +1248,12 @@ export declare class AuthSession {
1230
1248
  contentType?: string | undefined;
1231
1249
  clientKey?: string | undefined;
1232
1250
  }, args_0: {
1251
+ query?: undefined;
1252
+ header?: undefined;
1233
1253
  path: {
1234
1254
  balanceAccountId: string;
1235
1255
  };
1256
+ cookie?: undefined;
1236
1257
  }) => Promise<{
1237
1258
  data: {
1238
1259
  currency: string;
@@ -1621,6 +1642,7 @@ export declare class AuthSession {
1621
1642
  currency: string;
1622
1643
  };
1623
1644
  }) => Promise<{
1645
+ aprBasisPoints?: number | undefined;
1624
1646
  expectedRepaymentPeriodDays: number;
1625
1647
  feesAmount: {
1626
1648
  currency: string;
@@ -1633,7 +1655,6 @@ export declare class AuthSession {
1633
1655
  id: string;
1634
1656
  maximumRepaymentPeriodDays?: number | undefined;
1635
1657
  repaymentRate: number;
1636
- aprBasisPoints?: number | undefined;
1637
1658
  thresholdAmount: {
1638
1659
  currency: string;
1639
1660
  value: number;
@@ -1659,7 +1680,11 @@ export declare class AuthSession {
1659
1680
  amount: number;
1660
1681
  currency: string;
1661
1682
  };
1683
+ header?: undefined;
1684
+ path?: undefined;
1685
+ cookie?: undefined;
1662
1686
  }) => Promise<{
1687
+ aprBasisPoints?: number | undefined;
1663
1688
  expectedRepaymentPeriodDays: number;
1664
1689
  feesAmount: {
1665
1690
  currency: string;
@@ -1672,7 +1697,6 @@ export declare class AuthSession {
1672
1697
  id: string;
1673
1698
  maximumRepaymentPeriodDays?: number | undefined;
1674
1699
  repaymentRate: number;
1675
- aprBasisPoints?: number | undefined;
1676
1700
  thresholdAmount: {
1677
1701
  currency: string;
1678
1702
  value: number;
@@ -1731,7 +1755,7 @@ export declare class AuthSession {
1731
1755
  id: string;
1732
1756
  maximumRepaymentPeriodDays?: number | undefined;
1733
1757
  missingActions?: {
1734
- type: "signToS";
1758
+ type: "signToS" | "AnaCredit";
1735
1759
  }[] | undefined;
1736
1760
  offerExpiresAt?: string | undefined;
1737
1761
  remainingFeesAmount: {
@@ -1763,10 +1787,6 @@ export declare class AuthSession {
1763
1787
  revocationAccount?: {
1764
1788
  order: string[];
1765
1789
  region: string;
1766
- accountNumber?: string | undefined;
1767
- iban?: string | undefined;
1768
- routingNumber?: string | undefined;
1769
- sortCode?: string | undefined;
1770
1790
  } | undefined;
1771
1791
  status: "Failed" | "Pending" | "Repaid" | "Revoked" | "Active" | "WrittenOff";
1772
1792
  termEndsAt: string;
@@ -1781,10 +1801,6 @@ export declare class AuthSession {
1781
1801
  unscheduledRepaymentAccounts?: {
1782
1802
  order: string[];
1783
1803
  region: string;
1784
- accountNumber?: string | undefined;
1785
- iban?: string | undefined;
1786
- routingNumber?: string | undefined;
1787
- sortCode?: string | undefined;
1788
1804
  }[] | undefined;
1789
1805
  }[];
1790
1806
  }>) | undefined;
@@ -1800,9 +1816,12 @@ export declare class AuthSession {
1800
1816
  contentType?: string | undefined;
1801
1817
  clientKey?: string | undefined;
1802
1818
  }, args_0: {
1819
+ query?: undefined;
1820
+ header?: undefined;
1803
1821
  path: {
1804
1822
  grantOfferId: string;
1805
1823
  };
1824
+ cookie?: undefined;
1806
1825
  }) => Promise<{
1807
1826
  balanceAccountCode: string;
1808
1827
  balanceAccountDescription: string;
@@ -1818,7 +1837,7 @@ export declare class AuthSession {
1818
1837
  id: string;
1819
1838
  maximumRepaymentPeriodDays?: number | undefined;
1820
1839
  missingActions?: {
1821
- type: "signToS";
1840
+ type: "signToS" | "AnaCredit";
1822
1841
  }[] | undefined;
1823
1842
  offerExpiresAt?: string | undefined;
1824
1843
  remainingFeesAmount: {
@@ -1850,10 +1869,6 @@ export declare class AuthSession {
1850
1869
  revocationAccount?: {
1851
1870
  order: string[];
1852
1871
  region: string;
1853
- accountNumber?: string | undefined;
1854
- iban?: string | undefined;
1855
- routingNumber?: string | undefined;
1856
- sortCode?: string | undefined;
1857
1872
  } | undefined;
1858
1873
  status: "Failed" | "Pending" | "Repaid" | "Revoked" | "Active" | "WrittenOff";
1859
1874
  termEndsAt: string;
@@ -1868,10 +1883,6 @@ export declare class AuthSession {
1868
1883
  unscheduledRepaymentAccounts?: {
1869
1884
  order: string[];
1870
1885
  region: string;
1871
- accountNumber?: string | undefined;
1872
- iban?: string | undefined;
1873
- routingNumber?: string | undefined;
1874
- sortCode?: string | undefined;
1875
1886
  }[] | undefined;
1876
1887
  }>) | undefined;
1877
1888
  signToSActionDetails?: ((options: {
@@ -1890,6 +1901,31 @@ export declare class AuthSession {
1890
1901
  redirectUrl: string;
1891
1902
  locale: string;
1892
1903
  };
1904
+ header?: undefined;
1905
+ path?: undefined;
1906
+ cookie?: undefined;
1907
+ }) => Promise<{
1908
+ url: string;
1909
+ }>) | undefined;
1910
+ anaCreditActionDetails?: ((options: {
1911
+ body?: any;
1912
+ signal?: AbortSignal | undefined;
1913
+ headers?: HeadersInit | undefined;
1914
+ origin?: string | undefined;
1915
+ accept?: string | undefined;
1916
+ errorMessage?: string | undefined;
1917
+ errorLevel?: import("../../Http/types").ErrorLevel | undefined;
1918
+ errorHandler?: ((response: any) => any) | undefined;
1919
+ contentType?: string | undefined;
1920
+ clientKey?: string | undefined;
1921
+ }, args_0: {
1922
+ query: {
1923
+ redirectUrl: string;
1924
+ locale: string;
1925
+ };
1926
+ header?: undefined;
1927
+ path?: undefined;
1928
+ cookie?: undefined;
1893
1929
  }) => Promise<{
1894
1930
  url: string;
1895
1931
  }>) | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"AuthSession.d.ts","sourceRoot":"","sources":["../../../../../src/core/ConfigContext/session/AuthSession.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD,qBAAa,WAAW;IACpB,OAAO,CAAC,sBAAsB,CAAS;IACvC,OAAO,CAAC,sBAAsB,CAA0B;IACxD,OAAO,CAAC,gBAAgB,CAAS;IAEjC,OAAO,CAAC,QAAQ,CAAC,eAAe,CAA0B;IAC1D,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAkC;IACjE,OAAO,CAAC,QAAQ,CAAC,eAAe,CAA2C;IAC3E,OAAO,CAAC,QAAQ,CAAC,aAAa,CAA0C;IAExE,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAyB9B;IAEH,OAAO,CAAC,QAAQ,CAAC,UAAU,CAOxB;IAEH,SAAgB,MAAM,aAIpB;IAEF,SAAgB,IAAI,oEAA8D;IAClF,SAAgB,OAAO,mDAA4B;IACnD,SAAgB,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAEV;IAED,IAAI,cAAc,CAAC,cAAc,EAAE,OAAO,IAAI,CAAC,aAAa,CAAC,cAAc,EAE1E;IAED,IAAI,YAAY,CAAC,YAAY,EAAE,cAAc,GAAG,IAAI,EAEnD;IAED,IAAI,eAAe,CAAC,eAAe,EAAE,OAAO,IAAI,CAAC,cAAc,CAAC,eAAe,EAU9E;IAED,OAAO,CAAC,mBAAmB;IAI3B,OAAO,CAAC,QAAQ;CAGnB;AAED,eAAe,WAAW,CAAC"}
@@ -43,9 +43,12 @@ export declare class SetupContext {
43
43
  contentType?: string | undefined;
44
44
  clientKey?: string | undefined;
45
45
  }, args_0: {
46
+ query?: undefined;
47
+ header?: undefined;
46
48
  path: {
47
49
  balanceAccountId: string;
48
50
  };
51
+ cookie?: undefined;
49
52
  }) => Promise<{
50
53
  data: {
51
54
  currency: string;
@@ -434,6 +437,7 @@ export declare class SetupContext {
434
437
  currency: string;
435
438
  };
436
439
  }) => Promise<{
440
+ aprBasisPoints?: number | undefined;
437
441
  expectedRepaymentPeriodDays: number;
438
442
  feesAmount: {
439
443
  currency: string;
@@ -446,7 +450,6 @@ export declare class SetupContext {
446
450
  id: string;
447
451
  maximumRepaymentPeriodDays?: number | undefined;
448
452
  repaymentRate: number;
449
- aprBasisPoints?: number | undefined;
450
453
  thresholdAmount: {
451
454
  currency: string;
452
455
  value: number;
@@ -472,7 +475,11 @@ export declare class SetupContext {
472
475
  amount: number;
473
476
  currency: string;
474
477
  };
478
+ header?: undefined;
479
+ path?: undefined;
480
+ cookie?: undefined;
475
481
  }) => Promise<{
482
+ aprBasisPoints?: number | undefined;
476
483
  expectedRepaymentPeriodDays: number;
477
484
  feesAmount: {
478
485
  currency: string;
@@ -485,7 +492,6 @@ export declare class SetupContext {
485
492
  id: string;
486
493
  maximumRepaymentPeriodDays?: number | undefined;
487
494
  repaymentRate: number;
488
- aprBasisPoints?: number | undefined;
489
495
  thresholdAmount: {
490
496
  currency: string;
491
497
  value: number;
@@ -544,7 +550,7 @@ export declare class SetupContext {
544
550
  id: string;
545
551
  maximumRepaymentPeriodDays?: number | undefined;
546
552
  missingActions?: {
547
- type: "signToS";
553
+ type: "signToS" | "AnaCredit";
548
554
  }[] | undefined;
549
555
  offerExpiresAt?: string | undefined;
550
556
  remainingFeesAmount: {
@@ -576,10 +582,6 @@ export declare class SetupContext {
576
582
  revocationAccount?: {
577
583
  order: string[];
578
584
  region: string;
579
- accountNumber?: string | undefined;
580
- iban?: string | undefined;
581
- routingNumber?: string | undefined;
582
- sortCode?: string | undefined;
583
585
  } | undefined;
584
586
  status: "Failed" | "Pending" | "Repaid" | "Revoked" | "Active" | "WrittenOff";
585
587
  termEndsAt: string;
@@ -594,10 +596,6 @@ export declare class SetupContext {
594
596
  unscheduledRepaymentAccounts?: {
595
597
  order: string[];
596
598
  region: string;
597
- accountNumber?: string | undefined;
598
- iban?: string | undefined;
599
- routingNumber?: string | undefined;
600
- sortCode?: string | undefined;
601
599
  }[] | undefined;
602
600
  }[];
603
601
  }>) | undefined;
@@ -613,9 +611,12 @@ export declare class SetupContext {
613
611
  contentType?: string | undefined;
614
612
  clientKey?: string | undefined;
615
613
  }, args_0: {
614
+ query?: undefined;
615
+ header?: undefined;
616
616
  path: {
617
617
  grantOfferId: string;
618
618
  };
619
+ cookie?: undefined;
619
620
  }) => Promise<{
620
621
  balanceAccountCode: string;
621
622
  balanceAccountDescription: string;
@@ -631,7 +632,7 @@ export declare class SetupContext {
631
632
  id: string;
632
633
  maximumRepaymentPeriodDays?: number | undefined;
633
634
  missingActions?: {
634
- type: "signToS";
635
+ type: "signToS" | "AnaCredit";
635
636
  }[] | undefined;
636
637
  offerExpiresAt?: string | undefined;
637
638
  remainingFeesAmount: {
@@ -663,10 +664,6 @@ export declare class SetupContext {
663
664
  revocationAccount?: {
664
665
  order: string[];
665
666
  region: string;
666
- accountNumber?: string | undefined;
667
- iban?: string | undefined;
668
- routingNumber?: string | undefined;
669
- sortCode?: string | undefined;
670
667
  } | undefined;
671
668
  status: "Failed" | "Pending" | "Repaid" | "Revoked" | "Active" | "WrittenOff";
672
669
  termEndsAt: string;
@@ -681,10 +678,6 @@ export declare class SetupContext {
681
678
  unscheduledRepaymentAccounts?: {
682
679
  order: string[];
683
680
  region: string;
684
- accountNumber?: string | undefined;
685
- iban?: string | undefined;
686
- routingNumber?: string | undefined;
687
- sortCode?: string | undefined;
688
681
  }[] | undefined;
689
682
  }>) | undefined;
690
683
  signToSActionDetails?: ((options: {
@@ -703,6 +696,31 @@ export declare class SetupContext {
703
696
  redirectUrl: string;
704
697
  locale: string;
705
698
  };
699
+ header?: undefined;
700
+ path?: undefined;
701
+ cookie?: undefined;
702
+ }) => Promise<{
703
+ url: string;
704
+ }>) | undefined;
705
+ anaCreditActionDetails?: ((options: {
706
+ body?: any;
707
+ signal?: AbortSignal | undefined;
708
+ headers?: HeadersInit | undefined;
709
+ origin?: string | undefined;
710
+ accept?: string | undefined;
711
+ errorMessage?: string | undefined;
712
+ errorLevel?: import("../../Http/types").ErrorLevel | undefined;
713
+ errorHandler?: ((response: any) => any) | undefined;
714
+ contentType?: string | undefined;
715
+ clientKey?: string | undefined;
716
+ }, args_0: {
717
+ query: {
718
+ redirectUrl: string;
719
+ locale: string;
720
+ };
721
+ header?: undefined;
722
+ path?: undefined;
723
+ cookie?: undefined;
706
724
  }) => Promise<{
707
725
  url: string;
708
726
  }>) | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"SetupContext.d.ts","sourceRoot":"","sources":["../../../../../src/core/ConfigContext/session/SetupContext.ts"],"names":[],"mappings":"AAAA,OAAO,IAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEZ;IAED,IAAI,WAAW,2EAEd;IAED,OAAO,CAAC,mBAAmB;IAU3B,OAAO,CAAC,kBAAkB;IA4B1B,OAAO,CAAC,eAAe;IAevB,OAAO,CAAC,eAAe;CAK1B;AAED,eAAe,YAAY,CAAC"}
@@ -7,6 +7,12 @@ import type { DeepReadonly, Promised } from '../../utils/types';
7
7
  export type _Params<T extends Record<string, any>> = T['parameters'];
8
8
  type _ExcludedHttpOptions = 'loadingContext' | 'path' | 'method' | 'params';
9
9
  type _SetupHttpOptions = Omit<HttpOptions, _ExcludedHttpOptions>;
10
+ type IsEmptyParameters<T> = T extends {
11
+ query?: never;
12
+ header?: never;
13
+ path?: never;
14
+ cookie?: never;
15
+ } ? true : false;
10
16
  export type _HasParameter<Parameter extends keyof any, T> = Parameter extends keyof T ? true : false;
11
17
  export type _RequiresParameter<T> = _HasParameter<'parameters', T>;
12
18
  type WithNeverBody = {
@@ -25,7 +31,7 @@ type RequestBodyContent<Path extends keyof EndpointsOperations> = EndpointsOpera
25
31
  };
26
32
  } ? Content : never;
27
33
  type RequestBodyTypes<Path extends keyof EndpointsOperations> = RequestBodyContent<Path> extends never ? undefined : RequestBodyContent<Path>[keyof RequestBodyContent<Path>];
28
- type ParametersIfRequired<Endpoint extends EndpointName> = _RequiresParameter<EndpointsOperations[Endpoint]> extends true ? [_Params<EndpointsOperations[Endpoint]>] : [];
34
+ type ParametersIfRequired<Endpoint extends EndpointName> = _RequiresParameter<EndpointsOperations[Endpoint]> extends true ? IsEmptyParameters<EndpointsOperations[Endpoint]['parameters']> extends true ? [] : [_Params<EndpointsOperations[Endpoint]>] : [];
29
35
  type RequestBodyIfRequired<Endpoint extends EndpointName> = _RequiresRequestBody<EndpointsOperations[Endpoint]> extends true ? [RequestBodyTypes<Endpoint>] : [];
30
36
  type _EndpointHttpCallable<Endpoint extends EndpointName> = (options: _RequiresRequestBody<EndpointsOperations[Endpoint]> extends true ? _SetupHttpOptions & {
31
37
  contentType: ContentTypes<EndpointsOperations[Endpoint]>;