@cinerino/sdk 12.3.0-alpha.1 → 12.3.0-alpha.11

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 (39) hide show
  1. package/example/playground/public/lib/bundle.js +59 -24
  2. package/example/src/chevre/admin/adminCreateEventIfNotExistByIdentifier.ts +150 -0
  3. package/example/src/chevre/admin/adminCreateEventIfNotExistByIdentifierBySoftware.ts +103 -0
  4. package/example/src/chevre/admin/adminCreateNotesIfNotExistByIdentifier.ts +71 -0
  5. package/example/src/chevre/admin/adminProductOffersByIdentifier.ts +83 -0
  6. package/example/src/chevre/console/adminEvents.ts +3 -4
  7. package/example/src/chevre/default/findProductOffers.ts +43 -0
  8. package/example/src/cloud/admin/adminCreateEventIfNotExistByIdentifierBySoftware.ts +102 -0
  9. package/example/src/cloud/admin/adminUpsertManyEventsByAdditionalProperty.ts +19 -21
  10. package/example/src/cloud/findOrderByConfirmationNumber.ts +2 -2
  11. package/example/src/cloud/search/findProducts.ts +2 -1
  12. package/example/src/cloud/transaction/processPlaceOrderUsingMemberProgramTier.ts +10 -2
  13. package/example/src/searchEvents.ts +6 -4
  14. package/lib/abstract/chevre/productOffer.d.ts +29 -0
  15. package/lib/abstract/chevre/productOffer.js +84 -0
  16. package/lib/abstract/chevre.d.ts +9 -0
  17. package/lib/abstract/chevre.js +20 -0
  18. package/lib/abstract/chevreAdmin/event.d.ts +41 -0
  19. package/lib/abstract/chevreAdmin/event.js +54 -0
  20. package/lib/abstract/chevreAdmin/note.d.ts +50 -10
  21. package/lib/abstract/chevreAdmin/note.js +42 -19
  22. package/lib/abstract/chevreAdmin/noteAboutOrder.d.ts +21 -0
  23. package/lib/abstract/chevreAdmin/noteAboutOrder.js +120 -0
  24. package/lib/abstract/chevreAdmin/productOffer.d.ts +44 -0
  25. package/lib/abstract/{chevreConsole/eventOffer.js → chevreAdmin/productOffer.js} +46 -63
  26. package/lib/abstract/chevreAdmin.d.ts +20 -2
  27. package/lib/abstract/chevreAdmin.js +40 -0
  28. package/lib/abstract/chevreConsole/event.js +4 -3
  29. package/lib/abstract/chevreConsole.d.ts +0 -9
  30. package/lib/abstract/chevreConsole.js +0 -20
  31. package/lib/abstract/cloud/admin/event.d.ts +45 -11
  32. package/lib/abstract/cloud/admin/event.js +100 -12
  33. package/lib/abstract/cloud/admin/{note.d.ts → noteAboutOrder.d.ts} +17 -3
  34. package/lib/abstract/cloud/admin/{note.js → noteAboutOrder.js} +18 -13
  35. package/lib/abstract/cloud/admin.d.ts +8 -8
  36. package/lib/abstract/cloud/admin.js +8 -8
  37. package/lib/bundle.js +1536 -1099
  38. package/package.json +3 -2
  39. package/lib/abstract/chevreConsole/eventOffer.d.ts +0 -32
@@ -54,6 +54,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
54
54
  exports.NoteService = void 0;
55
55
  var http_status_1 = require("http-status");
56
56
  var service_1 = require("../service");
57
+ var BASE_URI = '/creativeWorks/noteDigitalDocument';
57
58
  /**
58
59
  * メモサービス
59
60
  */
@@ -62,16 +63,41 @@ var NoteService = /** @class */ (function (_super) {
62
63
  function NoteService() {
63
64
  return _super !== null && _super.apply(this, arguments) || this;
64
65
  }
65
- NoteService.prototype.upsertByIdentifier = function (params) {
66
+ NoteService.prototype.createNotesByIdentifier = function (params, options) {
66
67
  return __awaiter(this, void 0, void 0, function () {
68
+ var aboutTypeOf;
67
69
  return __generator(this, function (_a) {
68
70
  switch (_a.label) {
69
- case 0: return [4 /*yield*/, this.fetch({
70
- uri: '/notes',
71
- method: 'PUT',
72
- body: params,
73
- expectedStatusCodes: [http_status_1.NO_CONTENT]
74
- })];
71
+ case 0:
72
+ aboutTypeOf = options.aboutTypeOf;
73
+ return [4 /*yield*/, this.fetch({
74
+ uri: BASE_URI,
75
+ method: 'POST',
76
+ body: params,
77
+ qs: { aboutTypeOf: aboutTypeOf },
78
+ expectedStatusCodes: [http_status_1.NO_CONTENT]
79
+ })];
80
+ case 1:
81
+ _a.sent();
82
+ return [2 /*return*/];
83
+ }
84
+ });
85
+ });
86
+ };
87
+ NoteService.prototype.updateNotesByIdentifier = function (params, options) {
88
+ return __awaiter(this, void 0, void 0, function () {
89
+ var aboutTypeOf;
90
+ return __generator(this, function (_a) {
91
+ switch (_a.label) {
92
+ case 0:
93
+ aboutTypeOf = options.aboutTypeOf;
94
+ return [4 /*yield*/, this.fetch({
95
+ uri: BASE_URI,
96
+ method: 'PUT',
97
+ body: params,
98
+ qs: { aboutTypeOf: aboutTypeOf },
99
+ expectedStatusCodes: [http_status_1.NO_CONTENT]
100
+ })];
75
101
  case 1:
76
102
  _a.sent();
77
103
  return [2 /*return*/];
@@ -79,12 +105,12 @@ var NoteService = /** @class */ (function (_super) {
79
105
  });
80
106
  });
81
107
  };
82
- NoteService.prototype.search = function (params) {
108
+ NoteService.prototype.findNotes = function (params) {
83
109
  return __awaiter(this, void 0, void 0, function () {
84
110
  var _this = this;
85
111
  return __generator(this, function (_a) {
86
112
  return [2 /*return*/, this.fetch({
87
- uri: '/notes',
113
+ uri: BASE_URI,
88
114
  method: 'GET',
89
115
  qs: params,
90
116
  expectedStatusCodes: [http_status_1.OK]
@@ -95,19 +121,16 @@ var NoteService = /** @class */ (function (_super) {
95
121
  });
96
122
  });
97
123
  };
98
- NoteService.prototype.updateById = function (id, body) {
124
+ NoteService.prototype.deleteNotesByIds = function (params) {
99
125
  return __awaiter(this, void 0, void 0, function () {
100
- var text;
101
126
  return __generator(this, function (_a) {
102
127
  switch (_a.label) {
103
- case 0:
104
- text = body.text;
105
- return [4 /*yield*/, this.fetch({
106
- uri: "/notes/" + String(id),
107
- method: 'PUT',
108
- body: { text: text },
109
- expectedStatusCodes: [http_status_1.NO_CONTENT]
110
- })];
128
+ case 0: return [4 /*yield*/, this.fetch({
129
+ uri: BASE_URI,
130
+ method: 'DELETE',
131
+ body: params,
132
+ expectedStatusCodes: [http_status_1.NO_CONTENT]
133
+ })];
111
134
  case 1:
112
135
  _a.sent();
113
136
  return [2 /*return*/];
@@ -0,0 +1,21 @@
1
+ import * as factory from '../factory';
2
+ import { Service } from '../service';
3
+ declare type INoteDigitalDocument = factory.creativeWork.noteDigitalDocument.INoteDigitalDocument;
4
+ declare type IKeyOfProjection = keyof INoteDigitalDocument;
5
+ declare type ICreateParams = Pick<INoteDigitalDocument, 'identifier' | 'text'> & {
6
+ about: Pick<factory.creativeWork.noteDigitalDocument.IAbout, 'id' | 'typeOf'>;
7
+ };
8
+ /**
9
+ * 注文メモサービス
10
+ */
11
+ export declare class NoteAboutOrderService extends Service {
12
+ upsertByIdentifier(params: ICreateParams[]): Promise<void>;
13
+ search(params: Omit<factory.creativeWork.noteDigitalDocument.ISearchConditions, 'project'> & {
14
+ inclusion: IKeyOfProjection[];
15
+ exclusion: IKeyOfProjection[];
16
+ }): Promise<(INoteDigitalDocument & {
17
+ id: string;
18
+ })[]>;
19
+ updateById(id: string, body: Pick<INoteDigitalDocument, 'text'>): Promise<void>;
20
+ }
21
+ export {};
@@ -0,0 +1,120 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
18
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
19
+ return new (P || (P = Promise))(function (resolve, reject) {
20
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
21
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
22
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
23
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
24
+ });
25
+ };
26
+ var __generator = (this && this.__generator) || function (thisArg, body) {
27
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
28
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
29
+ function verb(n) { return function (v) { return step([n, v]); }; }
30
+ function step(op) {
31
+ if (f) throw new TypeError("Generator is already executing.");
32
+ while (_) try {
33
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
34
+ if (y = 0, t) op = [op[0] & 2, t.value];
35
+ switch (op[0]) {
36
+ case 0: case 1: t = op; break;
37
+ case 4: _.label++; return { value: op[1], done: false };
38
+ case 5: _.label++; y = op[1]; op = [0]; continue;
39
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
40
+ default:
41
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
42
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
43
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
44
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
45
+ if (t[2]) _.ops.pop();
46
+ _.trys.pop(); continue;
47
+ }
48
+ op = body.call(thisArg, _);
49
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
50
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
51
+ }
52
+ };
53
+ Object.defineProperty(exports, "__esModule", { value: true });
54
+ exports.NoteAboutOrderService = void 0;
55
+ var http_status_1 = require("http-status");
56
+ var service_1 = require("../service");
57
+ /**
58
+ * 注文メモサービス
59
+ */
60
+ var NoteAboutOrderService = /** @class */ (function (_super) {
61
+ __extends(NoteAboutOrderService, _super);
62
+ function NoteAboutOrderService() {
63
+ return _super !== null && _super.apply(this, arguments) || this;
64
+ }
65
+ NoteAboutOrderService.prototype.upsertByIdentifier = function (params) {
66
+ return __awaiter(this, void 0, void 0, function () {
67
+ return __generator(this, function (_a) {
68
+ switch (_a.label) {
69
+ case 0: return [4 /*yield*/, this.fetch({
70
+ uri: '/notes',
71
+ method: 'PUT',
72
+ body: params,
73
+ expectedStatusCodes: [http_status_1.NO_CONTENT]
74
+ })];
75
+ case 1:
76
+ _a.sent();
77
+ return [2 /*return*/];
78
+ }
79
+ });
80
+ });
81
+ };
82
+ NoteAboutOrderService.prototype.search = function (params) {
83
+ return __awaiter(this, void 0, void 0, function () {
84
+ var _this = this;
85
+ return __generator(this, function (_a) {
86
+ return [2 /*return*/, this.fetch({
87
+ uri: '/notes',
88
+ method: 'GET',
89
+ qs: params,
90
+ expectedStatusCodes: [http_status_1.OK]
91
+ })
92
+ .then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
93
+ return [2 /*return*/, response.json()];
94
+ }); }); })];
95
+ });
96
+ });
97
+ };
98
+ NoteAboutOrderService.prototype.updateById = function (id, body) {
99
+ return __awaiter(this, void 0, void 0, function () {
100
+ var text;
101
+ return __generator(this, function (_a) {
102
+ switch (_a.label) {
103
+ case 0:
104
+ text = body.text;
105
+ return [4 /*yield*/, this.fetch({
106
+ uri: "/notes/" + String(id),
107
+ method: 'PUT',
108
+ body: { text: text },
109
+ expectedStatusCodes: [http_status_1.NO_CONTENT]
110
+ })];
111
+ case 1:
112
+ _a.sent();
113
+ return [2 /*return*/];
114
+ }
115
+ });
116
+ });
117
+ };
118
+ return NoteAboutOrderService;
119
+ }(service_1.Service));
120
+ exports.NoteAboutOrderService = NoteAboutOrderService;
@@ -0,0 +1,44 @@
1
+ import * as factory from '../factory';
2
+ import { Service } from '../service';
3
+ export interface IFindParams {
4
+ limit: number;
5
+ page: number;
6
+ itemOfferedIdentifier?: string;
7
+ itemOfferedIdentifiers?: string[];
8
+ identifiers?: string[];
9
+ id?: string;
10
+ }
11
+ /**
12
+ * プロダクトオファーサービス
13
+ */
14
+ export declare class ProductOfferService extends Service {
15
+ /**
16
+ * メンバープログラムティアで有効なプロダクトオファーを追加する
17
+ */
18
+ createValidForMemberTierByIdentifier(params: factory.productOffer.IAddValidForMemberTierParams[], options: {
19
+ /**
20
+ * プロダクトオファーコレクションコード
21
+ */
22
+ itemOfferedIdentifier: string;
23
+ }): Promise<void>;
24
+ /**
25
+ * メンバープログラムティアで有効なプロダクトオファーを編集する
26
+ */
27
+ updateValidForMemberTierByIdentifier(params: factory.productOffer.IAddValidForMemberTierParams[], options: {
28
+ /**
29
+ * プロダクトオファーコレクションコード
30
+ */
31
+ itemOfferedIdentifier: string;
32
+ }): Promise<void>;
33
+ findProductOffers(params: IFindParams): Promise<(Omit<factory.productOffer.IProductOffer, 'project'> & {
34
+ id: string;
35
+ })[]>;
36
+ /**
37
+ * 有効なメンバーティアトークンを発行する(開発使用目的)
38
+ */
39
+ publishMemberTierToken(params: {
40
+ id: string;
41
+ }): Promise<{
42
+ token: string;
43
+ }>;
44
+ }
@@ -50,72 +50,34 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
50
50
  if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
51
51
  }
52
52
  };
53
- var __rest = (this && this.__rest) || function (s, e) {
54
- var t = {};
55
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
56
- t[p] = s[p];
57
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
58
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
59
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
60
- t[p[i]] = s[p[i]];
61
- }
62
- return t;
63
- };
64
53
  Object.defineProperty(exports, "__esModule", { value: true });
65
- exports.EventOfferService = void 0;
54
+ exports.ProductOfferService = void 0;
66
55
  var http_status_1 = require("http-status");
67
56
  var service_1 = require("../service");
57
+ var BASE_URI = '/productOffers';
68
58
  /**
69
- * イベントオファーサービス
59
+ * プロダクトオファーサービス
70
60
  */
71
- var EventOfferService = /** @class */ (function (_super) {
72
- __extends(EventOfferService, _super);
73
- function EventOfferService() {
61
+ var ProductOfferService = /** @class */ (function (_super) {
62
+ __extends(ProductOfferService, _super);
63
+ function ProductOfferService() {
74
64
  return _super !== null && _super.apply(this, arguments) || this;
75
65
  }
76
- EventOfferService.prototype.create = function (params) {
77
- return __awaiter(this, void 0, void 0, function () {
78
- var _this = this;
79
- return __generator(this, function (_a) {
80
- return [2 /*return*/, this.fetch({
81
- uri: '/eventOffers',
82
- method: 'POST',
83
- body: params,
84
- expectedStatusCodes: [http_status_1.CREATED]
85
- })
86
- .then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
87
- return [2 /*return*/, response.json()];
88
- }); }); })];
89
- });
90
- });
91
- };
92
- EventOfferService.prototype.projectFields = function (params) {
93
- return __awaiter(this, void 0, void 0, function () {
94
- var _this = this;
95
- return __generator(this, function (_a) {
96
- return [2 /*return*/, this.fetch({
97
- uri: '/eventOffers',
98
- method: 'GET',
99
- qs: params,
100
- expectedStatusCodes: [http_status_1.OK]
101
- })
102
- .then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
103
- return [2 /*return*/, response.json()];
104
- }); }); })];
105
- });
106
- });
107
- };
108
- EventOfferService.prototype.updateById = function (params) {
66
+ /**
67
+ * メンバープログラムティアで有効なプロダクトオファーを追加する
68
+ */
69
+ ProductOfferService.prototype.createValidForMemberTierByIdentifier = function (params, options) {
109
70
  return __awaiter(this, void 0, void 0, function () {
110
- var id, body;
71
+ var itemOfferedIdentifier;
111
72
  return __generator(this, function (_a) {
112
73
  switch (_a.label) {
113
74
  case 0:
114
- id = params.id, body = __rest(params, ["id"]);
75
+ itemOfferedIdentifier = options.itemOfferedIdentifier;
115
76
  return [4 /*yield*/, this.fetch({
116
- uri: "/eventOffers/" + encodeURIComponent(String(id)),
117
- method: 'PUT',
118
- body: body,
77
+ uri: BASE_URI,
78
+ method: 'POST',
79
+ body: params,
80
+ qs: { itemOfferedIdentifier: itemOfferedIdentifier },
119
81
  expectedStatusCodes: [http_status_1.NO_CONTENT]
120
82
  })];
121
83
  case 1:
@@ -125,16 +87,21 @@ var EventOfferService = /** @class */ (function (_super) {
125
87
  });
126
88
  });
127
89
  };
128
- EventOfferService.prototype.deleteById = function (params) {
90
+ /**
91
+ * メンバープログラムティアで有効なプロダクトオファーを編集する
92
+ */
93
+ ProductOfferService.prototype.updateValidForMemberTierByIdentifier = function (params, options) {
129
94
  return __awaiter(this, void 0, void 0, function () {
130
- var id;
95
+ var itemOfferedIdentifier;
131
96
  return __generator(this, function (_a) {
132
97
  switch (_a.label) {
133
98
  case 0:
134
- id = params.id;
99
+ itemOfferedIdentifier = options.itemOfferedIdentifier;
135
100
  return [4 /*yield*/, this.fetch({
136
- uri: "/eventOffers/" + encodeURIComponent(String(id)),
137
- method: 'DELETE',
101
+ uri: BASE_URI,
102
+ method: 'PUT',
103
+ body: params,
104
+ qs: { itemOfferedIdentifier: itemOfferedIdentifier },
138
105
  expectedStatusCodes: [http_status_1.NO_CONTENT]
139
106
  })];
140
107
  case 1:
@@ -144,17 +111,33 @@ var EventOfferService = /** @class */ (function (_super) {
144
111
  });
145
112
  });
146
113
  };
114
+ ProductOfferService.prototype.findProductOffers = function (params) {
115
+ return __awaiter(this, void 0, void 0, function () {
116
+ var _this = this;
117
+ return __generator(this, function (_a) {
118
+ return [2 /*return*/, this.fetch({
119
+ uri: BASE_URI,
120
+ method: 'GET',
121
+ qs: params,
122
+ expectedStatusCodes: [http_status_1.OK]
123
+ })
124
+ .then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
125
+ return [2 /*return*/, response.json()];
126
+ }); }); })];
127
+ });
128
+ });
129
+ };
147
130
  /**
148
131
  * 有効なメンバーティアトークンを発行する(開発使用目的)
149
132
  */
150
- EventOfferService.prototype.publichMemberTierToken = function (params) {
133
+ ProductOfferService.prototype.publishMemberTierToken = function (params) {
151
134
  return __awaiter(this, void 0, void 0, function () {
152
135
  var id;
153
136
  var _this = this;
154
137
  return __generator(this, function (_a) {
155
138
  id = params.id;
156
139
  return [2 /*return*/, this.fetch({
157
- uri: "/eventOffers/" + encodeURIComponent(String(id)) + "/tokens",
140
+ uri: BASE_URI + "/" + encodeURIComponent(String(id)) + "/tokens",
158
141
  method: 'POST',
159
142
  expectedStatusCodes: [http_status_1.CREATED]
160
143
  })
@@ -164,6 +147,6 @@ var EventOfferService = /** @class */ (function (_super) {
164
147
  });
165
148
  });
166
149
  };
167
- return EventOfferService;
150
+ return ProductOfferService;
168
151
  }(service_1.Service));
169
- exports.EventOfferService = EventOfferService;
152
+ exports.ProductOfferService = ProductOfferService;
@@ -8,11 +8,13 @@ import type { EventSeriesService } from './chevreAdmin/eventSeries';
8
8
  import type { MeService } from './chevreAdmin/me';
9
9
  import type { MemberService } from './chevreAdmin/member';
10
10
  import type { NoteService } from './chevreAdmin/note';
11
+ import type { NoteAboutOrderService } from './chevreAdmin/noteAboutOrder';
11
12
  import type { OfferService } from './chevreAdmin/offer';
12
13
  import type { OfferCatalogService } from './chevreAdmin/offerCatalog';
13
14
  import type { OfferCatalogItemService } from './chevreAdmin/offerCatalogItem';
14
15
  import type { OrderService } from './chevreAdmin/order';
15
16
  import type { ProductService } from './chevreAdmin/product';
17
+ import type { ProductOfferService } from './chevreAdmin/productOffer';
16
18
  import type { ReservationService } from './chevreAdmin/reservation';
17
19
  import type { SellerService } from './chevreAdmin/seller';
18
20
  export declare namespace service {
@@ -73,6 +75,13 @@ export declare namespace service {
73
75
  namespace Note {
74
76
  let svc: typeof NoteService | undefined;
75
77
  }
78
+ /**
79
+ * 注文メモサービス
80
+ */
81
+ type NoteAboutOrder = NoteAboutOrderService;
82
+ namespace NoteAboutOrder {
83
+ let svc: typeof NoteAboutOrderService | undefined;
84
+ }
76
85
  /**
77
86
  * 注文サービス
78
87
  */
@@ -87,6 +96,13 @@ export declare namespace service {
87
96
  namespace Product {
88
97
  let svc: typeof ProductService | undefined;
89
98
  }
99
+ /**
100
+ * プロダクトオファーサービス
101
+ */
102
+ type ProductOffer = ProductOfferService;
103
+ namespace ProductOffer {
104
+ let svc: typeof ProductOfferService | undefined;
105
+ }
90
106
  /**
91
107
  * 予約サービス
92
108
  */
@@ -136,8 +152,8 @@ export declare namespace service {
136
152
  * 管理サービス
137
153
  */
138
154
  export declare class ChevreAdmin {
139
- options: Pick<IOptions, 'auth' | 'endpoint'>;
140
- constructor(options: Pick<IOptions, 'auth' | 'endpoint'>);
155
+ options: Pick<IOptions, 'auth' | 'endpoint' | 'disableAutoRetry'>;
156
+ constructor(options: Pick<IOptions, 'auth' | 'endpoint' | 'disableAutoRetry'>);
141
157
  createAuthorizationInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<AuthorizationService>;
142
158
  createCreativeWorkInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<CreativeWorkService>;
143
159
  createCustomerInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<CustomerService>;
@@ -146,8 +162,10 @@ export declare class ChevreAdmin {
146
162
  createMeInstance(): Promise<MeService>;
147
163
  createMemberInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<MemberService>;
148
164
  createNoteInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<NoteService>;
165
+ createNoteAboutOrderInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<NoteAboutOrderService>;
149
166
  createOrderInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<OrderService>;
150
167
  createProductInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<ProductService>;
168
+ createProductOfferInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<ProductOfferService>;
151
169
  createReservationInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<ReservationService>;
152
170
  createSellerInstance(params: Pick<IOptions, 'project'>): Promise<SellerService>;
153
171
  createOfferInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<OfferService>;
@@ -74,12 +74,18 @@ var service;
74
74
  var Note;
75
75
  (function (Note) {
76
76
  })(Note = service.Note || (service.Note = {}));
77
+ var NoteAboutOrder;
78
+ (function (NoteAboutOrder) {
79
+ })(NoteAboutOrder = service.NoteAboutOrder || (service.NoteAboutOrder = {}));
77
80
  var Order;
78
81
  (function (Order) {
79
82
  })(Order = service.Order || (service.Order = {}));
80
83
  var Product;
81
84
  (function (Product) {
82
85
  })(Product = service.Product || (service.Product = {}));
86
+ var ProductOffer;
87
+ (function (ProductOffer) {
88
+ })(ProductOffer = service.ProductOffer || (service.ProductOffer = {}));
83
89
  var Reservation;
84
90
  (function (Reservation) {
85
91
  })(Reservation = service.Reservation || (service.Reservation = {}));
@@ -245,6 +251,23 @@ var ChevreAdmin = /** @class */ (function () {
245
251
  });
246
252
  });
247
253
  };
254
+ ChevreAdmin.prototype.createNoteAboutOrderInstance = function (params) {
255
+ return __awaiter(this, void 0, void 0, function () {
256
+ var _a;
257
+ return __generator(this, function (_b) {
258
+ switch (_b.label) {
259
+ case 0:
260
+ if (!(service.NoteAboutOrder.svc === undefined)) return [3 /*break*/, 2];
261
+ _a = service.NoteAboutOrder;
262
+ return [4 /*yield*/, Promise.resolve().then(function () { return require('./chevreAdmin/noteAboutOrder'); })];
263
+ case 1:
264
+ _a.svc = (_b.sent()).NoteAboutOrderService;
265
+ _b.label = 2;
266
+ case 2: return [2 /*return*/, new service.NoteAboutOrder.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: [] }))];
267
+ }
268
+ });
269
+ });
270
+ };
248
271
  ChevreAdmin.prototype.createOrderInstance = function (params) {
249
272
  return __awaiter(this, void 0, void 0, function () {
250
273
  var _a;
@@ -279,6 +302,23 @@ var ChevreAdmin = /** @class */ (function () {
279
302
  });
280
303
  });
281
304
  };
305
+ ChevreAdmin.prototype.createProductOfferInstance = function (params) {
306
+ return __awaiter(this, void 0, void 0, function () {
307
+ var _a;
308
+ return __generator(this, function (_b) {
309
+ switch (_b.label) {
310
+ case 0:
311
+ if (!(service.ProductOffer.svc === undefined)) return [3 /*break*/, 2];
312
+ _a = service.ProductOffer;
313
+ return [4 /*yield*/, Promise.resolve().then(function () { return require('./chevreAdmin/productOffer'); })];
314
+ case 1:
315
+ _a.svc = (_b.sent()).ProductOfferService;
316
+ _b.label = 2;
317
+ case 2: return [2 /*return*/, new service.ProductOffer.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: [] }))];
318
+ }
319
+ });
320
+ });
321
+ };
282
322
  ChevreAdmin.prototype.createReservationInstance = function (params) {
283
323
  return __awaiter(this, void 0, void 0, function () {
284
324
  var _a;
@@ -70,11 +70,11 @@ var EventService = /** @class */ (function (_super) {
70
70
  // add options(2025-08-26~)
71
71
  options) {
72
72
  return __awaiter(this, void 0, void 0, function () {
73
- var superEventId, locationBranchCode;
73
+ var superEventId, locationBranchCode, hasTicketedSeat;
74
74
  return __generator(this, function (_a) {
75
75
  switch (_a.label) {
76
76
  case 0:
77
- superEventId = options.superEventId, locationBranchCode = options.locationBranchCode;
77
+ superEventId = options.superEventId, locationBranchCode = options.locationBranchCode, hasTicketedSeat = options.hasTicketedSeat;
78
78
  return [4 /*yield*/, this.fetch({
79
79
  uri: '/events',
80
80
  method: 'POST',
@@ -83,7 +83,8 @@ var EventService = /** @class */ (function (_super) {
83
83
  expectsNoContent: '1',
84
84
  typeOf: factory.eventType.ScreeningEvent,
85
85
  superEventId: superEventId,
86
- locationBranchCode: locationBranchCode
86
+ locationBranchCode: locationBranchCode,
87
+ hasTicketedSeat: hasTicketedSeat
87
88
  },
88
89
  expectedStatusCodes: [http_status_1.NO_CONTENT]
89
90
  })];
@@ -22,7 +22,6 @@ import type { CustomerService } from './chevreConsole/customer';
22
22
  import type { CustomerTypeService } from './chevreConsole/customerType';
23
23
  import type { EmailMessageService } from './chevreConsole/emailMessage';
24
24
  import type { EventService } from './chevreConsole/event';
25
- import type { EventOfferService } from './chevreConsole/eventOffer';
26
25
  import type { EventSeriesService } from './chevreConsole/eventSeries';
27
26
  import type { HasMerchantReturnPolicyService } from './chevreConsole/hasMerchantReturnPolicy';
28
27
  import type { IAMService } from './chevreConsole/iam';
@@ -196,13 +195,6 @@ export declare namespace service {
196
195
  namespace Event {
197
196
  let svc: typeof EventService | undefined;
198
197
  }
199
- /**
200
- * イベントオファーサービス
201
- */
202
- type EventOffer = EventOfferService;
203
- namespace EventOffer {
204
- let svc: typeof EventOfferService | undefined;
205
- }
206
198
  /**
207
199
  * 施設コンテンツサービス
208
200
  */
@@ -589,7 +581,6 @@ export declare class ChevreConsole {
589
581
  createCustomerTypeInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<CustomerTypeService>;
590
582
  createEmailMessageInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<EmailMessageService>;
591
583
  createEventInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<EventService>;
592
- createEventOfferInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<EventOfferService>;
593
584
  createEventSeriesInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<EventSeriesService>;
594
585
  createHasMerchantReturnPolicyInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<HasMerchantReturnPolicyService>;
595
586
  createIAMInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<IAMService>;