@cinerino/sdk 18.3.0-alpha.2 → 18.3.0-alpha.3

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.
@@ -1,7 +1,6 @@
1
1
  import { IAdditionalOptions, IOptions, IUnset as IUnsetOnService } from './service';
2
2
  import type { CategoryCodeService } from './chevre/categoryCode';
3
3
  import type { CreativeWorkService } from './chevre/creativeWork';
4
- import type { EmailMessageService } from './chevre/emailMessage';
5
4
  import type { EventService } from './chevre/event';
6
5
  import type { EventOfferService } from './chevre/eventOffer';
7
6
  import type { EventSeriesService } from './chevre/eventSeries';
@@ -25,13 +24,6 @@ export declare namespace service {
25
24
  namespace CreativeWork {
26
25
  let svc: typeof CreativeWorkService | undefined;
27
26
  }
28
- /**
29
- * Eメールメッセージサービス
30
- */
31
- type EmailMessage = EmailMessageService;
32
- namespace EmailMessage {
33
- let svc: typeof EmailMessageService | undefined;
34
- }
35
27
  /**
36
28
  * イベントサービス
37
29
  */
@@ -90,7 +82,6 @@ export declare class Chevre {
90
82
  constructor(options: Pick<IOptions, 'auth' | 'endpoint'>);
91
83
  createCategoryCodeInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<CategoryCodeService>;
92
84
  createCreativeWorkInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<CreativeWorkService>;
93
- createEmailMessageInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<EmailMessageService>;
94
85
  createEventInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<EventService>;
95
86
  createEventOfferInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<EventOfferService>;
96
87
  createEventSeriesInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<EventSeriesService>;
@@ -42,9 +42,6 @@ var service;
42
42
  let CreativeWork;
43
43
  (function (CreativeWork) {
44
44
  })(CreativeWork = service.CreativeWork || (service.CreativeWork = {}));
45
- let EmailMessage;
46
- (function (EmailMessage) {
47
- })(EmailMessage = service.EmailMessage || (service.EmailMessage = {}));
48
45
  let Event;
49
46
  (function (Event) {
50
47
  })(Event = service.Event || (service.Event = {}));
@@ -87,12 +84,6 @@ class Chevre {
87
84
  }
88
85
  return new service.CreativeWork.svc({ ...this.options, ...params, retryableStatusCodes: [] });
89
86
  }
90
- async createEmailMessageInstance(params) {
91
- if (service.EmailMessage.svc === undefined) {
92
- service.EmailMessage.svc = (await Promise.resolve().then(() => __importStar(require('./chevre/emailMessage.js')))).EmailMessageService;
93
- }
94
- return new service.EmailMessage.svc({ ...this.options, ...params, retryableStatusCodes: [] });
95
- }
96
87
  async createEventInstance(params) {
97
88
  if (service.Event.svc === undefined) {
98
89
  service.Event.svc = (await Promise.resolve().then(() => __importStar(require('./chevre/event.js')))).EventService;
@@ -29,16 +29,6 @@ export declare class EventService extends Service {
29
29
  findEventById(params: {
30
30
  id: string;
31
31
  }): Promise<factory.event.screeningEvent.IEvent>;
32
- /**
33
- * 興行イベント編集
34
- */
35
- updateEventById(params: {
36
- id: string;
37
- attributes: factory.event.screeningEvent.IUpdateByIdParams;
38
- options: {
39
- disableOverwriteMakesOffer: boolean;
40
- };
41
- }): Promise<void>;
42
32
  /**
43
33
  * イベントのアプリケーションオファー編集
44
34
  */
@@ -48,26 +48,31 @@ class EventService extends service_1.Service {
48
48
  uri: `/events/${encodeURIComponent(String(id))}`,
49
49
  method: 'GET',
50
50
  expectedStatusCodes: [http_status_1.status.OK],
51
- // qs: { typeOf }
52
51
  })
53
52
  .then(async (response) => response.json());
54
53
  }
55
- /**
56
- * 興行イベント編集
57
- */
58
- async updateEventById(params) {
59
- await this.fetch({
60
- uri: `/events/${encodeURIComponent(String(params.id))}`,
61
- method: 'PUT',
62
- body: params.attributes,
63
- qs: {
64
- typeOf: factory_1.factory.eventType.ScreeningEvent,
65
- // support disableOverwriteMakesOffer(2025-10-26~)
66
- disableOverwriteMakesOffer: params.options?.disableOverwriteMakesOffer === true
67
- },
68
- expectedStatusCodes: [http_status_1.status.NO_CONTENT]
69
- });
70
- }
54
+ // migrate to chvevreAdmin.updateEventsByIdentifier(2026-10-12~)
55
+ // /**
56
+ // * 興行イベント編集
57
+ // */
58
+ // public async updateEventById(params: {
59
+ // id: string;
60
+ // attributes: factory.event.screeningEvent.IUpdateByIdParams;
61
+ // options: {
62
+ // disableOverwriteMakesOffer: boolean;
63
+ // };
64
+ // }): Promise<void> {
65
+ // await this.fetch({
66
+ // uri: `/events/${encodeURIComponent(String(params.id))}`,
67
+ // method: 'PUT',
68
+ // body: params.attributes,
69
+ // qs: {
70
+ // typeOf: factory.eventType.ScreeningEvent,
71
+ // disableOverwriteMakesOffer: params.options?.disableOverwriteMakesOffer === true // support disableOverwriteMakesOffer(2025-10-26~)
72
+ // },
73
+ // expectedStatusCodes: [status.NO_CONTENT]
74
+ // });
75
+ // }
71
76
  /**
72
77
  * イベントのアプリケーションオファー編集
73
78
  */