@chevre/factory 6.2.0-alpha.9 → 7.0.0-alpha.1

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/README.md +0 -1
  2. package/lib/action/update/delete.d.ts +0 -8
  3. package/lib/assetTransaction/pay.d.ts +3 -3
  4. package/lib/cognito.d.ts +345 -3
  5. package/lib/cognito.js +5 -0
  6. package/lib/index.d.ts +3 -4
  7. package/lib/index.js +3 -4
  8. package/lib/paymentMethod/paymentCard/creditCard.d.ts +7 -40
  9. package/lib/paymentMethod/paymentCard/creditCard.js +1 -0
  10. package/lib/recipe/acceptCOAOffer.d.ts +7 -7
  11. package/lib/recipe/authorizeInvoice.d.ts +10 -10
  12. package/lib/recipe/authorizeInvoice3ds.d.ts +7 -7
  13. package/lib/recipe/cancelPendingCOAReserve.d.ts +7 -7
  14. package/lib/recipe/checkMovieTicket.d.ts +7 -7
  15. package/lib/recipe/confirmCOAReserve.d.ts +10 -10
  16. package/lib/recipe/payCreditCard.d.ts +10 -10
  17. package/lib/recipe/payMovieTicket.d.ts +7 -7
  18. package/lib/recipe/publishPaymentUrl.d.ts +10 -10
  19. package/lib/recipe/refundCreditCard.d.ts +10 -10
  20. package/lib/recipe/refundMovieTicket.d.ts +10 -10
  21. package/lib/recipe/returnCOAReserve.d.ts +10 -10
  22. package/lib/recipe/sendEmailMessage.d.ts +7 -7
  23. package/lib/task/acceptCOAOffer.d.ts +2 -2
  24. package/lib/task/accountMoneyTransfer.d.ts +2 -2
  25. package/lib/task/aggregateOffers.d.ts +2 -2
  26. package/lib/task/aggregateOnSystem.d.ts +2 -2
  27. package/lib/task/aggregateScreeningEvent.d.ts +2 -2
  28. package/lib/task/authorizePayment.d.ts +2 -2
  29. package/lib/task/cancelAccountMoneyTransfer.d.ts +2 -2
  30. package/lib/task/cancelMoneyTransfer.d.ts +2 -2
  31. package/lib/task/cancelPendingReservation.d.ts +2 -2
  32. package/lib/task/cancelReservation.d.ts +2 -2
  33. package/lib/task/checkMovieTicket.d.ts +2 -2
  34. package/lib/task/checkResource.d.ts +2 -2
  35. package/lib/task/confirmPayTransaction.d.ts +2 -2
  36. package/lib/task/confirmRegisterService.d.ts +2 -2
  37. package/lib/task/confirmRegisterServiceTransaction.d.ts +2 -2
  38. package/lib/task/confirmReserveTransaction.d.ts +2 -2
  39. package/lib/task/createAccountingReport.d.ts +2 -2
  40. package/lib/task/deletePerson.d.ts +5 -14
  41. package/lib/task/deleteTransaction.d.ts +2 -2
  42. package/lib/task/givePointAward.d.ts +2 -2
  43. package/lib/task/handleNotification.d.ts +2 -2
  44. package/lib/task/importEventCapacitiesFromCOA.d.ts +2 -2
  45. package/lib/task/importEventsFromCOA.d.ts +2 -2
  46. package/lib/task/importOffersFromCOA.d.ts +2 -2
  47. package/lib/task/invalidatePaymentUrl.d.ts +2 -2
  48. package/lib/task/moneyTransfer.d.ts +2 -2
  49. package/lib/task/onAssetTransactionStatusChanged.d.ts +2 -2
  50. package/lib/task/onAuthorizationCreated.d.ts +2 -2
  51. package/lib/task/onEventChanged.d.ts +2 -2
  52. package/lib/task/onOrderPaymentCompleted.d.ts +2 -2
  53. package/lib/task/onResourceDeleted.d.ts +2 -2
  54. package/lib/task/onResourceUpdated.d.ts +2 -2
  55. package/lib/task/pay.d.ts +2 -2
  56. package/lib/task/placeOrder.d.ts +2 -2
  57. package/lib/task/publishPaymentUrl.d.ts +2 -2
  58. package/lib/task/refund.d.ts +2 -2
  59. package/lib/task/registerService.d.ts +2 -2
  60. package/lib/task/reserve.d.ts +2 -2
  61. package/lib/task/returnOrder.d.ts +2 -2
  62. package/lib/task/returnPayTransaction.d.ts +2 -2
  63. package/lib/task/returnPointAward.d.ts +2 -2
  64. package/lib/task/returnReserveTransaction.d.ts +2 -2
  65. package/lib/task/sendEmailMessage.d.ts +2 -2
  66. package/lib/task/sendOrder.d.ts +2 -2
  67. package/lib/task/syncResourcesFromCOA.d.ts +2 -2
  68. package/lib/task/triggerWebhook.d.ts +2 -2
  69. package/lib/task/useReservation.d.ts +2 -2
  70. package/lib/task/voidPayTransaction.d.ts +2 -2
  71. package/lib/task/voidPayment.d.ts +2 -2
  72. package/lib/task/voidRegisterServiceTransaction.d.ts +2 -2
  73. package/lib/task/voidReserveTransaction.d.ts +2 -2
  74. package/lib/task.d.ts +2 -2
  75. package/package.json +3 -4
package/README.md CHANGED
@@ -1,6 +1,5 @@
1
1
  # Chevre Factory
2
2
 
3
3
  [![npm (scoped)](https://img.shields.io/npm/v/@chevre/factory.svg)](https://www.npmjs.com/package/@chevre/factory)
4
- [![CircleCI](https://circleci.com/gh/chevre-jp/factory.svg?style=shield)](https://circleci.com/gh/chevre-jp/factory)
5
4
  [![Known Vulnerabilities](https://snyk.io/test/github/chevre-jp/factory/badge.svg)](https://snyk.io/test/github/chevre-jp/factory)
6
5
  [![npm](https://img.shields.io/npm/dm/@chevre/factory.svg)](https://nodei.co/npm/@chevre/factory/)
@@ -18,14 +18,6 @@ import { TransactionType } from '../../transactionType';
18
18
  export type IAgent = ActionFactory.IParticipant;
19
19
  export type IRecipient = ActionFactory.IParticipant;
20
20
  export type IObjectAsPerson = Pick<IPerson, 'id' | 'typeOf'> & {
21
- /**
22
- * 新ユーザープールへ移行するかどうか
23
- */
24
- migrate?: boolean;
25
- /**
26
- * 移行会員通知先
27
- */
28
- migratePersonRecipientUrl?: string;
29
21
  /**
30
22
  * ユーザープールから物理削除するかどうか
31
23
  */
@@ -5,7 +5,7 @@ import { IExtendId } from '../autoGenerated';
5
5
  import { IInvoice } from '../invoice';
6
6
  import { IMonetaryAmount } from '../monetaryAmount';
7
7
  import { IEventServiceAsOrderedItem, IOrder, IReservationFor4EventServiceOrderedItem, ITotalPaymentDue } from '../order';
8
- import { ICreditCard3DS, IUnauthorizedCardOfMember, IUncheckedCardRaw, IUncheckedCardTokenized } from '../paymentMethod/paymentCard/creditCard';
8
+ import { ICreditCard3DS, IUncheckedCardRaw, IUncheckedCardTokenized } from '../paymentMethod/paymentCard/creditCard';
9
9
  import { IPropertyValue } from '../propertyValue';
10
10
  import { IPotentialAction as IPotentialInformAction, PaymentServiceType } from '../service/paymentService';
11
11
  export import IAgent = AssetTransactionFactory.IAgentAsSeller;
@@ -18,8 +18,8 @@ export type IFromLocation = ITokenizedPaymentCard;
18
18
  /**
19
19
  * クレジットカード決済承認に必要なクレジットカードインターフェース
20
20
  */
21
- type ICreditCard = (IUncheckedCardRaw | IUncheckedCardTokenized | IUnauthorizedCardOfMember) & ICreditCard3DS;
22
- export { ICreditCard, ICreditCard3DS, IUnauthorizedCardOfMember, IUncheckedCardRaw, IUncheckedCardTokenized };
21
+ type ICreditCard = (IUncheckedCardRaw | IUncheckedCardTokenized) & ICreditCard3DS;
22
+ export { ICreditCard, ICreditCard3DS, IUncheckedCardRaw, IUncheckedCardTokenized };
23
23
  export interface IPaymentMethodAmount extends Pick<IMonetaryAmount, 'currency' | 'typeOf' | 'value'> {
24
24
  value: number;
25
25
  }
package/lib/cognito.d.ts CHANGED
@@ -1,5 +1,347 @@
1
1
  /**
2
- * Cognitoインターフェース
2
+ * <p>The description of the user pool client.</p>
3
3
  */
4
- import type { UserPoolClientDescription, UserPoolClientType, UserPoolType } from '@aws-sdk/client-cognito-identity-provider';
5
- export { UserPoolClientDescription, UserPoolClientType, UserPoolType };
4
+ export interface UserPoolClientDescription {
5
+ /**
6
+ * <p>The ID of the client associated with the user pool.</p>
7
+ */
8
+ ClientId?: string;
9
+ /**
10
+ * <p>The user pool ID for the user pool where you want to describe the user pool
11
+ * client.</p>
12
+ */
13
+ UserPoolId?: string;
14
+ /**
15
+ * <p>The client name from the user pool client description.</p>
16
+ */
17
+ ClientName?: string;
18
+ }
19
+ export declare const TimeUnitsType: {
20
+ readonly DAYS: "days";
21
+ readonly HOURS: "hours";
22
+ readonly MINUTES: "minutes";
23
+ readonly SECONDS: "seconds";
24
+ };
25
+ export type TimeUnitsType = (typeof TimeUnitsType)[keyof typeof TimeUnitsType];
26
+ /**
27
+ * <p>The data type TokenValidityUnits specifies the time units you use when you set the
28
+ * duration of ID, access, and refresh tokens.</p>
29
+ */
30
+ export interface TokenValidityUnitsType {
31
+ /**
32
+ * <p> A time unit of <code>seconds</code>, <code>minutes</code>, <code>hours</code>, or
33
+ * <code>days</code> for the value that you set in the <code>AccessTokenValidity</code>
34
+ * parameter. The default <code>AccessTokenValidity</code> time unit is hours.
35
+ * <code>AccessTokenValidity</code> duration can range from five minutes to one
36
+ * day.</p>
37
+ */
38
+ AccessToken?: TimeUnitsType;
39
+ /**
40
+ * <p>A time unit of <code>seconds</code>, <code>minutes</code>, <code>hours</code>, or
41
+ * <code>days</code> for the value that you set in the <code>IdTokenValidity</code>
42
+ * parameter. The default <code>IdTokenValidity</code> time unit is hours.
43
+ * <code>IdTokenValidity</code> duration can range from five minutes to one day.</p>
44
+ */
45
+ IdToken?: TimeUnitsType;
46
+ /**
47
+ * <p>A time unit of <code>seconds</code>, <code>minutes</code>, <code>hours</code>, or
48
+ * <code>days</code> for the value that you set in the
49
+ * <code>RefreshTokenValidity</code> parameter. The default
50
+ * <code>RefreshTokenValidity</code> time unit is days.
51
+ * <code>RefreshTokenValidity</code> duration can range from 60 minutes to 10
52
+ * years.</p>
53
+ */
54
+ RefreshToken?: TimeUnitsType;
55
+ }
56
+ export declare const ExplicitAuthFlowsType: {
57
+ readonly ADMIN_NO_SRP_AUTH: "ADMIN_NO_SRP_AUTH";
58
+ readonly ALLOW_ADMIN_USER_PASSWORD_AUTH: "ALLOW_ADMIN_USER_PASSWORD_AUTH";
59
+ readonly ALLOW_CUSTOM_AUTH: "ALLOW_CUSTOM_AUTH";
60
+ readonly ALLOW_REFRESH_TOKEN_AUTH: "ALLOW_REFRESH_TOKEN_AUTH";
61
+ readonly ALLOW_USER_PASSWORD_AUTH: "ALLOW_USER_PASSWORD_AUTH";
62
+ readonly ALLOW_USER_SRP_AUTH: "ALLOW_USER_SRP_AUTH";
63
+ readonly CUSTOM_AUTH_FLOW_ONLY: "CUSTOM_AUTH_FLOW_ONLY";
64
+ readonly USER_PASSWORD_AUTH: "USER_PASSWORD_AUTH";
65
+ };
66
+ export type ExplicitAuthFlowsType = (typeof ExplicitAuthFlowsType)[keyof typeof ExplicitAuthFlowsType];
67
+ export declare const OAuthFlowType: {
68
+ readonly client_credentials: "client_credentials";
69
+ readonly code: "code";
70
+ readonly implicit: "implicit";
71
+ };
72
+ export type OAuthFlowType = (typeof OAuthFlowType)[keyof typeof OAuthFlowType];
73
+ /**
74
+ * <p>Contains information about a user pool client.</p>
75
+ */
76
+ export interface UserPoolClientType {
77
+ /**
78
+ * <p>The user pool ID for the user pool client.</p>
79
+ */
80
+ UserPoolId?: string;
81
+ /**
82
+ * <p>The client name from the user pool request of the client type.</p>
83
+ */
84
+ ClientName?: string;
85
+ /**
86
+ * <p>The ID of the client associated with the user pool.</p>
87
+ */
88
+ ClientId?: string;
89
+ /**
90
+ * <p>The client secret from the user pool request of the client type.</p>
91
+ */
92
+ ClientSecret?: string;
93
+ /**
94
+ * <p>The date and time, in <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO 8601</a> format, when the item was modified.</p>
95
+ */
96
+ LastModifiedDate?: Date;
97
+ /**
98
+ * <p>The date and time, in <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO 8601</a> format, when the item was created.</p>
99
+ */
100
+ CreationDate?: Date;
101
+ /**
102
+ * <p>The refresh token time limit. After this limit expires, your user can't use
103
+ * their refresh token. To specify the time unit for <code>RefreshTokenValidity</code> as
104
+ * <code>seconds</code>, <code>minutes</code>, <code>hours</code>, or <code>days</code>,
105
+ * set a <code>TokenValidityUnits</code> value in your API request.</p>
106
+ * <p>For example, when you set <code>RefreshTokenValidity</code> as <code>10</code> and
107
+ * <code>TokenValidityUnits</code> as <code>days</code>, your user can refresh their session
108
+ * and retrieve new access and ID tokens for 10 days.</p>
109
+ * <p>The default time unit for <code>RefreshTokenValidity</code> in an API request is days.
110
+ * You can't set <code>RefreshTokenValidity</code> to 0. If you do, Amazon Cognito overrides the
111
+ * value with the default value of 30 days. <i>Valid range</i> is displayed below
112
+ * in seconds.</p>
113
+ * <p>If you don't specify otherwise in the configuration of your app client, your refresh
114
+ * tokens are valid for 30 days.</p>
115
+ */
116
+ RefreshTokenValidity?: number;
117
+ /**
118
+ * <p>The access token time limit. After this limit expires, your user can't use
119
+ * their access token. To specify the time unit for <code>AccessTokenValidity</code> as
120
+ * <code>seconds</code>, <code>minutes</code>, <code>hours</code>, or <code>days</code>,
121
+ * set a <code>TokenValidityUnits</code> value in your API request.</p>
122
+ * <p>For example, when you set <code>AccessTokenValidity</code> to <code>10</code> and
123
+ * <code>TokenValidityUnits</code> to <code>hours</code>, your user can authorize access with
124
+ * their access token for 10 hours.</p>
125
+ * <p>The default time unit for <code>AccessTokenValidity</code> in an API request is hours.
126
+ * <i>Valid range</i> is displayed below in seconds.</p>
127
+ * <p>If you don't specify otherwise in the configuration of your app client, your access
128
+ * tokens are valid for one hour.</p>
129
+ */
130
+ AccessTokenValidity?: number;
131
+ /**
132
+ * <p>The ID token time limit. After this limit expires, your user can't use
133
+ * their ID token. To specify the time unit for <code>IdTokenValidity</code> as
134
+ * <code>seconds</code>, <code>minutes</code>, <code>hours</code>, or <code>days</code>,
135
+ * set a <code>TokenValidityUnits</code> value in your API request.</p>
136
+ * <p>For example, when you set <code>IdTokenValidity</code> as <code>10</code> and
137
+ * <code>TokenValidityUnits</code> as <code>hours</code>, your user can authenticate their
138
+ * session with their ID token for 10 hours.</p>
139
+ * <p>The default time unit for <code>IdTokenValidity</code> in an API request is hours.
140
+ * <i>Valid range</i> is displayed below in seconds.</p>
141
+ * <p>If you don't specify otherwise in the configuration of your app client, your ID
142
+ * tokens are valid for one hour.</p>
143
+ */
144
+ IdTokenValidity?: number;
145
+ /**
146
+ * <p>The time units used to specify the token validity times of each token type: ID,
147
+ * access, and refresh.</p>
148
+ */
149
+ TokenValidityUnits?: TokenValidityUnitsType;
150
+ /**
151
+ * <p>The Read-only attributes.</p>
152
+ */
153
+ ReadAttributes?: string[];
154
+ /**
155
+ * <p>The writeable attributes.</p>
156
+ */
157
+ WriteAttributes?: string[];
158
+ /**
159
+ * <p>The authentication flows that you want your user pool client to support. For each app client in your user pool, you can sign in
160
+ * your users with any combination of one or more flows, including with a user name and Secure Remote Password (SRP), a user name and
161
+ * password, or a custom authentication process that you define with Lambda functions.</p>
162
+ * <note>
163
+ * <p>If you don't specify a value for <code>ExplicitAuthFlows</code>, your user client supports <code>ALLOW_REFRESH_TOKEN_AUTH</code>, <code>ALLOW_USER_SRP_AUTH</code>, and <code>ALLOW_CUSTOM_AUTH</code>.</p>
164
+ * </note>
165
+ * <p>Valid values include:</p>
166
+ * <ul>
167
+ * <li>
168
+ * <p>
169
+ * <code>ALLOW_ADMIN_USER_PASSWORD_AUTH</code>: Enable admin based user password
170
+ * authentication flow <code>ADMIN_USER_PASSWORD_AUTH</code>. This setting replaces
171
+ * the <code>ADMIN_NO_SRP_AUTH</code> setting. With this authentication flow, your app
172
+ * passes a user name and password to Amazon Cognito in the request, instead of using the Secure
173
+ * Remote Password (SRP) protocol to securely transmit the password.</p>
174
+ * </li>
175
+ * <li>
176
+ * <p>
177
+ * <code>ALLOW_CUSTOM_AUTH</code>: Enable Lambda trigger based
178
+ * authentication.</p>
179
+ * </li>
180
+ * <li>
181
+ * <p>
182
+ * <code>ALLOW_USER_PASSWORD_AUTH</code>: Enable user password-based
183
+ * authentication. In this flow, Amazon Cognito receives the password in the request instead
184
+ * of using the SRP protocol to verify passwords.</p>
185
+ * </li>
186
+ * <li>
187
+ * <p>
188
+ * <code>ALLOW_USER_SRP_AUTH</code>: Enable SRP-based authentication.</p>
189
+ * </li>
190
+ * <li>
191
+ * <p>
192
+ * <code>ALLOW_REFRESH_TOKEN_AUTH</code>: Enable authflow to refresh
193
+ * tokens.</p>
194
+ * </li>
195
+ * </ul>
196
+ * <p>In some environments, you will see the values <code>ADMIN_NO_SRP_AUTH</code>, <code>CUSTOM_AUTH_FLOW_ONLY</code>, or <code>USER_PASSWORD_AUTH</code>.
197
+ * You can't assign these legacy <code>ExplicitAuthFlows</code> values to user pool clients at the same time as values that begin with <code>ALLOW_</code>,
198
+ * like <code>ALLOW_USER_SRP_AUTH</code>.</p>
199
+ */
200
+ ExplicitAuthFlows?: ExplicitAuthFlowsType[];
201
+ /**
202
+ * <p>A list of provider names for the IdPs that this client supports. The following are
203
+ * supported: <code>COGNITO</code>, <code>Facebook</code>, <code>Google</code>,
204
+ * <code>SignInWithApple</code>, <code>LoginWithAmazon</code>, and the names of your
205
+ * own SAML and OIDC providers.</p>
206
+ */
207
+ SupportedIdentityProviders?: string[];
208
+ /**
209
+ * <p>A list of allowed redirect (callback) URLs for the IdPs.</p>
210
+ * <p>A redirect URI must:</p>
211
+ * <ul>
212
+ * <li>
213
+ * <p>Be an absolute URI.</p>
214
+ * </li>
215
+ * <li>
216
+ * <p>Be registered with the authorization server.</p>
217
+ * </li>
218
+ * <li>
219
+ * <p>Not include a fragment component.</p>
220
+ * </li>
221
+ * </ul>
222
+ * <p>See <a href="https://tools.ietf.org/html/rfc6749#section-3.1.2">OAuth 2.0 -
223
+ * Redirection Endpoint</a>.</p>
224
+ * <p>Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes
225
+ * only.</p>
226
+ * <p>App callback URLs such as myapp://example are also supported.</p>
227
+ */
228
+ CallbackURLs?: string[];
229
+ /**
230
+ * <p>A list of allowed logout URLs for the IdPs.</p>
231
+ */
232
+ LogoutURLs?: string[];
233
+ /**
234
+ * <p>The default redirect URI. Must be in the <code>CallbackURLs</code> list.</p>
235
+ * <p>A redirect URI must:</p>
236
+ * <ul>
237
+ * <li>
238
+ * <p>Be an absolute URI.</p>
239
+ * </li>
240
+ * <li>
241
+ * <p>Be registered with the authorization server.</p>
242
+ * </li>
243
+ * <li>
244
+ * <p>Not include a fragment component.</p>
245
+ * </li>
246
+ * </ul>
247
+ * <p>See <a href="https://tools.ietf.org/html/rfc6749#section-3.1.2">OAuth 2.0 -
248
+ * Redirection Endpoint</a>.</p>
249
+ * <p>Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes
250
+ * only.</p>
251
+ * <p>App callback URLs such as myapp://example are also supported.</p>
252
+ */
253
+ DefaultRedirectURI?: string;
254
+ /**
255
+ * <p>The allowed OAuth flows.</p>
256
+ * <dl>
257
+ * <dt>code</dt>
258
+ * <dd>
259
+ * <p>Use a code grant flow, which provides an authorization code as the
260
+ * response. This code can be exchanged for access tokens with the
261
+ * <code>/oauth2/token</code> endpoint.</p>
262
+ * </dd>
263
+ * <dt>implicit</dt>
264
+ * <dd>
265
+ * <p>Issue the access token (and, optionally, ID token, based on scopes)
266
+ * directly to your user.</p>
267
+ * </dd>
268
+ * <dt>client_credentials</dt>
269
+ * <dd>
270
+ * <p>Issue the access token from the <code>/oauth2/token</code> endpoint
271
+ * directly to a non-person user using a combination of the client ID and
272
+ * client secret.</p>
273
+ * </dd>
274
+ * </dl>
275
+ */
276
+ AllowedOAuthFlows?: OAuthFlowType[];
277
+ /**
278
+ * <p>The OAuth scopes that your app client supports. Possible values that OAuth provides
279
+ * are <code>phone</code>, <code>email</code>, <code>openid</code>, and
280
+ * <code>profile</code>. Possible values that Amazon Web Services provides are
281
+ * <code>aws.cognito.signin.user.admin</code>. Amazon Cognito also supports custom scopes that
282
+ * you create in Resource Servers.</p>
283
+ */
284
+ AllowedOAuthScopes?: string[];
285
+ /**
286
+ * <p>Set to <code>true</code> to use OAuth 2.0 features in your user pool app client.</p>
287
+ * <p>
288
+ * <code>AllowedOAuthFlowsUserPoolClient</code> must be <code>true</code> before you can configure
289
+ * the following features in your app client.</p>
290
+ * <ul>
291
+ * <li>
292
+ * <p>
293
+ * <code>CallBackURLs</code>: Callback URLs.</p>
294
+ * </li>
295
+ * <li>
296
+ * <p>
297
+ * <code>LogoutURLs</code>: Sign-out redirect URLs.</p>
298
+ * </li>
299
+ * <li>
300
+ * <p>
301
+ * <code>AllowedOAuthScopes</code>: OAuth 2.0 scopes.</p>
302
+ * </li>
303
+ * <li>
304
+ * <p>
305
+ * <code>AllowedOAuthFlows</code>: Support for authorization code, implicit, and client credentials OAuth 2.0 grants.</p>
306
+ * </li>
307
+ * </ul>
308
+ * <p>To use OAuth 2.0 features, configure one of these features in the Amazon Cognito console or set
309
+ * <code>AllowedOAuthFlowsUserPoolClient</code> to <code>true</code> in a <code>CreateUserPoolClient</code> or
310
+ * <code>UpdateUserPoolClient</code> API request. If you don't set a value for
311
+ * <code>AllowedOAuthFlowsUserPoolClient</code> in a request with the CLI or SDKs, it defaults
312
+ * to <code>false</code>.</p>
313
+ */
314
+ AllowedOAuthFlowsUserPoolClient?: boolean;
315
+ }
316
+ export declare const StatusType: {
317
+ readonly Disabled: "Disabled";
318
+ readonly Enabled: "Enabled";
319
+ };
320
+ export type StatusType = (typeof StatusType)[keyof typeof StatusType];
321
+ /**
322
+ * <p>A container for information about the user pool.</p>
323
+ */
324
+ export interface UserPoolType {
325
+ /**
326
+ * <p>The ID of the user pool.</p>
327
+ */
328
+ Id?: string;
329
+ /**
330
+ * <p>The name of the user pool.</p>
331
+ */
332
+ Name?: string;
333
+ /**
334
+ * @deprecated
335
+ *
336
+ * <p>The status of a user pool.</p>
337
+ */
338
+ Status?: StatusType;
339
+ /**
340
+ * <p>The date and time, in <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO 8601</a> format, when the item was modified.</p>
341
+ */
342
+ LastModifiedDate?: Date;
343
+ /**
344
+ * <p>The date and time, in <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO 8601</a> format, when the item was created.</p>
345
+ */
346
+ CreationDate?: Date;
347
+ }
package/lib/cognito.js CHANGED
@@ -1,2 +1,7 @@
1
1
  "use strict";
2
+ // /**
3
+ // * Cognitoインターフェース
4
+ // */
5
+ // import type { UserPoolClientDescription, UserPoolClientType, UserPoolType } from '@aws-sdk/client-cognito-identity-provider';
6
+ // export { UserPoolClientDescription, UserPoolClientType, UserPoolType };
2
7
  Object.defineProperty(exports, "__esModule", { value: true });
package/lib/index.d.ts CHANGED
@@ -121,7 +121,6 @@ import * as PropertyValueFactory from './propertyValue';
121
121
  import * as LocationFeatureSpecificationFactory from './propertyValue/locationFeatureSpecification';
122
122
  import * as QualitativeValueFactory from './qualitativeValue';
123
123
  import * as QuantitativeValueFactory from './quantitativeValue';
124
- import * as RecipeFactory from './recipe';
125
124
  import * as AccountingReportFactory from './report/accountingReport';
126
125
  import * as ReservationFactory from './reservation';
127
126
  import * as EventReservationFactory from './reservation/event';
@@ -228,6 +227,7 @@ import * as ReturnOrderTransactionFactory from './transaction/returnOrder';
228
227
  import { TransactionType } from './transactionType';
229
228
  import { ErrorCode } from './errorCode';
230
229
  export * as errors from './errors';
230
+ export * as recipe from './recipe';
231
231
  export import errorCode = ErrorCode;
232
232
  export import account = AccountFactory;
233
233
  export import actionStatusType = ActionStatusType;
@@ -422,7 +422,7 @@ export import organizationType = OrganizationType;
422
422
  export import ownershipInfo = OwnershipInfoFactory;
423
423
  export declare namespace paymentMethod {
424
424
  type ISearchConditions = any;
425
- type IPaymentMethod = CreditCardFactory.ICheckedCard | MovieTicketFactory.IMovieTicketPaymentCard;
425
+ type IPaymentMethod = MovieTicketFactory.IMovieTicketPaymentCard;
426
426
  namespace paymentCard {
427
427
  export import IPaymentCard = PaymentCardFactory.IPaymentCard;
428
428
  export import creditCard = CreditCardFactory;
@@ -466,7 +466,6 @@ export declare namespace propertyValue {
466
466
  }
467
467
  export import qualitativeValue = QualitativeValueFactory;
468
468
  export import quantitativeValue = QuantitativeValueFactory;
469
- export import recipe = RecipeFactory;
470
469
  export declare namespace report {
471
470
  export import accountingReport = AccountingReportFactory;
472
471
  }
@@ -495,7 +494,7 @@ export import seller = SellerFactory;
495
494
  export import sellerReturnPolicy = SellerReturnPolicyFactory;
496
495
  export declare namespace task {
497
496
  type IData<T extends TaskName | string> = T extends TaskName.ConfirmReserveTransaction ? ConfirmReserveTransactionTaskFactory.IData : T extends TaskName.CreateAccountingReport ? CreateAccountingReportTaskFactory.IData : T extends TaskName.DeletePerson ? DeletePersonTaskFactory.IData : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.IData : T extends TaskName.GivePointAward ? GivePointAwardTaskFactory.IData : T extends TaskName.OnAssetTransactionStatusChanged ? OnAssetTransactionStatusChangedTaskFactory.IData : T extends TaskName.OnAuthorizationCreated ? OnAuthorizationCreatedTaskFactory.IData : T extends TaskName.OnEventChanged ? OnEventChangedTaskFactory.IData : T extends TaskName.OnOrderPaymentCompleted ? OnOrderPaymentCompletedTaskFactory.IData : T extends TaskName.OnResourceDeleted ? OnResourceDeletedTaskFactory.IData : T extends TaskName.OnResourceUpdated ? OnResourceUpdatedTaskFactory.IData : T extends TaskName.PlaceOrder ? PlaceOrderTaskFactory.IData : T extends TaskName.ConfirmRegisterService ? ConfirmRegisterServiceTaskFactory.IData : T extends TaskName.ConfirmRegisterServiceTransaction ? ConfirmRegisterServiceTransactionTaskFactory.IData : T extends TaskName.ReturnOrder ? ReturnOrderTaskFactory.IData : T extends TaskName.ReturnPayTransaction ? ReturnPayTransactionTaskFactory.IData : T extends TaskName.ReturnPointAward ? ReturnPointAwardTaskFactory.IData : T extends TaskName.ReturnReserveTransaction ? ReturnReserveTransactionTaskFactory.IData : T extends TaskName.SendEmailMessage ? SendEmailMessageTaskFactory.IData : T extends TaskName.SendOrder ? SendOrderTaskFactory.IData : T extends TaskName.ConfirmPayTransaction ? ConfirmPayTransactionTaskFactory.IData : T extends TaskName.TriggerWebhook ? TriggerWebhookTaskFactory.IData : T extends TaskName.UseReservation ? UseReservationTaskFactory.IData : T extends TaskName.VoidPayTransaction ? VoidPayTransactionTaskFactory.IData : T extends TaskName.VoidRegisterServiceTransaction ? VoidRegisterServiceTransactionTaskFactory.IData : T extends TaskName.VoidReserveTransaction ? VoidReserveTransactionTaskFactory.IData : TaskFactory.IData;
498
- type IAttributes<T extends TaskName | string> = T extends TaskName.ConfirmReserveTransaction ? ConfirmReserveTransactionTaskFactory.IAttributes : T extends TaskName.CreateAccountingReport ? CreateAccountingReportTaskFactory.IAttributes : T extends TaskName.DeletePerson ? DeletePersonTaskFactory.IAttributes : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.IAttributes : T extends TaskName.GivePointAward ? GivePointAwardTaskFactory.IAttributes : T extends TaskName.OnAssetTransactionStatusChanged ? OnAssetTransactionStatusChangedTaskFactory.IAttributes : T extends TaskName.OnAuthorizationCreated ? OnAuthorizationCreatedTaskFactory.IAttributes : T extends TaskName.OnEventChanged ? OnEventChangedTaskFactory.IAttributes : T extends TaskName.OnOrderPaymentCompleted ? OnOrderPaymentCompletedTaskFactory.IAttributes : T extends TaskName.OnResourceDeleted ? OnResourceDeletedTaskFactory.IAttributes : T extends TaskName.OnResourceUpdated ? OnResourceUpdatedTaskFactory.IAttributes : T extends TaskName.PlaceOrder ? PlaceOrderTaskFactory.IAttributes : T extends TaskName.ConfirmRegisterService ? ConfirmRegisterServiceTaskFactory.IAttributes : T extends TaskName.ConfirmRegisterServiceTransaction ? ConfirmRegisterServiceTransactionTaskFactory.IAttributes : T extends TaskName.ReturnOrder ? ReturnOrderTaskFactory.IAttributes : T extends TaskName.ReturnPayTransaction ? ReturnPayTransactionTaskFactory.IAttributes : T extends TaskName.ReturnPointAward ? ReturnPointAwardTaskFactory.IAttributes : T extends TaskName.ReturnReserveTransaction ? ReturnReserveTransactionTaskFactory.IAttributes : T extends TaskName.SendEmailMessage ? SendEmailMessageTaskFactory.IAttributes : T extends TaskName.SendOrder ? SendOrderTaskFactory.IAttributes : T extends TaskName.ConfirmPayTransaction ? ConfirmPayTransactionTaskFactory.IAttributes : T extends TaskName.TriggerWebhook ? TriggerWebhookTaskFactory.IAttributes : T extends TaskName.UseReservation ? UseReservationTaskFactory.IAttributes : T extends TaskName.VoidPayTransaction ? VoidPayTransactionTaskFactory.IAttributes : T extends TaskName.VoidRegisterServiceTransaction ? VoidRegisterServiceTransactionTaskFactory.IAttributes : T extends TaskName.VoidReserveTransaction ? VoidReserveTransactionTaskFactory.IAttributes : TaskFactory.IAttributes;
497
+ type IAttributes<T extends TaskName | string> = T extends TaskName.ConfirmReserveTransaction ? ConfirmReserveTransactionTaskFactory.IAttributes : T extends TaskName.CreateAccountingReport ? CreateAccountingReportTaskFactory.IAttributes : T extends TaskName.DeletePerson ? DeletePersonTaskFactory.IAttributes : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.IAttributes : T extends TaskName.GivePointAward ? GivePointAwardTaskFactory.IAttributes : T extends TaskName.OnAssetTransactionStatusChanged ? OnAssetTransactionStatusChangedTaskFactory.IAttributes : T extends TaskName.OnAuthorizationCreated ? OnAuthorizationCreatedTaskFactory.IAttributes : T extends TaskName.OnEventChanged ? OnEventChangedTaskFactory.IAttributes : T extends TaskName.OnOrderPaymentCompleted ? OnOrderPaymentCompletedTaskFactory.IAttributes : T extends TaskName.OnResourceDeleted ? OnResourceDeletedTaskFactory.IAttributes : T extends TaskName.OnResourceUpdated ? OnResourceUpdatedTaskFactory.IAttributes : T extends TaskName.PlaceOrder ? PlaceOrderTaskFactory.IAttributes : T extends TaskName.ConfirmRegisterService ? ConfirmRegisterServiceTaskFactory.IAttributes : T extends TaskName.ConfirmRegisterServiceTransaction ? ConfirmRegisterServiceTransactionTaskFactory.IAttributes : T extends TaskName.ReturnOrder ? ReturnOrderTaskFactory.IAttributes : T extends TaskName.ReturnPayTransaction ? ReturnPayTransactionTaskFactory.IAttributes : T extends TaskName.ReturnPointAward ? ReturnPointAwardTaskFactory.IAttributes : T extends TaskName.ReturnReserveTransaction ? ReturnReserveTransactionTaskFactory.IAttributes : T extends TaskName.SendEmailMessage ? SendEmailMessageTaskFactory.IAttributes : T extends TaskName.SendOrder ? SendOrderTaskFactory.IAttributes : T extends TaskName.ConfirmPayTransaction ? ConfirmPayTransactionTaskFactory.IAttributes : T extends TaskName.TriggerWebhook ? TriggerWebhookTaskFactory.IAttributes : T extends TaskName.UseReservation ? UseReservationTaskFactory.IAttributes : T extends TaskName.VoidPayTransaction ? VoidPayTransactionTaskFactory.IAttributes : T extends TaskName.VoidRegisterServiceTransaction ? VoidRegisterServiceTransactionTaskFactory.IAttributes : T extends TaskName.VoidReserveTransaction ? VoidReserveTransactionTaskFactory.IAttributes : TaskFactory.ITaskAttributes;
499
498
  type ITask<T extends TaskName | string> = T extends TaskName.ConfirmReserveTransaction ? ConfirmReserveTransactionTaskFactory.ITask : T extends TaskName.CreateAccountingReport ? CreateAccountingReportTaskFactory.ITask : T extends TaskName.DeletePerson ? DeletePersonTaskFactory.ITask : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.ITask : T extends TaskName.GivePointAward ? GivePointAwardTaskFactory.ITask : T extends TaskName.OnAssetTransactionStatusChanged ? OnAssetTransactionStatusChangedTaskFactory.ITask : T extends TaskName.OnAuthorizationCreated ? OnAuthorizationCreatedTaskFactory.ITask : T extends TaskName.OnEventChanged ? OnEventChangedTaskFactory.ITask : T extends TaskName.OnOrderPaymentCompleted ? OnOrderPaymentCompletedTaskFactory.ITask : T extends TaskName.OnResourceDeleted ? OnResourceDeletedTaskFactory.ITask : T extends TaskName.OnResourceUpdated ? OnResourceUpdatedTaskFactory.ITask : T extends TaskName.PlaceOrder ? PlaceOrderTaskFactory.ITask : T extends TaskName.ConfirmRegisterService ? ConfirmRegisterServiceTaskFactory.ITask : T extends TaskName.ConfirmRegisterServiceTransaction ? ConfirmRegisterServiceTransactionTaskFactory.ITask : T extends TaskName.ReturnOrder ? ReturnOrderTaskFactory.ITask : T extends TaskName.ReturnPayTransaction ? ReturnPayTransactionTaskFactory.ITask : T extends TaskName.ReturnPointAward ? ReturnPointAwardTaskFactory.ITask : T extends TaskName.ReturnReserveTransaction ? ReturnReserveTransactionTaskFactory.ITask : T extends TaskName.SendEmailMessage ? SendEmailMessageTaskFactory.ITask : T extends TaskName.SendOrder ? SendOrderTaskFactory.ITask : T extends TaskName.ConfirmPayTransaction ? ConfirmPayTransactionTaskFactory.ITask : T extends TaskName.TriggerWebhook ? TriggerWebhookTaskFactory.ITask : T extends TaskName.UseReservation ? UseReservationTaskFactory.ITask : T extends TaskName.VoidPayTransaction ? VoidPayTransactionTaskFactory.ITask : T extends TaskName.VoidRegisterServiceTransaction ? VoidRegisterServiceTransactionTaskFactory.ITask : T extends TaskName.VoidReserveTransaction ? VoidReserveTransactionTaskFactory.ITask : TaskFactory.ITask;
500
499
  export import ISearchConditions = TaskFactory.ISearchConditions;
501
500
  export import IExecutionResult = TaskFactory.IExecutionResult;
package/lib/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.permit = exports.paymentStatusType = exports.paymentMethod = exports.ownershipInfo = exports.organizationType = exports.organization = exports.orderStatus = exports.order = exports.offerType = exports.offerItemCondition = exports.offerCatalog = exports.offer = exports.notification = exports.movieTicketType = exports.monetaryAmount = exports.merchantReturnPolicy = exports.language = exports.itemAvailability = exports.invoice = exports.identityProvider = exports.iam = exports.eventType = exports.eventStatusType = exports.entryPoint = exports.encodingFormat = exports.eventSeries = exports.eventOffer = exports.event = exports.customer = exports.creativeWorkType = exports.creativeWork = exports.clientUser = exports.CertificationStatusEnumeration = exports.categoryCode = exports.authorization = exports.aggregateOffer = exports.aggregation = exports.advanceBookingRequirement = exports.additionalProperty = exports.accountType = exports.accountTitle = exports.action = exports.actionType = exports.actionStatusType = exports.account = exports.errorCode = exports.errors = exports.project = exports.cognito = exports.waiter = void 0;
4
- exports.unitPriceOffer = exports.unitCode = exports.assetTransactionType = exports.transactionStatusType = exports.transactionType = exports.transaction = exports.assetTransaction = exports.tripType = exports.trip = exports.thing = exports.taskStatus = exports.taskName = exports.sortType = exports.serviceChannel = exports.service = exports.task = exports.sellerReturnPolicy = exports.seller = exports.schedule = exports.role = exports.RESERVED_CODE_VALUES = exports.reservationType = exports.reservationStatusType = exports.reservationPackage = exports.reservation = exports.report = exports.recipe = exports.quantitativeValue = exports.qualitativeValue = exports.propertyValue = exports.productOffer = exports.product = exports.programMembership = exports.priceSpecificationType = exports.priceSpecification = exports.potentialAction = exports.placeType = exports.place = exports.priceCurrency = exports.personType = exports.person = void 0;
3
+ exports.paymentStatusType = exports.paymentMethod = exports.ownershipInfo = exports.organizationType = exports.organization = exports.orderStatus = exports.order = exports.offerType = exports.offerItemCondition = exports.offerCatalog = exports.offer = exports.notification = exports.movieTicketType = exports.monetaryAmount = exports.merchantReturnPolicy = exports.language = exports.itemAvailability = exports.invoice = exports.identityProvider = exports.iam = exports.eventType = exports.eventStatusType = exports.entryPoint = exports.encodingFormat = exports.eventSeries = exports.eventOffer = exports.event = exports.customer = exports.creativeWorkType = exports.creativeWork = exports.clientUser = exports.CertificationStatusEnumeration = exports.categoryCode = exports.authorization = exports.aggregateOffer = exports.aggregation = exports.advanceBookingRequirement = exports.additionalProperty = exports.accountType = exports.accountTitle = exports.action = exports.actionType = exports.actionStatusType = exports.account = exports.errorCode = exports.recipe = exports.errors = exports.project = exports.cognito = exports.waiter = void 0;
4
+ exports.unitPriceOffer = exports.unitCode = exports.assetTransactionType = exports.transactionStatusType = exports.transactionType = exports.transaction = exports.assetTransaction = exports.tripType = exports.trip = exports.thing = exports.taskStatus = exports.taskName = exports.sortType = exports.serviceChannel = exports.service = exports.task = exports.sellerReturnPolicy = exports.seller = exports.schedule = exports.role = exports.RESERVED_CODE_VALUES = exports.reservationType = exports.reservationStatusType = exports.reservationPackage = exports.reservation = exports.report = exports.quantitativeValue = exports.qualitativeValue = exports.propertyValue = exports.productOffer = exports.product = exports.programMembership = exports.priceSpecificationType = exports.priceSpecification = exports.potentialAction = exports.placeType = exports.place = exports.priceCurrency = exports.personType = exports.person = exports.permit = void 0;
5
5
  /**
6
6
  * factory
7
7
  */
@@ -118,7 +118,6 @@ var PropertyValueFactory = require("./propertyValue");
118
118
  var LocationFeatureSpecificationFactory = require("./propertyValue/locationFeatureSpecification");
119
119
  var QualitativeValueFactory = require("./qualitativeValue");
120
120
  var QuantitativeValueFactory = require("./quantitativeValue");
121
- var RecipeFactory = require("./recipe");
122
121
  var AccountingReportFactory = require("./report/accountingReport");
123
122
  var EventReservationFactory = require("./reservation/event");
124
123
  var ReservationPackageFactory = require("./reservation/reservationPackage");
@@ -209,6 +208,7 @@ var transactionType_1 = require("./transactionType");
209
208
  var errorCode_1 = require("./errorCode");
210
209
  // import * as errors from './errors';
211
210
  exports.errors = require("./errors");
211
+ exports.recipe = require("./recipe");
212
212
  // export import errors = errors;
213
213
  exports.errorCode = errorCode_1.ErrorCode;
214
214
  exports.account = AccountFactory;
@@ -462,7 +462,6 @@ var propertyValue;
462
462
  })(propertyValue || (exports.propertyValue = propertyValue = {}));
463
463
  exports.qualitativeValue = QualitativeValueFactory;
464
464
  exports.quantitativeValue = QuantitativeValueFactory;
465
- exports.recipe = RecipeFactory;
466
465
  var report;
467
466
  (function (report) {
468
467
  report.accountingReport = AccountingReportFactory;
@@ -1,35 +1,5 @@
1
- import { IPaymentCard } from '../paymentCard';
2
1
  /**
3
- * 有効性確認済みカード
4
- */
5
- export interface ICheckedCard extends IPaymentCard {
6
- /**
7
- * カード登録連番
8
- */
9
- cardSeq: string;
10
- /**
11
- * カード会社略称
12
- */
13
- cardName: string;
14
- /**
15
- * カード番号
16
- */
17
- cardNo: string;
18
- /**
19
- * 有効期限
20
- */
21
- expire: string;
22
- /**
23
- * 名義人
24
- */
25
- holderName: string;
26
- /**
27
- * delete flag
28
- */
29
- deleteFlag: string;
30
- }
31
- /**
32
- * 生の有効性確認前GMOカード
2
+ * 生の有効性確認前クレジットカード
33
3
  */
34
4
  export interface IUncheckedCardRaw {
35
5
  /**
@@ -48,20 +18,17 @@ export interface IUncheckedCardRaw {
48
18
  * 名義人
49
19
  */
50
20
  holderName: string;
21
+ token?: never;
51
22
  }
52
23
  /**
53
- * トークン化有効性確認前GMOカード
24
+ * トークン化有効性確認前クレジットカード
54
25
  */
55
26
  export interface IUncheckedCardTokenized {
56
27
  token: string;
57
- }
58
- /**
59
- * オーソリ取得前の会員カード
60
- */
61
- export interface IUnauthorizedCardOfMember {
62
- memberId: string;
63
- cardSeq: number;
64
- cardPass?: string;
28
+ cardNo?: never;
29
+ cardPass?: never;
30
+ expire?: never;
31
+ holderName?: never;
65
32
  }
66
33
  /**
67
34
  * 3DS対応クレジットカード
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
+ // import { IPaymentCard } from '../paymentCard';
2
3
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,19 +1,19 @@
1
1
  import type { COAFactory } from '@coasystems/factory';
2
- import * as RecipeFactory from '../recipe';
2
+ import { IHowToDirection as IBaseHowToDirection, IHowToSection as IBaseHowToSection, IHowToStep as IBaseHowToStep, IRecipe as IBaseRecipe, RecipeCategory, StepIdentifier } from '../recipe';
3
3
  export type IUpdTmpReserveSeatArgs = COAFactory.reserve.IUpdTmpReserveSeatArgs;
4
4
  export type IUpdTmpReserveSeatResult = COAFactory.reserve.IUpdTmpReserveSeatResult;
5
- export interface IDirectionUpdTmpReserveSeat extends RecipeFactory.IHowToDirection {
5
+ export interface IDirectionUpdTmpReserveSeat extends IBaseHowToDirection {
6
6
  beforeMedia?: IUpdTmpReserveSeatArgs;
7
7
  afterMedia?: IUpdTmpReserveSeatResult;
8
8
  }
9
- export interface IStepUpdTmpReserveSeat extends RecipeFactory.IHowToStep {
10
- identifier: RecipeFactory.StepIdentifier.updTmpReserveSeat;
9
+ export interface IStepUpdTmpReserveSeat extends IBaseHowToStep {
10
+ identifier: StepIdentifier.updTmpReserveSeat;
11
11
  itemListElement: [IDirectionUpdTmpReserveSeat];
12
12
  }
13
- export interface IHowToSection extends RecipeFactory.IHowToSection {
13
+ export interface IHowToSection extends IBaseHowToSection {
14
14
  itemListElement: [IStepUpdTmpReserveSeat];
15
15
  }
16
- export interface IRecipe extends RecipeFactory.IRecipe {
17
- recipeCategory: RecipeFactory.RecipeCategory.acceptCOAOffer;
16
+ export interface IRecipe extends IBaseRecipe {
17
+ recipeCategory: RecipeCategory.acceptCOAOffer;
18
18
  step: IHowToSection[];
19
19
  }
@@ -1,29 +1,29 @@
1
1
  import type { GMOFactory } from '@gmopg/factory';
2
- import * as RecipeFactory from '../recipe';
2
+ import { IHowToDirection as IBaseHowToDirection, IHowToSection as IBaseHowToSection, IHowToStep as IBaseHowToStep, IRecipe as IBaseRecipe, RecipeCategory, StepIdentifier } from '../recipe';
3
3
  export type IEntryTranArgs = GMOFactory.service.credit.IEntryTranArgs;
4
4
  export type IEntryTranResult = GMOFactory.service.credit.IEntryTranResult;
5
5
  export type IExecTranArgs = GMOFactory.service.credit.IExecTranArgs;
6
6
  export type IExecTranResult = GMOFactory.service.credit.IExecTranResult;
7
- export interface IDirectionEntryTran extends RecipeFactory.IHowToDirection {
7
+ export interface IDirectionEntryTran extends IBaseHowToDirection {
8
8
  beforeMedia?: IEntryTranArgs;
9
9
  afterMedia?: IEntryTranResult;
10
10
  }
11
- export interface IDirectionExecTran extends RecipeFactory.IHowToDirection {
11
+ export interface IDirectionExecTran extends IBaseHowToDirection {
12
12
  beforeMedia?: IExecTranArgs;
13
13
  afterMedia?: IExecTranResult;
14
14
  }
15
- export interface IStepEntryTran extends RecipeFactory.IHowToStep {
16
- identifier: RecipeFactory.StepIdentifier.entryTran;
15
+ export interface IStepEntryTran extends IBaseHowToStep {
16
+ identifier: StepIdentifier.entryTran;
17
17
  itemListElement: [IDirectionEntryTran];
18
18
  }
19
- export interface IStepExecTran extends RecipeFactory.IHowToStep {
20
- identifier: RecipeFactory.StepIdentifier.execTran;
19
+ export interface IStepExecTran extends IBaseHowToStep {
20
+ identifier: StepIdentifier.execTran;
21
21
  itemListElement: [IDirectionExecTran];
22
22
  }
23
- export interface IHowToSection extends RecipeFactory.IHowToSection {
23
+ export interface IHowToSection extends IBaseHowToSection {
24
24
  itemListElement: [IStepEntryTran, IStepExecTran];
25
25
  }
26
- export interface IRecipe extends RecipeFactory.IRecipe {
27
- recipeCategory: RecipeFactory.RecipeCategory.authorizeInvoice;
26
+ export interface IRecipe extends IBaseRecipe {
27
+ recipeCategory: RecipeCategory.authorizeInvoice;
28
28
  step: IHowToSection[];
29
29
  }