@readyfor/api-client-readyfor-api 0.158.0 → 0.160.0-pr919.9630bf2
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-WVELXX25.mjs → chunk-4TYM4H3B.mjs} +9 -2
- package/dist/{chunk-HNBC66HK.mjs → chunk-5ZXQHURD.mjs} +9 -2
- package/dist/{chunk-FYERDZZ7.mjs → chunk-62HXD5WV.mjs} +5 -2
- package/dist/{chunk-RTET75RX.mjs → chunk-6BBC3WRA.mjs} +5 -2
- package/dist/{chunk-LJXOMLXN.mjs → chunk-73HKD3NY.mjs} +5 -2
- package/dist/{chunk-UAQVKGCD.mjs → chunk-7B3TERAF.mjs} +5 -2
- package/dist/{chunk-N2KIG7GX.mjs → chunk-BA2XKEWC.mjs} +9 -2
- package/dist/{chunk-SNOJPI3T.mjs → chunk-BM2JCJHY.mjs} +5 -2
- package/dist/{chunk-74OGQXGW.mjs → chunk-BVIIVJHZ.mjs} +5 -2
- package/dist/{chunk-WZF23YL3.mjs → chunk-C3I2YQCZ.mjs} +5 -2
- package/dist/{chunk-UMGJUMHG.mjs → chunk-CZLDI7ZP.mjs} +9 -2
- package/dist/{chunk-6CP3XM5E.mjs → chunk-DK6HML3C.mjs} +5 -2
- package/dist/{chunk-H7PPL7KU.mjs → chunk-DKLRRGKG.mjs} +5 -2
- package/dist/{chunk-TN3PGCZ5.mjs → chunk-EY52FGF3.mjs} +5 -2
- package/dist/{chunk-YOPEXH3O.mjs → chunk-FVJQNKV3.mjs} +5 -2
- package/dist/{chunk-XVKD7WS2.mjs → chunk-GDFTXQIM.mjs} +5 -2
- package/dist/{chunk-RML3U4RL.mjs → chunk-GT5BCQZ6.mjs} +5 -2
- package/dist/{chunk-LEYYGIVY.mjs → chunk-HU4IVBI4.mjs} +5 -2
- package/dist/{chunk-HHAQ6QI7.mjs → chunk-IRGYYBC3.mjs} +5 -2
- package/dist/{chunk-T6K3MPEP.mjs → chunk-ISH4YNVO.mjs} +5 -2
- package/dist/{chunk-WPHW573O.mjs → chunk-K5DFC6GG.mjs} +5 -2
- package/dist/{chunk-5RJSAWUC.mjs → chunk-KQX2BXOO.mjs} +5 -2
- package/dist/{chunk-JTFRO6SV.mjs → chunk-KYZ3KI2L.mjs} +5 -2
- package/dist/{chunk-PHDMB5IW.mjs → chunk-M4SYNSV4.mjs} +9 -2
- package/dist/{chunk-2R6MQBXY.mjs → chunk-MKMUPGWE.mjs} +5 -2
- package/dist/{chunk-LANVGQPD.mjs → chunk-MXR56LGA.mjs} +5 -2
- package/dist/{chunk-UURPKSUV.mjs → chunk-OFU6NH2T.mjs} +5 -2
- package/dist/{chunk-ZU2UAS7K.mjs → chunk-Q7SAVVYO.mjs} +5 -2
- package/dist/{chunk-ZQZGELBI.mjs → chunk-R52P6BNC.mjs} +5 -2
- package/dist/{chunk-G7MJJ6DI.mjs → chunk-R6WBYK37.mjs} +5 -2
- package/dist/{chunk-XGTZD2FI.mjs → chunk-RSK6ABZC.mjs} +5 -2
- package/dist/{chunk-IXPEXFEA.mjs → chunk-S6K25W3B.mjs} +5 -2
- package/dist/{chunk-LY2CBOZQ.mjs → chunk-SYIKUAPT.mjs} +5 -2
- package/dist/{chunk-DUXVOEYH.mjs → chunk-TNE2MMJV.mjs} +5 -2
- package/dist/{chunk-UUUROAPM.mjs → chunk-U5366ILW.mjs} +9 -2
- package/dist/{chunk-PYCYKICJ.mjs → chunk-ULH6H75N.mjs} +5 -2
- package/dist/{chunk-45OP77BD.mjs → chunk-URRQ2FXB.mjs} +5 -2
- package/dist/{chunk-QFBXNXDD.mjs → chunk-VEQYKILO.mjs} +5 -2
- package/dist/{chunk-R3FDSIM4.mjs → chunk-XITBIJT6.mjs} +5 -2
- package/dist/{chunk-N2J2ZKN2.mjs → chunk-XQX25NK4.mjs} +9 -2
- package/dist/{chunk-6RAHPI6L.mjs → chunk-YEQORPO7.mjs} +9 -2
- package/dist/{chunk-2MZLVAFO.mjs → chunk-YNXA25ZK.mjs} +5 -2
- package/dist/{chunk-PHK55QIC.mjs → chunk-YRAHSFJN.mjs} +5 -2
- package/dist/{chunk-WSYRO3SX.mjs → chunk-YSSYTBUI.mjs} +5 -2
- package/dist/{chunk-TZBYSEU4.mjs → chunk-YWFCSR45.mjs} +5 -2
- package/dist/{chunk-OJPSJS3G.mjs → chunk-Z5YD7TVT.mjs} +5 -2
- package/dist/hooks/index.js +262 -92
- package/dist/hooks/index.mjs +46 -46
- package/dist/hooks/useV2ContributionsCheckOrderStatus.js +5 -2
- package/dist/hooks/useV2ContributionsCheckOrderStatus.mjs +1 -1
- package/dist/hooks/useV2ContributionsCheckOwnerFriend.js +5 -2
- package/dist/hooks/useV2ContributionsCheckOwnerFriend.mjs +1 -1
- package/dist/hooks/useV2ContributionsOrderInfo.js +5 -2
- package/dist/hooks/useV2ContributionsOrderInfo.mjs +1 -1
- package/dist/hooks/useV2ContributionsPaymentInfo.js +5 -2
- package/dist/hooks/useV2ContributionsPaymentInfo.mjs +1 -1
- package/dist/hooks/useV2ContributionsPaymentMethods.js +5 -2
- package/dist/hooks/useV2ContributionsPaymentMethods.mjs +1 -1
- package/dist/hooks/useV2ContributionsProjectInfo.js +5 -2
- package/dist/hooks/useV2ContributionsProjectInfo.mjs +1 -1
- package/dist/hooks/useV2ContributionsRecommendedProjects.js +5 -2
- package/dist/hooks/useV2ContributionsRecommendedProjects.mjs +1 -1
- package/dist/hooks/useV2ContributionsRecommendedTags.js +5 -2
- package/dist/hooks/useV2ContributionsRecommendedTags.mjs +1 -1
- package/dist/hooks/useV2ContributionsUserInfo.js +5 -2
- package/dist/hooks/useV2ContributionsUserInfo.mjs +1 -1
- package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjects.js +5 -2
- package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjects.mjs +1 -1
- package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewards.js +9 -2
- package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewards.mjs +1 -1
- package/dist/hooks/useV2FundraisingBulkMessagesTargetUsers.js +5 -2
- package/dist/hooks/useV2FundraisingBulkMessagesTargetUsers.mjs +1 -1
- package/dist/hooks/useV2FundraisingBulkMessagesTargetUsersCount.js +5 -2
- package/dist/hooks/useV2FundraisingBulkMessagesTargetUsersCount.mjs +1 -1
- package/dist/hooks/useV2FundraisingContributors.js +5 -2
- package/dist/hooks/useV2FundraisingContributors.mjs +1 -1
- package/dist/hooks/useV2FundraisingContributorsCount.js +5 -2
- package/dist/hooks/useV2FundraisingContributorsCount.mjs +1 -1
- package/dist/hooks/useV2FundraisingContributorsCsvGenerations.js +5 -2
- package/dist/hooks/useV2FundraisingContributorsCsvGenerations.mjs +1 -1
- package/dist/hooks/useV2FundraisingContributorsUsers.js +5 -2
- package/dist/hooks/useV2FundraisingContributorsUsers.mjs +1 -1
- package/dist/hooks/useV2FundraisingOrdersCsvGenerations.js +5 -2
- package/dist/hooks/useV2FundraisingOrdersCsvGenerations.mjs +1 -1
- package/dist/hooks/useV2FundraisingProjectsProjectIdOfflineDonation.js +5 -2
- package/dist/hooks/useV2FundraisingProjectsProjectIdOfflineDonation.mjs +1 -1
- package/dist/hooks/useV2FundraisingProjectsProjectIdPaymentSummary.js +5 -2
- package/dist/hooks/useV2FundraisingProjectsProjectIdPaymentSummary.mjs +1 -1
- package/dist/hooks/useV2FundraisingRewards.js +5 -2
- package/dist/hooks/useV2FundraisingRewards.mjs +1 -1
- package/dist/hooks/useV2FundraisingRewardsAll.js +5 -2
- package/dist/hooks/useV2FundraisingRewardsAll.mjs +1 -1
- package/dist/hooks/useV2FundraisingRewardsCsvGenerations.js +5 -2
- package/dist/hooks/useV2FundraisingRewardsCsvGenerations.mjs +1 -1
- package/dist/hooks/useV2FundraisingRewardsDeliveryStateProgress.js +5 -2
- package/dist/hooks/useV2FundraisingRewardsDeliveryStateProgress.mjs +1 -1
- package/dist/hooks/useV2FundraisingRewardsRewardId.js +5 -2
- package/dist/hooks/useV2FundraisingRewardsRewardId.mjs +1 -1
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrders.js +5 -2
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrders.mjs +1 -1
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersAll.js +5 -2
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersAll.mjs +1 -1
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOrderId.js +9 -2
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOrderId.mjs +1 -1
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewards.js +9 -2
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewards.mjs +1 -1
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectsOwnedPublicProjects.js +9 -2
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectsOwnedPublicProjects.mjs +1 -1
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrders.js +5 -2
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrders.mjs +1 -1
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersAll.js +9 -2
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersAll.mjs +1 -1
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOrderId.js +9 -2
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOrderId.mjs +1 -1
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewards.js +9 -2
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewards.mjs +1 -1
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjects.js +9 -2
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjects.mjs +1 -1
- package/dist/hooks/useV2OwnerCrmContributorsOrders.js +5 -2
- package/dist/hooks/useV2OwnerCrmContributorsOrders.mjs +1 -1
- package/dist/hooks/useV2OwnerCrmContributorsProjects.js +5 -2
- package/dist/hooks/useV2OwnerCrmContributorsProjects.mjs +1 -1
- package/dist/hooks/useV2OwnerCrmContributorsUser.js +5 -2
- package/dist/hooks/useV2OwnerCrmContributorsUser.mjs +1 -1
- package/dist/hooks/useV2OwnerCrmOrdersZipGenerations.js +5 -2
- package/dist/hooks/useV2OwnerCrmOrdersZipGenerations.mjs +1 -1
- package/dist/hooks/useV2OwnerCrmRewardDeliveries.js +5 -2
- package/dist/hooks/useV2OwnerCrmRewardDeliveries.mjs +1 -1
- package/dist/hooks/useV2OwnerCrmRewardDeliveriesExOptions.js +5 -2
- package/dist/hooks/useV2OwnerCrmRewardDeliveriesExOptions.mjs +1 -1
- package/dist/hooks/useV2OwnerCrmRewards.js +5 -2
- package/dist/hooks/useV2OwnerCrmRewards.mjs +1 -1
- package/dist/hooks/useV2ResourcesBankBranches.js +5 -2
- package/dist/hooks/useV2ResourcesBankBranches.mjs +1 -1
- package/dist/hooks/useV2ResourcesBanks.js +5 -2
- package/dist/hooks/useV2ResourcesBanks.mjs +1 -1
- package/dist/hooks/useV2ResourcesUsers.js +5 -2
- package/dist/hooks/useV2ResourcesUsers.mjs +1 -1
- package/dist/hooks/useV2Token.js +5 -2
- package/dist/hooks/useV2Token.mjs +1 -1
- package/dist/schemaType.d.mts +4 -4
- package/dist/schemaType.d.ts +4 -4
- package/package.json +9 -10
|
@@ -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 v2OwnerCrmRewardDeliveriesGetFetcher = buildV2OwnerCrmRewardDeliveriesGetFetcher();
|
|
11
12
|
var useV2OwnerCrmRewardDeliveries = (query, swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl(
|
|
@@ -14,9 +15,10 @@ var useV2OwnerCrmRewardDeliveries = (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
|
-
buildV2OwnerCrmRewardDeliveriesGetFetcher(),
|
|
21
|
+
buildV2OwnerCrmRewardDeliveriesGetFetcher(requestInit),
|
|
20
22
|
swrConfig
|
|
21
23
|
);
|
|
22
24
|
return { key, ...result };
|
|
@@ -27,9 +29,10 @@ var useV2OwnerCrmRewardDeliveriesImmutable = (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
|
-
buildV2OwnerCrmRewardDeliveriesGetFetcher(),
|
|
35
|
+
buildV2OwnerCrmRewardDeliveriesGetFetcher(requestInit),
|
|
33
36
|
swrConfig
|
|
34
37
|
);
|
|
35
38
|
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 v2FundraisingBulkMessagesTargetUsersGetFetcher = buildV2FundraisingBulkMessagesTargetUsersGetFetcher();
|
|
11
12
|
var useV2FundraisingBulkMessagesTargetUsers = (query, swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl(
|
|
@@ -14,9 +15,10 @@ var useV2FundraisingBulkMessagesTargetUsers = (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
|
-
buildV2FundraisingBulkMessagesTargetUsersGetFetcher(),
|
|
21
|
+
buildV2FundraisingBulkMessagesTargetUsersGetFetcher(requestInit),
|
|
20
22
|
swrConfig
|
|
21
23
|
);
|
|
22
24
|
return { key, ...result };
|
|
@@ -27,9 +29,10 @@ var useV2FundraisingBulkMessagesTargetUsersImmutable = (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
|
-
buildV2FundraisingBulkMessagesTargetUsersGetFetcher(),
|
|
35
|
+
buildV2FundraisingBulkMessagesTargetUsersGetFetcher(requestInit),
|
|
33
36
|
swrConfig
|
|
34
37
|
);
|
|
35
38
|
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 v2FundraisingContributorsGetFetcher = buildV2FundraisingContributorsGetFetcher();
|
|
11
12
|
var useV2FundraisingContributors = (query, swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl(
|
|
@@ -14,9 +15,10 @@ var useV2FundraisingContributors = (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
|
-
buildV2FundraisingContributorsGetFetcher(),
|
|
21
|
+
buildV2FundraisingContributorsGetFetcher(requestInit),
|
|
20
22
|
swrConfig
|
|
21
23
|
);
|
|
22
24
|
return { key, ...result };
|
|
@@ -27,9 +29,10 @@ var useV2FundraisingContributorsImmutable = (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
|
-
buildV2FundraisingContributorsGetFetcher(),
|
|
35
|
+
buildV2FundraisingContributorsGetFetcher(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 v2FundraisingSteadyCrowdfundingProjectOrdersOrderIdGetFetcher = buildV2FundraisingSteadyCrowdfundingProjectOrdersOrderIdGetFetcher();
|
|
11
12
|
var useV2FundraisingSteadyCrowdfundingProjectOrdersOrderId = (path, swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl(
|
|
13
14
|
"/api/v2/fundraising/steady_crowdfunding_project_orders/{order_id}",
|
|
14
15
|
path
|
|
15
16
|
);
|
|
17
|
+
const requestInit = useRequestInit();
|
|
16
18
|
const result = useSWR(
|
|
17
19
|
swrConfig?.shouldNotFetch ? null : key,
|
|
18
|
-
buildV2FundraisingSteadyCrowdfundingProjectOrdersOrderIdGetFetcher(
|
|
20
|
+
buildV2FundraisingSteadyCrowdfundingProjectOrdersOrderIdGetFetcher(
|
|
21
|
+
requestInit
|
|
22
|
+
),
|
|
19
23
|
swrConfig
|
|
20
24
|
);
|
|
21
25
|
return { key, ...result };
|
|
@@ -25,9 +29,12 @@ var useV2FundraisingSteadyCrowdfundingProjectOrdersOrderIdImmutable = (path, swr
|
|
|
25
29
|
"/api/v2/fundraising/steady_crowdfunding_project_orders/{order_id}",
|
|
26
30
|
path
|
|
27
31
|
);
|
|
32
|
+
const requestInit = useRequestInit();
|
|
28
33
|
const result = useSWRImmutable(
|
|
29
34
|
swrConfig?.shouldNotFetch ? null : key,
|
|
30
|
-
buildV2FundraisingSteadyCrowdfundingProjectOrdersOrderIdGetFetcher(
|
|
35
|
+
buildV2FundraisingSteadyCrowdfundingProjectOrdersOrderIdGetFetcher(
|
|
36
|
+
requestInit
|
|
37
|
+
),
|
|
31
38
|
swrConfig
|
|
32
39
|
);
|
|
33
40
|
return { key, ...result };
|
|
@@ -7,14 +7,16 @@ 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 v2FundraisingBulkMessagesOwnedPublicProjectsGetFetcher = buildV2FundraisingBulkMessagesOwnedPublicProjectsGetFetcher();
|
|
11
12
|
var useV2FundraisingBulkMessagesOwnedPublicProjects = (swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl(
|
|
13
14
|
"/api/v2/fundraising/bulk_messages/owned_public_projects"
|
|
14
15
|
);
|
|
16
|
+
const requestInit = useRequestInit();
|
|
15
17
|
const result = useSWR(
|
|
16
18
|
swrConfig?.shouldNotFetch ? null : key,
|
|
17
|
-
buildV2FundraisingBulkMessagesOwnedPublicProjectsGetFetcher(),
|
|
19
|
+
buildV2FundraisingBulkMessagesOwnedPublicProjectsGetFetcher(requestInit),
|
|
18
20
|
swrConfig
|
|
19
21
|
);
|
|
20
22
|
return { key, ...result };
|
|
@@ -23,9 +25,10 @@ var useV2FundraisingBulkMessagesOwnedPublicProjectsImmutable = (swrConfig) => {
|
|
|
23
25
|
const key = __internal__requestUrl(
|
|
24
26
|
"/api/v2/fundraising/bulk_messages/owned_public_projects"
|
|
25
27
|
);
|
|
28
|
+
const requestInit = useRequestInit();
|
|
26
29
|
const result = useSWRImmutable(
|
|
27
30
|
swrConfig?.shouldNotFetch ? null : key,
|
|
28
|
-
buildV2FundraisingBulkMessagesOwnedPublicProjectsGetFetcher(),
|
|
31
|
+
buildV2FundraisingBulkMessagesOwnedPublicProjectsGetFetcher(requestInit),
|
|
29
32
|
swrConfig
|
|
30
33
|
);
|
|
31
34
|
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 v2FundraisingContributorsUsersGetFetcher = buildV2FundraisingContributorsUsersGetFetcher();
|
|
11
12
|
var useV2FundraisingContributorsUsers = (query, swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl(
|
|
@@ -14,9 +15,10 @@ var useV2FundraisingContributorsUsers = (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
|
-
buildV2FundraisingContributorsUsersGetFetcher(),
|
|
21
|
+
buildV2FundraisingContributorsUsersGetFetcher(requestInit),
|
|
20
22
|
swrConfig
|
|
21
23
|
);
|
|
22
24
|
return { key, ...result };
|
|
@@ -27,9 +29,10 @@ var useV2FundraisingContributorsUsersImmutable = (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
|
-
buildV2FundraisingContributorsUsersGetFetcher(),
|
|
35
|
+
buildV2FundraisingContributorsUsersGetFetcher(requestInit),
|
|
33
36
|
swrConfig
|
|
34
37
|
);
|
|
35
38
|
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 v2OwnerCrmContributorsUserGetFetcher = buildV2OwnerCrmContributorsUserGetFetcher();
|
|
11
12
|
var useV2OwnerCrmContributorsUser = (query, swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl(
|
|
@@ -14,9 +15,10 @@ var useV2OwnerCrmContributorsUser = (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
|
-
buildV2OwnerCrmContributorsUserGetFetcher(),
|
|
21
|
+
buildV2OwnerCrmContributorsUserGetFetcher(requestInit),
|
|
20
22
|
swrConfig
|
|
21
23
|
);
|
|
22
24
|
return { key, ...result };
|
|
@@ -27,9 +29,10 @@ var useV2OwnerCrmContributorsUserImmutable = (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
|
-
buildV2OwnerCrmContributorsUserGetFetcher(),
|
|
35
|
+
buildV2OwnerCrmContributorsUserGetFetcher(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 v2TokenGetFetcher = buildV2TokenGetFetcher();
|
|
11
12
|
var useV2Token = (swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl("/api/v2/token");
|
|
14
|
+
const requestInit = useRequestInit();
|
|
13
15
|
const result = useSWR(
|
|
14
16
|
swrConfig?.shouldNotFetch ? null : key,
|
|
15
|
-
buildV2TokenGetFetcher(),
|
|
17
|
+
buildV2TokenGetFetcher(requestInit),
|
|
16
18
|
swrConfig
|
|
17
19
|
);
|
|
18
20
|
return { key, ...result };
|
|
19
21
|
};
|
|
20
22
|
var useV2TokenImmutable = (swrConfig) => {
|
|
21
23
|
const key = __internal__requestUrl("/api/v2/token");
|
|
24
|
+
const requestInit = useRequestInit();
|
|
22
25
|
const result = useSWRImmutable(
|
|
23
26
|
swrConfig?.shouldNotFetch ? null : key,
|
|
24
|
-
buildV2TokenGetFetcher(),
|
|
27
|
+
buildV2TokenGetFetcher(requestInit),
|
|
25
28
|
swrConfig
|
|
26
29
|
);
|
|
27
30
|
return { key, ...result };
|
|
@@ -7,14 +7,16 @@ 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 v2FundraisingBulkMessagesTargetUsersCountGetFetcher = buildV2FundraisingBulkMessagesTargetUsersCountGetFetcher();
|
|
11
12
|
var useV2FundraisingBulkMessagesTargetUsersCount = (swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl(
|
|
13
14
|
"/api/v2/fundraising/bulk_messages/target_users/count"
|
|
14
15
|
);
|
|
16
|
+
const requestInit = useRequestInit();
|
|
15
17
|
const result = useSWR(
|
|
16
18
|
swrConfig?.shouldNotFetch ? null : key,
|
|
17
|
-
buildV2FundraisingBulkMessagesTargetUsersCountGetFetcher(),
|
|
19
|
+
buildV2FundraisingBulkMessagesTargetUsersCountGetFetcher(requestInit),
|
|
18
20
|
swrConfig
|
|
19
21
|
);
|
|
20
22
|
return { key, ...result };
|
|
@@ -23,9 +25,10 @@ var useV2FundraisingBulkMessagesTargetUsersCountImmutable = (swrConfig) => {
|
|
|
23
25
|
const key = __internal__requestUrl(
|
|
24
26
|
"/api/v2/fundraising/bulk_messages/target_users/count"
|
|
25
27
|
);
|
|
28
|
+
const requestInit = useRequestInit();
|
|
26
29
|
const result = useSWRImmutable(
|
|
27
30
|
swrConfig?.shouldNotFetch ? null : key,
|
|
28
|
-
buildV2FundraisingBulkMessagesTargetUsersCountGetFetcher(),
|
|
31
|
+
buildV2FundraisingBulkMessagesTargetUsersCountGetFetcher(requestInit),
|
|
29
32
|
swrConfig
|
|
30
33
|
);
|
|
31
34
|
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 v2FundraisingSteadyCrowdfundingProjectOrdersGetFetcher = buildV2FundraisingSteadyCrowdfundingProjectOrdersGetFetcher();
|
|
11
12
|
var useV2FundraisingSteadyCrowdfundingProjectOrders = (query, swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl(
|
|
@@ -14,9 +15,10 @@ var useV2FundraisingSteadyCrowdfundingProjectOrders = (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
|
-
buildV2FundraisingSteadyCrowdfundingProjectOrdersGetFetcher(),
|
|
21
|
+
buildV2FundraisingSteadyCrowdfundingProjectOrdersGetFetcher(requestInit),
|
|
20
22
|
swrConfig
|
|
21
23
|
);
|
|
22
24
|
return { key, ...result };
|
|
@@ -27,9 +29,10 @@ var useV2FundraisingSteadyCrowdfundingProjectOrdersImmutable = (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
|
-
buildV2FundraisingSteadyCrowdfundingProjectOrdersGetFetcher(),
|
|
35
|
+
buildV2FundraisingSteadyCrowdfundingProjectOrdersGetFetcher(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 v2FundraisingRewardsGetFetcher = buildV2FundraisingRewardsGetFetcher();
|
|
11
12
|
var useV2FundraisingRewards = (query, swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl("/api/v2/fundraising/rewards", {}, query);
|
|
14
|
+
const requestInit = useRequestInit();
|
|
13
15
|
const result = useSWR(
|
|
14
16
|
swrConfig?.shouldNotFetch ? null : key,
|
|
15
|
-
buildV2FundraisingRewardsGetFetcher(),
|
|
17
|
+
buildV2FundraisingRewardsGetFetcher(requestInit),
|
|
16
18
|
swrConfig
|
|
17
19
|
);
|
|
18
20
|
return { key, ...result };
|
|
19
21
|
};
|
|
20
22
|
var useV2FundraisingRewardsImmutable = (query, swrConfig) => {
|
|
21
23
|
const key = __internal__requestUrl("/api/v2/fundraising/rewards", {}, query);
|
|
24
|
+
const requestInit = useRequestInit();
|
|
22
25
|
const result = useSWRImmutable(
|
|
23
26
|
swrConfig?.shouldNotFetch ? null : key,
|
|
24
|
-
buildV2FundraisingRewardsGetFetcher(),
|
|
27
|
+
buildV2FundraisingRewardsGetFetcher(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 v2FundraisingContributorsCountGetFetcher = buildV2FundraisingContributorsCountGetFetcher();
|
|
11
12
|
var useV2FundraisingContributorsCount = (query, swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl(
|
|
@@ -14,9 +15,10 @@ var useV2FundraisingContributorsCount = (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
|
-
buildV2FundraisingContributorsCountGetFetcher(),
|
|
21
|
+
buildV2FundraisingContributorsCountGetFetcher(requestInit),
|
|
20
22
|
swrConfig
|
|
21
23
|
);
|
|
22
24
|
return { key, ...result };
|
|
@@ -27,9 +29,10 @@ var useV2FundraisingContributorsCountImmutable = (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
|
-
buildV2FundraisingContributorsCountGetFetcher(),
|
|
35
|
+
buildV2FundraisingContributorsCountGetFetcher(requestInit),
|
|
33
36
|
swrConfig
|
|
34
37
|
);
|
|
35
38
|
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 v2ContributionsPaymentInfoGetFetcher = buildV2ContributionsPaymentInfoGetFetcher();
|
|
11
12
|
var useV2ContributionsPaymentInfo = (query, swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl(
|
|
@@ -14,9 +15,10 @@ var useV2ContributionsPaymentInfo = (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
|
-
buildV2ContributionsPaymentInfoGetFetcher(),
|
|
21
|
+
buildV2ContributionsPaymentInfoGetFetcher(requestInit),
|
|
20
22
|
swrConfig
|
|
21
23
|
);
|
|
22
24
|
return { key, ...result };
|
|
@@ -27,9 +29,10 @@ var useV2ContributionsPaymentInfoImmutable = (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
|
-
buildV2ContributionsPaymentInfoGetFetcher(),
|
|
35
|
+
buildV2ContributionsPaymentInfoGetFetcher(requestInit),
|
|
33
36
|
swrConfig
|
|
34
37
|
);
|
|
35
38
|
return { key, ...result };
|
|
@@ -7,14 +7,16 @@ 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 v2FundraisingRewardsDeliveryStateProgressGetFetcher = buildV2FundraisingRewardsDeliveryStateProgressGetFetcher();
|
|
11
12
|
var useV2FundraisingRewardsDeliveryStateProgress = (swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl(
|
|
13
14
|
"/api/v2/fundraising/rewards/delivery_state/progress"
|
|
14
15
|
);
|
|
16
|
+
const requestInit = useRequestInit();
|
|
15
17
|
const result = useSWR(
|
|
16
18
|
swrConfig?.shouldNotFetch ? null : key,
|
|
17
|
-
buildV2FundraisingRewardsDeliveryStateProgressGetFetcher(),
|
|
19
|
+
buildV2FundraisingRewardsDeliveryStateProgressGetFetcher(requestInit),
|
|
18
20
|
swrConfig
|
|
19
21
|
);
|
|
20
22
|
return { key, ...result };
|
|
@@ -23,9 +25,10 @@ var useV2FundraisingRewardsDeliveryStateProgressImmutable = (swrConfig) => {
|
|
|
23
25
|
const key = __internal__requestUrl(
|
|
24
26
|
"/api/v2/fundraising/rewards/delivery_state/progress"
|
|
25
27
|
);
|
|
28
|
+
const requestInit = useRequestInit();
|
|
26
29
|
const result = useSWRImmutable(
|
|
27
30
|
swrConfig?.shouldNotFetch ? null : key,
|
|
28
|
-
buildV2FundraisingRewardsDeliveryStateProgressGetFetcher(),
|
|
31
|
+
buildV2FundraisingRewardsDeliveryStateProgressGetFetcher(requestInit),
|
|
29
32
|
swrConfig
|
|
30
33
|
);
|
|
31
34
|
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 v2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjectsGetFetcher = buildV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjectsGetFetcher();
|
|
11
12
|
var useV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjects = (swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl(
|
|
13
14
|
"/api/v2/fundraising/steady_crowdfunding_projects/owned_public_projects"
|
|
14
15
|
);
|
|
16
|
+
const requestInit = useRequestInit();
|
|
15
17
|
const result = useSWR(
|
|
16
18
|
swrConfig?.shouldNotFetch ? null : key,
|
|
17
|
-
buildV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjectsGetFetcher(
|
|
19
|
+
buildV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjectsGetFetcher(
|
|
20
|
+
requestInit
|
|
21
|
+
),
|
|
18
22
|
swrConfig
|
|
19
23
|
);
|
|
20
24
|
return { key, ...result };
|
|
@@ -23,9 +27,12 @@ var useV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjectsImmutable = (sw
|
|
|
23
27
|
const key = __internal__requestUrl(
|
|
24
28
|
"/api/v2/fundraising/steady_crowdfunding_projects/owned_public_projects"
|
|
25
29
|
);
|
|
30
|
+
const requestInit = useRequestInit();
|
|
26
31
|
const result = useSWRImmutable(
|
|
27
32
|
swrConfig?.shouldNotFetch ? null : key,
|
|
28
|
-
buildV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjectsGetFetcher(
|
|
33
|
+
buildV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjectsGetFetcher(
|
|
34
|
+
requestInit
|
|
35
|
+
),
|
|
29
36
|
swrConfig
|
|
30
37
|
);
|
|
31
38
|
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 v2FundraisingRewardsAllGetFetcher = buildV2FundraisingRewardsAllGetFetcher();
|
|
11
12
|
var useV2FundraisingRewardsAll = (query, swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl(
|
|
@@ -14,9 +15,10 @@ var useV2FundraisingRewardsAll = (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
|
-
buildV2FundraisingRewardsAllGetFetcher(),
|
|
21
|
+
buildV2FundraisingRewardsAllGetFetcher(requestInit),
|
|
20
22
|
swrConfig
|
|
21
23
|
);
|
|
22
24
|
return { key, ...result };
|
|
@@ -27,9 +29,10 @@ var useV2FundraisingRewardsAllImmutable = (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
|
-
buildV2FundraisingRewardsAllGetFetcher(),
|
|
35
|
+
buildV2FundraisingRewardsAllGetFetcher(requestInit),
|
|
33
36
|
swrConfig
|
|
34
37
|
);
|
|
35
38
|
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 v2OwnerCrmContributorsOrdersGetFetcher = buildV2OwnerCrmContributorsOrdersGetFetcher();
|
|
11
12
|
var useV2OwnerCrmContributorsOrders = (query, swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl(
|
|
@@ -14,9 +15,10 @@ var useV2OwnerCrmContributorsOrders = (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
|
-
buildV2OwnerCrmContributorsOrdersGetFetcher(),
|
|
21
|
+
buildV2OwnerCrmContributorsOrdersGetFetcher(requestInit),
|
|
20
22
|
swrConfig
|
|
21
23
|
);
|
|
22
24
|
return { key, ...result };
|
|
@@ -27,9 +29,10 @@ var useV2OwnerCrmContributorsOrdersImmutable = (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
|
-
buildV2OwnerCrmContributorsOrdersGetFetcher(),
|
|
35
|
+
buildV2OwnerCrmContributorsOrdersGetFetcher(requestInit),
|
|
33
36
|
swrConfig
|
|
34
37
|
);
|
|
35
38
|
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 v2ContributionsProjectInfoGetFetcher = buildV2ContributionsProjectInfoGetFetcher();
|
|
11
12
|
var useV2ContributionsProjectInfo = (query, swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl(
|
|
@@ -14,9 +15,10 @@ var useV2ContributionsProjectInfo = (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
|
-
buildV2ContributionsProjectInfoGetFetcher(),
|
|
21
|
+
buildV2ContributionsProjectInfoGetFetcher(requestInit),
|
|
20
22
|
swrConfig
|
|
21
23
|
);
|
|
22
24
|
return { key, ...result };
|
|
@@ -27,9 +29,10 @@ var useV2ContributionsProjectInfoImmutable = (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
|
-
buildV2ContributionsProjectInfoGetFetcher(),
|
|
35
|
+
buildV2ContributionsProjectInfoGetFetcher(requestInit),
|
|
33
36
|
swrConfig
|
|
34
37
|
);
|
|
35
38
|
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 v2OwnerCrmContributorsProjectsGetFetcher = buildV2OwnerCrmContributorsProjectsGetFetcher();
|
|
11
12
|
var useV2OwnerCrmContributorsProjects = (query, swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl(
|
|
@@ -14,9 +15,10 @@ var useV2OwnerCrmContributorsProjects = (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
|
-
buildV2OwnerCrmContributorsProjectsGetFetcher(),
|
|
21
|
+
buildV2OwnerCrmContributorsProjectsGetFetcher(requestInit),
|
|
20
22
|
swrConfig
|
|
21
23
|
);
|
|
22
24
|
return { key, ...result };
|
|
@@ -27,9 +29,10 @@ var useV2OwnerCrmContributorsProjectsImmutable = (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
|
-
buildV2OwnerCrmContributorsProjectsGetFetcher(),
|
|
35
|
+
buildV2OwnerCrmContributorsProjectsGetFetcher(requestInit),
|
|
33
36
|
swrConfig
|
|
34
37
|
);
|
|
35
38
|
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 v2FundraisingSteadyCrowdfundingProjectOrdersAllGetFetcher = buildV2FundraisingSteadyCrowdfundingProjectOrdersAllGetFetcher();
|
|
11
12
|
var useV2FundraisingSteadyCrowdfundingProjectOrdersAll = (query, swrConfig) => {
|
|
12
13
|
const key = __internal__requestUrl(
|
|
@@ -14,9 +15,12 @@ var useV2FundraisingSteadyCrowdfundingProjectOrdersAll = (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
|
-
buildV2FundraisingSteadyCrowdfundingProjectOrdersAllGetFetcher(
|
|
21
|
+
buildV2FundraisingSteadyCrowdfundingProjectOrdersAllGetFetcher(
|
|
22
|
+
requestInit
|
|
23
|
+
),
|
|
20
24
|
swrConfig
|
|
21
25
|
);
|
|
22
26
|
return { key, ...result };
|
|
@@ -27,9 +31,12 @@ var useV2FundraisingSteadyCrowdfundingProjectOrdersAllImmutable = (query, swrCon
|
|
|
27
31
|
{},
|
|
28
32
|
query
|
|
29
33
|
);
|
|
34
|
+
const requestInit = useRequestInit();
|
|
30
35
|
const result = useSWRImmutable(
|
|
31
36
|
swrConfig?.shouldNotFetch ? null : key,
|
|
32
|
-
buildV2FundraisingSteadyCrowdfundingProjectOrdersAllGetFetcher(
|
|
37
|
+
buildV2FundraisingSteadyCrowdfundingProjectOrdersAllGetFetcher(
|
|
38
|
+
requestInit
|
|
39
|
+
),
|
|
33
40
|
swrConfig
|
|
34
41
|
);
|
|
35
42
|
return { key, ...result };
|