@chevre/factory 4.309.1 → 4.310.0-alpha.0

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.
@@ -0,0 +1,517 @@
1
+ {
2
+ "data": {
3
+ /**
4
+ * 旧ユーザープールにおけるCognitoユーザー情報
5
+ */
6
+ "cognitoUser": {
7
+ "Attributes": [
8
+ {
9
+ "Name": "sub",
10
+ "Value": "6513970e-5094-461a-9bed-43db9d28592c"
11
+ },
12
+ {
13
+ "Name": "birthdate",
14
+ "Value": "1988-01-01"
15
+ },
16
+ {
17
+ "Name": "email_verified",
18
+ "Value": "true"
19
+ },
20
+ {
21
+ "Name": "gender",
22
+ "Value": "0"
23
+ },
24
+ {
25
+ "Name": "phone_number_verified",
26
+ "Value": "false"
27
+ },
28
+ {
29
+ "Name": "phone_number",
30
+ "Value": "+819012345678"
31
+ },
32
+ {
33
+ "Name": "given_name",
34
+ "Value": "メイ"
35
+ },
36
+ {
37
+ "Name": "family_name",
38
+ "Value": "セイ"
39
+ },
40
+ {
41
+ "Name": "email",
42
+ "Value": "test@example.com"
43
+ },
44
+ {
45
+ "Name": "custom:postalCode",
46
+ "Value": "1234567"
47
+ }
48
+ ],
49
+ "Enabled": true,
50
+ "UserCreateDate": "2023-04-03T06:34:13.507Z",
51
+ "UserLastModifiedDate": "2023-04-03T06:34:28.336Z",
52
+ "UserStatus": "CONFIRMED",
53
+ /**
54
+ * 旧ユーザーネーム
55
+ */
56
+ "Username": "oldusername12345"
57
+ },
58
+ /**
59
+ * 所有予約
60
+ */
61
+ "reservations": [
62
+ {
63
+ "typeOf": "OwnershipInfo",
64
+ /**
65
+ * 予約内容
66
+ */
67
+ "typeOfGood": {
68
+ "project": {
69
+ "typeOf": "Project",
70
+ "id": "sskts-development"
71
+ },
72
+ "typeOf": "EventReservation",
73
+ "id": "35389-0",
74
+ "issuedThrough": {
75
+ "typeOf": "EventService",
76
+ "id": "",
77
+ "availableChannel": {
78
+ "typeOf": "ServiceChannel",
79
+ "serviceLocation": {
80
+ "typeOf": "ScreeningRoom",
81
+ "branchCode": "30",
82
+ "name": {
83
+ "ja": "シアター3",
84
+ "en": "THEATER3"
85
+ },
86
+ "containedInPlace": {
87
+ "typeOf": "MovieTheater",
88
+ "id": "5e9a6a7602536f0007a597bd",
89
+ "branchCode": "120",
90
+ "name": {
91
+ "ja": "シネマテスト",
92
+ "en": "CinemaTest120"
93
+ }
94
+ }
95
+ }
96
+ }
97
+ },
98
+ "bookingTime": "2023-04-03T06:36:17.349Z",
99
+ "reservationFor": {
100
+ "typeOf": "ScreeningEvent",
101
+ "coaInfo": {
102
+ "theaterCode": "120",
103
+ "dateJouei": "20230403",
104
+ "titleCode": "99100",
105
+ "titleBranchNum": "0",
106
+ "timeBegin": "1720",
107
+ "timeEnd": "1906",
108
+ "screenCode": "30",
109
+ "trailerTime": 6,
110
+ "kbnService": {
111
+ "kubunCode": "000",
112
+ "kubunName": "通常",
113
+ "kubunNameEng": null,
114
+ "kubunAddPrice": 0
115
+ },
116
+ "kbnAcoustic": {
117
+ "kubunCode": "000",
118
+ "kubunName": "なし",
119
+ "kubunNameEng": null,
120
+ "kubunAddPrice": 0
121
+ },
122
+ "nameServiceDay": "",
123
+ "availableNum": 6,
124
+ "rsvStartDate": "20221226",
125
+ "rsvEndDate": "20230403",
126
+ "flgEarlyBooking": "0"
127
+ },
128
+ "endDate": "2023-04-03T10:06:00.000Z",
129
+ "identifier": "12099100020230403301720",
130
+ "location": {
131
+ "typeOf": "ScreeningRoom",
132
+ "branchCode": "30",
133
+ "name": {
134
+ "ja": "シアター3",
135
+ "en": "THEATER3"
136
+ }
137
+ },
138
+ "name": {
139
+ "ja": "通常作品テスト",
140
+ "en": "TEST"
141
+ },
142
+ "startDate": "2023-04-03T08:20:00.000Z",
143
+ "superEvent": {
144
+ "typeOf": "ScreeningEventSeries",
145
+ "id": "120991000",
146
+ "identifier": "120991000",
147
+ "name": {
148
+ "ja": "通常作品テスト",
149
+ "en": "TEST"
150
+ },
151
+ "kanaName": "ツウジョウサクヒンテスト",
152
+ "alternativeHeadline": "通常作品テスト",
153
+ "location": {
154
+ "id": "5e9a6a7602536f0007a597bd",
155
+ "branchCode": "120",
156
+ "name": {
157
+ "ja": "シネマテスト",
158
+ "en": "CinemaTest120"
159
+ },
160
+ "kanaName": "シネマ120",
161
+ "typeOf": "MovieTheater"
162
+ },
163
+ "videoFormat": {
164
+ "kubunCode": "001",
165
+ "kubunName": "2D",
166
+ "kubunNameEng": null,
167
+ "kubunAddPrice": 0
168
+ },
169
+ "soundFormat": [],
170
+ "workPerformed": {
171
+ "id": "120-99100",
172
+ "identifier": "99100",
173
+ "name": {
174
+ "ja": "通常作品テスト"
175
+ },
176
+ "duration": "PT1H40M",
177
+ "typeOf": "Movie"
178
+ },
179
+ "duration": "PT1H40M",
180
+ "coaInfo": {
181
+ "titleBranchNum": "0",
182
+ "kbnEirin": {
183
+ "kubunCode": "000",
184
+ "kubunName": "なし",
185
+ "kubunNameEng": null,
186
+ "kubunAddPrice": 0
187
+ },
188
+ "kbnEizou": {
189
+ "kubunCode": "001",
190
+ "kubunName": "2D",
191
+ "kubunNameEng": null,
192
+ "kubunAddPrice": 0
193
+ },
194
+ "kbnJoueihousiki": {
195
+ "kubunCode": "000",
196
+ "kubunName": "通常",
197
+ "kubunNameEng": null,
198
+ "kubunAddPrice": 0
199
+ },
200
+ "kbnJimakufukikae": {
201
+ "kubunCode": "000",
202
+ "kubunName": "なし",
203
+ "kubunNameEng": null,
204
+ "kubunAddPrice": 0
205
+ },
206
+ "flgMvtkUse": "0",
207
+ "dateMvtkBegin": " "
208
+ }
209
+ },
210
+ "id": "12099100020230403301720"
211
+ },
212
+ "reservationNumber": "35389",
213
+ "reservedTicket": {
214
+ "typeOf": "Ticket",
215
+ "coaTicketInfo": {
216
+ "ticketCode": "10",
217
+ "ticketName": "当日一般",
218
+ "ticketNameEng": "General Price",
219
+ "ticketNameKana": "トウジツイッパン",
220
+ "stdPrice": 1800,
221
+ "addPrice": 0,
222
+ "disPrice": 0,
223
+ "salesTicketSalePrice": 1800,
224
+ "spseatAdd1": 0,
225
+ "spseatAdd2": 0,
226
+ "spseatKbn": "000",
227
+ "addGlasses": 0,
228
+ "ticketCount": 1,
229
+ "seatNum": "p-22",
230
+ "mvtkAppPrice": 0,
231
+ "kbnEisyahousiki": "00",
232
+ "mvtkNum": "",
233
+ "mvtkKbnDenshiken": "00",
234
+ "mvtkKbnMaeuriken": "00",
235
+ "mvtkKbnKensyu": "00",
236
+ "mvtkSalesPrice": 0,
237
+ "kbnMgtk": "",
238
+ "limitUnit": "001",
239
+ "limitCount": 1,
240
+ "usePoint": 0,
241
+ "salePrice": 1800
242
+ },
243
+ "coaReserveAmount": 3300,
244
+ "dateIssued": "2023-04-03T06:36:17.349Z",
245
+ "ticketedSeat": {
246
+ "typeOf": "Seat",
247
+ "seatNumber": "p-22",
248
+ "seatRow": "",
249
+ "seatSection": " "
250
+ },
251
+ "ticketNumber": "1202023040300035389001",
252
+ "ticketToken": "1202023040300035389001",
253
+ "ticketType": {
254
+ "typeOf": "Offer",
255
+ "id": "7iri35ckkgecdj2",
256
+ "identifier": "COA-120-10",
257
+ "name": {
258
+ "ja": "当日一般",
259
+ "en": "General Price"
260
+ }
261
+ }
262
+ },
263
+ "bookingService": {
264
+ "typeOf": "WebAPI",
265
+ "identifier": "COA"
266
+ }
267
+ },
268
+ "ownedFrom": "2023-04-03T06:36:32.366Z",
269
+ "ownedThrough": "2023-04-03T10:06:00.000Z"
270
+ },
271
+ {
272
+ "id": "ec05cdc0-a3ad-4cc1-a56c-1fb47a02f571",
273
+ "typeOf": "OwnershipInfo",
274
+ "typeOfGood": {
275
+ "project": {
276
+ "typeOf": "Project",
277
+ "id": "sskts-development"
278
+ },
279
+ "typeOf": "EventReservation",
280
+ "id": "35389-1",
281
+ "issuedThrough": {
282
+ "typeOf": "EventService",
283
+ "id": "",
284
+ "availableChannel": {
285
+ "typeOf": "ServiceChannel",
286
+ "serviceLocation": {
287
+ "typeOf": "ScreeningRoom",
288
+ "branchCode": "30",
289
+ "name": {
290
+ "ja": "シアター3",
291
+ "en": "THEATER3"
292
+ },
293
+ "containedInPlace": {
294
+ "typeOf": "MovieTheater",
295
+ "id": "5e9a6a7602536f0007a597bd",
296
+ "branchCode": "120",
297
+ "name": {
298
+ "ja": "シネマテスト",
299
+ "en": "CinemaTest120"
300
+ }
301
+ }
302
+ }
303
+ }
304
+ },
305
+ "bookingTime": "2023-04-03T06:36:17.349Z",
306
+ "reservationFor": {
307
+ "typeOf": "ScreeningEvent",
308
+ "coaInfo": {
309
+ "theaterCode": "120",
310
+ "dateJouei": "20230403",
311
+ "titleCode": "99100",
312
+ "titleBranchNum": "0",
313
+ "timeBegin": "1720",
314
+ "timeEnd": "1906",
315
+ "screenCode": "30",
316
+ "trailerTime": 6,
317
+ "kbnService": {
318
+ "kubunCode": "000",
319
+ "kubunName": "通常",
320
+ "kubunNameEng": null,
321
+ "kubunAddPrice": 0
322
+ },
323
+ "kbnAcoustic": {
324
+ "kubunCode": "000",
325
+ "kubunName": "なし",
326
+ "kubunNameEng": null,
327
+ "kubunAddPrice": 0
328
+ },
329
+ "nameServiceDay": "",
330
+ "availableNum": 6,
331
+ "rsvStartDate": "20221226",
332
+ "rsvEndDate": "20230403",
333
+ "flgEarlyBooking": "0"
334
+ },
335
+ "endDate": "2023-04-03T10:06:00.000Z",
336
+ "identifier": "12099100020230403301720",
337
+ "location": {
338
+ "typeOf": "ScreeningRoom",
339
+ "branchCode": "30",
340
+ "name": {
341
+ "ja": "シアター3",
342
+ "en": "THEATER3"
343
+ }
344
+ },
345
+ "name": {
346
+ "ja": "通常作品テスト",
347
+ "en": "TEST"
348
+ },
349
+ "startDate": "2023-04-03T08:20:00.000Z",
350
+ "superEvent": {
351
+ "typeOf": "ScreeningEventSeries",
352
+ "id": "120991000",
353
+ "identifier": "120991000",
354
+ "name": {
355
+ "ja": "通常作品テスト",
356
+ "en": "TEST"
357
+ },
358
+ "kanaName": "ツウジョウサクヒンテスト",
359
+ "alternativeHeadline": "通常作品テスト",
360
+ "location": {
361
+ "id": "5e9a6a7602536f0007a597bd",
362
+ "branchCode": "120",
363
+ "name": {
364
+ "ja": "シネマテスト",
365
+ "en": "CinemaTest120"
366
+ },
367
+ "kanaName": "シネマ120",
368
+ "typeOf": "MovieTheater"
369
+ },
370
+ "videoFormat": {
371
+ "kubunCode": "001",
372
+ "kubunName": "2D",
373
+ "kubunNameEng": null,
374
+ "kubunAddPrice": 0
375
+ },
376
+ "soundFormat": [],
377
+ "workPerformed": {
378
+ "id": "120-99100",
379
+ "identifier": "99100",
380
+ "name": {
381
+ "ja": "通常作品テスト"
382
+ },
383
+ "duration": "PT1H40M",
384
+ "typeOf": "Movie"
385
+ },
386
+ "duration": "PT1H40M",
387
+ "coaInfo": {
388
+ "titleBranchNum": "0",
389
+ "kbnEirin": {
390
+ "kubunCode": "000",
391
+ "kubunName": "なし",
392
+ "kubunNameEng": null,
393
+ "kubunAddPrice": 0
394
+ },
395
+ "kbnEizou": {
396
+ "kubunCode": "001",
397
+ "kubunName": "2D",
398
+ "kubunNameEng": null,
399
+ "kubunAddPrice": 0
400
+ },
401
+ "kbnJoueihousiki": {
402
+ "kubunCode": "000",
403
+ "kubunName": "通常",
404
+ "kubunNameEng": null,
405
+ "kubunAddPrice": 0
406
+ },
407
+ "kbnJimakufukikae": {
408
+ "kubunCode": "000",
409
+ "kubunName": "なし",
410
+ "kubunNameEng": null,
411
+ "kubunAddPrice": 0
412
+ },
413
+ "flgMvtkUse": "0",
414
+ "dateMvtkBegin": " "
415
+ }
416
+ },
417
+ "id": "12099100020230403301720"
418
+ },
419
+ "reservationNumber": "35389",
420
+ "reservedTicket": {
421
+ "typeOf": "Ticket",
422
+ "coaTicketInfo": {
423
+ "ticketCode": "40",
424
+ "ticketName": "大学生",
425
+ "ticketNameEng": "",
426
+ "ticketNameKana": "",
427
+ "stdPrice": 1500,
428
+ "addPrice": 0,
429
+ "disPrice": 0,
430
+ "salesTicketSalePrice": 1500,
431
+ "spseatAdd1": 0,
432
+ "spseatAdd2": 0,
433
+ "spseatKbn": "000",
434
+ "addGlasses": 0,
435
+ "ticketCount": 1,
436
+ "seatNum": "p-23",
437
+ "mvtkAppPrice": 0,
438
+ "kbnEisyahousiki": "00",
439
+ "mvtkNum": "",
440
+ "mvtkKbnDenshiken": "00",
441
+ "mvtkKbnMaeuriken": "00",
442
+ "mvtkKbnKensyu": "00",
443
+ "mvtkSalesPrice": 0,
444
+ "kbnMgtk": "",
445
+ "limitUnit": "001",
446
+ "limitCount": 1,
447
+ "usePoint": 0,
448
+ "salePrice": 1500
449
+ },
450
+ "coaReserveAmount": 3300,
451
+ "dateIssued": "2023-04-03T06:36:17.349Z",
452
+ "ticketedSeat": {
453
+ "typeOf": "Seat",
454
+ "seatNumber": "p-23",
455
+ "seatRow": "",
456
+ "seatSection": " "
457
+ },
458
+ "ticketNumber": "1202023040300035389002",
459
+ "ticketToken": "1202023040300035389002",
460
+ "ticketType": {
461
+ "typeOf": "Offer",
462
+ "id": "7iri35ckkgecdj4",
463
+ "identifier": "COA-120-40",
464
+ "name": {
465
+ "ja": "大学生",
466
+ "en": ""
467
+ }
468
+ }
469
+ },
470
+ "bookingService": {
471
+ "typeOf": "WebAPI",
472
+ "identifier": "COA"
473
+ }
474
+ },
475
+ "ownedFrom": "2023-04-03T06:36:32.366Z",
476
+ "ownedThrough": "2023-04-03T10:06:00.000Z"
477
+ }
478
+ ],
479
+ /**
480
+ * 所有メンバーシップ
481
+ */
482
+ "memberships": [
483
+ {
484
+ "typeOf": "OwnershipInfo",
485
+ "typeOfGood": {
486
+ "identifier": "791847452956279"
487
+ },
488
+ /**
489
+ * メンバーシップ有効期間(from)
490
+ */
491
+ "ownedFrom": "2023-04-03T06:35:19.295Z",
492
+ /**
493
+ * メンバーシップ有効期間(through)
494
+ */
495
+ "ownedThrough": "2023-04-03T07:05:19.295Z"
496
+ }
497
+ ],
498
+ /**
499
+ * 所有ポイントカード
500
+ */
501
+ "paymentCards": [
502
+ {
503
+ "typeOf": "OwnershipInfo",
504
+ "typeOfGood": {
505
+ /**
506
+ * ポイント残高
507
+ */
508
+ "balance": 2,
509
+ /**
510
+ * ポイントカード番号
511
+ */
512
+ "identifier": "139045419054583"
513
+ }
514
+ }
515
+ ]
516
+ }
517
+ }
@@ -30,7 +30,13 @@ export interface ISoundFormat {
30
30
  * コンテンツ
31
31
  * contentRatingはCOAのみ存在
32
32
  */
33
- export declare type IWorkPerformed = Pick<IMovie, 'typeOf' | 'id' | 'identifier' | 'name' | 'duration' | 'contentRating'>;
33
+ export declare type IWorkPerformed = Pick<IMovie, 'typeOf' | 'id' | 'identifier' | 'name' | 'duration' | 'contentRating'> & {
34
+ /**
35
+ * 同コンテンツに対する複数施設コンテンツのバージョン
36
+ * identifier+versionでuniqueな想定
37
+ */
38
+ version?: string;
39
+ };
34
40
  export interface IOrganizer {
35
41
  typeOf: OrganizationType.Corporation;
36
42
  identifier: string;
@@ -149,6 +155,11 @@ export declare type ICreateParams = Omit<IAttributes, 'location' | 'workPerforme
149
155
  };
150
156
  workPerformed: {
151
157
  identifier: string;
158
+ /**
159
+ * 同コンテンツに対する複数施設コンテンツのバージョン
160
+ * identifier+versionでuniqueな想定
161
+ */
162
+ version?: string;
152
163
  };
153
164
  videoFormat: IVideoFormat[];
154
165
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.309.1",
3
+ "version": "4.310.0-alpha.0",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",