@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,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 { V2ContributionsOrderInfoGetQuery, V2ContributionsOrderInfoGetResponse } from '../fetch/v2ContributionsOrderInfo.mjs';
8
8
  import '@readyfor/api-client-base';
@@ -11,27 +11,91 @@ declare const useV2ContributionsOrderInfo: (query: V2ContributionsOrderInfoGetQu
11
11
  data: {
12
12
  payAmount: number;
13
13
  contributionLimit: number;
14
+ paymentType: "onetime" | "monthly";
14
15
  contributionAmount: number | null;
16
+ selectedRewards: {
17
+ id: number;
18
+ num: number;
19
+ rewardOptionValues: {
20
+ value: string;
21
+ id: number;
22
+ }[] | null;
23
+ }[];
24
+ bankInfo: {
25
+ accountType: string;
26
+ accountNum: string;
27
+ accountName: string;
28
+ accountNameKana: string | null;
29
+ transferName: string | null;
30
+ transferAmount: number;
31
+ limitDateTime: string;
32
+ limitDateTimeMessage: string | null;
33
+ bankName: string;
34
+ branchName: string;
35
+ branchCode: string;
36
+ bankCode: string;
37
+ } | null;
38
+ cvsInfo: {
39
+ amount: number;
40
+ paymentNumbers: {
41
+ value: string;
42
+ label: string;
43
+ }[];
44
+ paymentTerm: string;
45
+ cvsName: string;
46
+ } | null;
15
47
  commentExists: boolean;
16
- bankInfo: components["schemas"]["Contributions_OrderInfo_BankInfo"];
17
- cvsInfo: components["schemas"]["Contributions_OrderInfo_CvsInfo"];
18
- selectedRewards: components["schemas"]["Contributions_Common_SelectedReward"][];
19
- paymentType: components["schemas"]["Contributions_Common_RewardPaymentType"];
20
48
  nextBillingDate: string | null;
21
- contributorSystemUsageFee: components["schemas"]["Contributions_OrderInfo_contributorSystemUsageFee"];
49
+ contributorSystemUsageFee: {
50
+ totalAmount: number;
51
+ fee: number;
52
+ salesTax: number;
53
+ } | null;
22
54
  } | undefined;
23
55
  error: any;
24
56
  mutate: swr.KeyedMutator<{
25
57
  payAmount: number;
26
58
  contributionLimit: number;
59
+ paymentType: "onetime" | "monthly";
27
60
  contributionAmount: number | null;
61
+ selectedRewards: {
62
+ id: number;
63
+ num: number;
64
+ rewardOptionValues: {
65
+ value: string;
66
+ id: number;
67
+ }[] | null;
68
+ }[];
69
+ bankInfo: {
70
+ accountType: string;
71
+ accountNum: string;
72
+ accountName: string;
73
+ accountNameKana: string | null;
74
+ transferName: string | null;
75
+ transferAmount: number;
76
+ limitDateTime: string;
77
+ limitDateTimeMessage: string | null;
78
+ bankName: string;
79
+ branchName: string;
80
+ branchCode: string;
81
+ bankCode: string;
82
+ } | null;
83
+ cvsInfo: {
84
+ amount: number;
85
+ paymentNumbers: {
86
+ value: string;
87
+ label: string;
88
+ }[];
89
+ paymentTerm: string;
90
+ cvsName: string;
91
+ } | null;
28
92
  commentExists: boolean;
29
- bankInfo: components["schemas"]["Contributions_OrderInfo_BankInfo"];
30
- cvsInfo: components["schemas"]["Contributions_OrderInfo_CvsInfo"];
31
- selectedRewards: components["schemas"]["Contributions_Common_SelectedReward"][];
32
- paymentType: components["schemas"]["Contributions_Common_RewardPaymentType"];
33
93
  nextBillingDate: string | null;
34
- contributorSystemUsageFee: components["schemas"]["Contributions_OrderInfo_contributorSystemUsageFee"];
94
+ contributorSystemUsageFee: {
95
+ totalAmount: number;
96
+ fee: number;
97
+ salesTax: number;
98
+ } | null;
35
99
  }>;
36
100
  isValidating: boolean;
37
101
  isLoading: boolean;
@@ -41,27 +105,91 @@ declare const useV2ContributionsOrderInfoImmutable: (query: V2ContributionsOrder
41
105
  data: {
42
106
  payAmount: number;
43
107
  contributionLimit: number;
108
+ paymentType: "onetime" | "monthly";
44
109
  contributionAmount: number | null;
110
+ selectedRewards: {
111
+ id: number;
112
+ num: number;
113
+ rewardOptionValues: {
114
+ value: string;
115
+ id: number;
116
+ }[] | null;
117
+ }[];
118
+ bankInfo: {
119
+ accountType: string;
120
+ accountNum: string;
121
+ accountName: string;
122
+ accountNameKana: string | null;
123
+ transferName: string | null;
124
+ transferAmount: number;
125
+ limitDateTime: string;
126
+ limitDateTimeMessage: string | null;
127
+ bankName: string;
128
+ branchName: string;
129
+ branchCode: string;
130
+ bankCode: string;
131
+ } | null;
132
+ cvsInfo: {
133
+ amount: number;
134
+ paymentNumbers: {
135
+ value: string;
136
+ label: string;
137
+ }[];
138
+ paymentTerm: string;
139
+ cvsName: string;
140
+ } | null;
45
141
  commentExists: boolean;
46
- bankInfo: components["schemas"]["Contributions_OrderInfo_BankInfo"];
47
- cvsInfo: components["schemas"]["Contributions_OrderInfo_CvsInfo"];
48
- selectedRewards: components["schemas"]["Contributions_Common_SelectedReward"][];
49
- paymentType: components["schemas"]["Contributions_Common_RewardPaymentType"];
50
142
  nextBillingDate: string | null;
51
- contributorSystemUsageFee: components["schemas"]["Contributions_OrderInfo_contributorSystemUsageFee"];
143
+ contributorSystemUsageFee: {
144
+ totalAmount: number;
145
+ fee: number;
146
+ salesTax: number;
147
+ } | null;
52
148
  } | undefined;
53
149
  error: any;
54
150
  mutate: swr.KeyedMutator<{
55
151
  payAmount: number;
56
152
  contributionLimit: number;
153
+ paymentType: "onetime" | "monthly";
57
154
  contributionAmount: number | null;
155
+ selectedRewards: {
156
+ id: number;
157
+ num: number;
158
+ rewardOptionValues: {
159
+ value: string;
160
+ id: number;
161
+ }[] | null;
162
+ }[];
163
+ bankInfo: {
164
+ accountType: string;
165
+ accountNum: string;
166
+ accountName: string;
167
+ accountNameKana: string | null;
168
+ transferName: string | null;
169
+ transferAmount: number;
170
+ limitDateTime: string;
171
+ limitDateTimeMessage: string | null;
172
+ bankName: string;
173
+ branchName: string;
174
+ branchCode: string;
175
+ bankCode: string;
176
+ } | null;
177
+ cvsInfo: {
178
+ amount: number;
179
+ paymentNumbers: {
180
+ value: string;
181
+ label: string;
182
+ }[];
183
+ paymentTerm: string;
184
+ cvsName: string;
185
+ } | null;
58
186
  commentExists: boolean;
59
- bankInfo: components["schemas"]["Contributions_OrderInfo_BankInfo"];
60
- cvsInfo: components["schemas"]["Contributions_OrderInfo_CvsInfo"];
61
- selectedRewards: components["schemas"]["Contributions_Common_SelectedReward"][];
62
- paymentType: components["schemas"]["Contributions_Common_RewardPaymentType"];
63
187
  nextBillingDate: string | null;
64
- contributorSystemUsageFee: components["schemas"]["Contributions_OrderInfo_contributorSystemUsageFee"];
188
+ contributorSystemUsageFee: {
189
+ totalAmount: number;
190
+ fee: number;
191
+ salesTax: number;
192
+ } | null;
65
193
  }>;
66
194
  isValidating: boolean;
67
195
  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.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 { V2ContributionsOrderInfoGetQuery, V2ContributionsOrderInfoGetResponse } from '../fetch/v2ContributionsOrderInfo.js';
8
8
  import '@readyfor/api-client-base';
@@ -11,27 +11,91 @@ declare const useV2ContributionsOrderInfo: (query: V2ContributionsOrderInfoGetQu
11
11
  data: {
12
12
  payAmount: number;
13
13
  contributionLimit: number;
14
+ paymentType: "onetime" | "monthly";
14
15
  contributionAmount: number | null;
16
+ selectedRewards: {
17
+ id: number;
18
+ num: number;
19
+ rewardOptionValues: {
20
+ value: string;
21
+ id: number;
22
+ }[] | null;
23
+ }[];
24
+ bankInfo: {
25
+ accountType: string;
26
+ accountNum: string;
27
+ accountName: string;
28
+ accountNameKana: string | null;
29
+ transferName: string | null;
30
+ transferAmount: number;
31
+ limitDateTime: string;
32
+ limitDateTimeMessage: string | null;
33
+ bankName: string;
34
+ branchName: string;
35
+ branchCode: string;
36
+ bankCode: string;
37
+ } | null;
38
+ cvsInfo: {
39
+ amount: number;
40
+ paymentNumbers: {
41
+ value: string;
42
+ label: string;
43
+ }[];
44
+ paymentTerm: string;
45
+ cvsName: string;
46
+ } | null;
15
47
  commentExists: boolean;
16
- bankInfo: components["schemas"]["Contributions_OrderInfo_BankInfo"];
17
- cvsInfo: components["schemas"]["Contributions_OrderInfo_CvsInfo"];
18
- selectedRewards: components["schemas"]["Contributions_Common_SelectedReward"][];
19
- paymentType: components["schemas"]["Contributions_Common_RewardPaymentType"];
20
48
  nextBillingDate: string | null;
21
- contributorSystemUsageFee: components["schemas"]["Contributions_OrderInfo_contributorSystemUsageFee"];
49
+ contributorSystemUsageFee: {
50
+ totalAmount: number;
51
+ fee: number;
52
+ salesTax: number;
53
+ } | null;
22
54
  } | undefined;
23
55
  error: any;
24
56
  mutate: swr.KeyedMutator<{
25
57
  payAmount: number;
26
58
  contributionLimit: number;
59
+ paymentType: "onetime" | "monthly";
27
60
  contributionAmount: number | null;
61
+ selectedRewards: {
62
+ id: number;
63
+ num: number;
64
+ rewardOptionValues: {
65
+ value: string;
66
+ id: number;
67
+ }[] | null;
68
+ }[];
69
+ bankInfo: {
70
+ accountType: string;
71
+ accountNum: string;
72
+ accountName: string;
73
+ accountNameKana: string | null;
74
+ transferName: string | null;
75
+ transferAmount: number;
76
+ limitDateTime: string;
77
+ limitDateTimeMessage: string | null;
78
+ bankName: string;
79
+ branchName: string;
80
+ branchCode: string;
81
+ bankCode: string;
82
+ } | null;
83
+ cvsInfo: {
84
+ amount: number;
85
+ paymentNumbers: {
86
+ value: string;
87
+ label: string;
88
+ }[];
89
+ paymentTerm: string;
90
+ cvsName: string;
91
+ } | null;
28
92
  commentExists: boolean;
29
- bankInfo: components["schemas"]["Contributions_OrderInfo_BankInfo"];
30
- cvsInfo: components["schemas"]["Contributions_OrderInfo_CvsInfo"];
31
- selectedRewards: components["schemas"]["Contributions_Common_SelectedReward"][];
32
- paymentType: components["schemas"]["Contributions_Common_RewardPaymentType"];
33
93
  nextBillingDate: string | null;
34
- contributorSystemUsageFee: components["schemas"]["Contributions_OrderInfo_contributorSystemUsageFee"];
94
+ contributorSystemUsageFee: {
95
+ totalAmount: number;
96
+ fee: number;
97
+ salesTax: number;
98
+ } | null;
35
99
  }>;
36
100
  isValidating: boolean;
37
101
  isLoading: boolean;
@@ -41,27 +105,91 @@ declare const useV2ContributionsOrderInfoImmutable: (query: V2ContributionsOrder
41
105
  data: {
42
106
  payAmount: number;
43
107
  contributionLimit: number;
108
+ paymentType: "onetime" | "monthly";
44
109
  contributionAmount: number | null;
110
+ selectedRewards: {
111
+ id: number;
112
+ num: number;
113
+ rewardOptionValues: {
114
+ value: string;
115
+ id: number;
116
+ }[] | null;
117
+ }[];
118
+ bankInfo: {
119
+ accountType: string;
120
+ accountNum: string;
121
+ accountName: string;
122
+ accountNameKana: string | null;
123
+ transferName: string | null;
124
+ transferAmount: number;
125
+ limitDateTime: string;
126
+ limitDateTimeMessage: string | null;
127
+ bankName: string;
128
+ branchName: string;
129
+ branchCode: string;
130
+ bankCode: string;
131
+ } | null;
132
+ cvsInfo: {
133
+ amount: number;
134
+ paymentNumbers: {
135
+ value: string;
136
+ label: string;
137
+ }[];
138
+ paymentTerm: string;
139
+ cvsName: string;
140
+ } | null;
45
141
  commentExists: boolean;
46
- bankInfo: components["schemas"]["Contributions_OrderInfo_BankInfo"];
47
- cvsInfo: components["schemas"]["Contributions_OrderInfo_CvsInfo"];
48
- selectedRewards: components["schemas"]["Contributions_Common_SelectedReward"][];
49
- paymentType: components["schemas"]["Contributions_Common_RewardPaymentType"];
50
142
  nextBillingDate: string | null;
51
- contributorSystemUsageFee: components["schemas"]["Contributions_OrderInfo_contributorSystemUsageFee"];
143
+ contributorSystemUsageFee: {
144
+ totalAmount: number;
145
+ fee: number;
146
+ salesTax: number;
147
+ } | null;
52
148
  } | undefined;
53
149
  error: any;
54
150
  mutate: swr.KeyedMutator<{
55
151
  payAmount: number;
56
152
  contributionLimit: number;
153
+ paymentType: "onetime" | "monthly";
57
154
  contributionAmount: number | null;
155
+ selectedRewards: {
156
+ id: number;
157
+ num: number;
158
+ rewardOptionValues: {
159
+ value: string;
160
+ id: number;
161
+ }[] | null;
162
+ }[];
163
+ bankInfo: {
164
+ accountType: string;
165
+ accountNum: string;
166
+ accountName: string;
167
+ accountNameKana: string | null;
168
+ transferName: string | null;
169
+ transferAmount: number;
170
+ limitDateTime: string;
171
+ limitDateTimeMessage: string | null;
172
+ bankName: string;
173
+ branchName: string;
174
+ branchCode: string;
175
+ bankCode: string;
176
+ } | null;
177
+ cvsInfo: {
178
+ amount: number;
179
+ paymentNumbers: {
180
+ value: string;
181
+ label: string;
182
+ }[];
183
+ paymentTerm: string;
184
+ cvsName: string;
185
+ } | null;
58
186
  commentExists: boolean;
59
- bankInfo: components["schemas"]["Contributions_OrderInfo_BankInfo"];
60
- cvsInfo: components["schemas"]["Contributions_OrderInfo_CvsInfo"];
61
- selectedRewards: components["schemas"]["Contributions_Common_SelectedReward"][];
62
- paymentType: components["schemas"]["Contributions_Common_RewardPaymentType"];
63
187
  nextBillingDate: string | null;
64
- contributorSystemUsageFee: components["schemas"]["Contributions_OrderInfo_contributorSystemUsageFee"];
188
+ contributorSystemUsageFee: {
189
+ totalAmount: number;
190
+ fee: number;
191
+ salesTax: number;
192
+ } | null;
65
193
  }>;
66
194
  isValidating: boolean;
67
195
  isLoading: boolean;
@@ -1,22 +1,64 @@
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 { V2ContributionsPaymentInfoGetQuery, V2ContributionsPaymentInfoGetResponse } from '../fetch/v2ContributionsPaymentInfo.mjs';
8
8
  import '@readyfor/api-client-base';
9
9
 
10
10
  declare const useV2ContributionsPaymentInfo: (query: V2ContributionsPaymentInfoGetQuery, swrConfig?: Configuration<V2ContributionsPaymentInfoGetResponse>) => {
11
11
  data: {
12
- paymentDescriptor: components["schemas"]["Contributions_Common_PaymentDescriptor"];
13
- paymentDetail: components["schemas"]["Contributions_Common_PaymentDetail"];
12
+ paymentDescriptor: {
13
+ id: number | null;
14
+ paymentMethodCd: 10 | 20 | 100 | 200 | 300 | 400 | 500 | 600 | 700;
15
+ };
16
+ paymentDetail: {
17
+ cvsCode: "00007" | "10001" | "10002" | "10005" | "10008";
18
+ customerLastName: string;
19
+ customerFirstName: string;
20
+ customerLastNameKana: string;
21
+ customerFirstNameKana: string;
22
+ customerPhoneNumber1: string;
23
+ customerPhoneNumber2: string;
24
+ customerPhoneNumber3: string;
25
+ } | {
26
+ number: string;
27
+ expYear: number;
28
+ expMonth: number;
29
+ token: string;
30
+ tokenExpireAt?: string | undefined;
31
+ cardHolderName?: string | undefined;
32
+ } | {
33
+ id: number;
34
+ } | null;
14
35
  waitBankTransfer: boolean;
15
36
  } | undefined;
16
37
  error: any;
17
38
  mutate: swr.KeyedMutator<{
18
- paymentDescriptor: components["schemas"]["Contributions_Common_PaymentDescriptor"];
19
- paymentDetail: components["schemas"]["Contributions_Common_PaymentDetail"];
39
+ paymentDescriptor: {
40
+ id: number | null;
41
+ paymentMethodCd: 10 | 20 | 100 | 200 | 300 | 400 | 500 | 600 | 700;
42
+ };
43
+ paymentDetail: {
44
+ cvsCode: "00007" | "10001" | "10002" | "10005" | "10008";
45
+ customerLastName: string;
46
+ customerFirstName: string;
47
+ customerLastNameKana: string;
48
+ customerFirstNameKana: string;
49
+ customerPhoneNumber1: string;
50
+ customerPhoneNumber2: string;
51
+ customerPhoneNumber3: string;
52
+ } | {
53
+ number: string;
54
+ expYear: number;
55
+ expMonth: number;
56
+ token: string;
57
+ tokenExpireAt?: string | undefined;
58
+ cardHolderName?: string | undefined;
59
+ } | {
60
+ id: number;
61
+ } | null;
20
62
  waitBankTransfer: boolean;
21
63
  }>;
22
64
  isValidating: boolean;
@@ -25,14 +67,56 @@ declare const useV2ContributionsPaymentInfo: (query: V2ContributionsPaymentInfoG
25
67
  };
26
68
  declare const useV2ContributionsPaymentInfoImmutable: (query: V2ContributionsPaymentInfoGetQuery, swrConfig?: Configuration<V2ContributionsPaymentInfoGetResponse>) => {
27
69
  data: {
28
- paymentDescriptor: components["schemas"]["Contributions_Common_PaymentDescriptor"];
29
- paymentDetail: components["schemas"]["Contributions_Common_PaymentDetail"];
70
+ paymentDescriptor: {
71
+ id: number | null;
72
+ paymentMethodCd: 10 | 20 | 100 | 200 | 300 | 400 | 500 | 600 | 700;
73
+ };
74
+ paymentDetail: {
75
+ cvsCode: "00007" | "10001" | "10002" | "10005" | "10008";
76
+ customerLastName: string;
77
+ customerFirstName: string;
78
+ customerLastNameKana: string;
79
+ customerFirstNameKana: string;
80
+ customerPhoneNumber1: string;
81
+ customerPhoneNumber2: string;
82
+ customerPhoneNumber3: string;
83
+ } | {
84
+ number: string;
85
+ expYear: number;
86
+ expMonth: number;
87
+ token: string;
88
+ tokenExpireAt?: string | undefined;
89
+ cardHolderName?: string | undefined;
90
+ } | {
91
+ id: number;
92
+ } | null;
30
93
  waitBankTransfer: boolean;
31
94
  } | undefined;
32
95
  error: any;
33
96
  mutate: swr.KeyedMutator<{
34
- paymentDescriptor: components["schemas"]["Contributions_Common_PaymentDescriptor"];
35
- paymentDetail: components["schemas"]["Contributions_Common_PaymentDetail"];
97
+ paymentDescriptor: {
98
+ id: number | null;
99
+ paymentMethodCd: 10 | 20 | 100 | 200 | 300 | 400 | 500 | 600 | 700;
100
+ };
101
+ paymentDetail: {
102
+ cvsCode: "00007" | "10001" | "10002" | "10005" | "10008";
103
+ customerLastName: string;
104
+ customerFirstName: string;
105
+ customerLastNameKana: string;
106
+ customerFirstNameKana: string;
107
+ customerPhoneNumber1: string;
108
+ customerPhoneNumber2: string;
109
+ customerPhoneNumber3: string;
110
+ } | {
111
+ number: string;
112
+ expYear: number;
113
+ expMonth: number;
114
+ token: string;
115
+ tokenExpireAt?: string | undefined;
116
+ cardHolderName?: string | undefined;
117
+ } | {
118
+ id: number;
119
+ } | null;
36
120
  waitBankTransfer: boolean;
37
121
  }>;
38
122
  isValidating: boolean;
@@ -1,22 +1,64 @@
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 { V2ContributionsPaymentInfoGetQuery, V2ContributionsPaymentInfoGetResponse } from '../fetch/v2ContributionsPaymentInfo.js';
8
8
  import '@readyfor/api-client-base';
9
9
 
10
10
  declare const useV2ContributionsPaymentInfo: (query: V2ContributionsPaymentInfoGetQuery, swrConfig?: Configuration<V2ContributionsPaymentInfoGetResponse>) => {
11
11
  data: {
12
- paymentDescriptor: components["schemas"]["Contributions_Common_PaymentDescriptor"];
13
- paymentDetail: components["schemas"]["Contributions_Common_PaymentDetail"];
12
+ paymentDescriptor: {
13
+ id: number | null;
14
+ paymentMethodCd: 10 | 20 | 100 | 200 | 300 | 400 | 500 | 600 | 700;
15
+ };
16
+ paymentDetail: {
17
+ cvsCode: "00007" | "10001" | "10002" | "10005" | "10008";
18
+ customerLastName: string;
19
+ customerFirstName: string;
20
+ customerLastNameKana: string;
21
+ customerFirstNameKana: string;
22
+ customerPhoneNumber1: string;
23
+ customerPhoneNumber2: string;
24
+ customerPhoneNumber3: string;
25
+ } | {
26
+ number: string;
27
+ expYear: number;
28
+ expMonth: number;
29
+ token: string;
30
+ tokenExpireAt?: string | undefined;
31
+ cardHolderName?: string | undefined;
32
+ } | {
33
+ id: number;
34
+ } | null;
14
35
  waitBankTransfer: boolean;
15
36
  } | undefined;
16
37
  error: any;
17
38
  mutate: swr.KeyedMutator<{
18
- paymentDescriptor: components["schemas"]["Contributions_Common_PaymentDescriptor"];
19
- paymentDetail: components["schemas"]["Contributions_Common_PaymentDetail"];
39
+ paymentDescriptor: {
40
+ id: number | null;
41
+ paymentMethodCd: 10 | 20 | 100 | 200 | 300 | 400 | 500 | 600 | 700;
42
+ };
43
+ paymentDetail: {
44
+ cvsCode: "00007" | "10001" | "10002" | "10005" | "10008";
45
+ customerLastName: string;
46
+ customerFirstName: string;
47
+ customerLastNameKana: string;
48
+ customerFirstNameKana: string;
49
+ customerPhoneNumber1: string;
50
+ customerPhoneNumber2: string;
51
+ customerPhoneNumber3: string;
52
+ } | {
53
+ number: string;
54
+ expYear: number;
55
+ expMonth: number;
56
+ token: string;
57
+ tokenExpireAt?: string | undefined;
58
+ cardHolderName?: string | undefined;
59
+ } | {
60
+ id: number;
61
+ } | null;
20
62
  waitBankTransfer: boolean;
21
63
  }>;
22
64
  isValidating: boolean;
@@ -25,14 +67,56 @@ declare const useV2ContributionsPaymentInfo: (query: V2ContributionsPaymentInfoG
25
67
  };
26
68
  declare const useV2ContributionsPaymentInfoImmutable: (query: V2ContributionsPaymentInfoGetQuery, swrConfig?: Configuration<V2ContributionsPaymentInfoGetResponse>) => {
27
69
  data: {
28
- paymentDescriptor: components["schemas"]["Contributions_Common_PaymentDescriptor"];
29
- paymentDetail: components["schemas"]["Contributions_Common_PaymentDetail"];
70
+ paymentDescriptor: {
71
+ id: number | null;
72
+ paymentMethodCd: 10 | 20 | 100 | 200 | 300 | 400 | 500 | 600 | 700;
73
+ };
74
+ paymentDetail: {
75
+ cvsCode: "00007" | "10001" | "10002" | "10005" | "10008";
76
+ customerLastName: string;
77
+ customerFirstName: string;
78
+ customerLastNameKana: string;
79
+ customerFirstNameKana: string;
80
+ customerPhoneNumber1: string;
81
+ customerPhoneNumber2: string;
82
+ customerPhoneNumber3: string;
83
+ } | {
84
+ number: string;
85
+ expYear: number;
86
+ expMonth: number;
87
+ token: string;
88
+ tokenExpireAt?: string | undefined;
89
+ cardHolderName?: string | undefined;
90
+ } | {
91
+ id: number;
92
+ } | null;
30
93
  waitBankTransfer: boolean;
31
94
  } | undefined;
32
95
  error: any;
33
96
  mutate: swr.KeyedMutator<{
34
- paymentDescriptor: components["schemas"]["Contributions_Common_PaymentDescriptor"];
35
- paymentDetail: components["schemas"]["Contributions_Common_PaymentDetail"];
97
+ paymentDescriptor: {
98
+ id: number | null;
99
+ paymentMethodCd: 10 | 20 | 100 | 200 | 300 | 400 | 500 | 600 | 700;
100
+ };
101
+ paymentDetail: {
102
+ cvsCode: "00007" | "10001" | "10002" | "10005" | "10008";
103
+ customerLastName: string;
104
+ customerFirstName: string;
105
+ customerLastNameKana: string;
106
+ customerFirstNameKana: string;
107
+ customerPhoneNumber1: string;
108
+ customerPhoneNumber2: string;
109
+ customerPhoneNumber3: string;
110
+ } | {
111
+ number: string;
112
+ expYear: number;
113
+ expMonth: number;
114
+ token: string;
115
+ tokenExpireAt?: string | undefined;
116
+ cardHolderName?: string | undefined;
117
+ } | {
118
+ id: number;
119
+ } | null;
36
120
  waitBankTransfer: boolean;
37
121
  }>;
38
122
  isValidating: boolean;