endpoints-sdk-cli 2.1.3 → 2.3.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.
- package/README.md +11 -11
- package/lib/classes/Config.js +3 -3
- package/lib/classes/Repository.d.ts +1 -0
- package/lib/classes/Repository.js +8 -7
- package/lib/commands/add.js +2 -1
- package/lib/commands/install.js +8 -7
- package/lib/commands/update.js +6 -5
- package/lib/endpoints/lab.hoge.d.ts +4 -0
- package/lib/endpoints/lab.hoge.js +7 -0
- package/lib/endpoints/lab.hoge.v1.d.ts +123 -0
- package/lib/endpoints/lab.hoge.v1.js +219 -0
- package/lib/endpoints/lab.poyo.d.ts +4 -0
- package/lib/endpoints/lab.poyo.js +7 -0
- package/lib/endpoints/lab.poyo.v1.d.ts +123 -0
- package/lib/endpoints/lab.poyo.v1.js +219 -0
- package/lib/endpoints/m2m-core.js +1 -1
- package/lib/endpoints/m2m-core.v1.d.ts +371 -252
- package/lib/endpoints/m2m-core.v1.js +532 -696
- package/lib/makeFiles.js +8 -7
- package/lib/templates/files/endpoints.js +4 -3
- package/lib/templates/files/indexFile.js +5 -4
- package/lib/templates/functions/endpoint.js +9 -7
- package/lib/templates/functions/root.js +4 -3
- package/lib/utils/camelCase.js +3 -2
- package/lib/utils/format.js +2 -1
- package/lib/utils/unique.js +3 -2
- package/oclif.manifest.json +1 -1
- package/package.json +2 -2
- package/CHANGELOG.md +0 -2618
|
@@ -4,524 +4,643 @@
|
|
|
4
4
|
export declare const root: () => string;
|
|
5
5
|
/**
|
|
6
6
|
* ヘルスチェック
|
|
7
|
+
* @version v1
|
|
7
8
|
*
|
|
8
9
|
*/
|
|
9
10
|
export declare const healthCheck: () => string;
|
|
10
11
|
/**
|
|
11
|
-
*
|
|
12
|
-
*
|
|
12
|
+
* リスティング一覧を取得する
|
|
13
|
+
* @version v1
|
|
14
|
+
* @param {number} page 1
|
|
13
15
|
*/
|
|
14
|
-
export declare const
|
|
16
|
+
export declare const listingIndex: ({ page }: {
|
|
17
|
+
page?: number | undefined;
|
|
18
|
+
}) => string;
|
|
15
19
|
/**
|
|
16
|
-
*
|
|
17
|
-
*
|
|
20
|
+
* リスティングの管理名を取得する
|
|
21
|
+
* @version v1
|
|
22
|
+
* @param {string} listingIds uuid1,uuid2,uuid3
|
|
18
23
|
*/
|
|
19
|
-
export declare const
|
|
20
|
-
|
|
24
|
+
export declare const listingNameForManage: ({ listingIds }: {
|
|
25
|
+
listingIds?: string | undefined;
|
|
21
26
|
}) => string;
|
|
22
27
|
/**
|
|
23
|
-
*
|
|
24
|
-
*
|
|
28
|
+
* リスティング名を取得する
|
|
29
|
+
* @version v1
|
|
30
|
+
* @param {string} listingIds uuid1,uuid2,uuid3
|
|
25
31
|
*/
|
|
26
|
-
export declare const
|
|
32
|
+
export declare const listingName: ({ listingIds }: {
|
|
33
|
+
listingIds?: string | undefined;
|
|
34
|
+
}) => string;
|
|
27
35
|
/**
|
|
28
|
-
*
|
|
29
|
-
*
|
|
36
|
+
* 集客ユーザが利用可能なリスティングを検索する
|
|
37
|
+
* @version v1
|
|
38
|
+
* @param {number} page 2
|
|
39
|
+
* @param {string} startDate 2006-01-02
|
|
40
|
+
* @param {string} endDate 2007-01-02
|
|
41
|
+
* @param {number} lat 34
|
|
42
|
+
* @param {number} lng 52
|
|
30
43
|
*/
|
|
31
|
-
export declare const
|
|
44
|
+
export declare const listingSearchByAgency: ({ page, startDate, endDate, lat, lng }: {
|
|
45
|
+
page?: number | undefined;
|
|
46
|
+
startDate?: string | undefined;
|
|
47
|
+
endDate?: string | undefined;
|
|
48
|
+
lat?: number | undefined;
|
|
49
|
+
lng?: number | undefined;
|
|
50
|
+
}) => string;
|
|
32
51
|
/**
|
|
33
|
-
*
|
|
34
|
-
*
|
|
52
|
+
* 集客ユーザが利用可能なリスティングを期間指定で検索する
|
|
53
|
+
* @version v1
|
|
54
|
+
* @param {number} page 2
|
|
55
|
+
* @param {string} startDate 2006-01-02
|
|
56
|
+
* @param {string} endDate 2007-01-02
|
|
57
|
+
* @param {number} lat 34.5678
|
|
58
|
+
* @param {number} lng 52.1234
|
|
35
59
|
*/
|
|
36
|
-
export declare const
|
|
37
|
-
|
|
60
|
+
export declare const listingSearchByAgencyWithSpan: ({ page, startDate, endDate, lat, lng }: {
|
|
61
|
+
page?: number | undefined;
|
|
62
|
+
startDate: string;
|
|
63
|
+
endDate: string;
|
|
64
|
+
lat?: number | undefined;
|
|
65
|
+
lng?: number | undefined;
|
|
38
66
|
}) => string;
|
|
39
67
|
/**
|
|
40
|
-
*
|
|
41
|
-
*
|
|
68
|
+
* 管理業者が自身のリスティングの一覧を取得する(クライアントサイドで呼び出すのをやめたら廃止する
|
|
69
|
+
* @version v1
|
|
70
|
+
* @param {number} page 2
|
|
42
71
|
*/
|
|
43
|
-
export declare const
|
|
44
|
-
|
|
72
|
+
export declare const listingSearchByCompanyOld: ({ page, startDate, endDate, status }: {
|
|
73
|
+
page?: number | undefined;
|
|
74
|
+
startDate: string;
|
|
75
|
+
endDate: string;
|
|
76
|
+
status: string;
|
|
45
77
|
}) => string;
|
|
46
78
|
/**
|
|
47
|
-
*
|
|
48
|
-
*
|
|
79
|
+
* 管理業者が自身のリスティングの一覧を取得する
|
|
80
|
+
* @version v1
|
|
81
|
+
* @param {number} page 2
|
|
82
|
+
* @param {string} startDate 2006-01-02
|
|
83
|
+
* @param {string} endDate 2007-01-02
|
|
84
|
+
* @param {string} status Open
|
|
49
85
|
*/
|
|
50
|
-
export declare const
|
|
51
|
-
|
|
86
|
+
export declare const listingSearchByCompany: ({ page, startDate, endDate, status }: {
|
|
87
|
+
page?: number | undefined;
|
|
88
|
+
startDate?: string | undefined;
|
|
89
|
+
endDate?: string | undefined;
|
|
90
|
+
status?: string | undefined;
|
|
52
91
|
}) => string;
|
|
53
92
|
/**
|
|
54
|
-
*
|
|
93
|
+
* 管理名であいまい検索する
|
|
94
|
+
* @version v1
|
|
95
|
+
* @param {number} page 2
|
|
96
|
+
*/
|
|
97
|
+
export declare const listingSearchByCompanyWithNameForManage: ({ page, nameForManage }: {
|
|
98
|
+
page?: number | undefined;
|
|
99
|
+
nameForManage: string;
|
|
100
|
+
}) => string;
|
|
101
|
+
/**
|
|
102
|
+
* リスティングの位置情報を取得する
|
|
103
|
+
* @version v1
|
|
55
104
|
*
|
|
56
105
|
*/
|
|
57
|
-
export declare const
|
|
58
|
-
|
|
106
|
+
export declare const listingLocation: ({ areaString }: {
|
|
107
|
+
areaString: string;
|
|
59
108
|
}) => string;
|
|
60
109
|
/**
|
|
61
|
-
*
|
|
110
|
+
* リスティング詳細の取得
|
|
111
|
+
* @version v1
|
|
62
112
|
*
|
|
63
113
|
*/
|
|
64
|
-
export declare const
|
|
114
|
+
export declare const listingDetail: ({ id }: {
|
|
65
115
|
id: string;
|
|
66
116
|
}) => string;
|
|
67
117
|
/**
|
|
68
|
-
*
|
|
118
|
+
* 集客ユーザ向けのリスティング詳細を取得する
|
|
119
|
+
* @version v1
|
|
69
120
|
*
|
|
70
121
|
*/
|
|
71
|
-
export declare const
|
|
122
|
+
export declare const listingDetailForAgency: ({ id }: {
|
|
72
123
|
id: string;
|
|
73
124
|
}) => string;
|
|
74
125
|
/**
|
|
75
|
-
*
|
|
126
|
+
* 指定したリスティングの指定期間のうち利用不可能な日付の一覧を取得する
|
|
127
|
+
* @version v1
|
|
76
128
|
*
|
|
77
129
|
*/
|
|
78
|
-
export declare const
|
|
130
|
+
export declare const listingUnavailableDays: ({ id, startDate, endDate }: {
|
|
79
131
|
id: string;
|
|
132
|
+
startDate: string;
|
|
133
|
+
endDate: string;
|
|
80
134
|
}) => string;
|
|
81
135
|
/**
|
|
82
|
-
*
|
|
136
|
+
* OTA上のIDで指定したリスティングについて、利用可能かどうかを取得する
|
|
137
|
+
* @version v1
|
|
83
138
|
*
|
|
84
139
|
*/
|
|
85
|
-
export declare const
|
|
86
|
-
|
|
140
|
+
export declare const listingAvailabilityByOta: ({ otaType, otaId, startDate, endDate }: {
|
|
141
|
+
otaType: string;
|
|
142
|
+
otaId: string;
|
|
143
|
+
startDate: string;
|
|
144
|
+
endDate: string;
|
|
87
145
|
}) => string;
|
|
88
146
|
/**
|
|
89
|
-
*
|
|
147
|
+
* 指定したリスティングの指定期間の価格を取得する
|
|
148
|
+
* @version v1
|
|
90
149
|
*
|
|
91
150
|
*/
|
|
92
|
-
export declare const
|
|
151
|
+
export declare const listingPricing: ({ id, companyId, startDate, endDate, guestsCount }: {
|
|
93
152
|
id: string;
|
|
153
|
+
companyId: string;
|
|
154
|
+
startDate: string;
|
|
155
|
+
endDate: string;
|
|
156
|
+
guestsCount: string;
|
|
94
157
|
}) => string;
|
|
95
158
|
/**
|
|
96
|
-
*
|
|
97
|
-
*
|
|
159
|
+
* OTA上のリスティング情報を取得する
|
|
160
|
+
* @version v1
|
|
161
|
+
* @param {string} otaURLString https://www.airbnb.jp/rooms/12345678
|
|
98
162
|
*/
|
|
99
|
-
export declare const
|
|
163
|
+
export declare const listingSearchOtaListing: ({ otaURLString }: {
|
|
164
|
+
otaURLString?: string | undefined;
|
|
165
|
+
}) => string;
|
|
100
166
|
/**
|
|
101
|
-
*
|
|
167
|
+
* リスティングを新規作成する
|
|
168
|
+
* @version v1
|
|
102
169
|
*
|
|
103
170
|
*/
|
|
104
|
-
export declare const
|
|
171
|
+
export declare const listingCreate: () => string;
|
|
105
172
|
/**
|
|
106
|
-
*
|
|
173
|
+
* リスティングを更新する
|
|
174
|
+
* @version v1
|
|
107
175
|
*
|
|
108
176
|
*/
|
|
109
|
-
export declare const
|
|
177
|
+
export declare const listingUpdate: ({ id }: {
|
|
110
178
|
id: string;
|
|
111
179
|
}) => string;
|
|
112
180
|
/**
|
|
113
|
-
*
|
|
181
|
+
* リスティングを削除する
|
|
182
|
+
* @version v1
|
|
114
183
|
*
|
|
115
184
|
*/
|
|
116
|
-
export declare const
|
|
185
|
+
export declare const listingDelete: ({ id }: {
|
|
186
|
+
id: string;
|
|
187
|
+
}) => string;
|
|
117
188
|
/**
|
|
118
|
-
*
|
|
189
|
+
* カレンダー情報を更新する
|
|
190
|
+
* @version v1
|
|
119
191
|
*
|
|
120
192
|
*/
|
|
121
|
-
export declare const
|
|
193
|
+
export declare const listingCalendar: ({ id }: {
|
|
122
194
|
id: string;
|
|
123
195
|
}) => string;
|
|
124
196
|
/**
|
|
125
|
-
*
|
|
197
|
+
* 指定したリスティングを連携する
|
|
198
|
+
* @version v1
|
|
126
199
|
*
|
|
127
200
|
*/
|
|
128
|
-
export declare const
|
|
201
|
+
export declare const listingAssociateToOta: ({ id }: {
|
|
129
202
|
id: string;
|
|
130
203
|
}) => string;
|
|
131
204
|
/**
|
|
132
|
-
*
|
|
205
|
+
* 指定したリスティングの連携を解除する
|
|
206
|
+
* @version v1
|
|
133
207
|
*
|
|
134
208
|
*/
|
|
135
|
-
export declare const
|
|
209
|
+
export declare const listingDetachFromOta: ({ id }: {
|
|
210
|
+
id: string;
|
|
211
|
+
}) => string;
|
|
136
212
|
/**
|
|
137
|
-
*
|
|
213
|
+
* リスティングの日毎の費用を更新する
|
|
214
|
+
* @version v1
|
|
138
215
|
*
|
|
139
216
|
*/
|
|
140
|
-
export declare const
|
|
141
|
-
|
|
142
|
-
* カスタム自動価格調整ポリシーの一覧を取得する
|
|
143
|
-
* @param {number} page 3
|
|
144
|
-
*/
|
|
145
|
-
export declare const autoPricingPolicyList: ({ page }: {
|
|
146
|
-
page?: number | undefined;
|
|
217
|
+
export declare const listingUpdateDailyCost: ({ id }: {
|
|
218
|
+
id: string;
|
|
147
219
|
}) => string;
|
|
148
220
|
/**
|
|
149
|
-
*
|
|
221
|
+
* リスティングの初期費用を更新する
|
|
222
|
+
* @version v1
|
|
150
223
|
*
|
|
151
224
|
*/
|
|
152
|
-
export declare const
|
|
225
|
+
export declare const listingUpdateInitialCost: ({ id }: {
|
|
153
226
|
id: string;
|
|
154
227
|
}) => string;
|
|
155
228
|
/**
|
|
156
|
-
*
|
|
229
|
+
* リスティングのその他費用を更新する
|
|
230
|
+
* @version v1
|
|
157
231
|
*
|
|
158
232
|
*/
|
|
159
|
-
export declare const
|
|
233
|
+
export declare const listingUpdateOtherPayment: ({ id }: {
|
|
160
234
|
id: string;
|
|
161
235
|
}) => string;
|
|
162
236
|
/**
|
|
163
|
-
*
|
|
237
|
+
* リスティングのベッド情報を更新する
|
|
238
|
+
* @version v1
|
|
164
239
|
*
|
|
165
240
|
*/
|
|
166
|
-
export declare const
|
|
241
|
+
export declare const listingUpdateBedding: ({ id }: {
|
|
167
242
|
id: string;
|
|
168
243
|
}) => string;
|
|
169
244
|
/**
|
|
170
|
-
*
|
|
245
|
+
* リスティングのopen/close状況を更新する
|
|
246
|
+
* @version v1
|
|
171
247
|
*
|
|
172
248
|
*/
|
|
173
|
-
export declare const
|
|
249
|
+
export declare const listingUpdateStatus: ({ id }: {
|
|
250
|
+
id: string;
|
|
251
|
+
}) => string;
|
|
174
252
|
/**
|
|
175
|
-
*
|
|
253
|
+
* リスティングに画像を追加する
|
|
254
|
+
* @version v1
|
|
176
255
|
*
|
|
177
256
|
*/
|
|
178
|
-
export declare const
|
|
257
|
+
export declare const listingAddImage: ({ id }: {
|
|
179
258
|
id: string;
|
|
180
259
|
}) => string;
|
|
181
260
|
/**
|
|
182
|
-
*
|
|
261
|
+
* リスティングから指定した画像を削除する:
|
|
262
|
+
* @version v1
|
|
183
263
|
*
|
|
184
264
|
*/
|
|
185
|
-
export declare const
|
|
265
|
+
export declare const listingDeleteImage: ({ id, imgId }: {
|
|
186
266
|
id: string;
|
|
267
|
+
imgId: string;
|
|
187
268
|
}) => string;
|
|
188
269
|
/**
|
|
189
|
-
*
|
|
270
|
+
* リスティングのサムネイルを更新する
|
|
271
|
+
* @version v1
|
|
190
272
|
*
|
|
191
273
|
*/
|
|
192
|
-
export declare const
|
|
274
|
+
export declare const listingUploadThumbnail: ({ id }: {
|
|
193
275
|
id: string;
|
|
194
276
|
}) => string;
|
|
195
277
|
/**
|
|
196
|
-
*
|
|
278
|
+
* リスティングの間取り図画像を更新する
|
|
279
|
+
* @version v1
|
|
197
280
|
*
|
|
198
281
|
*/
|
|
199
|
-
export declare const
|
|
282
|
+
export declare const listingUploadLayoutImage: ({ id }: {
|
|
200
283
|
id: string;
|
|
201
284
|
}) => string;
|
|
202
285
|
/**
|
|
203
|
-
*
|
|
286
|
+
* 物件個別に設定されたすべての自動価格設定関連情報を取得する
|
|
287
|
+
* @version v1
|
|
204
288
|
*
|
|
205
289
|
*/
|
|
206
|
-
export declare const
|
|
290
|
+
export declare const listingGetAutoPricingSetting: ({ id }: {
|
|
207
291
|
id: string;
|
|
208
|
-
otaType: string;
|
|
209
|
-
otaId: string;
|
|
210
292
|
}) => string;
|
|
211
293
|
/**
|
|
212
|
-
*
|
|
294
|
+
* 物件個別に設定されたすべての自動価格設定関連情報を更新する
|
|
295
|
+
* @version v1
|
|
213
296
|
*
|
|
214
297
|
*/
|
|
215
|
-
export declare const
|
|
298
|
+
export declare const listingUpdateAutoPricingSetting: ({ id }: {
|
|
216
299
|
id: string;
|
|
217
|
-
proprietaryId: string;
|
|
218
300
|
}) => string;
|
|
219
301
|
/**
|
|
220
|
-
*
|
|
302
|
+
* 自動価格設定により設定される価格のプレビューを取得する
|
|
303
|
+
* @version v1
|
|
221
304
|
*
|
|
222
305
|
*/
|
|
223
|
-
export declare const
|
|
306
|
+
export declare const listingAutoPricingPricing: ({ id }: {
|
|
224
307
|
id: string;
|
|
225
308
|
}) => string;
|
|
226
309
|
/**
|
|
227
|
-
*
|
|
310
|
+
* 自動価格設定により設定される価格のプレビューを、設定を保存せずに取得する
|
|
311
|
+
* @version v1
|
|
228
312
|
*
|
|
229
313
|
*/
|
|
230
|
-
export declare const
|
|
314
|
+
export declare const listingAutoPricingPricingWithoutSave: ({ id }: {
|
|
231
315
|
id: string;
|
|
232
316
|
}) => string;
|
|
233
317
|
/**
|
|
234
|
-
*
|
|
318
|
+
* 管理業者が外部サイト等の予約を手動で入力する場合に使用する
|
|
319
|
+
* @version v1
|
|
235
320
|
*
|
|
236
321
|
*/
|
|
237
|
-
export declare const
|
|
238
|
-
|
|
239
|
-
|
|
322
|
+
export declare const inquiryCreateByCompany: () => string;
|
|
323
|
+
/**
|
|
324
|
+
* 集客ユーザからの問い合わせを行う
|
|
325
|
+
* @version v1
|
|
326
|
+
*
|
|
327
|
+
*/
|
|
328
|
+
export declare const inquiryCreateByAgency: () => string;
|
|
240
329
|
/**
|
|
241
|
-
*
|
|
330
|
+
* 集客ユーザからの問い合わせを管理業者が更新する(ステータスとメモのみ)
|
|
331
|
+
* @version v1
|
|
242
332
|
*
|
|
243
333
|
*/
|
|
244
|
-
export declare const
|
|
334
|
+
export declare const inquiryUpdateByCompany: ({ id }: {
|
|
245
335
|
id: string;
|
|
246
336
|
}) => string;
|
|
247
337
|
/**
|
|
248
|
-
*
|
|
249
|
-
* @
|
|
250
|
-
*
|
|
338
|
+
* 問い合わせを更新する
|
|
339
|
+
* @version v1
|
|
340
|
+
*
|
|
251
341
|
*/
|
|
252
|
-
export declare const
|
|
253
|
-
startDate?: string | undefined;
|
|
254
|
-
endDate?: string | undefined;
|
|
342
|
+
export declare const inquiryUpdateManually: ({ id }: {
|
|
255
343
|
id: string;
|
|
256
344
|
}) => string;
|
|
257
345
|
/**
|
|
258
|
-
*
|
|
346
|
+
* 集客ユーザが自身の問い合わせを更新する(メモのみ)
|
|
347
|
+
* @version v1
|
|
259
348
|
*
|
|
260
349
|
*/
|
|
261
|
-
export declare const
|
|
262
|
-
|
|
350
|
+
export declare const inquiryUpdateByAgency: ({ id }: {
|
|
351
|
+
id: string;
|
|
263
352
|
}) => string;
|
|
264
353
|
/**
|
|
265
|
-
*
|
|
266
|
-
* @
|
|
267
|
-
* @param {number}
|
|
268
|
-
* @param {string} nameQuery hoge
|
|
269
|
-
* @param {string} startDate 2020-10-01
|
|
270
|
-
* @param {string} endDate 2020-11-30
|
|
271
|
-
* @param {string} tokenId foo
|
|
272
|
-
* @param {string} token bar
|
|
354
|
+
* 管理業者が自身に対する問い合わせの一覧を取得する
|
|
355
|
+
* @version v1
|
|
356
|
+
* @param {number} page 2
|
|
273
357
|
*/
|
|
274
|
-
export declare const
|
|
358
|
+
export declare const inquiryCompany: ({ page }: {
|
|
275
359
|
page?: number | undefined;
|
|
276
|
-
itemNum?: number | undefined;
|
|
277
|
-
nameQuery?: string | undefined;
|
|
278
|
-
startDate?: string | undefined;
|
|
279
|
-
endDate?: string | undefined;
|
|
280
|
-
tokenId?: string | undefined;
|
|
281
|
-
token?: string | undefined;
|
|
282
360
|
}) => string;
|
|
283
361
|
/**
|
|
284
|
-
*
|
|
362
|
+
* 管理業者が自身に対する個別の問い合わせを取得する
|
|
363
|
+
* @version v1
|
|
285
364
|
*
|
|
286
365
|
*/
|
|
287
|
-
export declare const
|
|
288
|
-
/**
|
|
289
|
-
* リスティングの予約をインポートする
|
|
290
|
-
*
|
|
291
|
-
*/
|
|
292
|
-
export declare const importListingReservations: ({ id }: {
|
|
366
|
+
export declare const inquiryDetailByCompany: ({ id }: {
|
|
293
367
|
id: string;
|
|
294
368
|
}) => string;
|
|
295
369
|
/**
|
|
296
|
-
*
|
|
297
|
-
*
|
|
298
|
-
|
|
299
|
-
export declare const importOperationType: () => string;
|
|
300
|
-
/**
|
|
301
|
-
* 割り当て失敗予約の一覧を取得する
|
|
302
|
-
*
|
|
370
|
+
* 管理業者が自身に対する問い合わせのうち指定したステータスのものの一覧を取得する
|
|
371
|
+
* @version v1
|
|
372
|
+
* @param {number} page 2
|
|
303
373
|
*/
|
|
304
|
-
export declare const
|
|
374
|
+
export declare const inquiryCompanyByStatus: ({ page, status }: {
|
|
375
|
+
page?: number | undefined;
|
|
376
|
+
status: string;
|
|
377
|
+
}) => string;
|
|
305
378
|
/**
|
|
306
|
-
*
|
|
307
|
-
*
|
|
379
|
+
* 集客ユーザが自身による問い合わせの一覧を取得する
|
|
380
|
+
* @version v1
|
|
381
|
+
* @param {number} page 2
|
|
382
|
+
* @param {string} status ContractCompleted
|
|
308
383
|
*/
|
|
309
|
-
export declare const
|
|
310
|
-
|
|
384
|
+
export declare const inquiryAgency: ({ page, status }: {
|
|
385
|
+
page?: number | undefined;
|
|
386
|
+
status?: string | undefined;
|
|
311
387
|
}) => string;
|
|
312
388
|
/**
|
|
313
|
-
*
|
|
389
|
+
* 集客ユーザが自身による個別の問い合わせを取得する
|
|
390
|
+
* @version v1
|
|
314
391
|
*
|
|
315
392
|
*/
|
|
316
|
-
export declare const
|
|
393
|
+
export declare const inquiryDetailByAgency: ({ id }: {
|
|
317
394
|
id: string;
|
|
318
395
|
}) => string;
|
|
319
396
|
/**
|
|
320
|
-
*
|
|
321
|
-
*
|
|
322
|
-
|
|
323
|
-
export declare const showAirbnbCalendar: () => string;
|
|
324
|
-
/**
|
|
325
|
-
* 自社のairbnbのカレンダーを更新
|
|
326
|
-
*
|
|
397
|
+
* admin権限ユーザがすべての問い合わせを取得する
|
|
398
|
+
* @version v1
|
|
399
|
+
* @param {number} page 3
|
|
327
400
|
*/
|
|
328
|
-
export declare const
|
|
401
|
+
export declare const inquiryAdmin: ({ page }: {
|
|
402
|
+
page?: number | undefined;
|
|
403
|
+
}) => string;
|
|
329
404
|
/**
|
|
330
|
-
*
|
|
331
|
-
*
|
|
405
|
+
* admin権限ユーザが個別の問い合わせを取得する
|
|
406
|
+
* @version v1
|
|
407
|
+
* @param {string} id uuid
|
|
332
408
|
*/
|
|
333
|
-
export declare const
|
|
409
|
+
export declare const inquiryDetailByAdmin: ({ id }: {
|
|
410
|
+
id?: string | undefined;
|
|
411
|
+
}) => string;
|
|
334
412
|
/**
|
|
335
|
-
*
|
|
413
|
+
* OTAからの予約を通知する
|
|
414
|
+
* @version v1
|
|
336
415
|
*
|
|
337
416
|
*/
|
|
338
|
-
export declare const
|
|
417
|
+
export declare const notificationReservationOta: () => string;
|
|
339
418
|
/**
|
|
340
|
-
*
|
|
419
|
+
* Nimomin等のmatsuri内部サービスからの予約を通知する:
|
|
420
|
+
* @version v1
|
|
341
421
|
*
|
|
342
422
|
*/
|
|
343
|
-
export declare const
|
|
423
|
+
export declare const notificationReservationMatsuri: () => string;
|
|
344
424
|
/**
|
|
345
|
-
*
|
|
425
|
+
* 定期更新処理などでの新規物件の追加を行う
|
|
426
|
+
* @version v1
|
|
346
427
|
*
|
|
347
428
|
*/
|
|
348
|
-
export declare const
|
|
429
|
+
export declare const notificationListing: () => string;
|
|
349
430
|
/**
|
|
350
|
-
*
|
|
431
|
+
* 指定idの自動価格設定ポリシーを取得する
|
|
432
|
+
* @version v1
|
|
351
433
|
*
|
|
352
434
|
*/
|
|
353
|
-
export declare const
|
|
354
|
-
|
|
435
|
+
export declare const autoPricingPolicyGet: ({ id }: {
|
|
436
|
+
id: string;
|
|
355
437
|
}) => string;
|
|
356
438
|
/**
|
|
357
|
-
*
|
|
439
|
+
* 指定idの自動価格設定ポリシーを更新する
|
|
440
|
+
* @version v1
|
|
358
441
|
*
|
|
359
442
|
*/
|
|
360
|
-
export declare const
|
|
443
|
+
export declare const autoPricingPolicyUpdate: ({ id }: {
|
|
444
|
+
id: string;
|
|
445
|
+
}) => string;
|
|
361
446
|
/**
|
|
362
|
-
*
|
|
447
|
+
* カスタム自動価格調整ポリシーを新規作成する
|
|
448
|
+
* @version v1
|
|
363
449
|
*
|
|
364
450
|
*/
|
|
365
|
-
export declare const
|
|
451
|
+
export declare const autoPricingPolicyCreate: () => string;
|
|
366
452
|
/**
|
|
367
|
-
*
|
|
368
|
-
*
|
|
453
|
+
* カスタム自動価格調整ポリシーの一覧を取得する
|
|
454
|
+
* @version v1
|
|
455
|
+
* @param {number} page 3
|
|
369
456
|
*/
|
|
370
|
-
export declare const
|
|
371
|
-
|
|
457
|
+
export declare const autoPricingPolicyList: ({ page }: {
|
|
458
|
+
page?: number | undefined;
|
|
372
459
|
}) => string;
|
|
373
460
|
/**
|
|
374
|
-
*
|
|
375
|
-
*
|
|
376
|
-
*/
|
|
377
|
-
export declare const generateTemporalToken: () => string;
|
|
378
|
-
/**
|
|
379
|
-
* 一時発行トークンを破棄する
|
|
461
|
+
* 指定idのカスタム自動価格調整ポリシーを削除する
|
|
462
|
+
* @version v1
|
|
380
463
|
*
|
|
381
464
|
*/
|
|
382
|
-
export declare const
|
|
383
|
-
|
|
465
|
+
export declare const autoPricingPolicyDelete: ({ id }: {
|
|
466
|
+
id: string;
|
|
384
467
|
}) => string;
|
|
385
468
|
export declare const m2mCore_v1: {
|
|
469
|
+
root: () => string;
|
|
386
470
|
healthCheck: () => string;
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
471
|
+
listingIndex: ({ page }: {
|
|
472
|
+
page?: number | undefined;
|
|
473
|
+
}) => string;
|
|
474
|
+
listingNameForManage: ({ listingIds }: {
|
|
475
|
+
listingIds?: string | undefined;
|
|
476
|
+
}) => string;
|
|
477
|
+
listingName: ({ listingIds }: {
|
|
478
|
+
listingIds?: string | undefined;
|
|
479
|
+
}) => string;
|
|
480
|
+
listingSearchByAgency: ({ page, startDate, endDate, lat, lng }: {
|
|
481
|
+
page?: number | undefined;
|
|
482
|
+
startDate?: string | undefined;
|
|
483
|
+
endDate?: string | undefined;
|
|
484
|
+
lat?: number | undefined;
|
|
485
|
+
lng?: number | undefined;
|
|
486
|
+
}) => string;
|
|
487
|
+
listingSearchByAgencyWithSpan: ({ page, startDate, endDate, lat, lng }: {
|
|
488
|
+
page?: number | undefined;
|
|
489
|
+
startDate: string;
|
|
490
|
+
endDate: string;
|
|
491
|
+
lat?: number | undefined;
|
|
492
|
+
lng?: number | undefined;
|
|
493
|
+
}) => string;
|
|
494
|
+
listingSearchByCompanyOld: ({ page, startDate, endDate, status }: {
|
|
495
|
+
page?: number | undefined;
|
|
496
|
+
startDate: string;
|
|
497
|
+
endDate: string;
|
|
498
|
+
status: string;
|
|
499
|
+
}) => string;
|
|
500
|
+
listingSearchByCompany: ({ page, startDate, endDate, status }: {
|
|
501
|
+
page?: number | undefined;
|
|
502
|
+
startDate?: string | undefined;
|
|
503
|
+
endDate?: string | undefined;
|
|
504
|
+
status?: string | undefined;
|
|
505
|
+
}) => string;
|
|
506
|
+
listingSearchByCompanyWithNameForManage: ({ page, nameForManage }: {
|
|
507
|
+
page?: number | undefined;
|
|
508
|
+
nameForManage: string;
|
|
509
|
+
}) => string;
|
|
510
|
+
listingLocation: ({ areaString }: {
|
|
511
|
+
areaString: string;
|
|
390
512
|
}) => string;
|
|
391
|
-
findListingsBySpan: () => string;
|
|
392
|
-
listingSearchByName: () => string;
|
|
393
513
|
listingDetail: ({ id }: {
|
|
394
514
|
id: string;
|
|
395
515
|
}) => string;
|
|
396
|
-
|
|
516
|
+
listingDetailForAgency: ({ id }: {
|
|
397
517
|
id: string;
|
|
398
518
|
}) => string;
|
|
399
|
-
|
|
519
|
+
listingUnavailableDays: ({ id, startDate, endDate }: {
|
|
400
520
|
id: string;
|
|
521
|
+
startDate: string;
|
|
522
|
+
endDate: string;
|
|
401
523
|
}) => string;
|
|
402
|
-
|
|
403
|
-
|
|
524
|
+
listingAvailabilityByOta: ({ otaType, otaId, startDate, endDate }: {
|
|
525
|
+
otaType: string;
|
|
526
|
+
otaId: string;
|
|
527
|
+
startDate: string;
|
|
528
|
+
endDate: string;
|
|
404
529
|
}) => string;
|
|
405
|
-
|
|
530
|
+
listingPricing: ({ id, companyId, startDate, endDate, guestsCount }: {
|
|
406
531
|
id: string;
|
|
532
|
+
companyId: string;
|
|
533
|
+
startDate: string;
|
|
534
|
+
endDate: string;
|
|
535
|
+
guestsCount: string;
|
|
536
|
+
}) => string;
|
|
537
|
+
listingSearchOtaListing: ({ otaURLString }: {
|
|
538
|
+
otaURLString?: string | undefined;
|
|
407
539
|
}) => string;
|
|
408
|
-
|
|
540
|
+
listingCreate: () => string;
|
|
541
|
+
listingUpdate: ({ id }: {
|
|
409
542
|
id: string;
|
|
410
543
|
}) => string;
|
|
411
|
-
|
|
544
|
+
listingDelete: ({ id }: {
|
|
412
545
|
id: string;
|
|
413
546
|
}) => string;
|
|
414
|
-
|
|
547
|
+
listingCalendar: ({ id }: {
|
|
415
548
|
id: string;
|
|
416
549
|
}) => string;
|
|
417
|
-
|
|
550
|
+
listingAssociateToOta: ({ id }: {
|
|
418
551
|
id: string;
|
|
419
552
|
}) => string;
|
|
420
|
-
|
|
421
|
-
propertyCreate: () => string;
|
|
422
|
-
propertyEdit: ({ id }: {
|
|
553
|
+
listingDetachFromOta: ({ id }: {
|
|
423
554
|
id: string;
|
|
424
555
|
}) => string;
|
|
425
|
-
|
|
426
|
-
propertyGet: ({ id }: {
|
|
556
|
+
listingUpdateDailyCost: ({ id }: {
|
|
427
557
|
id: string;
|
|
428
558
|
}) => string;
|
|
429
|
-
|
|
559
|
+
listingUpdateInitialCost: ({ id }: {
|
|
430
560
|
id: string;
|
|
431
561
|
}) => string;
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
autoPricingPolicyList: ({ page }: {
|
|
435
|
-
page?: number | undefined;
|
|
562
|
+
listingUpdateOtherPayment: ({ id }: {
|
|
563
|
+
id: string;
|
|
436
564
|
}) => string;
|
|
437
|
-
|
|
565
|
+
listingUpdateBedding: ({ id }: {
|
|
438
566
|
id: string;
|
|
439
567
|
}) => string;
|
|
440
|
-
|
|
568
|
+
listingUpdateStatus: ({ id }: {
|
|
441
569
|
id: string;
|
|
442
570
|
}) => string;
|
|
443
|
-
|
|
571
|
+
listingAddImage: ({ id }: {
|
|
444
572
|
id: string;
|
|
445
573
|
}) => string;
|
|
446
|
-
|
|
447
|
-
createRoomTypeManually: ({ id }: {
|
|
574
|
+
listingDeleteImage: ({ id, imgId }: {
|
|
448
575
|
id: string;
|
|
576
|
+
imgId: string;
|
|
449
577
|
}) => string;
|
|
450
|
-
|
|
578
|
+
listingUploadThumbnail: ({ id }: {
|
|
451
579
|
id: string;
|
|
452
580
|
}) => string;
|
|
453
|
-
|
|
581
|
+
listingUploadLayoutImage: ({ id }: {
|
|
454
582
|
id: string;
|
|
455
583
|
}) => string;
|
|
456
|
-
|
|
584
|
+
listingGetAutoPricingSetting: ({ id }: {
|
|
457
585
|
id: string;
|
|
458
586
|
}) => string;
|
|
459
|
-
|
|
587
|
+
listingUpdateAutoPricingSetting: ({ id }: {
|
|
460
588
|
id: string;
|
|
461
|
-
otaType: string;
|
|
462
|
-
otaId: string;
|
|
463
589
|
}) => string;
|
|
464
|
-
|
|
590
|
+
listingAutoPricingPricing: ({ id }: {
|
|
465
591
|
id: string;
|
|
466
|
-
proprietaryId: string;
|
|
467
592
|
}) => string;
|
|
468
|
-
|
|
593
|
+
listingAutoPricingPricingWithoutSave: ({ id }: {
|
|
469
594
|
id: string;
|
|
470
595
|
}) => string;
|
|
471
|
-
|
|
596
|
+
inquiryCreateByCompany: () => string;
|
|
597
|
+
inquiryCreateByAgency: () => string;
|
|
598
|
+
inquiryUpdateByCompany: ({ id }: {
|
|
472
599
|
id: string;
|
|
473
600
|
}) => string;
|
|
474
|
-
|
|
601
|
+
inquiryUpdateManually: ({ id }: {
|
|
475
602
|
id: string;
|
|
476
603
|
}) => string;
|
|
477
|
-
|
|
604
|
+
inquiryUpdateByAgency: ({ id }: {
|
|
478
605
|
id: string;
|
|
479
606
|
}) => string;
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
607
|
+
inquiryCompany: ({ page }: {
|
|
608
|
+
page?: number | undefined;
|
|
609
|
+
}) => string;
|
|
610
|
+
inquiryDetailByCompany: ({ id }: {
|
|
483
611
|
id: string;
|
|
484
612
|
}) => string;
|
|
485
|
-
|
|
486
|
-
|
|
613
|
+
inquiryCompanyByStatus: ({ page, status }: {
|
|
614
|
+
page?: number | undefined;
|
|
615
|
+
status: string;
|
|
487
616
|
}) => string;
|
|
488
|
-
|
|
617
|
+
inquiryAgency: ({ page, status }: {
|
|
489
618
|
page?: number | undefined;
|
|
490
|
-
|
|
491
|
-
nameQuery?: string | undefined;
|
|
492
|
-
startDate?: string | undefined;
|
|
493
|
-
endDate?: string | undefined;
|
|
494
|
-
tokenId?: string | undefined;
|
|
495
|
-
token?: string | undefined;
|
|
619
|
+
status?: string | undefined;
|
|
496
620
|
}) => string;
|
|
497
|
-
|
|
498
|
-
importListingReservations: ({ id }: {
|
|
621
|
+
inquiryDetailByAgency: ({ id }: {
|
|
499
622
|
id: string;
|
|
500
623
|
}) => string;
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
624
|
+
inquiryAdmin: ({ page }: {
|
|
625
|
+
page?: number | undefined;
|
|
626
|
+
}) => string;
|
|
627
|
+
inquiryDetailByAdmin: ({ id }: {
|
|
628
|
+
id?: string | undefined;
|
|
629
|
+
}) => string;
|
|
630
|
+
notificationReservationOta: () => string;
|
|
631
|
+
notificationReservationMatsuri: () => string;
|
|
632
|
+
notificationListing: () => string;
|
|
633
|
+
autoPricingPolicyGet: ({ id }: {
|
|
504
634
|
id: string;
|
|
505
635
|
}) => string;
|
|
506
|
-
|
|
636
|
+
autoPricingPolicyUpdate: ({ id }: {
|
|
507
637
|
id: string;
|
|
508
638
|
}) => string;
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
findSalesByReservationId: ({ reservationId, }: {
|
|
516
|
-
reservationId: string;
|
|
517
|
-
}) => string;
|
|
518
|
-
registerAdditionalSales: () => string;
|
|
519
|
-
registerInquiryReservationRelation: () => string;
|
|
520
|
-
getInquiryReservationRelation: ({ reservationId, }: {
|
|
521
|
-
reservationId: string;
|
|
522
|
-
}) => string;
|
|
523
|
-
generateTemporalToken: () => string;
|
|
524
|
-
revokeTemporalToken: ({ tokenId }: {
|
|
525
|
-
tokenId: string;
|
|
639
|
+
autoPricingPolicyCreate: () => string;
|
|
640
|
+
autoPricingPolicyList: ({ page }: {
|
|
641
|
+
page?: number | undefined;
|
|
642
|
+
}) => string;
|
|
643
|
+
autoPricingPolicyDelete: ({ id }: {
|
|
644
|
+
id: string;
|
|
526
645
|
}) => string;
|
|
527
646
|
};
|