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

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 +149 -21
  2. package/dist/hooks/useV2ContributionsOrderInfo.d.ts +149 -21
  3. package/dist/hooks/useV2ContributionsPaymentInfo.d.mts +93 -9
  4. package/dist/hooks/useV2ContributionsPaymentInfo.d.ts +93 -9
  5. package/dist/hooks/useV2ContributionsPaymentMethods.d.mts +69 -21
  6. package/dist/hooks/useV2ContributionsPaymentMethods.d.ts +69 -21
  7. package/dist/hooks/useV2ContributionsProjectInfo.d.mts +185 -41
  8. package/dist/hooks/useV2ContributionsProjectInfo.d.ts +185 -41
  9. package/dist/hooks/useV2ContributionsRecommendedProjects.d.mts +85 -5
  10. package/dist/hooks/useV2ContributionsRecommendedProjects.d.ts +85 -5
  11. package/dist/hooks/useV2ContributionsRecommendedTags.d.mts +17 -5
  12. package/dist/hooks/useV2ContributionsRecommendedTags.d.ts +17 -5
  13. package/dist/hooks/useV2ContributionsUserInfo.d.mts +169 -25
  14. package/dist/hooks/useV2ContributionsUserInfo.d.ts +169 -25
  15. package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjects.d.mts +21 -5
  16. package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjects.d.ts +21 -5
  17. package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewards.d.mts +21 -5
  18. package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewards.d.ts +21 -5
  19. package/dist/hooks/useV2FundraisingBulkMessagesTargetUsers.d.mts +21 -5
  20. package/dist/hooks/useV2FundraisingBulkMessagesTargetUsers.d.ts +21 -5
  21. package/dist/hooks/useV2FundraisingContributors.d.mts +89 -9
  22. package/dist/hooks/useV2FundraisingContributors.d.ts +89 -9
  23. package/dist/hooks/useV2FundraisingContributorsCount.d.mts +21 -5
  24. package/dist/hooks/useV2FundraisingContributorsCount.d.ts +21 -5
  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 +21 -5
  28. package/dist/hooks/useV2FundraisingContributorsUsers.d.ts +21 -5
  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 +69 -21
  32. package/dist/hooks/useV2FundraisingProjectsProjectIdPaymentSummary.d.ts +69 -21
  33. package/dist/hooks/useV2FundraisingRewards.d.mts +169 -13
  34. package/dist/hooks/useV2FundraisingRewards.d.ts +169 -13
  35. package/dist/hooks/useV2FundraisingRewardsAll.d.mts +17 -5
  36. package/dist/hooks/useV2FundraisingRewardsAll.d.ts +17 -5
  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 +105 -45
  42. package/dist/hooks/useV2FundraisingRewardsRewardId.d.ts +105 -45
  43. package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrders.d.mts +197 -13
  44. package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrders.d.ts +197 -13
  45. package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersAll.d.mts +37 -5
  46. package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersAll.d.ts +37 -5
  47. package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOrderId.d.mts +193 -45
  48. package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOrderId.d.ts +193 -45
  49. package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewards.d.mts +25 -5
  50. package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewards.d.ts +25 -5
  51. package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectsOwnedPublicProjects.d.mts +17 -5
  52. package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectsOwnedPublicProjects.d.ts +17 -5
  53. package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrders.d.mts +153 -13
  54. package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrders.d.ts +153 -13
  55. package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersAll.d.mts +37 -5
  56. package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersAll.d.ts +37 -5
  57. package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOrderId.d.mts +169 -49
  58. package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOrderId.d.ts +169 -49
  59. package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewards.d.mts +25 -5
  60. package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewards.d.ts +25 -5
  61. package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjects.d.mts +17 -5
  62. package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjects.d.ts +17 -5
  63. package/dist/hooks/useV2OwnerCrmContributorsOrders.d.mts +149 -9
  64. package/dist/hooks/useV2OwnerCrmContributorsOrders.d.ts +149 -9
  65. package/dist/hooks/useV2OwnerCrmContributorsProjects.d.mts +25 -5
  66. package/dist/hooks/useV2OwnerCrmContributorsProjects.d.ts +25 -5
  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 +29 -5
  70. package/dist/hooks/useV2ResourcesBankBranches.d.ts +29 -5
  71. package/dist/hooks/useV2ResourcesBanks.d.mts +21 -5
  72. package/dist/hooks/useV2ResourcesBanks.d.ts +21 -5
  73. package/dist/hooks/useV2ResourcesUsers.d.mts +29 -5
  74. package/dist/hooks/useV2ResourcesUsers.d.ts +29 -5
  75. package/package.json +11 -12
@@ -1,47 +1,77 @@
1
1
  import * as swr_infinite from 'swr/infinite';
2
2
  import { SWRInfiniteKeyLoader, SWRInfiniteConfiguration } from 'swr/infinite';
3
+ import { components } from '../schemaType.mjs';
3
4
  import * as swr from 'swr';
4
5
  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
- id: number;
13
- title?: string;
14
- description: string;
15
- thumbnailUrl: string;
16
12
  price: number;
17
- orderReward: components["schemas"]["FundraisingRewards_OrderReward"];
18
- rewardStock: components["schemas"]["FundraisingRewards_RewardStock"];
19
- estimatedArrivalMonth?: string;
20
- shipCompletedAt?: string;
21
- deliveryRate: number;
13
+ id: number;
22
14
  deliveryState: "notStarted" | "completed" | "actionNotNeeded";
15
+ deliveryRate: number;
16
+ 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
+ };
23
27
  notDeliveryStartedCount: number;
28
+ project: {
29
+ id: number;
30
+ title: string;
31
+ expiredAt: string;
32
+ };
33
+ description: string;
24
34
  shippingRequired: boolean;
25
- rewardExOptions?: components["schemas"]["GetFundraisingRewardsRewardId_rewardExOptions_inner"][];
26
- project: components["schemas"]["FundraisingRewards_Project"];
35
+ estimatedArrivalMonth?: string | undefined;
36
+ shipCompletedAt?: string | undefined;
37
+ title?: string | undefined;
38
+ rewardExOptions?: {
39
+ question: string;
40
+ answerSelections?: string[] | undefined;
41
+ }[] | undefined;
27
42
  } | undefined;
28
43
  error: any;
29
44
  mutate: swr.KeyedMutator<{
30
- id: number;
31
- title?: string;
32
- description: string;
33
- thumbnailUrl: string;
34
45
  price: number;
35
- orderReward: components["schemas"]["FundraisingRewards_OrderReward"];
36
- rewardStock: components["schemas"]["FundraisingRewards_RewardStock"];
37
- estimatedArrivalMonth?: string;
38
- shipCompletedAt?: string;
39
- deliveryRate: number;
46
+ id: number;
40
47
  deliveryState: "notStarted" | "completed" | "actionNotNeeded";
48
+ deliveryRate: number;
49
+ 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
+ };
41
60
  notDeliveryStartedCount: number;
61
+ project: {
62
+ id: number;
63
+ title: string;
64
+ expiredAt: string;
65
+ };
66
+ description: string;
42
67
  shippingRequired: boolean;
43
- rewardExOptions?: components["schemas"]["GetFundraisingRewardsRewardId_rewardExOptions_inner"][];
44
- project: components["schemas"]["FundraisingRewards_Project"];
68
+ estimatedArrivalMonth?: string | undefined;
69
+ shipCompletedAt?: string | undefined;
70
+ title?: string | undefined;
71
+ rewardExOptions?: {
72
+ question: string;
73
+ answerSelections?: string[] | undefined;
74
+ }[] | undefined;
45
75
  }>;
46
76
  isValidating: boolean;
47
77
  isLoading: boolean;
@@ -49,39 +79,69 @@ declare const useV2FundraisingRewardsRewardId: (path: V2FundraisingRewardsReward
49
79
  };
50
80
  declare const useV2FundraisingRewardsRewardIdImmutable: (path: V2FundraisingRewardsRewardIdGetPath, swrConfig?: Configuration<V2FundraisingRewardsRewardIdGetResponse>) => {
51
81
  data: {
52
- id: number;
53
- title?: string;
54
- description: string;
55
- thumbnailUrl: string;
56
82
  price: number;
57
- orderReward: components["schemas"]["FundraisingRewards_OrderReward"];
58
- rewardStock: components["schemas"]["FundraisingRewards_RewardStock"];
59
- estimatedArrivalMonth?: string;
60
- shipCompletedAt?: string;
61
- deliveryRate: number;
83
+ id: number;
62
84
  deliveryState: "notStarted" | "completed" | "actionNotNeeded";
85
+ deliveryRate: number;
86
+ 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
+ };
63
97
  notDeliveryStartedCount: number;
98
+ project: {
99
+ id: number;
100
+ title: string;
101
+ expiredAt: string;
102
+ };
103
+ description: string;
64
104
  shippingRequired: boolean;
65
- rewardExOptions?: components["schemas"]["GetFundraisingRewardsRewardId_rewardExOptions_inner"][];
66
- project: components["schemas"]["FundraisingRewards_Project"];
105
+ estimatedArrivalMonth?: string | undefined;
106
+ shipCompletedAt?: string | undefined;
107
+ title?: string | undefined;
108
+ rewardExOptions?: {
109
+ question: string;
110
+ answerSelections?: string[] | undefined;
111
+ }[] | undefined;
67
112
  } | undefined;
68
113
  error: any;
69
114
  mutate: swr.KeyedMutator<{
70
- id: number;
71
- title?: string;
72
- description: string;
73
- thumbnailUrl: string;
74
115
  price: number;
75
- orderReward: components["schemas"]["FundraisingRewards_OrderReward"];
76
- rewardStock: components["schemas"]["FundraisingRewards_RewardStock"];
77
- estimatedArrivalMonth?: string;
78
- shipCompletedAt?: string;
79
- deliveryRate: number;
116
+ id: number;
80
117
  deliveryState: "notStarted" | "completed" | "actionNotNeeded";
118
+ deliveryRate: number;
119
+ 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
+ };
81
130
  notDeliveryStartedCount: number;
131
+ project: {
132
+ id: number;
133
+ title: string;
134
+ expiredAt: string;
135
+ };
136
+ description: string;
82
137
  shippingRequired: boolean;
83
- rewardExOptions?: components["schemas"]["GetFundraisingRewardsRewardId_rewardExOptions_inner"][];
84
- project: components["schemas"]["FundraisingRewards_Project"];
138
+ estimatedArrivalMonth?: string | undefined;
139
+ shipCompletedAt?: string | undefined;
140
+ title?: string | undefined;
141
+ rewardExOptions?: {
142
+ question: string;
143
+ answerSelections?: string[] | undefined;
144
+ }[] | undefined;
85
145
  }>;
86
146
  isValidating: boolean;
87
147
  isLoading: boolean;
@@ -1,47 +1,77 @@
1
1
  import * as swr_infinite from 'swr/infinite';
2
2
  import { SWRInfiniteKeyLoader, SWRInfiniteConfiguration } from 'swr/infinite';
3
+ import { components } from '../schemaType.js';
3
4
  import * as swr from 'swr';
4
5
  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
- id: number;
13
- title?: string;
14
- description: string;
15
- thumbnailUrl: string;
16
12
  price: number;
17
- orderReward: components["schemas"]["FundraisingRewards_OrderReward"];
18
- rewardStock: components["schemas"]["FundraisingRewards_RewardStock"];
19
- estimatedArrivalMonth?: string;
20
- shipCompletedAt?: string;
21
- deliveryRate: number;
13
+ id: number;
22
14
  deliveryState: "notStarted" | "completed" | "actionNotNeeded";
15
+ deliveryRate: number;
16
+ 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
+ };
23
27
  notDeliveryStartedCount: number;
28
+ project: {
29
+ id: number;
30
+ title: string;
31
+ expiredAt: string;
32
+ };
33
+ description: string;
24
34
  shippingRequired: boolean;
25
- rewardExOptions?: components["schemas"]["GetFundraisingRewardsRewardId_rewardExOptions_inner"][];
26
- project: components["schemas"]["FundraisingRewards_Project"];
35
+ estimatedArrivalMonth?: string | undefined;
36
+ shipCompletedAt?: string | undefined;
37
+ title?: string | undefined;
38
+ rewardExOptions?: {
39
+ question: string;
40
+ answerSelections?: string[] | undefined;
41
+ }[] | undefined;
27
42
  } | undefined;
28
43
  error: any;
29
44
  mutate: swr.KeyedMutator<{
30
- id: number;
31
- title?: string;
32
- description: string;
33
- thumbnailUrl: string;
34
45
  price: number;
35
- orderReward: components["schemas"]["FundraisingRewards_OrderReward"];
36
- rewardStock: components["schemas"]["FundraisingRewards_RewardStock"];
37
- estimatedArrivalMonth?: string;
38
- shipCompletedAt?: string;
39
- deliveryRate: number;
46
+ id: number;
40
47
  deliveryState: "notStarted" | "completed" | "actionNotNeeded";
48
+ deliveryRate: number;
49
+ 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
+ };
41
60
  notDeliveryStartedCount: number;
61
+ project: {
62
+ id: number;
63
+ title: string;
64
+ expiredAt: string;
65
+ };
66
+ description: string;
42
67
  shippingRequired: boolean;
43
- rewardExOptions?: components["schemas"]["GetFundraisingRewardsRewardId_rewardExOptions_inner"][];
44
- project: components["schemas"]["FundraisingRewards_Project"];
68
+ estimatedArrivalMonth?: string | undefined;
69
+ shipCompletedAt?: string | undefined;
70
+ title?: string | undefined;
71
+ rewardExOptions?: {
72
+ question: string;
73
+ answerSelections?: string[] | undefined;
74
+ }[] | undefined;
45
75
  }>;
46
76
  isValidating: boolean;
47
77
  isLoading: boolean;
@@ -49,39 +79,69 @@ declare const useV2FundraisingRewardsRewardId: (path: V2FundraisingRewardsReward
49
79
  };
50
80
  declare const useV2FundraisingRewardsRewardIdImmutable: (path: V2FundraisingRewardsRewardIdGetPath, swrConfig?: Configuration<V2FundraisingRewardsRewardIdGetResponse>) => {
51
81
  data: {
52
- id: number;
53
- title?: string;
54
- description: string;
55
- thumbnailUrl: string;
56
82
  price: number;
57
- orderReward: components["schemas"]["FundraisingRewards_OrderReward"];
58
- rewardStock: components["schemas"]["FundraisingRewards_RewardStock"];
59
- estimatedArrivalMonth?: string;
60
- shipCompletedAt?: string;
61
- deliveryRate: number;
83
+ id: number;
62
84
  deliveryState: "notStarted" | "completed" | "actionNotNeeded";
85
+ deliveryRate: number;
86
+ 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
+ };
63
97
  notDeliveryStartedCount: number;
98
+ project: {
99
+ id: number;
100
+ title: string;
101
+ expiredAt: string;
102
+ };
103
+ description: string;
64
104
  shippingRequired: boolean;
65
- rewardExOptions?: components["schemas"]["GetFundraisingRewardsRewardId_rewardExOptions_inner"][];
66
- project: components["schemas"]["FundraisingRewards_Project"];
105
+ estimatedArrivalMonth?: string | undefined;
106
+ shipCompletedAt?: string | undefined;
107
+ title?: string | undefined;
108
+ rewardExOptions?: {
109
+ question: string;
110
+ answerSelections?: string[] | undefined;
111
+ }[] | undefined;
67
112
  } | undefined;
68
113
  error: any;
69
114
  mutate: swr.KeyedMutator<{
70
- id: number;
71
- title?: string;
72
- description: string;
73
- thumbnailUrl: string;
74
115
  price: number;
75
- orderReward: components["schemas"]["FundraisingRewards_OrderReward"];
76
- rewardStock: components["schemas"]["FundraisingRewards_RewardStock"];
77
- estimatedArrivalMonth?: string;
78
- shipCompletedAt?: string;
79
- deliveryRate: number;
116
+ id: number;
80
117
  deliveryState: "notStarted" | "completed" | "actionNotNeeded";
118
+ deliveryRate: number;
119
+ 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
+ };
81
130
  notDeliveryStartedCount: number;
131
+ project: {
132
+ id: number;
133
+ title: string;
134
+ expiredAt: string;
135
+ };
136
+ description: string;
82
137
  shippingRequired: boolean;
83
- rewardExOptions?: components["schemas"]["GetFundraisingRewardsRewardId_rewardExOptions_inner"][];
84
- project: components["schemas"]["FundraisingRewards_Project"];
138
+ estimatedArrivalMonth?: string | undefined;
139
+ shipCompletedAt?: string | undefined;
140
+ title?: string | undefined;
141
+ rewardExOptions?: {
142
+ question: string;
143
+ answerSelections?: string[] | undefined;
144
+ }[] | undefined;
85
145
  }>;
86
146
  isValidating: boolean;
87
147
  isLoading: boolean;
@@ -1,25 +1,117 @@
1
1
  import * as swr_infinite from 'swr/infinite';
2
2
  import { SWRInfiniteKeyLoader, SWRInfiniteConfiguration } from 'swr/infinite';
3
+ import { components } from '../schemaType.mjs';
3
4
  import * as swr from 'swr';
4
5
  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: components["schemas"]["FundraisingOrders_SpotCrowdfundingOrdersCount"];
13
- orders: components["schemas"]["FundraisingOrders_SpotCrowdfundingProjectOrder"][];
14
- pagination: components["schemas"]["Fundraising_Pagination"];
12
+ ordersCount: {
13
+ ongoing: number;
14
+ closed: number;
15
+ };
15
16
  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
+ }[];
16
62
  } | undefined;
17
63
  error: any;
18
64
  mutate: swr.KeyedMutator<{
19
- ordersCount: components["schemas"]["FundraisingOrders_SpotCrowdfundingOrdersCount"];
20
- orders: components["schemas"]["FundraisingOrders_SpotCrowdfundingProjectOrder"][];
21
- pagination: components["schemas"]["Fundraising_Pagination"];
65
+ ordersCount: {
66
+ ongoing: number;
67
+ closed: number;
68
+ };
22
69
  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
+ }[];
23
115
  }>;
24
116
  isValidating: boolean;
25
117
  isLoading: boolean;
@@ -27,17 +119,109 @@ declare const useV2FundraisingSpotCrowdfundingProjectOrders: (query: V2Fundraisi
27
119
  };
28
120
  declare const useV2FundraisingSpotCrowdfundingProjectOrdersImmutable: (query: V2FundraisingSpotCrowdfundingProjectOrdersGetQuery, swrConfig?: Configuration<V2FundraisingSpotCrowdfundingProjectOrdersGetResponse>) => {
29
121
  data: {
30
- ordersCount: components["schemas"]["FundraisingOrders_SpotCrowdfundingOrdersCount"];
31
- orders: components["schemas"]["FundraisingOrders_SpotCrowdfundingProjectOrder"][];
32
- pagination: components["schemas"]["Fundraising_Pagination"];
122
+ ordersCount: {
123
+ ongoing: number;
124
+ closed: number;
125
+ };
33
126
  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
+ }[];
34
172
  } | undefined;
35
173
  error: any;
36
174
  mutate: swr.KeyedMutator<{
37
- ordersCount: components["schemas"]["FundraisingOrders_SpotCrowdfundingOrdersCount"];
38
- orders: components["schemas"]["FundraisingOrders_SpotCrowdfundingProjectOrder"][];
39
- pagination: components["schemas"]["Fundraising_Pagination"];
175
+ ordersCount: {
176
+ ongoing: number;
177
+ closed: number;
178
+ };
40
179
  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
+ }[];
41
225
  }>;
42
226
  isValidating: boolean;
43
227
  isLoading: boolean;