@readyfor/api-client-readyfor-api 0.0.1-pr895.4cba339 → 0.0.1-pr898.33681b8
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/index.mjs +0 -1
- package/package.json +9 -9
- package/dist/chunk-4OTX3EI7.mjs +0 -49
- package/dist/chunk-54W7MKTA.mjs +0 -43
- package/dist/chunk-6EMTL6MI.mjs +0 -47
- package/dist/chunk-6FL7PDTL.mjs +0 -43
- package/dist/chunk-6SQ7KJLC.mjs +0 -43
- package/dist/chunk-6Z4FBYFX.mjs +0 -43
- package/dist/chunk-72XYNMXT.mjs +0 -47
- package/dist/chunk-7IYGGLJX.mjs +0 -49
- package/dist/chunk-ABBMLPRA.mjs +0 -49
- package/dist/chunk-AZPMHKAJ.mjs +0 -43
- package/dist/chunk-BBMUXZNL.mjs +0 -0
- package/dist/chunk-BPTZDNVC.mjs +0 -47
- package/dist/chunk-C4R2ZNHF.mjs +0 -49
- package/dist/chunk-CLOBZTSX.mjs +0 -49
- package/dist/chunk-CUKUSAB3.mjs +0 -41
- package/dist/chunk-D2PQLU6H.mjs +0 -49
- package/dist/chunk-F4Q3BU5R.mjs +0 -49
- package/dist/chunk-FBOGE4XA.mjs +0 -49
- package/dist/chunk-GYF37D7F.mjs +0 -49
- package/dist/chunk-HGIAOCJJ.mjs +0 -41
- package/dist/chunk-IIVMEMC3.mjs +0 -49
- package/dist/chunk-JJDI455W.mjs +0 -39
- package/dist/chunk-K5QARDEM.mjs +0 -49
- package/dist/chunk-KKPPZALK.mjs +0 -49
- package/dist/chunk-KQ7V5U5Q.mjs +0 -43
- package/dist/chunk-KYDNGQ4S.mjs +0 -49
- package/dist/chunk-LC7XKILY.mjs +0 -49
- package/dist/chunk-LUOY56RI.mjs +0 -49
- package/dist/chunk-M4OG7QBZ.mjs +0 -49
- package/dist/chunk-M7KD6CK2.mjs +0 -41
- package/dist/chunk-N4QUQTK5.mjs +0 -41
- package/dist/chunk-NBC3TMUX.mjs +0 -47
- package/dist/chunk-NLJBMUVH.mjs +0 -49
- package/dist/chunk-PCU7OTQP.mjs +0 -43
- package/dist/chunk-QOOBOC5Q.mjs +0 -49
- package/dist/chunk-RIZSYDGR.mjs +0 -43
- package/dist/chunk-RVP6EHPU.mjs +0 -49
- package/dist/chunk-T2RT6EHL.mjs +0 -49
- package/dist/chunk-TYP4NYH3.mjs +0 -49
- package/dist/chunk-USWI42N5.mjs +0 -47
- package/dist/chunk-VTL7NG2K.mjs +0 -49
- package/dist/chunk-W7HEKETS.mjs +0 -39
- package/dist/chunk-WZHJVTEC.mjs +0 -47
- package/dist/chunk-X442O2C5.mjs +0 -39
- package/dist/chunk-YCLJRRFM.mjs +0 -49
- package/dist/chunk-ZEBZXO55.mjs +0 -43
- package/dist/chunk-ZGZH7UBJ.mjs +0 -49
- package/dist/hooks/index.d.mts +0 -97
- package/dist/hooks/index.d.ts +0 -97
- package/dist/hooks/index.js +0 -3545
- package/dist/hooks/index.mjs +0 -442
- package/dist/hooks/useV2ContributionsCheckOrderStatus.d.mts +0 -58
- package/dist/hooks/useV2ContributionsCheckOrderStatus.d.ts +0 -58
- package/dist/hooks/useV2ContributionsCheckOrderStatus.js +0 -1521
- package/dist/hooks/useV2ContributionsCheckOrderStatus.mjs +0 -82
- package/dist/hooks/useV2ContributionsCheckOwnerFriend.d.mts +0 -38
- package/dist/hooks/useV2ContributionsCheckOwnerFriend.d.ts +0 -38
- package/dist/hooks/useV2ContributionsCheckOwnerFriend.js +0 -1521
- package/dist/hooks/useV2ContributionsCheckOwnerFriend.mjs +0 -82
- package/dist/hooks/useV2ContributionsOrderInfo.d.mts +0 -83
- package/dist/hooks/useV2ContributionsOrderInfo.d.ts +0 -83
- package/dist/hooks/useV2ContributionsOrderInfo.js +0 -1521
- package/dist/hooks/useV2ContributionsOrderInfo.mjs +0 -82
- package/dist/hooks/useV2ContributionsPaymentInfo.d.mts +0 -48
- package/dist/hooks/useV2ContributionsPaymentInfo.d.ts +0 -48
- package/dist/hooks/useV2ContributionsPaymentInfo.js +0 -1521
- package/dist/hooks/useV2ContributionsPaymentInfo.mjs +0 -82
- package/dist/hooks/useV2ContributionsPaymentMethods.d.mts +0 -62
- package/dist/hooks/useV2ContributionsPaymentMethods.d.ts +0 -62
- package/dist/hooks/useV2ContributionsPaymentMethods.js +0 -1511
- package/dist/hooks/useV2ContributionsPaymentMethods.mjs +0 -82
- package/dist/hooks/useV2ContributionsProjectInfo.d.mts +0 -128
- package/dist/hooks/useV2ContributionsProjectInfo.d.ts +0 -128
- package/dist/hooks/useV2ContributionsProjectInfo.js +0 -1521
- package/dist/hooks/useV2ContributionsProjectInfo.mjs +0 -82
- package/dist/hooks/useV2ContributionsRecommendedProjects.d.mts +0 -37
- package/dist/hooks/useV2ContributionsRecommendedProjects.d.ts +0 -37
- package/dist/hooks/useV2ContributionsRecommendedProjects.js +0 -1515
- package/dist/hooks/useV2ContributionsRecommendedProjects.mjs +0 -82
- package/dist/hooks/useV2ContributionsRecommendedTags.d.mts +0 -37
- package/dist/hooks/useV2ContributionsRecommendedTags.d.ts +0 -37
- package/dist/hooks/useV2ContributionsRecommendedTags.js +0 -1511
- package/dist/hooks/useV2ContributionsRecommendedTags.mjs +0 -82
- package/dist/hooks/useV2ContributionsUserInfo.d.mts +0 -73
- package/dist/hooks/useV2ContributionsUserInfo.d.ts +0 -73
- package/dist/hooks/useV2ContributionsUserInfo.js +0 -1521
- package/dist/hooks/useV2ContributionsUserInfo.mjs +0 -82
- package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjects.d.mts +0 -37
- package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjects.d.ts +0 -37
- package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjects.js +0 -1517
- package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjects.mjs +0 -82
- package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewards.d.mts +0 -38
- package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewards.d.ts +0 -38
- package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewards.js +0 -1522
- package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewards.mjs +0 -82
- package/dist/hooks/useV2FundraisingBulkMessagesTargetUsers.d.mts +0 -38
- package/dist/hooks/useV2FundraisingBulkMessagesTargetUsers.d.ts +0 -38
- package/dist/hooks/useV2FundraisingBulkMessagesTargetUsers.js +0 -1521
- package/dist/hooks/useV2FundraisingBulkMessagesTargetUsers.mjs +0 -82
- package/dist/hooks/useV2FundraisingBulkMessagesTargetUsersCount.d.mts +0 -37
- package/dist/hooks/useV2FundraisingBulkMessagesTargetUsersCount.d.ts +0 -37
- package/dist/hooks/useV2FundraisingBulkMessagesTargetUsersCount.js +0 -1517
- package/dist/hooks/useV2FundraisingBulkMessagesTargetUsersCount.mjs +0 -82
- package/dist/hooks/useV2FundraisingContributors.d.mts +0 -43
- package/dist/hooks/useV2FundraisingContributors.d.ts +0 -43
- package/dist/hooks/useV2FundraisingContributors.js +0 -1521
- package/dist/hooks/useV2FundraisingContributors.mjs +0 -82
- package/dist/hooks/useV2FundraisingContributorsCount.d.mts +0 -38
- package/dist/hooks/useV2FundraisingContributorsCount.d.ts +0 -38
- package/dist/hooks/useV2FundraisingContributorsCount.js +0 -1521
- package/dist/hooks/useV2FundraisingContributorsCount.mjs +0 -82
- package/dist/hooks/useV2FundraisingContributorsCsvGenerations.d.mts +0 -78
- package/dist/hooks/useV2FundraisingContributorsCsvGenerations.d.ts +0 -78
- package/dist/hooks/useV2FundraisingContributorsCsvGenerations.js +0 -1517
- package/dist/hooks/useV2FundraisingContributorsCsvGenerations.mjs +0 -82
- package/dist/hooks/useV2FundraisingContributorsUsers.d.mts +0 -38
- package/dist/hooks/useV2FundraisingContributorsUsers.d.ts +0 -38
- package/dist/hooks/useV2FundraisingContributorsUsers.js +0 -1521
- package/dist/hooks/useV2FundraisingContributorsUsers.mjs +0 -82
- package/dist/hooks/useV2FundraisingOrdersCsvGenerations.d.mts +0 -78
- package/dist/hooks/useV2FundraisingOrdersCsvGenerations.d.ts +0 -78
- package/dist/hooks/useV2FundraisingOrdersCsvGenerations.js +0 -1517
- package/dist/hooks/useV2FundraisingOrdersCsvGenerations.mjs +0 -82
- package/dist/hooks/useV2FundraisingProjectsProjectIdOfflineDonation.d.mts +0 -43
- package/dist/hooks/useV2FundraisingProjectsProjectIdOfflineDonation.d.ts +0 -43
- package/dist/hooks/useV2FundraisingProjectsProjectIdOfflineDonation.js +0 -1521
- package/dist/hooks/useV2FundraisingProjectsProjectIdOfflineDonation.mjs +0 -82
- package/dist/hooks/useV2FundraisingProjectsProjectIdPaymentSummary.d.mts +0 -58
- package/dist/hooks/useV2FundraisingProjectsProjectIdPaymentSummary.d.ts +0 -58
- package/dist/hooks/useV2FundraisingProjectsProjectIdPaymentSummary.js +0 -1521
- package/dist/hooks/useV2FundraisingProjectsProjectIdPaymentSummary.mjs +0 -82
- package/dist/hooks/useV2FundraisingRewards.d.mts +0 -58
- package/dist/hooks/useV2FundraisingRewards.d.ts +0 -58
- package/dist/hooks/useV2FundraisingRewards.js +0 -1513
- package/dist/hooks/useV2FundraisingRewards.mjs +0 -82
- package/dist/hooks/useV2FundraisingRewardsAll.d.mts +0 -38
- package/dist/hooks/useV2FundraisingRewardsAll.d.ts +0 -38
- package/dist/hooks/useV2FundraisingRewardsAll.js +0 -1521
- package/dist/hooks/useV2FundraisingRewardsAll.mjs +0 -82
- package/dist/hooks/useV2FundraisingRewardsCsvGenerations.d.mts +0 -78
- package/dist/hooks/useV2FundraisingRewardsCsvGenerations.d.ts +0 -78
- package/dist/hooks/useV2FundraisingRewardsCsvGenerations.js +0 -1517
- package/dist/hooks/useV2FundraisingRewardsCsvGenerations.mjs +0 -82
- package/dist/hooks/useV2FundraisingRewardsDeliveryStateProgress.d.mts +0 -77
- package/dist/hooks/useV2FundraisingRewardsDeliveryStateProgress.d.ts +0 -77
- package/dist/hooks/useV2FundraisingRewardsDeliveryStateProgress.js +0 -1517
- package/dist/hooks/useV2FundraisingRewardsDeliveryStateProgress.mjs +0 -82
- package/dist/hooks/useV2FundraisingRewardsRewardId.d.mts +0 -108
- package/dist/hooks/useV2FundraisingRewardsRewardId.d.ts +0 -108
- package/dist/hooks/useV2FundraisingRewardsRewardId.js +0 -1519
- package/dist/hooks/useV2FundraisingRewardsRewardId.mjs +0 -82
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrders.d.mts +0 -53
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrders.d.ts +0 -53
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrders.js +0 -1523
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrders.mjs +0 -82
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersAll.d.mts +0 -38
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersAll.d.ts +0 -38
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersAll.js +0 -1523
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersAll.mjs +0 -82
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOrderId.d.mts +0 -98
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOrderId.d.ts +0 -98
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOrderId.js +0 -1521
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOrderId.mjs +0 -82
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewards.d.mts +0 -38
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewards.d.ts +0 -38
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewards.js +0 -1523
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewards.mjs +0 -82
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectsOwnedPublicProjects.d.mts +0 -37
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectsOwnedPublicProjects.d.ts +0 -37
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectsOwnedPublicProjects.js +0 -1515
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectsOwnedPublicProjects.mjs +0 -82
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrders.d.mts +0 -48
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrders.d.ts +0 -48
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrders.js +0 -1523
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrders.mjs +0 -82
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersAll.d.mts +0 -38
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersAll.d.ts +0 -38
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersAll.js +0 -1523
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersAll.mjs +0 -82
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOrderId.d.mts +0 -103
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOrderId.d.ts +0 -103
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOrderId.js +0 -1521
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOrderId.mjs +0 -82
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewards.d.mts +0 -38
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewards.d.ts +0 -38
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewards.js +0 -1523
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewards.mjs +0 -82
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjects.d.mts +0 -37
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjects.d.ts +0 -37
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjects.js +0 -1515
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjects.mjs +0 -82
- package/dist/hooks/useV2OwnerCrmContributorsOrders.d.mts +0 -43
- package/dist/hooks/useV2OwnerCrmContributorsOrders.d.ts +0 -43
- package/dist/hooks/useV2OwnerCrmContributorsOrders.js +0 -1521
- package/dist/hooks/useV2OwnerCrmContributorsOrders.mjs +0 -82
- package/dist/hooks/useV2OwnerCrmContributorsProjects.d.mts +0 -38
- package/dist/hooks/useV2OwnerCrmContributorsProjects.d.ts +0 -38
- package/dist/hooks/useV2OwnerCrmContributorsProjects.js +0 -1521
- package/dist/hooks/useV2OwnerCrmContributorsProjects.mjs +0 -82
- package/dist/hooks/useV2OwnerCrmContributorsUser.d.mts +0 -108
- package/dist/hooks/useV2OwnerCrmContributorsUser.d.ts +0 -108
- package/dist/hooks/useV2OwnerCrmContributorsUser.js +0 -1521
- package/dist/hooks/useV2OwnerCrmContributorsUser.mjs +0 -82
- package/dist/hooks/useV2OwnerCrmOrdersZipGenerations.d.mts +0 -78
- package/dist/hooks/useV2OwnerCrmOrdersZipGenerations.d.ts +0 -78
- package/dist/hooks/useV2OwnerCrmOrdersZipGenerations.js +0 -1521
- package/dist/hooks/useV2OwnerCrmOrdersZipGenerations.mjs +0 -82
- package/dist/hooks/useV2OwnerCrmRewardDeliveries.d.mts +0 -88
- package/dist/hooks/useV2OwnerCrmRewardDeliveries.d.ts +0 -88
- package/dist/hooks/useV2OwnerCrmRewardDeliveries.js +0 -1521
- package/dist/hooks/useV2OwnerCrmRewardDeliveries.mjs +0 -82
- package/dist/hooks/useV2OwnerCrmRewardDeliveriesExOptions.d.mts +0 -38
- package/dist/hooks/useV2OwnerCrmRewardDeliveriesExOptions.d.ts +0 -38
- package/dist/hooks/useV2OwnerCrmRewardDeliveriesExOptions.js +0 -1521
- package/dist/hooks/useV2OwnerCrmRewardDeliveriesExOptions.mjs +0 -82
- package/dist/hooks/useV2OwnerCrmRewards.d.mts +0 -68
- package/dist/hooks/useV2OwnerCrmRewards.d.ts +0 -68
- package/dist/hooks/useV2OwnerCrmRewards.js +0 -1513
- package/dist/hooks/useV2OwnerCrmRewards.mjs +0 -82
- package/dist/hooks/useV2ResourcesBankBranches.d.mts +0 -38
- package/dist/hooks/useV2ResourcesBankBranches.d.ts +0 -38
- package/dist/hooks/useV2ResourcesBankBranches.js +0 -1521
- package/dist/hooks/useV2ResourcesBankBranches.mjs +0 -82
- package/dist/hooks/useV2ResourcesBanks.d.mts +0 -38
- package/dist/hooks/useV2ResourcesBanks.d.ts +0 -38
- package/dist/hooks/useV2ResourcesBanks.js +0 -1513
- package/dist/hooks/useV2ResourcesBanks.mjs +0 -82
- package/dist/hooks/useV2ResourcesUsers.d.mts +0 -38
- package/dist/hooks/useV2ResourcesUsers.d.ts +0 -38
- package/dist/hooks/useV2ResourcesUsers.js +0 -1513
- package/dist/hooks/useV2ResourcesUsers.mjs +0 -82
- package/dist/hooks/useV2Token.d.mts +0 -37
- package/dist/hooks/useV2Token.d.ts +0 -37
- package/dist/hooks/useV2Token.js +0 -1511
- package/dist/hooks/useV2Token.mjs +0 -82
package/dist/chunk-M4OG7QBZ.mjs
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
buildV2OwnerCrmRewardDeliveriesGetFetcher
|
|
3
|
-
} from "./chunk-IG4RIKKK.mjs";
|
|
4
|
-
|
|
5
|
-
// src/hooks/useV2OwnerCrmRewardDeliveries.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 v2OwnerCrmRewardDeliveriesGetFetcher = buildV2OwnerCrmRewardDeliveriesGetFetcher();
|
|
11
|
-
var useV2OwnerCrmRewardDeliveries = (query, swrConfig) => {
|
|
12
|
-
const key = __internal__requestUrl(
|
|
13
|
-
"/api/v2/owner-crm/reward_deliveries",
|
|
14
|
-
{},
|
|
15
|
-
query
|
|
16
|
-
);
|
|
17
|
-
const result = useSWR(
|
|
18
|
-
swrConfig?.shouldNotFetch ? null : key,
|
|
19
|
-
v2OwnerCrmRewardDeliveriesGetFetcher,
|
|
20
|
-
swrConfig
|
|
21
|
-
);
|
|
22
|
-
return { key, ...result };
|
|
23
|
-
};
|
|
24
|
-
var useV2OwnerCrmRewardDeliveriesImmutable = (query, swrConfig) => {
|
|
25
|
-
const key = __internal__requestUrl(
|
|
26
|
-
"/api/v2/owner-crm/reward_deliveries",
|
|
27
|
-
{},
|
|
28
|
-
query
|
|
29
|
-
);
|
|
30
|
-
const result = useSWRImmutable(
|
|
31
|
-
swrConfig?.shouldNotFetch ? null : key,
|
|
32
|
-
v2OwnerCrmRewardDeliveriesGetFetcher,
|
|
33
|
-
swrConfig
|
|
34
|
-
);
|
|
35
|
-
return { key, ...result };
|
|
36
|
-
};
|
|
37
|
-
var useV2OwnerCrmRewardDeliveriesInfinite = (getKey, swrConfig) => useSWRInfinite(
|
|
38
|
-
getKey(
|
|
39
|
-
(query) => __internal__requestUrl({}, query)
|
|
40
|
-
),
|
|
41
|
-
v2OwnerCrmRewardDeliveriesGetFetcher,
|
|
42
|
-
swrConfig
|
|
43
|
-
);
|
|
44
|
-
|
|
45
|
-
export {
|
|
46
|
-
useV2OwnerCrmRewardDeliveries,
|
|
47
|
-
useV2OwnerCrmRewardDeliveriesImmutable,
|
|
48
|
-
useV2OwnerCrmRewardDeliveriesInfinite
|
|
49
|
-
};
|
package/dist/chunk-M7KD6CK2.mjs
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
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
|
-
};
|
package/dist/chunk-N4QUQTK5.mjs
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
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
|
-
};
|
package/dist/chunk-NBC3TMUX.mjs
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
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
|
-
};
|
package/dist/chunk-NLJBMUVH.mjs
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
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
|
-
};
|
package/dist/chunk-PCU7OTQP.mjs
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
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
|
-
};
|
package/dist/chunk-QOOBOC5Q.mjs
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
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
|
-
};
|
package/dist/chunk-RIZSYDGR.mjs
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
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
|
-
};
|
package/dist/chunk-RVP6EHPU.mjs
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
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
|
-
};
|
package/dist/chunk-T2RT6EHL.mjs
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
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
|
-
};
|
package/dist/chunk-TYP4NYH3.mjs
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
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
|
-
};
|
package/dist/chunk-USWI42N5.mjs
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
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
|
-
};
|
package/dist/chunk-VTL7NG2K.mjs
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
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
|
-
};
|
package/dist/chunk-W7HEKETS.mjs
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
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
|
-
};
|