@cinerino/sdk 15.0.0-alpha.8 → 15.0.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.
@@ -1,12 +1,6 @@
1
- import { IAcceptedOffer, IOrderAsSearchResult, IOrderAsSearchWithUnwindAcceptedOffersResult, IReturner, ISearchOrdersOptions, IUpdateChangeableAttributesParams } from '../chevreConsole/order/factory';
1
+ import { IAcceptedOffer, IOrderAsSearchResult, IOrderAsFindAcceptedOffersResult, IReturner, IFindParams, IProjection, IUpdateChangeableAttributesParams } from '../chevreConsole/order/factory';
2
2
  import { factory } from '../factory';
3
- import { ISearchResult, Service } from '../service';
4
- type IKeyOfProjection = keyof factory.order.IOrder | '_id';
5
- /**
6
- * 注文検索時projection
7
- * 0->1(2024-07-29~)
8
- */
9
- type IProjection = Partial<Record<IKeyOfProjection, 1>>;
3
+ import { Service } from '../service';
10
4
  /**
11
5
  * 注文サービス
12
6
  */
@@ -18,20 +12,7 @@ export declare class OrderService extends Service {
18
12
  /**
19
13
  * 注文を検索する
20
14
  */
21
- search(params: Omit<factory.order.ISearchConditions, 'project' | 'provider'> & {
22
- $projection?: IProjection;
23
- $projectDisabled?: '1';
24
- } & ISearchOrdersOptions & {
25
- /**
26
- * min: 1
27
- * max: 20
28
- */
29
- limit: number;
30
- /**
31
- * min: 1
32
- */
33
- page: number;
34
- }): Promise<ISearchResult<IOrderAsSearchResult[] | IOrderAsSearchWithUnwindAcceptedOffersResult[]>>;
15
+ findOrders(params: IFindParams): Promise<IOrderAsSearchResult[] | IOrderAsFindAcceptedOffersResult[]>;
35
16
  /**
36
17
  * 注文取得
37
18
  */
@@ -66,4 +47,3 @@ export declare class OrderService extends Service {
66
47
  page?: number;
67
48
  }): Promise<IAcceptedOffer[]>;
68
49
  }
69
- export {};
@@ -22,18 +22,14 @@ class OrderService extends service_1.Service {
22
22
  /**
23
23
  * 注文を検索する
24
24
  */
25
- async search(params) {
25
+ async findOrders(params) {
26
26
  return this.fetch({
27
27
  uri: '/orders',
28
28
  method: 'GET',
29
29
  qs: params,
30
30
  expectedStatusCodes: [http_status_1.status.OK]
31
31
  })
32
- .then(async (response) => {
33
- return {
34
- data: await response.json()
35
- };
36
- });
32
+ .then(async (response) => response.json());
37
33
  }
38
34
  /**
39
35
  * 注文取得
@@ -4,11 +4,48 @@ import { Service } from '../service';
4
4
  export interface IUseActionResult {
5
5
  id: string;
6
6
  }
7
- type IKeyOfProjection = keyof factory.reservation.eventReservation.IReservation;
8
- type IProjection = Partial<Record<IKeyOfProjection, 1>>;
9
- interface IProjectionSearchConditions {
10
- $projection?: IProjection;
11
- }
7
+ /**
8
+ * 予約検索条件
9
+ */
10
+ type IFindParams = Pick<factory.reservation.eventReservation.ISearchConditions, 'bookingFrom' | 'bookingThrough' | 'ids' | 'reservationNumbers' | 'reservationStatuses' | 'attended' | 'checkedIn'> & {
11
+ additionalTicketText?: string;
12
+ broker?: {
13
+ id?: string;
14
+ };
15
+ underName?: {
16
+ email?: {
17
+ $regex?: string;
18
+ };
19
+ telephone?: string;
20
+ givenName?: {
21
+ $regex?: string;
22
+ };
23
+ familyName?: {
24
+ $regex?: string;
25
+ };
26
+ };
27
+ reservationFor?: Pick<factory.reservation.eventReservation.IReservationForSearchConditions, 'startFrom' | 'startThrough' | 'ids'> & {
28
+ id?: string;
29
+ location?: {
30
+ branchCodes?: string[];
31
+ };
32
+ superEvent?: {
33
+ id?: string;
34
+ location?: {
35
+ ids?: string[];
36
+ branchCodes?: string[];
37
+ };
38
+ workPerformed?: {
39
+ identifiers?: string[];
40
+ };
41
+ };
42
+ };
43
+ reservedTicket?: {
44
+ ticketedSeat?: {
45
+ seatNumbers?: string[];
46
+ };
47
+ };
48
+ };
12
49
  /**
13
50
  * 予約サービス
14
51
  */
@@ -16,7 +53,8 @@ export declare class ReservationService extends Service {
16
53
  /**
17
54
  * 予約検索
18
55
  */
19
- find(params: Omit<factory.reservation.eventReservation.ISearchConditions, 'project' | 'provider'> & IProjectionSearchConditions & {
56
+ findReservations(params: IFindParams & {
57
+ $projection?: never;
20
58
  /**
21
59
  * min: 1
22
60
  * max: 20
@@ -10,7 +10,7 @@ class ReservationService extends service_1.Service {
10
10
  /**
11
11
  * 予約検索
12
12
  */
13
- async find(params) {
13
+ async findReservations(params) {
14
14
  return this.fetch({
15
15
  uri: '/reservations',
16
16
  method: 'GET',
@@ -1,11 +1,11 @@
1
1
  import { factory } from '../factory';
2
- import { ISearchResult, Service } from '../service';
2
+ import { Service } from '../service';
3
+ type IFindParams = Pick<factory.report.accountingReport.ISearchConditions, 'limit' | 'order' | 'page'>;
4
+ type IReportAsFindResult = factory.report.accountingReport.IReport;
3
5
  /**
4
6
  * 経理レポートサービス
5
7
  */
6
8
  export declare class AccountingReportService extends Service {
7
- /**
8
- * 検索
9
- */
10
- search(params: Omit<factory.report.accountingReport.ISearchConditions, 'project'>): Promise<ISearchResult<factory.report.accountingReport.IReport[]>>;
9
+ findAccountingReports(params: IFindParams): Promise<IReportAsFindResult[]>;
11
10
  }
11
+ export {};
@@ -7,21 +7,14 @@ const service_1 = require("../service");
7
7
  * 経理レポートサービス
8
8
  */
9
9
  class AccountingReportService extends service_1.Service {
10
- /**
11
- * 検索
12
- */
13
- async search(params) {
10
+ async findAccountingReports(params) {
14
11
  return this.fetch({
15
12
  uri: '/accountingReports',
16
13
  method: 'GET',
17
14
  qs: params,
18
15
  expectedStatusCodes: [http_status_1.status.OK]
19
16
  })
20
- .then(async (response) => {
21
- return {
22
- data: await response.json()
23
- };
24
- });
17
+ .then(async (response) => response.json());
25
18
  }
26
19
  }
27
20
  exports.AccountingReportService = AccountingReportService;
@@ -4,59 +4,22 @@ import { ISearchResult, Service } from '../service';
4
4
  * IAMサービス
5
5
  */
6
6
  export declare class IAMService extends Service {
7
- /**
8
- * ユーザー検索
9
- */
10
- searchUsers(params: {
11
- id?: string;
12
- username?: string;
13
- email?: string;
14
- telephone?: string;
15
- givenName?: string;
16
- familyName?: string;
17
- }): Promise<ISearchResult<factory.person.IPerson[]>>;
18
- /**
19
- * ユーザー取得
20
- */
21
- findUserById(params: {
22
- id: string;
23
- }): Promise<factory.person.IPerson>;
24
- /**
25
- * プロフィール検索
26
- */
27
- getUserProfile(params: {
28
- id: string;
29
- }): Promise<factory.person.IProfile>;
30
- /**
31
- * プロフィール更新
32
- */
33
- updateUserProfile(params: factory.person.IProfile & {
34
- id: string;
35
- }): Promise<void>;
36
7
  /**
37
8
  * IAMロール検索
38
9
  */
39
- projectRoles(params: factory.role.organizationRole.ISearchConditions): Promise<factory.role.organizationRole.IRole[]>;
10
+ findRoles(params: factory.role.organizationRole.ISearchConditions): Promise<factory.role.organizationRole.IRole[]>;
40
11
  /**
41
12
  * IAMメンバー作成
42
13
  */
43
- createMember(params: factory.iam.IMember[]): Promise<void>;
14
+ addProjectMember(params: factory.iam.IMember[]): Promise<void>;
44
15
  /**
45
16
  * IAMプロジェクトメンバー検索
46
17
  */
47
- searchProjectMembers(params: factory.iam.ISearchConditions): Promise<ISearchResult<factory.iam.IMember[]>>;
48
- /**
49
- * IAMメンバー取得
50
- */
51
- findMemberById(params: {
52
- member: {
53
- id: string;
54
- };
55
- }): Promise<factory.iam.IMember>;
18
+ findProjectMembers(params: factory.iam.ISearchConditions): Promise<factory.iam.IMember[]>;
56
19
  /**
57
20
  * IAMメンバー更新
58
21
  */
59
- updateMember(params: {
22
+ updateProjectMember(params: {
60
23
  member: {
61
24
  id: string;
62
25
  hasRole: {
@@ -71,27 +34,11 @@ export declare class IAMService extends Service {
71
34
  /**
72
35
  * IAMメンバー削除
73
36
  */
74
- deleteMember(params: {
37
+ deleteProjectMember(params: {
75
38
  member: {
76
39
  id: string;
77
40
  };
78
41
  }): Promise<void>;
79
- /**
80
- * IAMメンバープロフィール検索
81
- */
82
- getMemberProfile(params: {
83
- member: {
84
- id: string;
85
- };
86
- }): Promise<factory.person.IProfile>;
87
- /**
88
- * IAMメンバープロフィール更新
89
- */
90
- updateMemberProfile(params: {
91
- member: factory.person.IProfile & {
92
- id: string;
93
- };
94
- }): Promise<void>;
95
42
  /**
96
43
  * カスタマーメンバー検索
97
44
  * project.id:*を含む
@@ -114,4 +61,8 @@ export declare class IAMService extends Service {
114
61
  }): Promise<ISearchResult<{
115
62
  member: Pick<factory.iam.IMemberOfRole, 'hasRole' | 'id' | 'name' | 'memberOf'>;
116
63
  }[]>>;
64
+ /**
65
+ * プロジェクトメンバーとしてのme(リクエストユーザー自身)を参照する
66
+ */
67
+ findMeAsProjectMember(): Promise<factory.iam.IMember>;
117
68
  }
@@ -7,60 +7,10 @@ const service_1 = require("../service");
7
7
  * IAMサービス
8
8
  */
9
9
  class IAMService extends service_1.Service {
10
- /**
11
- * ユーザー検索
12
- */
13
- async searchUsers(params) {
14
- return this.fetch({
15
- uri: '/iam/users',
16
- method: 'GET',
17
- qs: params,
18
- expectedStatusCodes: [http_status_1.status.OK]
19
- })
20
- .then(async (response) => {
21
- return {
22
- data: await response.json()
23
- };
24
- });
25
- }
26
- /**
27
- * ユーザー取得
28
- */
29
- async findUserById(params) {
30
- return this.fetch({
31
- uri: `/iam/users/${params.id}`,
32
- method: 'GET',
33
- expectedStatusCodes: [http_status_1.status.OK]
34
- })
35
- .then(async (response) => response.json());
36
- }
37
- /**
38
- * プロフィール検索
39
- */
40
- async getUserProfile(params) {
41
- return this.fetch({
42
- uri: `/iam/users/${params.id}/profile`,
43
- method: 'GET',
44
- expectedStatusCodes: [http_status_1.status.OK]
45
- })
46
- .then(async (response) => response.json());
47
- }
48
- /**
49
- * プロフィール更新
50
- */
51
- async updateUserProfile(params) {
52
- const { id, ...query } = params; // eslint-disable-line @typescript-eslint/no-unused-vars
53
- await this.fetch({
54
- uri: `/iam/users/${params.id}/profile`,
55
- method: 'PATCH',
56
- body: query,
57
- expectedStatusCodes: [http_status_1.status.NO_CONTENT]
58
- });
59
- }
60
10
  /**
61
11
  * IAMロール検索
62
12
  */
63
- async projectRoles(params) {
13
+ async findRoles(params) {
64
14
  return this.fetch({
65
15
  uri: '/iam/roles',
66
16
  method: 'GET',
@@ -72,7 +22,7 @@ class IAMService extends service_1.Service {
72
22
  /**
73
23
  * IAMメンバー作成
74
24
  */
75
- async createMember(params) {
25
+ async addProjectMember(params) {
76
26
  await this.fetch({
77
27
  uri: '/iam/members',
78
28
  method: 'POST',
@@ -83,34 +33,19 @@ class IAMService extends service_1.Service {
83
33
  /**
84
34
  * IAMプロジェクトメンバー検索
85
35
  */
86
- async searchProjectMembers(params) {
36
+ async findProjectMembers(params) {
87
37
  return this.fetch({
88
38
  uri: '/iam/members',
89
39
  method: 'GET',
90
40
  qs: params,
91
41
  expectedStatusCodes: [http_status_1.status.OK]
92
- })
93
- .then(async (response) => {
94
- return {
95
- data: await response.json()
96
- };
97
- });
98
- }
99
- /**
100
- * IAMメンバー取得
101
- */
102
- async findMemberById(params) {
103
- return this.fetch({
104
- uri: `/iam/members/${params.member.id}`,
105
- method: 'GET',
106
- expectedStatusCodes: [http_status_1.status.OK]
107
42
  })
108
43
  .then(async (response) => response.json());
109
44
  }
110
45
  /**
111
46
  * IAMメンバー更新
112
47
  */
113
- async updateMember(params) {
48
+ async updateProjectMember(params) {
114
49
  await this.fetch({
115
50
  uri: `/iam/members/${params.member.id}`,
116
51
  method: 'PUT',
@@ -121,35 +56,13 @@ class IAMService extends service_1.Service {
121
56
  /**
122
57
  * IAMメンバー削除
123
58
  */
124
- async deleteMember(params) {
59
+ async deleteProjectMember(params) {
125
60
  await this.fetch({
126
61
  uri: `/iam/members/${params.member.id}`,
127
62
  method: 'DELETE',
128
63
  expectedStatusCodes: [http_status_1.status.NO_CONTENT]
129
64
  });
130
65
  }
131
- /**
132
- * IAMメンバープロフィール検索
133
- */
134
- async getMemberProfile(params) {
135
- return this.fetch({
136
- uri: `/iam/members/${params.member.id}/profile`,
137
- method: 'GET',
138
- expectedStatusCodes: [http_status_1.status.OK]
139
- })
140
- .then(async (response) => response.json());
141
- }
142
- /**
143
- * IAMメンバープロフィール更新
144
- */
145
- async updateMemberProfile(params) {
146
- await this.fetch({
147
- uri: `/iam/members/${params.member.id}/profile`,
148
- method: 'PATCH',
149
- body: params.member,
150
- expectedStatusCodes: [http_status_1.status.NO_CONTENT]
151
- });
152
- }
153
66
  /**
154
67
  * カスタマーメンバー検索
155
68
  * project.id:*を含む
@@ -167,5 +80,16 @@ class IAMService extends service_1.Service {
167
80
  };
168
81
  });
169
82
  }
83
+ /**
84
+ * プロジェクトメンバーとしてのme(リクエストユーザー自身)を参照する
85
+ */
86
+ async findMeAsProjectMember() {
87
+ return this.fetch({
88
+ uri: '/iam/members/me',
89
+ method: 'GET',
90
+ expectedStatusCodes: [http_status_1.status.OK]
91
+ })
92
+ .then(async (response) => response.json());
93
+ }
170
94
  }
171
95
  exports.IAMService = IAMService;
@@ -49,38 +49,6 @@ class OfferCatalogService extends service_1.Service {
49
49
  // expectedStatusCodes: [status.NO_CONTENT]
50
50
  // });
51
51
  // }
52
- // discontinue(2026-02-05~)
53
- // /**
54
- // * IDリストでカタログ複数編集
55
- // * 要素のpush,pullを同時指定した場合400
56
- // */
57
- // public async updateManyOfferCatalogsByIds(
58
- // params: {
59
- // id: { $in: string[] };
60
- // $push: {
61
- // itemListElement: {
62
- // $each: factory.offerCatalog.IItemListElementAsAggregateOffer[];
63
- // };
64
- // };
65
- // $pull: {
66
- // itemListElement: {
67
- // $elemMatch: { id: { $in: string[] } };
68
- // };
69
- // };
70
- // },
71
- // options: {
72
- // itemOfferedTypeOf: factory.product.ProductType; // required(2025-10-16~)
73
- // }
74
- // ): Promise<void> {
75
- // const { itemOfferedTypeOf } = options;
76
- // await this.fetch({
77
- // uri: `/offerCatalogs`,
78
- // method: 'PATCH',
79
- // body: params,
80
- // qs: { itemOfferedTypeOf },
81
- // expectedStatusCodes: [status.NO_CONTENT]
82
- // });
83
- // }
84
52
  /**
85
53
  * カタログ削除
86
54
  */
@@ -29,28 +29,6 @@ export declare class OfferCatalogItemService extends Service {
29
29
  update(params: factory.offerCatalog.IUpdateOfferCatalogItemParams & {
30
30
  id: string;
31
31
  }): Promise<void>;
32
- /**
33
- * サブカタログ複数編集
34
- */
35
- updateMany(params: {
36
- id: {
37
- $in: string[];
38
- };
39
- $push: {
40
- itemListElement: {
41
- $each: factory.offerCatalog.IItemListElement[];
42
- };
43
- };
44
- $pull: {
45
- itemListElement: {
46
- $elemMatch: {
47
- id: {
48
- $in: string[];
49
- };
50
- };
51
- };
52
- };
53
- }): Promise<void>;
54
32
  deleteById(params: {
55
33
  id: string;
56
34
  }): Promise<void>;
@@ -33,17 +33,6 @@ class OfferCatalogItemService extends service_1.Service {
33
33
  expectedStatusCodes: [http_status_1.status.NO_CONTENT]
34
34
  });
35
35
  }
36
- /**
37
- * サブカタログ複数編集
38
- */
39
- async updateMany(params) {
40
- await this.fetch({
41
- uri: `/offerCatalogItems`,
42
- method: 'PATCH',
43
- body: params,
44
- expectedStatusCodes: [http_status_1.status.NO_CONTENT]
45
- });
46
- }
47
36
  async deleteById(params) {
48
37
  await this.fetch({
49
38
  uri: `/offerCatalogItems/${encodeURIComponent(String(params.id))}`,
@@ -1,23 +1,109 @@
1
1
  import { factory } from '../../factory';
2
+ type IKeyOfProjection = keyof factory.order.IOrder | '_id';
3
+ /**
4
+ * 注文検索時projection
5
+ */
6
+ export type IProjection = Partial<Record<IKeyOfProjection, 1>>;
2
7
  /**
3
8
  * オファー展開の検索結果としての注文
4
9
  */
5
- export type IOrderAsSearchWithUnwindAcceptedOffersResult = Pick<factory.order.IOrder, 'confirmationNumber' | 'customer' | 'dateReturned' | 'orderDate' | 'orderNumber' | 'orderStatus' | 'paymentMethods' | 'price' | 'priceCurrency' | 'project' | 'seller'> & {
6
- acceptedOffers?: factory.order.IAcceptedOffer[];
10
+ export type IOrderAsFindAcceptedOffersResult = Pick<factory.order.IOrder, 'confirmationNumber' | 'customer' | 'dateReturned' | 'orderDate' | 'orderNumber' | 'orderStatus' | 'paymentMethods' | 'price' | 'priceCurrency' | 'seller'> & {
11
+ acceptedOffers?: [factory.order.IAcceptedOffer];
7
12
  };
8
13
  /**
9
14
  * オファー展開しない検索結果としての注文
10
15
  */
11
- export type IOrderAsSearchResult = Pick<factory.order.IOrder, 'broker' | 'confirmationNumber' | 'customer' | 'dateReturned' | 'id' | 'name' | 'orderDate' | 'orderNumber' | 'orderStatus' | 'orderedItem' | 'paymentMethods' | 'previousOrderStatus' | 'price' | 'priceCurrency' | 'project' | 'seller' | 'typeOf'>;
16
+ export type IOrderAsSearchResult = Pick<factory.order.IOrder, 'broker' | 'confirmationNumber' | 'customer' | 'dateReturned' | 'id' | 'name' | 'orderDate' | 'orderNumber' | 'orderStatus' | 'orderedItem' | 'paymentMethods' | 'previousOrderStatus' | 'price' | 'priceCurrency' | 'seller'>;
12
17
  export interface ISearchOrdersOptions {
13
18
  /**
14
19
  * オファーを展開するかどうか
15
20
  */
16
21
  $unwindAcceptedOffers?: '1';
17
22
  }
23
+ /**
24
+ * 管理者による注文検索条件
25
+ */
26
+ export type IFindParams = Pick<factory.order.ISearchConditions, 'confirmationNumbers' | 'name' | 'orderDate' | 'orderNumbers' | 'orderStatuses' | 'sort'> & {
27
+ $projection?: IProjection;
28
+ $projectDisabled?: '1';
29
+ } & ISearchOrdersOptions & {
30
+ /**
31
+ * min: 1
32
+ * max: 20
33
+ */
34
+ limit: number;
35
+ /**
36
+ * min: 1
37
+ */
38
+ page: number;
39
+ customer?: Pick<factory.order.ICustomerSearchConditions, 'identifiers' | 'ids'> & {
40
+ givenName?: {
41
+ $eq?: string;
42
+ $regex?: string;
43
+ };
44
+ familyName?: {
45
+ $eq?: string;
46
+ $regex?: string;
47
+ };
48
+ email?: {
49
+ $eq?: string;
50
+ $regex?: string;
51
+ };
52
+ telephone?: string;
53
+ };
54
+ /**
55
+ * 決済方法
56
+ */
57
+ paymentMethods?: Pick<factory.order.IPaymentMethodsSearchConditions, 'accountIds' | 'paymentMethodIds'> & {
58
+ /**
59
+ * 決済方法区分コード
60
+ */
61
+ typeOfs?: string[];
62
+ /**
63
+ * 追加特性
64
+ */
65
+ additionalProperty?: {
66
+ /**
67
+ * すべてに一致する
68
+ */
69
+ $all?: factory.order.IIdentifier;
70
+ };
71
+ };
72
+ /**
73
+ * オファー
74
+ */
75
+ acceptedOffers?: {
76
+ itemOffered?: {
77
+ /**
78
+ * 予約ID
79
+ */
80
+ ids?: string[];
81
+ /**
82
+ * 予約番号
83
+ */
84
+ reservationNumbers?: string[];
85
+ reservationFor?: Pick<factory.order.IReservationForSearchConditions, 'ids' | 'location' | 'startFrom' | 'startThrough' | 'inSessionFrom' | 'inSessionThrough'> & {
86
+ superEvent?: {
87
+ /**
88
+ * 施設コンテンツID
89
+ */
90
+ ids?: string[];
91
+ /**
92
+ * 施設
93
+ */
94
+ location?: {
95
+ /**
96
+ * 施設コード
97
+ */
98
+ branchCodes?: string[];
99
+ };
100
+ };
101
+ };
102
+ };
103
+ };
104
+ };
18
105
  export type IAcceptedOffer = factory.order.IAcceptedOffer;
19
106
  export type IReturner = Pick<factory.iam.IMemberOfRole, 'typeOf' | 'id' | 'name'>;
20
- export type IExternalOrder = Pick<factory.order.IOrder, 'project' | 'typeOf' | 'seller' | 'customer' | 'confirmationNumber' | 'orderNumber' | 'price' | 'priceCurrency' | 'orderDate' | 'name' | 'orderStatus' | 'orderedItem' | 'paymentMethods'>;
21
107
  export interface IUpdateChangeableAttributesParams {
22
108
  confirmationNumber: string;
23
109
  orderNumber: string;
@@ -26,3 +112,4 @@ export interface IUpdateChangeableAttributesParams {
26
112
  */
27
113
  name?: string;
28
114
  }
115
+ export {};
@@ -1,14 +1,9 @@
1
1
  import { factory } from '../factory';
2
2
  import { Service } from '../service';
3
- import { IExternalOrder } from './order/factory';
4
3
  /**
5
4
  * 注文サービス
6
5
  */
7
6
  export declare class OrderService extends Service {
8
- /**
9
- * 取引なしに作成する
10
- */
11
- createWithoutTransaction(params: IExternalOrder): Promise<IExternalOrder>;
12
7
  /**
13
8
  * 決済取引確定
14
9
  */
@@ -7,18 +7,6 @@ const service_1 = require("../service");
7
7
  * 注文サービス
8
8
  */
9
9
  class OrderService extends service_1.Service {
10
- /**
11
- * 取引なしに作成する
12
- */
13
- async createWithoutTransaction(params) {
14
- return this.fetch({
15
- uri: `/orders`,
16
- method: 'POST',
17
- body: params,
18
- expectedStatusCodes: [http_status_1.status.CREATED]
19
- })
20
- .then(async (response) => response.json());
21
- }
22
10
  /**
23
11
  * 決済取引確定
24
12
  */