endpoints-sdk-cli 2.3.1 → 2.3.2

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