@readyfor/api-client-readyfor 0.159.0 → 0.160.0-pr920.3f89a1c
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.
- package/dist/{chunk-V5QB4OC6.mjs → chunk-26AIT4IR.mjs} +5 -2
- package/dist/{chunk-PBD3Q73N.mjs → chunk-2DCSZ6HB.mjs} +5 -2
- package/dist/{chunk-YUTANMAX.mjs → chunk-3TEW37V4.mjs} +5 -2
- package/dist/{chunk-OLNRFICC.mjs → chunk-57E7BCJB.mjs} +5 -2
- package/dist/{chunk-TJ3KJSFZ.mjs → chunk-5JGA2UYX.mjs} +9 -2
- package/dist/{chunk-OTZLN7ET.mjs → chunk-63O22APA.mjs} +9 -2
- package/dist/{chunk-SZMA6IO2.mjs → chunk-7BQKLKIU.mjs} +9 -2
- package/dist/{chunk-JCFDKYA3.mjs → chunk-7UWDXJN5.mjs} +9 -2
- package/dist/{chunk-DDO5MUDH.mjs → chunk-7XNG3F3E.mjs} +5 -2
- package/dist/{chunk-FYW3ESHV.mjs → chunk-AIIEQWDY.mjs} +5 -2
- package/dist/{chunk-AERJIQC3.mjs → chunk-BIS2M6GK.mjs} +9 -2
- package/dist/{chunk-TAIAFESF.mjs → chunk-CN7Z24JX.mjs} +5 -2
- package/dist/{chunk-PPWNLDW2.mjs → chunk-DBRZB337.mjs} +5 -2
- package/dist/{chunk-KFXWLBVO.mjs → chunk-DE7ESFGY.mjs} +5 -2
- package/dist/{chunk-KTG3M4GS.mjs → chunk-DYD3GZN6.mjs} +5 -2
- package/dist/{chunk-TI5MB23U.mjs → chunk-ECLKWHIG.mjs} +5 -2
- package/dist/{chunk-DDZL62RP.mjs → chunk-EVPQNVAN.mjs} +5 -2
- package/dist/{chunk-3JKD77I5.mjs → chunk-EXIPP63Y.mjs} +9 -2
- package/dist/{chunk-6PS3RSTU.mjs → chunk-EZI3J4L6.mjs} +5 -2
- package/dist/{chunk-PCXOCMG5.mjs → chunk-FPPMDFIU.mjs} +9 -2
- package/dist/{chunk-BQ76KD2W.mjs → chunk-FZOCDSB2.mjs} +5 -2
- package/dist/{chunk-3ICHSPEQ.mjs → chunk-GZCEQF7U.mjs} +5 -2
- package/dist/{chunk-J7KRFADO.mjs → chunk-HBRJRGQB.mjs} +9 -2
- package/dist/{chunk-VKN53A3U.mjs → chunk-IPQLI24U.mjs} +5 -2
- package/dist/{chunk-UAZNR7IN.mjs → chunk-IX23PP4P.mjs} +5 -2
- package/dist/{chunk-LFS7B4WR.mjs → chunk-JLTIOT3L.mjs} +5 -2
- package/dist/{chunk-5KEVHRCL.mjs → chunk-JP63WZEV.mjs} +5 -2
- package/dist/{chunk-ZP5RJP46.mjs → chunk-JSK7ANX3.mjs} +5 -2
- package/dist/{chunk-WFDJSPID.mjs → chunk-K4SYFZMT.mjs} +9 -2
- package/dist/{chunk-R4MWEKTQ.mjs → chunk-K772TQX3.mjs} +5 -2
- package/dist/{chunk-HARK4RN2.mjs → chunk-KKUVMNKA.mjs} +5 -2
- package/dist/{chunk-AW32IV63.mjs → chunk-L3I5MKYJ.mjs} +5 -2
- package/dist/{chunk-ZHU7KQ6D.mjs → chunk-L57O5VKN.mjs} +9 -2
- package/dist/{chunk-YMPAWORF.mjs → chunk-LDJD6GSX.mjs} +5 -2
- package/dist/{chunk-5CBST54S.mjs → chunk-LU56NLHQ.mjs} +9 -2
- package/dist/{chunk-H5KRF22Z.mjs → chunk-LXYLO4VX.mjs} +5 -2
- package/dist/{chunk-SP3KCH7M.mjs → chunk-M26IISEQ.mjs} +5 -2
- package/dist/{chunk-6KI74EWH.mjs → chunk-MAXUVJLU.mjs} +5 -2
- package/dist/{chunk-3IX2EX57.mjs → chunk-MDXB7STK.mjs} +5 -2
- package/dist/{chunk-UODL6ALM.mjs → chunk-MILAP2NH.mjs} +9 -2
- package/dist/{chunk-7K6Y7H3I.mjs → chunk-O67J6RKI.mjs} +5 -2
- package/dist/{chunk-BRVXKV6P.mjs → chunk-Q4NMXAON.mjs} +9 -2
- package/dist/{chunk-G53BXZR4.mjs → chunk-Q537M72Q.mjs} +5 -2
- package/dist/{chunk-TGGA3V64.mjs → chunk-R56KQORL.mjs} +5 -2
- package/dist/{chunk-YEREQKAB.mjs → chunk-RPSOVBX2.mjs} +9 -2
- package/dist/{chunk-UTHJ3ZNJ.mjs → chunk-T4ZEGIVL.mjs} +9 -2
- package/dist/{chunk-H6JXRQR7.mjs → chunk-VA6XUX3O.mjs} +5 -2
- package/dist/{chunk-2FUWK77J.mjs → chunk-VV73JCS3.mjs} +5 -2
- package/dist/{chunk-FRUZXIIO.mjs → chunk-WPYKO55Y.mjs} +5 -2
- package/dist/{chunk-BCP7J2HM.mjs → chunk-WS5FVT5L.mjs} +9 -2
- package/dist/{chunk-KD7FNHOK.mjs → chunk-XLDYDVHE.mjs} +5 -2
- package/dist/{chunk-VR4RCEJF.mjs → chunk-XTDVDH22.mjs} +5 -2
- package/dist/{chunk-VF6QSTBC.mjs → chunk-YT7ROT6D.mjs} +5 -2
- package/dist/{chunk-4QC5WNJ6.mjs → chunk-ZGSX55GQ.mjs} +5 -2
- package/dist/hooks/index.js +334 -108
- package/dist/hooks/index.mjs +54 -54
- package/dist/hooks/useV1BanksSearch.js +5 -2
- package/dist/hooks/useV1BanksSearch.mjs +1 -1
- package/dist/hooks/useV1BranchesSearch.js +5 -2
- package/dist/hooks/useV1BranchesSearch.mjs +1 -1
- package/dist/hooks/useV1GroupTypes.js +5 -2
- package/dist/hooks/useV1GroupTypes.mjs +1 -1
- package/dist/hooks/useV1MyBulkMessages.js +5 -2
- package/dist/hooks/useV1MyBulkMessages.mjs +1 -1
- package/dist/hooks/useV1MyBulkMessagesBulkMessageId.js +5 -2
- package/dist/hooks/useV1MyBulkMessagesBulkMessageId.mjs +1 -1
- package/dist/hooks/useV1MyBulkMessagesBulkMessageIdToUsers.js +5 -2
- package/dist/hooks/useV1MyBulkMessagesBulkMessageIdToUsers.mjs +1 -1
- package/dist/hooks/useV1MyFundraisingAdminUsersMe.js +5 -2
- package/dist/hooks/useV1MyFundraisingAdminUsersMe.mjs +1 -1
- package/dist/hooks/useV1MyFundraisingAnnouncements.js +5 -2
- package/dist/hooks/useV1MyFundraisingAnnouncements.mjs +1 -1
- package/dist/hooks/useV1MyFundraisingAnnouncementsAnnouncementId.js +5 -2
- package/dist/hooks/useV1MyFundraisingAnnouncementsAnnouncementId.mjs +1 -1
- package/dist/hooks/useV1MyFundraisingAnnouncementsAnnouncementPostableProjects.js +9 -2
- package/dist/hooks/useV1MyFundraisingAnnouncementsAnnouncementPostableProjects.mjs +1 -1
- package/dist/hooks/useV1MyFundraisingBulkMessages.js +5 -2
- package/dist/hooks/useV1MyFundraisingBulkMessages.mjs +1 -1
- package/dist/hooks/useV1MyFundraisingBulkMessagesBulkMessageId.js +5 -2
- package/dist/hooks/useV1MyFundraisingBulkMessagesBulkMessageId.mjs +1 -1
- package/dist/hooks/useV1MyFundraisingBulkMessagesBulkMessageIdSentUsers.js +9 -2
- package/dist/hooks/useV1MyFundraisingBulkMessagesBulkMessageIdSentUsers.mjs +1 -1
- package/dist/hooks/useV1MyFundraisingHeader.js +5 -2
- package/dist/hooks/useV1MyFundraisingHeader.mjs +1 -1
- package/dist/hooks/useV1MyFundraisingMessageRooms.js +5 -2
- package/dist/hooks/useV1MyFundraisingMessageRooms.mjs +1 -1
- package/dist/hooks/useV1MyFundraisingMessageRoomsMessageRoomId.js +5 -2
- package/dist/hooks/useV1MyFundraisingMessageRoomsMessageRoomId.mjs +1 -1
- package/dist/hooks/useV1MyFundraisingMessageRoomsMessageRoomIdMessages.js +9 -2
- package/dist/hooks/useV1MyFundraisingMessageRoomsMessageRoomIdMessages.mjs +1 -1
- package/dist/hooks/useV1MyFundraisingProjects.js +5 -2
- package/dist/hooks/useV1MyFundraisingProjects.mjs +1 -1
- package/dist/hooks/useV1MyFundraisingProjectsProjectId.js +5 -2
- package/dist/hooks/useV1MyFundraisingProjectsProjectId.mjs +1 -1
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnalysis.js +5 -2
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnalysis.mjs +1 -1
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnalysisAchievementPercents.js +9 -2
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnalysisAchievementPercents.mjs +1 -1
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnalysisNumberOfVisitors.js +9 -2
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnalysisNumberOfVisitors.mjs +1 -1
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnnouncements.js +5 -2
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnnouncements.mjs +1 -1
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdEditingProgress.js +9 -2
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdEditingProgress.mjs +1 -1
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdFastPaymentApplication.js +9 -2
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdFastPaymentApplication.mjs +1 -1
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdMonthlyBillingDetails.js +9 -2
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdMonthlyBillingDetails.mjs +1 -1
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdSummary.js +5 -2
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdSummary.mjs +1 -1
- package/dist/hooks/useV1MyMessagesExchangedUsers.js +5 -2
- package/dist/hooks/useV1MyMessagesExchangedUsers.mjs +1 -1
- package/dist/hooks/useV1MyMessagesTree.js +5 -2
- package/dist/hooks/useV1MyMessagesTree.mjs +1 -1
- package/dist/hooks/useV1MyProjectsOwners.js +5 -2
- package/dist/hooks/useV1MyProjectsOwners.mjs +1 -1
- package/dist/hooks/useV1MyProjectsProjectId.js +5 -2
- package/dist/hooks/useV1MyProjectsProjectId.mjs +1 -1
- package/dist/hooks/useV1MyProjectsProjectIdCommissions.js +5 -2
- package/dist/hooks/useV1MyProjectsProjectIdCommissions.mjs +1 -1
- package/dist/hooks/useV1MyProjectsProjectIdConfirmations.js +5 -2
- package/dist/hooks/useV1MyProjectsProjectIdConfirmations.mjs +1 -1
- package/dist/hooks/useV1MyProjectsProjectIdProjectCheckList.js +5 -2
- package/dist/hooks/useV1MyProjectsProjectIdProjectCheckList.mjs +1 -1
- package/dist/hooks/useV1MyProjectsProjectIdProjectFastPaymentApplication.js +9 -2
- package/dist/hooks/useV1MyProjectsProjectIdProjectFastPaymentApplication.mjs +1 -1
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwner.js +5 -2
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwner.mjs +1 -1
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerGroupProjectOwner.js +9 -2
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerGroupProjectOwner.mjs +1 -1
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerGroupProjectOwnerGroupProjectOwnerActivity.js +9 -2
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerGroupProjectOwnerGroupProjectOwnerActivity.mjs +1 -1
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerGroupProjectOwnerGroupProjectOwnerCheckList.js +9 -2
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerGroupProjectOwnerGroupProjectOwnerCheckList.mjs +1 -1
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerOwnerTransferAccount.js +9 -2
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerOwnerTransferAccount.mjs +1 -1
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerOwnerUrls.js +5 -2
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerOwnerUrls.mjs +1 -1
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerPersonalProjectOwner.js +9 -2
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerPersonalProjectOwner.mjs +1 -1
- package/dist/hooks/useV1MyProjectsProjectIdPublicationSchedule.js +5 -2
- package/dist/hooks/useV1MyProjectsProjectIdPublicationSchedule.mjs +1 -1
- package/dist/hooks/useV1MyProjectsProjectIdRewards.js +5 -2
- package/dist/hooks/useV1MyProjectsProjectIdRewards.mjs +1 -1
- package/dist/hooks/useV1MyProjectsProjectIdRewardsRequestsRequestId.js +5 -2
- package/dist/hooks/useV1MyProjectsProjectIdRewardsRequestsRequestId.mjs +1 -1
- package/dist/hooks/useV1MyProjectsProjectIdRewardsRewardId.js +5 -2
- package/dist/hooks/useV1MyProjectsProjectIdRewardsRewardId.mjs +1 -1
- package/dist/hooks/useV1MyProjectsProjectIdStatisticalEventsEditStart.js +9 -2
- package/dist/hooks/useV1MyProjectsProjectIdStatisticalEventsEditStart.mjs +1 -1
- package/dist/hooks/useV1MyProjectsProjectIdSteadyCrowdfundingProjectCheckList.js +9 -2
- package/dist/hooks/useV1MyProjectsProjectIdSteadyCrowdfundingProjectCheckList.mjs +1 -1
- package/dist/hooks/useV1MyProjectsProjectIdUserIdentification.js +5 -2
- package/dist/hooks/useV1MyProjectsProjectIdUserIdentification.mjs +1 -1
- package/dist/hooks/useV1ProjectsProjectIdComments.js +5 -2
- package/dist/hooks/useV1ProjectsProjectIdComments.mjs +1 -1
- package/dist/hooks/useV1ProjectsProjectIdRewards.js +5 -2
- package/dist/hooks/useV1ProjectsProjectIdRewards.mjs +1 -1
- package/dist/hooks/useV1ProjectsProjectIdRewardsForPreview.js +5 -2
- package/dist/hooks/useV1ProjectsProjectIdRewardsForPreview.mjs +1 -1
- package/dist/hooks/useV1ResourcesCommonHeader.js +5 -2
- package/dist/hooks/useV1ResourcesCommonHeader.mjs +1 -1
- package/dist/hooks/useV1Tags.js +5 -2
- package/dist/hooks/useV1Tags.mjs +1 -1
- package/package.json +9 -10
|
@@ -7,15 +7,17 @@ import useSWRImmutable from "swr/immutable";
|
|
|
7
7
|
import useSWRInfinite from "swr/infinite";
|
|
8
8
|
import useSWR from "swr";
|
|
9
9
|
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
+
import { useRequestInit } from "@readyfor/api-client-base/react";
|
|
10
11
|
var v1MyProjectsProjectIdProjectOwnerOwnerUrlsGetFetcher = buildV1MyProjectsProjectIdProjectOwnerOwnerUrlsGetFetcher();
|
|
11
12
|
var useV1MyProjectsProjectIdProjectOwnerOwnerUrls = (path, swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl(
|
|
13
14
|
"/api/v1/my/projects/{project_id}/project_owner/owner_urls",
|
|
14
15
|
path
|
|
15
16
|
);
|
|
17
|
+
const requestInit = useRequestInit();
|
|
16
18
|
const result = useSWR(
|
|
17
19
|
swrConfig?.shouldNotFetch ? null : key,
|
|
18
|
-
buildV1MyProjectsProjectIdProjectOwnerOwnerUrlsGetFetcher(),
|
|
20
|
+
buildV1MyProjectsProjectIdProjectOwnerOwnerUrlsGetFetcher(requestInit),
|
|
19
21
|
swrConfig
|
|
20
22
|
);
|
|
21
23
|
return { key, ...result };
|
|
@@ -25,9 +27,10 @@ var useV1MyProjectsProjectIdProjectOwnerOwnerUrlsImmutable = (path, swrConfig) =
|
|
|
25
27
|
"/api/v1/my/projects/{project_id}/project_owner/owner_urls",
|
|
26
28
|
path
|
|
27
29
|
);
|
|
30
|
+
const requestInit = useRequestInit();
|
|
28
31
|
const result = useSWRImmutable(
|
|
29
32
|
swrConfig?.shouldNotFetch ? null : key,
|
|
30
|
-
buildV1MyProjectsProjectIdProjectOwnerOwnerUrlsGetFetcher(),
|
|
33
|
+
buildV1MyProjectsProjectIdProjectOwnerOwnerUrlsGetFetcher(requestInit),
|
|
31
34
|
swrConfig
|
|
32
35
|
);
|
|
33
36
|
return { key, ...result };
|
|
@@ -7,21 +7,24 @@ import useSWRImmutable from "swr/immutable";
|
|
|
7
7
|
import useSWRInfinite from "swr/infinite";
|
|
8
8
|
import useSWR from "swr";
|
|
9
9
|
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
+
import { useRequestInit } from "@readyfor/api-client-base/react";
|
|
10
11
|
var v1MyMessagesTreeGetFetcher = buildV1MyMessagesTreeGetFetcher();
|
|
11
12
|
var useV1MyMessagesTree = (query, swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl("/api/v1/my/messages/tree", {}, query);
|
|
14
|
+
const requestInit = useRequestInit();
|
|
13
15
|
const result = useSWR(
|
|
14
16
|
swrConfig?.shouldNotFetch ? null : key,
|
|
15
|
-
buildV1MyMessagesTreeGetFetcher(),
|
|
17
|
+
buildV1MyMessagesTreeGetFetcher(requestInit),
|
|
16
18
|
swrConfig
|
|
17
19
|
);
|
|
18
20
|
return { key, ...result };
|
|
19
21
|
};
|
|
20
22
|
var useV1MyMessagesTreeImmutable = (query, swrConfig) => {
|
|
21
23
|
const key = __internal__requestUrl("/api/v1/my/messages/tree", {}, query);
|
|
24
|
+
const requestInit = useRequestInit();
|
|
22
25
|
const result = useSWRImmutable(
|
|
23
26
|
swrConfig?.shouldNotFetch ? null : key,
|
|
24
|
-
buildV1MyMessagesTreeGetFetcher(),
|
|
27
|
+
buildV1MyMessagesTreeGetFetcher(requestInit),
|
|
25
28
|
swrConfig
|
|
26
29
|
);
|
|
27
30
|
return { key, ...result };
|
|
@@ -7,14 +7,18 @@ import useSWRImmutable from "swr/immutable";
|
|
|
7
7
|
import useSWRInfinite from "swr/infinite";
|
|
8
8
|
import useSWR from "swr";
|
|
9
9
|
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
+
import { useRequestInit } from "@readyfor/api-client-base/react";
|
|
10
11
|
var v1MyFundraisingAnnouncementsAnnouncementPostableProjectsGetFetcher = buildV1MyFundraisingAnnouncementsAnnouncementPostableProjectsGetFetcher();
|
|
11
12
|
var useV1MyFundraisingAnnouncementsAnnouncementPostableProjects = (swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl(
|
|
13
14
|
"/api/v1/my/fundraising/announcements/announcement_postable_projects"
|
|
14
15
|
);
|
|
16
|
+
const requestInit = useRequestInit();
|
|
15
17
|
const result = useSWR(
|
|
16
18
|
swrConfig?.shouldNotFetch ? null : key,
|
|
17
|
-
buildV1MyFundraisingAnnouncementsAnnouncementPostableProjectsGetFetcher(
|
|
19
|
+
buildV1MyFundraisingAnnouncementsAnnouncementPostableProjectsGetFetcher(
|
|
20
|
+
requestInit
|
|
21
|
+
),
|
|
18
22
|
swrConfig
|
|
19
23
|
);
|
|
20
24
|
return { key, ...result };
|
|
@@ -23,9 +27,12 @@ var useV1MyFundraisingAnnouncementsAnnouncementPostableProjectsImmutable = (swrC
|
|
|
23
27
|
const key = __internal__requestUrl(
|
|
24
28
|
"/api/v1/my/fundraising/announcements/announcement_postable_projects"
|
|
25
29
|
);
|
|
30
|
+
const requestInit = useRequestInit();
|
|
26
31
|
const result = useSWRImmutable(
|
|
27
32
|
swrConfig?.shouldNotFetch ? null : key,
|
|
28
|
-
buildV1MyFundraisingAnnouncementsAnnouncementPostableProjectsGetFetcher(
|
|
33
|
+
buildV1MyFundraisingAnnouncementsAnnouncementPostableProjectsGetFetcher(
|
|
34
|
+
requestInit
|
|
35
|
+
),
|
|
29
36
|
swrConfig
|
|
30
37
|
);
|
|
31
38
|
return { key, ...result };
|
|
@@ -7,21 +7,24 @@ import useSWRImmutable from "swr/immutable";
|
|
|
7
7
|
import useSWRInfinite from "swr/infinite";
|
|
8
8
|
import useSWR from "swr";
|
|
9
9
|
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
+
import { useRequestInit } from "@readyfor/api-client-base/react";
|
|
10
11
|
var v1GroupTypesGetFetcher = buildV1GroupTypesGetFetcher();
|
|
11
12
|
var useV1GroupTypes = (swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl("/api/v1/group_types");
|
|
14
|
+
const requestInit = useRequestInit();
|
|
13
15
|
const result = useSWR(
|
|
14
16
|
swrConfig?.shouldNotFetch ? null : key,
|
|
15
|
-
buildV1GroupTypesGetFetcher(),
|
|
17
|
+
buildV1GroupTypesGetFetcher(requestInit),
|
|
16
18
|
swrConfig
|
|
17
19
|
);
|
|
18
20
|
return { key, ...result };
|
|
19
21
|
};
|
|
20
22
|
var useV1GroupTypesImmutable = (swrConfig) => {
|
|
21
23
|
const key = __internal__requestUrl("/api/v1/group_types");
|
|
24
|
+
const requestInit = useRequestInit();
|
|
22
25
|
const result = useSWRImmutable(
|
|
23
26
|
swrConfig?.shouldNotFetch ? null : key,
|
|
24
|
-
buildV1GroupTypesGetFetcher(),
|
|
27
|
+
buildV1GroupTypesGetFetcher(requestInit),
|
|
25
28
|
swrConfig
|
|
26
29
|
);
|
|
27
30
|
return { key, ...result };
|
|
@@ -7,6 +7,7 @@ import useSWRImmutable from "swr/immutable";
|
|
|
7
7
|
import useSWRInfinite from "swr/infinite";
|
|
8
8
|
import useSWR from "swr";
|
|
9
9
|
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
+
import { useRequestInit } from "@readyfor/api-client-base/react";
|
|
10
11
|
var v1MyFundraisingMessageRoomsGetFetcher = buildV1MyFundraisingMessageRoomsGetFetcher();
|
|
11
12
|
var useV1MyFundraisingMessageRooms = (query, swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl(
|
|
@@ -14,9 +15,10 @@ var useV1MyFundraisingMessageRooms = (query, swrConfig) => {
|
|
|
14
15
|
{},
|
|
15
16
|
query
|
|
16
17
|
);
|
|
18
|
+
const requestInit = useRequestInit();
|
|
17
19
|
const result = useSWR(
|
|
18
20
|
swrConfig?.shouldNotFetch ? null : key,
|
|
19
|
-
buildV1MyFundraisingMessageRoomsGetFetcher(),
|
|
21
|
+
buildV1MyFundraisingMessageRoomsGetFetcher(requestInit),
|
|
20
22
|
swrConfig
|
|
21
23
|
);
|
|
22
24
|
return { key, ...result };
|
|
@@ -27,9 +29,10 @@ var useV1MyFundraisingMessageRoomsImmutable = (query, swrConfig) => {
|
|
|
27
29
|
{},
|
|
28
30
|
query
|
|
29
31
|
);
|
|
32
|
+
const requestInit = useRequestInit();
|
|
30
33
|
const result = useSWRImmutable(
|
|
31
34
|
swrConfig?.shouldNotFetch ? null : key,
|
|
32
|
-
buildV1MyFundraisingMessageRoomsGetFetcher(),
|
|
35
|
+
buildV1MyFundraisingMessageRoomsGetFetcher(requestInit),
|
|
33
36
|
swrConfig
|
|
34
37
|
);
|
|
35
38
|
return { key, ...result };
|
|
@@ -7,21 +7,24 @@ import useSWRImmutable from "swr/immutable";
|
|
|
7
7
|
import useSWRInfinite from "swr/infinite";
|
|
8
8
|
import useSWR from "swr";
|
|
9
9
|
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
+
import { useRequestInit } from "@readyfor/api-client-base/react";
|
|
10
11
|
var v1ResourcesCommonHeaderGetFetcher = buildV1ResourcesCommonHeaderGetFetcher();
|
|
11
12
|
var useV1ResourcesCommonHeader = (swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl("/api/v1/resources/common_header");
|
|
14
|
+
const requestInit = useRequestInit();
|
|
13
15
|
const result = useSWR(
|
|
14
16
|
swrConfig?.shouldNotFetch ? null : key,
|
|
15
|
-
buildV1ResourcesCommonHeaderGetFetcher(),
|
|
17
|
+
buildV1ResourcesCommonHeaderGetFetcher(requestInit),
|
|
16
18
|
swrConfig
|
|
17
19
|
);
|
|
18
20
|
return { key, ...result };
|
|
19
21
|
};
|
|
20
22
|
var useV1ResourcesCommonHeaderImmutable = (swrConfig) => {
|
|
21
23
|
const key = __internal__requestUrl("/api/v1/resources/common_header");
|
|
24
|
+
const requestInit = useRequestInit();
|
|
22
25
|
const result = useSWRImmutable(
|
|
23
26
|
swrConfig?.shouldNotFetch ? null : key,
|
|
24
|
-
buildV1ResourcesCommonHeaderGetFetcher(),
|
|
27
|
+
buildV1ResourcesCommonHeaderGetFetcher(requestInit),
|
|
25
28
|
swrConfig
|
|
26
29
|
);
|
|
27
30
|
return { key, ...result };
|
|
@@ -7,21 +7,24 @@ import useSWRImmutable from "swr/immutable";
|
|
|
7
7
|
import useSWRInfinite from "swr/infinite";
|
|
8
8
|
import useSWR from "swr";
|
|
9
9
|
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
+
import { useRequestInit } from "@readyfor/api-client-base/react";
|
|
10
11
|
var v1MyFundraisingHeaderGetFetcher = buildV1MyFundraisingHeaderGetFetcher();
|
|
11
12
|
var useV1MyFundraisingHeader = (swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl("/api/v1/my/fundraising/header");
|
|
14
|
+
const requestInit = useRequestInit();
|
|
13
15
|
const result = useSWR(
|
|
14
16
|
swrConfig?.shouldNotFetch ? null : key,
|
|
15
|
-
buildV1MyFundraisingHeaderGetFetcher(),
|
|
17
|
+
buildV1MyFundraisingHeaderGetFetcher(requestInit),
|
|
16
18
|
swrConfig
|
|
17
19
|
);
|
|
18
20
|
return { key, ...result };
|
|
19
21
|
};
|
|
20
22
|
var useV1MyFundraisingHeaderImmutable = (swrConfig) => {
|
|
21
23
|
const key = __internal__requestUrl("/api/v1/my/fundraising/header");
|
|
24
|
+
const requestInit = useRequestInit();
|
|
22
25
|
const result = useSWRImmutable(
|
|
23
26
|
swrConfig?.shouldNotFetch ? null : key,
|
|
24
|
-
buildV1MyFundraisingHeaderGetFetcher(),
|
|
27
|
+
buildV1MyFundraisingHeaderGetFetcher(requestInit),
|
|
25
28
|
swrConfig
|
|
26
29
|
);
|
|
27
30
|
return { key, ...result };
|
|
@@ -7,15 +7,17 @@ import useSWRImmutable from "swr/immutable";
|
|
|
7
7
|
import useSWRInfinite from "swr/infinite";
|
|
8
8
|
import useSWR from "swr";
|
|
9
9
|
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
+
import { useRequestInit } from "@readyfor/api-client-base/react";
|
|
10
11
|
var v1MyProjectsProjectIdRewardsRequestsRequestIdGetFetcher = buildV1MyProjectsProjectIdRewardsRequestsRequestIdGetFetcher();
|
|
11
12
|
var useV1MyProjectsProjectIdRewardsRequestsRequestId = (path, swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl(
|
|
13
14
|
"/api/v1/my/projects/{project_id}/rewards/requests/{request_id}",
|
|
14
15
|
path
|
|
15
16
|
);
|
|
17
|
+
const requestInit = useRequestInit();
|
|
16
18
|
const result = useSWR(
|
|
17
19
|
swrConfig?.shouldNotFetch ? null : key,
|
|
18
|
-
buildV1MyProjectsProjectIdRewardsRequestsRequestIdGetFetcher(),
|
|
20
|
+
buildV1MyProjectsProjectIdRewardsRequestsRequestIdGetFetcher(requestInit),
|
|
19
21
|
swrConfig
|
|
20
22
|
);
|
|
21
23
|
return { key, ...result };
|
|
@@ -25,9 +27,10 @@ var useV1MyProjectsProjectIdRewardsRequestsRequestIdImmutable = (path, swrConfig
|
|
|
25
27
|
"/api/v1/my/projects/{project_id}/rewards/requests/{request_id}",
|
|
26
28
|
path
|
|
27
29
|
);
|
|
30
|
+
const requestInit = useRequestInit();
|
|
28
31
|
const result = useSWRImmutable(
|
|
29
32
|
swrConfig?.shouldNotFetch ? null : key,
|
|
30
|
-
buildV1MyProjectsProjectIdRewardsRequestsRequestIdGetFetcher(),
|
|
33
|
+
buildV1MyProjectsProjectIdRewardsRequestsRequestIdGetFetcher(requestInit),
|
|
31
34
|
swrConfig
|
|
32
35
|
);
|
|
33
36
|
return { key, ...result };
|
|
@@ -7,15 +7,19 @@ import useSWRImmutable from "swr/immutable";
|
|
|
7
7
|
import useSWRInfinite from "swr/infinite";
|
|
8
8
|
import useSWR from "swr";
|
|
9
9
|
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
+
import { useRequestInit } from "@readyfor/api-client-base/react";
|
|
10
11
|
var v1MyProjectsProjectIdProjectFastPaymentApplicationGetFetcher = buildV1MyProjectsProjectIdProjectFastPaymentApplicationGetFetcher();
|
|
11
12
|
var useV1MyProjectsProjectIdProjectFastPaymentApplication = (path, swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl(
|
|
13
14
|
"/api/v1/my/projects/{project_id}/project_fast_payment_application",
|
|
14
15
|
path
|
|
15
16
|
);
|
|
17
|
+
const requestInit = useRequestInit();
|
|
16
18
|
const result = useSWR(
|
|
17
19
|
swrConfig?.shouldNotFetch ? null : key,
|
|
18
|
-
buildV1MyProjectsProjectIdProjectFastPaymentApplicationGetFetcher(
|
|
20
|
+
buildV1MyProjectsProjectIdProjectFastPaymentApplicationGetFetcher(
|
|
21
|
+
requestInit
|
|
22
|
+
),
|
|
19
23
|
swrConfig
|
|
20
24
|
);
|
|
21
25
|
return { key, ...result };
|
|
@@ -25,9 +29,12 @@ var useV1MyProjectsProjectIdProjectFastPaymentApplicationImmutable = (path, swrC
|
|
|
25
29
|
"/api/v1/my/projects/{project_id}/project_fast_payment_application",
|
|
26
30
|
path
|
|
27
31
|
);
|
|
32
|
+
const requestInit = useRequestInit();
|
|
28
33
|
const result = useSWRImmutable(
|
|
29
34
|
swrConfig?.shouldNotFetch ? null : key,
|
|
30
|
-
buildV1MyProjectsProjectIdProjectFastPaymentApplicationGetFetcher(
|
|
35
|
+
buildV1MyProjectsProjectIdProjectFastPaymentApplicationGetFetcher(
|
|
36
|
+
requestInit
|
|
37
|
+
),
|
|
31
38
|
swrConfig
|
|
32
39
|
);
|
|
33
40
|
return { key, ...result };
|
|
@@ -7,15 +7,17 @@ import useSWRImmutable from "swr/immutable";
|
|
|
7
7
|
import useSWRInfinite from "swr/infinite";
|
|
8
8
|
import useSWR from "swr";
|
|
9
9
|
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
+
import { useRequestInit } from "@readyfor/api-client-base/react";
|
|
10
11
|
var v1MyProjectsProjectIdPublicationScheduleGetFetcher = buildV1MyProjectsProjectIdPublicationScheduleGetFetcher();
|
|
11
12
|
var useV1MyProjectsProjectIdPublicationSchedule = (path, swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl(
|
|
13
14
|
"/api/v1/my/projects/{project_id}/publication_schedule",
|
|
14
15
|
path
|
|
15
16
|
);
|
|
17
|
+
const requestInit = useRequestInit();
|
|
16
18
|
const result = useSWR(
|
|
17
19
|
swrConfig?.shouldNotFetch ? null : key,
|
|
18
|
-
buildV1MyProjectsProjectIdPublicationScheduleGetFetcher(),
|
|
20
|
+
buildV1MyProjectsProjectIdPublicationScheduleGetFetcher(requestInit),
|
|
19
21
|
swrConfig
|
|
20
22
|
);
|
|
21
23
|
return { key, ...result };
|
|
@@ -25,9 +27,10 @@ var useV1MyProjectsProjectIdPublicationScheduleImmutable = (path, swrConfig) =>
|
|
|
25
27
|
"/api/v1/my/projects/{project_id}/publication_schedule",
|
|
26
28
|
path
|
|
27
29
|
);
|
|
30
|
+
const requestInit = useRequestInit();
|
|
28
31
|
const result = useSWRImmutable(
|
|
29
32
|
swrConfig?.shouldNotFetch ? null : key,
|
|
30
|
-
buildV1MyProjectsProjectIdPublicationScheduleGetFetcher(),
|
|
33
|
+
buildV1MyProjectsProjectIdPublicationScheduleGetFetcher(requestInit),
|
|
31
34
|
swrConfig
|
|
32
35
|
);
|
|
33
36
|
return { key, ...result };
|
|
@@ -7,15 +7,17 @@ import useSWRImmutable from "swr/immutable";
|
|
|
7
7
|
import useSWRInfinite from "swr/infinite";
|
|
8
8
|
import useSWR from "swr";
|
|
9
9
|
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
+
import { useRequestInit } from "@readyfor/api-client-base/react";
|
|
10
11
|
var v1MyBulkMessagesBulkMessageIdToUsersGetFetcher = buildV1MyBulkMessagesBulkMessageIdToUsersGetFetcher();
|
|
11
12
|
var useV1MyBulkMessagesBulkMessageIdToUsers = (path, swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl(
|
|
13
14
|
"/api/v1/my/bulk_messages/{bulk_message_id}/to_users",
|
|
14
15
|
path
|
|
15
16
|
);
|
|
17
|
+
const requestInit = useRequestInit();
|
|
16
18
|
const result = useSWR(
|
|
17
19
|
swrConfig?.shouldNotFetch ? null : key,
|
|
18
|
-
buildV1MyBulkMessagesBulkMessageIdToUsersGetFetcher(),
|
|
20
|
+
buildV1MyBulkMessagesBulkMessageIdToUsersGetFetcher(requestInit),
|
|
19
21
|
swrConfig
|
|
20
22
|
);
|
|
21
23
|
return { key, ...result };
|
|
@@ -25,9 +27,10 @@ var useV1MyBulkMessagesBulkMessageIdToUsersImmutable = (path, swrConfig) => {
|
|
|
25
27
|
"/api/v1/my/bulk_messages/{bulk_message_id}/to_users",
|
|
26
28
|
path
|
|
27
29
|
);
|
|
30
|
+
const requestInit = useRequestInit();
|
|
28
31
|
const result = useSWRImmutable(
|
|
29
32
|
swrConfig?.shouldNotFetch ? null : key,
|
|
30
|
-
buildV1MyBulkMessagesBulkMessageIdToUsersGetFetcher(),
|
|
33
|
+
buildV1MyBulkMessagesBulkMessageIdToUsersGetFetcher(requestInit),
|
|
31
34
|
swrConfig
|
|
32
35
|
);
|
|
33
36
|
return { key, ...result };
|
|
@@ -7,21 +7,24 @@ import useSWRImmutable from "swr/immutable";
|
|
|
7
7
|
import useSWRInfinite from "swr/infinite";
|
|
8
8
|
import useSWR from "swr";
|
|
9
9
|
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
+
import { useRequestInit } from "@readyfor/api-client-base/react";
|
|
10
11
|
var v1MyProjectsOwnersGetFetcher = buildV1MyProjectsOwnersGetFetcher();
|
|
11
12
|
var useV1MyProjectsOwners = (swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl("/api/v1/my/projects/owners");
|
|
14
|
+
const requestInit = useRequestInit();
|
|
13
15
|
const result = useSWR(
|
|
14
16
|
swrConfig?.shouldNotFetch ? null : key,
|
|
15
|
-
buildV1MyProjectsOwnersGetFetcher(),
|
|
17
|
+
buildV1MyProjectsOwnersGetFetcher(requestInit),
|
|
16
18
|
swrConfig
|
|
17
19
|
);
|
|
18
20
|
return { key, ...result };
|
|
19
21
|
};
|
|
20
22
|
var useV1MyProjectsOwnersImmutable = (swrConfig) => {
|
|
21
23
|
const key = __internal__requestUrl("/api/v1/my/projects/owners");
|
|
24
|
+
const requestInit = useRequestInit();
|
|
22
25
|
const result = useSWRImmutable(
|
|
23
26
|
swrConfig?.shouldNotFetch ? null : key,
|
|
24
|
-
buildV1MyProjectsOwnersGetFetcher(),
|
|
27
|
+
buildV1MyProjectsOwnersGetFetcher(requestInit),
|
|
25
28
|
swrConfig
|
|
26
29
|
);
|
|
27
30
|
return { key, ...result };
|
|
@@ -7,15 +7,19 @@ import useSWRImmutable from "swr/immutable";
|
|
|
7
7
|
import useSWRInfinite from "swr/infinite";
|
|
8
8
|
import useSWR from "swr";
|
|
9
9
|
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
+
import { useRequestInit } from "@readyfor/api-client-base/react";
|
|
10
11
|
var v1MyFundraisingProjectsProjectIdFastPaymentApplicationGetFetcher = buildV1MyFundraisingProjectsProjectIdFastPaymentApplicationGetFetcher();
|
|
11
12
|
var useV1MyFundraisingProjectsProjectIdFastPaymentApplication = (path, swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl(
|
|
13
14
|
"/api/v1/my/fundraising/projects/{project_id}/fast_payment_application",
|
|
14
15
|
path
|
|
15
16
|
);
|
|
17
|
+
const requestInit = useRequestInit();
|
|
16
18
|
const result = useSWR(
|
|
17
19
|
swrConfig?.shouldNotFetch ? null : key,
|
|
18
|
-
buildV1MyFundraisingProjectsProjectIdFastPaymentApplicationGetFetcher(
|
|
20
|
+
buildV1MyFundraisingProjectsProjectIdFastPaymentApplicationGetFetcher(
|
|
21
|
+
requestInit
|
|
22
|
+
),
|
|
19
23
|
swrConfig
|
|
20
24
|
);
|
|
21
25
|
return { key, ...result };
|
|
@@ -25,9 +29,12 @@ var useV1MyFundraisingProjectsProjectIdFastPaymentApplicationImmutable = (path,
|
|
|
25
29
|
"/api/v1/my/fundraising/projects/{project_id}/fast_payment_application",
|
|
26
30
|
path
|
|
27
31
|
);
|
|
32
|
+
const requestInit = useRequestInit();
|
|
28
33
|
const result = useSWRImmutable(
|
|
29
34
|
swrConfig?.shouldNotFetch ? null : key,
|
|
30
|
-
buildV1MyFundraisingProjectsProjectIdFastPaymentApplicationGetFetcher(
|
|
35
|
+
buildV1MyFundraisingProjectsProjectIdFastPaymentApplicationGetFetcher(
|
|
36
|
+
requestInit
|
|
37
|
+
),
|
|
31
38
|
swrConfig
|
|
32
39
|
);
|
|
33
40
|
return { key, ...result };
|
|
@@ -7,6 +7,7 @@ import useSWRImmutable from "swr/immutable";
|
|
|
7
7
|
import useSWRInfinite from "swr/infinite";
|
|
8
8
|
import useSWR from "swr";
|
|
9
9
|
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
+
import { useRequestInit } from "@readyfor/api-client-base/react";
|
|
10
11
|
var v1ProjectsProjectIdCommentsGetFetcher = buildV1ProjectsProjectIdCommentsGetFetcher();
|
|
11
12
|
var useV1ProjectsProjectIdComments = (path, query, swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl(
|
|
@@ -14,9 +15,10 @@ var useV1ProjectsProjectIdComments = (path, query, swrConfig) => {
|
|
|
14
15
|
path,
|
|
15
16
|
query
|
|
16
17
|
);
|
|
18
|
+
const requestInit = useRequestInit();
|
|
17
19
|
const result = useSWR(
|
|
18
20
|
swrConfig?.shouldNotFetch ? null : key,
|
|
19
|
-
buildV1ProjectsProjectIdCommentsGetFetcher(),
|
|
21
|
+
buildV1ProjectsProjectIdCommentsGetFetcher(requestInit),
|
|
20
22
|
swrConfig
|
|
21
23
|
);
|
|
22
24
|
return { key, ...result };
|
|
@@ -27,9 +29,10 @@ var useV1ProjectsProjectIdCommentsImmutable = (path, query, swrConfig) => {
|
|
|
27
29
|
path,
|
|
28
30
|
query
|
|
29
31
|
);
|
|
32
|
+
const requestInit = useRequestInit();
|
|
30
33
|
const result = useSWRImmutable(
|
|
31
34
|
swrConfig?.shouldNotFetch ? null : key,
|
|
32
|
-
buildV1ProjectsProjectIdCommentsGetFetcher(),
|
|
35
|
+
buildV1ProjectsProjectIdCommentsGetFetcher(requestInit),
|
|
33
36
|
swrConfig
|
|
34
37
|
);
|
|
35
38
|
return { key, ...result };
|
|
@@ -7,15 +7,19 @@ import useSWRImmutable from "swr/immutable";
|
|
|
7
7
|
import useSWRInfinite from "swr/infinite";
|
|
8
8
|
import useSWR from "swr";
|
|
9
9
|
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
+
import { useRequestInit } from "@readyfor/api-client-base/react";
|
|
10
11
|
var v1MyFundraisingProjectsProjectIdEditingProgressGetFetcher = buildV1MyFundraisingProjectsProjectIdEditingProgressGetFetcher();
|
|
11
12
|
var useV1MyFundraisingProjectsProjectIdEditingProgress = (path, swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl(
|
|
13
14
|
"/api/v1/my/fundraising/projects/{project_id}/editing_progress",
|
|
14
15
|
path
|
|
15
16
|
);
|
|
17
|
+
const requestInit = useRequestInit();
|
|
16
18
|
const result = useSWR(
|
|
17
19
|
swrConfig?.shouldNotFetch ? null : key,
|
|
18
|
-
buildV1MyFundraisingProjectsProjectIdEditingProgressGetFetcher(
|
|
20
|
+
buildV1MyFundraisingProjectsProjectIdEditingProgressGetFetcher(
|
|
21
|
+
requestInit
|
|
22
|
+
),
|
|
19
23
|
swrConfig
|
|
20
24
|
);
|
|
21
25
|
return { key, ...result };
|
|
@@ -25,9 +29,12 @@ var useV1MyFundraisingProjectsProjectIdEditingProgressImmutable = (path, swrConf
|
|
|
25
29
|
"/api/v1/my/fundraising/projects/{project_id}/editing_progress",
|
|
26
30
|
path
|
|
27
31
|
);
|
|
32
|
+
const requestInit = useRequestInit();
|
|
28
33
|
const result = useSWRImmutable(
|
|
29
34
|
swrConfig?.shouldNotFetch ? null : key,
|
|
30
|
-
buildV1MyFundraisingProjectsProjectIdEditingProgressGetFetcher(
|
|
35
|
+
buildV1MyFundraisingProjectsProjectIdEditingProgressGetFetcher(
|
|
36
|
+
requestInit
|
|
37
|
+
),
|
|
31
38
|
swrConfig
|
|
32
39
|
);
|
|
33
40
|
return { key, ...result };
|
|
@@ -7,21 +7,24 @@ import useSWRImmutable from "swr/immutable";
|
|
|
7
7
|
import useSWRInfinite from "swr/infinite";
|
|
8
8
|
import useSWR from "swr";
|
|
9
9
|
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
+
import { useRequestInit } from "@readyfor/api-client-base/react";
|
|
10
11
|
var v1BanksSearchGetFetcher = buildV1BanksSearchGetFetcher();
|
|
11
12
|
var useV1BanksSearch = (query, swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl("/api/v1/banks/search", {}, query);
|
|
14
|
+
const requestInit = useRequestInit();
|
|
13
15
|
const result = useSWR(
|
|
14
16
|
swrConfig?.shouldNotFetch ? null : key,
|
|
15
|
-
buildV1BanksSearchGetFetcher(),
|
|
17
|
+
buildV1BanksSearchGetFetcher(requestInit),
|
|
16
18
|
swrConfig
|
|
17
19
|
);
|
|
18
20
|
return { key, ...result };
|
|
19
21
|
};
|
|
20
22
|
var useV1BanksSearchImmutable = (query, swrConfig) => {
|
|
21
23
|
const key = __internal__requestUrl("/api/v1/banks/search", {}, query);
|
|
24
|
+
const requestInit = useRequestInit();
|
|
22
25
|
const result = useSWRImmutable(
|
|
23
26
|
swrConfig?.shouldNotFetch ? null : key,
|
|
24
|
-
buildV1BanksSearchGetFetcher(),
|
|
27
|
+
buildV1BanksSearchGetFetcher(requestInit),
|
|
25
28
|
swrConfig
|
|
26
29
|
);
|
|
27
30
|
return { key, ...result };
|
|
@@ -7,6 +7,7 @@ import useSWRImmutable from "swr/immutable";
|
|
|
7
7
|
import useSWRInfinite from "swr/infinite";
|
|
8
8
|
import useSWR from "swr";
|
|
9
9
|
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
+
import { useRequestInit } from "@readyfor/api-client-base/react";
|
|
10
11
|
var v1MyMessagesExchangedUsersGetFetcher = buildV1MyMessagesExchangedUsersGetFetcher();
|
|
11
12
|
var useV1MyMessagesExchangedUsers = (query, swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl(
|
|
@@ -14,9 +15,10 @@ var useV1MyMessagesExchangedUsers = (query, swrConfig) => {
|
|
|
14
15
|
{},
|
|
15
16
|
query
|
|
16
17
|
);
|
|
18
|
+
const requestInit = useRequestInit();
|
|
17
19
|
const result = useSWR(
|
|
18
20
|
swrConfig?.shouldNotFetch ? null : key,
|
|
19
|
-
buildV1MyMessagesExchangedUsersGetFetcher(),
|
|
21
|
+
buildV1MyMessagesExchangedUsersGetFetcher(requestInit),
|
|
20
22
|
swrConfig
|
|
21
23
|
);
|
|
22
24
|
return { key, ...result };
|
|
@@ -27,9 +29,10 @@ var useV1MyMessagesExchangedUsersImmutable = (query, swrConfig) => {
|
|
|
27
29
|
{},
|
|
28
30
|
query
|
|
29
31
|
);
|
|
32
|
+
const requestInit = useRequestInit();
|
|
30
33
|
const result = useSWRImmutable(
|
|
31
34
|
swrConfig?.shouldNotFetch ? null : key,
|
|
32
|
-
buildV1MyMessagesExchangedUsersGetFetcher(),
|
|
35
|
+
buildV1MyMessagesExchangedUsersGetFetcher(requestInit),
|
|
33
36
|
swrConfig
|
|
34
37
|
);
|
|
35
38
|
return { key, ...result };
|
|
@@ -7,21 +7,24 @@ import useSWRImmutable from "swr/immutable";
|
|
|
7
7
|
import useSWRInfinite from "swr/infinite";
|
|
8
8
|
import useSWR from "swr";
|
|
9
9
|
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
+
import { useRequestInit } from "@readyfor/api-client-base/react";
|
|
10
11
|
var v1MyProjectsProjectIdGetFetcher = buildV1MyProjectsProjectIdGetFetcher();
|
|
11
12
|
var useV1MyProjectsProjectId = (path, swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl("/api/v1/my/projects/{project_id}", path);
|
|
14
|
+
const requestInit = useRequestInit();
|
|
13
15
|
const result = useSWR(
|
|
14
16
|
swrConfig?.shouldNotFetch ? null : key,
|
|
15
|
-
buildV1MyProjectsProjectIdGetFetcher(),
|
|
17
|
+
buildV1MyProjectsProjectIdGetFetcher(requestInit),
|
|
16
18
|
swrConfig
|
|
17
19
|
);
|
|
18
20
|
return { key, ...result };
|
|
19
21
|
};
|
|
20
22
|
var useV1MyProjectsProjectIdImmutable = (path, swrConfig) => {
|
|
21
23
|
const key = __internal__requestUrl("/api/v1/my/projects/{project_id}", path);
|
|
24
|
+
const requestInit = useRequestInit();
|
|
22
25
|
const result = useSWRImmutable(
|
|
23
26
|
swrConfig?.shouldNotFetch ? null : key,
|
|
24
|
-
buildV1MyProjectsProjectIdGetFetcher(),
|
|
27
|
+
buildV1MyProjectsProjectIdGetFetcher(requestInit),
|
|
25
28
|
swrConfig
|
|
26
29
|
);
|
|
27
30
|
return { key, ...result };
|
|
@@ -7,15 +7,17 @@ import useSWRImmutable from "swr/immutable";
|
|
|
7
7
|
import useSWRInfinite from "swr/infinite";
|
|
8
8
|
import useSWR from "swr";
|
|
9
9
|
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
+
import { useRequestInit } from "@readyfor/api-client-base/react";
|
|
10
11
|
var v1MyFundraisingBulkMessagesBulkMessageIdGetFetcher = buildV1MyFundraisingBulkMessagesBulkMessageIdGetFetcher();
|
|
11
12
|
var useV1MyFundraisingBulkMessagesBulkMessageId = (path, swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl(
|
|
13
14
|
"/api/v1/my/fundraising/bulk_messages/{bulk_message_id}",
|
|
14
15
|
path
|
|
15
16
|
);
|
|
17
|
+
const requestInit = useRequestInit();
|
|
16
18
|
const result = useSWR(
|
|
17
19
|
swrConfig?.shouldNotFetch ? null : key,
|
|
18
|
-
buildV1MyFundraisingBulkMessagesBulkMessageIdGetFetcher(),
|
|
20
|
+
buildV1MyFundraisingBulkMessagesBulkMessageIdGetFetcher(requestInit),
|
|
19
21
|
swrConfig
|
|
20
22
|
);
|
|
21
23
|
return { key, ...result };
|
|
@@ -25,9 +27,10 @@ var useV1MyFundraisingBulkMessagesBulkMessageIdImmutable = (path, swrConfig) =>
|
|
|
25
27
|
"/api/v1/my/fundraising/bulk_messages/{bulk_message_id}",
|
|
26
28
|
path
|
|
27
29
|
);
|
|
30
|
+
const requestInit = useRequestInit();
|
|
28
31
|
const result = useSWRImmutable(
|
|
29
32
|
swrConfig?.shouldNotFetch ? null : key,
|
|
30
|
-
buildV1MyFundraisingBulkMessagesBulkMessageIdGetFetcher(),
|
|
33
|
+
buildV1MyFundraisingBulkMessagesBulkMessageIdGetFetcher(requestInit),
|
|
31
34
|
swrConfig
|
|
32
35
|
);
|
|
33
36
|
return { key, ...result };
|
|
@@ -7,15 +7,19 @@ import useSWRImmutable from "swr/immutable";
|
|
|
7
7
|
import useSWRInfinite from "swr/infinite";
|
|
8
8
|
import useSWR from "swr";
|
|
9
9
|
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
+
import { useRequestInit } from "@readyfor/api-client-base/react";
|
|
10
11
|
var v1MyProjectsProjectIdProjectOwnerGroupProjectOwnerGroupProjectOwnerCheckListGetFetcher = buildV1MyProjectsProjectIdProjectOwnerGroupProjectOwnerGroupProjectOwnerCheckListGetFetcher();
|
|
11
12
|
var useV1MyProjectsProjectIdProjectOwnerGroupProjectOwnerGroupProjectOwnerCheckList = (path, swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl(
|
|
13
14
|
"/api/v1/my/projects/{project_id}/project_owner/group_project_owner/group_project_owner_check_list",
|
|
14
15
|
path
|
|
15
16
|
);
|
|
17
|
+
const requestInit = useRequestInit();
|
|
16
18
|
const result = useSWR(
|
|
17
19
|
swrConfig?.shouldNotFetch ? null : key,
|
|
18
|
-
buildV1MyProjectsProjectIdProjectOwnerGroupProjectOwnerGroupProjectOwnerCheckListGetFetcher(
|
|
20
|
+
buildV1MyProjectsProjectIdProjectOwnerGroupProjectOwnerGroupProjectOwnerCheckListGetFetcher(
|
|
21
|
+
requestInit
|
|
22
|
+
),
|
|
19
23
|
swrConfig
|
|
20
24
|
);
|
|
21
25
|
return { key, ...result };
|
|
@@ -25,9 +29,12 @@ var useV1MyProjectsProjectIdProjectOwnerGroupProjectOwnerGroupProjectOwnerCheckL
|
|
|
25
29
|
"/api/v1/my/projects/{project_id}/project_owner/group_project_owner/group_project_owner_check_list",
|
|
26
30
|
path
|
|
27
31
|
);
|
|
32
|
+
const requestInit = useRequestInit();
|
|
28
33
|
const result = useSWRImmutable(
|
|
29
34
|
swrConfig?.shouldNotFetch ? null : key,
|
|
30
|
-
buildV1MyProjectsProjectIdProjectOwnerGroupProjectOwnerGroupProjectOwnerCheckListGetFetcher(
|
|
35
|
+
buildV1MyProjectsProjectIdProjectOwnerGroupProjectOwnerGroupProjectOwnerCheckListGetFetcher(
|
|
36
|
+
requestInit
|
|
37
|
+
),
|
|
31
38
|
swrConfig
|
|
32
39
|
);
|
|
33
40
|
return { key, ...result };
|
|
@@ -7,15 +7,17 @@ import useSWRImmutable from "swr/immutable";
|
|
|
7
7
|
import useSWRInfinite from "swr/infinite";
|
|
8
8
|
import useSWR from "swr";
|
|
9
9
|
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
+
import { useRequestInit } from "@readyfor/api-client-base/react";
|
|
10
11
|
var v1MyFundraisingProjectsProjectIdAnalysisGetFetcher = buildV1MyFundraisingProjectsProjectIdAnalysisGetFetcher();
|
|
11
12
|
var useV1MyFundraisingProjectsProjectIdAnalysis = (path, swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl(
|
|
13
14
|
"/api/v1/my/fundraising/projects/{project_id}/analysis",
|
|
14
15
|
path
|
|
15
16
|
);
|
|
17
|
+
const requestInit = useRequestInit();
|
|
16
18
|
const result = useSWR(
|
|
17
19
|
swrConfig?.shouldNotFetch ? null : key,
|
|
18
|
-
buildV1MyFundraisingProjectsProjectIdAnalysisGetFetcher(),
|
|
20
|
+
buildV1MyFundraisingProjectsProjectIdAnalysisGetFetcher(requestInit),
|
|
19
21
|
swrConfig
|
|
20
22
|
);
|
|
21
23
|
return { key, ...result };
|
|
@@ -25,9 +27,10 @@ var useV1MyFundraisingProjectsProjectIdAnalysisImmutable = (path, swrConfig) =>
|
|
|
25
27
|
"/api/v1/my/fundraising/projects/{project_id}/analysis",
|
|
26
28
|
path
|
|
27
29
|
);
|
|
30
|
+
const requestInit = useRequestInit();
|
|
28
31
|
const result = useSWRImmutable(
|
|
29
32
|
swrConfig?.shouldNotFetch ? null : key,
|
|
30
|
-
buildV1MyFundraisingProjectsProjectIdAnalysisGetFetcher(),
|
|
33
|
+
buildV1MyFundraisingProjectsProjectIdAnalysisGetFetcher(requestInit),
|
|
31
34
|
swrConfig
|
|
32
35
|
);
|
|
33
36
|
return { key, ...result };
|