@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,28 +1,52 @@
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 { V2ContributionsPaymentMethodsGetResponse } from '../fetch/v2ContributionsPaymentMethods.mjs';
8
8
 
9
9
  declare const useV2ContributionsPaymentMethods: (swrConfig?: Configuration<V2ContributionsPaymentMethodsGetResponse>) => {
10
10
  data: ({
11
- enable: boolean;
12
- maintenance: components["schemas"]["Contributions_Common_Maintenance"];
13
- paymentMethodCd: components["schemas"]["Contributions_Common_PaymentMethodCode"];
11
+ paymentMethodCd: 10 | 20 | 100 | 200 | 300 | 400 | 500 | 600 | 700;
12
+ statuses: {
13
+ cvsCode: "00007" | "10001" | "10002" | "10005" | "10008";
14
+ enable: boolean;
15
+ maintenance: {
16
+ inMaintenance: boolean;
17
+ beginAt: string | null;
18
+ endAt: string | null;
19
+ };
20
+ }[];
14
21
  } | {
15
- paymentMethodCd: components["schemas"]["Contributions_Common_PaymentMethodCode"];
16
- statuses: components["schemas"]["Contributions_ConvenienceStatus"][];
22
+ enable: boolean;
23
+ maintenance: {
24
+ inMaintenance: boolean;
25
+ beginAt: string | null;
26
+ endAt: string | null;
27
+ };
28
+ paymentMethodCd: 10 | 20 | 100 | 200 | 300 | 400 | 500 | 600 | 700;
17
29
  })[] | undefined;
18
30
  error: any;
19
31
  mutate: swr.KeyedMutator<({
20
- enable: boolean;
21
- maintenance: components["schemas"]["Contributions_Common_Maintenance"];
22
- paymentMethodCd: components["schemas"]["Contributions_Common_PaymentMethodCode"];
32
+ paymentMethodCd: 10 | 20 | 100 | 200 | 300 | 400 | 500 | 600 | 700;
33
+ statuses: {
34
+ cvsCode: "00007" | "10001" | "10002" | "10005" | "10008";
35
+ enable: boolean;
36
+ maintenance: {
37
+ inMaintenance: boolean;
38
+ beginAt: string | null;
39
+ endAt: string | null;
40
+ };
41
+ }[];
23
42
  } | {
24
- paymentMethodCd: components["schemas"]["Contributions_Common_PaymentMethodCode"];
25
- statuses: components["schemas"]["Contributions_ConvenienceStatus"][];
43
+ enable: boolean;
44
+ maintenance: {
45
+ inMaintenance: boolean;
46
+ beginAt: string | null;
47
+ endAt: string | null;
48
+ };
49
+ paymentMethodCd: 10 | 20 | 100 | 200 | 300 | 400 | 500 | 600 | 700;
26
50
  })[]>;
27
51
  isValidating: boolean;
28
52
  isLoading: boolean;
@@ -30,21 +54,45 @@ declare const useV2ContributionsPaymentMethods: (swrConfig?: Configuration<V2Con
30
54
  };
31
55
  declare const useV2ContributionsPaymentMethodsImmutable: (swrConfig?: Configuration<V2ContributionsPaymentMethodsGetResponse>) => {
32
56
  data: ({
33
- enable: boolean;
34
- maintenance: components["schemas"]["Contributions_Common_Maintenance"];
35
- paymentMethodCd: components["schemas"]["Contributions_Common_PaymentMethodCode"];
57
+ paymentMethodCd: 10 | 20 | 100 | 200 | 300 | 400 | 500 | 600 | 700;
58
+ statuses: {
59
+ cvsCode: "00007" | "10001" | "10002" | "10005" | "10008";
60
+ enable: boolean;
61
+ maintenance: {
62
+ inMaintenance: boolean;
63
+ beginAt: string | null;
64
+ endAt: string | null;
65
+ };
66
+ }[];
36
67
  } | {
37
- paymentMethodCd: components["schemas"]["Contributions_Common_PaymentMethodCode"];
38
- statuses: components["schemas"]["Contributions_ConvenienceStatus"][];
68
+ enable: boolean;
69
+ maintenance: {
70
+ inMaintenance: boolean;
71
+ beginAt: string | null;
72
+ endAt: string | null;
73
+ };
74
+ paymentMethodCd: 10 | 20 | 100 | 200 | 300 | 400 | 500 | 600 | 700;
39
75
  })[] | undefined;
40
76
  error: any;
41
77
  mutate: swr.KeyedMutator<({
42
- enable: boolean;
43
- maintenance: components["schemas"]["Contributions_Common_Maintenance"];
44
- paymentMethodCd: components["schemas"]["Contributions_Common_PaymentMethodCode"];
78
+ paymentMethodCd: 10 | 20 | 100 | 200 | 300 | 400 | 500 | 600 | 700;
79
+ statuses: {
80
+ cvsCode: "00007" | "10001" | "10002" | "10005" | "10008";
81
+ enable: boolean;
82
+ maintenance: {
83
+ inMaintenance: boolean;
84
+ beginAt: string | null;
85
+ endAt: string | null;
86
+ };
87
+ }[];
45
88
  } | {
46
- paymentMethodCd: components["schemas"]["Contributions_Common_PaymentMethodCode"];
47
- statuses: components["schemas"]["Contributions_ConvenienceStatus"][];
89
+ enable: boolean;
90
+ maintenance: {
91
+ inMaintenance: boolean;
92
+ beginAt: string | null;
93
+ endAt: string | null;
94
+ };
95
+ paymentMethodCd: 10 | 20 | 100 | 200 | 300 | 400 | 500 | 600 | 700;
48
96
  })[]>;
49
97
  isValidating: boolean;
50
98
  isLoading: boolean;
@@ -1,28 +1,52 @@
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 { V2ContributionsPaymentMethodsGetResponse } from '../fetch/v2ContributionsPaymentMethods.js';
8
8
 
9
9
  declare const useV2ContributionsPaymentMethods: (swrConfig?: Configuration<V2ContributionsPaymentMethodsGetResponse>) => {
10
10
  data: ({
11
- enable: boolean;
12
- maintenance: components["schemas"]["Contributions_Common_Maintenance"];
13
- paymentMethodCd: components["schemas"]["Contributions_Common_PaymentMethodCode"];
11
+ paymentMethodCd: 10 | 20 | 100 | 200 | 300 | 400 | 500 | 600 | 700;
12
+ statuses: {
13
+ cvsCode: "00007" | "10001" | "10002" | "10005" | "10008";
14
+ enable: boolean;
15
+ maintenance: {
16
+ inMaintenance: boolean;
17
+ beginAt: string | null;
18
+ endAt: string | null;
19
+ };
20
+ }[];
14
21
  } | {
15
- paymentMethodCd: components["schemas"]["Contributions_Common_PaymentMethodCode"];
16
- statuses: components["schemas"]["Contributions_ConvenienceStatus"][];
22
+ enable: boolean;
23
+ maintenance: {
24
+ inMaintenance: boolean;
25
+ beginAt: string | null;
26
+ endAt: string | null;
27
+ };
28
+ paymentMethodCd: 10 | 20 | 100 | 200 | 300 | 400 | 500 | 600 | 700;
17
29
  })[] | undefined;
18
30
  error: any;
19
31
  mutate: swr.KeyedMutator<({
20
- enable: boolean;
21
- maintenance: components["schemas"]["Contributions_Common_Maintenance"];
22
- paymentMethodCd: components["schemas"]["Contributions_Common_PaymentMethodCode"];
32
+ paymentMethodCd: 10 | 20 | 100 | 200 | 300 | 400 | 500 | 600 | 700;
33
+ statuses: {
34
+ cvsCode: "00007" | "10001" | "10002" | "10005" | "10008";
35
+ enable: boolean;
36
+ maintenance: {
37
+ inMaintenance: boolean;
38
+ beginAt: string | null;
39
+ endAt: string | null;
40
+ };
41
+ }[];
23
42
  } | {
24
- paymentMethodCd: components["schemas"]["Contributions_Common_PaymentMethodCode"];
25
- statuses: components["schemas"]["Contributions_ConvenienceStatus"][];
43
+ enable: boolean;
44
+ maintenance: {
45
+ inMaintenance: boolean;
46
+ beginAt: string | null;
47
+ endAt: string | null;
48
+ };
49
+ paymentMethodCd: 10 | 20 | 100 | 200 | 300 | 400 | 500 | 600 | 700;
26
50
  })[]>;
27
51
  isValidating: boolean;
28
52
  isLoading: boolean;
@@ -30,21 +54,45 @@ declare const useV2ContributionsPaymentMethods: (swrConfig?: Configuration<V2Con
30
54
  };
31
55
  declare const useV2ContributionsPaymentMethodsImmutable: (swrConfig?: Configuration<V2ContributionsPaymentMethodsGetResponse>) => {
32
56
  data: ({
33
- enable: boolean;
34
- maintenance: components["schemas"]["Contributions_Common_Maintenance"];
35
- paymentMethodCd: components["schemas"]["Contributions_Common_PaymentMethodCode"];
57
+ paymentMethodCd: 10 | 20 | 100 | 200 | 300 | 400 | 500 | 600 | 700;
58
+ statuses: {
59
+ cvsCode: "00007" | "10001" | "10002" | "10005" | "10008";
60
+ enable: boolean;
61
+ maintenance: {
62
+ inMaintenance: boolean;
63
+ beginAt: string | null;
64
+ endAt: string | null;
65
+ };
66
+ }[];
36
67
  } | {
37
- paymentMethodCd: components["schemas"]["Contributions_Common_PaymentMethodCode"];
38
- statuses: components["schemas"]["Contributions_ConvenienceStatus"][];
68
+ enable: boolean;
69
+ maintenance: {
70
+ inMaintenance: boolean;
71
+ beginAt: string | null;
72
+ endAt: string | null;
73
+ };
74
+ paymentMethodCd: 10 | 20 | 100 | 200 | 300 | 400 | 500 | 600 | 700;
39
75
  })[] | undefined;
40
76
  error: any;
41
77
  mutate: swr.KeyedMutator<({
42
- enable: boolean;
43
- maintenance: components["schemas"]["Contributions_Common_Maintenance"];
44
- paymentMethodCd: components["schemas"]["Contributions_Common_PaymentMethodCode"];
78
+ paymentMethodCd: 10 | 20 | 100 | 200 | 300 | 400 | 500 | 600 | 700;
79
+ statuses: {
80
+ cvsCode: "00007" | "10001" | "10002" | "10005" | "10008";
81
+ enable: boolean;
82
+ maintenance: {
83
+ inMaintenance: boolean;
84
+ beginAt: string | null;
85
+ endAt: string | null;
86
+ };
87
+ }[];
45
88
  } | {
46
- paymentMethodCd: components["schemas"]["Contributions_Common_PaymentMethodCode"];
47
- statuses: components["schemas"]["Contributions_ConvenienceStatus"][];
89
+ enable: boolean;
90
+ maintenance: {
91
+ inMaintenance: boolean;
92
+ beginAt: string | null;
93
+ endAt: string | null;
94
+ };
95
+ paymentMethodCd: 10 | 20 | 100 | 200 | 300 | 400 | 500 | 600 | 700;
48
96
  })[]>;
49
97
  isValidating: boolean;
50
98
  isLoading: boolean;
@@ -1,8 +1,8 @@
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 { V2ContributionsProjectInfoGetQuery, V2ContributionsProjectInfoGetResponse } from '../fetch/v2ContributionsProjectInfo.mjs';
8
8
  import '@readyfor/api-client-base';
@@ -10,48 +10,120 @@ import '@readyfor/api-client-base';
10
10
  declare const useV2ContributionsProjectInfo: (query: V2ContributionsProjectInfoGetQuery, swrConfig?: Configuration<V2ContributionsProjectInfoGetResponse>) => {
11
11
  data: {
12
12
  id: number;
13
- userId: number;
14
13
  title: string;
15
- prettyState: "closed_counting" | "closed_achieved" | "closed_not_achieved" | "open_achieved" | "open_not_achieved" | "not_published";
16
14
  expiredAt: string | null;
17
- fundingTypeNotation: string;
18
15
  fundingModel: 0 | 1 | 3 | 4;
16
+ fundedPercent: number | null;
17
+ fundingTypeNotation: string;
18
+ image: {
19
+ src: string;
20
+ alt: string;
21
+ };
22
+ rewards: {
23
+ price: number;
24
+ stockCount: string;
25
+ id: number;
26
+ title: string;
27
+ image: {
28
+ src: string;
29
+ alt: string;
30
+ } | null;
31
+ description: string;
32
+ currentReservedStockCount: number | null;
33
+ contributionLimit: number | null;
34
+ deliverySchedule: string;
35
+ requireDelivery: boolean;
36
+ rewardOptions: {
37
+ name: string;
38
+ id: number;
39
+ inputType: 0 | 5;
40
+ selections?: {
41
+ id: number;
42
+ label: string;
43
+ }[] | undefined;
44
+ }[] | null;
45
+ paymentType: "onetime" | "monthly";
46
+ }[];
47
+ userId: number;
48
+ contributorSystemUsageFee: {
49
+ totalAmount: number;
50
+ fee: number;
51
+ salesTax: number;
52
+ } | null;
53
+ prettyState: "closed_counting" | "closed_achieved" | "closed_not_achieved" | "open_achieved" | "open_not_achieved" | "not_published";
19
54
  rewardNotation: string;
20
55
  requiredPeopleNum: number | null;
21
56
  remainingDayOrTimeValue: string | null;
22
- paymentMethodRestriction: 0 | 2 | 4 | 6;
57
+ paymentMethodRestriction: 0 | 4 | 2 | 6;
23
58
  supportType: "charity" | "furusato" | "normal";
24
59
  ownerName: string;
25
- ownerImage: components["schemas"]["Common_Image"];
26
- image: components["schemas"]["Common_Image"];
27
- rewards: components["schemas"]["Contributions_ProjectInfo_Reward"][];
60
+ ownerImage: {
61
+ src: string;
62
+ alt: string;
63
+ };
28
64
  hashTags: string[];
29
- contributorSystemUsageFee: components["schemas"]["Contributions_ProjectInfo_contributorSystemUsageFee"];
30
- gmopgPaymentSetting: components["schemas"]["Contributions_ProjectInfo_gmopgPaymentSetting"];
31
- fundedPercent: number | null;
65
+ gmopgPaymentSetting: {
66
+ shopId: string;
67
+ };
32
68
  } | undefined;
33
69
  error: any;
34
70
  mutate: swr.KeyedMutator<{
35
71
  id: number;
36
- userId: number;
37
72
  title: string;
38
- prettyState: "closed_counting" | "closed_achieved" | "closed_not_achieved" | "open_achieved" | "open_not_achieved" | "not_published";
39
73
  expiredAt: string | null;
40
- fundingTypeNotation: string;
41
74
  fundingModel: 0 | 1 | 3 | 4;
75
+ fundedPercent: number | null;
76
+ fundingTypeNotation: string;
77
+ image: {
78
+ src: string;
79
+ alt: string;
80
+ };
81
+ rewards: {
82
+ price: number;
83
+ stockCount: string;
84
+ id: number;
85
+ title: string;
86
+ image: {
87
+ src: string;
88
+ alt: string;
89
+ } | null;
90
+ description: string;
91
+ currentReservedStockCount: number | null;
92
+ contributionLimit: number | null;
93
+ deliverySchedule: string;
94
+ requireDelivery: boolean;
95
+ rewardOptions: {
96
+ name: string;
97
+ id: number;
98
+ inputType: 0 | 5;
99
+ selections?: {
100
+ id: number;
101
+ label: string;
102
+ }[] | undefined;
103
+ }[] | null;
104
+ paymentType: "onetime" | "monthly";
105
+ }[];
106
+ userId: number;
107
+ contributorSystemUsageFee: {
108
+ totalAmount: number;
109
+ fee: number;
110
+ salesTax: number;
111
+ } | null;
112
+ prettyState: "closed_counting" | "closed_achieved" | "closed_not_achieved" | "open_achieved" | "open_not_achieved" | "not_published";
42
113
  rewardNotation: string;
43
114
  requiredPeopleNum: number | null;
44
115
  remainingDayOrTimeValue: string | null;
45
- paymentMethodRestriction: 0 | 2 | 4 | 6;
116
+ paymentMethodRestriction: 0 | 4 | 2 | 6;
46
117
  supportType: "charity" | "furusato" | "normal";
47
118
  ownerName: string;
48
- ownerImage: components["schemas"]["Common_Image"];
49
- image: components["schemas"]["Common_Image"];
50
- rewards: components["schemas"]["Contributions_ProjectInfo_Reward"][];
119
+ ownerImage: {
120
+ src: string;
121
+ alt: string;
122
+ };
51
123
  hashTags: string[];
52
- contributorSystemUsageFee: components["schemas"]["Contributions_ProjectInfo_contributorSystemUsageFee"];
53
- gmopgPaymentSetting: components["schemas"]["Contributions_ProjectInfo_gmopgPaymentSetting"];
54
- fundedPercent: number | null;
124
+ gmopgPaymentSetting: {
125
+ shopId: string;
126
+ };
55
127
  }>;
56
128
  isValidating: boolean;
57
129
  isLoading: boolean;
@@ -60,48 +132,120 @@ declare const useV2ContributionsProjectInfo: (query: V2ContributionsProjectInfoG
60
132
  declare const useV2ContributionsProjectInfoImmutable: (query: V2ContributionsProjectInfoGetQuery, swrConfig?: Configuration<V2ContributionsProjectInfoGetResponse>) => {
61
133
  data: {
62
134
  id: number;
63
- userId: number;
64
135
  title: string;
65
- prettyState: "closed_counting" | "closed_achieved" | "closed_not_achieved" | "open_achieved" | "open_not_achieved" | "not_published";
66
136
  expiredAt: string | null;
67
- fundingTypeNotation: string;
68
137
  fundingModel: 0 | 1 | 3 | 4;
138
+ fundedPercent: number | null;
139
+ fundingTypeNotation: string;
140
+ image: {
141
+ src: string;
142
+ alt: string;
143
+ };
144
+ rewards: {
145
+ price: number;
146
+ stockCount: string;
147
+ id: number;
148
+ title: string;
149
+ image: {
150
+ src: string;
151
+ alt: string;
152
+ } | null;
153
+ description: string;
154
+ currentReservedStockCount: number | null;
155
+ contributionLimit: number | null;
156
+ deliverySchedule: string;
157
+ requireDelivery: boolean;
158
+ rewardOptions: {
159
+ name: string;
160
+ id: number;
161
+ inputType: 0 | 5;
162
+ selections?: {
163
+ id: number;
164
+ label: string;
165
+ }[] | undefined;
166
+ }[] | null;
167
+ paymentType: "onetime" | "monthly";
168
+ }[];
169
+ userId: number;
170
+ contributorSystemUsageFee: {
171
+ totalAmount: number;
172
+ fee: number;
173
+ salesTax: number;
174
+ } | null;
175
+ prettyState: "closed_counting" | "closed_achieved" | "closed_not_achieved" | "open_achieved" | "open_not_achieved" | "not_published";
69
176
  rewardNotation: string;
70
177
  requiredPeopleNum: number | null;
71
178
  remainingDayOrTimeValue: string | null;
72
- paymentMethodRestriction: 0 | 2 | 4 | 6;
179
+ paymentMethodRestriction: 0 | 4 | 2 | 6;
73
180
  supportType: "charity" | "furusato" | "normal";
74
181
  ownerName: string;
75
- ownerImage: components["schemas"]["Common_Image"];
76
- image: components["schemas"]["Common_Image"];
77
- rewards: components["schemas"]["Contributions_ProjectInfo_Reward"][];
182
+ ownerImage: {
183
+ src: string;
184
+ alt: string;
185
+ };
78
186
  hashTags: string[];
79
- contributorSystemUsageFee: components["schemas"]["Contributions_ProjectInfo_contributorSystemUsageFee"];
80
- gmopgPaymentSetting: components["schemas"]["Contributions_ProjectInfo_gmopgPaymentSetting"];
81
- fundedPercent: number | null;
187
+ gmopgPaymentSetting: {
188
+ shopId: string;
189
+ };
82
190
  } | undefined;
83
191
  error: any;
84
192
  mutate: swr.KeyedMutator<{
85
193
  id: number;
86
- userId: number;
87
194
  title: string;
88
- prettyState: "closed_counting" | "closed_achieved" | "closed_not_achieved" | "open_achieved" | "open_not_achieved" | "not_published";
89
195
  expiredAt: string | null;
90
- fundingTypeNotation: string;
91
196
  fundingModel: 0 | 1 | 3 | 4;
197
+ fundedPercent: number | null;
198
+ fundingTypeNotation: string;
199
+ image: {
200
+ src: string;
201
+ alt: string;
202
+ };
203
+ rewards: {
204
+ price: number;
205
+ stockCount: string;
206
+ id: number;
207
+ title: string;
208
+ image: {
209
+ src: string;
210
+ alt: string;
211
+ } | null;
212
+ description: string;
213
+ currentReservedStockCount: number | null;
214
+ contributionLimit: number | null;
215
+ deliverySchedule: string;
216
+ requireDelivery: boolean;
217
+ rewardOptions: {
218
+ name: string;
219
+ id: number;
220
+ inputType: 0 | 5;
221
+ selections?: {
222
+ id: number;
223
+ label: string;
224
+ }[] | undefined;
225
+ }[] | null;
226
+ paymentType: "onetime" | "monthly";
227
+ }[];
228
+ userId: number;
229
+ contributorSystemUsageFee: {
230
+ totalAmount: number;
231
+ fee: number;
232
+ salesTax: number;
233
+ } | null;
234
+ prettyState: "closed_counting" | "closed_achieved" | "closed_not_achieved" | "open_achieved" | "open_not_achieved" | "not_published";
92
235
  rewardNotation: string;
93
236
  requiredPeopleNum: number | null;
94
237
  remainingDayOrTimeValue: string | null;
95
- paymentMethodRestriction: 0 | 2 | 4 | 6;
238
+ paymentMethodRestriction: 0 | 4 | 2 | 6;
96
239
  supportType: "charity" | "furusato" | "normal";
97
240
  ownerName: string;
98
- ownerImage: components["schemas"]["Common_Image"];
99
- image: components["schemas"]["Common_Image"];
100
- rewards: components["schemas"]["Contributions_ProjectInfo_Reward"][];
241
+ ownerImage: {
242
+ src: string;
243
+ alt: string;
244
+ };
101
245
  hashTags: string[];
102
- contributorSystemUsageFee: components["schemas"]["Contributions_ProjectInfo_contributorSystemUsageFee"];
103
- gmopgPaymentSetting: components["schemas"]["Contributions_ProjectInfo_gmopgPaymentSetting"];
104
- fundedPercent: number | null;
246
+ gmopgPaymentSetting: {
247
+ shopId: string;
248
+ };
105
249
  }>;
106
250
  isValidating: boolean;
107
251
  isLoading: boolean;