@readyfor/api-client-readyfor-api 0.207.2-pr974.caa0ee1 → 0.207.2

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.
Files changed (75) hide show
  1. package/dist/hooks/useV2ContributionsOrderInfo.d.mts +21 -149
  2. package/dist/hooks/useV2ContributionsOrderInfo.d.ts +21 -149
  3. package/dist/hooks/useV2ContributionsPaymentInfo.d.mts +9 -93
  4. package/dist/hooks/useV2ContributionsPaymentInfo.d.ts +9 -93
  5. package/dist/hooks/useV2ContributionsPaymentMethods.d.mts +21 -69
  6. package/dist/hooks/useV2ContributionsPaymentMethods.d.ts +21 -69
  7. package/dist/hooks/useV2ContributionsProjectInfo.d.mts +41 -185
  8. package/dist/hooks/useV2ContributionsProjectInfo.d.ts +41 -185
  9. package/dist/hooks/useV2ContributionsRecommendedProjects.d.mts +5 -85
  10. package/dist/hooks/useV2ContributionsRecommendedProjects.d.ts +5 -85
  11. package/dist/hooks/useV2ContributionsRecommendedTags.d.mts +5 -17
  12. package/dist/hooks/useV2ContributionsRecommendedTags.d.ts +5 -17
  13. package/dist/hooks/useV2ContributionsUserInfo.d.mts +25 -169
  14. package/dist/hooks/useV2ContributionsUserInfo.d.ts +25 -169
  15. package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjects.d.mts +5 -21
  16. package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjects.d.ts +5 -21
  17. package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewards.d.mts +5 -21
  18. package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewards.d.ts +5 -21
  19. package/dist/hooks/useV2FundraisingBulkMessagesTargetUsers.d.mts +5 -21
  20. package/dist/hooks/useV2FundraisingBulkMessagesTargetUsers.d.ts +5 -21
  21. package/dist/hooks/useV2FundraisingContributors.d.mts +9 -89
  22. package/dist/hooks/useV2FundraisingContributors.d.ts +9 -89
  23. package/dist/hooks/useV2FundraisingContributorsCount.d.mts +5 -21
  24. package/dist/hooks/useV2FundraisingContributorsCount.d.ts +5 -21
  25. package/dist/hooks/useV2FundraisingContributorsCsvGenerations.d.mts +20 -20
  26. package/dist/hooks/useV2FundraisingContributorsCsvGenerations.d.ts +20 -20
  27. package/dist/hooks/useV2FundraisingContributorsUsers.d.mts +5 -21
  28. package/dist/hooks/useV2FundraisingContributorsUsers.d.ts +5 -21
  29. package/dist/hooks/useV2FundraisingOrdersCsvGenerations.d.mts +20 -20
  30. package/dist/hooks/useV2FundraisingOrdersCsvGenerations.d.ts +20 -20
  31. package/dist/hooks/useV2FundraisingProjectsProjectIdPaymentSummary.d.mts +21 -69
  32. package/dist/hooks/useV2FundraisingProjectsProjectIdPaymentSummary.d.ts +21 -69
  33. package/dist/hooks/useV2FundraisingRewards.d.mts +13 -169
  34. package/dist/hooks/useV2FundraisingRewards.d.ts +13 -169
  35. package/dist/hooks/useV2FundraisingRewardsAll.d.mts +5 -17
  36. package/dist/hooks/useV2FundraisingRewardsAll.d.ts +5 -17
  37. package/dist/hooks/useV2FundraisingRewardsCsvGenerations.d.mts +20 -20
  38. package/dist/hooks/useV2FundraisingRewardsCsvGenerations.d.ts +20 -20
  39. package/dist/hooks/useV2FundraisingRewardsDeliveryStateProgress.d.mts +20 -20
  40. package/dist/hooks/useV2FundraisingRewardsDeliveryStateProgress.d.ts +20 -20
  41. package/dist/hooks/useV2FundraisingRewardsRewardId.d.mts +45 -105
  42. package/dist/hooks/useV2FundraisingRewardsRewardId.d.ts +45 -105
  43. package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrders.d.mts +13 -197
  44. package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrders.d.ts +13 -197
  45. package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersAll.d.mts +5 -37
  46. package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersAll.d.ts +5 -37
  47. package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOrderId.d.mts +45 -193
  48. package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOrderId.d.ts +45 -193
  49. package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewards.d.mts +5 -25
  50. package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewards.d.ts +5 -25
  51. package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectsOwnedPublicProjects.d.mts +5 -17
  52. package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectsOwnedPublicProjects.d.ts +5 -17
  53. package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrders.d.mts +13 -153
  54. package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrders.d.ts +13 -153
  55. package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersAll.d.mts +5 -37
  56. package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersAll.d.ts +5 -37
  57. package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOrderId.d.mts +49 -169
  58. package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOrderId.d.ts +49 -169
  59. package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewards.d.mts +5 -25
  60. package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewards.d.ts +5 -25
  61. package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjects.d.mts +5 -17
  62. package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjects.d.ts +5 -17
  63. package/dist/hooks/useV2OwnerCrmContributorsOrders.d.mts +9 -149
  64. package/dist/hooks/useV2OwnerCrmContributorsOrders.d.ts +9 -149
  65. package/dist/hooks/useV2OwnerCrmContributorsProjects.d.mts +5 -25
  66. package/dist/hooks/useV2OwnerCrmContributorsProjects.d.ts +5 -25
  67. package/dist/hooks/useV2OwnerCrmContributorsUser.d.mts +40 -40
  68. package/dist/hooks/useV2OwnerCrmContributorsUser.d.ts +40 -40
  69. package/dist/hooks/useV2ResourcesBankBranches.d.mts +5 -29
  70. package/dist/hooks/useV2ResourcesBankBranches.d.ts +5 -29
  71. package/dist/hooks/useV2ResourcesBanks.d.mts +5 -21
  72. package/dist/hooks/useV2ResourcesBanks.d.ts +5 -21
  73. package/dist/hooks/useV2ResourcesUsers.d.mts +5 -29
  74. package/dist/hooks/useV2ResourcesUsers.d.ts +5 -29
  75. package/package.json +12 -11
@@ -1,77 +1,47 @@
1
1
  import * as swr_infinite from 'swr/infinite';
2
2
  import { SWRInfiniteKeyLoader, SWRInfiniteConfiguration } from 'swr/infinite';
3
- import { components } from '../schemaType.mjs';
4
3
  import * as swr from 'swr';
5
4
  import { Arguments } from 'swr';
5
+ import { components } from '../schemaType.mjs';
6
6
  import { Configuration } from '@readyfor/api-client-base/react';
7
7
  import { V2FundraisingRewardsRewardIdGetPath, V2FundraisingRewardsRewardIdGetResponse } from '../fetch/v2FundraisingRewardsRewardId.mjs';
8
8
  import '@readyfor/api-client-base';
9
9
 
10
10
  declare const useV2FundraisingRewardsRewardId: (path: V2FundraisingRewardsRewardIdGetPath, swrConfig?: Configuration<V2FundraisingRewardsRewardIdGetResponse>) => {
11
11
  data: {
12
- price: number;
13
12
  id: number;
14
- deliveryState: "notStarted" | "completed" | "actionNotNeeded";
15
- deliveryRate: number;
13
+ title?: string;
14
+ description: string;
16
15
  thumbnailUrl: string;
17
- orderReward: {
18
- rewardCount: number;
19
- waitPaymentRewardCount?: number | undefined;
20
- };
21
- rewardStock: {
22
- __type: "limitedRewardStock";
23
- stockCount: number;
24
- } | {
25
- __type: "unlimitedRewardStock";
26
- };
16
+ price: number;
17
+ orderReward: components["schemas"]["FundraisingRewards_OrderReward"];
18
+ rewardStock: components["schemas"]["FundraisingRewards_RewardStock"];
19
+ estimatedArrivalMonth?: string;
20
+ shipCompletedAt?: string;
21
+ deliveryRate: number;
22
+ deliveryState: "notStarted" | "completed" | "actionNotNeeded";
27
23
  notDeliveryStartedCount: number;
28
- project: {
29
- id: number;
30
- title: string;
31
- expiredAt: string;
32
- };
33
- description: string;
34
24
  shippingRequired: boolean;
35
- estimatedArrivalMonth?: string | undefined;
36
- shipCompletedAt?: string | undefined;
37
- title?: string | undefined;
38
- rewardExOptions?: {
39
- question: string;
40
- answerSelections?: string[] | undefined;
41
- }[] | undefined;
25
+ rewardExOptions?: components["schemas"]["GetFundraisingRewardsRewardId_rewardExOptions_inner"][];
26
+ project: components["schemas"]["FundraisingRewards_Project"];
42
27
  } | undefined;
43
28
  error: any;
44
29
  mutate: swr.KeyedMutator<{
45
- price: number;
46
30
  id: number;
47
- deliveryState: "notStarted" | "completed" | "actionNotNeeded";
48
- deliveryRate: number;
31
+ title?: string;
32
+ description: string;
49
33
  thumbnailUrl: string;
50
- orderReward: {
51
- rewardCount: number;
52
- waitPaymentRewardCount?: number | undefined;
53
- };
54
- rewardStock: {
55
- __type: "limitedRewardStock";
56
- stockCount: number;
57
- } | {
58
- __type: "unlimitedRewardStock";
59
- };
34
+ price: number;
35
+ orderReward: components["schemas"]["FundraisingRewards_OrderReward"];
36
+ rewardStock: components["schemas"]["FundraisingRewards_RewardStock"];
37
+ estimatedArrivalMonth?: string;
38
+ shipCompletedAt?: string;
39
+ deliveryRate: number;
40
+ deliveryState: "notStarted" | "completed" | "actionNotNeeded";
60
41
  notDeliveryStartedCount: number;
61
- project: {
62
- id: number;
63
- title: string;
64
- expiredAt: string;
65
- };
66
- description: string;
67
42
  shippingRequired: boolean;
68
- estimatedArrivalMonth?: string | undefined;
69
- shipCompletedAt?: string | undefined;
70
- title?: string | undefined;
71
- rewardExOptions?: {
72
- question: string;
73
- answerSelections?: string[] | undefined;
74
- }[] | undefined;
43
+ rewardExOptions?: components["schemas"]["GetFundraisingRewardsRewardId_rewardExOptions_inner"][];
44
+ project: components["schemas"]["FundraisingRewards_Project"];
75
45
  }>;
76
46
  isValidating: boolean;
77
47
  isLoading: boolean;
@@ -79,69 +49,39 @@ declare const useV2FundraisingRewardsRewardId: (path: V2FundraisingRewardsReward
79
49
  };
80
50
  declare const useV2FundraisingRewardsRewardIdImmutable: (path: V2FundraisingRewardsRewardIdGetPath, swrConfig?: Configuration<V2FundraisingRewardsRewardIdGetResponse>) => {
81
51
  data: {
82
- price: number;
83
52
  id: number;
84
- deliveryState: "notStarted" | "completed" | "actionNotNeeded";
85
- deliveryRate: number;
53
+ title?: string;
54
+ description: string;
86
55
  thumbnailUrl: string;
87
- orderReward: {
88
- rewardCount: number;
89
- waitPaymentRewardCount?: number | undefined;
90
- };
91
- rewardStock: {
92
- __type: "limitedRewardStock";
93
- stockCount: number;
94
- } | {
95
- __type: "unlimitedRewardStock";
96
- };
56
+ price: number;
57
+ orderReward: components["schemas"]["FundraisingRewards_OrderReward"];
58
+ rewardStock: components["schemas"]["FundraisingRewards_RewardStock"];
59
+ estimatedArrivalMonth?: string;
60
+ shipCompletedAt?: string;
61
+ deliveryRate: number;
62
+ deliveryState: "notStarted" | "completed" | "actionNotNeeded";
97
63
  notDeliveryStartedCount: number;
98
- project: {
99
- id: number;
100
- title: string;
101
- expiredAt: string;
102
- };
103
- description: string;
104
64
  shippingRequired: boolean;
105
- estimatedArrivalMonth?: string | undefined;
106
- shipCompletedAt?: string | undefined;
107
- title?: string | undefined;
108
- rewardExOptions?: {
109
- question: string;
110
- answerSelections?: string[] | undefined;
111
- }[] | undefined;
65
+ rewardExOptions?: components["schemas"]["GetFundraisingRewardsRewardId_rewardExOptions_inner"][];
66
+ project: components["schemas"]["FundraisingRewards_Project"];
112
67
  } | undefined;
113
68
  error: any;
114
69
  mutate: swr.KeyedMutator<{
115
- price: number;
116
70
  id: number;
117
- deliveryState: "notStarted" | "completed" | "actionNotNeeded";
118
- deliveryRate: number;
71
+ title?: string;
72
+ description: string;
119
73
  thumbnailUrl: string;
120
- orderReward: {
121
- rewardCount: number;
122
- waitPaymentRewardCount?: number | undefined;
123
- };
124
- rewardStock: {
125
- __type: "limitedRewardStock";
126
- stockCount: number;
127
- } | {
128
- __type: "unlimitedRewardStock";
129
- };
74
+ price: number;
75
+ orderReward: components["schemas"]["FundraisingRewards_OrderReward"];
76
+ rewardStock: components["schemas"]["FundraisingRewards_RewardStock"];
77
+ estimatedArrivalMonth?: string;
78
+ shipCompletedAt?: string;
79
+ deliveryRate: number;
80
+ deliveryState: "notStarted" | "completed" | "actionNotNeeded";
130
81
  notDeliveryStartedCount: number;
131
- project: {
132
- id: number;
133
- title: string;
134
- expiredAt: string;
135
- };
136
- description: string;
137
82
  shippingRequired: boolean;
138
- estimatedArrivalMonth?: string | undefined;
139
- shipCompletedAt?: string | undefined;
140
- title?: string | undefined;
141
- rewardExOptions?: {
142
- question: string;
143
- answerSelections?: string[] | undefined;
144
- }[] | undefined;
83
+ rewardExOptions?: components["schemas"]["GetFundraisingRewardsRewardId_rewardExOptions_inner"][];
84
+ project: components["schemas"]["FundraisingRewards_Project"];
145
85
  }>;
146
86
  isValidating: boolean;
147
87
  isLoading: boolean;
@@ -1,77 +1,47 @@
1
1
  import * as swr_infinite from 'swr/infinite';
2
2
  import { SWRInfiniteKeyLoader, SWRInfiniteConfiguration } from 'swr/infinite';
3
- import { components } from '../schemaType.js';
4
3
  import * as swr from 'swr';
5
4
  import { Arguments } from 'swr';
5
+ import { components } from '../schemaType.js';
6
6
  import { Configuration } from '@readyfor/api-client-base/react';
7
7
  import { V2FundraisingRewardsRewardIdGetPath, V2FundraisingRewardsRewardIdGetResponse } from '../fetch/v2FundraisingRewardsRewardId.js';
8
8
  import '@readyfor/api-client-base';
9
9
 
10
10
  declare const useV2FundraisingRewardsRewardId: (path: V2FundraisingRewardsRewardIdGetPath, swrConfig?: Configuration<V2FundraisingRewardsRewardIdGetResponse>) => {
11
11
  data: {
12
- price: number;
13
12
  id: number;
14
- deliveryState: "notStarted" | "completed" | "actionNotNeeded";
15
- deliveryRate: number;
13
+ title?: string;
14
+ description: string;
16
15
  thumbnailUrl: string;
17
- orderReward: {
18
- rewardCount: number;
19
- waitPaymentRewardCount?: number | undefined;
20
- };
21
- rewardStock: {
22
- __type: "limitedRewardStock";
23
- stockCount: number;
24
- } | {
25
- __type: "unlimitedRewardStock";
26
- };
16
+ price: number;
17
+ orderReward: components["schemas"]["FundraisingRewards_OrderReward"];
18
+ rewardStock: components["schemas"]["FundraisingRewards_RewardStock"];
19
+ estimatedArrivalMonth?: string;
20
+ shipCompletedAt?: string;
21
+ deliveryRate: number;
22
+ deliveryState: "notStarted" | "completed" | "actionNotNeeded";
27
23
  notDeliveryStartedCount: number;
28
- project: {
29
- id: number;
30
- title: string;
31
- expiredAt: string;
32
- };
33
- description: string;
34
24
  shippingRequired: boolean;
35
- estimatedArrivalMonth?: string | undefined;
36
- shipCompletedAt?: string | undefined;
37
- title?: string | undefined;
38
- rewardExOptions?: {
39
- question: string;
40
- answerSelections?: string[] | undefined;
41
- }[] | undefined;
25
+ rewardExOptions?: components["schemas"]["GetFundraisingRewardsRewardId_rewardExOptions_inner"][];
26
+ project: components["schemas"]["FundraisingRewards_Project"];
42
27
  } | undefined;
43
28
  error: any;
44
29
  mutate: swr.KeyedMutator<{
45
- price: number;
46
30
  id: number;
47
- deliveryState: "notStarted" | "completed" | "actionNotNeeded";
48
- deliveryRate: number;
31
+ title?: string;
32
+ description: string;
49
33
  thumbnailUrl: string;
50
- orderReward: {
51
- rewardCount: number;
52
- waitPaymentRewardCount?: number | undefined;
53
- };
54
- rewardStock: {
55
- __type: "limitedRewardStock";
56
- stockCount: number;
57
- } | {
58
- __type: "unlimitedRewardStock";
59
- };
34
+ price: number;
35
+ orderReward: components["schemas"]["FundraisingRewards_OrderReward"];
36
+ rewardStock: components["schemas"]["FundraisingRewards_RewardStock"];
37
+ estimatedArrivalMonth?: string;
38
+ shipCompletedAt?: string;
39
+ deliveryRate: number;
40
+ deliveryState: "notStarted" | "completed" | "actionNotNeeded";
60
41
  notDeliveryStartedCount: number;
61
- project: {
62
- id: number;
63
- title: string;
64
- expiredAt: string;
65
- };
66
- description: string;
67
42
  shippingRequired: boolean;
68
- estimatedArrivalMonth?: string | undefined;
69
- shipCompletedAt?: string | undefined;
70
- title?: string | undefined;
71
- rewardExOptions?: {
72
- question: string;
73
- answerSelections?: string[] | undefined;
74
- }[] | undefined;
43
+ rewardExOptions?: components["schemas"]["GetFundraisingRewardsRewardId_rewardExOptions_inner"][];
44
+ project: components["schemas"]["FundraisingRewards_Project"];
75
45
  }>;
76
46
  isValidating: boolean;
77
47
  isLoading: boolean;
@@ -79,69 +49,39 @@ declare const useV2FundraisingRewardsRewardId: (path: V2FundraisingRewardsReward
79
49
  };
80
50
  declare const useV2FundraisingRewardsRewardIdImmutable: (path: V2FundraisingRewardsRewardIdGetPath, swrConfig?: Configuration<V2FundraisingRewardsRewardIdGetResponse>) => {
81
51
  data: {
82
- price: number;
83
52
  id: number;
84
- deliveryState: "notStarted" | "completed" | "actionNotNeeded";
85
- deliveryRate: number;
53
+ title?: string;
54
+ description: string;
86
55
  thumbnailUrl: string;
87
- orderReward: {
88
- rewardCount: number;
89
- waitPaymentRewardCount?: number | undefined;
90
- };
91
- rewardStock: {
92
- __type: "limitedRewardStock";
93
- stockCount: number;
94
- } | {
95
- __type: "unlimitedRewardStock";
96
- };
56
+ price: number;
57
+ orderReward: components["schemas"]["FundraisingRewards_OrderReward"];
58
+ rewardStock: components["schemas"]["FundraisingRewards_RewardStock"];
59
+ estimatedArrivalMonth?: string;
60
+ shipCompletedAt?: string;
61
+ deliveryRate: number;
62
+ deliveryState: "notStarted" | "completed" | "actionNotNeeded";
97
63
  notDeliveryStartedCount: number;
98
- project: {
99
- id: number;
100
- title: string;
101
- expiredAt: string;
102
- };
103
- description: string;
104
64
  shippingRequired: boolean;
105
- estimatedArrivalMonth?: string | undefined;
106
- shipCompletedAt?: string | undefined;
107
- title?: string | undefined;
108
- rewardExOptions?: {
109
- question: string;
110
- answerSelections?: string[] | undefined;
111
- }[] | undefined;
65
+ rewardExOptions?: components["schemas"]["GetFundraisingRewardsRewardId_rewardExOptions_inner"][];
66
+ project: components["schemas"]["FundraisingRewards_Project"];
112
67
  } | undefined;
113
68
  error: any;
114
69
  mutate: swr.KeyedMutator<{
115
- price: number;
116
70
  id: number;
117
- deliveryState: "notStarted" | "completed" | "actionNotNeeded";
118
- deliveryRate: number;
71
+ title?: string;
72
+ description: string;
119
73
  thumbnailUrl: string;
120
- orderReward: {
121
- rewardCount: number;
122
- waitPaymentRewardCount?: number | undefined;
123
- };
124
- rewardStock: {
125
- __type: "limitedRewardStock";
126
- stockCount: number;
127
- } | {
128
- __type: "unlimitedRewardStock";
129
- };
74
+ price: number;
75
+ orderReward: components["schemas"]["FundraisingRewards_OrderReward"];
76
+ rewardStock: components["schemas"]["FundraisingRewards_RewardStock"];
77
+ estimatedArrivalMonth?: string;
78
+ shipCompletedAt?: string;
79
+ deliveryRate: number;
80
+ deliveryState: "notStarted" | "completed" | "actionNotNeeded";
130
81
  notDeliveryStartedCount: number;
131
- project: {
132
- id: number;
133
- title: string;
134
- expiredAt: string;
135
- };
136
- description: string;
137
82
  shippingRequired: boolean;
138
- estimatedArrivalMonth?: string | undefined;
139
- shipCompletedAt?: string | undefined;
140
- title?: string | undefined;
141
- rewardExOptions?: {
142
- question: string;
143
- answerSelections?: string[] | undefined;
144
- }[] | undefined;
83
+ rewardExOptions?: components["schemas"]["GetFundraisingRewardsRewardId_rewardExOptions_inner"][];
84
+ project: components["schemas"]["FundraisingRewards_Project"];
145
85
  }>;
146
86
  isValidating: boolean;
147
87
  isLoading: boolean;
@@ -1,117 +1,25 @@
1
1
  import * as swr_infinite from 'swr/infinite';
2
2
  import { SWRInfiniteKeyLoader, SWRInfiniteConfiguration } from 'swr/infinite';
3
- import { components } from '../schemaType.mjs';
4
3
  import * as swr from 'swr';
5
4
  import { Arguments } from 'swr';
5
+ import { components } from '../schemaType.mjs';
6
6
  import { Configuration } from '@readyfor/api-client-base/react';
7
7
  import { V2FundraisingSpotCrowdfundingProjectOrdersGetQuery, V2FundraisingSpotCrowdfundingProjectOrdersGetResponse } from '../fetch/v2FundraisingSpotCrowdfundingProjectOrders.mjs';
8
8
  import '@readyfor/api-client-base';
9
9
 
10
10
  declare const useV2FundraisingSpotCrowdfundingProjectOrders: (query: V2FundraisingSpotCrowdfundingProjectOrdersGetQuery, swrConfig?: Configuration<V2FundraisingSpotCrowdfundingProjectOrdersGetResponse>) => {
11
11
  data: {
12
- ordersCount: {
13
- ongoing: number;
14
- closed: number;
15
- };
12
+ ordersCount: components["schemas"]["FundraisingOrders_SpotCrowdfundingOrdersCount"];
13
+ orders: components["schemas"]["FundraisingOrders_SpotCrowdfundingProjectOrder"][];
14
+ pagination: components["schemas"]["Fundraising_Pagination"];
16
15
  needsPaymentDeadlineAlert: boolean;
17
- pagination: {
18
- totalPages: number;
19
- totalCount: number;
20
- currentPerPage: number;
21
- currentPage: number;
22
- isFirstPage: boolean;
23
- isLastPage: boolean;
24
- prevPage?: number | undefined;
25
- nextPage?: number | undefined;
26
- };
27
- orders: {
28
- contributor: {
29
- email: string | null;
30
- name: string;
31
- id: number;
32
- imageUrl?: string | undefined;
33
- };
34
- createdAt: string;
35
- payAmount: number;
36
- id: number;
37
- state: "waitPayment" | "pendingProjectAchievement" | "unsuccessful" | "canceled" | "confirmed";
38
- project: {
39
- id: number;
40
- title: string;
41
- keyword?: string | undefined;
42
- };
43
- payment: {
44
- type: "creditCard" | "bankTransfer" | "convenienceStore";
45
- state: "waitPayment" | "canceled" | "completed" | "expired" | "reserved" | "underpayment" | "transactionFailed";
46
- };
47
- rewardDeliveries: {
48
- rewardThumbnailUrl: string;
49
- deliveryState: "notStarted" | "failed" | "completed" | "unnecessary";
50
- rewardTitle?: string | undefined;
51
- }[];
52
- deliveryProtected: boolean;
53
- needsPaymentDeadlineAlert: boolean;
54
- hasRewardExOptionAnswer: boolean;
55
- delivery?: {
56
- zipCode: string;
57
- deliveryAddress: string;
58
- phoneNumber: string;
59
- deliveryName: string;
60
- } | undefined;
61
- }[];
62
16
  } | undefined;
63
17
  error: any;
64
18
  mutate: swr.KeyedMutator<{
65
- ordersCount: {
66
- ongoing: number;
67
- closed: number;
68
- };
19
+ ordersCount: components["schemas"]["FundraisingOrders_SpotCrowdfundingOrdersCount"];
20
+ orders: components["schemas"]["FundraisingOrders_SpotCrowdfundingProjectOrder"][];
21
+ pagination: components["schemas"]["Fundraising_Pagination"];
69
22
  needsPaymentDeadlineAlert: boolean;
70
- pagination: {
71
- totalPages: number;
72
- totalCount: number;
73
- currentPerPage: number;
74
- currentPage: number;
75
- isFirstPage: boolean;
76
- isLastPage: boolean;
77
- prevPage?: number | undefined;
78
- nextPage?: number | undefined;
79
- };
80
- orders: {
81
- contributor: {
82
- email: string | null;
83
- name: string;
84
- id: number;
85
- imageUrl?: string | undefined;
86
- };
87
- createdAt: string;
88
- payAmount: number;
89
- id: number;
90
- state: "waitPayment" | "pendingProjectAchievement" | "unsuccessful" | "canceled" | "confirmed";
91
- project: {
92
- id: number;
93
- title: string;
94
- keyword?: string | undefined;
95
- };
96
- payment: {
97
- type: "creditCard" | "bankTransfer" | "convenienceStore";
98
- state: "waitPayment" | "canceled" | "completed" | "expired" | "reserved" | "underpayment" | "transactionFailed";
99
- };
100
- rewardDeliveries: {
101
- rewardThumbnailUrl: string;
102
- deliveryState: "notStarted" | "failed" | "completed" | "unnecessary";
103
- rewardTitle?: string | undefined;
104
- }[];
105
- deliveryProtected: boolean;
106
- needsPaymentDeadlineAlert: boolean;
107
- hasRewardExOptionAnswer: boolean;
108
- delivery?: {
109
- zipCode: string;
110
- deliveryAddress: string;
111
- phoneNumber: string;
112
- deliveryName: string;
113
- } | undefined;
114
- }[];
115
23
  }>;
116
24
  isValidating: boolean;
117
25
  isLoading: boolean;
@@ -119,109 +27,17 @@ declare const useV2FundraisingSpotCrowdfundingProjectOrders: (query: V2Fundraisi
119
27
  };
120
28
  declare const useV2FundraisingSpotCrowdfundingProjectOrdersImmutable: (query: V2FundraisingSpotCrowdfundingProjectOrdersGetQuery, swrConfig?: Configuration<V2FundraisingSpotCrowdfundingProjectOrdersGetResponse>) => {
121
29
  data: {
122
- ordersCount: {
123
- ongoing: number;
124
- closed: number;
125
- };
30
+ ordersCount: components["schemas"]["FundraisingOrders_SpotCrowdfundingOrdersCount"];
31
+ orders: components["schemas"]["FundraisingOrders_SpotCrowdfundingProjectOrder"][];
32
+ pagination: components["schemas"]["Fundraising_Pagination"];
126
33
  needsPaymentDeadlineAlert: boolean;
127
- pagination: {
128
- totalPages: number;
129
- totalCount: number;
130
- currentPerPage: number;
131
- currentPage: number;
132
- isFirstPage: boolean;
133
- isLastPage: boolean;
134
- prevPage?: number | undefined;
135
- nextPage?: number | undefined;
136
- };
137
- orders: {
138
- contributor: {
139
- email: string | null;
140
- name: string;
141
- id: number;
142
- imageUrl?: string | undefined;
143
- };
144
- createdAt: string;
145
- payAmount: number;
146
- id: number;
147
- state: "waitPayment" | "pendingProjectAchievement" | "unsuccessful" | "canceled" | "confirmed";
148
- project: {
149
- id: number;
150
- title: string;
151
- keyword?: string | undefined;
152
- };
153
- payment: {
154
- type: "creditCard" | "bankTransfer" | "convenienceStore";
155
- state: "waitPayment" | "canceled" | "completed" | "expired" | "reserved" | "underpayment" | "transactionFailed";
156
- };
157
- rewardDeliveries: {
158
- rewardThumbnailUrl: string;
159
- deliveryState: "notStarted" | "failed" | "completed" | "unnecessary";
160
- rewardTitle?: string | undefined;
161
- }[];
162
- deliveryProtected: boolean;
163
- needsPaymentDeadlineAlert: boolean;
164
- hasRewardExOptionAnswer: boolean;
165
- delivery?: {
166
- zipCode: string;
167
- deliveryAddress: string;
168
- phoneNumber: string;
169
- deliveryName: string;
170
- } | undefined;
171
- }[];
172
34
  } | undefined;
173
35
  error: any;
174
36
  mutate: swr.KeyedMutator<{
175
- ordersCount: {
176
- ongoing: number;
177
- closed: number;
178
- };
37
+ ordersCount: components["schemas"]["FundraisingOrders_SpotCrowdfundingOrdersCount"];
38
+ orders: components["schemas"]["FundraisingOrders_SpotCrowdfundingProjectOrder"][];
39
+ pagination: components["schemas"]["Fundraising_Pagination"];
179
40
  needsPaymentDeadlineAlert: boolean;
180
- pagination: {
181
- totalPages: number;
182
- totalCount: number;
183
- currentPerPage: number;
184
- currentPage: number;
185
- isFirstPage: boolean;
186
- isLastPage: boolean;
187
- prevPage?: number | undefined;
188
- nextPage?: number | undefined;
189
- };
190
- orders: {
191
- contributor: {
192
- email: string | null;
193
- name: string;
194
- id: number;
195
- imageUrl?: string | undefined;
196
- };
197
- createdAt: string;
198
- payAmount: number;
199
- id: number;
200
- state: "waitPayment" | "pendingProjectAchievement" | "unsuccessful" | "canceled" | "confirmed";
201
- project: {
202
- id: number;
203
- title: string;
204
- keyword?: string | undefined;
205
- };
206
- payment: {
207
- type: "creditCard" | "bankTransfer" | "convenienceStore";
208
- state: "waitPayment" | "canceled" | "completed" | "expired" | "reserved" | "underpayment" | "transactionFailed";
209
- };
210
- rewardDeliveries: {
211
- rewardThumbnailUrl: string;
212
- deliveryState: "notStarted" | "failed" | "completed" | "unnecessary";
213
- rewardTitle?: string | undefined;
214
- }[];
215
- deliveryProtected: boolean;
216
- needsPaymentDeadlineAlert: boolean;
217
- hasRewardExOptionAnswer: boolean;
218
- delivery?: {
219
- zipCode: string;
220
- deliveryAddress: string;
221
- phoneNumber: string;
222
- deliveryName: string;
223
- } | undefined;
224
- }[];
225
41
  }>;
226
42
  isValidating: boolean;
227
43
  isLoading: boolean;