endpoints-sdk-cli 2.4.0 → 2.4.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.
@@ -0,0 +1,3756 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.notificationsPaymentFailedUnsubscribe = exports.notificationsPaymentFailedSubscribe = exports.notificationsPaymentFailedUnsubscribeByPaymentOrderId = exports.notificationsPaymentFailedSubscribeByPaymentOrderId = exports.notificationsPaymentCompletedUnsubscribe = exports.notificationsPaymentCompletedSubscribe = exports.notificationsPaymentCompletedUnsubscribeByPaymentOrderId = exports.notificationsPaymentCompletedSubscribeByPaymentOrderId = exports.notificationsGuestInformationSubmittedUnsubscribe = exports.notificationsGuestInformationSubmittedSubscribe = exports.notificationsGuestInformationSubmittedUnsubscribeByInquiryId = exports.notificationsGuestInformationSubmittedSubscribeByInquiryId = exports.reservationReserveImmediately = exports.guestUserAssociateWithInquiry = exports.guestUserResetPassword = exports.guestUserSendPasswordResetEmail = exports.guestUserSigninWithOAuth = exports.guestUserSigninWithPassword = exports.guestuserSignUpWithOAuth = exports.guestUserSignUpWithPassword = exports.getSaleTypeOnSaleListingsSortedBySaleTypeUpdatedAtAsc = exports.searchListingsWithRoomTypeByLocationNameAndMultipleConditions = exports.searchListingsByMultipleConditions = exports.searchListingsByLocationNameAndConditions = exports.getCalendarsByListingIdAndDateSpan = exports.listingGetTotalCostForDateSpanAndPersons = exports.listingGet = exports.authGuestIdentificationDeleteImageData = exports.authGuestIdentificationAdditionalUploadImageData = exports.authGuestIdentificationUploadImageData = exports.authGuestIdentificationGetImageData = exports.authGuestIdentificationList = exports.authContractAgree = exports.authContractSubmitGuestInformation = exports.authContractSubmitGuestInformationForIndividual = exports.authContractUpdateCorporationInformation = exports.authContractUpdateGuestInformation = exports.authContractGetCorporationInformation = exports.authContractGetGuestInformation = exports.authReadContract = exports.authGetContract = exports.authListContracts = exports.guestIdentificationUploadImage = exports.contractGetResidentCount = exports.contractAgree = exports.contractSubmitCorporationInformation = exports.contractSubmitGuestInformation = exports.readContract = exports.healthCheck = exports.root = void 0;
4
+ exports.managerInquiryUpdate = exports.managerInquiriesList = exports.managerInquiriesCreate = exports.inquiryCreateForCategoryPage = exports.inquiryGetCoupon = exports.inquiryGetVeritransTokenApiKey = exports.inquiryGetReservation = exports.inquiryGetPaymentOrders = exports.inquiryCreate = exports.internalDeleteListing = exports.adminListingOpen = exports.adminListingAcceptRegistration = exports.adminListingGet = exports.managerContractClauseGet = exports.managerContractClauseUpdate = exports.managerContractClauseList = exports.managerContractClauseCreate = exports.managerGuestIdentificationDeleteImageData = exports.managerGuestIdentificationUploadImageData = exports.managerGuestIdentificationGetImageData = exports.managerGuestIdentificationList = exports.managerGetContractToken = exports.managerExecuteAntisocialAnalyze = exports.managerGetAntisocialAnalyzeResult = exports.managerPublishContract = exports.managerUpdateContract = exports.managerGetContract = exports.managerSearchListingsByNameForManage = exports.managerListingPutKeywordRemove = exports.managerListingPutKeyword = exports.managerListingDeleteLocalizedData = exports.mangerListingSearch = exports.managerListingCalendarSyncSettingsPut = exports.managerListingCalendarSyncSettingsGet = exports.managerListingAddImage = exports.managerListingDeleteLayoutImage = exports.managerListingUploadLayoutImage = exports.managerListingUploadMainImage = exports.managerListingUpdateImageOrder = exports.managerListingM2mCoreListingRelations = exports.managerListingCreateFromM2mCore = exports.managerListingClose = exports.managerListingOpen = exports.managerListingWithdrawRegistrationRequest = exports.managerListingRequestForRegistration = exports.managerListingGet = exports.managerListingPatch = exports.managerListingUpdate = exports.managerListingList = exports.managerListingCreateNotReady = void 0;
5
+ exports.managerReservationCancel = exports.exportVeritransPaymentTransactions = exports.managerPaymentResolvePaymentOrderUnknownStatus = exports.managerPaymentDeletePaymentOrderItem = exports.managerPaymentUpdatePaymentOrderItem = exports.managerPaymentCreatePaymentOrderItem = exports.managerPaymentSyncUnregisteredVeritransPaymentTransaction = exports.managerPaymentGetPaymentOrder = exports.paymentResult = exports.paymentOrdersPayForInstantBook = exports.paymentNotification = exports.paymentOrdersPayConditional3DSecure = exports.paymentOrdersPayConditional = exports.managerICalParse = exports.managerCalendarExportCalendarRent = exports.managerCalendarImportCalendarRent = exports.managerCalendarAvailableListingsSearch = exports.managerCalendarBlockFindByListingId = exports.managerCalendarBlockDelete = exports.managerCalendarBlockUpdate = exports.managerCalendarBlockGet = exports.managerCalendarBlockCreate = exports.managerOwnerDelete = exports.managerOwnerUpdate = exports.managerOwnerCreate = exports.managerOwnerGet = exports.managerOwnerList = exports.informationGetStationNamesByLineNameForCompany = exports.informationGetLineNamesByPrefectureNameForCompany = exports.informationGetKeywordsByCategories = exports.informationGetLocationForCompany = exports.informationGetCityNamesInPrefecture = exports.adminCompanyCreate = exports.managerInquiriesGetAssociationGuest = exports.managerInquiriesGetReservation = exports.managerInquiriesListPaymentOrders = exports.managerInquiriesCreatePaymentOrder = exports.managerInquiriesGetPaymentOrderItemsForContract = exports.managerInquiriesPublishInquiryToken = exports.managerInquiriesGetInquiryToken = exports.managerInquiriesStartScreeningGuest = exports.managerInquiriesScreenGuest = exports.managerInquriesGetAssociatedGuestInformation = exports.managerInquiriesReissueContractToken = exports.managerInquiriesReissueContractPassword = exports.managerInquiriesIssueGuestInformationForm = exports.managerInquiryGet = exports.managerInquiryUpdateListingRelation = exports.managerSyncOfContractsAndPaymentsStatusUpdate = exports.managerInquiryAvailabilityStatusUpdate = void 0;
6
+ exports.sumyca_v3 = exports.roomTypeGetHotelStayTotalCostForAvailableDateSpanAndPersons = exports.roomTypeGetRepresentListing = exports.roomTypeCalendarGetByRoomTypeId = exports.managerRoomTypeDeleteLocalizedData = exports.managerRoomTypeUpdateLocalizedData = exports.managerRoomTypeDetachListings = exports.managerRoomTypeAssociateListing = exports.managerRoomTypeSelectRepresentListing = exports.managerRoomTypeGet = exports.managerRoomTypePatch = exports.managerRoomTypeList = exports.managerRoomTypeCreate = exports.managerCouponListingRelationsDelete = exports.managerCouponListingRelationsBatchCreate = exports.managerCouponListingRelationsGet = exports.managerCouponGet = exports.managerCouponPath = exports.managerCouponList = exports.managerCouponCreate = exports.guestCouponGetByCouponCode = exports.updateAllBlankPaymentOrderItemId = exports.managerListingVeritransAccountRelationRegister = exports.managerVeritransAccountCreate = exports.managerReservationsList = exports.managerReservationSearchByReservationCode = exports.managerReservationPatch = exports.managerReservationChangeStaySpan = void 0;
7
+ /* eslint-disable */
8
+ /**
9
+ * A function that returns the URL part common to the endpoints.
10
+ */
11
+ const root = () => {
12
+ let __root = "";
13
+ if (process.env.NODE_ENV === "local") {
14
+ __root = "http://localhost:8080";
15
+ }
16
+ if (process.env.NODE_ENV === "localDev") {
17
+ __root = "https://api-sumyca.dev.m2msystems.cloud";
18
+ }
19
+ if (process.env.NODE_ENV === "development") {
20
+ __root = "https://hoge.com";
21
+ }
22
+ if (process.env.NODE_ENV === "production") {
23
+ __root = "https://api-sumyca.m2msystems.cloud";
24
+ }
25
+ return __root;
26
+ };
27
+ exports.root = root;
28
+ /**
29
+ * ヘルスチェック
30
+ *
31
+ */
32
+ const healthCheck = () => {
33
+ const __root = (0, exports.root)();
34
+ const __queries = Object.entries({})
35
+ .filter(([_, value]) => {
36
+ return value !== undefined;
37
+ })
38
+ .map(([key, value]) => {
39
+ return `${key}=${value}`;
40
+ })
41
+ .join("&");
42
+ const __path = `${__root}/${`health_check`}`;
43
+ return __queries ? `${__path}?${__queries}` : __path;
44
+ };
45
+ exports.healthCheck = healthCheck;
46
+ exports.healthCheck.method = "GET";
47
+ /**
48
+ * トークまたは、パスワードを送り、契約書の内容を表示する
49
+ *
50
+ */
51
+ const readContract = ({ inquiryId, revision, }) => {
52
+ const __root = (0, exports.root)();
53
+ const __queries = Object.entries({})
54
+ .filter(([_, value]) => {
55
+ return value !== undefined;
56
+ })
57
+ .map(([key, value]) => {
58
+ return `${key}=${value}`;
59
+ })
60
+ .join("&");
61
+ const __path = `${__root}/${`contracts/${inquiryId}/${revision}`}`;
62
+ return __queries ? `${__path}?${__queries}` : __path;
63
+ };
64
+ exports.readContract = readContract;
65
+ exports.readContract.method = "POST";
66
+ /**
67
+ * ゲストが契約者情報を提出する
68
+ *
69
+ */
70
+ const contractSubmitGuestInformation = ({ inquiryId, revision, }) => {
71
+ const __root = (0, exports.root)();
72
+ const __queries = Object.entries({})
73
+ .filter(([_, value]) => {
74
+ return value !== undefined;
75
+ })
76
+ .map(([key, value]) => {
77
+ return `${key}=${value}`;
78
+ })
79
+ .join("&");
80
+ const __path = `${__root}/${`contracts/${inquiryId}/${revision}/guest_information`}`;
81
+ return __queries ? `${__path}?${__queries}` : __path;
82
+ };
83
+ exports.contractSubmitGuestInformation = contractSubmitGuestInformation;
84
+ exports.contractSubmitGuestInformation.method = "POST";
85
+ /**
86
+ * 法人ゲストが契約者情報を提出する
87
+ *
88
+ */
89
+ const contractSubmitCorporationInformation = ({ inquiryId, revision, }) => {
90
+ const __root = (0, exports.root)();
91
+ const __queries = Object.entries({})
92
+ .filter(([_, value]) => {
93
+ return value !== undefined;
94
+ })
95
+ .map(([key, value]) => {
96
+ return `${key}=${value}`;
97
+ })
98
+ .join("&");
99
+ const __path = `${__root}/${`contracts/${inquiryId}/${revision}/corporation_information`}`;
100
+ return __queries ? `${__path}?${__queries}` : __path;
101
+ };
102
+ exports.contractSubmitCorporationInformation = contractSubmitCorporationInformation;
103
+ exports.contractSubmitCorporationInformation.method = "POST";
104
+ /**
105
+ * パスワードを送り、契約書に同意する
106
+ *
107
+ */
108
+ const contractAgree = ({ inquiryId, revision, }) => {
109
+ const __root = (0, exports.root)();
110
+ const __queries = Object.entries({})
111
+ .filter(([_, value]) => {
112
+ return value !== undefined;
113
+ })
114
+ .map(([key, value]) => {
115
+ return `${key}=${value}`;
116
+ })
117
+ .join("&");
118
+ const __path = `${__root}/${`contracts/${inquiryId}/${revision}/agree`}`;
119
+ return __queries ? `${__path}?${__queries}` : __path;
120
+ };
121
+ exports.contractAgree = contractAgree;
122
+ exports.contractAgree.method = "POST";
123
+ /**
124
+ * 契約書作成に必要な入居者人数を取得する
125
+ *
126
+ */
127
+ const contractGetResidentCount = ({ inquiryId, revision, }) => {
128
+ const __root = (0, exports.root)();
129
+ const __queries = Object.entries({})
130
+ .filter(([_, value]) => {
131
+ return value !== undefined;
132
+ })
133
+ .map(([key, value]) => {
134
+ return `${key}=${value}`;
135
+ })
136
+ .join("&");
137
+ const __path = `${__root}/${`contracts/${inquiryId}/${revision}/resident_count`}`;
138
+ return __queries ? `${__path}?${__queries}` : __path;
139
+ };
140
+ exports.contractGetResidentCount = contractGetResidentCount;
141
+ exports.contractGetResidentCount.method = "GET";
142
+ /**
143
+ * ゲストが身分証明書の画像をアップロードする
144
+ *
145
+ */
146
+ const guestIdentificationUploadImage = ({ inquiryId, }) => {
147
+ const __root = (0, exports.root)();
148
+ const __queries = Object.entries({})
149
+ .filter(([_, value]) => {
150
+ return value !== undefined;
151
+ })
152
+ .map(([key, value]) => {
153
+ return `${key}=${value}`;
154
+ })
155
+ .join("&");
156
+ const __path = `${__root}/${`guest_identifications/${inquiryId}`}`;
157
+ return __queries ? `${__path}?${__queries}` : __path;
158
+ };
159
+ exports.guestIdentificationUploadImage = guestIdentificationUploadImage;
160
+ exports.guestIdentificationUploadImage.method = "POST";
161
+ /**
162
+ * ゲストが自分に紐づいている問い合わせの一覧を閲覧する
163
+ *
164
+ */
165
+ const authListContracts = () => {
166
+ const __root = (0, exports.root)();
167
+ const __queries = Object.entries({})
168
+ .filter(([_, value]) => {
169
+ return value !== undefined;
170
+ })
171
+ .map(([key, value]) => {
172
+ return `${key}=${value}`;
173
+ })
174
+ .join("&");
175
+ const __path = `${__root}/${`auth/contracts`}`;
176
+ return __queries ? `${__path}?${__queries}` : __path;
177
+ };
178
+ exports.authListContracts = authListContracts;
179
+ exports.authListContracts.method = "GET";
180
+ /**
181
+ * ゲストが自分に紐づいている問い合わせを閲覧する
182
+ *
183
+ */
184
+ const authGetContract = ({ inquiryId }) => {
185
+ const __root = (0, exports.root)();
186
+ const __queries = Object.entries({})
187
+ .filter(([_, value]) => {
188
+ return value !== undefined;
189
+ })
190
+ .map(([key, value]) => {
191
+ return `${key}=${value}`;
192
+ })
193
+ .join("&");
194
+ const __path = `${__root}/${`auth/contracts/${inquiryId}`}`;
195
+ return __queries ? `${__path}?${__queries}` : __path;
196
+ };
197
+ exports.authGetContract = authGetContract;
198
+ exports.authGetContract.method = "GET";
199
+ /**
200
+ * 契約書の内容を表示する
201
+ *
202
+ */
203
+ const authReadContract = ({ inquiryId, revision, }) => {
204
+ const __root = (0, exports.root)();
205
+ const __queries = Object.entries({})
206
+ .filter(([_, value]) => {
207
+ return value !== undefined;
208
+ })
209
+ .map(([key, value]) => {
210
+ return `${key}=${value}`;
211
+ })
212
+ .join("&");
213
+ const __path = `${__root}/${`auth/contracts/${inquiryId}/${revision}`}`;
214
+ return __queries ? `${__path}?${__queries}` : __path;
215
+ };
216
+ exports.authReadContract = authReadContract;
217
+ exports.authReadContract.method = "POST";
218
+ /**
219
+ * ゲストが契約者情報を取得する
220
+ *
221
+ */
222
+ const authContractGetGuestInformation = ({ inquiryId, revision, }) => {
223
+ const __root = (0, exports.root)();
224
+ const __queries = Object.entries({})
225
+ .filter(([_, value]) => {
226
+ return value !== undefined;
227
+ })
228
+ .map(([key, value]) => {
229
+ return `${key}=${value}`;
230
+ })
231
+ .join("&");
232
+ const __path = `${__root}/${`auth/contracts/${inquiryId}/${revision}/guest_information`}`;
233
+ return __queries ? `${__path}?${__queries}` : __path;
234
+ };
235
+ exports.authContractGetGuestInformation = authContractGetGuestInformation;
236
+ exports.authContractGetGuestInformation.method = "GET";
237
+ /**
238
+ * 法人ゲストが契約者情報を取得する
239
+ *
240
+ */
241
+ const authContractGetCorporationInformation = ({ inquiryId, revision, }) => {
242
+ const __root = (0, exports.root)();
243
+ const __queries = Object.entries({})
244
+ .filter(([_, value]) => {
245
+ return value !== undefined;
246
+ })
247
+ .map(([key, value]) => {
248
+ return `${key}=${value}`;
249
+ })
250
+ .join("&");
251
+ const __path = `${__root}/${`auth/contracts/${inquiryId}/${revision}/corporation_information`}`;
252
+ return __queries ? `${__path}?${__queries}` : __path;
253
+ };
254
+ exports.authContractGetCorporationInformation = authContractGetCorporationInformation;
255
+ exports.authContractGetCorporationInformation.method = "GET";
256
+ /**
257
+ * ゲストが契約者情報を更新する
258
+ *
259
+ */
260
+ const authContractUpdateGuestInformation = ({ inquiryId, revision, }) => {
261
+ const __root = (0, exports.root)();
262
+ const __queries = Object.entries({})
263
+ .filter(([_, value]) => {
264
+ return value !== undefined;
265
+ })
266
+ .map(([key, value]) => {
267
+ return `${key}=${value}`;
268
+ })
269
+ .join("&");
270
+ const __path = `${__root}/${`auth/contracts/${inquiryId}/${revision}/guest_information`}`;
271
+ return __queries ? `${__path}?${__queries}` : __path;
272
+ };
273
+ exports.authContractUpdateGuestInformation = authContractUpdateGuestInformation;
274
+ exports.authContractUpdateGuestInformation.method = "PUT";
275
+ /**
276
+ * 法人ゲストが契約者情報を更新する
277
+ *
278
+ */
279
+ const authContractUpdateCorporationInformation = ({ inquiryId, revision, }) => {
280
+ const __root = (0, exports.root)();
281
+ const __queries = Object.entries({})
282
+ .filter(([_, value]) => {
283
+ return value !== undefined;
284
+ })
285
+ .map(([key, value]) => {
286
+ return `${key}=${value}`;
287
+ })
288
+ .join("&");
289
+ const __path = `${__root}/${`auth/contracts/${inquiryId}/${revision}/corporation_information`}`;
290
+ return __queries ? `${__path}?${__queries}` : __path;
291
+ };
292
+ exports.authContractUpdateCorporationInformation = authContractUpdateCorporationInformation;
293
+ exports.authContractUpdateCorporationInformation.method = "PUT";
294
+ /**
295
+ * 個人ゲストが契約者情報を確定させる
296
+ *
297
+ */
298
+ const authContractSubmitGuestInformationForIndividual = ({ inquiryId, revision, }) => {
299
+ const __root = (0, exports.root)();
300
+ const __queries = Object.entries({})
301
+ .filter(([_, value]) => {
302
+ return value !== undefined;
303
+ })
304
+ .map(([key, value]) => {
305
+ return `${key}=${value}`;
306
+ })
307
+ .join("&");
308
+ const __path = `${__root}/${`auth/contracts/${inquiryId}/${revision}/guest_information/submit`}`;
309
+ return __queries ? `${__path}?${__queries}` : __path;
310
+ };
311
+ exports.authContractSubmitGuestInformationForIndividual = authContractSubmitGuestInformationForIndividual;
312
+ exports.authContractSubmitGuestInformationForIndividual.method = "POST";
313
+ /**
314
+ * 契約者情報を確定させる
315
+ *
316
+ */
317
+ const authContractSubmitGuestInformation = ({ inquiryId, revision, }) => {
318
+ const __root = (0, exports.root)();
319
+ const __queries = Object.entries({})
320
+ .filter(([_, value]) => {
321
+ return value !== undefined;
322
+ })
323
+ .map(([key, value]) => {
324
+ return `${key}=${value}`;
325
+ })
326
+ .join("&");
327
+ const __path = `${__root}/${`auth/contracts/${inquiryId}/${revision}/submit`}`;
328
+ return __queries ? `${__path}?${__queries}` : __path;
329
+ };
330
+ exports.authContractSubmitGuestInformation = authContractSubmitGuestInformation;
331
+ exports.authContractSubmitGuestInformation.method = "POST";
332
+ /**
333
+ * パスワードを送り、契約書に同意する
334
+ *
335
+ */
336
+ const authContractAgree = ({ inquiryId, revision, }) => {
337
+ const __root = (0, exports.root)();
338
+ const __queries = Object.entries({})
339
+ .filter(([_, value]) => {
340
+ return value !== undefined;
341
+ })
342
+ .map(([key, value]) => {
343
+ return `${key}=${value}`;
344
+ })
345
+ .join("&");
346
+ const __path = `${__root}/${`auth/contracts/${inquiryId}/${revision}/agree`}`;
347
+ return __queries ? `${__path}?${__queries}` : __path;
348
+ };
349
+ exports.authContractAgree = authContractAgree;
350
+ exports.authContractAgree.method = "POST";
351
+ /**
352
+ * ゲスト身分証画像の一覧を取得する
353
+ *
354
+ */
355
+ const authGuestIdentificationList = ({ inquiryId, }) => {
356
+ const __root = (0, exports.root)();
357
+ const __queries = Object.entries({})
358
+ .filter(([_, value]) => {
359
+ return value !== undefined;
360
+ })
361
+ .map(([key, value]) => {
362
+ return `${key}=${value}`;
363
+ })
364
+ .join("&");
365
+ const __path = `${__root}/${`auth/guest_identifications/${inquiryId}`}`;
366
+ return __queries ? `${__path}?${__queries}` : __path;
367
+ };
368
+ exports.authGuestIdentificationList = authGuestIdentificationList;
369
+ exports.authGuestIdentificationList.method = "GET";
370
+ /**
371
+ * ゲスト身分証画像の実データ(base64エンコードされた文字列形式)を取得する
372
+ *
373
+ */
374
+ const authGuestIdentificationGetImageData = ({ inquiryId, imageId, }) => {
375
+ const __root = (0, exports.root)();
376
+ const __queries = Object.entries({})
377
+ .filter(([_, value]) => {
378
+ return value !== undefined;
379
+ })
380
+ .map(([key, value]) => {
381
+ return `${key}=${value}`;
382
+ })
383
+ .join("&");
384
+ const __path = `${__root}/${`auth/guest_identifications/${inquiryId}/${imageId}/image_data`}`;
385
+ return __queries ? `${__path}?${__queries}` : __path;
386
+ };
387
+ exports.authGuestIdentificationGetImageData = authGuestIdentificationGetImageData;
388
+ exports.authGuestIdentificationGetImageData.method = "GET";
389
+ /**
390
+ * ゲスト身分証画像をアップロードする
391
+ *
392
+ */
393
+ const authGuestIdentificationUploadImageData = ({ inquiryId, }) => {
394
+ const __root = (0, exports.root)();
395
+ const __queries = Object.entries({})
396
+ .filter(([_, value]) => {
397
+ return value !== undefined;
398
+ })
399
+ .map(([key, value]) => {
400
+ return `${key}=${value}`;
401
+ })
402
+ .join("&");
403
+ const __path = `${__root}/${`auth/guest_identifications/${inquiryId}/image`}`;
404
+ return __queries ? `${__path}?${__queries}` : __path;
405
+ };
406
+ exports.authGuestIdentificationUploadImageData = authGuestIdentificationUploadImageData;
407
+ exports.authGuestIdentificationUploadImageData.method = "POST";
408
+ /**
409
+ * ゲスト身分証画像を追加アップロードする
410
+ *
411
+ */
412
+ const authGuestIdentificationAdditionalUploadImageData = ({ inquiryId, }) => {
413
+ const __root = (0, exports.root)();
414
+ const __queries = Object.entries({})
415
+ .filter(([_, value]) => {
416
+ return value !== undefined;
417
+ })
418
+ .map(([key, value]) => {
419
+ return `${key}=${value}`;
420
+ })
421
+ .join("&");
422
+ const __path = `${__root}/${`auth/guest_identifications/${inquiryId}/image/additional`}`;
423
+ return __queries ? `${__path}?${__queries}` : __path;
424
+ };
425
+ exports.authGuestIdentificationAdditionalUploadImageData = authGuestIdentificationAdditionalUploadImageData;
426
+ exports.authGuestIdentificationAdditionalUploadImageData.method = "POST";
427
+ /**
428
+ * ゲストの身分証画像を削除する
429
+ *
430
+ */
431
+ const authGuestIdentificationDeleteImageData = ({ inquiryId, imageId, }) => {
432
+ const __root = (0, exports.root)();
433
+ const __queries = Object.entries({})
434
+ .filter(([_, value]) => {
435
+ return value !== undefined;
436
+ })
437
+ .map(([key, value]) => {
438
+ return `${key}=${value}`;
439
+ })
440
+ .join("&");
441
+ const __path = `${__root}/${`auth/guest_identifications/${inquiryId}/image/${imageId}`}`;
442
+ return __queries ? `${__path}?${__queries}` : __path;
443
+ };
444
+ exports.authGuestIdentificationDeleteImageData = authGuestIdentificationDeleteImageData;
445
+ exports.authGuestIdentificationDeleteImageData.method = "DELETE";
446
+ /**
447
+ * 公開されているリスティングを取得する
448
+ * @param {string} locale jp
449
+ */
450
+ const listingGet = ({ locale, listingId, }) => {
451
+ const __root = (0, exports.root)();
452
+ const __queries = Object.entries({ locale })
453
+ .filter(([_, value]) => {
454
+ return value !== undefined;
455
+ })
456
+ .map(([key, value]) => {
457
+ return `${key}=${value}`;
458
+ })
459
+ .join("&");
460
+ const __path = `${__root}/${`listings/${listingId}`}`;
461
+ return __queries ? `${__path}?${__queries}` : __path;
462
+ };
463
+ exports.listingGet = listingGet;
464
+ exports.listingGet.method = "GET";
465
+ /**
466
+ * 指定した入居期間と入居人数に対する合計料金を取得する
467
+ * @param {string} startDate 2020-04-02
468
+ * @param {string} endDate 2020-05-23
469
+ * @param {number} persons 3
470
+ */
471
+ const listingGetTotalCostForDateSpanAndPersons = ({ startDate, endDate, persons, listingId, }) => {
472
+ const __root = (0, exports.root)();
473
+ const __queries = Object.entries({ startDate, endDate, persons })
474
+ .filter(([_, value]) => {
475
+ return value !== undefined;
476
+ })
477
+ .map(([key, value]) => {
478
+ return `${key}=${value}`;
479
+ })
480
+ .join("&");
481
+ const __path = `${__root}/${`listings/${listingId}/total_cost`}`;
482
+ return __queries ? `${__path}?${__queries}` : __path;
483
+ };
484
+ exports.listingGetTotalCostForDateSpanAndPersons = listingGetTotalCostForDateSpanAndPersons;
485
+ exports.listingGetTotalCostForDateSpanAndPersons.method = "GET";
486
+ /**
487
+ * カレンダーの在庫情報を取得する
488
+ * @param {string} startDate 2020-04-02
489
+ * @param {string} endDate 2020-05-23
490
+ */
491
+ const getCalendarsByListingIdAndDateSpan = ({ startDate, endDate, listingId, }) => {
492
+ const __root = (0, exports.root)();
493
+ const __queries = Object.entries({ startDate, endDate })
494
+ .filter(([_, value]) => {
495
+ return value !== undefined;
496
+ })
497
+ .map(([key, value]) => {
498
+ return `${key}=${value}`;
499
+ })
500
+ .join("&");
501
+ const __path = `${__root}/${`listings/${listingId}/calendar_stocks`}`;
502
+ return __queries ? `${__path}?${__queries}` : __path;
503
+ };
504
+ exports.getCalendarsByListingIdAndDateSpan = getCalendarsByListingIdAndDateSpan;
505
+ exports.getCalendarsByListingIdAndDateSpan.method = "GET";
506
+ /**
507
+ * 地点名及びキーワードなどの条件によるリスティング検索結果を取得する
508
+ * @param {string} locationName 新宿
509
+ * @param {number} radius 5.0
510
+ * @param {string} keywordIds 1,3,10
511
+ * @param {string} layoutTypes 1LDK,2LDK
512
+ * @param {string} listingTypes Apartment,Mansion
513
+ * @param {number} buildYearAfter 1980
514
+ * @param {number} buildYearBefore 2020
515
+ * @param {number} minSize 10.0
516
+ * @param {number} maxSize 50.2
517
+ * @param {number} minNumGuests 1
518
+ * @param {number} maxNumGuests 3
519
+ * @param {number} minCost 1000
520
+ * @param {number} maxCost 20000
521
+ * @param {number} page 0
522
+ * @param {number} itemsPerPage 20
523
+ * @param {string} reservationApprovalRequiredSetting ImmediateReservationRequest
524
+ * @param {number} maxMinuteWalk 5
525
+ * @param {string} listingSaleType onSale
526
+ * @param {string} locale ja
527
+ */
528
+ const searchListingsByLocationNameAndConditions = ({ locationName, radius, keywordIds, layoutTypes, listingTypes, buildYearAfter, buildYearBefore, minSize, maxSize, minNumGuests, maxNumGuests, minCost, maxCost, page, itemsPerPage, reservationApprovalRequiredSetting, maxMinuteWalk, listingSaleType, locale, }) => {
529
+ const __root = (0, exports.root)();
530
+ const __queries = Object.entries({
531
+ locationName,
532
+ radius,
533
+ keywordIds,
534
+ layoutTypes,
535
+ listingTypes,
536
+ buildYearAfter,
537
+ buildYearBefore,
538
+ minSize,
539
+ maxSize,
540
+ minNumGuests,
541
+ maxNumGuests,
542
+ minCost,
543
+ maxCost,
544
+ page,
545
+ itemsPerPage,
546
+ reservationApprovalRequiredSetting,
547
+ maxMinuteWalk,
548
+ listingSaleType,
549
+ locale,
550
+ })
551
+ .filter(([_, value]) => {
552
+ return value !== undefined;
553
+ })
554
+ .map(([key, value]) => {
555
+ return `${key}=${value}`;
556
+ })
557
+ .join("&");
558
+ const __path = `${__root}/${`search_listings/location_name_and_conditions`}`;
559
+ return __queries ? `${__path}?${__queries}` : __path;
560
+ };
561
+ exports.searchListingsByLocationNameAndConditions = searchListingsByLocationNameAndConditions;
562
+ exports.searchListingsByLocationNameAndConditions.method = "GET";
563
+ /**
564
+ * 複数条件によるリスティング検索結果を取得する
565
+ * @param {string} stations 東京駅,池袋駅
566
+ * @param {string} prefecture 東京都
567
+ * @param {string} cities 渋谷区,豊島区
568
+ * @param {string} keywordIds 1,3,10
569
+ * @param {string} layoutTypes 1LDK,2LDK
570
+ * @param {string} listingTypes Apartment,Mansion
571
+ * @param {number} buildYearAfter 1980
572
+ * @param {number} buildYearBefore 2020
573
+ * @param {number} minSize 10.0
574
+ * @param {number} maxSize 50.2
575
+ * @param {number} minNumGuests 1
576
+ * @param {number} maxNumGuests 3
577
+ * @param {number} minCost 1000
578
+ * @param {number} maxCost 20000
579
+ * @param {number} page 0
580
+ * @param {number} itemsPerPage 20
581
+ * @param {string} reservationApprovalRequiredSetting ImmediateReservationRequest
582
+ * @param {number} maxMinuteWalk 5
583
+ * @param {string} listingSaleType onSale
584
+ * @param {string} locale ja
585
+ */
586
+ const searchListingsByMultipleConditions = ({ stations, prefecture, cities, keywordIds, layoutTypes, listingTypes, buildYearAfter, buildYearBefore, minSize, maxSize, minNumGuests, maxNumGuests, minCost, maxCost, page, itemsPerPage, reservationApprovalRequiredSetting, maxMinuteWalk, listingSaleType, locale, }) => {
587
+ const __root = (0, exports.root)();
588
+ const __queries = Object.entries({
589
+ stations,
590
+ prefecture,
591
+ cities,
592
+ keywordIds,
593
+ layoutTypes,
594
+ listingTypes,
595
+ buildYearAfter,
596
+ buildYearBefore,
597
+ minSize,
598
+ maxSize,
599
+ minNumGuests,
600
+ maxNumGuests,
601
+ minCost,
602
+ maxCost,
603
+ page,
604
+ itemsPerPage,
605
+ reservationApprovalRequiredSetting,
606
+ maxMinuteWalk,
607
+ listingSaleType,
608
+ locale,
609
+ })
610
+ .filter(([_, value]) => {
611
+ return value !== undefined;
612
+ })
613
+ .map(([key, value]) => {
614
+ return `${key}=${value}`;
615
+ })
616
+ .join("&");
617
+ const __path = `${__root}/${`search_listings/conditions`}`;
618
+ return __queries ? `${__path}?${__queries}` : __path;
619
+ };
620
+ exports.searchListingsByMultipleConditions = searchListingsByMultipleConditions;
621
+ exports.searchListingsByMultipleConditions.method = "GET";
622
+ /**
623
+ * 地点名及びキーワードなどの条件による部屋タイプ情報を含めたリスティング検索結果を取得する
624
+ * @param {string} locationName 新宿
625
+ * @param {number} radius 5.0
626
+ * @param {string} keywordIds 1,3,10
627
+ * @param {string} layoutTypes 1LDK,2LDK
628
+ * @param {string} listingTypes Apartment,Mansion
629
+ * @param {number} buildYearAfter 1980
630
+ * @param {number} buildYearBefore 2020
631
+ * @param {number} minSize 10.0
632
+ * @param {number} maxSize 50.2
633
+ * @param {number} minNumGuests 1
634
+ * @param {number} maxNumGuests 3
635
+ * @param {number} minCost 1000
636
+ * @param {number} maxCost 20000
637
+ * @param {number} page 0
638
+ * @param {number} itemsPerPage 20
639
+ * @param {string} reservationApprovalRequiredSetting ImmediateReservationRequest
640
+ * @param {number} maxMinuteWalk 5
641
+ * @param {string} listingSaleType onSale
642
+ * @param {string} locale ja
643
+ */
644
+ const searchListingsWithRoomTypeByLocationNameAndMultipleConditions = ({ locationName, radius, keywordIds, layoutTypes, listingTypes, buildYearAfter, buildYearBefore, minSize, maxSize, minNumGuests, maxNumGuests, minCost, maxCost, page, itemsPerPage, reservationApprovalRequiredSetting, maxMinuteWalk, listingSaleType, locale, }) => {
645
+ const __root = (0, exports.root)();
646
+ const __queries = Object.entries({
647
+ locationName,
648
+ radius,
649
+ keywordIds,
650
+ layoutTypes,
651
+ listingTypes,
652
+ buildYearAfter,
653
+ buildYearBefore,
654
+ minSize,
655
+ maxSize,
656
+ minNumGuests,
657
+ maxNumGuests,
658
+ minCost,
659
+ maxCost,
660
+ page,
661
+ itemsPerPage,
662
+ reservationApprovalRequiredSetting,
663
+ maxMinuteWalk,
664
+ listingSaleType,
665
+ locale,
666
+ })
667
+ .filter(([_, value]) => {
668
+ return value !== undefined;
669
+ })
670
+ .map(([key, value]) => {
671
+ return `${key}=${value}`;
672
+ })
673
+ .join("&");
674
+ const __path = `${__root}/${`search_listings_with_room_type/location_name_and_conditions`}`;
675
+ return __queries ? `${__path}?${__queries}` : __path;
676
+ };
677
+ exports.searchListingsWithRoomTypeByLocationNameAndMultipleConditions = searchListingsWithRoomTypeByLocationNameAndMultipleConditions;
678
+ exports.searchListingsWithRoomTypeByLocationNameAndMultipleConditions.method =
679
+ "GET";
680
+ /**
681
+ * セール中の物件をセールタイプ更新日時順に取得する
682
+ * @param {number} page 0
683
+ * @param {number} itemsPerPage 30
684
+ */
685
+ const getSaleTypeOnSaleListingsSortedBySaleTypeUpdatedAtAsc = ({ page, itemsPerPage, }) => {
686
+ const __root = (0, exports.root)();
687
+ const __queries = Object.entries({ page, itemsPerPage })
688
+ .filter(([_, value]) => {
689
+ return value !== undefined;
690
+ })
691
+ .map(([key, value]) => {
692
+ return `${key}=${value}`;
693
+ })
694
+ .join("&");
695
+ const __path = `${__root}/${`sale_listings/sort_by_sale_updated_at`}`;
696
+ return __queries ? `${__path}?${__queries}` : __path;
697
+ };
698
+ exports.getSaleTypeOnSaleListingsSortedBySaleTypeUpdatedAtAsc = getSaleTypeOnSaleListingsSortedBySaleTypeUpdatedAtAsc;
699
+ exports.getSaleTypeOnSaleListingsSortedBySaleTypeUpdatedAtAsc.method = "GET";
700
+ /**
701
+ * メールアドレスとパスワードでサインアップする
702
+ *
703
+ */
704
+ const guestUserSignUpWithPassword = () => {
705
+ const __root = (0, exports.root)();
706
+ const __queries = Object.entries({})
707
+ .filter(([_, value]) => {
708
+ return value !== undefined;
709
+ })
710
+ .map(([key, value]) => {
711
+ return `${key}=${value}`;
712
+ })
713
+ .join("&");
714
+ const __path = `${__root}/${`guestUsers/signup_with_password`}`;
715
+ return __queries ? `${__path}?${__queries}` : __path;
716
+ };
717
+ exports.guestUserSignUpWithPassword = guestUserSignUpWithPassword;
718
+ exports.guestUserSignUpWithPassword.method = "POST";
719
+ /**
720
+ * OAuthを使ってサインアップする
721
+ *
722
+ */
723
+ const guestuserSignUpWithOAuth = () => {
724
+ const __root = (0, exports.root)();
725
+ const __queries = Object.entries({})
726
+ .filter(([_, value]) => {
727
+ return value !== undefined;
728
+ })
729
+ .map(([key, value]) => {
730
+ return `${key}=${value}`;
731
+ })
732
+ .join("&");
733
+ const __path = `${__root}/${`guestUsers/signup_with_oauth`}`;
734
+ return __queries ? `${__path}?${__queries}` : __path;
735
+ };
736
+ exports.guestuserSignUpWithOAuth = guestuserSignUpWithOAuth;
737
+ exports.guestuserSignUpWithOAuth.method = "POST";
738
+ /**
739
+ * メールアドレスとパスワードでサインインする
740
+ *
741
+ */
742
+ const guestUserSigninWithPassword = () => {
743
+ const __root = (0, exports.root)();
744
+ const __queries = Object.entries({})
745
+ .filter(([_, value]) => {
746
+ return value !== undefined;
747
+ })
748
+ .map(([key, value]) => {
749
+ return `${key}=${value}`;
750
+ })
751
+ .join("&");
752
+ const __path = `${__root}/${`guestUsers/signin_with_password`}`;
753
+ return __queries ? `${__path}?${__queries}` : __path;
754
+ };
755
+ exports.guestUserSigninWithPassword = guestUserSigninWithPassword;
756
+ exports.guestUserSigninWithPassword.method = "POST";
757
+ /**
758
+ * OAuthでサインインする
759
+ *
760
+ */
761
+ const guestUserSigninWithOAuth = () => {
762
+ const __root = (0, exports.root)();
763
+ const __queries = Object.entries({})
764
+ .filter(([_, value]) => {
765
+ return value !== undefined;
766
+ })
767
+ .map(([key, value]) => {
768
+ return `${key}=${value}`;
769
+ })
770
+ .join("&");
771
+ const __path = `${__root}/${`guestUsers/signin_with_oauth`}`;
772
+ return __queries ? `${__path}?${__queries}` : __path;
773
+ };
774
+ exports.guestUserSigninWithOAuth = guestUserSigninWithOAuth;
775
+ exports.guestUserSigninWithOAuth.method = "POST";
776
+ /**
777
+ * パスワードリセットを行うメールを送信する
778
+ *
779
+ */
780
+ const guestUserSendPasswordResetEmail = () => {
781
+ const __root = (0, exports.root)();
782
+ const __queries = Object.entries({})
783
+ .filter(([_, value]) => {
784
+ return value !== undefined;
785
+ })
786
+ .map(([key, value]) => {
787
+ return `${key}=${value}`;
788
+ })
789
+ .join("&");
790
+ const __path = `${__root}/${`guestUsers/send_password_reset_email`}`;
791
+ return __queries ? `${__path}?${__queries}` : __path;
792
+ };
793
+ exports.guestUserSendPasswordResetEmail = guestUserSendPasswordResetEmail;
794
+ exports.guestUserSendPasswordResetEmail.method = "POST";
795
+ /**
796
+ * パスワードをリセットする
797
+ *
798
+ */
799
+ const guestUserResetPassword = () => {
800
+ const __root = (0, exports.root)();
801
+ const __queries = Object.entries({})
802
+ .filter(([_, value]) => {
803
+ return value !== undefined;
804
+ })
805
+ .map(([key, value]) => {
806
+ return `${key}=${value}`;
807
+ })
808
+ .join("&");
809
+ const __path = `${__root}/${`guestUsers/reset_password`}`;
810
+ return __queries ? `${__path}?${__queries}` : __path;
811
+ };
812
+ exports.guestUserResetPassword = guestUserResetPassword;
813
+ exports.guestUserResetPassword.method = "POST";
814
+ /**
815
+ * 問い合わせとゲストの紐付けを行う
816
+ * @param {string} token foo
817
+ */
818
+ const guestUserAssociateWithInquiry = ({ token, }) => {
819
+ const __root = (0, exports.root)();
820
+ const __queries = Object.entries({ token })
821
+ .filter(([_, value]) => {
822
+ return value !== undefined;
823
+ })
824
+ .map(([key, value]) => {
825
+ return `${key}=${value}`;
826
+ })
827
+ .join("&");
828
+ const __path = `${__root}/${`guestUsers/associate_with_inquiry`}`;
829
+ return __queries ? `${__path}?${__queries}` : __path;
830
+ };
831
+ exports.guestUserAssociateWithInquiry = guestUserAssociateWithInquiry;
832
+ exports.guestUserAssociateWithInquiry.method = "POST";
833
+ /**
834
+ * ゲストが今すぐ予約を行う
835
+ *
836
+ */
837
+ const reservationReserveImmediately = () => {
838
+ const __root = (0, exports.root)();
839
+ const __queries = Object.entries({})
840
+ .filter(([_, value]) => {
841
+ return value !== undefined;
842
+ })
843
+ .map(([key, value]) => {
844
+ return `${key}=${value}`;
845
+ })
846
+ .join("&");
847
+ const __path = `${__root}/${`reservations/reserve_immediately`}`;
848
+ return __queries ? `${__path}?${__queries}` : __path;
849
+ };
850
+ exports.reservationReserveImmediately = reservationReserveImmediately;
851
+ exports.reservationReserveImmediately.method = "POST";
852
+ /**
853
+ * 問い合わせIDに紐づくゲスト情報提出通知の購読を行う
854
+ *
855
+ */
856
+ const notificationsGuestInformationSubmittedSubscribeByInquiryId = () => {
857
+ const __root = (0, exports.root)();
858
+ const __queries = Object.entries({})
859
+ .filter(([_, value]) => {
860
+ return value !== undefined;
861
+ })
862
+ .map(([key, value]) => {
863
+ return `${key}=${value}`;
864
+ })
865
+ .join("&");
866
+ const __path = `${__root}/${`manager/notifications/guest_information_submitted/subscribe`}`;
867
+ return __queries ? `${__path}?${__queries}` : __path;
868
+ };
869
+ exports.notificationsGuestInformationSubmittedSubscribeByInquiryId = notificationsGuestInformationSubmittedSubscribeByInquiryId;
870
+ exports.notificationsGuestInformationSubmittedSubscribeByInquiryId.method =
871
+ "POST";
872
+ /**
873
+ * 問い合わせIDに紐づくゲスト情報提出通知の購読を解除する
874
+ *
875
+ */
876
+ const notificationsGuestInformationSubmittedUnsubscribeByInquiryId = () => {
877
+ const __root = (0, exports.root)();
878
+ const __queries = Object.entries({})
879
+ .filter(([_, value]) => {
880
+ return value !== undefined;
881
+ })
882
+ .map(([key, value]) => {
883
+ return `${key}=${value}`;
884
+ })
885
+ .join("&");
886
+ const __path = `${__root}/${`manager/notifications/guest_information_submitted/unsubscribe`}`;
887
+ return __queries ? `${__path}?${__queries}` : __path;
888
+ };
889
+ exports.notificationsGuestInformationSubmittedUnsubscribeByInquiryId = notificationsGuestInformationSubmittedUnsubscribeByInquiryId;
890
+ exports.notificationsGuestInformationSubmittedUnsubscribeByInquiryId.method =
891
+ "POST";
892
+ /**
893
+ * ゲスト情報提出通知の購読を行う
894
+ *
895
+ */
896
+ const notificationsGuestInformationSubmittedSubscribe = () => {
897
+ const __root = (0, exports.root)();
898
+ const __queries = Object.entries({})
899
+ .filter(([_, value]) => {
900
+ return value !== undefined;
901
+ })
902
+ .map(([key, value]) => {
903
+ return `${key}=${value}`;
904
+ })
905
+ .join("&");
906
+ const __path = `${__root}/${`manager/notifications/guest_information_submitted/subscribe_all`}`;
907
+ return __queries ? `${__path}?${__queries}` : __path;
908
+ };
909
+ exports.notificationsGuestInformationSubmittedSubscribe = notificationsGuestInformationSubmittedSubscribe;
910
+ exports.notificationsGuestInformationSubmittedSubscribe.method = "POST";
911
+ /**
912
+ * ゲスト情報提出通知の購読を解除する
913
+ *
914
+ */
915
+ const notificationsGuestInformationSubmittedUnsubscribe = () => {
916
+ const __root = (0, exports.root)();
917
+ const __queries = Object.entries({})
918
+ .filter(([_, value]) => {
919
+ return value !== undefined;
920
+ })
921
+ .map(([key, value]) => {
922
+ return `${key}=${value}`;
923
+ })
924
+ .join("&");
925
+ const __path = `${__root}/${`manager/notifications/guest_information_submitted/unsubscribe_all`}`;
926
+ return __queries ? `${__path}?${__queries}` : __path;
927
+ };
928
+ exports.notificationsGuestInformationSubmittedUnsubscribe = notificationsGuestInformationSubmittedUnsubscribe;
929
+ exports.notificationsGuestInformationSubmittedUnsubscribe.method = "POST";
930
+ /**
931
+ * 問い合わせIDに決済完了通知の購読を行う
932
+ *
933
+ */
934
+ const notificationsPaymentCompletedSubscribeByPaymentOrderId = () => {
935
+ const __root = (0, exports.root)();
936
+ const __queries = Object.entries({})
937
+ .filter(([_, value]) => {
938
+ return value !== undefined;
939
+ })
940
+ .map(([key, value]) => {
941
+ return `${key}=${value}`;
942
+ })
943
+ .join("&");
944
+ const __path = `${__root}/${`manager/notifications/payment_completed/subscribe`}`;
945
+ return __queries ? `${__path}?${__queries}` : __path;
946
+ };
947
+ exports.notificationsPaymentCompletedSubscribeByPaymentOrderId = notificationsPaymentCompletedSubscribeByPaymentOrderId;
948
+ exports.notificationsPaymentCompletedSubscribeByPaymentOrderId.method = "POST";
949
+ /**
950
+ * 問い合わせIDに決済完了通知の購読を解除する
951
+ *
952
+ */
953
+ const notificationsPaymentCompletedUnsubscribeByPaymentOrderId = () => {
954
+ const __root = (0, exports.root)();
955
+ const __queries = Object.entries({})
956
+ .filter(([_, value]) => {
957
+ return value !== undefined;
958
+ })
959
+ .map(([key, value]) => {
960
+ return `${key}=${value}`;
961
+ })
962
+ .join("&");
963
+ const __path = `${__root}/${`manager/notifications/payment_completed/unsubscribe`}`;
964
+ return __queries ? `${__path}?${__queries}` : __path;
965
+ };
966
+ exports.notificationsPaymentCompletedUnsubscribeByPaymentOrderId = notificationsPaymentCompletedUnsubscribeByPaymentOrderId;
967
+ exports.notificationsPaymentCompletedUnsubscribeByPaymentOrderId.method =
968
+ "POST";
969
+ /**
970
+ * 決済完了通知の購読を行う
971
+ *
972
+ */
973
+ const notificationsPaymentCompletedSubscribe = () => {
974
+ const __root = (0, exports.root)();
975
+ const __queries = Object.entries({})
976
+ .filter(([_, value]) => {
977
+ return value !== undefined;
978
+ })
979
+ .map(([key, value]) => {
980
+ return `${key}=${value}`;
981
+ })
982
+ .join("&");
983
+ const __path = `${__root}/${`manager/notifications/payment_completed/subscribe_all`}`;
984
+ return __queries ? `${__path}?${__queries}` : __path;
985
+ };
986
+ exports.notificationsPaymentCompletedSubscribe = notificationsPaymentCompletedSubscribe;
987
+ exports.notificationsPaymentCompletedSubscribe.method = "POST";
988
+ /**
989
+ * 決済完了通知の購読を解除する
990
+ *
991
+ */
992
+ const notificationsPaymentCompletedUnsubscribe = () => {
993
+ const __root = (0, exports.root)();
994
+ const __queries = Object.entries({})
995
+ .filter(([_, value]) => {
996
+ return value !== undefined;
997
+ })
998
+ .map(([key, value]) => {
999
+ return `${key}=${value}`;
1000
+ })
1001
+ .join("&");
1002
+ const __path = `${__root}/${`manager/notifications/payment_completed/unsubscribe_all`}`;
1003
+ return __queries ? `${__path}?${__queries}` : __path;
1004
+ };
1005
+ exports.notificationsPaymentCompletedUnsubscribe = notificationsPaymentCompletedUnsubscribe;
1006
+ exports.notificationsPaymentCompletedUnsubscribe.method = "POST";
1007
+ /**
1008
+ * 問い合わせIDに決済失敗通知の購読を行う
1009
+ *
1010
+ */
1011
+ const notificationsPaymentFailedSubscribeByPaymentOrderId = () => {
1012
+ const __root = (0, exports.root)();
1013
+ const __queries = Object.entries({})
1014
+ .filter(([_, value]) => {
1015
+ return value !== undefined;
1016
+ })
1017
+ .map(([key, value]) => {
1018
+ return `${key}=${value}`;
1019
+ })
1020
+ .join("&");
1021
+ const __path = `${__root}/${`manager/notifications/payment_failed/subscribe`}`;
1022
+ return __queries ? `${__path}?${__queries}` : __path;
1023
+ };
1024
+ exports.notificationsPaymentFailedSubscribeByPaymentOrderId = notificationsPaymentFailedSubscribeByPaymentOrderId;
1025
+ exports.notificationsPaymentFailedSubscribeByPaymentOrderId.method = "POST";
1026
+ /**
1027
+ * 問い合わせIDに決済失敗通知の購読を解除する
1028
+ *
1029
+ */
1030
+ const notificationsPaymentFailedUnsubscribeByPaymentOrderId = () => {
1031
+ const __root = (0, exports.root)();
1032
+ const __queries = Object.entries({})
1033
+ .filter(([_, value]) => {
1034
+ return value !== undefined;
1035
+ })
1036
+ .map(([key, value]) => {
1037
+ return `${key}=${value}`;
1038
+ })
1039
+ .join("&");
1040
+ const __path = `${__root}/${`manager/notifications/payment_failed/unsubscribe`}`;
1041
+ return __queries ? `${__path}?${__queries}` : __path;
1042
+ };
1043
+ exports.notificationsPaymentFailedUnsubscribeByPaymentOrderId = notificationsPaymentFailedUnsubscribeByPaymentOrderId;
1044
+ exports.notificationsPaymentFailedUnsubscribeByPaymentOrderId.method = "POST";
1045
+ /**
1046
+ * 決済失敗通知の購読を行う
1047
+ *
1048
+ */
1049
+ const notificationsPaymentFailedSubscribe = () => {
1050
+ const __root = (0, exports.root)();
1051
+ const __queries = Object.entries({})
1052
+ .filter(([_, value]) => {
1053
+ return value !== undefined;
1054
+ })
1055
+ .map(([key, value]) => {
1056
+ return `${key}=${value}`;
1057
+ })
1058
+ .join("&");
1059
+ const __path = `${__root}/${`manager/notifications/payment_failed/subscribe_all`}`;
1060
+ return __queries ? `${__path}?${__queries}` : __path;
1061
+ };
1062
+ exports.notificationsPaymentFailedSubscribe = notificationsPaymentFailedSubscribe;
1063
+ exports.notificationsPaymentFailedSubscribe.method = "POST";
1064
+ /**
1065
+ * 決済失敗通知の購読を解除する
1066
+ *
1067
+ */
1068
+ const notificationsPaymentFailedUnsubscribe = () => {
1069
+ const __root = (0, exports.root)();
1070
+ const __queries = Object.entries({})
1071
+ .filter(([_, value]) => {
1072
+ return value !== undefined;
1073
+ })
1074
+ .map(([key, value]) => {
1075
+ return `${key}=${value}`;
1076
+ })
1077
+ .join("&");
1078
+ const __path = `${__root}/${`manager/notifications/payment_failed/unsubscribe_all`}`;
1079
+ return __queries ? `${__path}?${__queries}` : __path;
1080
+ };
1081
+ exports.notificationsPaymentFailedUnsubscribe = notificationsPaymentFailedUnsubscribe;
1082
+ exports.notificationsPaymentFailedUnsubscribe.method = "POST";
1083
+ /**
1084
+ * マンスリー業者が下書き状態のリスティングを作成する
1085
+ *
1086
+ */
1087
+ const managerListingCreateNotReady = () => {
1088
+ const __root = (0, exports.root)();
1089
+ const __queries = Object.entries({})
1090
+ .filter(([_, value]) => {
1091
+ return value !== undefined;
1092
+ })
1093
+ .map(([key, value]) => {
1094
+ return `${key}=${value}`;
1095
+ })
1096
+ .join("&");
1097
+ const __path = `${__root}/${`manager/listings`}`;
1098
+ return __queries ? `${__path}?${__queries}` : __path;
1099
+ };
1100
+ exports.managerListingCreateNotReady = managerListingCreateNotReady;
1101
+ exports.managerListingCreateNotReady.method = "POST";
1102
+ /**
1103
+ * マンスリー業者が自社のリスティングの一覧を取得する
1104
+ * @param {number} page 0
1105
+ * @param {number} itemsPerPage 100
1106
+ */
1107
+ const managerListingList = ({ page, itemsPerPage, }) => {
1108
+ const __root = (0, exports.root)();
1109
+ const __queries = Object.entries({ page, itemsPerPage })
1110
+ .filter(([_, value]) => {
1111
+ return value !== undefined;
1112
+ })
1113
+ .map(([key, value]) => {
1114
+ return `${key}=${value}`;
1115
+ })
1116
+ .join("&");
1117
+ const __path = `${__root}/${`manager/listings`}`;
1118
+ return __queries ? `${__path}?${__queries}` : __path;
1119
+ };
1120
+ exports.managerListingList = managerListingList;
1121
+ exports.managerListingList.method = "GET";
1122
+ /**
1123
+ * マンスリー業者が自社のリスティングを更新する
1124
+ *
1125
+ */
1126
+ const managerListingUpdate = ({ listingId }) => {
1127
+ const __root = (0, exports.root)();
1128
+ const __queries = Object.entries({})
1129
+ .filter(([_, value]) => {
1130
+ return value !== undefined;
1131
+ })
1132
+ .map(([key, value]) => {
1133
+ return `${key}=${value}`;
1134
+ })
1135
+ .join("&");
1136
+ const __path = `${__root}/${`manager/listings/${listingId}`}`;
1137
+ return __queries ? `${__path}?${__queries}` : __path;
1138
+ };
1139
+ exports.managerListingUpdate = managerListingUpdate;
1140
+ exports.managerListingUpdate.method = "PUT";
1141
+ /**
1142
+ * マンスリー業者が自社のリスティングを部分更新する
1143
+ *
1144
+ */
1145
+ const managerListingPatch = ({ listingId }) => {
1146
+ const __root = (0, exports.root)();
1147
+ const __queries = Object.entries({})
1148
+ .filter(([_, value]) => {
1149
+ return value !== undefined;
1150
+ })
1151
+ .map(([key, value]) => {
1152
+ return `${key}=${value}`;
1153
+ })
1154
+ .join("&");
1155
+ const __path = `${__root}/${`manager/listings/${listingId}`}`;
1156
+ return __queries ? `${__path}?${__queries}` : __path;
1157
+ };
1158
+ exports.managerListingPatch = managerListingPatch;
1159
+ exports.managerListingPatch.method = "PATCH";
1160
+ /**
1161
+ * マンスリー業者が自社のリスティングを取得する
1162
+ *
1163
+ */
1164
+ const managerListingGet = ({ listingId }) => {
1165
+ const __root = (0, exports.root)();
1166
+ const __queries = Object.entries({})
1167
+ .filter(([_, value]) => {
1168
+ return value !== undefined;
1169
+ })
1170
+ .map(([key, value]) => {
1171
+ return `${key}=${value}`;
1172
+ })
1173
+ .join("&");
1174
+ const __path = `${__root}/${`manager/listings/${listingId}`}`;
1175
+ return __queries ? `${__path}?${__queries}` : __path;
1176
+ };
1177
+ exports.managerListingGet = managerListingGet;
1178
+ exports.managerListingGet.method = "GET";
1179
+ /**
1180
+ * マンスリー業者が自社のリスティングを登録申請する
1181
+ *
1182
+ */
1183
+ const managerListingRequestForRegistration = ({ listingId, }) => {
1184
+ const __root = (0, exports.root)();
1185
+ const __queries = Object.entries({})
1186
+ .filter(([_, value]) => {
1187
+ return value !== undefined;
1188
+ })
1189
+ .map(([key, value]) => {
1190
+ return `${key}=${value}`;
1191
+ })
1192
+ .join("&");
1193
+ const __path = `${__root}/${`manager/listings/${listingId}/registration_request`}`;
1194
+ return __queries ? `${__path}?${__queries}` : __path;
1195
+ };
1196
+ exports.managerListingRequestForRegistration = managerListingRequestForRegistration;
1197
+ exports.managerListingRequestForRegistration.method = "POST";
1198
+ /**
1199
+ * マンスリー業者がリスティング登録申請を取り下げる
1200
+ *
1201
+ */
1202
+ const managerListingWithdrawRegistrationRequest = ({ listingId, }) => {
1203
+ const __root = (0, exports.root)();
1204
+ const __queries = Object.entries({})
1205
+ .filter(([_, value]) => {
1206
+ return value !== undefined;
1207
+ })
1208
+ .map(([key, value]) => {
1209
+ return `${key}=${value}`;
1210
+ })
1211
+ .join("&");
1212
+ const __path = `${__root}/${`manager/listings/${listingId}/registration_request`}`;
1213
+ return __queries ? `${__path}?${__queries}` : __path;
1214
+ };
1215
+ exports.managerListingWithdrawRegistrationRequest = managerListingWithdrawRegistrationRequest;
1216
+ exports.managerListingWithdrawRegistrationRequest.method = "DELETE";
1217
+ /**
1218
+ * マンスリー業者が自社のリスティングを公開可能状態にする
1219
+ *
1220
+ */
1221
+ const managerListingOpen = ({ listingId }) => {
1222
+ const __root = (0, exports.root)();
1223
+ const __queries = Object.entries({})
1224
+ .filter(([_, value]) => {
1225
+ return value !== undefined;
1226
+ })
1227
+ .map(([key, value]) => {
1228
+ return `${key}=${value}`;
1229
+ })
1230
+ .join("&");
1231
+ const __path = `${__root}/${`manager/listings/${listingId}/open`}`;
1232
+ return __queries ? `${__path}?${__queries}` : __path;
1233
+ };
1234
+ exports.managerListingOpen = managerListingOpen;
1235
+ exports.managerListingOpen.method = "POST";
1236
+ /**
1237
+ * マンスリー業者が自社のリスティングの公開を停止する
1238
+ *
1239
+ */
1240
+ const managerListingClose = ({ listingId }) => {
1241
+ const __root = (0, exports.root)();
1242
+ const __queries = Object.entries({})
1243
+ .filter(([_, value]) => {
1244
+ return value !== undefined;
1245
+ })
1246
+ .map(([key, value]) => {
1247
+ return `${key}=${value}`;
1248
+ })
1249
+ .join("&");
1250
+ const __path = `${__root}/${`manager/listings/${listingId}/close`}`;
1251
+ return __queries ? `${__path}?${__queries}` : __path;
1252
+ };
1253
+ exports.managerListingClose = managerListingClose;
1254
+ exports.managerListingClose.method = "POST";
1255
+ /**
1256
+ * m2m-coreからのインポートによりリスティングを作成する
1257
+ *
1258
+ */
1259
+ const managerListingCreateFromM2mCore = ({ listingId, }) => {
1260
+ const __root = (0, exports.root)();
1261
+ const __queries = Object.entries({})
1262
+ .filter(([_, value]) => {
1263
+ return value !== undefined;
1264
+ })
1265
+ .map(([key, value]) => {
1266
+ return `${key}=${value}`;
1267
+ })
1268
+ .join("&");
1269
+ const __path = `${__root}/${`manager/listings/${listingId}/m2m_core`}`;
1270
+ return __queries ? `${__path}?${__queries}` : __path;
1271
+ };
1272
+ exports.managerListingCreateFromM2mCore = managerListingCreateFromM2mCore;
1273
+ exports.managerListingCreateFromM2mCore.method = "POST";
1274
+ /**
1275
+ * m2m-coreと連携しているsumycaのリスティングの連携情報を取得する
1276
+ *
1277
+ */
1278
+ const managerListingM2mCoreListingRelations = ({ listingId, }) => {
1279
+ const __root = (0, exports.root)();
1280
+ const __queries = Object.entries({})
1281
+ .filter(([_, value]) => {
1282
+ return value !== undefined;
1283
+ })
1284
+ .map(([key, value]) => {
1285
+ return `${key}=${value}`;
1286
+ })
1287
+ .join("&");
1288
+ const __path = `${__root}/${`manager/listings/${listingId}/m2m_core_listing_relations`}`;
1289
+ return __queries ? `${__path}?${__queries}` : __path;
1290
+ };
1291
+ exports.managerListingM2mCoreListingRelations = managerListingM2mCoreListingRelations;
1292
+ exports.managerListingM2mCoreListingRelations.method = "GET";
1293
+ /**
1294
+ * リスティング画像の表示順を更新する
1295
+ *
1296
+ */
1297
+ const managerListingUpdateImageOrder = ({ listingId, }) => {
1298
+ const __root = (0, exports.root)();
1299
+ const __queries = Object.entries({})
1300
+ .filter(([_, value]) => {
1301
+ return value !== undefined;
1302
+ })
1303
+ .map(([key, value]) => {
1304
+ return `${key}=${value}`;
1305
+ })
1306
+ .join("&");
1307
+ const __path = `${__root}/${`manager/listings/${listingId}/image_order`}`;
1308
+ return __queries ? `${__path}?${__queries}` : __path;
1309
+ };
1310
+ exports.managerListingUpdateImageOrder = managerListingUpdateImageOrder;
1311
+ exports.managerListingUpdateImageOrder.method = "PUT";
1312
+ /**
1313
+ * リスティングのメイン画像をアップロードする
1314
+ *
1315
+ */
1316
+ const managerListingUploadMainImage = ({ listingId, }) => {
1317
+ const __root = (0, exports.root)();
1318
+ const __queries = Object.entries({})
1319
+ .filter(([_, value]) => {
1320
+ return value !== undefined;
1321
+ })
1322
+ .map(([key, value]) => {
1323
+ return `${key}=${value}`;
1324
+ })
1325
+ .join("&");
1326
+ const __path = `${__root}/${`manager/listings/${listingId}/main_image`}`;
1327
+ return __queries ? `${__path}?${__queries}` : __path;
1328
+ };
1329
+ exports.managerListingUploadMainImage = managerListingUploadMainImage;
1330
+ exports.managerListingUploadMainImage.method = "POST";
1331
+ /**
1332
+ * リスティングの間取り図画像をアップロードする
1333
+ *
1334
+ */
1335
+ const managerListingUploadLayoutImage = ({ listingId, }) => {
1336
+ const __root = (0, exports.root)();
1337
+ const __queries = Object.entries({})
1338
+ .filter(([_, value]) => {
1339
+ return value !== undefined;
1340
+ })
1341
+ .map(([key, value]) => {
1342
+ return `${key}=${value}`;
1343
+ })
1344
+ .join("&");
1345
+ const __path = `${__root}/${`manager/listings/${listingId}/layout_image`}`;
1346
+ return __queries ? `${__path}?${__queries}` : __path;
1347
+ };
1348
+ exports.managerListingUploadLayoutImage = managerListingUploadLayoutImage;
1349
+ exports.managerListingUploadLayoutImage.method = "POST";
1350
+ /**
1351
+ * リスティングの間取り図画像を削除する
1352
+ *
1353
+ */
1354
+ const managerListingDeleteLayoutImage = ({ listingId, }) => {
1355
+ const __root = (0, exports.root)();
1356
+ const __queries = Object.entries({})
1357
+ .filter(([_, value]) => {
1358
+ return value !== undefined;
1359
+ })
1360
+ .map(([key, value]) => {
1361
+ return `${key}=${value}`;
1362
+ })
1363
+ .join("&");
1364
+ const __path = `${__root}/${`manager/listings/${listingId}/layout_image`}`;
1365
+ return __queries ? `${__path}?${__queries}` : __path;
1366
+ };
1367
+ exports.managerListingDeleteLayoutImage = managerListingDeleteLayoutImage;
1368
+ exports.managerListingDeleteLayoutImage.method = "DELETE";
1369
+ /**
1370
+ * リスティングに画像を追加する
1371
+ *
1372
+ */
1373
+ const managerListingAddImage = ({ listingId, }) => {
1374
+ const __root = (0, exports.root)();
1375
+ const __queries = Object.entries({})
1376
+ .filter(([_, value]) => {
1377
+ return value !== undefined;
1378
+ })
1379
+ .map(([key, value]) => {
1380
+ return `${key}=${value}`;
1381
+ })
1382
+ .join("&");
1383
+ const __path = `${__root}/${`manager/listings/${listingId}/images`}`;
1384
+ return __queries ? `${__path}?${__queries}` : __path;
1385
+ };
1386
+ exports.managerListingAddImage = managerListingAddImage;
1387
+ exports.managerListingAddImage.method = "POST";
1388
+ /**
1389
+ * リスティングのカレンダー同期設定を取得する
1390
+ *
1391
+ */
1392
+ const managerListingCalendarSyncSettingsGet = ({ listingId, }) => {
1393
+ const __root = (0, exports.root)();
1394
+ const __queries = Object.entries({})
1395
+ .filter(([_, value]) => {
1396
+ return value !== undefined;
1397
+ })
1398
+ .map(([key, value]) => {
1399
+ return `${key}=${value}`;
1400
+ })
1401
+ .join("&");
1402
+ const __path = `${__root}/${`manager/listings/${listingId}/calendar_sync_setting`}`;
1403
+ return __queries ? `${__path}?${__queries}` : __path;
1404
+ };
1405
+ exports.managerListingCalendarSyncSettingsGet = managerListingCalendarSyncSettingsGet;
1406
+ exports.managerListingCalendarSyncSettingsGet.method = "GET";
1407
+ /**
1408
+ * リスティングのカレンダー同期設定を更新する
1409
+ *
1410
+ */
1411
+ const managerListingCalendarSyncSettingsPut = ({ listingId, }) => {
1412
+ const __root = (0, exports.root)();
1413
+ const __queries = Object.entries({})
1414
+ .filter(([_, value]) => {
1415
+ return value !== undefined;
1416
+ })
1417
+ .map(([key, value]) => {
1418
+ return `${key}=${value}`;
1419
+ })
1420
+ .join("&");
1421
+ const __path = `${__root}/${`manager/listings/${listingId}/calendar_sync_setting`}`;
1422
+ return __queries ? `${__path}?${__queries}` : __path;
1423
+ };
1424
+ exports.managerListingCalendarSyncSettingsPut = managerListingCalendarSyncSettingsPut;
1425
+ exports.managerListingCalendarSyncSettingsPut.method = "PUT";
1426
+ /**
1427
+ * リスティングを検索する
1428
+ * @param {string} keywordIds 1,3,10
1429
+ * @param {string} layoutTypes 1LDK,2LDK
1430
+ * @param {string} listingTypes Apartment,Mansion
1431
+ * @param {number} buildYearAfter 1980
1432
+ * @param {number} buildYearBefore 2020
1433
+ * @param {number} minSize 10.0
1434
+ * @param {number} maxSize 50.2
1435
+ * @param {number} minNumGuests 1
1436
+ * @param {number} maxNumGuests 3
1437
+ * @param {number} minCost 1000
1438
+ * @param {number} maxCost 20000
1439
+ * @param {number} page 0
1440
+ * @param {number} itemsPerPage 20
1441
+ * @param {number} maxMinuteWalk 5
1442
+ * @param {string} listingName elm
1443
+ * @param {string} prefectureName 東京都
1444
+ * @param {string} cityName 新宿区
1445
+ * @param {string} stationName 新宿駅
1446
+ * @param {number} singleBedNum 1
1447
+ * @param {number} semiDoubleBedNum 1
1448
+ * @param {number} doubleBedNum 1
1449
+ * @param {number} queenBedNum 1
1450
+ * @param {number} kingBedNum 1
1451
+ * @param {number} futonNum 1
1452
+ * @param {string} listingNameForManage elm
1453
+ * @param {string} listingSaleType onSale
1454
+ * @param {string} reservationApprovalRequiredSetting ImmediateReservationRequest
1455
+ */
1456
+ const mangerListingSearch = ({ keywordIds, layoutTypes, listingTypes, buildYearAfter, buildYearBefore, minSize, maxSize, minNumGuests, maxNumGuests, minCost, maxCost, page, itemsPerPage, maxMinuteWalk, listingName, prefectureName, cityName, stationName, singleBedNum, semiDoubleBedNum, doubleBedNum, queenBedNum, kingBedNum, futonNum, listingNameForManage, listingSaleType, reservationApprovalRequiredSetting, }) => {
1457
+ const __root = (0, exports.root)();
1458
+ const __queries = Object.entries({
1459
+ keywordIds,
1460
+ layoutTypes,
1461
+ listingTypes,
1462
+ buildYearAfter,
1463
+ buildYearBefore,
1464
+ minSize,
1465
+ maxSize,
1466
+ minNumGuests,
1467
+ maxNumGuests,
1468
+ minCost,
1469
+ maxCost,
1470
+ page,
1471
+ itemsPerPage,
1472
+ maxMinuteWalk,
1473
+ listingName,
1474
+ prefectureName,
1475
+ cityName,
1476
+ stationName,
1477
+ singleBedNum,
1478
+ semiDoubleBedNum,
1479
+ doubleBedNum,
1480
+ queenBedNum,
1481
+ kingBedNum,
1482
+ futonNum,
1483
+ listingNameForManage,
1484
+ listingSaleType,
1485
+ reservationApprovalRequiredSetting,
1486
+ })
1487
+ .filter(([_, value]) => {
1488
+ return value !== undefined;
1489
+ })
1490
+ .map(([key, value]) => {
1491
+ return `${key}=${value}`;
1492
+ })
1493
+ .join("&");
1494
+ const __path = `${__root}/${`manager/listings/search`}`;
1495
+ return __queries ? `${__path}?${__queries}` : __path;
1496
+ };
1497
+ exports.mangerListingSearch = mangerListingSearch;
1498
+ exports.mangerListingSearch.method = "GET";
1499
+ /**
1500
+ * 指定したidとlocaleのリスティングのローカライズデータを削除する
1501
+ *
1502
+ */
1503
+ const managerListingDeleteLocalizedData = ({ listingId, locale, }) => {
1504
+ const __root = (0, exports.root)();
1505
+ const __queries = Object.entries({})
1506
+ .filter(([_, value]) => {
1507
+ return value !== undefined;
1508
+ })
1509
+ .map(([key, value]) => {
1510
+ return `${key}=${value}`;
1511
+ })
1512
+ .join("&");
1513
+ const __path = `${__root}/${`manager/listings/${listingId}/${locale}`}`;
1514
+ return __queries ? `${__path}?${__queries}` : __path;
1515
+ };
1516
+ exports.managerListingDeleteLocalizedData = managerListingDeleteLocalizedData;
1517
+ exports.managerListingDeleteLocalizedData.method = "DELETE";
1518
+ /**
1519
+ * idの配列を受け取りlistingのkeywordに一括追加する
1520
+ *
1521
+ */
1522
+ const managerListingPutKeyword = ({ listingId, }) => {
1523
+ const __root = (0, exports.root)();
1524
+ const __queries = Object.entries({})
1525
+ .filter(([_, value]) => {
1526
+ return value !== undefined;
1527
+ })
1528
+ .map(([key, value]) => {
1529
+ return `${key}=${value}`;
1530
+ })
1531
+ .join("&");
1532
+ const __path = `${__root}/${`manager/listings/${listingId}/keyword`}`;
1533
+ return __queries ? `${__path}?${__queries}` : __path;
1534
+ };
1535
+ exports.managerListingPutKeyword = managerListingPutKeyword;
1536
+ exports.managerListingPutKeyword.method = "PUT";
1537
+ /**
1538
+ * idの配列を受け取りlistingの該当するkeywordを一括削除する
1539
+ *
1540
+ */
1541
+ const managerListingPutKeywordRemove = ({ listingId, }) => {
1542
+ const __root = (0, exports.root)();
1543
+ const __queries = Object.entries({})
1544
+ .filter(([_, value]) => {
1545
+ return value !== undefined;
1546
+ })
1547
+ .map(([key, value]) => {
1548
+ return `${key}=${value}`;
1549
+ })
1550
+ .join("&");
1551
+ const __path = `${__root}/${`manager/listings/${listingId}/keyword/remove`}`;
1552
+ return __queries ? `${__path}?${__queries}` : __path;
1553
+ };
1554
+ exports.managerListingPutKeywordRemove = managerListingPutKeywordRemove;
1555
+ exports.managerListingPutKeywordRemove.method = "PUT";
1556
+ /**
1557
+ * 管理名で自社の物件を検索する
1558
+ * @param {string} nameForManage hoge
1559
+ * @param {number} page 0
1560
+ * @param {number} itemsPerPage 100
1561
+ */
1562
+ const managerSearchListingsByNameForManage = ({ nameForManage, page, itemsPerPage, }) => {
1563
+ const __root = (0, exports.root)();
1564
+ const __queries = Object.entries({ nameForManage, page, itemsPerPage })
1565
+ .filter(([_, value]) => {
1566
+ return value !== undefined;
1567
+ })
1568
+ .map(([key, value]) => {
1569
+ return `${key}=${value}`;
1570
+ })
1571
+ .join("&");
1572
+ const __path = `${__root}/${`manager/search_listings/name_for_manage`}`;
1573
+ return __queries ? `${__path}?${__queries}` : __path;
1574
+ };
1575
+ exports.managerSearchListingsByNameForManage = managerSearchListingsByNameForManage;
1576
+ exports.managerSearchListingsByNameForManage.method = "POST";
1577
+ /**
1578
+ * マンスリー業者が契約書の内容を取得する
1579
+ *
1580
+ */
1581
+ const managerGetContract = ({ inquiryId, revision, }) => {
1582
+ const __root = (0, exports.root)();
1583
+ const __queries = Object.entries({})
1584
+ .filter(([_, value]) => {
1585
+ return value !== undefined;
1586
+ })
1587
+ .map(([key, value]) => {
1588
+ return `${key}=${value}`;
1589
+ })
1590
+ .join("&");
1591
+ const __path = `${__root}/${`manager/contracts/${inquiryId}/${revision}`}`;
1592
+ return __queries ? `${__path}?${__queries}` : __path;
1593
+ };
1594
+ exports.managerGetContract = managerGetContract;
1595
+ exports.managerGetContract.method = "GET";
1596
+ /**
1597
+ * マンスリー業者が契約書の内容を更新する
1598
+ *
1599
+ */
1600
+ const managerUpdateContract = ({ inquiryId, revision, }) => {
1601
+ const __root = (0, exports.root)();
1602
+ const __queries = Object.entries({})
1603
+ .filter(([_, value]) => {
1604
+ return value !== undefined;
1605
+ })
1606
+ .map(([key, value]) => {
1607
+ return `${key}=${value}`;
1608
+ })
1609
+ .join("&");
1610
+ const __path = `${__root}/${`manager/contracts/${inquiryId}/${revision}`}`;
1611
+ return __queries ? `${__path}?${__queries}` : __path;
1612
+ };
1613
+ exports.managerUpdateContract = managerUpdateContract;
1614
+ exports.managerUpdateContract.method = "PUT";
1615
+ /**
1616
+ * マンスリー業者が契約書を発行する
1617
+ *
1618
+ */
1619
+ const managerPublishContract = ({ inquiryId, revision, }) => {
1620
+ const __root = (0, exports.root)();
1621
+ const __queries = Object.entries({})
1622
+ .filter(([_, value]) => {
1623
+ return value !== undefined;
1624
+ })
1625
+ .map(([key, value]) => {
1626
+ return `${key}=${value}`;
1627
+ })
1628
+ .join("&");
1629
+ const __path = `${__root}/${`manager/contracts/${inquiryId}/${revision}/publish`}`;
1630
+ return __queries ? `${__path}?${__queries}` : __path;
1631
+ };
1632
+ exports.managerPublishContract = managerPublishContract;
1633
+ exports.managerPublishContract.method = "POST";
1634
+ /**
1635
+ * 反社チェック結果を取得する
1636
+ *
1637
+ */
1638
+ const managerGetAntisocialAnalyzeResult = ({ inquiryId, revision, }) => {
1639
+ const __root = (0, exports.root)();
1640
+ const __queries = Object.entries({})
1641
+ .filter(([_, value]) => {
1642
+ return value !== undefined;
1643
+ })
1644
+ .map(([key, value]) => {
1645
+ return `${key}=${value}`;
1646
+ })
1647
+ .join("&");
1648
+ const __path = `${__root}/${`manager/contracts/${inquiryId}/${revision}/antisocial_analyze`}`;
1649
+ return __queries ? `${__path}?${__queries}` : __path;
1650
+ };
1651
+ exports.managerGetAntisocialAnalyzeResult = managerGetAntisocialAnalyzeResult;
1652
+ exports.managerGetAntisocialAnalyzeResult.method = "GET";
1653
+ /**
1654
+ * 既に存在している反社チェックデータを再度実行する
1655
+ *
1656
+ */
1657
+ const managerExecuteAntisocialAnalyze = ({ inquiryId, }) => {
1658
+ const __root = (0, exports.root)();
1659
+ const __queries = Object.entries({})
1660
+ .filter(([_, value]) => {
1661
+ return value !== undefined;
1662
+ })
1663
+ .map(([key, value]) => {
1664
+ return `${key}=${value}`;
1665
+ })
1666
+ .join("&");
1667
+ const __path = `${__root}/${`manager/contracts/${inquiryId}/antisocial_analyze`}`;
1668
+ return __queries ? `${__path}?${__queries}` : __path;
1669
+ };
1670
+ exports.managerExecuteAntisocialAnalyze = managerExecuteAntisocialAnalyze;
1671
+ exports.managerExecuteAntisocialAnalyze.method = "POST";
1672
+ /**
1673
+ * 契約書に紐づいているトークンを取得する
1674
+ *
1675
+ */
1676
+ const managerGetContractToken = ({ inquiryId, revision, }) => {
1677
+ const __root = (0, exports.root)();
1678
+ const __queries = Object.entries({})
1679
+ .filter(([_, value]) => {
1680
+ return value !== undefined;
1681
+ })
1682
+ .map(([key, value]) => {
1683
+ return `${key}=${value}`;
1684
+ })
1685
+ .join("&");
1686
+ const __path = `${__root}/${`manager/contracts/${inquiryId}/${revision}/contract_token`}`;
1687
+ return __queries ? `${__path}?${__queries}` : __path;
1688
+ };
1689
+ exports.managerGetContractToken = managerGetContractToken;
1690
+ exports.managerGetContractToken.method = "GET";
1691
+ /**
1692
+ * ゲスト身分証画像の一覧を取得する
1693
+ *
1694
+ */
1695
+ const managerGuestIdentificationList = ({ inquiryId, }) => {
1696
+ const __root = (0, exports.root)();
1697
+ const __queries = Object.entries({})
1698
+ .filter(([_, value]) => {
1699
+ return value !== undefined;
1700
+ })
1701
+ .map(([key, value]) => {
1702
+ return `${key}=${value}`;
1703
+ })
1704
+ .join("&");
1705
+ const __path = `${__root}/${`manager/guest_identifications/${inquiryId}`}`;
1706
+ return __queries ? `${__path}?${__queries}` : __path;
1707
+ };
1708
+ exports.managerGuestIdentificationList = managerGuestIdentificationList;
1709
+ exports.managerGuestIdentificationList.method = "GET";
1710
+ /**
1711
+ * ゲスト身分証画像の実データ(base64エンコードされた文字列形式)を取得する
1712
+ *
1713
+ */
1714
+ const managerGuestIdentificationGetImageData = ({ inquiryId, imageId, }) => {
1715
+ const __root = (0, exports.root)();
1716
+ const __queries = Object.entries({})
1717
+ .filter(([_, value]) => {
1718
+ return value !== undefined;
1719
+ })
1720
+ .map(([key, value]) => {
1721
+ return `${key}=${value}`;
1722
+ })
1723
+ .join("&");
1724
+ const __path = `${__root}/${`manager/guest_identifications/${inquiryId}/${imageId}/image_data`}`;
1725
+ return __queries ? `${__path}?${__queries}` : __path;
1726
+ };
1727
+ exports.managerGuestIdentificationGetImageData = managerGuestIdentificationGetImageData;
1728
+ exports.managerGuestIdentificationGetImageData.method = "GET";
1729
+ /**
1730
+ * ゲスト身分証画像をアップロードする
1731
+ *
1732
+ */
1733
+ const managerGuestIdentificationUploadImageData = ({ inquiryId, }) => {
1734
+ const __root = (0, exports.root)();
1735
+ const __queries = Object.entries({})
1736
+ .filter(([_, value]) => {
1737
+ return value !== undefined;
1738
+ })
1739
+ .map(([key, value]) => {
1740
+ return `${key}=${value}`;
1741
+ })
1742
+ .join("&");
1743
+ const __path = `${__root}/${`manager/guest_identifications/${inquiryId}/image`}`;
1744
+ return __queries ? `${__path}?${__queries}` : __path;
1745
+ };
1746
+ exports.managerGuestIdentificationUploadImageData = managerGuestIdentificationUploadImageData;
1747
+ exports.managerGuestIdentificationUploadImageData.method = "POST";
1748
+ /**
1749
+ * ゲストの身分証画像を削除する
1750
+ *
1751
+ */
1752
+ const managerGuestIdentificationDeleteImageData = ({ inquiryId, imageId, }) => {
1753
+ const __root = (0, exports.root)();
1754
+ const __queries = Object.entries({})
1755
+ .filter(([_, value]) => {
1756
+ return value !== undefined;
1757
+ })
1758
+ .map(([key, value]) => {
1759
+ return `${key}=${value}`;
1760
+ })
1761
+ .join("&");
1762
+ const __path = `${__root}/${`manager/guest_identifications/${inquiryId}/image/${imageId}`}`;
1763
+ return __queries ? `${__path}?${__queries}` : __path;
1764
+ };
1765
+ exports.managerGuestIdentificationDeleteImageData = managerGuestIdentificationDeleteImageData;
1766
+ exports.managerGuestIdentificationDeleteImageData.method = "DELETE";
1767
+ /**
1768
+ * マンスリー業者が契約条項を新規作成する
1769
+ *
1770
+ */
1771
+ const managerContractClauseCreate = () => {
1772
+ const __root = (0, exports.root)();
1773
+ const __queries = Object.entries({})
1774
+ .filter(([_, value]) => {
1775
+ return value !== undefined;
1776
+ })
1777
+ .map(([key, value]) => {
1778
+ return `${key}=${value}`;
1779
+ })
1780
+ .join("&");
1781
+ const __path = `${__root}/${`manager/contract_clauses`}`;
1782
+ return __queries ? `${__path}?${__queries}` : __path;
1783
+ };
1784
+ exports.managerContractClauseCreate = managerContractClauseCreate;
1785
+ exports.managerContractClauseCreate.method = "POST";
1786
+ /**
1787
+ * マンスリー業者が契約条項の一覧を取得する
1788
+ * @param {number} page 0
1789
+ * @param {number} itemsPerPage 100
1790
+ */
1791
+ const managerContractClauseList = ({ page, itemsPerPage, }) => {
1792
+ const __root = (0, exports.root)();
1793
+ const __queries = Object.entries({ page, itemsPerPage })
1794
+ .filter(([_, value]) => {
1795
+ return value !== undefined;
1796
+ })
1797
+ .map(([key, value]) => {
1798
+ return `${key}=${value}`;
1799
+ })
1800
+ .join("&");
1801
+ const __path = `${__root}/${`manager/contract_clauses`}`;
1802
+ return __queries ? `${__path}?${__queries}` : __path;
1803
+ };
1804
+ exports.managerContractClauseList = managerContractClauseList;
1805
+ exports.managerContractClauseList.method = "GET";
1806
+ /**
1807
+ * マンスリー業者が指定したIDの契約条項を更新する
1808
+ *
1809
+ */
1810
+ const managerContractClauseUpdate = ({ contractClauseId, }) => {
1811
+ const __root = (0, exports.root)();
1812
+ const __queries = Object.entries({})
1813
+ .filter(([_, value]) => {
1814
+ return value !== undefined;
1815
+ })
1816
+ .map(([key, value]) => {
1817
+ return `${key}=${value}`;
1818
+ })
1819
+ .join("&");
1820
+ const __path = `${__root}/${`manager/contract_clauses/${contractClauseId}`}`;
1821
+ return __queries ? `${__path}?${__queries}` : __path;
1822
+ };
1823
+ exports.managerContractClauseUpdate = managerContractClauseUpdate;
1824
+ exports.managerContractClauseUpdate.method = "PUT";
1825
+ /**
1826
+ * マンスリー業者が指定したIDの契約条項を取得する
1827
+ *
1828
+ */
1829
+ const managerContractClauseGet = ({ contractClauseId, }) => {
1830
+ const __root = (0, exports.root)();
1831
+ const __queries = Object.entries({})
1832
+ .filter(([_, value]) => {
1833
+ return value !== undefined;
1834
+ })
1835
+ .map(([key, value]) => {
1836
+ return `${key}=${value}`;
1837
+ })
1838
+ .join("&");
1839
+ const __path = `${__root}/${`manager/contract_clauses/${contractClauseId}`}`;
1840
+ return __queries ? `${__path}?${__queries}` : __path;
1841
+ };
1842
+ exports.managerContractClauseGet = managerContractClauseGet;
1843
+ exports.managerContractClauseGet.method = "GET";
1844
+ /**
1845
+ * マンスリー管理者がリスティングを取得する
1846
+ *
1847
+ */
1848
+ const adminListingGet = ({ listingId }) => {
1849
+ const __root = (0, exports.root)();
1850
+ const __queries = Object.entries({})
1851
+ .filter(([_, value]) => {
1852
+ return value !== undefined;
1853
+ })
1854
+ .map(([key, value]) => {
1855
+ return `${key}=${value}`;
1856
+ })
1857
+ .join("&");
1858
+ const __path = `${__root}/${`admin/listings/${listingId}`}`;
1859
+ return __queries ? `${__path}?${__queries}` : __path;
1860
+ };
1861
+ exports.adminListingGet = adminListingGet;
1862
+ exports.adminListingGet.method = "GET";
1863
+ /**
1864
+ * 管理者がリスティングの掲載を承認する
1865
+ *
1866
+ */
1867
+ const adminListingAcceptRegistration = ({ listingId, }) => {
1868
+ const __root = (0, exports.root)();
1869
+ const __queries = Object.entries({})
1870
+ .filter(([_, value]) => {
1871
+ return value !== undefined;
1872
+ })
1873
+ .map(([key, value]) => {
1874
+ return `${key}=${value}`;
1875
+ })
1876
+ .join("&");
1877
+ const __path = `${__root}/${`admin/listings/${listingId}/registration`}`;
1878
+ return __queries ? `${__path}?${__queries}` : __path;
1879
+ };
1880
+ exports.adminListingAcceptRegistration = adminListingAcceptRegistration;
1881
+ exports.adminListingAcceptRegistration.method = "POST";
1882
+ /**
1883
+ * 管理者がリスティングを公開する(マンスリー業者の同意がある場合を想定)
1884
+ *
1885
+ */
1886
+ const adminListingOpen = ({ listingId }) => {
1887
+ const __root = (0, exports.root)();
1888
+ const __queries = Object.entries({})
1889
+ .filter(([_, value]) => {
1890
+ return value !== undefined;
1891
+ })
1892
+ .map(([key, value]) => {
1893
+ return `${key}=${value}`;
1894
+ })
1895
+ .join("&");
1896
+ const __path = `${__root}/${`admin/listings/${listingId}/open`}`;
1897
+ return __queries ? `${__path}?${__queries}` : __path;
1898
+ };
1899
+ exports.adminListingOpen = adminListingOpen;
1900
+ exports.adminListingOpen.method = "POST";
1901
+ /**
1902
+ * (内部向け) リスティングを削除する
1903
+ *
1904
+ */
1905
+ const internalDeleteListing = ({ listingId }) => {
1906
+ const __root = (0, exports.root)();
1907
+ const __queries = Object.entries({})
1908
+ .filter(([_, value]) => {
1909
+ return value !== undefined;
1910
+ })
1911
+ .map(([key, value]) => {
1912
+ return `${key}=${value}`;
1913
+ })
1914
+ .join("&");
1915
+ const __path = `${__root}/${`internal/listings/${listingId}`}`;
1916
+ return __queries ? `${__path}?${__queries}` : __path;
1917
+ };
1918
+ exports.internalDeleteListing = internalDeleteListing;
1919
+ exports.internalDeleteListing.method = "DELETE";
1920
+ /**
1921
+ * ゲストが問い合わせを送信する
1922
+ *
1923
+ */
1924
+ const inquiryCreate = () => {
1925
+ const __root = (0, exports.root)();
1926
+ const __queries = Object.entries({})
1927
+ .filter(([_, value]) => {
1928
+ return value !== undefined;
1929
+ })
1930
+ .map(([key, value]) => {
1931
+ return `${key}=${value}`;
1932
+ })
1933
+ .join("&");
1934
+ const __path = `${__root}/${`inquiries`}`;
1935
+ return __queries ? `${__path}?${__queries}` : __path;
1936
+ };
1937
+ exports.inquiryCreate = inquiryCreate;
1938
+ exports.inquiryCreate.method = "POST";
1939
+ /**
1940
+ * ゲストが問い合わせに紐ずく決済を取得する
1941
+ *
1942
+ */
1943
+ const inquiryGetPaymentOrders = ({ inquiryId, }) => {
1944
+ const __root = (0, exports.root)();
1945
+ const __queries = Object.entries({})
1946
+ .filter(([_, value]) => {
1947
+ return value !== undefined;
1948
+ })
1949
+ .map(([key, value]) => {
1950
+ return `${key}=${value}`;
1951
+ })
1952
+ .join("&");
1953
+ const __path = `${__root}/${`inquiries/${inquiryId}/payment_orders`}`;
1954
+ return __queries ? `${__path}?${__queries}` : __path;
1955
+ };
1956
+ exports.inquiryGetPaymentOrders = inquiryGetPaymentOrders;
1957
+ exports.inquiryGetPaymentOrders.method = "GET";
1958
+ /**
1959
+ * ゲストが問い合わせに紐ずく予約を取得する
1960
+ *
1961
+ */
1962
+ const inquiryGetReservation = ({ inquiryId }) => {
1963
+ const __root = (0, exports.root)();
1964
+ const __queries = Object.entries({})
1965
+ .filter(([_, value]) => {
1966
+ return value !== undefined;
1967
+ })
1968
+ .map(([key, value]) => {
1969
+ return `${key}=${value}`;
1970
+ })
1971
+ .join("&");
1972
+ const __path = `${__root}/${`inquiries/${inquiryId}/reservations`}`;
1973
+ return __queries ? `${__path}?${__queries}` : __path;
1974
+ };
1975
+ exports.inquiryGetReservation = inquiryGetReservation;
1976
+ exports.inquiryGetReservation.method = "GET";
1977
+ /**
1978
+ * ゲストがveritranaのトークンを取得するために必要なAPIKEYを取得する
1979
+ *
1980
+ */
1981
+ const inquiryGetVeritransTokenApiKey = ({ inquiryId, }) => {
1982
+ const __root = (0, exports.root)();
1983
+ const __queries = Object.entries({})
1984
+ .filter(([_, value]) => {
1985
+ return value !== undefined;
1986
+ })
1987
+ .map(([key, value]) => {
1988
+ return `${key}=${value}`;
1989
+ })
1990
+ .join("&");
1991
+ const __path = `${__root}/${`inquiries/${inquiryId}/veritrans_token_api_keys`}`;
1992
+ return __queries ? `${__path}?${__queries}` : __path;
1993
+ };
1994
+ exports.inquiryGetVeritransTokenApiKey = inquiryGetVeritransTokenApiKey;
1995
+ exports.inquiryGetVeritransTokenApiKey.method = "GET";
1996
+ /**
1997
+ * ゲストが問い合わせに紐ずくクーポンを取得する
1998
+ *
1999
+ */
2000
+ const inquiryGetCoupon = ({ inquiryId }) => {
2001
+ const __root = (0, exports.root)();
2002
+ const __queries = Object.entries({})
2003
+ .filter(([_, value]) => {
2004
+ return value !== undefined;
2005
+ })
2006
+ .map(([key, value]) => {
2007
+ return `${key}=${value}`;
2008
+ })
2009
+ .join("&");
2010
+ const __path = `${__root}/${`inquiries/${inquiryId}/coupons`}`;
2011
+ return __queries ? `${__path}?${__queries}` : __path;
2012
+ };
2013
+ exports.inquiryGetCoupon = inquiryGetCoupon;
2014
+ exports.inquiryGetCoupon.method = "GET";
2015
+ /**
2016
+ * ゲストがカテゴリページから問い合わせを送信する
2017
+ *
2018
+ */
2019
+ const inquiryCreateForCategoryPage = () => {
2020
+ const __root = (0, exports.root)();
2021
+ const __queries = Object.entries({})
2022
+ .filter(([_, value]) => {
2023
+ return value !== undefined;
2024
+ })
2025
+ .map(([key, value]) => {
2026
+ return `${key}=${value}`;
2027
+ })
2028
+ .join("&");
2029
+ const __path = `${__root}/${`inquiriesForCategoryPage`}`;
2030
+ return __queries ? `${__path}?${__queries}` : __path;
2031
+ };
2032
+ exports.inquiryCreateForCategoryPage = inquiryCreateForCategoryPage;
2033
+ exports.inquiryCreateForCategoryPage.method = "POST";
2034
+ /**
2035
+ * マンスリー業者が問い合わせを送信する
2036
+ *
2037
+ */
2038
+ const managerInquiriesCreate = () => {
2039
+ const __root = (0, exports.root)();
2040
+ const __queries = Object.entries({})
2041
+ .filter(([_, value]) => {
2042
+ return value !== undefined;
2043
+ })
2044
+ .map(([key, value]) => {
2045
+ return `${key}=${value}`;
2046
+ })
2047
+ .join("&");
2048
+ const __path = `${__root}/${`manager/inquiries`}`;
2049
+ return __queries ? `${__path}?${__queries}` : __path;
2050
+ };
2051
+ exports.managerInquiriesCreate = managerInquiriesCreate;
2052
+ exports.managerInquiriesCreate.method = "POST";
2053
+ /**
2054
+ * マンスリー業者が問い合わせ一覧を表示する
2055
+ * @param {number} page 0
2056
+ * @param {string} status xxx
2057
+ * @param {string} contractStatus xxx
2058
+ * @param {number} itemsPerPage 100
2059
+ * @param {string} guestName foo
2060
+ * @param {string} guestEmail foo@example.com
2061
+ * @param {string} channel sumyca_form
2062
+ * @param {string} createdByUserType Manager
2063
+ */
2064
+ const managerInquiriesList = ({ page, status, contractStatus, itemsPerPage, guestName, guestEmail, channel, createdByUserType, }) => {
2065
+ const __root = (0, exports.root)();
2066
+ const __queries = Object.entries({
2067
+ page,
2068
+ status,
2069
+ contractStatus,
2070
+ itemsPerPage,
2071
+ guestName,
2072
+ guestEmail,
2073
+ channel,
2074
+ createdByUserType,
2075
+ })
2076
+ .filter(([_, value]) => {
2077
+ return value !== undefined;
2078
+ })
2079
+ .map(([key, value]) => {
2080
+ return `${key}=${value}`;
2081
+ })
2082
+ .join("&");
2083
+ const __path = `${__root}/${`manager/inquiries`}`;
2084
+ return __queries ? `${__path}?${__queries}` : __path;
2085
+ };
2086
+ exports.managerInquiriesList = managerInquiriesList;
2087
+ exports.managerInquiriesList.method = "GET";
2088
+ /**
2089
+ * マンスリー業者が問い合わせを更新する
2090
+ *
2091
+ */
2092
+ const managerInquiryUpdate = ({ inquiryId }) => {
2093
+ const __root = (0, exports.root)();
2094
+ const __queries = Object.entries({})
2095
+ .filter(([_, value]) => {
2096
+ return value !== undefined;
2097
+ })
2098
+ .map(([key, value]) => {
2099
+ return `${key}=${value}`;
2100
+ })
2101
+ .join("&");
2102
+ const __path = `${__root}/${`manager/inquiries/${inquiryId}`}`;
2103
+ return __queries ? `${__path}?${__queries}` : __path;
2104
+ };
2105
+ exports.managerInquiryUpdate = managerInquiryUpdate;
2106
+ exports.managerInquiryUpdate.method = "PUT";
2107
+ /**
2108
+ * マンスリー業者が問い合わせの有効無効を更新する
2109
+ *
2110
+ */
2111
+ const managerInquiryAvailabilityStatusUpdate = ({ inquiryId, }) => {
2112
+ const __root = (0, exports.root)();
2113
+ const __queries = Object.entries({})
2114
+ .filter(([_, value]) => {
2115
+ return value !== undefined;
2116
+ })
2117
+ .map(([key, value]) => {
2118
+ return `${key}=${value}`;
2119
+ })
2120
+ .join("&");
2121
+ const __path = `${__root}/${`manager/inquiries/${inquiryId}/inquiry_availability`}`;
2122
+ return __queries ? `${__path}?${__queries}` : __path;
2123
+ };
2124
+ exports.managerInquiryAvailabilityStatusUpdate = managerInquiryAvailabilityStatusUpdate;
2125
+ exports.managerInquiryAvailabilityStatusUpdate.method = "PUT";
2126
+ /**
2127
+ * マンスリー業者が契約書の決済と決済の同期非同期ステータスを更新する
2128
+ *
2129
+ */
2130
+ const managerSyncOfContractsAndPaymentsStatusUpdate = ({ inquiryId, }) => {
2131
+ const __root = (0, exports.root)();
2132
+ const __queries = Object.entries({})
2133
+ .filter(([_, value]) => {
2134
+ return value !== undefined;
2135
+ })
2136
+ .map(([key, value]) => {
2137
+ return `${key}=${value}`;
2138
+ })
2139
+ .join("&");
2140
+ const __path = `${__root}/${`manager/inquiries/${inquiryId}/sync_of_contracts_and_payments`}`;
2141
+ return __queries ? `${__path}?${__queries}` : __path;
2142
+ };
2143
+ exports.managerSyncOfContractsAndPaymentsStatusUpdate = managerSyncOfContractsAndPaymentsStatusUpdate;
2144
+ exports.managerSyncOfContractsAndPaymentsStatusUpdate.method = "PUT";
2145
+ /**
2146
+ * マンスリー業者が問い合わせと紐付いている契約書・決済の物件紐付き情報を更新する
2147
+ *
2148
+ */
2149
+ const managerInquiryUpdateListingRelation = ({ inquiryId, listingId, }) => {
2150
+ const __root = (0, exports.root)();
2151
+ const __queries = Object.entries({})
2152
+ .filter(([_, value]) => {
2153
+ return value !== undefined;
2154
+ })
2155
+ .map(([key, value]) => {
2156
+ return `${key}=${value}`;
2157
+ })
2158
+ .join("&");
2159
+ const __path = `${__root}/${`manager/inquiries/${inquiryId}/listings/${listingId}`}`;
2160
+ return __queries ? `${__path}?${__queries}` : __path;
2161
+ };
2162
+ exports.managerInquiryUpdateListingRelation = managerInquiryUpdateListingRelation;
2163
+ exports.managerInquiryUpdateListingRelation.method = "PATCH";
2164
+ /**
2165
+ * マンスリー業者がIDを指定して問い合わせを表示する
2166
+ *
2167
+ */
2168
+ const managerInquiryGet = ({ inquiryId }) => {
2169
+ const __root = (0, exports.root)();
2170
+ const __queries = Object.entries({})
2171
+ .filter(([_, value]) => {
2172
+ return value !== undefined;
2173
+ })
2174
+ .map(([key, value]) => {
2175
+ return `${key}=${value}`;
2176
+ })
2177
+ .join("&");
2178
+ const __path = `${__root}/${`manager/inquiries/${inquiryId}`}`;
2179
+ return __queries ? `${__path}?${__queries}` : __path;
2180
+ };
2181
+ exports.managerInquiryGet = managerInquiryGet;
2182
+ exports.managerInquiryGet.method = "GET";
2183
+ /**
2184
+ * マンスリー業者がゲスト情報入力フォームを発行する
2185
+ *
2186
+ */
2187
+ const managerInquiriesIssueGuestInformationForm = ({ inquiryId, }) => {
2188
+ const __root = (0, exports.root)();
2189
+ const __queries = Object.entries({})
2190
+ .filter(([_, value]) => {
2191
+ return value !== undefined;
2192
+ })
2193
+ .map(([key, value]) => {
2194
+ return `${key}=${value}`;
2195
+ })
2196
+ .join("&");
2197
+ const __path = `${__root}/${`manager/inquiries/${inquiryId}/guest_information_form`}`;
2198
+ return __queries ? `${__path}?${__queries}` : __path;
2199
+ };
2200
+ exports.managerInquiriesIssueGuestInformationForm = managerInquiriesIssueGuestInformationForm;
2201
+ exports.managerInquiriesIssueGuestInformationForm.method = "POST";
2202
+ /**
2203
+ * マンスリー業者が一時パスワードを再発行する
2204
+ *
2205
+ */
2206
+ const managerInquiriesReissueContractPassword = ({ inquiryId, }) => {
2207
+ const __root = (0, exports.root)();
2208
+ const __queries = Object.entries({})
2209
+ .filter(([_, value]) => {
2210
+ return value !== undefined;
2211
+ })
2212
+ .map(([key, value]) => {
2213
+ return `${key}=${value}`;
2214
+ })
2215
+ .join("&");
2216
+ const __path = `${__root}/${`manager/inquiries/${inquiryId}/reissue_password`}`;
2217
+ return __queries ? `${__path}?${__queries}` : __path;
2218
+ };
2219
+ exports.managerInquiriesReissueContractPassword = managerInquiriesReissueContractPassword;
2220
+ exports.managerInquiriesReissueContractPassword.method = "POST";
2221
+ /**
2222
+ * マンスリー業者が一時トークンを再発行する
2223
+ *
2224
+ */
2225
+ const managerInquiriesReissueContractToken = ({ inquiryId, }) => {
2226
+ const __root = (0, exports.root)();
2227
+ const __queries = Object.entries({})
2228
+ .filter(([_, value]) => {
2229
+ return value !== undefined;
2230
+ })
2231
+ .map(([key, value]) => {
2232
+ return `${key}=${value}`;
2233
+ })
2234
+ .join("&");
2235
+ const __path = `${__root}/${`manager/inquiries/${inquiryId}/reissue_token`}`;
2236
+ return __queries ? `${__path}?${__queries}` : __path;
2237
+ };
2238
+ exports.managerInquiriesReissueContractToken = managerInquiriesReissueContractToken;
2239
+ exports.managerInquiriesReissueContractToken.method = "POST";
2240
+ /**
2241
+ * マンスリー業者がゲスト情報を取得する
2242
+ *
2243
+ */
2244
+ const managerInquriesGetAssociatedGuestInformation = ({ inquiryId, }) => {
2245
+ const __root = (0, exports.root)();
2246
+ const __queries = Object.entries({})
2247
+ .filter(([_, value]) => {
2248
+ return value !== undefined;
2249
+ })
2250
+ .map(([key, value]) => {
2251
+ return `${key}=${value}`;
2252
+ })
2253
+ .join("&");
2254
+ const __path = `${__root}/${`manager/inquiries/${inquiryId}/guest_information`}`;
2255
+ return __queries ? `${__path}?${__queries}` : __path;
2256
+ };
2257
+ exports.managerInquriesGetAssociatedGuestInformation = managerInquriesGetAssociatedGuestInformation;
2258
+ exports.managerInquriesGetAssociatedGuestInformation.method = "GET";
2259
+ /**
2260
+ * マンスリー業者がゲストを審査する
2261
+ *
2262
+ */
2263
+ const managerInquiriesScreenGuest = ({ inquiryId, }) => {
2264
+ const __root = (0, exports.root)();
2265
+ const __queries = Object.entries({})
2266
+ .filter(([_, value]) => {
2267
+ return value !== undefined;
2268
+ })
2269
+ .map(([key, value]) => {
2270
+ return `${key}=${value}`;
2271
+ })
2272
+ .join("&");
2273
+ const __path = `${__root}/${`manager/inquiries/${inquiryId}/screen_guest`}`;
2274
+ return __queries ? `${__path}?${__queries}` : __path;
2275
+ };
2276
+ exports.managerInquiriesScreenGuest = managerInquiriesScreenGuest;
2277
+ exports.managerInquiriesScreenGuest.method = "PUT";
2278
+ /**
2279
+ * マンスリー業者がゲストの審査を開始する
2280
+ *
2281
+ */
2282
+ const managerInquiriesStartScreeningGuest = ({ inquiryId, }) => {
2283
+ const __root = (0, exports.root)();
2284
+ const __queries = Object.entries({})
2285
+ .filter(([_, value]) => {
2286
+ return value !== undefined;
2287
+ })
2288
+ .map(([key, value]) => {
2289
+ return `${key}=${value}`;
2290
+ })
2291
+ .join("&");
2292
+ const __path = `${__root}/${`manager/inquiries/${inquiryId}/screen_guest_start`}`;
2293
+ return __queries ? `${__path}?${__queries}` : __path;
2294
+ };
2295
+ exports.managerInquiriesStartScreeningGuest = managerInquiriesStartScreeningGuest;
2296
+ exports.managerInquiriesStartScreeningGuest.method = "PUT";
2297
+ /**
2298
+ * マンスリー業者がゲスト用に問い合わせに紐づくトークンを取得する
2299
+ *
2300
+ */
2301
+ const managerInquiriesGetInquiryToken = ({ inquiryId, }) => {
2302
+ const __root = (0, exports.root)();
2303
+ const __queries = Object.entries({})
2304
+ .filter(([_, value]) => {
2305
+ return value !== undefined;
2306
+ })
2307
+ .map(([key, value]) => {
2308
+ return `${key}=${value}`;
2309
+ })
2310
+ .join("&");
2311
+ const __path = `${__root}/${`manager/inquiries/${inquiryId}/inquiry_token`}`;
2312
+ return __queries ? `${__path}?${__queries}` : __path;
2313
+ };
2314
+ exports.managerInquiriesGetInquiryToken = managerInquiriesGetInquiryToken;
2315
+ exports.managerInquiriesGetInquiryToken.method = "GET";
2316
+ /**
2317
+ * マンスリー業者がゲスト用に問い合わせに紐づくトークンを発行する
2318
+ *
2319
+ */
2320
+ const managerInquiriesPublishInquiryToken = ({ inquiryId, }) => {
2321
+ const __root = (0, exports.root)();
2322
+ const __queries = Object.entries({})
2323
+ .filter(([_, value]) => {
2324
+ return value !== undefined;
2325
+ })
2326
+ .map(([key, value]) => {
2327
+ return `${key}=${value}`;
2328
+ })
2329
+ .join("&");
2330
+ const __path = `${__root}/${`manager/inquiries/${inquiryId}/inquiry_token`}`;
2331
+ return __queries ? `${__path}?${__queries}` : __path;
2332
+ };
2333
+ exports.managerInquiriesPublishInquiryToken = managerInquiriesPublishInquiryToken;
2334
+ exports.managerInquiriesPublishInquiryToken.method = "POST";
2335
+ /**
2336
+ * マンスリー業者が契約書の追加決済項目を取得する
2337
+ *
2338
+ */
2339
+ const managerInquiriesGetPaymentOrderItemsForContract = ({ inquiryId, }) => {
2340
+ const __root = (0, exports.root)();
2341
+ const __queries = Object.entries({})
2342
+ .filter(([_, value]) => {
2343
+ return value !== undefined;
2344
+ })
2345
+ .map(([key, value]) => {
2346
+ return `${key}=${value}`;
2347
+ })
2348
+ .join("&");
2349
+ const __path = `${__root}/${`manager/inquiries/${inquiryId}/payment_order_items_for_contract`}`;
2350
+ return __queries ? `${__path}?${__queries}` : __path;
2351
+ };
2352
+ exports.managerInquiriesGetPaymentOrderItemsForContract = managerInquiriesGetPaymentOrderItemsForContract;
2353
+ exports.managerInquiriesGetPaymentOrderItemsForContract.method = "GET";
2354
+ /**
2355
+ * マンスリー業者が決済注文を作成する
2356
+ *
2357
+ */
2358
+ const managerInquiriesCreatePaymentOrder = ({ inquiryId, }) => {
2359
+ const __root = (0, exports.root)();
2360
+ const __queries = Object.entries({})
2361
+ .filter(([_, value]) => {
2362
+ return value !== undefined;
2363
+ })
2364
+ .map(([key, value]) => {
2365
+ return `${key}=${value}`;
2366
+ })
2367
+ .join("&");
2368
+ const __path = `${__root}/${`manager/inquiries/${inquiryId}/payment_orders`}`;
2369
+ return __queries ? `${__path}?${__queries}` : __path;
2370
+ };
2371
+ exports.managerInquiriesCreatePaymentOrder = managerInquiriesCreatePaymentOrder;
2372
+ exports.managerInquiriesCreatePaymentOrder.method = "POST";
2373
+ /**
2374
+ * マンスリー業者が問い合わせに紐ずく決済注文を取得する
2375
+ *
2376
+ */
2377
+ const managerInquiriesListPaymentOrders = ({ inquiryId, }) => {
2378
+ const __root = (0, exports.root)();
2379
+ const __queries = Object.entries({})
2380
+ .filter(([_, value]) => {
2381
+ return value !== undefined;
2382
+ })
2383
+ .map(([key, value]) => {
2384
+ return `${key}=${value}`;
2385
+ })
2386
+ .join("&");
2387
+ const __path = `${__root}/${`manager/inquiries/${inquiryId}/payment_orders`}`;
2388
+ return __queries ? `${__path}?${__queries}` : __path;
2389
+ };
2390
+ exports.managerInquiriesListPaymentOrders = managerInquiriesListPaymentOrders;
2391
+ exports.managerInquiriesListPaymentOrders.method = "GET";
2392
+ /**
2393
+ * マンスリー業者が問い合わせに紐ずく予約を所得する
2394
+ *
2395
+ */
2396
+ const managerInquiriesGetReservation = ({ inquiryId, }) => {
2397
+ const __root = (0, exports.root)();
2398
+ const __queries = Object.entries({})
2399
+ .filter(([_, value]) => {
2400
+ return value !== undefined;
2401
+ })
2402
+ .map(([key, value]) => {
2403
+ return `${key}=${value}`;
2404
+ })
2405
+ .join("&");
2406
+ const __path = `${__root}/${`manager/inquiries/${inquiryId}/reservations`}`;
2407
+ return __queries ? `${__path}?${__queries}` : __path;
2408
+ };
2409
+ exports.managerInquiriesGetReservation = managerInquiriesGetReservation;
2410
+ exports.managerInquiriesGetReservation.method = "GET";
2411
+ /**
2412
+ * マンスリー業者が問い合わせに紐ずくユーザーを取得する
2413
+ *
2414
+ */
2415
+ const managerInquiriesGetAssociationGuest = ({ inquiryId, }) => {
2416
+ const __root = (0, exports.root)();
2417
+ const __queries = Object.entries({})
2418
+ .filter(([_, value]) => {
2419
+ return value !== undefined;
2420
+ })
2421
+ .map(([key, value]) => {
2422
+ return `${key}=${value}`;
2423
+ })
2424
+ .join("&");
2425
+ const __path = `${__root}/${`manager/inquiries/${inquiryId}/assciated_guest`}`;
2426
+ return __queries ? `${__path}?${__queries}` : __path;
2427
+ };
2428
+ exports.managerInquiriesGetAssociationGuest = managerInquiriesGetAssociationGuest;
2429
+ exports.managerInquiriesGetAssociationGuest.method = "GET";
2430
+ /**
2431
+ * 管理者がマンスリー業者情報を作成する
2432
+ *
2433
+ */
2434
+ const adminCompanyCreate = () => {
2435
+ const __root = (0, exports.root)();
2436
+ const __queries = Object.entries({})
2437
+ .filter(([_, value]) => {
2438
+ return value !== undefined;
2439
+ })
2440
+ .map(([key, value]) => {
2441
+ return `${key}=${value}`;
2442
+ })
2443
+ .join("&");
2444
+ const __path = `${__root}/${`admin/companies`}`;
2445
+ return __queries ? `${__path}?${__queries}` : __path;
2446
+ };
2447
+ exports.adminCompanyCreate = adminCompanyCreate;
2448
+ exports.adminCompanyCreate.method = "POST";
2449
+ /**
2450
+ * 指定した都道府県に属する市町村の名前の一覧を取得する
2451
+ * @param {string} prefName hoge
2452
+ */
2453
+ const informationGetCityNamesInPrefecture = ({ prefName, }) => {
2454
+ const __root = (0, exports.root)();
2455
+ const __queries = Object.entries({ prefName })
2456
+ .filter(([_, value]) => {
2457
+ return value !== undefined;
2458
+ })
2459
+ .map(([key, value]) => {
2460
+ return `${key}=${value}`;
2461
+ })
2462
+ .join("&");
2463
+ const __path = `${__root}/${`information/city_names`}`;
2464
+ return __queries ? `${__path}?${__queries}` : __path;
2465
+ };
2466
+ exports.informationGetCityNamesInPrefecture = informationGetCityNamesInPrefecture;
2467
+ exports.informationGetCityNamesInPrefecture.method = "GET";
2468
+ /**
2469
+ * 指定した地点名の緯度経度を取得する
2470
+ * @param {string} locationName hoge
2471
+ */
2472
+ const informationGetLocationForCompany = ({ locationName, }) => {
2473
+ const __root = (0, exports.root)();
2474
+ const __queries = Object.entries({ locationName })
2475
+ .filter(([_, value]) => {
2476
+ return value !== undefined;
2477
+ })
2478
+ .map(([key, value]) => {
2479
+ return `${key}=${value}`;
2480
+ })
2481
+ .join("&");
2482
+ const __path = `${__root}/${`information/locations`}`;
2483
+ return __queries ? `${__path}?${__queries}` : __path;
2484
+ };
2485
+ exports.informationGetLocationForCompany = informationGetLocationForCompany;
2486
+ exports.informationGetLocationForCompany.method = "GET";
2487
+ /**
2488
+ * 指定したカテゴリーのキーワードの一覧を取得する
2489
+ * @param {string} categories Furniture,Appliance,Feature
2490
+ */
2491
+ const informationGetKeywordsByCategories = ({ categories, }) => {
2492
+ const __root = (0, exports.root)();
2493
+ const __queries = Object.entries({ categories })
2494
+ .filter(([_, value]) => {
2495
+ return value !== undefined;
2496
+ })
2497
+ .map(([key, value]) => {
2498
+ return `${key}=${value}`;
2499
+ })
2500
+ .join("&");
2501
+ const __path = `${__root}/${`information/keywords`}`;
2502
+ return __queries ? `${__path}?${__queries}` : __path;
2503
+ };
2504
+ exports.informationGetKeywordsByCategories = informationGetKeywordsByCategories;
2505
+ exports.informationGetKeywordsByCategories.method = "GET";
2506
+ /**
2507
+ * 指定した都道府県に存在する路線名の一覧を取得する
2508
+ * @param {string} prefName hoge
2509
+ */
2510
+ const informationGetLineNamesByPrefectureNameForCompany = ({ prefName, }) => {
2511
+ const __root = (0, exports.root)();
2512
+ const __queries = Object.entries({ prefName })
2513
+ .filter(([_, value]) => {
2514
+ return value !== undefined;
2515
+ })
2516
+ .map(([key, value]) => {
2517
+ return `${key}=${value}`;
2518
+ })
2519
+ .join("&");
2520
+ const __path = `${__root}/${`information/line_names`}`;
2521
+ return __queries ? `${__path}?${__queries}` : __path;
2522
+ };
2523
+ exports.informationGetLineNamesByPrefectureNameForCompany = informationGetLineNamesByPrefectureNameForCompany;
2524
+ exports.informationGetLineNamesByPrefectureNameForCompany.method = "GET";
2525
+ /**
2526
+ * 指定した路線に存在する駅名の一覧を取得する
2527
+ * @param {string} lineName hoge
2528
+ */
2529
+ const informationGetStationNamesByLineNameForCompany = ({ lineName, }) => {
2530
+ const __root = (0, exports.root)();
2531
+ const __queries = Object.entries({ lineName })
2532
+ .filter(([_, value]) => {
2533
+ return value !== undefined;
2534
+ })
2535
+ .map(([key, value]) => {
2536
+ return `${key}=${value}`;
2537
+ })
2538
+ .join("&");
2539
+ const __path = `${__root}/${`information/station_names`}`;
2540
+ return __queries ? `${__path}?${__queries}` : __path;
2541
+ };
2542
+ exports.informationGetStationNamesByLineNameForCompany = informationGetStationNamesByLineNameForCompany;
2543
+ exports.informationGetStationNamesByLineNameForCompany.method = "GET";
2544
+ /**
2545
+ * マンスリー業者がオーナー一覧を取得する
2546
+ *
2547
+ */
2548
+ const managerOwnerList = () => {
2549
+ const __root = (0, exports.root)();
2550
+ const __queries = Object.entries({})
2551
+ .filter(([_, value]) => {
2552
+ return value !== undefined;
2553
+ })
2554
+ .map(([key, value]) => {
2555
+ return `${key}=${value}`;
2556
+ })
2557
+ .join("&");
2558
+ const __path = `${__root}/${`owners/`}`;
2559
+ return __queries ? `${__path}?${__queries}` : __path;
2560
+ };
2561
+ exports.managerOwnerList = managerOwnerList;
2562
+ exports.managerOwnerList.method = "GET";
2563
+ /**
2564
+ * マンスリー業者がオーナーをIDを指定して取得する
2565
+ *
2566
+ */
2567
+ const managerOwnerGet = ({ id }) => {
2568
+ const __root = (0, exports.root)();
2569
+ const __queries = Object.entries({})
2570
+ .filter(([_, value]) => {
2571
+ return value !== undefined;
2572
+ })
2573
+ .map(([key, value]) => {
2574
+ return `${key}=${value}`;
2575
+ })
2576
+ .join("&");
2577
+ const __path = `${__root}/${`owners/${id}`}`;
2578
+ return __queries ? `${__path}?${__queries}` : __path;
2579
+ };
2580
+ exports.managerOwnerGet = managerOwnerGet;
2581
+ exports.managerOwnerGet.method = "GET";
2582
+ /**
2583
+ * マンスリー業者がオーナーを作成する
2584
+ *
2585
+ */
2586
+ const managerOwnerCreate = () => {
2587
+ const __root = (0, exports.root)();
2588
+ const __queries = Object.entries({})
2589
+ .filter(([_, value]) => {
2590
+ return value !== undefined;
2591
+ })
2592
+ .map(([key, value]) => {
2593
+ return `${key}=${value}`;
2594
+ })
2595
+ .join("&");
2596
+ const __path = `${__root}/${`owners/`}`;
2597
+ return __queries ? `${__path}?${__queries}` : __path;
2598
+ };
2599
+ exports.managerOwnerCreate = managerOwnerCreate;
2600
+ exports.managerOwnerCreate.method = "POST";
2601
+ /**
2602
+ * マンスリー業者がオーナー情報を更新する
2603
+ *
2604
+ */
2605
+ const managerOwnerUpdate = ({ id }) => {
2606
+ const __root = (0, exports.root)();
2607
+ const __queries = Object.entries({})
2608
+ .filter(([_, value]) => {
2609
+ return value !== undefined;
2610
+ })
2611
+ .map(([key, value]) => {
2612
+ return `${key}=${value}`;
2613
+ })
2614
+ .join("&");
2615
+ const __path = `${__root}/${`owners/${id}`}`;
2616
+ return __queries ? `${__path}?${__queries}` : __path;
2617
+ };
2618
+ exports.managerOwnerUpdate = managerOwnerUpdate;
2619
+ exports.managerOwnerUpdate.method = "PUT";
2620
+ /**
2621
+ * マンスリー業者がオーナーを削除する
2622
+ *
2623
+ */
2624
+ const managerOwnerDelete = ({ id }) => {
2625
+ const __root = (0, exports.root)();
2626
+ const __queries = Object.entries({})
2627
+ .filter(([_, value]) => {
2628
+ return value !== undefined;
2629
+ })
2630
+ .map(([key, value]) => {
2631
+ return `${key}=${value}`;
2632
+ })
2633
+ .join("&");
2634
+ const __path = `${__root}/${`owners/${id}`}`;
2635
+ return __queries ? `${__path}?${__queries}` : __path;
2636
+ };
2637
+ exports.managerOwnerDelete = managerOwnerDelete;
2638
+ exports.managerOwnerDelete.method = "DELETE";
2639
+ /**
2640
+ * カレンダーブロックを作成する
2641
+ *
2642
+ */
2643
+ const managerCalendarBlockCreate = () => {
2644
+ const __root = (0, exports.root)();
2645
+ const __queries = Object.entries({})
2646
+ .filter(([_, value]) => {
2647
+ return value !== undefined;
2648
+ })
2649
+ .map(([key, value]) => {
2650
+ return `${key}=${value}`;
2651
+ })
2652
+ .join("&");
2653
+ const __path = `${__root}/${`calendars/blocks`}`;
2654
+ return __queries ? `${__path}?${__queries}` : __path;
2655
+ };
2656
+ exports.managerCalendarBlockCreate = managerCalendarBlockCreate;
2657
+ exports.managerCalendarBlockCreate.method = "POST";
2658
+ /**
2659
+ * カレンダーブロックを取得する
2660
+ *
2661
+ */
2662
+ const managerCalendarBlockGet = ({ calendarBlockId, }) => {
2663
+ const __root = (0, exports.root)();
2664
+ const __queries = Object.entries({})
2665
+ .filter(([_, value]) => {
2666
+ return value !== undefined;
2667
+ })
2668
+ .map(([key, value]) => {
2669
+ return `${key}=${value}`;
2670
+ })
2671
+ .join("&");
2672
+ const __path = `${__root}/${`calendars/blocks/${calendarBlockId}`}`;
2673
+ return __queries ? `${__path}?${__queries}` : __path;
2674
+ };
2675
+ exports.managerCalendarBlockGet = managerCalendarBlockGet;
2676
+ exports.managerCalendarBlockGet.method = "GET";
2677
+ /**
2678
+ * カレンダーブロックを更新する
2679
+ *
2680
+ */
2681
+ const managerCalendarBlockUpdate = ({ calendarBlockId, }) => {
2682
+ const __root = (0, exports.root)();
2683
+ const __queries = Object.entries({})
2684
+ .filter(([_, value]) => {
2685
+ return value !== undefined;
2686
+ })
2687
+ .map(([key, value]) => {
2688
+ return `${key}=${value}`;
2689
+ })
2690
+ .join("&");
2691
+ const __path = `${__root}/${`calendars/blocks/${calendarBlockId}`}`;
2692
+ return __queries ? `${__path}?${__queries}` : __path;
2693
+ };
2694
+ exports.managerCalendarBlockUpdate = managerCalendarBlockUpdate;
2695
+ exports.managerCalendarBlockUpdate.method = "PUT";
2696
+ /**
2697
+ * カレンダーブロックを削除する
2698
+ *
2699
+ */
2700
+ const managerCalendarBlockDelete = ({ calendarBlockId, }) => {
2701
+ const __root = (0, exports.root)();
2702
+ const __queries = Object.entries({})
2703
+ .filter(([_, value]) => {
2704
+ return value !== undefined;
2705
+ })
2706
+ .map(([key, value]) => {
2707
+ return `${key}=${value}`;
2708
+ })
2709
+ .join("&");
2710
+ const __path = `${__root}/${`calendars/blocks/${calendarBlockId}`}`;
2711
+ return __queries ? `${__path}?${__queries}` : __path;
2712
+ };
2713
+ exports.managerCalendarBlockDelete = managerCalendarBlockDelete;
2714
+ exports.managerCalendarBlockDelete.method = "DELETE";
2715
+ /**
2716
+ * 指定した物件IDのカレンダーブロックで指定した日付範囲に重なるものを取得する
2717
+ * @param {string} startDate 2021-01-01
2718
+ * @param {string} endDate 2021-12-31
2719
+ */
2720
+ const managerCalendarBlockFindByListingId = ({ startDate, endDate, listingId, }) => {
2721
+ const __root = (0, exports.root)();
2722
+ const __queries = Object.entries({ startDate, endDate })
2723
+ .filter(([_, value]) => {
2724
+ return value !== undefined;
2725
+ })
2726
+ .map(([key, value]) => {
2727
+ return `${key}=${value}`;
2728
+ })
2729
+ .join("&");
2730
+ const __path = `${__root}/${`calendars/listings/${listingId}`}`;
2731
+ return __queries ? `${__path}?${__queries}` : __path;
2732
+ };
2733
+ exports.managerCalendarBlockFindByListingId = managerCalendarBlockFindByListingId;
2734
+ exports.managerCalendarBlockFindByListingId.method = "GET";
2735
+ /**
2736
+ * 在庫カレンダーを検索する
2737
+ *
2738
+ */
2739
+ const managerCalendarAvailableListingsSearch = () => {
2740
+ const __root = (0, exports.root)();
2741
+ const __queries = Object.entries({})
2742
+ .filter(([_, value]) => {
2743
+ return value !== undefined;
2744
+ })
2745
+ .map(([key, value]) => {
2746
+ return `${key}=${value}`;
2747
+ })
2748
+ .join("&");
2749
+ const __path = `${__root}/${`calendars/search`}`;
2750
+ return __queries ? `${__path}?${__queries}` : __path;
2751
+ };
2752
+ exports.managerCalendarAvailableListingsSearch = managerCalendarAvailableListingsSearch;
2753
+ exports.managerCalendarAvailableListingsSearch.method = "POST";
2754
+ /**
2755
+ * カレンダーの宿泊費をインポートを行う
2756
+ *
2757
+ */
2758
+ const managerCalendarImportCalendarRent = () => {
2759
+ const __root = (0, exports.root)();
2760
+ const __queries = Object.entries({})
2761
+ .filter(([_, value]) => {
2762
+ return value !== undefined;
2763
+ })
2764
+ .map(([key, value]) => {
2765
+ return `${key}=${value}`;
2766
+ })
2767
+ .join("&");
2768
+ const __path = `${__root}/${`calendars/import_rent`}`;
2769
+ return __queries ? `${__path}?${__queries}` : __path;
2770
+ };
2771
+ exports.managerCalendarImportCalendarRent = managerCalendarImportCalendarRent;
2772
+ exports.managerCalendarImportCalendarRent.method = "POST";
2773
+ /**
2774
+ * カレンダーの宿泊費をエキスポートを行う
2775
+ *
2776
+ */
2777
+ const managerCalendarExportCalendarRent = () => {
2778
+ const __root = (0, exports.root)();
2779
+ const __queries = Object.entries({})
2780
+ .filter(([_, value]) => {
2781
+ return value !== undefined;
2782
+ })
2783
+ .map(([key, value]) => {
2784
+ return `${key}=${value}`;
2785
+ })
2786
+ .join("&");
2787
+ const __path = `${__root}/${`calendars/export_rent`}`;
2788
+ return __queries ? `${__path}?${__queries}` : __path;
2789
+ };
2790
+ exports.managerCalendarExportCalendarRent = managerCalendarExportCalendarRent;
2791
+ exports.managerCalendarExportCalendarRent.method = "POST";
2792
+ /**
2793
+ * iCalをURLから取得しパースした結果を返す
2794
+ *
2795
+ */
2796
+ const managerICalParse = () => {
2797
+ const __root = (0, exports.root)();
2798
+ const __queries = Object.entries({})
2799
+ .filter(([_, value]) => {
2800
+ return value !== undefined;
2801
+ })
2802
+ .map(([key, value]) => {
2803
+ return `${key}=${value}`;
2804
+ })
2805
+ .join("&");
2806
+ const __path = `${__root}/${`manager/ical/parse`}`;
2807
+ return __queries ? `${__path}?${__queries}` : __path;
2808
+ };
2809
+ exports.managerICalParse = managerICalParse;
2810
+ exports.managerICalParse.method = "POST";
2811
+ /**
2812
+ * ゲストが決済を行う
2813
+ *
2814
+ */
2815
+ const paymentOrdersPayConditional = ({ paymentOrderId, }) => {
2816
+ const __root = (0, exports.root)();
2817
+ const __queries = Object.entries({})
2818
+ .filter(([_, value]) => {
2819
+ return value !== undefined;
2820
+ })
2821
+ .map(([key, value]) => {
2822
+ return `${key}=${value}`;
2823
+ })
2824
+ .join("&");
2825
+ const __path = `${__root}/${`payment_orders/${paymentOrderId}/pay_conditional`}`;
2826
+ return __queries ? `${__path}?${__queries}` : __path;
2827
+ };
2828
+ exports.paymentOrdersPayConditional = paymentOrdersPayConditional;
2829
+ exports.paymentOrdersPayConditional.method = "POST";
2830
+ /**
2831
+ * ゲストが3Dセキュア決済を行う
2832
+ *
2833
+ */
2834
+ const paymentOrdersPayConditional3DSecure = ({ paymentOrderId, }) => {
2835
+ const __root = (0, exports.root)();
2836
+ const __queries = Object.entries({})
2837
+ .filter(([_, value]) => {
2838
+ return value !== undefined;
2839
+ })
2840
+ .map(([key, value]) => {
2841
+ return `${key}=${value}`;
2842
+ })
2843
+ .join("&");
2844
+ const __path = `${__root}/${`payment_orders/${paymentOrderId}/pay_conditional/3d_secure`}`;
2845
+ return __queries ? `${__path}?${__queries}` : __path;
2846
+ };
2847
+ exports.paymentOrdersPayConditional3DSecure = paymentOrdersPayConditional3DSecure;
2848
+ exports.paymentOrdersPayConditional3DSecure.method = "POST";
2849
+ /**
2850
+ * 決済通知を受け取る
2851
+ *
2852
+ */
2853
+ const paymentNotification = ({ paymentOrderId, }) => {
2854
+ const __root = (0, exports.root)();
2855
+ const __queries = Object.entries({})
2856
+ .filter(([_, value]) => {
2857
+ return value !== undefined;
2858
+ })
2859
+ .map(([key, value]) => {
2860
+ return `${key}=${value}`;
2861
+ })
2862
+ .join("&");
2863
+ const __path = `${__root}/${`payment_orders/${paymentOrderId}/webhook/payment_notification`}`;
2864
+ return __queries ? `${__path}?${__queries}` : __path;
2865
+ };
2866
+ exports.paymentNotification = paymentNotification;
2867
+ exports.paymentNotification.method = "POST";
2868
+ /**
2869
+ * ゲストが今すぐ予約で作成された問い合わせの決済を行う
2870
+ *
2871
+ */
2872
+ const paymentOrdersPayForInstantBook = ({ paymentOrderId, }) => {
2873
+ const __root = (0, exports.root)();
2874
+ const __queries = Object.entries({})
2875
+ .filter(([_, value]) => {
2876
+ return value !== undefined;
2877
+ })
2878
+ .map(([key, value]) => {
2879
+ return `${key}=${value}`;
2880
+ })
2881
+ .join("&");
2882
+ const __path = `${__root}/${`payment_orders/${paymentOrderId}/pay_for_instant_book`}`;
2883
+ return __queries ? `${__path}?${__queries}` : __path;
2884
+ };
2885
+ exports.paymentOrdersPayForInstantBook = paymentOrdersPayForInstantBook;
2886
+ exports.paymentOrdersPayForInstantBook.method = "POST";
2887
+ /**
2888
+ * ゲストの決済結果の取得
2889
+ * @param {number} sincePaymentTime 1666262441
2890
+ */
2891
+ const paymentResult = ({ sincePaymentTime, paymentOrderId, }) => {
2892
+ const __root = (0, exports.root)();
2893
+ const __queries = Object.entries({ sincePaymentTime })
2894
+ .filter(([_, value]) => {
2895
+ return value !== undefined;
2896
+ })
2897
+ .map(([key, value]) => {
2898
+ return `${key}=${value}`;
2899
+ })
2900
+ .join("&");
2901
+ const __path = `${__root}/${`payment_orders/${paymentOrderId}/pay_result`}`;
2902
+ return __queries ? `${__path}?${__queries}` : __path;
2903
+ };
2904
+ exports.paymentResult = paymentResult;
2905
+ exports.paymentResult.method = "GET";
2906
+ /**
2907
+ * マンスリー業者が決済項目を取得する
2908
+ *
2909
+ */
2910
+ const managerPaymentGetPaymentOrder = ({ paymentOrderId, }) => {
2911
+ const __root = (0, exports.root)();
2912
+ const __queries = Object.entries({})
2913
+ .filter(([_, value]) => {
2914
+ return value !== undefined;
2915
+ })
2916
+ .map(([key, value]) => {
2917
+ return `${key}=${value}`;
2918
+ })
2919
+ .join("&");
2920
+ const __path = `${__root}/${`manager/payment_orders/${paymentOrderId}`}`;
2921
+ return __queries ? `${__path}?${__queries}` : __path;
2922
+ };
2923
+ exports.managerPaymentGetPaymentOrder = managerPaymentGetPaymentOrder;
2924
+ exports.managerPaymentGetPaymentOrder.method = "GET";
2925
+ /**
2926
+ * マンスリー業者がveritransと未登録の決済取引を同期する
2927
+ *
2928
+ */
2929
+ const managerPaymentSyncUnregisteredVeritransPaymentTransaction = ({ paymentOrderId, }) => {
2930
+ const __root = (0, exports.root)();
2931
+ const __queries = Object.entries({})
2932
+ .filter(([_, value]) => {
2933
+ return value !== undefined;
2934
+ })
2935
+ .map(([key, value]) => {
2936
+ return `${key}=${value}`;
2937
+ })
2938
+ .join("&");
2939
+ const __path = `${__root}/${`manager/payment_orders/${paymentOrderId}/sync_unregistered_transaction`}`;
2940
+ return __queries ? `${__path}?${__queries}` : __path;
2941
+ };
2942
+ exports.managerPaymentSyncUnregisteredVeritransPaymentTransaction = managerPaymentSyncUnregisteredVeritransPaymentTransaction;
2943
+ exports.managerPaymentSyncUnregisteredVeritransPaymentTransaction.method =
2944
+ "PUT";
2945
+ /**
2946
+ * マンスリー業者が決済項目を作成する
2947
+ *
2948
+ */
2949
+ const managerPaymentCreatePaymentOrderItem = ({ paymentOrderId, }) => {
2950
+ const __root = (0, exports.root)();
2951
+ const __queries = Object.entries({})
2952
+ .filter(([_, value]) => {
2953
+ return value !== undefined;
2954
+ })
2955
+ .map(([key, value]) => {
2956
+ return `${key}=${value}`;
2957
+ })
2958
+ .join("&");
2959
+ const __path = `${__root}/${`manager/payment_orders/${paymentOrderId}/items`}`;
2960
+ return __queries ? `${__path}?${__queries}` : __path;
2961
+ };
2962
+ exports.managerPaymentCreatePaymentOrderItem = managerPaymentCreatePaymentOrderItem;
2963
+ exports.managerPaymentCreatePaymentOrderItem.method = "POST";
2964
+ /**
2965
+ * マンスリー業者が決済項目を更新する
2966
+ *
2967
+ */
2968
+ const managerPaymentUpdatePaymentOrderItem = ({ paymentOrderId, paymentOrderItemId, }) => {
2969
+ const __root = (0, exports.root)();
2970
+ const __queries = Object.entries({})
2971
+ .filter(([_, value]) => {
2972
+ return value !== undefined;
2973
+ })
2974
+ .map(([key, value]) => {
2975
+ return `${key}=${value}`;
2976
+ })
2977
+ .join("&");
2978
+ const __path = `${__root}/${`manager/payment_orders/${paymentOrderId}/items/${paymentOrderItemId}`}`;
2979
+ return __queries ? `${__path}?${__queries}` : __path;
2980
+ };
2981
+ exports.managerPaymentUpdatePaymentOrderItem = managerPaymentUpdatePaymentOrderItem;
2982
+ exports.managerPaymentUpdatePaymentOrderItem.method = "PUT";
2983
+ /**
2984
+ * マンスリー業者が決済項目を削除する
2985
+ *
2986
+ */
2987
+ const managerPaymentDeletePaymentOrderItem = ({ paymentOrderId, paymentOrderItemId, }) => {
2988
+ const __root = (0, exports.root)();
2989
+ const __queries = Object.entries({})
2990
+ .filter(([_, value]) => {
2991
+ return value !== undefined;
2992
+ })
2993
+ .map(([key, value]) => {
2994
+ return `${key}=${value}`;
2995
+ })
2996
+ .join("&");
2997
+ const __path = `${__root}/${`manager/payment_orders/${paymentOrderId}/items/${paymentOrderItemId}`}`;
2998
+ return __queries ? `${__path}?${__queries}` : __path;
2999
+ };
3000
+ exports.managerPaymentDeletePaymentOrderItem = managerPaymentDeletePaymentOrderItem;
3001
+ exports.managerPaymentDeletePaymentOrderItem.method = "DELETE";
3002
+ /**
3003
+ * admin権限の管理者が不明な決済ステータスを解決する
3004
+ *
3005
+ */
3006
+ const managerPaymentResolvePaymentOrderUnknownStatus = ({ paymentOrderId, }) => {
3007
+ const __root = (0, exports.root)();
3008
+ const __queries = Object.entries({})
3009
+ .filter(([_, value]) => {
3010
+ return value !== undefined;
3011
+ })
3012
+ .map(([key, value]) => {
3013
+ return `${key}=${value}`;
3014
+ })
3015
+ .join("&");
3016
+ const __path = `${__root}/${`manager/payment_orders/${paymentOrderId}/resolve_unknown_status`}`;
3017
+ return __queries ? `${__path}?${__queries}` : __path;
3018
+ };
3019
+ exports.managerPaymentResolvePaymentOrderUnknownStatus = managerPaymentResolvePaymentOrderUnknownStatus;
3020
+ exports.managerPaymentResolvePaymentOrderUnknownStatus.method = "PUT";
3021
+ /**
3022
+ * 決済取引を出力する
3023
+ * @param {string} yearMonth 2021-09
3024
+ */
3025
+ const exportVeritransPaymentTransactions = ({ yearMonth, }) => {
3026
+ const __root = (0, exports.root)();
3027
+ const __queries = Object.entries({ yearMonth })
3028
+ .filter(([_, value]) => {
3029
+ return value !== undefined;
3030
+ })
3031
+ .map(([key, value]) => {
3032
+ return `${key}=${value}`;
3033
+ })
3034
+ .join("&");
3035
+ const __path = `${__root}/${`manager/payment_orders/export`}`;
3036
+ return __queries ? `${__path}?${__queries}` : __path;
3037
+ };
3038
+ exports.exportVeritransPaymentTransactions = exportVeritransPaymentTransactions;
3039
+ exports.exportVeritransPaymentTransactions.method = "GET";
3040
+ /**
3041
+ * 予約をキャンセルする
3042
+ *
3043
+ */
3044
+ const managerReservationCancel = ({ id }) => {
3045
+ const __root = (0, exports.root)();
3046
+ const __queries = Object.entries({})
3047
+ .filter(([_, value]) => {
3048
+ return value !== undefined;
3049
+ })
3050
+ .map(([key, value]) => {
3051
+ return `${key}=${value}`;
3052
+ })
3053
+ .join("&");
3054
+ const __path = `${__root}/${`manager/reservations/${id}/cancel`}`;
3055
+ return __queries ? `${__path}?${__queries}` : __path;
3056
+ };
3057
+ exports.managerReservationCancel = managerReservationCancel;
3058
+ exports.managerReservationCancel.method = "PUT";
3059
+ /**
3060
+ * 予約の期間を変更する
3061
+ *
3062
+ */
3063
+ const managerReservationChangeStaySpan = ({ id }) => {
3064
+ const __root = (0, exports.root)();
3065
+ const __queries = Object.entries({})
3066
+ .filter(([_, value]) => {
3067
+ return value !== undefined;
3068
+ })
3069
+ .map(([key, value]) => {
3070
+ return `${key}=${value}`;
3071
+ })
3072
+ .join("&");
3073
+ const __path = `${__root}/${`manager/reservations/${id}/change_stay_span`}`;
3074
+ return __queries ? `${__path}?${__queries}` : __path;
3075
+ };
3076
+ exports.managerReservationChangeStaySpan = managerReservationChangeStaySpan;
3077
+ exports.managerReservationChangeStaySpan.method = "PATCH";
3078
+ /**
3079
+ * 予約を部分更新する
3080
+ *
3081
+ */
3082
+ const managerReservationPatch = ({ id }) => {
3083
+ const __root = (0, exports.root)();
3084
+ const __queries = Object.entries({})
3085
+ .filter(([_, value]) => {
3086
+ return value !== undefined;
3087
+ })
3088
+ .map(([key, value]) => {
3089
+ return `${key}=${value}`;
3090
+ })
3091
+ .join("&");
3092
+ const __path = `${__root}/${`manager/reservations/${id}`}`;
3093
+ return __queries ? `${__path}?${__queries}` : __path;
3094
+ };
3095
+ exports.managerReservationPatch = managerReservationPatch;
3096
+ exports.managerReservationPatch.method = "PATCH";
3097
+ /**
3098
+ * 予約コードで予約を検索する
3099
+ *
3100
+ */
3101
+ const managerReservationSearchByReservationCode = () => {
3102
+ const __root = (0, exports.root)();
3103
+ const __queries = Object.entries({})
3104
+ .filter(([_, value]) => {
3105
+ return value !== undefined;
3106
+ })
3107
+ .map(([key, value]) => {
3108
+ return `${key}=${value}`;
3109
+ })
3110
+ .join("&");
3111
+ const __path = `${__root}/${`manager/reservations/search_by_code`}`;
3112
+ return __queries ? `${__path}?${__queries}` : __path;
3113
+ };
3114
+ exports.managerReservationSearchByReservationCode = managerReservationSearchByReservationCode;
3115
+ exports.managerReservationSearchByReservationCode.method = "POST";
3116
+ /**
3117
+ * 予約一覧を取得する
3118
+ * @param {string} couponId foo
3119
+ * @param {number} page 0
3120
+ * @param {number} itemsPerPage 20
3121
+ */
3122
+ const managerReservationsList = ({ couponId, page, itemsPerPage, }) => {
3123
+ const __root = (0, exports.root)();
3124
+ const __queries = Object.entries({ couponId, page, itemsPerPage })
3125
+ .filter(([_, value]) => {
3126
+ return value !== undefined;
3127
+ })
3128
+ .map(([key, value]) => {
3129
+ return `${key}=${value}`;
3130
+ })
3131
+ .join("&");
3132
+ const __path = `${__root}/${`manager/reservations`}`;
3133
+ return __queries ? `${__path}?${__queries}` : __path;
3134
+ };
3135
+ exports.managerReservationsList = managerReservationsList;
3136
+ exports.managerReservationsList.method = "GET";
3137
+ /**
3138
+ * ベリトランスアカウントを登録する
3139
+ *
3140
+ */
3141
+ const managerVeritransAccountCreate = () => {
3142
+ const __root = (0, exports.root)();
3143
+ const __queries = Object.entries({})
3144
+ .filter(([_, value]) => {
3145
+ return value !== undefined;
3146
+ })
3147
+ .map(([key, value]) => {
3148
+ return `${key}=${value}`;
3149
+ })
3150
+ .join("&");
3151
+ const __path = `${__root}/${`manager/veritrans_accounts`}`;
3152
+ return __queries ? `${__path}?${__queries}` : __path;
3153
+ };
3154
+ exports.managerVeritransAccountCreate = managerVeritransAccountCreate;
3155
+ exports.managerVeritransAccountCreate.method = "POST";
3156
+ /**
3157
+ * 物件とベリトランスアカウントの紐付けを登録する
3158
+ *
3159
+ */
3160
+ const managerListingVeritransAccountRelationRegister = () => {
3161
+ const __root = (0, exports.root)();
3162
+ const __queries = Object.entries({})
3163
+ .filter(([_, value]) => {
3164
+ return value !== undefined;
3165
+ })
3166
+ .map(([key, value]) => {
3167
+ return `${key}=${value}`;
3168
+ })
3169
+ .join("&");
3170
+ const __path = `${__root}/${`manager/listing_veritrans_account_relations`}`;
3171
+ return __queries ? `${__path}?${__queries}` : __path;
3172
+ };
3173
+ exports.managerListingVeritransAccountRelationRegister = managerListingVeritransAccountRelationRegister;
3174
+ exports.managerListingVeritransAccountRelationRegister.method = "POST";
3175
+ /**
3176
+ * 空欄の決済項目のidを更新する
3177
+ *
3178
+ */
3179
+ const updateAllBlankPaymentOrderItemId = () => {
3180
+ const __root = (0, exports.root)();
3181
+ const __queries = Object.entries({})
3182
+ .filter(([_, value]) => {
3183
+ return value !== undefined;
3184
+ })
3185
+ .map(([key, value]) => {
3186
+ return `${key}=${value}`;
3187
+ })
3188
+ .join("&");
3189
+ const __path = `${__root}/${`update_all_blanck_payment_order_item_id`}`;
3190
+ return __queries ? `${__path}?${__queries}` : __path;
3191
+ };
3192
+ exports.updateAllBlankPaymentOrderItemId = updateAllBlankPaymentOrderItemId;
3193
+ exports.updateAllBlankPaymentOrderItemId.method = "PUT";
3194
+ /**
3195
+ * 問い合わせとゲストの紐付けを行う
3196
+ * @param {string} couponCode ask3kd
3197
+ * @param {string} listingId 1a1969fa-2684-412b-846d-2913d6991aa5
3198
+ */
3199
+ const guestCouponGetByCouponCode = ({ couponCode, listingId, }) => {
3200
+ const __root = (0, exports.root)();
3201
+ const __queries = Object.entries({ couponCode, listingId })
3202
+ .filter(([_, value]) => {
3203
+ return value !== undefined;
3204
+ })
3205
+ .map(([key, value]) => {
3206
+ return `${key}=${value}`;
3207
+ })
3208
+ .join("&");
3209
+ const __path = `${__root}/${`coupons`}`;
3210
+ return __queries ? `${__path}?${__queries}` : __path;
3211
+ };
3212
+ exports.guestCouponGetByCouponCode = guestCouponGetByCouponCode;
3213
+ exports.guestCouponGetByCouponCode.method = "GET";
3214
+ /**
3215
+ * クーポンを作成する
3216
+ *
3217
+ */
3218
+ const managerCouponCreate = () => {
3219
+ const __root = (0, exports.root)();
3220
+ const __queries = Object.entries({})
3221
+ .filter(([_, value]) => {
3222
+ return value !== undefined;
3223
+ })
3224
+ .map(([key, value]) => {
3225
+ return `${key}=${value}`;
3226
+ })
3227
+ .join("&");
3228
+ const __path = `${__root}/${`manager/coupons`}`;
3229
+ return __queries ? `${__path}?${__queries}` : __path;
3230
+ };
3231
+ exports.managerCouponCreate = managerCouponCreate;
3232
+ exports.managerCouponCreate.method = "POST";
3233
+ /**
3234
+ * クーポン一覧を取得する
3235
+ *
3236
+ */
3237
+ const managerCouponList = () => {
3238
+ const __root = (0, exports.root)();
3239
+ const __queries = Object.entries({})
3240
+ .filter(([_, value]) => {
3241
+ return value !== undefined;
3242
+ })
3243
+ .map(([key, value]) => {
3244
+ return `${key}=${value}`;
3245
+ })
3246
+ .join("&");
3247
+ const __path = `${__root}/${`manager/coupons`}`;
3248
+ return __queries ? `${__path}?${__queries}` : __path;
3249
+ };
3250
+ exports.managerCouponList = managerCouponList;
3251
+ exports.managerCouponList.method = "GET";
3252
+ /**
3253
+ * クーポンを編集する
3254
+ *
3255
+ */
3256
+ const managerCouponPath = ({ couponId }) => {
3257
+ const __root = (0, exports.root)();
3258
+ const __queries = Object.entries({})
3259
+ .filter(([_, value]) => {
3260
+ return value !== undefined;
3261
+ })
3262
+ .map(([key, value]) => {
3263
+ return `${key}=${value}`;
3264
+ })
3265
+ .join("&");
3266
+ const __path = `${__root}/${`manager/coupons/${couponId}`}`;
3267
+ return __queries ? `${__path}?${__queries}` : __path;
3268
+ };
3269
+ exports.managerCouponPath = managerCouponPath;
3270
+ exports.managerCouponPath.method = "PATCH";
3271
+ /**
3272
+ * クーポンを取得する
3273
+ *
3274
+ */
3275
+ const managerCouponGet = ({ couponId }) => {
3276
+ const __root = (0, exports.root)();
3277
+ const __queries = Object.entries({})
3278
+ .filter(([_, value]) => {
3279
+ return value !== undefined;
3280
+ })
3281
+ .map(([key, value]) => {
3282
+ return `${key}=${value}`;
3283
+ })
3284
+ .join("&");
3285
+ const __path = `${__root}/${`manager/coupons/${couponId}`}`;
3286
+ return __queries ? `${__path}?${__queries}` : __path;
3287
+ };
3288
+ exports.managerCouponGet = managerCouponGet;
3289
+ exports.managerCouponGet.method = "GET";
3290
+ /**
3291
+ * クーポンと物件の関係を取得する
3292
+ *
3293
+ */
3294
+ const managerCouponListingRelationsGet = ({ couponId, }) => {
3295
+ const __root = (0, exports.root)();
3296
+ const __queries = Object.entries({})
3297
+ .filter(([_, value]) => {
3298
+ return value !== undefined;
3299
+ })
3300
+ .map(([key, value]) => {
3301
+ return `${key}=${value}`;
3302
+ })
3303
+ .join("&");
3304
+ const __path = `${__root}/${`manager/coupon_listing_relations/${couponId}`}`;
3305
+ return __queries ? `${__path}?${__queries}` : __path;
3306
+ };
3307
+ exports.managerCouponListingRelationsGet = managerCouponListingRelationsGet;
3308
+ exports.managerCouponListingRelationsGet.method = "GET";
3309
+ /**
3310
+ * クーポンと物件の関係を複数作成する
3311
+ *
3312
+ */
3313
+ const managerCouponListingRelationsBatchCreate = () => {
3314
+ const __root = (0, exports.root)();
3315
+ const __queries = Object.entries({})
3316
+ .filter(([_, value]) => {
3317
+ return value !== undefined;
3318
+ })
3319
+ .map(([key, value]) => {
3320
+ return `${key}=${value}`;
3321
+ })
3322
+ .join("&");
3323
+ const __path = `${__root}/${`manager/coupon_listing_relations/batch_create`}`;
3324
+ return __queries ? `${__path}?${__queries}` : __path;
3325
+ };
3326
+ exports.managerCouponListingRelationsBatchCreate = managerCouponListingRelationsBatchCreate;
3327
+ exports.managerCouponListingRelationsBatchCreate.method = "POST";
3328
+ /**
3329
+ * クーポンと物件の関係を削除する
3330
+ *
3331
+ */
3332
+ const managerCouponListingRelationsDelete = () => {
3333
+ const __root = (0, exports.root)();
3334
+ const __queries = Object.entries({})
3335
+ .filter(([_, value]) => {
3336
+ return value !== undefined;
3337
+ })
3338
+ .map(([key, value]) => {
3339
+ return `${key}=${value}`;
3340
+ })
3341
+ .join("&");
3342
+ const __path = `${__root}/${`manager/coupon_listing_relations`}`;
3343
+ return __queries ? `${__path}?${__queries}` : __path;
3344
+ };
3345
+ exports.managerCouponListingRelationsDelete = managerCouponListingRelationsDelete;
3346
+ exports.managerCouponListingRelationsDelete.method = "DELETE";
3347
+ /**
3348
+ * 部屋タイプを作成する
3349
+ *
3350
+ */
3351
+ const managerRoomTypeCreate = () => {
3352
+ const __root = (0, exports.root)();
3353
+ const __queries = Object.entries({})
3354
+ .filter(([_, value]) => {
3355
+ return value !== undefined;
3356
+ })
3357
+ .map(([key, value]) => {
3358
+ return `${key}=${value}`;
3359
+ })
3360
+ .join("&");
3361
+ const __path = `${__root}/${`manager/room_types`}`;
3362
+ return __queries ? `${__path}?${__queries}` : __path;
3363
+ };
3364
+ exports.managerRoomTypeCreate = managerRoomTypeCreate;
3365
+ exports.managerRoomTypeCreate.method = "POST";
3366
+ /**
3367
+ * 部屋タイプを一覧を取得する
3368
+ * @param {number} page 0
3369
+ * @param {number} itemsPerPage 20
3370
+ */
3371
+ const managerRoomTypeList = ({ page, itemsPerPage, }) => {
3372
+ const __root = (0, exports.root)();
3373
+ const __queries = Object.entries({ page, itemsPerPage })
3374
+ .filter(([_, value]) => {
3375
+ return value !== undefined;
3376
+ })
3377
+ .map(([key, value]) => {
3378
+ return `${key}=${value}`;
3379
+ })
3380
+ .join("&");
3381
+ const __path = `${__root}/${`manager/room_types`}`;
3382
+ return __queries ? `${__path}?${__queries}` : __path;
3383
+ };
3384
+ exports.managerRoomTypeList = managerRoomTypeList;
3385
+ exports.managerRoomTypeList.method = "GET";
3386
+ /**
3387
+ * 部屋タイプを部分更新する
3388
+ *
3389
+ */
3390
+ const managerRoomTypePatch = ({ id }) => {
3391
+ const __root = (0, exports.root)();
3392
+ const __queries = Object.entries({})
3393
+ .filter(([_, value]) => {
3394
+ return value !== undefined;
3395
+ })
3396
+ .map(([key, value]) => {
3397
+ return `${key}=${value}`;
3398
+ })
3399
+ .join("&");
3400
+ const __path = `${__root}/${`manager/room_types/${id}`}`;
3401
+ return __queries ? `${__path}?${__queries}` : __path;
3402
+ };
3403
+ exports.managerRoomTypePatch = managerRoomTypePatch;
3404
+ exports.managerRoomTypePatch.method = "PATCH";
3405
+ /**
3406
+ * 部屋タイプを取得する
3407
+ *
3408
+ */
3409
+ const managerRoomTypeGet = ({ id }) => {
3410
+ const __root = (0, exports.root)();
3411
+ const __queries = Object.entries({})
3412
+ .filter(([_, value]) => {
3413
+ return value !== undefined;
3414
+ })
3415
+ .map(([key, value]) => {
3416
+ return `${key}=${value}`;
3417
+ })
3418
+ .join("&");
3419
+ const __path = `${__root}/${`manager/room_types/${id}`}`;
3420
+ return __queries ? `${__path}?${__queries}` : __path;
3421
+ };
3422
+ exports.managerRoomTypeGet = managerRoomTypeGet;
3423
+ exports.managerRoomTypeGet.method = "GET";
3424
+ /**
3425
+ * 部屋タイプの代表の部屋を選ぶ
3426
+ *
3427
+ */
3428
+ const managerRoomTypeSelectRepresentListing = ({ id, }) => {
3429
+ const __root = (0, exports.root)();
3430
+ const __queries = Object.entries({})
3431
+ .filter(([_, value]) => {
3432
+ return value !== undefined;
3433
+ })
3434
+ .map(([key, value]) => {
3435
+ return `${key}=${value}`;
3436
+ })
3437
+ .join("&");
3438
+ const __path = `${__root}/${`manager/room_types/${id}/select_represent_listing`}`;
3439
+ return __queries ? `${__path}?${__queries}` : __path;
3440
+ };
3441
+ exports.managerRoomTypeSelectRepresentListing = managerRoomTypeSelectRepresentListing;
3442
+ exports.managerRoomTypeSelectRepresentListing.method = "POST";
3443
+ /**
3444
+ * 部屋タイプに部屋を連携する
3445
+ *
3446
+ */
3447
+ const managerRoomTypeAssociateListing = ({ id }) => {
3448
+ const __root = (0, exports.root)();
3449
+ const __queries = Object.entries({})
3450
+ .filter(([_, value]) => {
3451
+ return value !== undefined;
3452
+ })
3453
+ .map(([key, value]) => {
3454
+ return `${key}=${value}`;
3455
+ })
3456
+ .join("&");
3457
+ const __path = `${__root}/${`manager/room_types/${id}/associate_listings`}`;
3458
+ return __queries ? `${__path}?${__queries}` : __path;
3459
+ };
3460
+ exports.managerRoomTypeAssociateListing = managerRoomTypeAssociateListing;
3461
+ exports.managerRoomTypeAssociateListing.method = "POST";
3462
+ /**
3463
+ * 部屋タイプから部屋を解除する
3464
+ *
3465
+ */
3466
+ const managerRoomTypeDetachListings = ({ id }) => {
3467
+ const __root = (0, exports.root)();
3468
+ const __queries = Object.entries({})
3469
+ .filter(([_, value]) => {
3470
+ return value !== undefined;
3471
+ })
3472
+ .map(([key, value]) => {
3473
+ return `${key}=${value}`;
3474
+ })
3475
+ .join("&");
3476
+ const __path = `${__root}/${`manager/room_types/${id}/detach_listings`}`;
3477
+ return __queries ? `${__path}?${__queries}` : __path;
3478
+ };
3479
+ exports.managerRoomTypeDetachListings = managerRoomTypeDetachListings;
3480
+ exports.managerRoomTypeDetachListings.method = "POST";
3481
+ /**
3482
+ * 部屋タイプの翻訳データを更新する
3483
+ *
3484
+ */
3485
+ const managerRoomTypeUpdateLocalizedData = ({ id }) => {
3486
+ const __root = (0, exports.root)();
3487
+ const __queries = Object.entries({})
3488
+ .filter(([_, value]) => {
3489
+ return value !== undefined;
3490
+ })
3491
+ .map(([key, value]) => {
3492
+ return `${key}=${value}`;
3493
+ })
3494
+ .join("&");
3495
+ const __path = `${__root}/${`manager/room_types/${id}/localized_data`}`;
3496
+ return __queries ? `${__path}?${__queries}` : __path;
3497
+ };
3498
+ exports.managerRoomTypeUpdateLocalizedData = managerRoomTypeUpdateLocalizedData;
3499
+ exports.managerRoomTypeUpdateLocalizedData.method = "POST";
3500
+ /**
3501
+ * 部屋タイプの翻訳データを削除する
3502
+ *
3503
+ */
3504
+ const managerRoomTypeDeleteLocalizedData = ({ id, locale, }) => {
3505
+ const __root = (0, exports.root)();
3506
+ const __queries = Object.entries({})
3507
+ .filter(([_, value]) => {
3508
+ return value !== undefined;
3509
+ })
3510
+ .map(([key, value]) => {
3511
+ return `${key}=${value}`;
3512
+ })
3513
+ .join("&");
3514
+ const __path = `${__root}/${`manager/room_types/${id}/localized_data/${locale}`}`;
3515
+ return __queries ? `${__path}?${__queries}` : __path;
3516
+ };
3517
+ exports.managerRoomTypeDeleteLocalizedData = managerRoomTypeDeleteLocalizedData;
3518
+ exports.managerRoomTypeDeleteLocalizedData.method = "DELETE";
3519
+ /**
3520
+ * 公開されている部屋タイプの日ごとのカレンダーを取得する
3521
+ *
3522
+ */
3523
+ const roomTypeCalendarGetByRoomTypeId = ({ roomTypeId, }) => {
3524
+ const __root = (0, exports.root)();
3525
+ const __queries = Object.entries({})
3526
+ .filter(([_, value]) => {
3527
+ return value !== undefined;
3528
+ })
3529
+ .map(([key, value]) => {
3530
+ return `${key}=${value}`;
3531
+ })
3532
+ .join("&");
3533
+ const __path = `${__root}/${`room_types/${roomTypeId}/calendar_dates/query`}`;
3534
+ return __queries ? `${__path}?${__queries}` : __path;
3535
+ };
3536
+ exports.roomTypeCalendarGetByRoomTypeId = roomTypeCalendarGetByRoomTypeId;
3537
+ exports.roomTypeCalendarGetByRoomTypeId.method = "POST";
3538
+ /**
3539
+ * 部屋タイプと代表の部屋を取得する
3540
+ * @param {string} locale ja
3541
+ */
3542
+ const roomTypeGetRepresentListing = ({ locale, roomTypeId, }) => {
3543
+ const __root = (0, exports.root)();
3544
+ const __queries = Object.entries({ locale })
3545
+ .filter(([_, value]) => {
3546
+ return value !== undefined;
3547
+ })
3548
+ .map(([key, value]) => {
3549
+ return `${key}=${value}`;
3550
+ })
3551
+ .join("&");
3552
+ const __path = `${__root}/${`room_types/${roomTypeId}/represent_listing`}`;
3553
+ return __queries ? `${__path}?${__queries}` : __path;
3554
+ };
3555
+ exports.roomTypeGetRepresentListing = roomTypeGetRepresentListing;
3556
+ exports.roomTypeGetRepresentListing.method = "GET";
3557
+ /**
3558
+ * 指定した宿泊可能な期間と入居人数に対する宿泊契約の合計料金を取得する
3559
+ * @param {string} startDate 2020-04-02
3560
+ * @param {string} endDate 2020-05-23
3561
+ * @param {number} persons 3
3562
+ */
3563
+ const roomTypeGetHotelStayTotalCostForAvailableDateSpanAndPersons = ({ startDate, endDate, persons, roomTypeId, }) => {
3564
+ const __root = (0, exports.root)();
3565
+ const __queries = Object.entries({ startDate, endDate, persons })
3566
+ .filter(([_, value]) => {
3567
+ return value !== undefined;
3568
+ })
3569
+ .map(([key, value]) => {
3570
+ return `${key}=${value}`;
3571
+ })
3572
+ .join("&");
3573
+ const __path = `${__root}/${`room_types/${roomTypeId}/hotel_stay_cost`}`;
3574
+ return __queries ? `${__path}?${__queries}` : __path;
3575
+ };
3576
+ exports.roomTypeGetHotelStayTotalCostForAvailableDateSpanAndPersons = roomTypeGetHotelStayTotalCostForAvailableDateSpanAndPersons;
3577
+ exports.roomTypeGetHotelStayTotalCostForAvailableDateSpanAndPersons.method =
3578
+ "GET";
3579
+ exports.sumyca_v3 = {
3580
+ healthCheck: exports.healthCheck,
3581
+ readContract: exports.readContract,
3582
+ contractSubmitGuestInformation: exports.contractSubmitGuestInformation,
3583
+ contractSubmitCorporationInformation: exports.contractSubmitCorporationInformation,
3584
+ contractAgree: exports.contractAgree,
3585
+ contractGetResidentCount: exports.contractGetResidentCount,
3586
+ guestIdentificationUploadImage: exports.guestIdentificationUploadImage,
3587
+ authListContracts: exports.authListContracts,
3588
+ authGetContract: exports.authGetContract,
3589
+ authReadContract: exports.authReadContract,
3590
+ authContractGetGuestInformation: exports.authContractGetGuestInformation,
3591
+ authContractGetCorporationInformation: exports.authContractGetCorporationInformation,
3592
+ authContractUpdateGuestInformation: exports.authContractUpdateGuestInformation,
3593
+ authContractUpdateCorporationInformation: exports.authContractUpdateCorporationInformation,
3594
+ authContractSubmitGuestInformationForIndividual: exports.authContractSubmitGuestInformationForIndividual,
3595
+ authContractSubmitGuestInformation: exports.authContractSubmitGuestInformation,
3596
+ authContractAgree: exports.authContractAgree,
3597
+ authGuestIdentificationList: exports.authGuestIdentificationList,
3598
+ authGuestIdentificationGetImageData: exports.authGuestIdentificationGetImageData,
3599
+ authGuestIdentificationUploadImageData: exports.authGuestIdentificationUploadImageData,
3600
+ authGuestIdentificationAdditionalUploadImageData: exports.authGuestIdentificationAdditionalUploadImageData,
3601
+ authGuestIdentificationDeleteImageData: exports.authGuestIdentificationDeleteImageData,
3602
+ listingGet: exports.listingGet,
3603
+ listingGetTotalCostForDateSpanAndPersons: exports.listingGetTotalCostForDateSpanAndPersons,
3604
+ getCalendarsByListingIdAndDateSpan: exports.getCalendarsByListingIdAndDateSpan,
3605
+ searchListingsByLocationNameAndConditions: exports.searchListingsByLocationNameAndConditions,
3606
+ searchListingsByMultipleConditions: exports.searchListingsByMultipleConditions,
3607
+ searchListingsWithRoomTypeByLocationNameAndMultipleConditions: exports.searchListingsWithRoomTypeByLocationNameAndMultipleConditions,
3608
+ getSaleTypeOnSaleListingsSortedBySaleTypeUpdatedAtAsc: exports.getSaleTypeOnSaleListingsSortedBySaleTypeUpdatedAtAsc,
3609
+ guestUserSignUpWithPassword: exports.guestUserSignUpWithPassword,
3610
+ guestuserSignUpWithOAuth: exports.guestuserSignUpWithOAuth,
3611
+ guestUserSigninWithPassword: exports.guestUserSigninWithPassword,
3612
+ guestUserSigninWithOAuth: exports.guestUserSigninWithOAuth,
3613
+ guestUserSendPasswordResetEmail: exports.guestUserSendPasswordResetEmail,
3614
+ guestUserResetPassword: exports.guestUserResetPassword,
3615
+ guestUserAssociateWithInquiry: exports.guestUserAssociateWithInquiry,
3616
+ reservationReserveImmediately: exports.reservationReserveImmediately,
3617
+ notificationsGuestInformationSubmittedSubscribeByInquiryId: exports.notificationsGuestInformationSubmittedSubscribeByInquiryId,
3618
+ notificationsGuestInformationSubmittedUnsubscribeByInquiryId: exports.notificationsGuestInformationSubmittedUnsubscribeByInquiryId,
3619
+ notificationsGuestInformationSubmittedSubscribe: exports.notificationsGuestInformationSubmittedSubscribe,
3620
+ notificationsGuestInformationSubmittedUnsubscribe: exports.notificationsGuestInformationSubmittedUnsubscribe,
3621
+ notificationsPaymentCompletedSubscribeByPaymentOrderId: exports.notificationsPaymentCompletedSubscribeByPaymentOrderId,
3622
+ notificationsPaymentCompletedUnsubscribeByPaymentOrderId: exports.notificationsPaymentCompletedUnsubscribeByPaymentOrderId,
3623
+ notificationsPaymentCompletedSubscribe: exports.notificationsPaymentCompletedSubscribe,
3624
+ notificationsPaymentCompletedUnsubscribe: exports.notificationsPaymentCompletedUnsubscribe,
3625
+ notificationsPaymentFailedSubscribeByPaymentOrderId: exports.notificationsPaymentFailedSubscribeByPaymentOrderId,
3626
+ notificationsPaymentFailedUnsubscribeByPaymentOrderId: exports.notificationsPaymentFailedUnsubscribeByPaymentOrderId,
3627
+ notificationsPaymentFailedSubscribe: exports.notificationsPaymentFailedSubscribe,
3628
+ notificationsPaymentFailedUnsubscribe: exports.notificationsPaymentFailedUnsubscribe,
3629
+ managerListingCreateNotReady: exports.managerListingCreateNotReady,
3630
+ managerListingList: exports.managerListingList,
3631
+ managerListingUpdate: exports.managerListingUpdate,
3632
+ managerListingPatch: exports.managerListingPatch,
3633
+ managerListingGet: exports.managerListingGet,
3634
+ managerListingRequestForRegistration: exports.managerListingRequestForRegistration,
3635
+ managerListingWithdrawRegistrationRequest: exports.managerListingWithdrawRegistrationRequest,
3636
+ managerListingOpen: exports.managerListingOpen,
3637
+ managerListingClose: exports.managerListingClose,
3638
+ managerListingCreateFromM2mCore: exports.managerListingCreateFromM2mCore,
3639
+ managerListingM2mCoreListingRelations: exports.managerListingM2mCoreListingRelations,
3640
+ managerListingUpdateImageOrder: exports.managerListingUpdateImageOrder,
3641
+ managerListingUploadMainImage: exports.managerListingUploadMainImage,
3642
+ managerListingUploadLayoutImage: exports.managerListingUploadLayoutImage,
3643
+ managerListingDeleteLayoutImage: exports.managerListingDeleteLayoutImage,
3644
+ managerListingAddImage: exports.managerListingAddImage,
3645
+ managerListingCalendarSyncSettingsGet: exports.managerListingCalendarSyncSettingsGet,
3646
+ managerListingCalendarSyncSettingsPut: exports.managerListingCalendarSyncSettingsPut,
3647
+ mangerListingSearch: exports.mangerListingSearch,
3648
+ managerListingDeleteLocalizedData: exports.managerListingDeleteLocalizedData,
3649
+ managerListingPutKeyword: exports.managerListingPutKeyword,
3650
+ managerListingPutKeywordRemove: exports.managerListingPutKeywordRemove,
3651
+ managerSearchListingsByNameForManage: exports.managerSearchListingsByNameForManage,
3652
+ managerGetContract: exports.managerGetContract,
3653
+ managerUpdateContract: exports.managerUpdateContract,
3654
+ managerPublishContract: exports.managerPublishContract,
3655
+ managerGetAntisocialAnalyzeResult: exports.managerGetAntisocialAnalyzeResult,
3656
+ managerExecuteAntisocialAnalyze: exports.managerExecuteAntisocialAnalyze,
3657
+ managerGetContractToken: exports.managerGetContractToken,
3658
+ managerGuestIdentificationList: exports.managerGuestIdentificationList,
3659
+ managerGuestIdentificationGetImageData: exports.managerGuestIdentificationGetImageData,
3660
+ managerGuestIdentificationUploadImageData: exports.managerGuestIdentificationUploadImageData,
3661
+ managerGuestIdentificationDeleteImageData: exports.managerGuestIdentificationDeleteImageData,
3662
+ managerContractClauseCreate: exports.managerContractClauseCreate,
3663
+ managerContractClauseList: exports.managerContractClauseList,
3664
+ managerContractClauseUpdate: exports.managerContractClauseUpdate,
3665
+ managerContractClauseGet: exports.managerContractClauseGet,
3666
+ adminListingGet: exports.adminListingGet,
3667
+ adminListingAcceptRegistration: exports.adminListingAcceptRegistration,
3668
+ adminListingOpen: exports.adminListingOpen,
3669
+ internalDeleteListing: exports.internalDeleteListing,
3670
+ inquiryCreate: exports.inquiryCreate,
3671
+ inquiryGetPaymentOrders: exports.inquiryGetPaymentOrders,
3672
+ inquiryGetReservation: exports.inquiryGetReservation,
3673
+ inquiryGetVeritransTokenApiKey: exports.inquiryGetVeritransTokenApiKey,
3674
+ inquiryGetCoupon: exports.inquiryGetCoupon,
3675
+ inquiryCreateForCategoryPage: exports.inquiryCreateForCategoryPage,
3676
+ managerInquiriesCreate: exports.managerInquiriesCreate,
3677
+ managerInquiriesList: exports.managerInquiriesList,
3678
+ managerInquiryUpdate: exports.managerInquiryUpdate,
3679
+ managerInquiryAvailabilityStatusUpdate: exports.managerInquiryAvailabilityStatusUpdate,
3680
+ managerSyncOfContractsAndPaymentsStatusUpdate: exports.managerSyncOfContractsAndPaymentsStatusUpdate,
3681
+ managerInquiryUpdateListingRelation: exports.managerInquiryUpdateListingRelation,
3682
+ managerInquiryGet: exports.managerInquiryGet,
3683
+ managerInquiriesIssueGuestInformationForm: exports.managerInquiriesIssueGuestInformationForm,
3684
+ managerInquiriesReissueContractPassword: exports.managerInquiriesReissueContractPassword,
3685
+ managerInquiriesReissueContractToken: exports.managerInquiriesReissueContractToken,
3686
+ managerInquriesGetAssociatedGuestInformation: exports.managerInquriesGetAssociatedGuestInformation,
3687
+ managerInquiriesScreenGuest: exports.managerInquiriesScreenGuest,
3688
+ managerInquiriesStartScreeningGuest: exports.managerInquiriesStartScreeningGuest,
3689
+ managerInquiriesGetInquiryToken: exports.managerInquiriesGetInquiryToken,
3690
+ managerInquiriesPublishInquiryToken: exports.managerInquiriesPublishInquiryToken,
3691
+ managerInquiriesGetPaymentOrderItemsForContract: exports.managerInquiriesGetPaymentOrderItemsForContract,
3692
+ managerInquiriesCreatePaymentOrder: exports.managerInquiriesCreatePaymentOrder,
3693
+ managerInquiriesListPaymentOrders: exports.managerInquiriesListPaymentOrders,
3694
+ managerInquiriesGetReservation: exports.managerInquiriesGetReservation,
3695
+ managerInquiriesGetAssociationGuest: exports.managerInquiriesGetAssociationGuest,
3696
+ adminCompanyCreate: exports.adminCompanyCreate,
3697
+ informationGetCityNamesInPrefecture: exports.informationGetCityNamesInPrefecture,
3698
+ informationGetLocationForCompany: exports.informationGetLocationForCompany,
3699
+ informationGetKeywordsByCategories: exports.informationGetKeywordsByCategories,
3700
+ informationGetLineNamesByPrefectureNameForCompany: exports.informationGetLineNamesByPrefectureNameForCompany,
3701
+ informationGetStationNamesByLineNameForCompany: exports.informationGetStationNamesByLineNameForCompany,
3702
+ managerOwnerList: exports.managerOwnerList,
3703
+ managerOwnerGet: exports.managerOwnerGet,
3704
+ managerOwnerCreate: exports.managerOwnerCreate,
3705
+ managerOwnerUpdate: exports.managerOwnerUpdate,
3706
+ managerOwnerDelete: exports.managerOwnerDelete,
3707
+ managerCalendarBlockCreate: exports.managerCalendarBlockCreate,
3708
+ managerCalendarBlockGet: exports.managerCalendarBlockGet,
3709
+ managerCalendarBlockUpdate: exports.managerCalendarBlockUpdate,
3710
+ managerCalendarBlockDelete: exports.managerCalendarBlockDelete,
3711
+ managerCalendarBlockFindByListingId: exports.managerCalendarBlockFindByListingId,
3712
+ managerCalendarAvailableListingsSearch: exports.managerCalendarAvailableListingsSearch,
3713
+ managerCalendarImportCalendarRent: exports.managerCalendarImportCalendarRent,
3714
+ managerCalendarExportCalendarRent: exports.managerCalendarExportCalendarRent,
3715
+ managerICalParse: exports.managerICalParse,
3716
+ paymentOrdersPayConditional: exports.paymentOrdersPayConditional,
3717
+ paymentOrdersPayConditional3DSecure: exports.paymentOrdersPayConditional3DSecure,
3718
+ paymentNotification: exports.paymentNotification,
3719
+ paymentOrdersPayForInstantBook: exports.paymentOrdersPayForInstantBook,
3720
+ paymentResult: exports.paymentResult,
3721
+ managerPaymentGetPaymentOrder: exports.managerPaymentGetPaymentOrder,
3722
+ managerPaymentSyncUnregisteredVeritransPaymentTransaction: exports.managerPaymentSyncUnregisteredVeritransPaymentTransaction,
3723
+ managerPaymentCreatePaymentOrderItem: exports.managerPaymentCreatePaymentOrderItem,
3724
+ managerPaymentUpdatePaymentOrderItem: exports.managerPaymentUpdatePaymentOrderItem,
3725
+ managerPaymentDeletePaymentOrderItem: exports.managerPaymentDeletePaymentOrderItem,
3726
+ managerPaymentResolvePaymentOrderUnknownStatus: exports.managerPaymentResolvePaymentOrderUnknownStatus,
3727
+ exportVeritransPaymentTransactions: exports.exportVeritransPaymentTransactions,
3728
+ managerReservationCancel: exports.managerReservationCancel,
3729
+ managerReservationChangeStaySpan: exports.managerReservationChangeStaySpan,
3730
+ managerReservationPatch: exports.managerReservationPatch,
3731
+ managerReservationSearchByReservationCode: exports.managerReservationSearchByReservationCode,
3732
+ managerReservationsList: exports.managerReservationsList,
3733
+ managerVeritransAccountCreate: exports.managerVeritransAccountCreate,
3734
+ managerListingVeritransAccountRelationRegister: exports.managerListingVeritransAccountRelationRegister,
3735
+ updateAllBlankPaymentOrderItemId: exports.updateAllBlankPaymentOrderItemId,
3736
+ guestCouponGetByCouponCode: exports.guestCouponGetByCouponCode,
3737
+ managerCouponCreate: exports.managerCouponCreate,
3738
+ managerCouponList: exports.managerCouponList,
3739
+ managerCouponPath: exports.managerCouponPath,
3740
+ managerCouponGet: exports.managerCouponGet,
3741
+ managerCouponListingRelationsGet: exports.managerCouponListingRelationsGet,
3742
+ managerCouponListingRelationsBatchCreate: exports.managerCouponListingRelationsBatchCreate,
3743
+ managerCouponListingRelationsDelete: exports.managerCouponListingRelationsDelete,
3744
+ managerRoomTypeCreate: exports.managerRoomTypeCreate,
3745
+ managerRoomTypeList: exports.managerRoomTypeList,
3746
+ managerRoomTypePatch: exports.managerRoomTypePatch,
3747
+ managerRoomTypeGet: exports.managerRoomTypeGet,
3748
+ managerRoomTypeSelectRepresentListing: exports.managerRoomTypeSelectRepresentListing,
3749
+ managerRoomTypeAssociateListing: exports.managerRoomTypeAssociateListing,
3750
+ managerRoomTypeDetachListings: exports.managerRoomTypeDetachListings,
3751
+ managerRoomTypeUpdateLocalizedData: exports.managerRoomTypeUpdateLocalizedData,
3752
+ managerRoomTypeDeleteLocalizedData: exports.managerRoomTypeDeleteLocalizedData,
3753
+ roomTypeCalendarGetByRoomTypeId: exports.roomTypeCalendarGetByRoomTypeId,
3754
+ roomTypeGetRepresentListing: exports.roomTypeGetRepresentListing,
3755
+ roomTypeGetHotelStayTotalCostForAvailableDateSpanAndPersons: exports.roomTypeGetHotelStayTotalCostForAvailableDateSpanAndPersons,
3756
+ };