@valiantys/atlassian-app-frontend 3.0.0-alpha-10 → 3.0.0-alpha-11

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 (43) hide show
  1. package/atlassian/jira/shared/data-access-issue/src/lib/jira-issue-service/index.cjs.js +1 -1
  2. package/atlassian/jira/shared/data-access-issue/src/lib/jira-issue-service/index.es.js +21 -18
  3. package/atlassian/shared/data-access-atlassian-product-fetch-oauth/src/lib/atlassian-oauth-fetch/index.cjs.js +1 -1
  4. package/atlassian/shared/data-access-atlassian-product-fetch-oauth/src/lib/atlassian-oauth-fetch/index.es.js +51 -29
  5. package/atlassian/shared/data-access-atlassian-product-fetch-oauth/src/lib/route/index.cjs.js +1 -1
  6. package/atlassian/shared/data-access-atlassian-product-fetch-oauth/src/lib/route/index.es.js +28 -17
  7. package/atlassian/shared/frontend-feature-atlassian-app/src/lib/standalone/atlassian-app-standalone/index.cjs.js +1 -1
  8. package/atlassian/shared/frontend-feature-atlassian-app/src/lib/standalone/atlassian-app-standalone/index.es.js +93 -84
  9. package/atlassian/shared/frontend-feature-oauth-login/src/lib/feature-oauth/index.cjs.js +1 -1
  10. package/atlassian/shared/frontend-feature-oauth-login/src/lib/feature-oauth/index.es.js +58 -66
  11. package/atlassian/shared/frontend-feature-oauth-login/src/lib/oauth-routes/index.cjs.js +1 -0
  12. package/atlassian/shared/frontend-feature-oauth-login/src/lib/oauth-routes/index.es.js +51 -0
  13. package/atlassian/shared/frontend-ui-page-loading-view/src/lib/page-loading-view/index.cjs.js +1 -1
  14. package/atlassian/shared/frontend-ui-page-loading-view/src/lib/page-loading-view/index.es.js +1 -1
  15. package/atlassian-app/index.d.ts +1 -0
  16. package/atlassian-app-standalone/atlassian-app-frontend-atlassian-app-standalone.api.json +29 -2
  17. package/atlassian-app-standalone/atlassian-app-frontend.api.md +3 -1
  18. package/atlassian-app-standalone/index.d.ts +3 -1
  19. package/data-access-atlassian-product-fetch-oauth/atlassian-app-frontend-data-access-atlassian-product-fetch-oauth.api.json +241 -2
  20. package/data-access-atlassian-product-fetch-oauth/atlassian-app-frontend.api.md +17 -1
  21. package/data-access-atlassian-product-fetch-oauth/index.cjs.js +1 -1
  22. package/data-access-atlassian-product-fetch-oauth/index.d.ts +11 -1
  23. package/data-access-atlassian-product-fetch-oauth/index.es.js +9 -7
  24. package/data-access-issue/atlassian-app-frontend-data-access-issue.api.json +128 -9
  25. package/data-access-issue/atlassian-app-frontend.api.md +7 -5
  26. package/data-access-issue/index.d.ts +27 -11
  27. package/package.json +1 -1
  28. package/shared/util-fetch/src/lib/shared-util-fetch/index.cjs.js +2 -2
  29. package/shared/util-fetch/src/lib/shared-util-fetch/index.es.js +25 -24
  30. package/ui-oauth-login/atlassian-app-frontend-ui-oauth-login.api.json +340 -0
  31. package/ui-oauth-login/atlassian-app-frontend.api.md +29 -0
  32. package/ui-oauth-login/index.cjs.js +1 -1
  33. package/ui-oauth-login/index.d.ts +23 -0
  34. package/ui-oauth-login/index.es.js +7 -3
  35. package/ui-page-loading-view/atlassian-app-frontend-ui-page-loading-view.api.json +10 -5
  36. package/ui-page-loading-view/atlassian-app-frontend.api.md +2 -2
  37. package/ui-page-loading-view/index.d.ts +2 -2
  38. package/util-atlassian-product-fetch/atlassian-app-frontend-util-atlassian-product-fetch.api.json +97 -2
  39. package/util-atlassian-product-fetch/atlassian-app-frontend.api.md +9 -1
  40. package/util-atlassian-product-fetch/index.d.ts +6 -1
  41. package/util-jira-v3-api/atlassian-app-frontend-util-jira-v3-api.api.json +395 -78
  42. package/util-jira-v3-api/atlassian-app-frontend.api.md +47 -19
  43. package/util-jira-v3-api/index.d.ts +33 -14
@@ -322,6 +322,33 @@
322
322
  "name": "OAuthProviderProps",
323
323
  "preserveMemberOrder": false,
324
324
  "members": [
325
+ {
326
+ "kind": "PropertySignature",
327
+ "canonicalReference": "@valiantys/atlassian-app-frontend!OAuthProviderProps#appBaseContext:member",
328
+ "docComment": "",
329
+ "excerptTokens": [
330
+ {
331
+ "kind": "Content",
332
+ "text": "appBaseContext?: "
333
+ },
334
+ {
335
+ "kind": "Content",
336
+ "text": "string"
337
+ },
338
+ {
339
+ "kind": "Content",
340
+ "text": ";"
341
+ }
342
+ ],
343
+ "isReadonly": false,
344
+ "isOptional": true,
345
+ "releaseTag": "Public",
346
+ "name": "appBaseContext",
347
+ "propertyTypeTokenRange": {
348
+ "startIndex": 1,
349
+ "endIndex": 2
350
+ }
351
+ },
325
352
  {
326
353
  "kind": "PropertySignature",
327
354
  "canonicalReference": "@valiantys/atlassian-app-frontend!OAuthProviderProps#appName:member",
@@ -438,6 +465,319 @@
438
465
  ],
439
466
  "extendsTokenRanges": []
440
467
  },
468
+ {
469
+ "kind": "Function",
470
+ "canonicalReference": "@valiantys/atlassian-app-frontend!OAuthRedirectLogin:function(1)",
471
+ "docComment": "",
472
+ "excerptTokens": [
473
+ {
474
+ "kind": "Content",
475
+ "text": "export declare function OAuthRedirectLogin(props: "
476
+ },
477
+ {
478
+ "kind": "Reference",
479
+ "text": "Readonly",
480
+ "canonicalReference": "!Readonly:type"
481
+ },
482
+ {
483
+ "kind": "Content",
484
+ "text": "<"
485
+ },
486
+ {
487
+ "kind": "Reference",
488
+ "text": "OAuthRedirectLoginProps",
489
+ "canonicalReference": "@valiantys/atlassian-app-frontend!~OAuthRedirectLoginProps:interface"
490
+ },
491
+ {
492
+ "kind": "Content",
493
+ "text": ">"
494
+ },
495
+ {
496
+ "kind": "Content",
497
+ "text": "): "
498
+ },
499
+ {
500
+ "kind": "Content",
501
+ "text": "import(\"react/jsx-runtime\")."
502
+ },
503
+ {
504
+ "kind": "Reference",
505
+ "text": "JSX.Element",
506
+ "canonicalReference": "@types/react!JSX.Element:interface"
507
+ },
508
+ {
509
+ "kind": "Content",
510
+ "text": ";"
511
+ }
512
+ ],
513
+ "fileUrlPath": "../../shared/frontend-feature-oauth-login/src/lib/ui-oauth-redirect-login.d.ts",
514
+ "returnTypeTokenRange": {
515
+ "startIndex": 6,
516
+ "endIndex": 8
517
+ },
518
+ "releaseTag": "Public",
519
+ "overloadIndex": 1,
520
+ "parameters": [
521
+ {
522
+ "parameterName": "props",
523
+ "parameterTypeTokenRange": {
524
+ "startIndex": 1,
525
+ "endIndex": 5
526
+ },
527
+ "isOptional": false
528
+ }
529
+ ],
530
+ "name": "OAuthRedirectLogin"
531
+ },
532
+ {
533
+ "kind": "Function",
534
+ "canonicalReference": "@valiantys/atlassian-app-frontend!OAuthRoutes:function(1)",
535
+ "docComment": "",
536
+ "excerptTokens": [
537
+ {
538
+ "kind": "Content",
539
+ "text": "export declare function OAuthRoutes({ codeTokenExchangeUrl, clientId, oAuthScopes, redirectUri, callbackPath, setAuth, }: "
540
+ },
541
+ {
542
+ "kind": "Reference",
543
+ "text": "Readonly",
544
+ "canonicalReference": "!Readonly:type"
545
+ },
546
+ {
547
+ "kind": "Content",
548
+ "text": "<"
549
+ },
550
+ {
551
+ "kind": "Reference",
552
+ "text": "OAuthRoutesProps",
553
+ "canonicalReference": "@valiantys/atlassian-app-frontend!OAuthRoutesProps:interface"
554
+ },
555
+ {
556
+ "kind": "Content",
557
+ "text": ">"
558
+ },
559
+ {
560
+ "kind": "Content",
561
+ "text": "): "
562
+ },
563
+ {
564
+ "kind": "Content",
565
+ "text": "import(\"react/jsx-runtime\")."
566
+ },
567
+ {
568
+ "kind": "Reference",
569
+ "text": "JSX.Element",
570
+ "canonicalReference": "@types/react!JSX.Element:interface"
571
+ },
572
+ {
573
+ "kind": "Content",
574
+ "text": ";"
575
+ }
576
+ ],
577
+ "fileUrlPath": "../../shared/frontend-feature-oauth-login/src/lib/oauth-routes.d.ts",
578
+ "returnTypeTokenRange": {
579
+ "startIndex": 6,
580
+ "endIndex": 8
581
+ },
582
+ "releaseTag": "Public",
583
+ "overloadIndex": 1,
584
+ "parameters": [
585
+ {
586
+ "parameterName": "{ codeTokenExchangeUrl, clientId, oAuthScopes, redirectUri, callbackPath, setAuth, }",
587
+ "parameterTypeTokenRange": {
588
+ "startIndex": 1,
589
+ "endIndex": 5
590
+ },
591
+ "isOptional": false
592
+ }
593
+ ],
594
+ "name": "OAuthRoutes"
595
+ },
596
+ {
597
+ "kind": "Interface",
598
+ "canonicalReference": "@valiantys/atlassian-app-frontend!OAuthRoutesProps:interface",
599
+ "docComment": "",
600
+ "excerptTokens": [
601
+ {
602
+ "kind": "Content",
603
+ "text": "export interface OAuthRoutesProps "
604
+ }
605
+ ],
606
+ "fileUrlPath": "../../shared/frontend-feature-oauth-login/src/lib/oauth-routes.d.ts",
607
+ "releaseTag": "Public",
608
+ "name": "OAuthRoutesProps",
609
+ "preserveMemberOrder": false,
610
+ "members": [
611
+ {
612
+ "kind": "PropertySignature",
613
+ "canonicalReference": "@valiantys/atlassian-app-frontend!OAuthRoutesProps#callbackPath:member",
614
+ "docComment": "",
615
+ "excerptTokens": [
616
+ {
617
+ "kind": "Content",
618
+ "text": "callbackPath: "
619
+ },
620
+ {
621
+ "kind": "Content",
622
+ "text": "string"
623
+ },
624
+ {
625
+ "kind": "Content",
626
+ "text": ";"
627
+ }
628
+ ],
629
+ "isReadonly": false,
630
+ "isOptional": false,
631
+ "releaseTag": "Public",
632
+ "name": "callbackPath",
633
+ "propertyTypeTokenRange": {
634
+ "startIndex": 1,
635
+ "endIndex": 2
636
+ }
637
+ },
638
+ {
639
+ "kind": "PropertySignature",
640
+ "canonicalReference": "@valiantys/atlassian-app-frontend!OAuthRoutesProps#clientId:member",
641
+ "docComment": "",
642
+ "excerptTokens": [
643
+ {
644
+ "kind": "Content",
645
+ "text": "clientId: "
646
+ },
647
+ {
648
+ "kind": "Content",
649
+ "text": "string"
650
+ },
651
+ {
652
+ "kind": "Content",
653
+ "text": ";"
654
+ }
655
+ ],
656
+ "isReadonly": false,
657
+ "isOptional": false,
658
+ "releaseTag": "Public",
659
+ "name": "clientId",
660
+ "propertyTypeTokenRange": {
661
+ "startIndex": 1,
662
+ "endIndex": 2
663
+ }
664
+ },
665
+ {
666
+ "kind": "PropertySignature",
667
+ "canonicalReference": "@valiantys/atlassian-app-frontend!OAuthRoutesProps#codeTokenExchangeUrl:member",
668
+ "docComment": "",
669
+ "excerptTokens": [
670
+ {
671
+ "kind": "Content",
672
+ "text": "codeTokenExchangeUrl: "
673
+ },
674
+ {
675
+ "kind": "Content",
676
+ "text": "string"
677
+ },
678
+ {
679
+ "kind": "Content",
680
+ "text": ";"
681
+ }
682
+ ],
683
+ "isReadonly": false,
684
+ "isOptional": false,
685
+ "releaseTag": "Public",
686
+ "name": "codeTokenExchangeUrl",
687
+ "propertyTypeTokenRange": {
688
+ "startIndex": 1,
689
+ "endIndex": 2
690
+ }
691
+ },
692
+ {
693
+ "kind": "PropertySignature",
694
+ "canonicalReference": "@valiantys/atlassian-app-frontend!OAuthRoutesProps#oAuthScopes:member",
695
+ "docComment": "",
696
+ "excerptTokens": [
697
+ {
698
+ "kind": "Content",
699
+ "text": "oAuthScopes: "
700
+ },
701
+ {
702
+ "kind": "Reference",
703
+ "text": "AtlassianOAuthScopes",
704
+ "canonicalReference": "@valiantys/atlassian-app-frontend!AtlassianOAuthScopes:type"
705
+ },
706
+ {
707
+ "kind": "Content",
708
+ "text": "[]"
709
+ },
710
+ {
711
+ "kind": "Content",
712
+ "text": ";"
713
+ }
714
+ ],
715
+ "isReadonly": false,
716
+ "isOptional": false,
717
+ "releaseTag": "Public",
718
+ "name": "oAuthScopes",
719
+ "propertyTypeTokenRange": {
720
+ "startIndex": 1,
721
+ "endIndex": 3
722
+ }
723
+ },
724
+ {
725
+ "kind": "PropertySignature",
726
+ "canonicalReference": "@valiantys/atlassian-app-frontend!OAuthRoutesProps#redirectUri:member",
727
+ "docComment": "",
728
+ "excerptTokens": [
729
+ {
730
+ "kind": "Content",
731
+ "text": "redirectUri: "
732
+ },
733
+ {
734
+ "kind": "Content",
735
+ "text": "string"
736
+ },
737
+ {
738
+ "kind": "Content",
739
+ "text": ";"
740
+ }
741
+ ],
742
+ "isReadonly": false,
743
+ "isOptional": false,
744
+ "releaseTag": "Public",
745
+ "name": "redirectUri",
746
+ "propertyTypeTokenRange": {
747
+ "startIndex": 1,
748
+ "endIndex": 2
749
+ }
750
+ },
751
+ {
752
+ "kind": "PropertySignature",
753
+ "canonicalReference": "@valiantys/atlassian-app-frontend!OAuthRoutesProps#setAuth:member",
754
+ "docComment": "",
755
+ "excerptTokens": [
756
+ {
757
+ "kind": "Content",
758
+ "text": "setAuth: "
759
+ },
760
+ {
761
+ "kind": "Content",
762
+ "text": "(auth: {\n token: string;\n expiresAt: number;\n }) => void"
763
+ },
764
+ {
765
+ "kind": "Content",
766
+ "text": ";"
767
+ }
768
+ ],
769
+ "isReadonly": false,
770
+ "isOptional": false,
771
+ "releaseTag": "Public",
772
+ "name": "setAuth",
773
+ "propertyTypeTokenRange": {
774
+ "startIndex": 1,
775
+ "endIndex": 2
776
+ }
777
+ }
778
+ ],
779
+ "extendsTokenRanges": []
780
+ },
441
781
  {
442
782
  "kind": "Function",
443
783
  "canonicalReference": "@valiantys/atlassian-app-frontend!useOAuth:function(1)",
@@ -21,6 +21,8 @@ export function OAuthProvider({ children, ...config }: PropsWithChildren<OAuthPr
21
21
 
22
22
  // @public (undocumented)
23
23
  export interface OAuthProviderProps {
24
+ // (undocumented)
25
+ appBaseContext?: string;
24
26
  appName: string;
25
27
  // (undocumented)
26
28
  clientId: string;
@@ -30,6 +32,33 @@ export interface OAuthProviderProps {
30
32
  oAuthScopes: AtlassianOAuthScopes[];
31
33
  }
32
34
 
35
+ // Warning: (ae-forgotten-export) The symbol "OAuthRedirectLoginProps" needs to be exported by the entry point ui-oauth-login.d.ts
36
+ //
37
+ // @public (undocumented)
38
+ export function OAuthRedirectLogin(props: Readonly<OAuthRedirectLoginProps>): JSX_2.Element;
39
+
40
+ // @public (undocumented)
41
+ export function OAuthRoutes({ codeTokenExchangeUrl, clientId, oAuthScopes, redirectUri, callbackPath, setAuth, }: Readonly<OAuthRoutesProps>): JSX_2.Element;
42
+
43
+ // @public (undocumented)
44
+ export interface OAuthRoutesProps {
45
+ // (undocumented)
46
+ callbackPath: string;
47
+ // (undocumented)
48
+ clientId: string;
49
+ // (undocumented)
50
+ codeTokenExchangeUrl: string;
51
+ // (undocumented)
52
+ oAuthScopes: AtlassianOAuthScopes[];
53
+ // (undocumented)
54
+ redirectUri: string;
55
+ // (undocumented)
56
+ setAuth: (auth: {
57
+ token: string;
58
+ expiresAt: number;
59
+ }) => void;
60
+ }
61
+
33
62
  // @public (undocumented)
34
63
  export const useOAuth: () => OAuth;
35
64
 
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../atlassian/shared/frontend-feature-oauth-login/src/lib/feature-oauth/index.cjs.js");exports.OAuthProvider=e.OAuthProvider;exports.useOAuth=e.useOAuth;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../atlassian/shared/frontend-feature-oauth-login/src/lib/feature-oauth/index.cjs.js"),t=require("../atlassian/shared/frontend-feature-oauth-login/src/lib/oauth-routes/index.cjs.js"),u=require("../atlassian/shared/frontend-feature-oauth-login/src/lib/ui-oauth-redirect-login/index.cjs.js");exports.OAuthProvider=e.OAuthProvider;exports.useOAuth=e.useOAuth;exports.OAuthRoutes=t.OAuthRoutes;exports.OAuthRedirectLogin=u.OAuthRedirectLogin;
@@ -12,6 +12,7 @@ export declare function OAuthProvider({ children, ...config }: PropsWithChildren
12
12
  export declare interface OAuthProviderProps {
13
13
  clientId: string;
14
14
  codeTokenExchangeUrl: string;
15
+ appBaseContext?: string;
15
16
  /**
16
17
  * OAuth App Name
17
18
  */
@@ -19,6 +20,28 @@ export declare interface OAuthProviderProps {
19
20
  oAuthScopes: AtlassianOAuthScopes[];
20
21
  }
21
22
 
23
+ export declare function OAuthRedirectLogin(props: Readonly<OAuthRedirectLoginProps>): JSX_2.Element;
24
+
25
+ declare interface OAuthRedirectLoginProps {
26
+ clientId: string;
27
+ redirectUri: string;
28
+ oAuthScopes: AtlassianOAuthScopes[];
29
+ }
30
+
31
+ export declare function OAuthRoutes({ codeTokenExchangeUrl, clientId, oAuthScopes, redirectUri, callbackPath, setAuth, }: Readonly<OAuthRoutesProps>): JSX_2.Element;
32
+
33
+ export declare interface OAuthRoutesProps {
34
+ codeTokenExchangeUrl: string;
35
+ clientId: string;
36
+ oAuthScopes: AtlassianOAuthScopes[];
37
+ redirectUri: string;
38
+ callbackPath: string;
39
+ setAuth: (auth: {
40
+ token: string;
41
+ expiresAt: number;
42
+ }) => void;
43
+ }
44
+
22
45
  export declare const useOAuth: () => OAuth;
23
46
 
24
47
  export { }
@@ -1,5 +1,9 @@
1
- import { OAuthProvider as o, useOAuth as t } from "../atlassian/shared/frontend-feature-oauth-login/src/lib/feature-oauth/index.es.js";
1
+ import { OAuthProvider as t, useOAuth as e } from "../atlassian/shared/frontend-feature-oauth-login/src/lib/feature-oauth/index.es.js";
2
+ import { OAuthRoutes as h } from "../atlassian/shared/frontend-feature-oauth-login/src/lib/oauth-routes/index.es.js";
3
+ import { OAuthRedirectLogin as O } from "../atlassian/shared/frontend-feature-oauth-login/src/lib/ui-oauth-redirect-login/index.es.js";
2
4
  export {
3
- o as OAuthProvider,
4
- t as useOAuth
5
+ t as OAuthProvider,
6
+ O as OAuthRedirectLogin,
7
+ h as OAuthRoutes,
8
+ e as useOAuth
5
9
  };
@@ -181,9 +181,14 @@
181
181
  "kind": "Content",
182
182
  "text": "export declare function PageLoadingView({ label, loadingError, labelSize, }: "
183
183
  },
184
+ {
185
+ "kind": "Reference",
186
+ "text": "Readonly",
187
+ "canonicalReference": "!Readonly:type"
188
+ },
184
189
  {
185
190
  "kind": "Content",
186
- "text": "{\n label: string;\n loadingError?: string;\n labelSize?: "
191
+ "text": "<{\n label: string;\n loadingError?: string;\n labelSize?: "
187
192
  },
188
193
  {
189
194
  "kind": "Reference",
@@ -192,7 +197,7 @@
192
197
  },
193
198
  {
194
199
  "kind": "Content",
195
- "text": "['size'];\n}"
200
+ "text": "['size'];\n}>"
196
201
  },
197
202
  {
198
203
  "kind": "Content",
@@ -214,8 +219,8 @@
214
219
  ],
215
220
  "fileUrlPath": "../../shared/frontend-ui-page-loading-view/src/lib/page-loading-view.d.ts",
216
221
  "returnTypeTokenRange": {
217
- "startIndex": 5,
218
- "endIndex": 7
222
+ "startIndex": 6,
223
+ "endIndex": 8
219
224
  },
220
225
  "releaseTag": "Public",
221
226
  "overloadIndex": 1,
@@ -224,7 +229,7 @@
224
229
  "parameterName": "{ label, loadingError, labelSize, }",
225
230
  "parameterTypeTokenRange": {
226
231
  "startIndex": 1,
227
- "endIndex": 4
232
+ "endIndex": 5
228
233
  },
229
234
  "isOptional": false
230
235
  }
@@ -8,11 +8,11 @@ import { HeadingProps } from '@atlaskit/heading';
8
8
  import { JSX as JSX_2 } from 'react/jsx-runtime';
9
9
 
10
10
  // @public (undocumented)
11
- export function PageLoadingView({ label, loadingError, labelSize, }: {
11
+ export function PageLoadingView({ label, loadingError, labelSize, }: Readonly<{
12
12
  label: string;
13
13
  loadingError?: string;
14
14
  labelSize?: HeadingProps['size'];
15
- }): JSX_2.Element;
15
+ }>): JSX_2.Element;
16
16
 
17
17
  // (No @packageDocumentation comment for this package)
18
18
 
@@ -1,10 +1,10 @@
1
1
  import { HeadingProps } from '@atlaskit/heading';
2
2
  import { JSX as JSX_2 } from 'react/jsx-runtime';
3
3
 
4
- export declare function PageLoadingView({ label, loadingError, labelSize, }: {
4
+ export declare function PageLoadingView({ label, loadingError, labelSize, }: Readonly<{
5
5
  label: string;
6
6
  loadingError?: string;
7
7
  labelSize?: HeadingProps['size'];
8
- }): JSX_2.Element;
8
+ }>): JSX_2.Element;
9
9
 
10
10
  export { }
@@ -483,6 +483,84 @@
483
483
  ],
484
484
  "extendsTokenRanges": []
485
485
  },
486
+ {
487
+ "kind": "Interface",
488
+ "canonicalReference": "@valiantys/atlassian-app-frontend!AtlassianProxyFetchRequest:interface",
489
+ "docComment": "",
490
+ "excerptTokens": [
491
+ {
492
+ "kind": "Content",
493
+ "text": "export interface AtlassianProxyFetchRequest "
494
+ }
495
+ ],
496
+ "fileUrlPath": "../../shared/util-atlassian-product-fetch/src/lib/atlassian-product-fetch-service.d.ts",
497
+ "releaseTag": "Public",
498
+ "name": "AtlassianProxyFetchRequest",
499
+ "preserveMemberOrder": false,
500
+ "members": [
501
+ {
502
+ "kind": "PropertySignature",
503
+ "canonicalReference": "@valiantys/atlassian-app-frontend!AtlassianProxyFetchRequest#body:member",
504
+ "docComment": "",
505
+ "excerptTokens": [
506
+ {
507
+ "kind": "Content",
508
+ "text": "body?: "
509
+ },
510
+ {
511
+ "kind": "Reference",
512
+ "text": "Record",
513
+ "canonicalReference": "!Record:type"
514
+ },
515
+ {
516
+ "kind": "Content",
517
+ "text": "<string, any>"
518
+ },
519
+ {
520
+ "kind": "Content",
521
+ "text": ";"
522
+ }
523
+ ],
524
+ "isReadonly": false,
525
+ "isOptional": true,
526
+ "releaseTag": "Public",
527
+ "name": "body",
528
+ "propertyTypeTokenRange": {
529
+ "startIndex": 1,
530
+ "endIndex": 3
531
+ }
532
+ },
533
+ {
534
+ "kind": "PropertySignature",
535
+ "canonicalReference": "@valiantys/atlassian-app-frontend!AtlassianProxyFetchRequest#request:member",
536
+ "docComment": "",
537
+ "excerptTokens": [
538
+ {
539
+ "kind": "Content",
540
+ "text": "request: "
541
+ },
542
+ {
543
+ "kind": "Reference",
544
+ "text": "FetchRequest",
545
+ "canonicalReference": "@valiantys/atlassian-app-frontend!FetchRequest:interface"
546
+ },
547
+ {
548
+ "kind": "Content",
549
+ "text": ";"
550
+ }
551
+ ],
552
+ "isReadonly": false,
553
+ "isOptional": false,
554
+ "releaseTag": "Public",
555
+ "name": "request",
556
+ "propertyTypeTokenRange": {
557
+ "startIndex": 1,
558
+ "endIndex": 2
559
+ }
560
+ }
561
+ ],
562
+ "extendsTokenRanges": []
563
+ },
486
564
  {
487
565
  "kind": "Function",
488
566
  "canonicalReference": "@valiantys/atlassian-app-frontend!bearerAuthFetch:function(1)",
@@ -1213,6 +1291,15 @@
1213
1291
  "kind": "Content",
1214
1292
  "text": "'json' | 'text'"
1215
1293
  },
1294
+ {
1295
+ "kind": "Content",
1296
+ "text": ", includeCredentials?: "
1297
+ },
1298
+ {
1299
+ "kind": "Reference",
1300
+ "text": "RequestCredentials",
1301
+ "canonicalReference": "!RequestCredentials:type"
1302
+ },
1216
1303
  {
1217
1304
  "kind": "Content",
1218
1305
  "text": "): "
@@ -1233,8 +1320,8 @@
1233
1320
  ],
1234
1321
  "fileUrlPath": "../../../shared/util-fetch/src/lib/shared-util-fetch.d.ts",
1235
1322
  "returnTypeTokenRange": {
1236
- "startIndex": 15,
1237
- "endIndex": 17
1323
+ "startIndex": 17,
1324
+ "endIndex": 19
1238
1325
  },
1239
1326
  "releaseTag": "Public",
1240
1327
  "overloadIndex": 1,
@@ -1278,6 +1365,14 @@
1278
1365
  "endIndex": 14
1279
1366
  },
1280
1367
  "isOptional": true
1368
+ },
1369
+ {
1370
+ "parameterName": "includeCredentials",
1371
+ "parameterTypeTokenRange": {
1372
+ "startIndex": 15,
1373
+ "endIndex": 16
1374
+ },
1375
+ "isOptional": true
1281
1376
  }
1282
1377
  ],
1283
1378
  "typeParameters": [
@@ -26,6 +26,14 @@ export interface AtlassianProductFetchService<P extends Product> {
26
26
  route: (template: TemplateStringsArray, ...parameters: (string | number | URLSearchParams | FetchRoute)[]) => FetchRoute;
27
27
  }
28
28
 
29
+ // @public (undocumented)
30
+ export interface AtlassianProxyFetchRequest {
31
+ // (undocumented)
32
+ body?: Record<string, any>;
33
+ // (undocumented)
34
+ request: FetchRequest;
35
+ }
36
+
29
37
  // @public (undocumented)
30
38
  export function bearerAuthFetch<T>(authToken: string, url: string, method: FetchMethod, body?: Record<string, unknown>, responseType?: 'json' | 'text', headers?: Record<string, string>): Promise<T>;
31
39
 
@@ -70,7 +78,7 @@ export type FetchRoute = {
70
78
  export type FetchSignature = <T>(request: FetchRequest, body?: Record<string, any>) => Promise<T>;
71
79
 
72
80
  // @public (undocumented)
73
- export function jsonFetch<T, U = Record<string, unknown>>(url: string, method: FetchMethod, headers?: Record<string, string>, body?: U, responseType?: 'json' | 'text'): Promise<T>;
81
+ export function jsonFetch<T, U = Record<string, unknown>>(url: string, method: FetchMethod, headers?: Record<string, string>, body?: U, responseType?: 'json' | 'text', includeCredentials?: RequestCredentials): Promise<T>;
74
82
 
75
83
  // @public (undocumented)
76
84
  export interface PagedResponseValues<T> {