@readyfor/api-client-readyfor 0.156.0-pr911.d0297b9 → 0.157.0-pr916.931c3b9
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 +3 -3
|
@@ -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 v1MyFundraisingMessageRoomsMessageRoomIdGetFetcher = buildV1MyFundraisingMessageRoomsMessageRoomIdGetFetcher();
|
|
11
12
|
var useV1MyFundraisingMessageRoomsMessageRoomId = (path, swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl(
|
|
13
14
|
"/api/v1/my/fundraising/message_rooms/{message_room_id}",
|
|
14
15
|
path
|
|
15
16
|
);
|
|
17
|
+
const requestInit = useRequestInit();
|
|
16
18
|
const result = useSWR(
|
|
17
19
|
swrConfig?.shouldNotFetch ? null : key,
|
|
18
|
-
buildV1MyFundraisingMessageRoomsMessageRoomIdGetFetcher(),
|
|
20
|
+
buildV1MyFundraisingMessageRoomsMessageRoomIdGetFetcher(requestInit),
|
|
19
21
|
swrConfig
|
|
20
22
|
);
|
|
21
23
|
return { key, ...result };
|
|
@@ -25,9 +27,10 @@ var useV1MyFundraisingMessageRoomsMessageRoomIdImmutable = (path, swrConfig) =>
|
|
|
25
27
|
"/api/v1/my/fundraising/message_rooms/{message_room_id}",
|
|
26
28
|
path
|
|
27
29
|
);
|
|
30
|
+
const requestInit = useRequestInit();
|
|
28
31
|
const result = useSWRImmutable(
|
|
29
32
|
swrConfig?.shouldNotFetch ? null : key,
|
|
30
|
-
buildV1MyFundraisingMessageRoomsMessageRoomIdGetFetcher(),
|
|
33
|
+
buildV1MyFundraisingMessageRoomsMessageRoomIdGetFetcher(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 v1MyFundraisingProjectsProjectIdSummaryGetFetcher = buildV1MyFundraisingProjectsProjectIdSummaryGetFetcher();
|
|
11
12
|
var useV1MyFundraisingProjectsProjectIdSummary = (path, swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl(
|
|
13
14
|
"/api/v1/my/fundraising/projects/{project_id}/summary",
|
|
14
15
|
path
|
|
15
16
|
);
|
|
17
|
+
const requestInit = useRequestInit();
|
|
16
18
|
const result = useSWR(
|
|
17
19
|
swrConfig?.shouldNotFetch ? null : key,
|
|
18
|
-
buildV1MyFundraisingProjectsProjectIdSummaryGetFetcher(),
|
|
20
|
+
buildV1MyFundraisingProjectsProjectIdSummaryGetFetcher(requestInit),
|
|
19
21
|
swrConfig
|
|
20
22
|
);
|
|
21
23
|
return { key, ...result };
|
|
@@ -25,9 +27,10 @@ var useV1MyFundraisingProjectsProjectIdSummaryImmutable = (path, swrConfig) => {
|
|
|
25
27
|
"/api/v1/my/fundraising/projects/{project_id}/summary",
|
|
26
28
|
path
|
|
27
29
|
);
|
|
30
|
+
const requestInit = useRequestInit();
|
|
28
31
|
const result = useSWRImmutable(
|
|
29
32
|
swrConfig?.shouldNotFetch ? null : key,
|
|
30
|
-
buildV1MyFundraisingProjectsProjectIdSummaryGetFetcher(),
|
|
33
|
+
buildV1MyFundraisingProjectsProjectIdSummaryGetFetcher(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 v1MyProjectsProjectIdProjectCheckListGetFetcher = buildV1MyProjectsProjectIdProjectCheckListGetFetcher();
|
|
11
12
|
var useV1MyProjectsProjectIdProjectCheckList = (path, swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl(
|
|
13
14
|
"/api/v1/my/projects/{project_id}/project_check_list",
|
|
14
15
|
path
|
|
15
16
|
);
|
|
17
|
+
const requestInit = useRequestInit();
|
|
16
18
|
const result = useSWR(
|
|
17
19
|
swrConfig?.shouldNotFetch ? null : key,
|
|
18
|
-
buildV1MyProjectsProjectIdProjectCheckListGetFetcher(),
|
|
20
|
+
buildV1MyProjectsProjectIdProjectCheckListGetFetcher(requestInit),
|
|
19
21
|
swrConfig
|
|
20
22
|
);
|
|
21
23
|
return { key, ...result };
|
|
@@ -25,9 +27,10 @@ var useV1MyProjectsProjectIdProjectCheckListImmutable = (path, swrConfig) => {
|
|
|
25
27
|
"/api/v1/my/projects/{project_id}/project_check_list",
|
|
26
28
|
path
|
|
27
29
|
);
|
|
30
|
+
const requestInit = useRequestInit();
|
|
28
31
|
const result = useSWRImmutable(
|
|
29
32
|
swrConfig?.shouldNotFetch ? null : key,
|
|
30
|
-
buildV1MyProjectsProjectIdProjectCheckListGetFetcher(),
|
|
33
|
+
buildV1MyProjectsProjectIdProjectCheckListGetFetcher(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 v1MyProjectsProjectIdProjectOwnerGetFetcher = buildV1MyProjectsProjectIdProjectOwnerGetFetcher();
|
|
11
12
|
var useV1MyProjectsProjectIdProjectOwner = (path, swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl(
|
|
13
14
|
"/api/v1/my/projects/{project_id}/project_owner",
|
|
14
15
|
path
|
|
15
16
|
);
|
|
17
|
+
const requestInit = useRequestInit();
|
|
16
18
|
const result = useSWR(
|
|
17
19
|
swrConfig?.shouldNotFetch ? null : key,
|
|
18
|
-
buildV1MyProjectsProjectIdProjectOwnerGetFetcher(),
|
|
20
|
+
buildV1MyProjectsProjectIdProjectOwnerGetFetcher(requestInit),
|
|
19
21
|
swrConfig
|
|
20
22
|
);
|
|
21
23
|
return { key, ...result };
|
|
@@ -25,9 +27,10 @@ var useV1MyProjectsProjectIdProjectOwnerImmutable = (path, swrConfig) => {
|
|
|
25
27
|
"/api/v1/my/projects/{project_id}/project_owner",
|
|
26
28
|
path
|
|
27
29
|
);
|
|
30
|
+
const requestInit = useRequestInit();
|
|
28
31
|
const result = useSWRImmutable(
|
|
29
32
|
swrConfig?.shouldNotFetch ? null : key,
|
|
30
|
-
buildV1MyProjectsProjectIdProjectOwnerGetFetcher(),
|
|
33
|
+
buildV1MyProjectsProjectIdProjectOwnerGetFetcher(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 v1MyProjectsProjectIdProjectOwnerGroupProjectOwnerGroupProjectOwnerActivityGetFetcher = buildV1MyProjectsProjectIdProjectOwnerGroupProjectOwnerGroupProjectOwnerActivityGetFetcher();
|
|
11
12
|
var useV1MyProjectsProjectIdProjectOwnerGroupProjectOwnerGroupProjectOwnerActivity = (path, swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl(
|
|
13
14
|
"/api/v1/my/projects/{project_id}/project_owner/group_project_owner/group_project_owner_activity",
|
|
14
15
|
path
|
|
15
16
|
);
|
|
17
|
+
const requestInit = useRequestInit();
|
|
16
18
|
const result = useSWR(
|
|
17
19
|
swrConfig?.shouldNotFetch ? null : key,
|
|
18
|
-
buildV1MyProjectsProjectIdProjectOwnerGroupProjectOwnerGroupProjectOwnerActivityGetFetcher(
|
|
20
|
+
buildV1MyProjectsProjectIdProjectOwnerGroupProjectOwnerGroupProjectOwnerActivityGetFetcher(
|
|
21
|
+
requestInit
|
|
22
|
+
),
|
|
19
23
|
swrConfig
|
|
20
24
|
);
|
|
21
25
|
return { key, ...result };
|
|
@@ -25,9 +29,12 @@ var useV1MyProjectsProjectIdProjectOwnerGroupProjectOwnerGroupProjectOwnerActivi
|
|
|
25
29
|
"/api/v1/my/projects/{project_id}/project_owner/group_project_owner/group_project_owner_activity",
|
|
26
30
|
path
|
|
27
31
|
);
|
|
32
|
+
const requestInit = useRequestInit();
|
|
28
33
|
const result = useSWRImmutable(
|
|
29
34
|
swrConfig?.shouldNotFetch ? null : key,
|
|
30
|
-
buildV1MyProjectsProjectIdProjectOwnerGroupProjectOwnerGroupProjectOwnerActivityGetFetcher(
|
|
35
|
+
buildV1MyProjectsProjectIdProjectOwnerGroupProjectOwnerGroupProjectOwnerActivityGetFetcher(
|
|
36
|
+
requestInit
|
|
37
|
+
),
|
|
31
38
|
swrConfig
|
|
32
39
|
);
|
|
33
40
|
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 v1MyFundraisingProjectsProjectIdMonthlyBillingDetailsGetFetcher = buildV1MyFundraisingProjectsProjectIdMonthlyBillingDetailsGetFetcher();
|
|
11
12
|
var useV1MyFundraisingProjectsProjectIdMonthlyBillingDetails = (path, swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl(
|
|
13
14
|
"/api/v1/my/fundraising/projects/{project_id}/monthly_billing_details",
|
|
14
15
|
path
|
|
15
16
|
);
|
|
17
|
+
const requestInit = useRequestInit();
|
|
16
18
|
const result = useSWR(
|
|
17
19
|
swrConfig?.shouldNotFetch ? null : key,
|
|
18
|
-
buildV1MyFundraisingProjectsProjectIdMonthlyBillingDetailsGetFetcher(
|
|
20
|
+
buildV1MyFundraisingProjectsProjectIdMonthlyBillingDetailsGetFetcher(
|
|
21
|
+
requestInit
|
|
22
|
+
),
|
|
19
23
|
swrConfig
|
|
20
24
|
);
|
|
21
25
|
return { key, ...result };
|
|
@@ -25,9 +29,12 @@ var useV1MyFundraisingProjectsProjectIdMonthlyBillingDetailsImmutable = (path, s
|
|
|
25
29
|
"/api/v1/my/fundraising/projects/{project_id}/monthly_billing_details",
|
|
26
30
|
path
|
|
27
31
|
);
|
|
32
|
+
const requestInit = useRequestInit();
|
|
28
33
|
const result = useSWRImmutable(
|
|
29
34
|
swrConfig?.shouldNotFetch ? null : key,
|
|
30
|
-
buildV1MyFundraisingProjectsProjectIdMonthlyBillingDetailsGetFetcher(
|
|
35
|
+
buildV1MyFundraisingProjectsProjectIdMonthlyBillingDetailsGetFetcher(
|
|
36
|
+
requestInit
|
|
37
|
+
),
|
|
31
38
|
swrConfig
|
|
32
39
|
);
|
|
33
40
|
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 v1MyProjectsProjectIdStatisticalEventsEditStartGetFetcher = buildV1MyProjectsProjectIdStatisticalEventsEditStartGetFetcher();
|
|
11
12
|
var useV1MyProjectsProjectIdStatisticalEventsEditStart = (path, swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl(
|
|
13
14
|
"/api/v1/my/projects/{project_id}/statistical_events/edit_start",
|
|
14
15
|
path
|
|
15
16
|
);
|
|
17
|
+
const requestInit = useRequestInit();
|
|
16
18
|
const result = useSWR(
|
|
17
19
|
swrConfig?.shouldNotFetch ? null : key,
|
|
18
|
-
buildV1MyProjectsProjectIdStatisticalEventsEditStartGetFetcher(
|
|
20
|
+
buildV1MyProjectsProjectIdStatisticalEventsEditStartGetFetcher(
|
|
21
|
+
requestInit
|
|
22
|
+
),
|
|
19
23
|
swrConfig
|
|
20
24
|
);
|
|
21
25
|
return { key, ...result };
|
|
@@ -25,9 +29,12 @@ var useV1MyProjectsProjectIdStatisticalEventsEditStartImmutable = (path, swrConf
|
|
|
25
29
|
"/api/v1/my/projects/{project_id}/statistical_events/edit_start",
|
|
26
30
|
path
|
|
27
31
|
);
|
|
32
|
+
const requestInit = useRequestInit();
|
|
28
33
|
const result = useSWRImmutable(
|
|
29
34
|
swrConfig?.shouldNotFetch ? null : key,
|
|
30
|
-
buildV1MyProjectsProjectIdStatisticalEventsEditStartGetFetcher(
|
|
35
|
+
buildV1MyProjectsProjectIdStatisticalEventsEditStartGetFetcher(
|
|
36
|
+
requestInit
|
|
37
|
+
),
|
|
31
38
|
swrConfig
|
|
32
39
|
);
|
|
33
40
|
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 v1MyProjectsProjectIdProjectOwnerPersonalProjectOwnerGetFetcher = buildV1MyProjectsProjectIdProjectOwnerPersonalProjectOwnerGetFetcher();
|
|
11
12
|
var useV1MyProjectsProjectIdProjectOwnerPersonalProjectOwner = (path, swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl(
|
|
13
14
|
"/api/v1/my/projects/{project_id}/project_owner/personal_project_owner",
|
|
14
15
|
path
|
|
15
16
|
);
|
|
17
|
+
const requestInit = useRequestInit();
|
|
16
18
|
const result = useSWR(
|
|
17
19
|
swrConfig?.shouldNotFetch ? null : key,
|
|
18
|
-
buildV1MyProjectsProjectIdProjectOwnerPersonalProjectOwnerGetFetcher(
|
|
20
|
+
buildV1MyProjectsProjectIdProjectOwnerPersonalProjectOwnerGetFetcher(
|
|
21
|
+
requestInit
|
|
22
|
+
),
|
|
19
23
|
swrConfig
|
|
20
24
|
);
|
|
21
25
|
return { key, ...result };
|
|
@@ -25,9 +29,12 @@ var useV1MyProjectsProjectIdProjectOwnerPersonalProjectOwnerImmutable = (path, s
|
|
|
25
29
|
"/api/v1/my/projects/{project_id}/project_owner/personal_project_owner",
|
|
26
30
|
path
|
|
27
31
|
);
|
|
32
|
+
const requestInit = useRequestInit();
|
|
28
33
|
const result = useSWRImmutable(
|
|
29
34
|
swrConfig?.shouldNotFetch ? null : key,
|
|
30
|
-
buildV1MyProjectsProjectIdProjectOwnerPersonalProjectOwnerGetFetcher(
|
|
35
|
+
buildV1MyProjectsProjectIdProjectOwnerPersonalProjectOwnerGetFetcher(
|
|
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 v1MyFundraisingAnnouncementsGetFetcher = buildV1MyFundraisingAnnouncementsGetFetcher();
|
|
11
12
|
var useV1MyFundraisingAnnouncements = (query, swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl(
|
|
@@ -14,9 +15,10 @@ var useV1MyFundraisingAnnouncements = (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
|
-
buildV1MyFundraisingAnnouncementsGetFetcher(),
|
|
21
|
+
buildV1MyFundraisingAnnouncementsGetFetcher(requestInit),
|
|
20
22
|
swrConfig
|
|
21
23
|
);
|
|
22
24
|
return { key, ...result };
|
|
@@ -27,9 +29,10 @@ var useV1MyFundraisingAnnouncementsImmutable = (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
|
-
buildV1MyFundraisingAnnouncementsGetFetcher(),
|
|
35
|
+
buildV1MyFundraisingAnnouncementsGetFetcher(requestInit),
|
|
33
36
|
swrConfig
|
|
34
37
|
);
|
|
35
38
|
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 v1MyFundraisingAnnouncementsAnnouncementIdGetFetcher = buildV1MyFundraisingAnnouncementsAnnouncementIdGetFetcher();
|
|
11
12
|
var useV1MyFundraisingAnnouncementsAnnouncementId = (path, swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl(
|
|
13
14
|
"/api/v1/my/fundraising/announcements/{announcement_id}",
|
|
14
15
|
path
|
|
15
16
|
);
|
|
17
|
+
const requestInit = useRequestInit();
|
|
16
18
|
const result = useSWR(
|
|
17
19
|
swrConfig?.shouldNotFetch ? null : key,
|
|
18
|
-
buildV1MyFundraisingAnnouncementsAnnouncementIdGetFetcher(),
|
|
20
|
+
buildV1MyFundraisingAnnouncementsAnnouncementIdGetFetcher(requestInit),
|
|
19
21
|
swrConfig
|
|
20
22
|
);
|
|
21
23
|
return { key, ...result };
|
|
@@ -25,9 +27,10 @@ var useV1MyFundraisingAnnouncementsAnnouncementIdImmutable = (path, swrConfig) =
|
|
|
25
27
|
"/api/v1/my/fundraising/announcements/{announcement_id}",
|
|
26
28
|
path
|
|
27
29
|
);
|
|
30
|
+
const requestInit = useRequestInit();
|
|
28
31
|
const result = useSWRImmutable(
|
|
29
32
|
swrConfig?.shouldNotFetch ? null : key,
|
|
30
|
-
buildV1MyFundraisingAnnouncementsAnnouncementIdGetFetcher(),
|
|
33
|
+
buildV1MyFundraisingAnnouncementsAnnouncementIdGetFetcher(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 v1MyFundraisingProjectsProjectIdAnalysisNumberOfVisitorsGetFetcher = buildV1MyFundraisingProjectsProjectIdAnalysisNumberOfVisitorsGetFetcher();
|
|
11
12
|
var useV1MyFundraisingProjectsProjectIdAnalysisNumberOfVisitors = (path, swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl(
|
|
13
14
|
"/api/v1/my/fundraising/projects/{project_id}/analysis/number_of_visitors",
|
|
14
15
|
path
|
|
15
16
|
);
|
|
17
|
+
const requestInit = useRequestInit();
|
|
16
18
|
const result = useSWR(
|
|
17
19
|
swrConfig?.shouldNotFetch ? null : key,
|
|
18
|
-
buildV1MyFundraisingProjectsProjectIdAnalysisNumberOfVisitorsGetFetcher(
|
|
20
|
+
buildV1MyFundraisingProjectsProjectIdAnalysisNumberOfVisitorsGetFetcher(
|
|
21
|
+
requestInit
|
|
22
|
+
),
|
|
19
23
|
swrConfig
|
|
20
24
|
);
|
|
21
25
|
return { key, ...result };
|
|
@@ -25,9 +29,12 @@ var useV1MyFundraisingProjectsProjectIdAnalysisNumberOfVisitorsImmutable = (path
|
|
|
25
29
|
"/api/v1/my/fundraising/projects/{project_id}/analysis/number_of_visitors",
|
|
26
30
|
path
|
|
27
31
|
);
|
|
32
|
+
const requestInit = useRequestInit();
|
|
28
33
|
const result = useSWRImmutable(
|
|
29
34
|
swrConfig?.shouldNotFetch ? null : key,
|
|
30
|
-
buildV1MyFundraisingProjectsProjectIdAnalysisNumberOfVisitorsGetFetcher(
|
|
35
|
+
buildV1MyFundraisingProjectsProjectIdAnalysisNumberOfVisitorsGetFetcher(
|
|
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 v1MyProjectsProjectIdUserIdentificationGetFetcher = buildV1MyProjectsProjectIdUserIdentificationGetFetcher();
|
|
11
12
|
var useV1MyProjectsProjectIdUserIdentification = (path, swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl(
|
|
13
14
|
"/api/v1/my/projects/{project_id}/user_identification",
|
|
14
15
|
path
|
|
15
16
|
);
|
|
17
|
+
const requestInit = useRequestInit();
|
|
16
18
|
const result = useSWR(
|
|
17
19
|
swrConfig?.shouldNotFetch ? null : key,
|
|
18
|
-
buildV1MyProjectsProjectIdUserIdentificationGetFetcher(),
|
|
20
|
+
buildV1MyProjectsProjectIdUserIdentificationGetFetcher(requestInit),
|
|
19
21
|
swrConfig
|
|
20
22
|
);
|
|
21
23
|
return { key, ...result };
|
|
@@ -25,9 +27,10 @@ var useV1MyProjectsProjectIdUserIdentificationImmutable = (path, swrConfig) => {
|
|
|
25
27
|
"/api/v1/my/projects/{project_id}/user_identification",
|
|
26
28
|
path
|
|
27
29
|
);
|
|
30
|
+
const requestInit = useRequestInit();
|
|
28
31
|
const result = useSWRImmutable(
|
|
29
32
|
swrConfig?.shouldNotFetch ? null : key,
|
|
30
|
-
buildV1MyProjectsProjectIdUserIdentificationGetFetcher(),
|
|
33
|
+
buildV1MyProjectsProjectIdUserIdentificationGetFetcher(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 v1MyProjectsProjectIdRewardsRewardIdGetFetcher = buildV1MyProjectsProjectIdRewardsRewardIdGetFetcher();
|
|
11
12
|
var useV1MyProjectsProjectIdRewardsRewardId = (path, swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl(
|
|
13
14
|
"/api/v1/my/projects/{project_id}/rewards/{reward_id}",
|
|
14
15
|
path
|
|
15
16
|
);
|
|
17
|
+
const requestInit = useRequestInit();
|
|
16
18
|
const result = useSWR(
|
|
17
19
|
swrConfig?.shouldNotFetch ? null : key,
|
|
18
|
-
buildV1MyProjectsProjectIdRewardsRewardIdGetFetcher(),
|
|
20
|
+
buildV1MyProjectsProjectIdRewardsRewardIdGetFetcher(requestInit),
|
|
19
21
|
swrConfig
|
|
20
22
|
);
|
|
21
23
|
return { key, ...result };
|
|
@@ -25,9 +27,10 @@ var useV1MyProjectsProjectIdRewardsRewardIdImmutable = (path, swrConfig) => {
|
|
|
25
27
|
"/api/v1/my/projects/{project_id}/rewards/{reward_id}",
|
|
26
28
|
path
|
|
27
29
|
);
|
|
30
|
+
const requestInit = useRequestInit();
|
|
28
31
|
const result = useSWRImmutable(
|
|
29
32
|
swrConfig?.shouldNotFetch ? null : key,
|
|
30
|
-
buildV1MyProjectsProjectIdRewardsRewardIdGetFetcher(),
|
|
33
|
+
buildV1MyProjectsProjectIdRewardsRewardIdGetFetcher(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 v1MyBulkMessagesGetFetcher = buildV1MyBulkMessagesGetFetcher();
|
|
11
12
|
var useV1MyBulkMessages = (swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl("/api/v1/my/bulk_messages");
|
|
14
|
+
const requestInit = useRequestInit();
|
|
13
15
|
const result = useSWR(
|
|
14
16
|
swrConfig?.shouldNotFetch ? null : key,
|
|
15
|
-
buildV1MyBulkMessagesGetFetcher(),
|
|
17
|
+
buildV1MyBulkMessagesGetFetcher(requestInit),
|
|
16
18
|
swrConfig
|
|
17
19
|
);
|
|
18
20
|
return { key, ...result };
|
|
19
21
|
};
|
|
20
22
|
var useV1MyBulkMessagesImmutable = (swrConfig) => {
|
|
21
23
|
const key = __internal__requestUrl("/api/v1/my/bulk_messages");
|
|
24
|
+
const requestInit = useRequestInit();
|
|
22
25
|
const result = useSWRImmutable(
|
|
23
26
|
swrConfig?.shouldNotFetch ? null : key,
|
|
24
|
-
buildV1MyBulkMessagesGetFetcher(),
|
|
27
|
+
buildV1MyBulkMessagesGetFetcher(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 v1MyFundraisingProjectsProjectIdGetFetcher = buildV1MyFundraisingProjectsProjectIdGetFetcher();
|
|
11
12
|
var useV1MyFundraisingProjectsProjectId = (path, swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl(
|
|
13
14
|
"/api/v1/my/fundraising/projects/{project_id}",
|
|
14
15
|
path
|
|
15
16
|
);
|
|
17
|
+
const requestInit = useRequestInit();
|
|
16
18
|
const result = useSWR(
|
|
17
19
|
swrConfig?.shouldNotFetch ? null : key,
|
|
18
|
-
buildV1MyFundraisingProjectsProjectIdGetFetcher(),
|
|
20
|
+
buildV1MyFundraisingProjectsProjectIdGetFetcher(requestInit),
|
|
19
21
|
swrConfig
|
|
20
22
|
);
|
|
21
23
|
return { key, ...result };
|
|
@@ -25,9 +27,10 @@ var useV1MyFundraisingProjectsProjectIdImmutable = (path, swrConfig) => {
|
|
|
25
27
|
"/api/v1/my/fundraising/projects/{project_id}",
|
|
26
28
|
path
|
|
27
29
|
);
|
|
30
|
+
const requestInit = useRequestInit();
|
|
28
31
|
const result = useSWRImmutable(
|
|
29
32
|
swrConfig?.shouldNotFetch ? null : key,
|
|
30
|
-
buildV1MyFundraisingProjectsProjectIdGetFetcher(),
|
|
33
|
+
buildV1MyFundraisingProjectsProjectIdGetFetcher(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 v1MyProjectsProjectIdRewardsGetFetcher = buildV1MyProjectsProjectIdRewardsGetFetcher();
|
|
11
12
|
var useV1MyProjectsProjectIdRewards = (path, swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl(
|
|
13
14
|
"/api/v1/my/projects/{project_id}/rewards",
|
|
14
15
|
path
|
|
15
16
|
);
|
|
17
|
+
const requestInit = useRequestInit();
|
|
16
18
|
const result = useSWR(
|
|
17
19
|
swrConfig?.shouldNotFetch ? null : key,
|
|
18
|
-
buildV1MyProjectsProjectIdRewardsGetFetcher(),
|
|
20
|
+
buildV1MyProjectsProjectIdRewardsGetFetcher(requestInit),
|
|
19
21
|
swrConfig
|
|
20
22
|
);
|
|
21
23
|
return { key, ...result };
|
|
@@ -25,9 +27,10 @@ var useV1MyProjectsProjectIdRewardsImmutable = (path, swrConfig) => {
|
|
|
25
27
|
"/api/v1/my/projects/{project_id}/rewards",
|
|
26
28
|
path
|
|
27
29
|
);
|
|
30
|
+
const requestInit = useRequestInit();
|
|
28
31
|
const result = useSWRImmutable(
|
|
29
32
|
swrConfig?.shouldNotFetch ? null : key,
|
|
30
|
-
buildV1MyProjectsProjectIdRewardsGetFetcher(),
|
|
33
|
+
buildV1MyProjectsProjectIdRewardsGetFetcher(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 v1MyBulkMessagesBulkMessageIdGetFetcher = buildV1MyBulkMessagesBulkMessageIdGetFetcher();
|
|
11
12
|
var useV1MyBulkMessagesBulkMessageId = (path, swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl(
|
|
13
14
|
"/api/v1/my/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
|
-
buildV1MyBulkMessagesBulkMessageIdGetFetcher(),
|
|
20
|
+
buildV1MyBulkMessagesBulkMessageIdGetFetcher(requestInit),
|
|
19
21
|
swrConfig
|
|
20
22
|
);
|
|
21
23
|
return { key, ...result };
|
|
@@ -25,9 +27,10 @@ var useV1MyBulkMessagesBulkMessageIdImmutable = (path, swrConfig) => {
|
|
|
25
27
|
"/api/v1/my/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
|
-
buildV1MyBulkMessagesBulkMessageIdGetFetcher(),
|
|
33
|
+
buildV1MyBulkMessagesBulkMessageIdGetFetcher(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 v1MyProjectsProjectIdSteadyCrowdfundingProjectCheckListGetFetcher = buildV1MyProjectsProjectIdSteadyCrowdfundingProjectCheckListGetFetcher();
|
|
11
12
|
var useV1MyProjectsProjectIdSteadyCrowdfundingProjectCheckList = (path, swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl(
|
|
13
14
|
"/api/v1/my/projects/{project_id}/steady_crowdfunding_project_check_list",
|
|
14
15
|
path
|
|
15
16
|
);
|
|
17
|
+
const requestInit = useRequestInit();
|
|
16
18
|
const result = useSWR(
|
|
17
19
|
swrConfig?.shouldNotFetch ? null : key,
|
|
18
|
-
buildV1MyProjectsProjectIdSteadyCrowdfundingProjectCheckListGetFetcher(
|
|
20
|
+
buildV1MyProjectsProjectIdSteadyCrowdfundingProjectCheckListGetFetcher(
|
|
21
|
+
requestInit
|
|
22
|
+
),
|
|
19
23
|
swrConfig
|
|
20
24
|
);
|
|
21
25
|
return { key, ...result };
|
|
@@ -25,9 +29,12 @@ var useV1MyProjectsProjectIdSteadyCrowdfundingProjectCheckListImmutable = (path,
|
|
|
25
29
|
"/api/v1/my/projects/{project_id}/steady_crowdfunding_project_check_list",
|
|
26
30
|
path
|
|
27
31
|
);
|
|
32
|
+
const requestInit = useRequestInit();
|
|
28
33
|
const result = useSWRImmutable(
|
|
29
34
|
swrConfig?.shouldNotFetch ? null : key,
|
|
30
|
-
buildV1MyProjectsProjectIdSteadyCrowdfundingProjectCheckListGetFetcher(
|
|
35
|
+
buildV1MyProjectsProjectIdSteadyCrowdfundingProjectCheckListGetFetcher(
|
|
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 v1BranchesSearchGetFetcher = buildV1BranchesSearchGetFetcher();
|
|
11
12
|
var useV1BranchesSearch = (query, swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl("/api/v1/branches/search", {}, query);
|
|
14
|
+
const requestInit = useRequestInit();
|
|
13
15
|
const result = useSWR(
|
|
14
16
|
swrConfig?.shouldNotFetch ? null : key,
|
|
15
|
-
buildV1BranchesSearchGetFetcher(),
|
|
17
|
+
buildV1BranchesSearchGetFetcher(requestInit),
|
|
16
18
|
swrConfig
|
|
17
19
|
);
|
|
18
20
|
return { key, ...result };
|
|
19
21
|
};
|
|
20
22
|
var useV1BranchesSearchImmutable = (query, swrConfig) => {
|
|
21
23
|
const key = __internal__requestUrl("/api/v1/branches/search", {}, query);
|
|
24
|
+
const requestInit = useRequestInit();
|
|
22
25
|
const result = useSWRImmutable(
|
|
23
26
|
swrConfig?.shouldNotFetch ? null : key,
|
|
24
|
-
buildV1BranchesSearchGetFetcher(),
|
|
27
|
+
buildV1BranchesSearchGetFetcher(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 v1MyFundraisingProjectsProjectIdAnalysisAchievementPercentsGetFetcher = buildV1MyFundraisingProjectsProjectIdAnalysisAchievementPercentsGetFetcher();
|
|
11
12
|
var useV1MyFundraisingProjectsProjectIdAnalysisAchievementPercents = (path, swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl(
|
|
13
14
|
"/api/v1/my/fundraising/projects/{project_id}/analysis/achievement_percents",
|
|
14
15
|
path
|
|
15
16
|
);
|
|
17
|
+
const requestInit = useRequestInit();
|
|
16
18
|
const result = useSWR(
|
|
17
19
|
swrConfig?.shouldNotFetch ? null : key,
|
|
18
|
-
buildV1MyFundraisingProjectsProjectIdAnalysisAchievementPercentsGetFetcher(
|
|
20
|
+
buildV1MyFundraisingProjectsProjectIdAnalysisAchievementPercentsGetFetcher(
|
|
21
|
+
requestInit
|
|
22
|
+
),
|
|
19
23
|
swrConfig
|
|
20
24
|
);
|
|
21
25
|
return { key, ...result };
|
|
@@ -25,9 +29,12 @@ var useV1MyFundraisingProjectsProjectIdAnalysisAchievementPercentsImmutable = (p
|
|
|
25
29
|
"/api/v1/my/fundraising/projects/{project_id}/analysis/achievement_percents",
|
|
26
30
|
path
|
|
27
31
|
);
|
|
32
|
+
const requestInit = useRequestInit();
|
|
28
33
|
const result = useSWRImmutable(
|
|
29
34
|
swrConfig?.shouldNotFetch ? null : key,
|
|
30
|
-
buildV1MyFundraisingProjectsProjectIdAnalysisAchievementPercentsGetFetcher(
|
|
35
|
+
buildV1MyFundraisingProjectsProjectIdAnalysisAchievementPercentsGetFetcher(
|
|
36
|
+
requestInit
|
|
37
|
+
),
|
|
31
38
|
swrConfig
|
|
32
39
|
);
|
|
33
40
|
return { key, ...result };
|