@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,52 +1,28 @@
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 { V2ContributionsPaymentMethodsGetResponse } from '../fetch/v2ContributionsPaymentMethods.mjs';
8
8
 
9
9
  declare const useV2ContributionsPaymentMethods: (swrConfig?: Configuration<V2ContributionsPaymentMethodsGetResponse>) => {
10
10
  data: ({
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
- }[];
21
- } | {
22
11
  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;
12
+ maintenance: components["schemas"]["Contributions_Common_Maintenance"];
13
+ paymentMethodCd: components["schemas"]["Contributions_Common_PaymentMethodCode"];
14
+ } | {
15
+ paymentMethodCd: components["schemas"]["Contributions_Common_PaymentMethodCode"];
16
+ statuses: components["schemas"]["Contributions_ConvenienceStatus"][];
29
17
  })[] | undefined;
30
18
  error: any;
31
19
  mutate: swr.KeyedMutator<({
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
- }[];
42
- } | {
43
20
  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;
21
+ maintenance: components["schemas"]["Contributions_Common_Maintenance"];
22
+ paymentMethodCd: components["schemas"]["Contributions_Common_PaymentMethodCode"];
23
+ } | {
24
+ paymentMethodCd: components["schemas"]["Contributions_Common_PaymentMethodCode"];
25
+ statuses: components["schemas"]["Contributions_ConvenienceStatus"][];
50
26
  })[]>;
51
27
  isValidating: boolean;
52
28
  isLoading: boolean;
@@ -54,45 +30,21 @@ declare const useV2ContributionsPaymentMethods: (swrConfig?: Configuration<V2Con
54
30
  };
55
31
  declare const useV2ContributionsPaymentMethodsImmutable: (swrConfig?: Configuration<V2ContributionsPaymentMethodsGetResponse>) => {
56
32
  data: ({
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
- }[];
67
- } | {
68
33
  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;
34
+ maintenance: components["schemas"]["Contributions_Common_Maintenance"];
35
+ paymentMethodCd: components["schemas"]["Contributions_Common_PaymentMethodCode"];
36
+ } | {
37
+ paymentMethodCd: components["schemas"]["Contributions_Common_PaymentMethodCode"];
38
+ statuses: components["schemas"]["Contributions_ConvenienceStatus"][];
75
39
  })[] | undefined;
76
40
  error: any;
77
41
  mutate: swr.KeyedMutator<({
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
- }[];
88
- } | {
89
42
  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;
43
+ maintenance: components["schemas"]["Contributions_Common_Maintenance"];
44
+ paymentMethodCd: components["schemas"]["Contributions_Common_PaymentMethodCode"];
45
+ } | {
46
+ paymentMethodCd: components["schemas"]["Contributions_Common_PaymentMethodCode"];
47
+ statuses: components["schemas"]["Contributions_ConvenienceStatus"][];
96
48
  })[]>;
97
49
  isValidating: boolean;
98
50
  isLoading: boolean;
@@ -1,52 +1,28 @@
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 { V2ContributionsPaymentMethodsGetResponse } from '../fetch/v2ContributionsPaymentMethods.js';
8
8
 
9
9
  declare const useV2ContributionsPaymentMethods: (swrConfig?: Configuration<V2ContributionsPaymentMethodsGetResponse>) => {
10
10
  data: ({
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
- }[];
21
- } | {
22
11
  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;
12
+ maintenance: components["schemas"]["Contributions_Common_Maintenance"];
13
+ paymentMethodCd: components["schemas"]["Contributions_Common_PaymentMethodCode"];
14
+ } | {
15
+ paymentMethodCd: components["schemas"]["Contributions_Common_PaymentMethodCode"];
16
+ statuses: components["schemas"]["Contributions_ConvenienceStatus"][];
29
17
  })[] | undefined;
30
18
  error: any;
31
19
  mutate: swr.KeyedMutator<({
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
- }[];
42
- } | {
43
20
  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;
21
+ maintenance: components["schemas"]["Contributions_Common_Maintenance"];
22
+ paymentMethodCd: components["schemas"]["Contributions_Common_PaymentMethodCode"];
23
+ } | {
24
+ paymentMethodCd: components["schemas"]["Contributions_Common_PaymentMethodCode"];
25
+ statuses: components["schemas"]["Contributions_ConvenienceStatus"][];
50
26
  })[]>;
51
27
  isValidating: boolean;
52
28
  isLoading: boolean;
@@ -54,45 +30,21 @@ declare const useV2ContributionsPaymentMethods: (swrConfig?: Configuration<V2Con
54
30
  };
55
31
  declare const useV2ContributionsPaymentMethodsImmutable: (swrConfig?: Configuration<V2ContributionsPaymentMethodsGetResponse>) => {
56
32
  data: ({
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
- }[];
67
- } | {
68
33
  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;
34
+ maintenance: components["schemas"]["Contributions_Common_Maintenance"];
35
+ paymentMethodCd: components["schemas"]["Contributions_Common_PaymentMethodCode"];
36
+ } | {
37
+ paymentMethodCd: components["schemas"]["Contributions_Common_PaymentMethodCode"];
38
+ statuses: components["schemas"]["Contributions_ConvenienceStatus"][];
75
39
  })[] | undefined;
76
40
  error: any;
77
41
  mutate: swr.KeyedMutator<({
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
- }[];
88
- } | {
89
42
  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;
43
+ maintenance: components["schemas"]["Contributions_Common_Maintenance"];
44
+ paymentMethodCd: components["schemas"]["Contributions_Common_PaymentMethodCode"];
45
+ } | {
46
+ paymentMethodCd: components["schemas"]["Contributions_Common_PaymentMethodCode"];
47
+ statuses: components["schemas"]["Contributions_ConvenienceStatus"][];
96
48
  })[]>;
97
49
  isValidating: boolean;
98
50
  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';
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 { V2ContributionsProjectInfoGetQuery, V2ContributionsProjectInfoGetResponse } from '../fetch/v2ContributionsProjectInfo.mjs';
8
8
  import '@readyfor/api-client-base';
@@ -10,120 +10,48 @@ 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;
13
14
  title: string;
15
+ prettyState: "closed_counting" | "closed_achieved" | "closed_not_achieved" | "open_achieved" | "open_not_achieved" | "not_published";
14
16
  expiredAt: string | null;
15
- fundingModel: 0 | 1 | 3 | 4;
16
- fundedPercent: number | null;
17
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";
18
+ fundingModel: 0 | 1 | 3 | 4;
54
19
  rewardNotation: string;
55
20
  requiredPeopleNum: number | null;
56
21
  remainingDayOrTimeValue: string | null;
57
- paymentMethodRestriction: 0 | 4 | 2 | 6;
22
+ paymentMethodRestriction: 0 | 2 | 4 | 6;
58
23
  supportType: "charity" | "furusato" | "normal";
59
24
  ownerName: string;
60
- ownerImage: {
61
- src: string;
62
- alt: string;
63
- };
25
+ ownerImage: components["schemas"]["Common_Image"];
26
+ image: components["schemas"]["Common_Image"];
27
+ rewards: components["schemas"]["Contributions_ProjectInfo_Reward"][];
64
28
  hashTags: string[];
65
- gmopgPaymentSetting: {
66
- shopId: string;
67
- };
29
+ contributorSystemUsageFee: components["schemas"]["Contributions_ProjectInfo_contributorSystemUsageFee"];
30
+ gmopgPaymentSetting: components["schemas"]["Contributions_ProjectInfo_gmopgPaymentSetting"];
31
+ fundedPercent: number | null;
68
32
  } | undefined;
69
33
  error: any;
70
34
  mutate: swr.KeyedMutator<{
71
35
  id: number;
36
+ userId: number;
72
37
  title: string;
38
+ prettyState: "closed_counting" | "closed_achieved" | "closed_not_achieved" | "open_achieved" | "open_not_achieved" | "not_published";
73
39
  expiredAt: string | null;
74
- fundingModel: 0 | 1 | 3 | 4;
75
- fundedPercent: number | null;
76
40
  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";
41
+ fundingModel: 0 | 1 | 3 | 4;
113
42
  rewardNotation: string;
114
43
  requiredPeopleNum: number | null;
115
44
  remainingDayOrTimeValue: string | null;
116
- paymentMethodRestriction: 0 | 4 | 2 | 6;
45
+ paymentMethodRestriction: 0 | 2 | 4 | 6;
117
46
  supportType: "charity" | "furusato" | "normal";
118
47
  ownerName: string;
119
- ownerImage: {
120
- src: string;
121
- alt: string;
122
- };
48
+ ownerImage: components["schemas"]["Common_Image"];
49
+ image: components["schemas"]["Common_Image"];
50
+ rewards: components["schemas"]["Contributions_ProjectInfo_Reward"][];
123
51
  hashTags: string[];
124
- gmopgPaymentSetting: {
125
- shopId: string;
126
- };
52
+ contributorSystemUsageFee: components["schemas"]["Contributions_ProjectInfo_contributorSystemUsageFee"];
53
+ gmopgPaymentSetting: components["schemas"]["Contributions_ProjectInfo_gmopgPaymentSetting"];
54
+ fundedPercent: number | null;
127
55
  }>;
128
56
  isValidating: boolean;
129
57
  isLoading: boolean;
@@ -132,120 +60,48 @@ declare const useV2ContributionsProjectInfo: (query: V2ContributionsProjectInfoG
132
60
  declare const useV2ContributionsProjectInfoImmutable: (query: V2ContributionsProjectInfoGetQuery, swrConfig?: Configuration<V2ContributionsProjectInfoGetResponse>) => {
133
61
  data: {
134
62
  id: number;
63
+ userId: number;
135
64
  title: string;
65
+ prettyState: "closed_counting" | "closed_achieved" | "closed_not_achieved" | "open_achieved" | "open_not_achieved" | "not_published";
136
66
  expiredAt: string | null;
137
- fundingModel: 0 | 1 | 3 | 4;
138
- fundedPercent: number | null;
139
67
  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";
68
+ fundingModel: 0 | 1 | 3 | 4;
176
69
  rewardNotation: string;
177
70
  requiredPeopleNum: number | null;
178
71
  remainingDayOrTimeValue: string | null;
179
- paymentMethodRestriction: 0 | 4 | 2 | 6;
72
+ paymentMethodRestriction: 0 | 2 | 4 | 6;
180
73
  supportType: "charity" | "furusato" | "normal";
181
74
  ownerName: string;
182
- ownerImage: {
183
- src: string;
184
- alt: string;
185
- };
75
+ ownerImage: components["schemas"]["Common_Image"];
76
+ image: components["schemas"]["Common_Image"];
77
+ rewards: components["schemas"]["Contributions_ProjectInfo_Reward"][];
186
78
  hashTags: string[];
187
- gmopgPaymentSetting: {
188
- shopId: string;
189
- };
79
+ contributorSystemUsageFee: components["schemas"]["Contributions_ProjectInfo_contributorSystemUsageFee"];
80
+ gmopgPaymentSetting: components["schemas"]["Contributions_ProjectInfo_gmopgPaymentSetting"];
81
+ fundedPercent: number | null;
190
82
  } | undefined;
191
83
  error: any;
192
84
  mutate: swr.KeyedMutator<{
193
85
  id: number;
86
+ userId: number;
194
87
  title: string;
88
+ prettyState: "closed_counting" | "closed_achieved" | "closed_not_achieved" | "open_achieved" | "open_not_achieved" | "not_published";
195
89
  expiredAt: string | null;
196
- fundingModel: 0 | 1 | 3 | 4;
197
- fundedPercent: number | null;
198
90
  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";
91
+ fundingModel: 0 | 1 | 3 | 4;
235
92
  rewardNotation: string;
236
93
  requiredPeopleNum: number | null;
237
94
  remainingDayOrTimeValue: string | null;
238
- paymentMethodRestriction: 0 | 4 | 2 | 6;
95
+ paymentMethodRestriction: 0 | 2 | 4 | 6;
239
96
  supportType: "charity" | "furusato" | "normal";
240
97
  ownerName: string;
241
- ownerImage: {
242
- src: string;
243
- alt: string;
244
- };
98
+ ownerImage: components["schemas"]["Common_Image"];
99
+ image: components["schemas"]["Common_Image"];
100
+ rewards: components["schemas"]["Contributions_ProjectInfo_Reward"][];
245
101
  hashTags: string[];
246
- gmopgPaymentSetting: {
247
- shopId: string;
248
- };
102
+ contributorSystemUsageFee: components["schemas"]["Contributions_ProjectInfo_contributorSystemUsageFee"];
103
+ gmopgPaymentSetting: components["schemas"]["Contributions_ProjectInfo_gmopgPaymentSetting"];
104
+ fundedPercent: number | null;
249
105
  }>;
250
106
  isValidating: boolean;
251
107
  isLoading: boolean;