@readyfor/api-client-readyfor-api 0.0.1-pr903.f6e652b → 0.0.1-pr905.dde177e
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-4OTX3EI7.mjs +49 -0
- package/dist/chunk-54W7MKTA.mjs +43 -0
- package/dist/chunk-6EMTL6MI.mjs +47 -0
- package/dist/chunk-6FL7PDTL.mjs +43 -0
- package/dist/chunk-6SQ7KJLC.mjs +43 -0
- package/dist/chunk-6Z4FBYFX.mjs +43 -0
- package/dist/chunk-72XYNMXT.mjs +47 -0
- package/dist/chunk-7IYGGLJX.mjs +49 -0
- package/dist/chunk-ABBMLPRA.mjs +49 -0
- package/dist/chunk-AZPMHKAJ.mjs +43 -0
- package/dist/chunk-BBMUXZNL.mjs +0 -0
- package/dist/chunk-BPTZDNVC.mjs +47 -0
- package/dist/chunk-C4R2ZNHF.mjs +49 -0
- package/dist/chunk-CLOBZTSX.mjs +49 -0
- package/dist/chunk-CUKUSAB3.mjs +41 -0
- package/dist/chunk-D2PQLU6H.mjs +49 -0
- package/dist/chunk-F4Q3BU5R.mjs +49 -0
- package/dist/chunk-FBOGE4XA.mjs +49 -0
- package/dist/chunk-GYF37D7F.mjs +49 -0
- package/dist/chunk-HGIAOCJJ.mjs +41 -0
- package/dist/chunk-IIVMEMC3.mjs +49 -0
- package/dist/chunk-JJDI455W.mjs +39 -0
- package/dist/chunk-K5QARDEM.mjs +49 -0
- package/dist/chunk-KKPPZALK.mjs +49 -0
- package/dist/chunk-KQ7V5U5Q.mjs +43 -0
- package/dist/chunk-KYDNGQ4S.mjs +49 -0
- package/dist/chunk-LC7XKILY.mjs +49 -0
- package/dist/chunk-LUOY56RI.mjs +49 -0
- package/dist/chunk-M4OG7QBZ.mjs +49 -0
- package/dist/chunk-M7KD6CK2.mjs +41 -0
- package/dist/chunk-N4QUQTK5.mjs +41 -0
- package/dist/chunk-NBC3TMUX.mjs +47 -0
- package/dist/chunk-NLJBMUVH.mjs +49 -0
- package/dist/chunk-PCU7OTQP.mjs +43 -0
- package/dist/chunk-QOOBOC5Q.mjs +49 -0
- package/dist/chunk-RIZSYDGR.mjs +43 -0
- package/dist/chunk-RVP6EHPU.mjs +49 -0
- package/dist/chunk-T2RT6EHL.mjs +49 -0
- package/dist/chunk-TYP4NYH3.mjs +49 -0
- package/dist/chunk-USWI42N5.mjs +47 -0
- package/dist/chunk-VTL7NG2K.mjs +49 -0
- package/dist/chunk-W7HEKETS.mjs +39 -0
- package/dist/chunk-WZHJVTEC.mjs +47 -0
- package/dist/chunk-X442O2C5.mjs +39 -0
- package/dist/chunk-YCLJRRFM.mjs +49 -0
- package/dist/chunk-ZEBZXO55.mjs +43 -0
- package/dist/chunk-ZGZH7UBJ.mjs +49 -0
- package/dist/hooks/index.d.mts +97 -0
- package/dist/hooks/index.d.ts +97 -0
- package/dist/hooks/index.js +3545 -0
- package/dist/hooks/index.mjs +442 -0
- package/dist/hooks/useV2ContributionsCheckOrderStatus.d.mts +58 -0
- package/dist/hooks/useV2ContributionsCheckOrderStatus.d.ts +58 -0
- package/dist/hooks/useV2ContributionsCheckOrderStatus.js +1521 -0
- package/dist/hooks/useV2ContributionsCheckOrderStatus.mjs +82 -0
- package/dist/hooks/useV2ContributionsCheckOwnerFriend.d.mts +38 -0
- package/dist/hooks/useV2ContributionsCheckOwnerFriend.d.ts +38 -0
- package/dist/hooks/useV2ContributionsCheckOwnerFriend.js +1521 -0
- package/dist/hooks/useV2ContributionsCheckOwnerFriend.mjs +82 -0
- package/dist/hooks/useV2ContributionsOrderInfo.d.mts +83 -0
- package/dist/hooks/useV2ContributionsOrderInfo.d.ts +83 -0
- package/dist/hooks/useV2ContributionsOrderInfo.js +1521 -0
- package/dist/hooks/useV2ContributionsOrderInfo.mjs +82 -0
- package/dist/hooks/useV2ContributionsPaymentInfo.d.mts +48 -0
- package/dist/hooks/useV2ContributionsPaymentInfo.d.ts +48 -0
- package/dist/hooks/useV2ContributionsPaymentInfo.js +1521 -0
- package/dist/hooks/useV2ContributionsPaymentInfo.mjs +82 -0
- package/dist/hooks/useV2ContributionsPaymentMethods.d.mts +62 -0
- package/dist/hooks/useV2ContributionsPaymentMethods.d.ts +62 -0
- package/dist/hooks/useV2ContributionsPaymentMethods.js +1511 -0
- package/dist/hooks/useV2ContributionsPaymentMethods.mjs +82 -0
- package/dist/hooks/useV2ContributionsProjectInfo.d.mts +128 -0
- package/dist/hooks/useV2ContributionsProjectInfo.d.ts +128 -0
- package/dist/hooks/useV2ContributionsProjectInfo.js +1521 -0
- package/dist/hooks/useV2ContributionsProjectInfo.mjs +82 -0
- package/dist/hooks/useV2ContributionsRecommendedProjects.d.mts +37 -0
- package/dist/hooks/useV2ContributionsRecommendedProjects.d.ts +37 -0
- package/dist/hooks/useV2ContributionsRecommendedProjects.js +1515 -0
- package/dist/hooks/useV2ContributionsRecommendedProjects.mjs +82 -0
- package/dist/hooks/useV2ContributionsRecommendedTags.d.mts +37 -0
- package/dist/hooks/useV2ContributionsRecommendedTags.d.ts +37 -0
- package/dist/hooks/useV2ContributionsRecommendedTags.js +1511 -0
- package/dist/hooks/useV2ContributionsRecommendedTags.mjs +82 -0
- package/dist/hooks/useV2ContributionsUserInfo.d.mts +73 -0
- package/dist/hooks/useV2ContributionsUserInfo.d.ts +73 -0
- package/dist/hooks/useV2ContributionsUserInfo.js +1521 -0
- package/dist/hooks/useV2ContributionsUserInfo.mjs +82 -0
- package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjects.d.mts +37 -0
- package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjects.d.ts +37 -0
- package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjects.js +1517 -0
- package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjects.mjs +82 -0
- package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewards.d.mts +38 -0
- package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewards.d.ts +38 -0
- package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewards.js +1522 -0
- package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewards.mjs +82 -0
- package/dist/hooks/useV2FundraisingBulkMessagesTargetUsers.d.mts +38 -0
- package/dist/hooks/useV2FundraisingBulkMessagesTargetUsers.d.ts +38 -0
- package/dist/hooks/useV2FundraisingBulkMessagesTargetUsers.js +1521 -0
- package/dist/hooks/useV2FundraisingBulkMessagesTargetUsers.mjs +82 -0
- package/dist/hooks/useV2FundraisingBulkMessagesTargetUsersCount.d.mts +37 -0
- package/dist/hooks/useV2FundraisingBulkMessagesTargetUsersCount.d.ts +37 -0
- package/dist/hooks/useV2FundraisingBulkMessagesTargetUsersCount.js +1517 -0
- package/dist/hooks/useV2FundraisingBulkMessagesTargetUsersCount.mjs +82 -0
- package/dist/hooks/useV2FundraisingContributors.d.mts +43 -0
- package/dist/hooks/useV2FundraisingContributors.d.ts +43 -0
- package/dist/hooks/useV2FundraisingContributors.js +1521 -0
- package/dist/hooks/useV2FundraisingContributors.mjs +82 -0
- package/dist/hooks/useV2FundraisingContributorsCount.d.mts +38 -0
- package/dist/hooks/useV2FundraisingContributorsCount.d.ts +38 -0
- package/dist/hooks/useV2FundraisingContributorsCount.js +1521 -0
- package/dist/hooks/useV2FundraisingContributorsCount.mjs +82 -0
- package/dist/hooks/useV2FundraisingContributorsCsvGenerations.d.mts +78 -0
- package/dist/hooks/useV2FundraisingContributorsCsvGenerations.d.ts +78 -0
- package/dist/hooks/useV2FundraisingContributorsCsvGenerations.js +1517 -0
- package/dist/hooks/useV2FundraisingContributorsCsvGenerations.mjs +82 -0
- package/dist/hooks/useV2FundraisingContributorsUsers.d.mts +38 -0
- package/dist/hooks/useV2FundraisingContributorsUsers.d.ts +38 -0
- package/dist/hooks/useV2FundraisingContributorsUsers.js +1521 -0
- package/dist/hooks/useV2FundraisingContributorsUsers.mjs +82 -0
- package/dist/hooks/useV2FundraisingOrdersCsvGenerations.d.mts +78 -0
- package/dist/hooks/useV2FundraisingOrdersCsvGenerations.d.ts +78 -0
- package/dist/hooks/useV2FundraisingOrdersCsvGenerations.js +1517 -0
- package/dist/hooks/useV2FundraisingOrdersCsvGenerations.mjs +82 -0
- package/dist/hooks/useV2FundraisingProjectsProjectIdOfflineDonation.d.mts +43 -0
- package/dist/hooks/useV2FundraisingProjectsProjectIdOfflineDonation.d.ts +43 -0
- package/dist/hooks/useV2FundraisingProjectsProjectIdOfflineDonation.js +1521 -0
- package/dist/hooks/useV2FundraisingProjectsProjectIdOfflineDonation.mjs +82 -0
- package/dist/hooks/useV2FundraisingProjectsProjectIdPaymentSummary.d.mts +58 -0
- package/dist/hooks/useV2FundraisingProjectsProjectIdPaymentSummary.d.ts +58 -0
- package/dist/hooks/useV2FundraisingProjectsProjectIdPaymentSummary.js +1521 -0
- package/dist/hooks/useV2FundraisingProjectsProjectIdPaymentSummary.mjs +82 -0
- package/dist/hooks/useV2FundraisingRewards.d.mts +58 -0
- package/dist/hooks/useV2FundraisingRewards.d.ts +58 -0
- package/dist/hooks/useV2FundraisingRewards.js +1513 -0
- package/dist/hooks/useV2FundraisingRewards.mjs +82 -0
- package/dist/hooks/useV2FundraisingRewardsAll.d.mts +38 -0
- package/dist/hooks/useV2FundraisingRewardsAll.d.ts +38 -0
- package/dist/hooks/useV2FundraisingRewardsAll.js +1521 -0
- package/dist/hooks/useV2FundraisingRewardsAll.mjs +82 -0
- package/dist/hooks/useV2FundraisingRewardsCsvGenerations.d.mts +78 -0
- package/dist/hooks/useV2FundraisingRewardsCsvGenerations.d.ts +78 -0
- package/dist/hooks/useV2FundraisingRewardsCsvGenerations.js +1517 -0
- package/dist/hooks/useV2FundraisingRewardsCsvGenerations.mjs +82 -0
- package/dist/hooks/useV2FundraisingRewardsDeliveryStateProgress.d.mts +77 -0
- package/dist/hooks/useV2FundraisingRewardsDeliveryStateProgress.d.ts +77 -0
- package/dist/hooks/useV2FundraisingRewardsDeliveryStateProgress.js +1517 -0
- package/dist/hooks/useV2FundraisingRewardsDeliveryStateProgress.mjs +82 -0
- package/dist/hooks/useV2FundraisingRewardsRewardId.d.mts +108 -0
- package/dist/hooks/useV2FundraisingRewardsRewardId.d.ts +108 -0
- package/dist/hooks/useV2FundraisingRewardsRewardId.js +1519 -0
- package/dist/hooks/useV2FundraisingRewardsRewardId.mjs +82 -0
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrders.d.mts +53 -0
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrders.d.ts +53 -0
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrders.js +1523 -0
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrders.mjs +82 -0
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersAll.d.mts +38 -0
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersAll.d.ts +38 -0
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersAll.js +1523 -0
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersAll.mjs +82 -0
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOrderId.d.mts +98 -0
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOrderId.d.ts +98 -0
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOrderId.js +1521 -0
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOrderId.mjs +82 -0
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewards.d.mts +38 -0
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewards.d.ts +38 -0
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewards.js +1523 -0
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewards.mjs +82 -0
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectsOwnedPublicProjects.d.mts +37 -0
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectsOwnedPublicProjects.d.ts +37 -0
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectsOwnedPublicProjects.js +1515 -0
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectsOwnedPublicProjects.mjs +82 -0
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrders.d.mts +48 -0
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrders.d.ts +48 -0
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrders.js +1523 -0
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrders.mjs +82 -0
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersAll.d.mts +38 -0
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersAll.d.ts +38 -0
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersAll.js +1523 -0
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersAll.mjs +82 -0
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOrderId.d.mts +103 -0
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOrderId.d.ts +103 -0
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOrderId.js +1521 -0
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOrderId.mjs +82 -0
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewards.d.mts +38 -0
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewards.d.ts +38 -0
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewards.js +1523 -0
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewards.mjs +82 -0
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjects.d.mts +37 -0
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjects.d.ts +37 -0
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjects.js +1515 -0
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjects.mjs +82 -0
- package/dist/hooks/useV2OwnerCrmContributorsOrders.d.mts +43 -0
- package/dist/hooks/useV2OwnerCrmContributorsOrders.d.ts +43 -0
- package/dist/hooks/useV2OwnerCrmContributorsOrders.js +1521 -0
- package/dist/hooks/useV2OwnerCrmContributorsOrders.mjs +82 -0
- package/dist/hooks/useV2OwnerCrmContributorsProjects.d.mts +38 -0
- package/dist/hooks/useV2OwnerCrmContributorsProjects.d.ts +38 -0
- package/dist/hooks/useV2OwnerCrmContributorsProjects.js +1521 -0
- package/dist/hooks/useV2OwnerCrmContributorsProjects.mjs +82 -0
- package/dist/hooks/useV2OwnerCrmContributorsUser.d.mts +108 -0
- package/dist/hooks/useV2OwnerCrmContributorsUser.d.ts +108 -0
- package/dist/hooks/useV2OwnerCrmContributorsUser.js +1521 -0
- package/dist/hooks/useV2OwnerCrmContributorsUser.mjs +82 -0
- package/dist/hooks/useV2OwnerCrmOrdersZipGenerations.d.mts +78 -0
- package/dist/hooks/useV2OwnerCrmOrdersZipGenerations.d.ts +78 -0
- package/dist/hooks/useV2OwnerCrmOrdersZipGenerations.js +1521 -0
- package/dist/hooks/useV2OwnerCrmOrdersZipGenerations.mjs +82 -0
- package/dist/hooks/useV2OwnerCrmRewardDeliveries.d.mts +88 -0
- package/dist/hooks/useV2OwnerCrmRewardDeliveries.d.ts +88 -0
- package/dist/hooks/useV2OwnerCrmRewardDeliveries.js +1521 -0
- package/dist/hooks/useV2OwnerCrmRewardDeliveries.mjs +82 -0
- package/dist/hooks/useV2OwnerCrmRewardDeliveriesExOptions.d.mts +38 -0
- package/dist/hooks/useV2OwnerCrmRewardDeliveriesExOptions.d.ts +38 -0
- package/dist/hooks/useV2OwnerCrmRewardDeliveriesExOptions.js +1521 -0
- package/dist/hooks/useV2OwnerCrmRewardDeliveriesExOptions.mjs +82 -0
- package/dist/hooks/useV2OwnerCrmRewards.d.mts +68 -0
- package/dist/hooks/useV2OwnerCrmRewards.d.ts +68 -0
- package/dist/hooks/useV2OwnerCrmRewards.js +1513 -0
- package/dist/hooks/useV2OwnerCrmRewards.mjs +82 -0
- package/dist/hooks/useV2ResourcesBankBranches.d.mts +38 -0
- package/dist/hooks/useV2ResourcesBankBranches.d.ts +38 -0
- package/dist/hooks/useV2ResourcesBankBranches.js +1521 -0
- package/dist/hooks/useV2ResourcesBankBranches.mjs +82 -0
- package/dist/hooks/useV2ResourcesBanks.d.mts +38 -0
- package/dist/hooks/useV2ResourcesBanks.d.ts +38 -0
- package/dist/hooks/useV2ResourcesBanks.js +1513 -0
- package/dist/hooks/useV2ResourcesBanks.mjs +82 -0
- package/dist/hooks/useV2ResourcesUsers.d.mts +38 -0
- package/dist/hooks/useV2ResourcesUsers.d.ts +38 -0
- package/dist/hooks/useV2ResourcesUsers.js +1513 -0
- package/dist/hooks/useV2ResourcesUsers.mjs +82 -0
- package/dist/hooks/useV2Token.d.mts +37 -0
- package/dist/hooks/useV2Token.d.ts +37 -0
- package/dist/hooks/useV2Token.js +1511 -0
- package/dist/hooks/useV2Token.mjs +82 -0
- package/dist/index.mjs +1 -0
- package/package.json +7 -7
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import {
|
|
2
|
+
buildV2OwnerCrmRewardsGetFetcher
|
|
3
|
+
} from "./chunk-FTAT7M2H.mjs";
|
|
4
|
+
|
|
5
|
+
// src/hooks/useV2OwnerCrmRewards.ts
|
|
6
|
+
import useSWRImmutable from "swr/immutable";
|
|
7
|
+
import useSWRInfinite from "swr/infinite";
|
|
8
|
+
import useSWR from "swr";
|
|
9
|
+
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
+
var v2OwnerCrmRewardsGetFetcher = buildV2OwnerCrmRewardsGetFetcher();
|
|
11
|
+
var useV2OwnerCrmRewards = (query, swrConfig) => {
|
|
12
|
+
const key = __internal__requestUrl("/api/v2/owner-crm/rewards", {}, query);
|
|
13
|
+
const result = useSWR(
|
|
14
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
15
|
+
v2OwnerCrmRewardsGetFetcher,
|
|
16
|
+
swrConfig
|
|
17
|
+
);
|
|
18
|
+
return { key, ...result };
|
|
19
|
+
};
|
|
20
|
+
var useV2OwnerCrmRewardsImmutable = (query, swrConfig) => {
|
|
21
|
+
const key = __internal__requestUrl("/api/v2/owner-crm/rewards", {}, query);
|
|
22
|
+
const result = useSWRImmutable(
|
|
23
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
24
|
+
v2OwnerCrmRewardsGetFetcher,
|
|
25
|
+
swrConfig
|
|
26
|
+
);
|
|
27
|
+
return { key, ...result };
|
|
28
|
+
};
|
|
29
|
+
var useV2OwnerCrmRewardsInfinite = (getKey, swrConfig) => useSWRInfinite(
|
|
30
|
+
getKey(
|
|
31
|
+
(query) => __internal__requestUrl({}, query)
|
|
32
|
+
),
|
|
33
|
+
v2OwnerCrmRewardsGetFetcher,
|
|
34
|
+
swrConfig
|
|
35
|
+
);
|
|
36
|
+
|
|
37
|
+
export {
|
|
38
|
+
useV2OwnerCrmRewards,
|
|
39
|
+
useV2OwnerCrmRewardsImmutable,
|
|
40
|
+
useV2OwnerCrmRewardsInfinite
|
|
41
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import {
|
|
2
|
+
buildV2FundraisingRewardsGetFetcher
|
|
3
|
+
} from "./chunk-TDF5SHXQ.mjs";
|
|
4
|
+
|
|
5
|
+
// src/hooks/useV2FundraisingRewards.ts
|
|
6
|
+
import useSWRImmutable from "swr/immutable";
|
|
7
|
+
import useSWRInfinite from "swr/infinite";
|
|
8
|
+
import useSWR from "swr";
|
|
9
|
+
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
+
var v2FundraisingRewardsGetFetcher = buildV2FundraisingRewardsGetFetcher();
|
|
11
|
+
var useV2FundraisingRewards = (query, swrConfig) => {
|
|
12
|
+
const key = __internal__requestUrl("/api/v2/fundraising/rewards", {}, query);
|
|
13
|
+
const result = useSWR(
|
|
14
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
15
|
+
v2FundraisingRewardsGetFetcher,
|
|
16
|
+
swrConfig
|
|
17
|
+
);
|
|
18
|
+
return { key, ...result };
|
|
19
|
+
};
|
|
20
|
+
var useV2FundraisingRewardsImmutable = (query, swrConfig) => {
|
|
21
|
+
const key = __internal__requestUrl("/api/v2/fundraising/rewards", {}, query);
|
|
22
|
+
const result = useSWRImmutable(
|
|
23
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
24
|
+
v2FundraisingRewardsGetFetcher,
|
|
25
|
+
swrConfig
|
|
26
|
+
);
|
|
27
|
+
return { key, ...result };
|
|
28
|
+
};
|
|
29
|
+
var useV2FundraisingRewardsInfinite = (getKey, swrConfig) => useSWRInfinite(
|
|
30
|
+
getKey(
|
|
31
|
+
(query) => __internal__requestUrl({}, query)
|
|
32
|
+
),
|
|
33
|
+
v2FundraisingRewardsGetFetcher,
|
|
34
|
+
swrConfig
|
|
35
|
+
);
|
|
36
|
+
|
|
37
|
+
export {
|
|
38
|
+
useV2FundraisingRewards,
|
|
39
|
+
useV2FundraisingRewardsImmutable,
|
|
40
|
+
useV2FundraisingRewardsInfinite
|
|
41
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import {
|
|
2
|
+
buildV2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewardsGetFetcher
|
|
3
|
+
} from "./chunk-23SSXE27.mjs";
|
|
4
|
+
|
|
5
|
+
// src/hooks/useV2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewards.ts
|
|
6
|
+
import useSWRImmutable from "swr/immutable";
|
|
7
|
+
import useSWRInfinite from "swr/infinite";
|
|
8
|
+
import useSWR from "swr";
|
|
9
|
+
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
+
var v2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewardsGetFetcher = buildV2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewardsGetFetcher();
|
|
11
|
+
var useV2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewards = (path, swrConfig) => {
|
|
12
|
+
const key = __internal__requestUrl(
|
|
13
|
+
"/api/v2/fundraising/bulk_messages/owned_public_projects/{project_id}/rewards",
|
|
14
|
+
path
|
|
15
|
+
);
|
|
16
|
+
const result = useSWR(
|
|
17
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
18
|
+
v2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewardsGetFetcher,
|
|
19
|
+
swrConfig
|
|
20
|
+
);
|
|
21
|
+
return { key, ...result };
|
|
22
|
+
};
|
|
23
|
+
var useV2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewardsImmutable = (path, swrConfig) => {
|
|
24
|
+
const key = __internal__requestUrl(
|
|
25
|
+
"/api/v2/fundraising/bulk_messages/owned_public_projects/{project_id}/rewards",
|
|
26
|
+
path
|
|
27
|
+
);
|
|
28
|
+
const result = useSWRImmutable(
|
|
29
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
30
|
+
v2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewardsGetFetcher,
|
|
31
|
+
swrConfig
|
|
32
|
+
);
|
|
33
|
+
return { key, ...result };
|
|
34
|
+
};
|
|
35
|
+
var useV2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewardsInfinite = (getKey, swrConfig) => useSWRInfinite(
|
|
36
|
+
getKey(
|
|
37
|
+
(path) => __internal__requestUrl(path)
|
|
38
|
+
),
|
|
39
|
+
v2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewardsGetFetcher,
|
|
40
|
+
swrConfig
|
|
41
|
+
);
|
|
42
|
+
|
|
43
|
+
export {
|
|
44
|
+
useV2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewards,
|
|
45
|
+
useV2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewardsImmutable,
|
|
46
|
+
useV2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewardsInfinite
|
|
47
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import {
|
|
2
|
+
buildV2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewardsGetFetcher
|
|
3
|
+
} from "./chunk-GU7CIWJH.mjs";
|
|
4
|
+
|
|
5
|
+
// src/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewards.ts
|
|
6
|
+
import useSWRImmutable from "swr/immutable";
|
|
7
|
+
import useSWRInfinite from "swr/infinite";
|
|
8
|
+
import useSWR from "swr";
|
|
9
|
+
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
+
var v2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewardsGetFetcher = buildV2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewardsGetFetcher();
|
|
11
|
+
var useV2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewards = (query, swrConfig) => {
|
|
12
|
+
const key = __internal__requestUrl(
|
|
13
|
+
"/api/v2/fundraising/spot_crowdfunding_project_orders/owned_project_rewards",
|
|
14
|
+
{},
|
|
15
|
+
query
|
|
16
|
+
);
|
|
17
|
+
const result = useSWR(
|
|
18
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
19
|
+
v2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewardsGetFetcher,
|
|
20
|
+
swrConfig
|
|
21
|
+
);
|
|
22
|
+
return { key, ...result };
|
|
23
|
+
};
|
|
24
|
+
var useV2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewardsImmutable = (query, swrConfig) => {
|
|
25
|
+
const key = __internal__requestUrl(
|
|
26
|
+
"/api/v2/fundraising/spot_crowdfunding_project_orders/owned_project_rewards",
|
|
27
|
+
{},
|
|
28
|
+
query
|
|
29
|
+
);
|
|
30
|
+
const result = useSWRImmutable(
|
|
31
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
32
|
+
v2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewardsGetFetcher,
|
|
33
|
+
swrConfig
|
|
34
|
+
);
|
|
35
|
+
return { key, ...result };
|
|
36
|
+
};
|
|
37
|
+
var useV2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewardsInfinite = (getKey, swrConfig) => useSWRInfinite(
|
|
38
|
+
getKey(
|
|
39
|
+
(query) => __internal__requestUrl({}, query)
|
|
40
|
+
),
|
|
41
|
+
v2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewardsGetFetcher,
|
|
42
|
+
swrConfig
|
|
43
|
+
);
|
|
44
|
+
|
|
45
|
+
export {
|
|
46
|
+
useV2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewards,
|
|
47
|
+
useV2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewardsImmutable,
|
|
48
|
+
useV2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewardsInfinite
|
|
49
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import {
|
|
2
|
+
buildV2ContributionsRecommendedProjectsGetFetcher
|
|
3
|
+
} from "./chunk-AAXIJIIZ.mjs";
|
|
4
|
+
|
|
5
|
+
// src/hooks/useV2ContributionsRecommendedProjects.ts
|
|
6
|
+
import useSWRImmutable from "swr/immutable";
|
|
7
|
+
import useSWRInfinite from "swr/infinite";
|
|
8
|
+
import useSWR from "swr";
|
|
9
|
+
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
+
var v2ContributionsRecommendedProjectsGetFetcher = buildV2ContributionsRecommendedProjectsGetFetcher();
|
|
11
|
+
var useV2ContributionsRecommendedProjects = (swrConfig) => {
|
|
12
|
+
const key = __internal__requestUrl(
|
|
13
|
+
"/api/v2/contributions/recommended_projects"
|
|
14
|
+
);
|
|
15
|
+
const result = useSWR(
|
|
16
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
17
|
+
v2ContributionsRecommendedProjectsGetFetcher,
|
|
18
|
+
swrConfig
|
|
19
|
+
);
|
|
20
|
+
return { key, ...result };
|
|
21
|
+
};
|
|
22
|
+
var useV2ContributionsRecommendedProjectsImmutable = (swrConfig) => {
|
|
23
|
+
const key = __internal__requestUrl(
|
|
24
|
+
"/api/v2/contributions/recommended_projects"
|
|
25
|
+
);
|
|
26
|
+
const result = useSWRImmutable(
|
|
27
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
28
|
+
v2ContributionsRecommendedProjectsGetFetcher,
|
|
29
|
+
swrConfig
|
|
30
|
+
);
|
|
31
|
+
return { key, ...result };
|
|
32
|
+
};
|
|
33
|
+
var useV2ContributionsRecommendedProjectsInfinite = (getKey, swrConfig) => useSWRInfinite(
|
|
34
|
+
getKey(() => __internal__requestUrl()),
|
|
35
|
+
v2ContributionsRecommendedProjectsGetFetcher,
|
|
36
|
+
swrConfig
|
|
37
|
+
);
|
|
38
|
+
|
|
39
|
+
export {
|
|
40
|
+
useV2ContributionsRecommendedProjects,
|
|
41
|
+
useV2ContributionsRecommendedProjectsImmutable,
|
|
42
|
+
useV2ContributionsRecommendedProjectsInfinite
|
|
43
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import {
|
|
2
|
+
buildV2FundraisingRewardsAllGetFetcher
|
|
3
|
+
} from "./chunk-6HT7BHI5.mjs";
|
|
4
|
+
|
|
5
|
+
// src/hooks/useV2FundraisingRewardsAll.ts
|
|
6
|
+
import useSWRImmutable from "swr/immutable";
|
|
7
|
+
import useSWRInfinite from "swr/infinite";
|
|
8
|
+
import useSWR from "swr";
|
|
9
|
+
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
+
var v2FundraisingRewardsAllGetFetcher = buildV2FundraisingRewardsAllGetFetcher();
|
|
11
|
+
var useV2FundraisingRewardsAll = (query, swrConfig) => {
|
|
12
|
+
const key = __internal__requestUrl(
|
|
13
|
+
"/api/v2/fundraising/rewards/all",
|
|
14
|
+
{},
|
|
15
|
+
query
|
|
16
|
+
);
|
|
17
|
+
const result = useSWR(
|
|
18
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
19
|
+
v2FundraisingRewardsAllGetFetcher,
|
|
20
|
+
swrConfig
|
|
21
|
+
);
|
|
22
|
+
return { key, ...result };
|
|
23
|
+
};
|
|
24
|
+
var useV2FundraisingRewardsAllImmutable = (query, swrConfig) => {
|
|
25
|
+
const key = __internal__requestUrl(
|
|
26
|
+
"/api/v2/fundraising/rewards/all",
|
|
27
|
+
{},
|
|
28
|
+
query
|
|
29
|
+
);
|
|
30
|
+
const result = useSWRImmutable(
|
|
31
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
32
|
+
v2FundraisingRewardsAllGetFetcher,
|
|
33
|
+
swrConfig
|
|
34
|
+
);
|
|
35
|
+
return { key, ...result };
|
|
36
|
+
};
|
|
37
|
+
var useV2FundraisingRewardsAllInfinite = (getKey, swrConfig) => useSWRInfinite(
|
|
38
|
+
getKey(
|
|
39
|
+
(query) => __internal__requestUrl({}, query)
|
|
40
|
+
),
|
|
41
|
+
v2FundraisingRewardsAllGetFetcher,
|
|
42
|
+
swrConfig
|
|
43
|
+
);
|
|
44
|
+
|
|
45
|
+
export {
|
|
46
|
+
useV2FundraisingRewardsAll,
|
|
47
|
+
useV2FundraisingRewardsAllImmutable,
|
|
48
|
+
useV2FundraisingRewardsAllInfinite
|
|
49
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import {
|
|
2
|
+
buildV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjectsGetFetcher
|
|
3
|
+
} from "./chunk-SUZUNA7G.mjs";
|
|
4
|
+
|
|
5
|
+
// src/hooks/useV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjects.ts
|
|
6
|
+
import useSWRImmutable from "swr/immutable";
|
|
7
|
+
import useSWRInfinite from "swr/infinite";
|
|
8
|
+
import useSWR from "swr";
|
|
9
|
+
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
+
var v2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjectsGetFetcher = buildV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjectsGetFetcher();
|
|
11
|
+
var useV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjects = (swrConfig) => {
|
|
12
|
+
const key = __internal__requestUrl(
|
|
13
|
+
"/api/v2/fundraising/steady_crowdfunding_projects/owned_public_projects"
|
|
14
|
+
);
|
|
15
|
+
const result = useSWR(
|
|
16
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
17
|
+
v2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjectsGetFetcher,
|
|
18
|
+
swrConfig
|
|
19
|
+
);
|
|
20
|
+
return { key, ...result };
|
|
21
|
+
};
|
|
22
|
+
var useV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjectsImmutable = (swrConfig) => {
|
|
23
|
+
const key = __internal__requestUrl(
|
|
24
|
+
"/api/v2/fundraising/steady_crowdfunding_projects/owned_public_projects"
|
|
25
|
+
);
|
|
26
|
+
const result = useSWRImmutable(
|
|
27
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
28
|
+
v2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjectsGetFetcher,
|
|
29
|
+
swrConfig
|
|
30
|
+
);
|
|
31
|
+
return { key, ...result };
|
|
32
|
+
};
|
|
33
|
+
var useV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjectsInfinite = (getKey, swrConfig) => useSWRInfinite(
|
|
34
|
+
getKey(() => __internal__requestUrl()),
|
|
35
|
+
v2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjectsGetFetcher,
|
|
36
|
+
swrConfig
|
|
37
|
+
);
|
|
38
|
+
|
|
39
|
+
export {
|
|
40
|
+
useV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjects,
|
|
41
|
+
useV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjectsImmutable,
|
|
42
|
+
useV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjectsInfinite
|
|
43
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import {
|
|
2
|
+
buildV2FundraisingContributorsUsersGetFetcher
|
|
3
|
+
} from "./chunk-KM4QWO3Z.mjs";
|
|
4
|
+
|
|
5
|
+
// src/hooks/useV2FundraisingContributorsUsers.ts
|
|
6
|
+
import useSWRImmutable from "swr/immutable";
|
|
7
|
+
import useSWRInfinite from "swr/infinite";
|
|
8
|
+
import useSWR from "swr";
|
|
9
|
+
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
+
var v2FundraisingContributorsUsersGetFetcher = buildV2FundraisingContributorsUsersGetFetcher();
|
|
11
|
+
var useV2FundraisingContributorsUsers = (query, swrConfig) => {
|
|
12
|
+
const key = __internal__requestUrl(
|
|
13
|
+
"/api/v2/fundraising/contributors/users",
|
|
14
|
+
{},
|
|
15
|
+
query
|
|
16
|
+
);
|
|
17
|
+
const result = useSWR(
|
|
18
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
19
|
+
v2FundraisingContributorsUsersGetFetcher,
|
|
20
|
+
swrConfig
|
|
21
|
+
);
|
|
22
|
+
return { key, ...result };
|
|
23
|
+
};
|
|
24
|
+
var useV2FundraisingContributorsUsersImmutable = (query, swrConfig) => {
|
|
25
|
+
const key = __internal__requestUrl(
|
|
26
|
+
"/api/v2/fundraising/contributors/users",
|
|
27
|
+
{},
|
|
28
|
+
query
|
|
29
|
+
);
|
|
30
|
+
const result = useSWRImmutable(
|
|
31
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
32
|
+
v2FundraisingContributorsUsersGetFetcher,
|
|
33
|
+
swrConfig
|
|
34
|
+
);
|
|
35
|
+
return { key, ...result };
|
|
36
|
+
};
|
|
37
|
+
var useV2FundraisingContributorsUsersInfinite = (getKey, swrConfig) => useSWRInfinite(
|
|
38
|
+
getKey(
|
|
39
|
+
(query) => __internal__requestUrl({}, query)
|
|
40
|
+
),
|
|
41
|
+
v2FundraisingContributorsUsersGetFetcher,
|
|
42
|
+
swrConfig
|
|
43
|
+
);
|
|
44
|
+
|
|
45
|
+
export {
|
|
46
|
+
useV2FundraisingContributorsUsers,
|
|
47
|
+
useV2FundraisingContributorsUsersImmutable,
|
|
48
|
+
useV2FundraisingContributorsUsersInfinite
|
|
49
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import {
|
|
2
|
+
buildV2ContributionsCheckOwnerFriendGetFetcher
|
|
3
|
+
} from "./chunk-NPKYYZIX.mjs";
|
|
4
|
+
|
|
5
|
+
// src/hooks/useV2ContributionsCheckOwnerFriend.ts
|
|
6
|
+
import useSWRImmutable from "swr/immutable";
|
|
7
|
+
import useSWRInfinite from "swr/infinite";
|
|
8
|
+
import useSWR from "swr";
|
|
9
|
+
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
+
var v2ContributionsCheckOwnerFriendGetFetcher = buildV2ContributionsCheckOwnerFriendGetFetcher();
|
|
11
|
+
var useV2ContributionsCheckOwnerFriend = (query, swrConfig) => {
|
|
12
|
+
const key = __internal__requestUrl(
|
|
13
|
+
"/api/v2/contributions/check_owner_friend",
|
|
14
|
+
{},
|
|
15
|
+
query
|
|
16
|
+
);
|
|
17
|
+
const result = useSWR(
|
|
18
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
19
|
+
v2ContributionsCheckOwnerFriendGetFetcher,
|
|
20
|
+
swrConfig
|
|
21
|
+
);
|
|
22
|
+
return { key, ...result };
|
|
23
|
+
};
|
|
24
|
+
var useV2ContributionsCheckOwnerFriendImmutable = (query, swrConfig) => {
|
|
25
|
+
const key = __internal__requestUrl(
|
|
26
|
+
"/api/v2/contributions/check_owner_friend",
|
|
27
|
+
{},
|
|
28
|
+
query
|
|
29
|
+
);
|
|
30
|
+
const result = useSWRImmutable(
|
|
31
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
32
|
+
v2ContributionsCheckOwnerFriendGetFetcher,
|
|
33
|
+
swrConfig
|
|
34
|
+
);
|
|
35
|
+
return { key, ...result };
|
|
36
|
+
};
|
|
37
|
+
var useV2ContributionsCheckOwnerFriendInfinite = (getKey, swrConfig) => useSWRInfinite(
|
|
38
|
+
getKey(
|
|
39
|
+
(query) => __internal__requestUrl({}, query)
|
|
40
|
+
),
|
|
41
|
+
v2ContributionsCheckOwnerFriendGetFetcher,
|
|
42
|
+
swrConfig
|
|
43
|
+
);
|
|
44
|
+
|
|
45
|
+
export {
|
|
46
|
+
useV2ContributionsCheckOwnerFriend,
|
|
47
|
+
useV2ContributionsCheckOwnerFriendImmutable,
|
|
48
|
+
useV2ContributionsCheckOwnerFriendInfinite
|
|
49
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import {
|
|
2
|
+
buildV2FundraisingBulkMessagesTargetUsersGetFetcher
|
|
3
|
+
} from "./chunk-433VA4NB.mjs";
|
|
4
|
+
|
|
5
|
+
// src/hooks/useV2FundraisingBulkMessagesTargetUsers.ts
|
|
6
|
+
import useSWRImmutable from "swr/immutable";
|
|
7
|
+
import useSWRInfinite from "swr/infinite";
|
|
8
|
+
import useSWR from "swr";
|
|
9
|
+
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
+
var v2FundraisingBulkMessagesTargetUsersGetFetcher = buildV2FundraisingBulkMessagesTargetUsersGetFetcher();
|
|
11
|
+
var useV2FundraisingBulkMessagesTargetUsers = (query, swrConfig) => {
|
|
12
|
+
const key = __internal__requestUrl(
|
|
13
|
+
"/api/v2/fundraising/bulk_messages/target_users",
|
|
14
|
+
{},
|
|
15
|
+
query
|
|
16
|
+
);
|
|
17
|
+
const result = useSWR(
|
|
18
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
19
|
+
v2FundraisingBulkMessagesTargetUsersGetFetcher,
|
|
20
|
+
swrConfig
|
|
21
|
+
);
|
|
22
|
+
return { key, ...result };
|
|
23
|
+
};
|
|
24
|
+
var useV2FundraisingBulkMessagesTargetUsersImmutable = (query, swrConfig) => {
|
|
25
|
+
const key = __internal__requestUrl(
|
|
26
|
+
"/api/v2/fundraising/bulk_messages/target_users",
|
|
27
|
+
{},
|
|
28
|
+
query
|
|
29
|
+
);
|
|
30
|
+
const result = useSWRImmutable(
|
|
31
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
32
|
+
v2FundraisingBulkMessagesTargetUsersGetFetcher,
|
|
33
|
+
swrConfig
|
|
34
|
+
);
|
|
35
|
+
return { key, ...result };
|
|
36
|
+
};
|
|
37
|
+
var useV2FundraisingBulkMessagesTargetUsersInfinite = (getKey, swrConfig) => useSWRInfinite(
|
|
38
|
+
getKey(
|
|
39
|
+
(query) => __internal__requestUrl({}, query)
|
|
40
|
+
),
|
|
41
|
+
v2FundraisingBulkMessagesTargetUsersGetFetcher,
|
|
42
|
+
swrConfig
|
|
43
|
+
);
|
|
44
|
+
|
|
45
|
+
export {
|
|
46
|
+
useV2FundraisingBulkMessagesTargetUsers,
|
|
47
|
+
useV2FundraisingBulkMessagesTargetUsersImmutable,
|
|
48
|
+
useV2FundraisingBulkMessagesTargetUsersInfinite
|
|
49
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import {
|
|
2
|
+
buildV2FundraisingRewardsRewardIdGetFetcher
|
|
3
|
+
} from "./chunk-XMVJTPFQ.mjs";
|
|
4
|
+
|
|
5
|
+
// src/hooks/useV2FundraisingRewardsRewardId.ts
|
|
6
|
+
import useSWRImmutable from "swr/immutable";
|
|
7
|
+
import useSWRInfinite from "swr/infinite";
|
|
8
|
+
import useSWR from "swr";
|
|
9
|
+
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
+
var v2FundraisingRewardsRewardIdGetFetcher = buildV2FundraisingRewardsRewardIdGetFetcher();
|
|
11
|
+
var useV2FundraisingRewardsRewardId = (path, swrConfig) => {
|
|
12
|
+
const key = __internal__requestUrl(
|
|
13
|
+
"/api/v2/fundraising/rewards/{reward_id}",
|
|
14
|
+
path
|
|
15
|
+
);
|
|
16
|
+
const result = useSWR(
|
|
17
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
18
|
+
v2FundraisingRewardsRewardIdGetFetcher,
|
|
19
|
+
swrConfig
|
|
20
|
+
);
|
|
21
|
+
return { key, ...result };
|
|
22
|
+
};
|
|
23
|
+
var useV2FundraisingRewardsRewardIdImmutable = (path, swrConfig) => {
|
|
24
|
+
const key = __internal__requestUrl(
|
|
25
|
+
"/api/v2/fundraising/rewards/{reward_id}",
|
|
26
|
+
path
|
|
27
|
+
);
|
|
28
|
+
const result = useSWRImmutable(
|
|
29
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
30
|
+
v2FundraisingRewardsRewardIdGetFetcher,
|
|
31
|
+
swrConfig
|
|
32
|
+
);
|
|
33
|
+
return { key, ...result };
|
|
34
|
+
};
|
|
35
|
+
var useV2FundraisingRewardsRewardIdInfinite = (getKey, swrConfig) => useSWRInfinite(
|
|
36
|
+
getKey(
|
|
37
|
+
(path) => __internal__requestUrl(path)
|
|
38
|
+
),
|
|
39
|
+
v2FundraisingRewardsRewardIdGetFetcher,
|
|
40
|
+
swrConfig
|
|
41
|
+
);
|
|
42
|
+
|
|
43
|
+
export {
|
|
44
|
+
useV2FundraisingRewardsRewardId,
|
|
45
|
+
useV2FundraisingRewardsRewardIdImmutable,
|
|
46
|
+
useV2FundraisingRewardsRewardIdInfinite
|
|
47
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import {
|
|
2
|
+
buildV2FundraisingContributorsCountGetFetcher
|
|
3
|
+
} from "./chunk-X2FGHCY3.mjs";
|
|
4
|
+
|
|
5
|
+
// src/hooks/useV2FundraisingContributorsCount.ts
|
|
6
|
+
import useSWRImmutable from "swr/immutable";
|
|
7
|
+
import useSWRInfinite from "swr/infinite";
|
|
8
|
+
import useSWR from "swr";
|
|
9
|
+
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
+
var v2FundraisingContributorsCountGetFetcher = buildV2FundraisingContributorsCountGetFetcher();
|
|
11
|
+
var useV2FundraisingContributorsCount = (query, swrConfig) => {
|
|
12
|
+
const key = __internal__requestUrl(
|
|
13
|
+
"/api/v2/fundraising/contributors/count",
|
|
14
|
+
{},
|
|
15
|
+
query
|
|
16
|
+
);
|
|
17
|
+
const result = useSWR(
|
|
18
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
19
|
+
v2FundraisingContributorsCountGetFetcher,
|
|
20
|
+
swrConfig
|
|
21
|
+
);
|
|
22
|
+
return { key, ...result };
|
|
23
|
+
};
|
|
24
|
+
var useV2FundraisingContributorsCountImmutable = (query, swrConfig) => {
|
|
25
|
+
const key = __internal__requestUrl(
|
|
26
|
+
"/api/v2/fundraising/contributors/count",
|
|
27
|
+
{},
|
|
28
|
+
query
|
|
29
|
+
);
|
|
30
|
+
const result = useSWRImmutable(
|
|
31
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
32
|
+
v2FundraisingContributorsCountGetFetcher,
|
|
33
|
+
swrConfig
|
|
34
|
+
);
|
|
35
|
+
return { key, ...result };
|
|
36
|
+
};
|
|
37
|
+
var useV2FundraisingContributorsCountInfinite = (getKey, swrConfig) => useSWRInfinite(
|
|
38
|
+
getKey(
|
|
39
|
+
(query) => __internal__requestUrl({}, query)
|
|
40
|
+
),
|
|
41
|
+
v2FundraisingContributorsCountGetFetcher,
|
|
42
|
+
swrConfig
|
|
43
|
+
);
|
|
44
|
+
|
|
45
|
+
export {
|
|
46
|
+
useV2FundraisingContributorsCount,
|
|
47
|
+
useV2FundraisingContributorsCountImmutable,
|
|
48
|
+
useV2FundraisingContributorsCountInfinite
|
|
49
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import {
|
|
2
|
+
buildV2ContributionsPaymentMethodsGetFetcher
|
|
3
|
+
} from "./chunk-BIRCC4CR.mjs";
|
|
4
|
+
|
|
5
|
+
// src/hooks/useV2ContributionsPaymentMethods.ts
|
|
6
|
+
import useSWRImmutable from "swr/immutable";
|
|
7
|
+
import useSWRInfinite from "swr/infinite";
|
|
8
|
+
import useSWR from "swr";
|
|
9
|
+
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
+
var v2ContributionsPaymentMethodsGetFetcher = buildV2ContributionsPaymentMethodsGetFetcher();
|
|
11
|
+
var useV2ContributionsPaymentMethods = (swrConfig) => {
|
|
12
|
+
const key = __internal__requestUrl("/api/v2/contributions/payment_methods");
|
|
13
|
+
const result = useSWR(
|
|
14
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
15
|
+
v2ContributionsPaymentMethodsGetFetcher,
|
|
16
|
+
swrConfig
|
|
17
|
+
);
|
|
18
|
+
return { key, ...result };
|
|
19
|
+
};
|
|
20
|
+
var useV2ContributionsPaymentMethodsImmutable = (swrConfig) => {
|
|
21
|
+
const key = __internal__requestUrl("/api/v2/contributions/payment_methods");
|
|
22
|
+
const result = useSWRImmutable(
|
|
23
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
24
|
+
v2ContributionsPaymentMethodsGetFetcher,
|
|
25
|
+
swrConfig
|
|
26
|
+
);
|
|
27
|
+
return { key, ...result };
|
|
28
|
+
};
|
|
29
|
+
var useV2ContributionsPaymentMethodsInfinite = (getKey, swrConfig) => useSWRInfinite(
|
|
30
|
+
getKey(() => __internal__requestUrl()),
|
|
31
|
+
v2ContributionsPaymentMethodsGetFetcher,
|
|
32
|
+
swrConfig
|
|
33
|
+
);
|
|
34
|
+
|
|
35
|
+
export {
|
|
36
|
+
useV2ContributionsPaymentMethods,
|
|
37
|
+
useV2ContributionsPaymentMethodsImmutable,
|
|
38
|
+
useV2ContributionsPaymentMethodsInfinite
|
|
39
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import {
|
|
2
|
+
buildV2FundraisingProjectsProjectIdPaymentSummaryGetFetcher
|
|
3
|
+
} from "./chunk-6G4CIL36.mjs";
|
|
4
|
+
|
|
5
|
+
// src/hooks/useV2FundraisingProjectsProjectIdPaymentSummary.ts
|
|
6
|
+
import useSWRImmutable from "swr/immutable";
|
|
7
|
+
import useSWRInfinite from "swr/infinite";
|
|
8
|
+
import useSWR from "swr";
|
|
9
|
+
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
+
var v2FundraisingProjectsProjectIdPaymentSummaryGetFetcher = buildV2FundraisingProjectsProjectIdPaymentSummaryGetFetcher();
|
|
11
|
+
var useV2FundraisingProjectsProjectIdPaymentSummary = (path, swrConfig) => {
|
|
12
|
+
const key = __internal__requestUrl(
|
|
13
|
+
"/api/v2/fundraising/projects/{project_id}/payment_summary",
|
|
14
|
+
path
|
|
15
|
+
);
|
|
16
|
+
const result = useSWR(
|
|
17
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
18
|
+
v2FundraisingProjectsProjectIdPaymentSummaryGetFetcher,
|
|
19
|
+
swrConfig
|
|
20
|
+
);
|
|
21
|
+
return { key, ...result };
|
|
22
|
+
};
|
|
23
|
+
var useV2FundraisingProjectsProjectIdPaymentSummaryImmutable = (path, swrConfig) => {
|
|
24
|
+
const key = __internal__requestUrl(
|
|
25
|
+
"/api/v2/fundraising/projects/{project_id}/payment_summary",
|
|
26
|
+
path
|
|
27
|
+
);
|
|
28
|
+
const result = useSWRImmutable(
|
|
29
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
30
|
+
v2FundraisingProjectsProjectIdPaymentSummaryGetFetcher,
|
|
31
|
+
swrConfig
|
|
32
|
+
);
|
|
33
|
+
return { key, ...result };
|
|
34
|
+
};
|
|
35
|
+
var useV2FundraisingProjectsProjectIdPaymentSummaryInfinite = (getKey, swrConfig) => useSWRInfinite(
|
|
36
|
+
getKey(
|
|
37
|
+
(path) => __internal__requestUrl(path)
|
|
38
|
+
),
|
|
39
|
+
v2FundraisingProjectsProjectIdPaymentSummaryGetFetcher,
|
|
40
|
+
swrConfig
|
|
41
|
+
);
|
|
42
|
+
|
|
43
|
+
export {
|
|
44
|
+
useV2FundraisingProjectsProjectIdPaymentSummary,
|
|
45
|
+
useV2FundraisingProjectsProjectIdPaymentSummaryImmutable,
|
|
46
|
+
useV2FundraisingProjectsProjectIdPaymentSummaryInfinite
|
|
47
|
+
};
|