@readyfor/api-client-readyfor-api 0.0.1-pr903.f6e652b → 0.0.1-pr904.4f555c8
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,49 @@
|
|
|
1
|
+
import {
|
|
2
|
+
buildV2FundraisingSteadyCrowdfundingProjectOrdersAllGetFetcher
|
|
3
|
+
} from "./chunk-QLN3QJWY.mjs";
|
|
4
|
+
|
|
5
|
+
// src/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersAll.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 v2FundraisingSteadyCrowdfundingProjectOrdersAllGetFetcher = buildV2FundraisingSteadyCrowdfundingProjectOrdersAllGetFetcher();
|
|
11
|
+
var useV2FundraisingSteadyCrowdfundingProjectOrdersAll = (query, swrConfig) => {
|
|
12
|
+
const key = __internal__requestUrl(
|
|
13
|
+
"/api/v2/fundraising/steady_crowdfunding_project_orders/all",
|
|
14
|
+
{},
|
|
15
|
+
query
|
|
16
|
+
);
|
|
17
|
+
const result = useSWR(
|
|
18
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
19
|
+
v2FundraisingSteadyCrowdfundingProjectOrdersAllGetFetcher,
|
|
20
|
+
swrConfig
|
|
21
|
+
);
|
|
22
|
+
return { key, ...result };
|
|
23
|
+
};
|
|
24
|
+
var useV2FundraisingSteadyCrowdfundingProjectOrdersAllImmutable = (query, swrConfig) => {
|
|
25
|
+
const key = __internal__requestUrl(
|
|
26
|
+
"/api/v2/fundraising/steady_crowdfunding_project_orders/all",
|
|
27
|
+
{},
|
|
28
|
+
query
|
|
29
|
+
);
|
|
30
|
+
const result = useSWRImmutable(
|
|
31
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
32
|
+
v2FundraisingSteadyCrowdfundingProjectOrdersAllGetFetcher,
|
|
33
|
+
swrConfig
|
|
34
|
+
);
|
|
35
|
+
return { key, ...result };
|
|
36
|
+
};
|
|
37
|
+
var useV2FundraisingSteadyCrowdfundingProjectOrdersAllInfinite = (getKey, swrConfig) => useSWRInfinite(
|
|
38
|
+
getKey(
|
|
39
|
+
(query) => __internal__requestUrl({}, query)
|
|
40
|
+
),
|
|
41
|
+
v2FundraisingSteadyCrowdfundingProjectOrdersAllGetFetcher,
|
|
42
|
+
swrConfig
|
|
43
|
+
);
|
|
44
|
+
|
|
45
|
+
export {
|
|
46
|
+
useV2FundraisingSteadyCrowdfundingProjectOrdersAll,
|
|
47
|
+
useV2FundraisingSteadyCrowdfundingProjectOrdersAllImmutable,
|
|
48
|
+
useV2FundraisingSteadyCrowdfundingProjectOrdersAllInfinite
|
|
49
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import {
|
|
2
|
+
buildV2FundraisingContributorsCsvGenerationsGetFetcher
|
|
3
|
+
} from "./chunk-4GKY7M6D.mjs";
|
|
4
|
+
|
|
5
|
+
// src/hooks/useV2FundraisingContributorsCsvGenerations.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 v2FundraisingContributorsCsvGenerationsGetFetcher = buildV2FundraisingContributorsCsvGenerationsGetFetcher();
|
|
11
|
+
var useV2FundraisingContributorsCsvGenerations = (swrConfig) => {
|
|
12
|
+
const key = __internal__requestUrl(
|
|
13
|
+
"/api/v2/fundraising/contributors_csv/generations"
|
|
14
|
+
);
|
|
15
|
+
const result = useSWR(
|
|
16
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
17
|
+
v2FundraisingContributorsCsvGenerationsGetFetcher,
|
|
18
|
+
swrConfig
|
|
19
|
+
);
|
|
20
|
+
return { key, ...result };
|
|
21
|
+
};
|
|
22
|
+
var useV2FundraisingContributorsCsvGenerationsImmutable = (swrConfig) => {
|
|
23
|
+
const key = __internal__requestUrl(
|
|
24
|
+
"/api/v2/fundraising/contributors_csv/generations"
|
|
25
|
+
);
|
|
26
|
+
const result = useSWRImmutable(
|
|
27
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
28
|
+
v2FundraisingContributorsCsvGenerationsGetFetcher,
|
|
29
|
+
swrConfig
|
|
30
|
+
);
|
|
31
|
+
return { key, ...result };
|
|
32
|
+
};
|
|
33
|
+
var useV2FundraisingContributorsCsvGenerationsInfinite = (getKey, swrConfig) => useSWRInfinite(
|
|
34
|
+
getKey(() => __internal__requestUrl()),
|
|
35
|
+
v2FundraisingContributorsCsvGenerationsGetFetcher,
|
|
36
|
+
swrConfig
|
|
37
|
+
);
|
|
38
|
+
|
|
39
|
+
export {
|
|
40
|
+
useV2FundraisingContributorsCsvGenerations,
|
|
41
|
+
useV2FundraisingContributorsCsvGenerationsImmutable,
|
|
42
|
+
useV2FundraisingContributorsCsvGenerationsInfinite
|
|
43
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import {
|
|
2
|
+
buildV2FundraisingSpotCrowdfundingProjectOrdersOrderIdGetFetcher
|
|
3
|
+
} from "./chunk-CIJDHT3V.mjs";
|
|
4
|
+
|
|
5
|
+
// src/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOrderId.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 v2FundraisingSpotCrowdfundingProjectOrdersOrderIdGetFetcher = buildV2FundraisingSpotCrowdfundingProjectOrdersOrderIdGetFetcher();
|
|
11
|
+
var useV2FundraisingSpotCrowdfundingProjectOrdersOrderId = (path, swrConfig) => {
|
|
12
|
+
const key = __internal__requestUrl(
|
|
13
|
+
"/api/v2/fundraising/spot_crowdfunding_project_orders/{order_id}",
|
|
14
|
+
path
|
|
15
|
+
);
|
|
16
|
+
const result = useSWR(
|
|
17
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
18
|
+
v2FundraisingSpotCrowdfundingProjectOrdersOrderIdGetFetcher,
|
|
19
|
+
swrConfig
|
|
20
|
+
);
|
|
21
|
+
return { key, ...result };
|
|
22
|
+
};
|
|
23
|
+
var useV2FundraisingSpotCrowdfundingProjectOrdersOrderIdImmutable = (path, swrConfig) => {
|
|
24
|
+
const key = __internal__requestUrl(
|
|
25
|
+
"/api/v2/fundraising/spot_crowdfunding_project_orders/{order_id}",
|
|
26
|
+
path
|
|
27
|
+
);
|
|
28
|
+
const result = useSWRImmutable(
|
|
29
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
30
|
+
v2FundraisingSpotCrowdfundingProjectOrdersOrderIdGetFetcher,
|
|
31
|
+
swrConfig
|
|
32
|
+
);
|
|
33
|
+
return { key, ...result };
|
|
34
|
+
};
|
|
35
|
+
var useV2FundraisingSpotCrowdfundingProjectOrdersOrderIdInfinite = (getKey, swrConfig) => useSWRInfinite(
|
|
36
|
+
getKey(
|
|
37
|
+
(path) => __internal__requestUrl(path)
|
|
38
|
+
),
|
|
39
|
+
v2FundraisingSpotCrowdfundingProjectOrdersOrderIdGetFetcher,
|
|
40
|
+
swrConfig
|
|
41
|
+
);
|
|
42
|
+
|
|
43
|
+
export {
|
|
44
|
+
useV2FundraisingSpotCrowdfundingProjectOrdersOrderId,
|
|
45
|
+
useV2FundraisingSpotCrowdfundingProjectOrdersOrderIdImmutable,
|
|
46
|
+
useV2FundraisingSpotCrowdfundingProjectOrdersOrderIdInfinite
|
|
47
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import {
|
|
2
|
+
buildV2FundraisingBulkMessagesTargetUsersCountGetFetcher
|
|
3
|
+
} from "./chunk-S37SJVVS.mjs";
|
|
4
|
+
|
|
5
|
+
// src/hooks/useV2FundraisingBulkMessagesTargetUsersCount.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 v2FundraisingBulkMessagesTargetUsersCountGetFetcher = buildV2FundraisingBulkMessagesTargetUsersCountGetFetcher();
|
|
11
|
+
var useV2FundraisingBulkMessagesTargetUsersCount = (swrConfig) => {
|
|
12
|
+
const key = __internal__requestUrl(
|
|
13
|
+
"/api/v2/fundraising/bulk_messages/target_users/count"
|
|
14
|
+
);
|
|
15
|
+
const result = useSWR(
|
|
16
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
17
|
+
v2FundraisingBulkMessagesTargetUsersCountGetFetcher,
|
|
18
|
+
swrConfig
|
|
19
|
+
);
|
|
20
|
+
return { key, ...result };
|
|
21
|
+
};
|
|
22
|
+
var useV2FundraisingBulkMessagesTargetUsersCountImmutable = (swrConfig) => {
|
|
23
|
+
const key = __internal__requestUrl(
|
|
24
|
+
"/api/v2/fundraising/bulk_messages/target_users/count"
|
|
25
|
+
);
|
|
26
|
+
const result = useSWRImmutable(
|
|
27
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
28
|
+
v2FundraisingBulkMessagesTargetUsersCountGetFetcher,
|
|
29
|
+
swrConfig
|
|
30
|
+
);
|
|
31
|
+
return { key, ...result };
|
|
32
|
+
};
|
|
33
|
+
var useV2FundraisingBulkMessagesTargetUsersCountInfinite = (getKey, swrConfig) => useSWRInfinite(
|
|
34
|
+
getKey(() => __internal__requestUrl()),
|
|
35
|
+
v2FundraisingBulkMessagesTargetUsersCountGetFetcher,
|
|
36
|
+
swrConfig
|
|
37
|
+
);
|
|
38
|
+
|
|
39
|
+
export {
|
|
40
|
+
useV2FundraisingBulkMessagesTargetUsersCount,
|
|
41
|
+
useV2FundraisingBulkMessagesTargetUsersCountImmutable,
|
|
42
|
+
useV2FundraisingBulkMessagesTargetUsersCountInfinite
|
|
43
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import {
|
|
2
|
+
buildV2FundraisingSpotCrowdfundingProjectsOwnedPublicProjectsGetFetcher
|
|
3
|
+
} from "./chunk-6XN2GYTZ.mjs";
|
|
4
|
+
|
|
5
|
+
// src/hooks/useV2FundraisingSpotCrowdfundingProjectsOwnedPublicProjects.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 v2FundraisingSpotCrowdfundingProjectsOwnedPublicProjectsGetFetcher = buildV2FundraisingSpotCrowdfundingProjectsOwnedPublicProjectsGetFetcher();
|
|
11
|
+
var useV2FundraisingSpotCrowdfundingProjectsOwnedPublicProjects = (swrConfig) => {
|
|
12
|
+
const key = __internal__requestUrl(
|
|
13
|
+
"/api/v2/fundraising/spot_crowdfunding_projects/owned_public_projects"
|
|
14
|
+
);
|
|
15
|
+
const result = useSWR(
|
|
16
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
17
|
+
v2FundraisingSpotCrowdfundingProjectsOwnedPublicProjectsGetFetcher,
|
|
18
|
+
swrConfig
|
|
19
|
+
);
|
|
20
|
+
return { key, ...result };
|
|
21
|
+
};
|
|
22
|
+
var useV2FundraisingSpotCrowdfundingProjectsOwnedPublicProjectsImmutable = (swrConfig) => {
|
|
23
|
+
const key = __internal__requestUrl(
|
|
24
|
+
"/api/v2/fundraising/spot_crowdfunding_projects/owned_public_projects"
|
|
25
|
+
);
|
|
26
|
+
const result = useSWRImmutable(
|
|
27
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
28
|
+
v2FundraisingSpotCrowdfundingProjectsOwnedPublicProjectsGetFetcher,
|
|
29
|
+
swrConfig
|
|
30
|
+
);
|
|
31
|
+
return { key, ...result };
|
|
32
|
+
};
|
|
33
|
+
var useV2FundraisingSpotCrowdfundingProjectsOwnedPublicProjectsInfinite = (getKey, swrConfig) => useSWRInfinite(
|
|
34
|
+
getKey(() => __internal__requestUrl()),
|
|
35
|
+
v2FundraisingSpotCrowdfundingProjectsOwnedPublicProjectsGetFetcher,
|
|
36
|
+
swrConfig
|
|
37
|
+
);
|
|
38
|
+
|
|
39
|
+
export {
|
|
40
|
+
useV2FundraisingSpotCrowdfundingProjectsOwnedPublicProjects,
|
|
41
|
+
useV2FundraisingSpotCrowdfundingProjectsOwnedPublicProjectsImmutable,
|
|
42
|
+
useV2FundraisingSpotCrowdfundingProjectsOwnedPublicProjectsInfinite
|
|
43
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import {
|
|
2
|
+
buildV2FundraisingRewardsDeliveryStateProgressGetFetcher
|
|
3
|
+
} from "./chunk-P2CS5C4S.mjs";
|
|
4
|
+
|
|
5
|
+
// src/hooks/useV2FundraisingRewardsDeliveryStateProgress.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 v2FundraisingRewardsDeliveryStateProgressGetFetcher = buildV2FundraisingRewardsDeliveryStateProgressGetFetcher();
|
|
11
|
+
var useV2FundraisingRewardsDeliveryStateProgress = (swrConfig) => {
|
|
12
|
+
const key = __internal__requestUrl(
|
|
13
|
+
"/api/v2/fundraising/rewards/delivery_state/progress"
|
|
14
|
+
);
|
|
15
|
+
const result = useSWR(
|
|
16
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
17
|
+
v2FundraisingRewardsDeliveryStateProgressGetFetcher,
|
|
18
|
+
swrConfig
|
|
19
|
+
);
|
|
20
|
+
return { key, ...result };
|
|
21
|
+
};
|
|
22
|
+
var useV2FundraisingRewardsDeliveryStateProgressImmutable = (swrConfig) => {
|
|
23
|
+
const key = __internal__requestUrl(
|
|
24
|
+
"/api/v2/fundraising/rewards/delivery_state/progress"
|
|
25
|
+
);
|
|
26
|
+
const result = useSWRImmutable(
|
|
27
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
28
|
+
v2FundraisingRewardsDeliveryStateProgressGetFetcher,
|
|
29
|
+
swrConfig
|
|
30
|
+
);
|
|
31
|
+
return { key, ...result };
|
|
32
|
+
};
|
|
33
|
+
var useV2FundraisingRewardsDeliveryStateProgressInfinite = (getKey, swrConfig) => useSWRInfinite(
|
|
34
|
+
getKey(() => __internal__requestUrl()),
|
|
35
|
+
v2FundraisingRewardsDeliveryStateProgressGetFetcher,
|
|
36
|
+
swrConfig
|
|
37
|
+
);
|
|
38
|
+
|
|
39
|
+
export {
|
|
40
|
+
useV2FundraisingRewardsDeliveryStateProgress,
|
|
41
|
+
useV2FundraisingRewardsDeliveryStateProgressImmutable,
|
|
42
|
+
useV2FundraisingRewardsDeliveryStateProgressInfinite
|
|
43
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import {
|
|
2
|
+
buildV2FundraisingSteadyCrowdfundingProjectOrdersOrderIdGetFetcher
|
|
3
|
+
} from "./chunk-YZAVCNXE.mjs";
|
|
4
|
+
|
|
5
|
+
// src/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOrderId.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 v2FundraisingSteadyCrowdfundingProjectOrdersOrderIdGetFetcher = buildV2FundraisingSteadyCrowdfundingProjectOrdersOrderIdGetFetcher();
|
|
11
|
+
var useV2FundraisingSteadyCrowdfundingProjectOrdersOrderId = (path, swrConfig) => {
|
|
12
|
+
const key = __internal__requestUrl(
|
|
13
|
+
"/api/v2/fundraising/steady_crowdfunding_project_orders/{order_id}",
|
|
14
|
+
path
|
|
15
|
+
);
|
|
16
|
+
const result = useSWR(
|
|
17
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
18
|
+
v2FundraisingSteadyCrowdfundingProjectOrdersOrderIdGetFetcher,
|
|
19
|
+
swrConfig
|
|
20
|
+
);
|
|
21
|
+
return { key, ...result };
|
|
22
|
+
};
|
|
23
|
+
var useV2FundraisingSteadyCrowdfundingProjectOrdersOrderIdImmutable = (path, swrConfig) => {
|
|
24
|
+
const key = __internal__requestUrl(
|
|
25
|
+
"/api/v2/fundraising/steady_crowdfunding_project_orders/{order_id}",
|
|
26
|
+
path
|
|
27
|
+
);
|
|
28
|
+
const result = useSWRImmutable(
|
|
29
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
30
|
+
v2FundraisingSteadyCrowdfundingProjectOrdersOrderIdGetFetcher,
|
|
31
|
+
swrConfig
|
|
32
|
+
);
|
|
33
|
+
return { key, ...result };
|
|
34
|
+
};
|
|
35
|
+
var useV2FundraisingSteadyCrowdfundingProjectOrdersOrderIdInfinite = (getKey, swrConfig) => useSWRInfinite(
|
|
36
|
+
getKey(
|
|
37
|
+
(path) => __internal__requestUrl(path)
|
|
38
|
+
),
|
|
39
|
+
v2FundraisingSteadyCrowdfundingProjectOrdersOrderIdGetFetcher,
|
|
40
|
+
swrConfig
|
|
41
|
+
);
|
|
42
|
+
|
|
43
|
+
export {
|
|
44
|
+
useV2FundraisingSteadyCrowdfundingProjectOrdersOrderId,
|
|
45
|
+
useV2FundraisingSteadyCrowdfundingProjectOrdersOrderIdImmutable,
|
|
46
|
+
useV2FundraisingSteadyCrowdfundingProjectOrdersOrderIdInfinite
|
|
47
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import {
|
|
2
|
+
buildV2ContributionsCheckOrderStatusGetFetcher
|
|
3
|
+
} from "./chunk-DDNMO7UI.mjs";
|
|
4
|
+
|
|
5
|
+
// src/hooks/useV2ContributionsCheckOrderStatus.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 v2ContributionsCheckOrderStatusGetFetcher = buildV2ContributionsCheckOrderStatusGetFetcher();
|
|
11
|
+
var useV2ContributionsCheckOrderStatus = (query, swrConfig) => {
|
|
12
|
+
const key = __internal__requestUrl(
|
|
13
|
+
"/api/v2/contributions/check_order_status",
|
|
14
|
+
{},
|
|
15
|
+
query
|
|
16
|
+
);
|
|
17
|
+
const result = useSWR(
|
|
18
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
19
|
+
v2ContributionsCheckOrderStatusGetFetcher,
|
|
20
|
+
swrConfig
|
|
21
|
+
);
|
|
22
|
+
return { key, ...result };
|
|
23
|
+
};
|
|
24
|
+
var useV2ContributionsCheckOrderStatusImmutable = (query, swrConfig) => {
|
|
25
|
+
const key = __internal__requestUrl(
|
|
26
|
+
"/api/v2/contributions/check_order_status",
|
|
27
|
+
{},
|
|
28
|
+
query
|
|
29
|
+
);
|
|
30
|
+
const result = useSWRImmutable(
|
|
31
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
32
|
+
v2ContributionsCheckOrderStatusGetFetcher,
|
|
33
|
+
swrConfig
|
|
34
|
+
);
|
|
35
|
+
return { key, ...result };
|
|
36
|
+
};
|
|
37
|
+
var useV2ContributionsCheckOrderStatusInfinite = (getKey, swrConfig) => useSWRInfinite(
|
|
38
|
+
getKey(
|
|
39
|
+
(query) => __internal__requestUrl({}, query)
|
|
40
|
+
),
|
|
41
|
+
v2ContributionsCheckOrderStatusGetFetcher,
|
|
42
|
+
swrConfig
|
|
43
|
+
);
|
|
44
|
+
|
|
45
|
+
export {
|
|
46
|
+
useV2ContributionsCheckOrderStatus,
|
|
47
|
+
useV2ContributionsCheckOrderStatusImmutable,
|
|
48
|
+
useV2ContributionsCheckOrderStatusInfinite
|
|
49
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import {
|
|
2
|
+
buildV2FundraisingSpotCrowdfundingProjectOrdersAllGetFetcher
|
|
3
|
+
} from "./chunk-GDHYIG5P.mjs";
|
|
4
|
+
|
|
5
|
+
// src/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersAll.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 v2FundraisingSpotCrowdfundingProjectOrdersAllGetFetcher = buildV2FundraisingSpotCrowdfundingProjectOrdersAllGetFetcher();
|
|
11
|
+
var useV2FundraisingSpotCrowdfundingProjectOrdersAll = (query, swrConfig) => {
|
|
12
|
+
const key = __internal__requestUrl(
|
|
13
|
+
"/api/v2/fundraising/spot_crowdfunding_project_orders/all",
|
|
14
|
+
{},
|
|
15
|
+
query
|
|
16
|
+
);
|
|
17
|
+
const result = useSWR(
|
|
18
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
19
|
+
v2FundraisingSpotCrowdfundingProjectOrdersAllGetFetcher,
|
|
20
|
+
swrConfig
|
|
21
|
+
);
|
|
22
|
+
return { key, ...result };
|
|
23
|
+
};
|
|
24
|
+
var useV2FundraisingSpotCrowdfundingProjectOrdersAllImmutable = (query, swrConfig) => {
|
|
25
|
+
const key = __internal__requestUrl(
|
|
26
|
+
"/api/v2/fundraising/spot_crowdfunding_project_orders/all",
|
|
27
|
+
{},
|
|
28
|
+
query
|
|
29
|
+
);
|
|
30
|
+
const result = useSWRImmutable(
|
|
31
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
32
|
+
v2FundraisingSpotCrowdfundingProjectOrdersAllGetFetcher,
|
|
33
|
+
swrConfig
|
|
34
|
+
);
|
|
35
|
+
return { key, ...result };
|
|
36
|
+
};
|
|
37
|
+
var useV2FundraisingSpotCrowdfundingProjectOrdersAllInfinite = (getKey, swrConfig) => useSWRInfinite(
|
|
38
|
+
getKey(
|
|
39
|
+
(query) => __internal__requestUrl({}, query)
|
|
40
|
+
),
|
|
41
|
+
v2FundraisingSpotCrowdfundingProjectOrdersAllGetFetcher,
|
|
42
|
+
swrConfig
|
|
43
|
+
);
|
|
44
|
+
|
|
45
|
+
export {
|
|
46
|
+
useV2FundraisingSpotCrowdfundingProjectOrdersAll,
|
|
47
|
+
useV2FundraisingSpotCrowdfundingProjectOrdersAllImmutable,
|
|
48
|
+
useV2FundraisingSpotCrowdfundingProjectOrdersAllInfinite
|
|
49
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import {
|
|
2
|
+
buildV2FundraisingRewardsCsvGenerationsGetFetcher
|
|
3
|
+
} from "./chunk-7O4ETYMK.mjs";
|
|
4
|
+
|
|
5
|
+
// src/hooks/useV2FundraisingRewardsCsvGenerations.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 v2FundraisingRewardsCsvGenerationsGetFetcher = buildV2FundraisingRewardsCsvGenerationsGetFetcher();
|
|
11
|
+
var useV2FundraisingRewardsCsvGenerations = (swrConfig) => {
|
|
12
|
+
const key = __internal__requestUrl(
|
|
13
|
+
"/api/v2/fundraising/rewards_csv/generations"
|
|
14
|
+
);
|
|
15
|
+
const result = useSWR(
|
|
16
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
17
|
+
v2FundraisingRewardsCsvGenerationsGetFetcher,
|
|
18
|
+
swrConfig
|
|
19
|
+
);
|
|
20
|
+
return { key, ...result };
|
|
21
|
+
};
|
|
22
|
+
var useV2FundraisingRewardsCsvGenerationsImmutable = (swrConfig) => {
|
|
23
|
+
const key = __internal__requestUrl(
|
|
24
|
+
"/api/v2/fundraising/rewards_csv/generations"
|
|
25
|
+
);
|
|
26
|
+
const result = useSWRImmutable(
|
|
27
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
28
|
+
v2FundraisingRewardsCsvGenerationsGetFetcher,
|
|
29
|
+
swrConfig
|
|
30
|
+
);
|
|
31
|
+
return { key, ...result };
|
|
32
|
+
};
|
|
33
|
+
var useV2FundraisingRewardsCsvGenerationsInfinite = (getKey, swrConfig) => useSWRInfinite(
|
|
34
|
+
getKey(() => __internal__requestUrl()),
|
|
35
|
+
v2FundraisingRewardsCsvGenerationsGetFetcher,
|
|
36
|
+
swrConfig
|
|
37
|
+
);
|
|
38
|
+
|
|
39
|
+
export {
|
|
40
|
+
useV2FundraisingRewardsCsvGenerations,
|
|
41
|
+
useV2FundraisingRewardsCsvGenerationsImmutable,
|
|
42
|
+
useV2FundraisingRewardsCsvGenerationsInfinite
|
|
43
|
+
};
|
|
File without changes
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import {
|
|
2
|
+
buildV2FundraisingProjectsProjectIdOfflineDonationGetFetcher
|
|
3
|
+
} from "./chunk-7FN63MEZ.mjs";
|
|
4
|
+
|
|
5
|
+
// src/hooks/useV2FundraisingProjectsProjectIdOfflineDonation.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 v2FundraisingProjectsProjectIdOfflineDonationGetFetcher = buildV2FundraisingProjectsProjectIdOfflineDonationGetFetcher();
|
|
11
|
+
var useV2FundraisingProjectsProjectIdOfflineDonation = (path, swrConfig) => {
|
|
12
|
+
const key = __internal__requestUrl(
|
|
13
|
+
"/api/v2/fundraising/projects/{project_id}/offline_donation",
|
|
14
|
+
path
|
|
15
|
+
);
|
|
16
|
+
const result = useSWR(
|
|
17
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
18
|
+
v2FundraisingProjectsProjectIdOfflineDonationGetFetcher,
|
|
19
|
+
swrConfig
|
|
20
|
+
);
|
|
21
|
+
return { key, ...result };
|
|
22
|
+
};
|
|
23
|
+
var useV2FundraisingProjectsProjectIdOfflineDonationImmutable = (path, swrConfig) => {
|
|
24
|
+
const key = __internal__requestUrl(
|
|
25
|
+
"/api/v2/fundraising/projects/{project_id}/offline_donation",
|
|
26
|
+
path
|
|
27
|
+
);
|
|
28
|
+
const result = useSWRImmutable(
|
|
29
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
30
|
+
v2FundraisingProjectsProjectIdOfflineDonationGetFetcher,
|
|
31
|
+
swrConfig
|
|
32
|
+
);
|
|
33
|
+
return { key, ...result };
|
|
34
|
+
};
|
|
35
|
+
var useV2FundraisingProjectsProjectIdOfflineDonationInfinite = (getKey, swrConfig) => useSWRInfinite(
|
|
36
|
+
getKey(
|
|
37
|
+
(path) => __internal__requestUrl(path)
|
|
38
|
+
),
|
|
39
|
+
v2FundraisingProjectsProjectIdOfflineDonationGetFetcher,
|
|
40
|
+
swrConfig
|
|
41
|
+
);
|
|
42
|
+
|
|
43
|
+
export {
|
|
44
|
+
useV2FundraisingProjectsProjectIdOfflineDonation,
|
|
45
|
+
useV2FundraisingProjectsProjectIdOfflineDonationImmutable,
|
|
46
|
+
useV2FundraisingProjectsProjectIdOfflineDonationInfinite
|
|
47
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import {
|
|
2
|
+
buildV2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewardsGetFetcher
|
|
3
|
+
} from "./chunk-6M434IHV.mjs";
|
|
4
|
+
|
|
5
|
+
// src/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewards.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 v2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewardsGetFetcher = buildV2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewardsGetFetcher();
|
|
11
|
+
var useV2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewards = (query, swrConfig) => {
|
|
12
|
+
const key = __internal__requestUrl(
|
|
13
|
+
"/api/v2/fundraising/steady_crowdfunding_project_orders/owned_project_rewards",
|
|
14
|
+
{},
|
|
15
|
+
query
|
|
16
|
+
);
|
|
17
|
+
const result = useSWR(
|
|
18
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
19
|
+
v2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewardsGetFetcher,
|
|
20
|
+
swrConfig
|
|
21
|
+
);
|
|
22
|
+
return { key, ...result };
|
|
23
|
+
};
|
|
24
|
+
var useV2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewardsImmutable = (query, swrConfig) => {
|
|
25
|
+
const key = __internal__requestUrl(
|
|
26
|
+
"/api/v2/fundraising/steady_crowdfunding_project_orders/owned_project_rewards",
|
|
27
|
+
{},
|
|
28
|
+
query
|
|
29
|
+
);
|
|
30
|
+
const result = useSWRImmutable(
|
|
31
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
32
|
+
v2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewardsGetFetcher,
|
|
33
|
+
swrConfig
|
|
34
|
+
);
|
|
35
|
+
return { key, ...result };
|
|
36
|
+
};
|
|
37
|
+
var useV2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewardsInfinite = (getKey, swrConfig) => useSWRInfinite(
|
|
38
|
+
getKey(
|
|
39
|
+
(query) => __internal__requestUrl({}, query)
|
|
40
|
+
),
|
|
41
|
+
v2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewardsGetFetcher,
|
|
42
|
+
swrConfig
|
|
43
|
+
);
|
|
44
|
+
|
|
45
|
+
export {
|
|
46
|
+
useV2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewards,
|
|
47
|
+
useV2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewardsImmutable,
|
|
48
|
+
useV2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewardsInfinite
|
|
49
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import {
|
|
2
|
+
buildV2FundraisingSteadyCrowdfundingProjectOrdersGetFetcher
|
|
3
|
+
} from "./chunk-R7BOADA5.mjs";
|
|
4
|
+
|
|
5
|
+
// src/hooks/useV2FundraisingSteadyCrowdfundingProjectOrders.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 v2FundraisingSteadyCrowdfundingProjectOrdersGetFetcher = buildV2FundraisingSteadyCrowdfundingProjectOrdersGetFetcher();
|
|
11
|
+
var useV2FundraisingSteadyCrowdfundingProjectOrders = (query, swrConfig) => {
|
|
12
|
+
const key = __internal__requestUrl(
|
|
13
|
+
"/api/v2/fundraising/steady_crowdfunding_project_orders",
|
|
14
|
+
{},
|
|
15
|
+
query
|
|
16
|
+
);
|
|
17
|
+
const result = useSWR(
|
|
18
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
19
|
+
v2FundraisingSteadyCrowdfundingProjectOrdersGetFetcher,
|
|
20
|
+
swrConfig
|
|
21
|
+
);
|
|
22
|
+
return { key, ...result };
|
|
23
|
+
};
|
|
24
|
+
var useV2FundraisingSteadyCrowdfundingProjectOrdersImmutable = (query, swrConfig) => {
|
|
25
|
+
const key = __internal__requestUrl(
|
|
26
|
+
"/api/v2/fundraising/steady_crowdfunding_project_orders",
|
|
27
|
+
{},
|
|
28
|
+
query
|
|
29
|
+
);
|
|
30
|
+
const result = useSWRImmutable(
|
|
31
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
32
|
+
v2FundraisingSteadyCrowdfundingProjectOrdersGetFetcher,
|
|
33
|
+
swrConfig
|
|
34
|
+
);
|
|
35
|
+
return { key, ...result };
|
|
36
|
+
};
|
|
37
|
+
var useV2FundraisingSteadyCrowdfundingProjectOrdersInfinite = (getKey, swrConfig) => useSWRInfinite(
|
|
38
|
+
getKey(
|
|
39
|
+
(query) => __internal__requestUrl({}, query)
|
|
40
|
+
),
|
|
41
|
+
v2FundraisingSteadyCrowdfundingProjectOrdersGetFetcher,
|
|
42
|
+
swrConfig
|
|
43
|
+
);
|
|
44
|
+
|
|
45
|
+
export {
|
|
46
|
+
useV2FundraisingSteadyCrowdfundingProjectOrders,
|
|
47
|
+
useV2FundraisingSteadyCrowdfundingProjectOrdersImmutable,
|
|
48
|
+
useV2FundraisingSteadyCrowdfundingProjectOrdersInfinite
|
|
49
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import {
|
|
2
|
+
buildV2ResourcesUsersGetFetcher
|
|
3
|
+
} from "./chunk-5D5PFV37.mjs";
|
|
4
|
+
|
|
5
|
+
// src/hooks/useV2ResourcesUsers.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 v2ResourcesUsersGetFetcher = buildV2ResourcesUsersGetFetcher();
|
|
11
|
+
var useV2ResourcesUsers = (query, swrConfig) => {
|
|
12
|
+
const key = __internal__requestUrl("/api/v2/resources/users", {}, query);
|
|
13
|
+
const result = useSWR(
|
|
14
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
15
|
+
v2ResourcesUsersGetFetcher,
|
|
16
|
+
swrConfig
|
|
17
|
+
);
|
|
18
|
+
return { key, ...result };
|
|
19
|
+
};
|
|
20
|
+
var useV2ResourcesUsersImmutable = (query, swrConfig) => {
|
|
21
|
+
const key = __internal__requestUrl("/api/v2/resources/users", {}, query);
|
|
22
|
+
const result = useSWRImmutable(
|
|
23
|
+
swrConfig?.shouldNotFetch ? null : key,
|
|
24
|
+
v2ResourcesUsersGetFetcher,
|
|
25
|
+
swrConfig
|
|
26
|
+
);
|
|
27
|
+
return { key, ...result };
|
|
28
|
+
};
|
|
29
|
+
var useV2ResourcesUsersInfinite = (getKey, swrConfig) => useSWRInfinite(
|
|
30
|
+
getKey(
|
|
31
|
+
(query) => __internal__requestUrl({}, query)
|
|
32
|
+
),
|
|
33
|
+
v2ResourcesUsersGetFetcher,
|
|
34
|
+
swrConfig
|
|
35
|
+
);
|
|
36
|
+
|
|
37
|
+
export {
|
|
38
|
+
useV2ResourcesUsers,
|
|
39
|
+
useV2ResourcesUsersImmutable,
|
|
40
|
+
useV2ResourcesUsersInfinite
|
|
41
|
+
};
|