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.
- package/README.md +4 -4
- package/lib/classes/Config.d.ts +18 -8
- package/lib/classes/Config.js +3 -5
- package/lib/endpoints/m2m-core.d.ts +4 -0
- package/lib/endpoints/m2m-core.js +7 -0
- package/lib/endpoints/m2m-core.v1.d.ts +5784 -0
- package/lib/endpoints/m2m-core.v1.js +7657 -0
- package/lib/endpoints/m2m-notifications.d.ts +4 -0
- package/lib/endpoints/m2m-notifications.js +7 -0
- package/lib/endpoints/m2m-notifications.v1.d.ts +86 -0
- package/lib/endpoints/m2m-notifications.v1.js +146 -0
- package/lib/endpoints/m2m-users.d.ts +4 -0
- package/lib/endpoints/m2m-users.js +7 -0
- package/lib/endpoints/m2m-users.v1.d.ts +220 -0
- package/lib/endpoints/m2m-users.v1.js +577 -0
- package/lib/endpoints/sumyca.d.ts +8 -0
- package/lib/endpoints/sumyca.guest-v3.d.ts +1104 -0
- package/lib/endpoints/sumyca.guest-v3.js +1294 -0
- package/lib/endpoints/sumyca.js +9 -0
- package/lib/endpoints/sumyca.manager-v3.d.ts +2023 -0
- package/lib/endpoints/sumyca.manager-v3.js +2610 -0
- package/lib/endpoints/sumyca.v3.d.ts +3027 -0
- package/lib/endpoints/sumyca.v3.js +3756 -0
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,2610 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
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 = 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.healthCheck = exports.root = void 0;
|
|
4
|
+
exports.managerPaymentDeletePaymentOrderItem = exports.managerPaymentUpdatePaymentOrderItem = exports.managerPaymentCreatePaymentOrderItem = exports.managerPaymentSyncUnregisteredVeritransPaymentTransaction = exports.managerPaymentGetPaymentOrder = 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 = exports.managerInquiryUpdate = exports.managerInquiriesList = exports.managerInquiriesCreate = exports.internalDeleteListing = exports.adminListingOpen = exports.adminListingAcceptRegistration = exports.adminListingGet = exports.managerContractClauseGet = void 0;
|
|
5
|
+
exports.sumyca_managerV3 = 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.updateAllBlankPaymentOrderItemId = exports.managerListingVeritransAccountRelationRegister = exports.managerVeritransAccountCreate = exports.managerReservationsList = exports.managerReservationSearchByReservationCode = exports.managerReservationPatch = exports.managerReservationChangeStaySpan = exports.managerReservationCancel = exports.exportVeritransPaymentTransactions = exports.managerPaymentResolvePaymentOrderUnknownStatus = void 0;
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
/**
|
|
8
|
+
* A function that returns the URL part common to the endpoints.
|
|
9
|
+
*/
|
|
10
|
+
const root = () => {
|
|
11
|
+
let __root = "";
|
|
12
|
+
if (process.env.NODE_ENV === "local") {
|
|
13
|
+
__root = "http://localhost:8080";
|
|
14
|
+
}
|
|
15
|
+
if (process.env.NODE_ENV === "localDev") {
|
|
16
|
+
__root = "https://api-sumyca.dev.m2msystems.cloud";
|
|
17
|
+
}
|
|
18
|
+
if (process.env.NODE_ENV === "development") {
|
|
19
|
+
__root = "https://hoge.com";
|
|
20
|
+
}
|
|
21
|
+
if (process.env.NODE_ENV === "production") {
|
|
22
|
+
__root = "https://api-sumyca.m2msystems.cloud";
|
|
23
|
+
}
|
|
24
|
+
return __root;
|
|
25
|
+
};
|
|
26
|
+
exports.root = root;
|
|
27
|
+
/**
|
|
28
|
+
* ヘルスチェック
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
const healthCheck = () => {
|
|
32
|
+
const __root = (0, exports.root)();
|
|
33
|
+
const __queries = Object.entries({})
|
|
34
|
+
.filter(([_, value]) => {
|
|
35
|
+
return value !== undefined;
|
|
36
|
+
})
|
|
37
|
+
.map(([key, value]) => {
|
|
38
|
+
return `${key}=${value}`;
|
|
39
|
+
})
|
|
40
|
+
.join("&");
|
|
41
|
+
const __path = `${__root}/${`health_check`}`;
|
|
42
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
43
|
+
};
|
|
44
|
+
exports.healthCheck = healthCheck;
|
|
45
|
+
exports.healthCheck.method = "GET";
|
|
46
|
+
/**
|
|
47
|
+
* 問い合わせIDに紐づくゲスト情報提出通知の購読を行う
|
|
48
|
+
*
|
|
49
|
+
*/
|
|
50
|
+
const notificationsGuestInformationSubmittedSubscribeByInquiryId = () => {
|
|
51
|
+
const __root = (0, exports.root)();
|
|
52
|
+
const __queries = Object.entries({})
|
|
53
|
+
.filter(([_, value]) => {
|
|
54
|
+
return value !== undefined;
|
|
55
|
+
})
|
|
56
|
+
.map(([key, value]) => {
|
|
57
|
+
return `${key}=${value}`;
|
|
58
|
+
})
|
|
59
|
+
.join("&");
|
|
60
|
+
const __path = `${__root}/${`manager/notifications/guest_information_submitted/subscribe`}`;
|
|
61
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
62
|
+
};
|
|
63
|
+
exports.notificationsGuestInformationSubmittedSubscribeByInquiryId = notificationsGuestInformationSubmittedSubscribeByInquiryId;
|
|
64
|
+
exports.notificationsGuestInformationSubmittedSubscribeByInquiryId.method =
|
|
65
|
+
"POST";
|
|
66
|
+
/**
|
|
67
|
+
* 問い合わせIDに紐づくゲスト情報提出通知の購読を解除する
|
|
68
|
+
*
|
|
69
|
+
*/
|
|
70
|
+
const notificationsGuestInformationSubmittedUnsubscribeByInquiryId = () => {
|
|
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}/${`manager/notifications/guest_information_submitted/unsubscribe`}`;
|
|
81
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
82
|
+
};
|
|
83
|
+
exports.notificationsGuestInformationSubmittedUnsubscribeByInquiryId = notificationsGuestInformationSubmittedUnsubscribeByInquiryId;
|
|
84
|
+
exports.notificationsGuestInformationSubmittedUnsubscribeByInquiryId.method =
|
|
85
|
+
"POST";
|
|
86
|
+
/**
|
|
87
|
+
* ゲスト情報提出通知の購読を行う
|
|
88
|
+
*
|
|
89
|
+
*/
|
|
90
|
+
const notificationsGuestInformationSubmittedSubscribe = () => {
|
|
91
|
+
const __root = (0, exports.root)();
|
|
92
|
+
const __queries = Object.entries({})
|
|
93
|
+
.filter(([_, value]) => {
|
|
94
|
+
return value !== undefined;
|
|
95
|
+
})
|
|
96
|
+
.map(([key, value]) => {
|
|
97
|
+
return `${key}=${value}`;
|
|
98
|
+
})
|
|
99
|
+
.join("&");
|
|
100
|
+
const __path = `${__root}/${`manager/notifications/guest_information_submitted/subscribe_all`}`;
|
|
101
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
102
|
+
};
|
|
103
|
+
exports.notificationsGuestInformationSubmittedSubscribe = notificationsGuestInformationSubmittedSubscribe;
|
|
104
|
+
exports.notificationsGuestInformationSubmittedSubscribe.method = "POST";
|
|
105
|
+
/**
|
|
106
|
+
* ゲスト情報提出通知の購読を解除する
|
|
107
|
+
*
|
|
108
|
+
*/
|
|
109
|
+
const notificationsGuestInformationSubmittedUnsubscribe = () => {
|
|
110
|
+
const __root = (0, exports.root)();
|
|
111
|
+
const __queries = Object.entries({})
|
|
112
|
+
.filter(([_, value]) => {
|
|
113
|
+
return value !== undefined;
|
|
114
|
+
})
|
|
115
|
+
.map(([key, value]) => {
|
|
116
|
+
return `${key}=${value}`;
|
|
117
|
+
})
|
|
118
|
+
.join("&");
|
|
119
|
+
const __path = `${__root}/${`manager/notifications/guest_information_submitted/unsubscribe_all`}`;
|
|
120
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
121
|
+
};
|
|
122
|
+
exports.notificationsGuestInformationSubmittedUnsubscribe = notificationsGuestInformationSubmittedUnsubscribe;
|
|
123
|
+
exports.notificationsGuestInformationSubmittedUnsubscribe.method = "POST";
|
|
124
|
+
/**
|
|
125
|
+
* 問い合わせIDに決済完了通知の購読を行う
|
|
126
|
+
*
|
|
127
|
+
*/
|
|
128
|
+
const notificationsPaymentCompletedSubscribeByPaymentOrderId = () => {
|
|
129
|
+
const __root = (0, exports.root)();
|
|
130
|
+
const __queries = Object.entries({})
|
|
131
|
+
.filter(([_, value]) => {
|
|
132
|
+
return value !== undefined;
|
|
133
|
+
})
|
|
134
|
+
.map(([key, value]) => {
|
|
135
|
+
return `${key}=${value}`;
|
|
136
|
+
})
|
|
137
|
+
.join("&");
|
|
138
|
+
const __path = `${__root}/${`manager/notifications/payment_completed/subscribe`}`;
|
|
139
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
140
|
+
};
|
|
141
|
+
exports.notificationsPaymentCompletedSubscribeByPaymentOrderId = notificationsPaymentCompletedSubscribeByPaymentOrderId;
|
|
142
|
+
exports.notificationsPaymentCompletedSubscribeByPaymentOrderId.method = "POST";
|
|
143
|
+
/**
|
|
144
|
+
* 問い合わせIDに決済完了通知の購読を解除する
|
|
145
|
+
*
|
|
146
|
+
*/
|
|
147
|
+
const notificationsPaymentCompletedUnsubscribeByPaymentOrderId = () => {
|
|
148
|
+
const __root = (0, exports.root)();
|
|
149
|
+
const __queries = Object.entries({})
|
|
150
|
+
.filter(([_, value]) => {
|
|
151
|
+
return value !== undefined;
|
|
152
|
+
})
|
|
153
|
+
.map(([key, value]) => {
|
|
154
|
+
return `${key}=${value}`;
|
|
155
|
+
})
|
|
156
|
+
.join("&");
|
|
157
|
+
const __path = `${__root}/${`manager/notifications/payment_completed/unsubscribe`}`;
|
|
158
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
159
|
+
};
|
|
160
|
+
exports.notificationsPaymentCompletedUnsubscribeByPaymentOrderId = notificationsPaymentCompletedUnsubscribeByPaymentOrderId;
|
|
161
|
+
exports.notificationsPaymentCompletedUnsubscribeByPaymentOrderId.method =
|
|
162
|
+
"POST";
|
|
163
|
+
/**
|
|
164
|
+
* 決済完了通知の購読を行う
|
|
165
|
+
*
|
|
166
|
+
*/
|
|
167
|
+
const notificationsPaymentCompletedSubscribe = () => {
|
|
168
|
+
const __root = (0, exports.root)();
|
|
169
|
+
const __queries = Object.entries({})
|
|
170
|
+
.filter(([_, value]) => {
|
|
171
|
+
return value !== undefined;
|
|
172
|
+
})
|
|
173
|
+
.map(([key, value]) => {
|
|
174
|
+
return `${key}=${value}`;
|
|
175
|
+
})
|
|
176
|
+
.join("&");
|
|
177
|
+
const __path = `${__root}/${`manager/notifications/payment_completed/subscribe_all`}`;
|
|
178
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
179
|
+
};
|
|
180
|
+
exports.notificationsPaymentCompletedSubscribe = notificationsPaymentCompletedSubscribe;
|
|
181
|
+
exports.notificationsPaymentCompletedSubscribe.method = "POST";
|
|
182
|
+
/**
|
|
183
|
+
* 決済完了通知の購読を解除する
|
|
184
|
+
*
|
|
185
|
+
*/
|
|
186
|
+
const notificationsPaymentCompletedUnsubscribe = () => {
|
|
187
|
+
const __root = (0, exports.root)();
|
|
188
|
+
const __queries = Object.entries({})
|
|
189
|
+
.filter(([_, value]) => {
|
|
190
|
+
return value !== undefined;
|
|
191
|
+
})
|
|
192
|
+
.map(([key, value]) => {
|
|
193
|
+
return `${key}=${value}`;
|
|
194
|
+
})
|
|
195
|
+
.join("&");
|
|
196
|
+
const __path = `${__root}/${`manager/notifications/payment_completed/unsubscribe_all`}`;
|
|
197
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
198
|
+
};
|
|
199
|
+
exports.notificationsPaymentCompletedUnsubscribe = notificationsPaymentCompletedUnsubscribe;
|
|
200
|
+
exports.notificationsPaymentCompletedUnsubscribe.method = "POST";
|
|
201
|
+
/**
|
|
202
|
+
* 問い合わせIDに決済失敗通知の購読を行う
|
|
203
|
+
*
|
|
204
|
+
*/
|
|
205
|
+
const notificationsPaymentFailedSubscribeByPaymentOrderId = () => {
|
|
206
|
+
const __root = (0, exports.root)();
|
|
207
|
+
const __queries = Object.entries({})
|
|
208
|
+
.filter(([_, value]) => {
|
|
209
|
+
return value !== undefined;
|
|
210
|
+
})
|
|
211
|
+
.map(([key, value]) => {
|
|
212
|
+
return `${key}=${value}`;
|
|
213
|
+
})
|
|
214
|
+
.join("&");
|
|
215
|
+
const __path = `${__root}/${`manager/notifications/payment_failed/subscribe`}`;
|
|
216
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
217
|
+
};
|
|
218
|
+
exports.notificationsPaymentFailedSubscribeByPaymentOrderId = notificationsPaymentFailedSubscribeByPaymentOrderId;
|
|
219
|
+
exports.notificationsPaymentFailedSubscribeByPaymentOrderId.method = "POST";
|
|
220
|
+
/**
|
|
221
|
+
* 問い合わせIDに決済失敗通知の購読を解除する
|
|
222
|
+
*
|
|
223
|
+
*/
|
|
224
|
+
const notificationsPaymentFailedUnsubscribeByPaymentOrderId = () => {
|
|
225
|
+
const __root = (0, exports.root)();
|
|
226
|
+
const __queries = Object.entries({})
|
|
227
|
+
.filter(([_, value]) => {
|
|
228
|
+
return value !== undefined;
|
|
229
|
+
})
|
|
230
|
+
.map(([key, value]) => {
|
|
231
|
+
return `${key}=${value}`;
|
|
232
|
+
})
|
|
233
|
+
.join("&");
|
|
234
|
+
const __path = `${__root}/${`manager/notifications/payment_failed/unsubscribe`}`;
|
|
235
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
236
|
+
};
|
|
237
|
+
exports.notificationsPaymentFailedUnsubscribeByPaymentOrderId = notificationsPaymentFailedUnsubscribeByPaymentOrderId;
|
|
238
|
+
exports.notificationsPaymentFailedUnsubscribeByPaymentOrderId.method = "POST";
|
|
239
|
+
/**
|
|
240
|
+
* 決済失敗通知の購読を行う
|
|
241
|
+
*
|
|
242
|
+
*/
|
|
243
|
+
const notificationsPaymentFailedSubscribe = () => {
|
|
244
|
+
const __root = (0, exports.root)();
|
|
245
|
+
const __queries = Object.entries({})
|
|
246
|
+
.filter(([_, value]) => {
|
|
247
|
+
return value !== undefined;
|
|
248
|
+
})
|
|
249
|
+
.map(([key, value]) => {
|
|
250
|
+
return `${key}=${value}`;
|
|
251
|
+
})
|
|
252
|
+
.join("&");
|
|
253
|
+
const __path = `${__root}/${`manager/notifications/payment_failed/subscribe_all`}`;
|
|
254
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
255
|
+
};
|
|
256
|
+
exports.notificationsPaymentFailedSubscribe = notificationsPaymentFailedSubscribe;
|
|
257
|
+
exports.notificationsPaymentFailedSubscribe.method = "POST";
|
|
258
|
+
/**
|
|
259
|
+
* 決済失敗通知の購読を解除する
|
|
260
|
+
*
|
|
261
|
+
*/
|
|
262
|
+
const notificationsPaymentFailedUnsubscribe = () => {
|
|
263
|
+
const __root = (0, exports.root)();
|
|
264
|
+
const __queries = Object.entries({})
|
|
265
|
+
.filter(([_, value]) => {
|
|
266
|
+
return value !== undefined;
|
|
267
|
+
})
|
|
268
|
+
.map(([key, value]) => {
|
|
269
|
+
return `${key}=${value}`;
|
|
270
|
+
})
|
|
271
|
+
.join("&");
|
|
272
|
+
const __path = `${__root}/${`manager/notifications/payment_failed/unsubscribe_all`}`;
|
|
273
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
274
|
+
};
|
|
275
|
+
exports.notificationsPaymentFailedUnsubscribe = notificationsPaymentFailedUnsubscribe;
|
|
276
|
+
exports.notificationsPaymentFailedUnsubscribe.method = "POST";
|
|
277
|
+
/**
|
|
278
|
+
* マンスリー業者が下書き状態のリスティングを作成する
|
|
279
|
+
*
|
|
280
|
+
*/
|
|
281
|
+
const managerListingCreateNotReady = () => {
|
|
282
|
+
const __root = (0, exports.root)();
|
|
283
|
+
const __queries = Object.entries({})
|
|
284
|
+
.filter(([_, value]) => {
|
|
285
|
+
return value !== undefined;
|
|
286
|
+
})
|
|
287
|
+
.map(([key, value]) => {
|
|
288
|
+
return `${key}=${value}`;
|
|
289
|
+
})
|
|
290
|
+
.join("&");
|
|
291
|
+
const __path = `${__root}/${`manager/listings`}`;
|
|
292
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
293
|
+
};
|
|
294
|
+
exports.managerListingCreateNotReady = managerListingCreateNotReady;
|
|
295
|
+
exports.managerListingCreateNotReady.method = "POST";
|
|
296
|
+
/**
|
|
297
|
+
* マンスリー業者が自社のリスティングの一覧を取得する
|
|
298
|
+
* @param {number} page 0
|
|
299
|
+
* @param {number} itemsPerPage 100
|
|
300
|
+
*/
|
|
301
|
+
const managerListingList = ({ page, itemsPerPage, }) => {
|
|
302
|
+
const __root = (0, exports.root)();
|
|
303
|
+
const __queries = Object.entries({ page, itemsPerPage })
|
|
304
|
+
.filter(([_, value]) => {
|
|
305
|
+
return value !== undefined;
|
|
306
|
+
})
|
|
307
|
+
.map(([key, value]) => {
|
|
308
|
+
return `${key}=${value}`;
|
|
309
|
+
})
|
|
310
|
+
.join("&");
|
|
311
|
+
const __path = `${__root}/${`manager/listings`}`;
|
|
312
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
313
|
+
};
|
|
314
|
+
exports.managerListingList = managerListingList;
|
|
315
|
+
exports.managerListingList.method = "GET";
|
|
316
|
+
/**
|
|
317
|
+
* マンスリー業者が自社のリスティングを更新する
|
|
318
|
+
*
|
|
319
|
+
*/
|
|
320
|
+
const managerListingUpdate = ({ listingId }) => {
|
|
321
|
+
const __root = (0, exports.root)();
|
|
322
|
+
const __queries = Object.entries({})
|
|
323
|
+
.filter(([_, value]) => {
|
|
324
|
+
return value !== undefined;
|
|
325
|
+
})
|
|
326
|
+
.map(([key, value]) => {
|
|
327
|
+
return `${key}=${value}`;
|
|
328
|
+
})
|
|
329
|
+
.join("&");
|
|
330
|
+
const __path = `${__root}/${`manager/listings/${listingId}`}`;
|
|
331
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
332
|
+
};
|
|
333
|
+
exports.managerListingUpdate = managerListingUpdate;
|
|
334
|
+
exports.managerListingUpdate.method = "PUT";
|
|
335
|
+
/**
|
|
336
|
+
* マンスリー業者が自社のリスティングを部分更新する
|
|
337
|
+
*
|
|
338
|
+
*/
|
|
339
|
+
const managerListingPatch = ({ listingId }) => {
|
|
340
|
+
const __root = (0, exports.root)();
|
|
341
|
+
const __queries = Object.entries({})
|
|
342
|
+
.filter(([_, value]) => {
|
|
343
|
+
return value !== undefined;
|
|
344
|
+
})
|
|
345
|
+
.map(([key, value]) => {
|
|
346
|
+
return `${key}=${value}`;
|
|
347
|
+
})
|
|
348
|
+
.join("&");
|
|
349
|
+
const __path = `${__root}/${`manager/listings/${listingId}`}`;
|
|
350
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
351
|
+
};
|
|
352
|
+
exports.managerListingPatch = managerListingPatch;
|
|
353
|
+
exports.managerListingPatch.method = "PATCH";
|
|
354
|
+
/**
|
|
355
|
+
* マンスリー業者が自社のリスティングを取得する
|
|
356
|
+
*
|
|
357
|
+
*/
|
|
358
|
+
const managerListingGet = ({ listingId }) => {
|
|
359
|
+
const __root = (0, exports.root)();
|
|
360
|
+
const __queries = Object.entries({})
|
|
361
|
+
.filter(([_, value]) => {
|
|
362
|
+
return value !== undefined;
|
|
363
|
+
})
|
|
364
|
+
.map(([key, value]) => {
|
|
365
|
+
return `${key}=${value}`;
|
|
366
|
+
})
|
|
367
|
+
.join("&");
|
|
368
|
+
const __path = `${__root}/${`manager/listings/${listingId}`}`;
|
|
369
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
370
|
+
};
|
|
371
|
+
exports.managerListingGet = managerListingGet;
|
|
372
|
+
exports.managerListingGet.method = "GET";
|
|
373
|
+
/**
|
|
374
|
+
* マンスリー業者が自社のリスティングを登録申請する
|
|
375
|
+
*
|
|
376
|
+
*/
|
|
377
|
+
const managerListingRequestForRegistration = ({ listingId, }) => {
|
|
378
|
+
const __root = (0, exports.root)();
|
|
379
|
+
const __queries = Object.entries({})
|
|
380
|
+
.filter(([_, value]) => {
|
|
381
|
+
return value !== undefined;
|
|
382
|
+
})
|
|
383
|
+
.map(([key, value]) => {
|
|
384
|
+
return `${key}=${value}`;
|
|
385
|
+
})
|
|
386
|
+
.join("&");
|
|
387
|
+
const __path = `${__root}/${`manager/listings/${listingId}/registration_request`}`;
|
|
388
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
389
|
+
};
|
|
390
|
+
exports.managerListingRequestForRegistration = managerListingRequestForRegistration;
|
|
391
|
+
exports.managerListingRequestForRegistration.method = "POST";
|
|
392
|
+
/**
|
|
393
|
+
* マンスリー業者がリスティング登録申請を取り下げる
|
|
394
|
+
*
|
|
395
|
+
*/
|
|
396
|
+
const managerListingWithdrawRegistrationRequest = ({ listingId, }) => {
|
|
397
|
+
const __root = (0, exports.root)();
|
|
398
|
+
const __queries = Object.entries({})
|
|
399
|
+
.filter(([_, value]) => {
|
|
400
|
+
return value !== undefined;
|
|
401
|
+
})
|
|
402
|
+
.map(([key, value]) => {
|
|
403
|
+
return `${key}=${value}`;
|
|
404
|
+
})
|
|
405
|
+
.join("&");
|
|
406
|
+
const __path = `${__root}/${`manager/listings/${listingId}/registration_request`}`;
|
|
407
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
408
|
+
};
|
|
409
|
+
exports.managerListingWithdrawRegistrationRequest = managerListingWithdrawRegistrationRequest;
|
|
410
|
+
exports.managerListingWithdrawRegistrationRequest.method = "DELETE";
|
|
411
|
+
/**
|
|
412
|
+
* マンスリー業者が自社のリスティングを公開可能状態にする
|
|
413
|
+
*
|
|
414
|
+
*/
|
|
415
|
+
const managerListingOpen = ({ listingId }) => {
|
|
416
|
+
const __root = (0, exports.root)();
|
|
417
|
+
const __queries = Object.entries({})
|
|
418
|
+
.filter(([_, value]) => {
|
|
419
|
+
return value !== undefined;
|
|
420
|
+
})
|
|
421
|
+
.map(([key, value]) => {
|
|
422
|
+
return `${key}=${value}`;
|
|
423
|
+
})
|
|
424
|
+
.join("&");
|
|
425
|
+
const __path = `${__root}/${`manager/listings/${listingId}/open`}`;
|
|
426
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
427
|
+
};
|
|
428
|
+
exports.managerListingOpen = managerListingOpen;
|
|
429
|
+
exports.managerListingOpen.method = "POST";
|
|
430
|
+
/**
|
|
431
|
+
* マンスリー業者が自社のリスティングの公開を停止する
|
|
432
|
+
*
|
|
433
|
+
*/
|
|
434
|
+
const managerListingClose = ({ listingId }) => {
|
|
435
|
+
const __root = (0, exports.root)();
|
|
436
|
+
const __queries = Object.entries({})
|
|
437
|
+
.filter(([_, value]) => {
|
|
438
|
+
return value !== undefined;
|
|
439
|
+
})
|
|
440
|
+
.map(([key, value]) => {
|
|
441
|
+
return `${key}=${value}`;
|
|
442
|
+
})
|
|
443
|
+
.join("&");
|
|
444
|
+
const __path = `${__root}/${`manager/listings/${listingId}/close`}`;
|
|
445
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
446
|
+
};
|
|
447
|
+
exports.managerListingClose = managerListingClose;
|
|
448
|
+
exports.managerListingClose.method = "POST";
|
|
449
|
+
/**
|
|
450
|
+
* m2m-coreからのインポートによりリスティングを作成する
|
|
451
|
+
*
|
|
452
|
+
*/
|
|
453
|
+
const managerListingCreateFromM2mCore = ({ listingId, }) => {
|
|
454
|
+
const __root = (0, exports.root)();
|
|
455
|
+
const __queries = Object.entries({})
|
|
456
|
+
.filter(([_, value]) => {
|
|
457
|
+
return value !== undefined;
|
|
458
|
+
})
|
|
459
|
+
.map(([key, value]) => {
|
|
460
|
+
return `${key}=${value}`;
|
|
461
|
+
})
|
|
462
|
+
.join("&");
|
|
463
|
+
const __path = `${__root}/${`manager/listings/${listingId}/m2m_core`}`;
|
|
464
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
465
|
+
};
|
|
466
|
+
exports.managerListingCreateFromM2mCore = managerListingCreateFromM2mCore;
|
|
467
|
+
exports.managerListingCreateFromM2mCore.method = "POST";
|
|
468
|
+
/**
|
|
469
|
+
* m2m-coreと連携しているsumycaのリスティングの連携情報を取得する
|
|
470
|
+
*
|
|
471
|
+
*/
|
|
472
|
+
const managerListingM2mCoreListingRelations = ({ listingId, }) => {
|
|
473
|
+
const __root = (0, exports.root)();
|
|
474
|
+
const __queries = Object.entries({})
|
|
475
|
+
.filter(([_, value]) => {
|
|
476
|
+
return value !== undefined;
|
|
477
|
+
})
|
|
478
|
+
.map(([key, value]) => {
|
|
479
|
+
return `${key}=${value}`;
|
|
480
|
+
})
|
|
481
|
+
.join("&");
|
|
482
|
+
const __path = `${__root}/${`manager/listings/${listingId}/m2m_core_listing_relations`}`;
|
|
483
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
484
|
+
};
|
|
485
|
+
exports.managerListingM2mCoreListingRelations = managerListingM2mCoreListingRelations;
|
|
486
|
+
exports.managerListingM2mCoreListingRelations.method = "GET";
|
|
487
|
+
/**
|
|
488
|
+
* リスティング画像の表示順を更新する
|
|
489
|
+
*
|
|
490
|
+
*/
|
|
491
|
+
const managerListingUpdateImageOrder = ({ listingId, }) => {
|
|
492
|
+
const __root = (0, exports.root)();
|
|
493
|
+
const __queries = Object.entries({})
|
|
494
|
+
.filter(([_, value]) => {
|
|
495
|
+
return value !== undefined;
|
|
496
|
+
})
|
|
497
|
+
.map(([key, value]) => {
|
|
498
|
+
return `${key}=${value}`;
|
|
499
|
+
})
|
|
500
|
+
.join("&");
|
|
501
|
+
const __path = `${__root}/${`manager/listings/${listingId}/image_order`}`;
|
|
502
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
503
|
+
};
|
|
504
|
+
exports.managerListingUpdateImageOrder = managerListingUpdateImageOrder;
|
|
505
|
+
exports.managerListingUpdateImageOrder.method = "PUT";
|
|
506
|
+
/**
|
|
507
|
+
* リスティングのメイン画像をアップロードする
|
|
508
|
+
*
|
|
509
|
+
*/
|
|
510
|
+
const managerListingUploadMainImage = ({ listingId, }) => {
|
|
511
|
+
const __root = (0, exports.root)();
|
|
512
|
+
const __queries = Object.entries({})
|
|
513
|
+
.filter(([_, value]) => {
|
|
514
|
+
return value !== undefined;
|
|
515
|
+
})
|
|
516
|
+
.map(([key, value]) => {
|
|
517
|
+
return `${key}=${value}`;
|
|
518
|
+
})
|
|
519
|
+
.join("&");
|
|
520
|
+
const __path = `${__root}/${`manager/listings/${listingId}/main_image`}`;
|
|
521
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
522
|
+
};
|
|
523
|
+
exports.managerListingUploadMainImage = managerListingUploadMainImage;
|
|
524
|
+
exports.managerListingUploadMainImage.method = "POST";
|
|
525
|
+
/**
|
|
526
|
+
* リスティングの間取り図画像をアップロードする
|
|
527
|
+
*
|
|
528
|
+
*/
|
|
529
|
+
const managerListingUploadLayoutImage = ({ listingId, }) => {
|
|
530
|
+
const __root = (0, exports.root)();
|
|
531
|
+
const __queries = Object.entries({})
|
|
532
|
+
.filter(([_, value]) => {
|
|
533
|
+
return value !== undefined;
|
|
534
|
+
})
|
|
535
|
+
.map(([key, value]) => {
|
|
536
|
+
return `${key}=${value}`;
|
|
537
|
+
})
|
|
538
|
+
.join("&");
|
|
539
|
+
const __path = `${__root}/${`manager/listings/${listingId}/layout_image`}`;
|
|
540
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
541
|
+
};
|
|
542
|
+
exports.managerListingUploadLayoutImage = managerListingUploadLayoutImage;
|
|
543
|
+
exports.managerListingUploadLayoutImage.method = "POST";
|
|
544
|
+
/**
|
|
545
|
+
* リスティングの間取り図画像を削除する
|
|
546
|
+
*
|
|
547
|
+
*/
|
|
548
|
+
const managerListingDeleteLayoutImage = ({ listingId, }) => {
|
|
549
|
+
const __root = (0, exports.root)();
|
|
550
|
+
const __queries = Object.entries({})
|
|
551
|
+
.filter(([_, value]) => {
|
|
552
|
+
return value !== undefined;
|
|
553
|
+
})
|
|
554
|
+
.map(([key, value]) => {
|
|
555
|
+
return `${key}=${value}`;
|
|
556
|
+
})
|
|
557
|
+
.join("&");
|
|
558
|
+
const __path = `${__root}/${`manager/listings/${listingId}/layout_image`}`;
|
|
559
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
560
|
+
};
|
|
561
|
+
exports.managerListingDeleteLayoutImage = managerListingDeleteLayoutImage;
|
|
562
|
+
exports.managerListingDeleteLayoutImage.method = "DELETE";
|
|
563
|
+
/**
|
|
564
|
+
* リスティングに画像を追加する
|
|
565
|
+
*
|
|
566
|
+
*/
|
|
567
|
+
const managerListingAddImage = ({ listingId, }) => {
|
|
568
|
+
const __root = (0, exports.root)();
|
|
569
|
+
const __queries = Object.entries({})
|
|
570
|
+
.filter(([_, value]) => {
|
|
571
|
+
return value !== undefined;
|
|
572
|
+
})
|
|
573
|
+
.map(([key, value]) => {
|
|
574
|
+
return `${key}=${value}`;
|
|
575
|
+
})
|
|
576
|
+
.join("&");
|
|
577
|
+
const __path = `${__root}/${`manager/listings/${listingId}/images`}`;
|
|
578
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
579
|
+
};
|
|
580
|
+
exports.managerListingAddImage = managerListingAddImage;
|
|
581
|
+
exports.managerListingAddImage.method = "POST";
|
|
582
|
+
/**
|
|
583
|
+
* リスティングのカレンダー同期設定を取得する
|
|
584
|
+
*
|
|
585
|
+
*/
|
|
586
|
+
const managerListingCalendarSyncSettingsGet = ({ listingId, }) => {
|
|
587
|
+
const __root = (0, exports.root)();
|
|
588
|
+
const __queries = Object.entries({})
|
|
589
|
+
.filter(([_, value]) => {
|
|
590
|
+
return value !== undefined;
|
|
591
|
+
})
|
|
592
|
+
.map(([key, value]) => {
|
|
593
|
+
return `${key}=${value}`;
|
|
594
|
+
})
|
|
595
|
+
.join("&");
|
|
596
|
+
const __path = `${__root}/${`manager/listings/${listingId}/calendar_sync_setting`}`;
|
|
597
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
598
|
+
};
|
|
599
|
+
exports.managerListingCalendarSyncSettingsGet = managerListingCalendarSyncSettingsGet;
|
|
600
|
+
exports.managerListingCalendarSyncSettingsGet.method = "GET";
|
|
601
|
+
/**
|
|
602
|
+
* リスティングのカレンダー同期設定を更新する
|
|
603
|
+
*
|
|
604
|
+
*/
|
|
605
|
+
const managerListingCalendarSyncSettingsPut = ({ listingId, }) => {
|
|
606
|
+
const __root = (0, exports.root)();
|
|
607
|
+
const __queries = Object.entries({})
|
|
608
|
+
.filter(([_, value]) => {
|
|
609
|
+
return value !== undefined;
|
|
610
|
+
})
|
|
611
|
+
.map(([key, value]) => {
|
|
612
|
+
return `${key}=${value}`;
|
|
613
|
+
})
|
|
614
|
+
.join("&");
|
|
615
|
+
const __path = `${__root}/${`manager/listings/${listingId}/calendar_sync_setting`}`;
|
|
616
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
617
|
+
};
|
|
618
|
+
exports.managerListingCalendarSyncSettingsPut = managerListingCalendarSyncSettingsPut;
|
|
619
|
+
exports.managerListingCalendarSyncSettingsPut.method = "PUT";
|
|
620
|
+
/**
|
|
621
|
+
* リスティングを検索する
|
|
622
|
+
* @param {string} keywordIds 1,3,10
|
|
623
|
+
* @param {string} layoutTypes 1LDK,2LDK
|
|
624
|
+
* @param {string} listingTypes Apartment,Mansion
|
|
625
|
+
* @param {number} buildYearAfter 1980
|
|
626
|
+
* @param {number} buildYearBefore 2020
|
|
627
|
+
* @param {number} minSize 10.0
|
|
628
|
+
* @param {number} maxSize 50.2
|
|
629
|
+
* @param {number} minNumGuests 1
|
|
630
|
+
* @param {number} maxNumGuests 3
|
|
631
|
+
* @param {number} minCost 1000
|
|
632
|
+
* @param {number} maxCost 20000
|
|
633
|
+
* @param {number} page 0
|
|
634
|
+
* @param {number} itemsPerPage 20
|
|
635
|
+
* @param {number} maxMinuteWalk 5
|
|
636
|
+
* @param {string} listingName elm
|
|
637
|
+
* @param {string} prefectureName 東京都
|
|
638
|
+
* @param {string} cityName 新宿区
|
|
639
|
+
* @param {string} stationName 新宿駅
|
|
640
|
+
* @param {number} singleBedNum 1
|
|
641
|
+
* @param {number} semiDoubleBedNum 1
|
|
642
|
+
* @param {number} doubleBedNum 1
|
|
643
|
+
* @param {number} queenBedNum 1
|
|
644
|
+
* @param {number} kingBedNum 1
|
|
645
|
+
* @param {number} futonNum 1
|
|
646
|
+
* @param {string} listingNameForManage elm
|
|
647
|
+
* @param {string} listingSaleType onSale
|
|
648
|
+
* @param {string} reservationApprovalRequiredSetting ImmediateReservationRequest
|
|
649
|
+
*/
|
|
650
|
+
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, }) => {
|
|
651
|
+
const __root = (0, exports.root)();
|
|
652
|
+
const __queries = Object.entries({
|
|
653
|
+
keywordIds,
|
|
654
|
+
layoutTypes,
|
|
655
|
+
listingTypes,
|
|
656
|
+
buildYearAfter,
|
|
657
|
+
buildYearBefore,
|
|
658
|
+
minSize,
|
|
659
|
+
maxSize,
|
|
660
|
+
minNumGuests,
|
|
661
|
+
maxNumGuests,
|
|
662
|
+
minCost,
|
|
663
|
+
maxCost,
|
|
664
|
+
page,
|
|
665
|
+
itemsPerPage,
|
|
666
|
+
maxMinuteWalk,
|
|
667
|
+
listingName,
|
|
668
|
+
prefectureName,
|
|
669
|
+
cityName,
|
|
670
|
+
stationName,
|
|
671
|
+
singleBedNum,
|
|
672
|
+
semiDoubleBedNum,
|
|
673
|
+
doubleBedNum,
|
|
674
|
+
queenBedNum,
|
|
675
|
+
kingBedNum,
|
|
676
|
+
futonNum,
|
|
677
|
+
listingNameForManage,
|
|
678
|
+
listingSaleType,
|
|
679
|
+
reservationApprovalRequiredSetting,
|
|
680
|
+
})
|
|
681
|
+
.filter(([_, value]) => {
|
|
682
|
+
return value !== undefined;
|
|
683
|
+
})
|
|
684
|
+
.map(([key, value]) => {
|
|
685
|
+
return `${key}=${value}`;
|
|
686
|
+
})
|
|
687
|
+
.join("&");
|
|
688
|
+
const __path = `${__root}/${`manager/listings/search`}`;
|
|
689
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
690
|
+
};
|
|
691
|
+
exports.mangerListingSearch = mangerListingSearch;
|
|
692
|
+
exports.mangerListingSearch.method = "GET";
|
|
693
|
+
/**
|
|
694
|
+
* 指定したidとlocaleのリスティングのローカライズデータを削除する
|
|
695
|
+
*
|
|
696
|
+
*/
|
|
697
|
+
const managerListingDeleteLocalizedData = ({ listingId, locale, }) => {
|
|
698
|
+
const __root = (0, exports.root)();
|
|
699
|
+
const __queries = Object.entries({})
|
|
700
|
+
.filter(([_, value]) => {
|
|
701
|
+
return value !== undefined;
|
|
702
|
+
})
|
|
703
|
+
.map(([key, value]) => {
|
|
704
|
+
return `${key}=${value}`;
|
|
705
|
+
})
|
|
706
|
+
.join("&");
|
|
707
|
+
const __path = `${__root}/${`manager/listings/${listingId}/${locale}`}`;
|
|
708
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
709
|
+
};
|
|
710
|
+
exports.managerListingDeleteLocalizedData = managerListingDeleteLocalizedData;
|
|
711
|
+
exports.managerListingDeleteLocalizedData.method = "DELETE";
|
|
712
|
+
/**
|
|
713
|
+
* idの配列を受け取りlistingのkeywordに一括追加する
|
|
714
|
+
*
|
|
715
|
+
*/
|
|
716
|
+
const managerListingPutKeyword = ({ listingId, }) => {
|
|
717
|
+
const __root = (0, exports.root)();
|
|
718
|
+
const __queries = Object.entries({})
|
|
719
|
+
.filter(([_, value]) => {
|
|
720
|
+
return value !== undefined;
|
|
721
|
+
})
|
|
722
|
+
.map(([key, value]) => {
|
|
723
|
+
return `${key}=${value}`;
|
|
724
|
+
})
|
|
725
|
+
.join("&");
|
|
726
|
+
const __path = `${__root}/${`manager/listings/${listingId}/keyword`}`;
|
|
727
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
728
|
+
};
|
|
729
|
+
exports.managerListingPutKeyword = managerListingPutKeyword;
|
|
730
|
+
exports.managerListingPutKeyword.method = "PUT";
|
|
731
|
+
/**
|
|
732
|
+
* idの配列を受け取りlistingの該当するkeywordを一括削除する
|
|
733
|
+
*
|
|
734
|
+
*/
|
|
735
|
+
const managerListingPutKeywordRemove = ({ listingId, }) => {
|
|
736
|
+
const __root = (0, exports.root)();
|
|
737
|
+
const __queries = Object.entries({})
|
|
738
|
+
.filter(([_, value]) => {
|
|
739
|
+
return value !== undefined;
|
|
740
|
+
})
|
|
741
|
+
.map(([key, value]) => {
|
|
742
|
+
return `${key}=${value}`;
|
|
743
|
+
})
|
|
744
|
+
.join("&");
|
|
745
|
+
const __path = `${__root}/${`manager/listings/${listingId}/keyword/remove`}`;
|
|
746
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
747
|
+
};
|
|
748
|
+
exports.managerListingPutKeywordRemove = managerListingPutKeywordRemove;
|
|
749
|
+
exports.managerListingPutKeywordRemove.method = "PUT";
|
|
750
|
+
/**
|
|
751
|
+
* 管理名で自社の物件を検索する
|
|
752
|
+
* @param {string} nameForManage hoge
|
|
753
|
+
* @param {number} page 0
|
|
754
|
+
* @param {number} itemsPerPage 100
|
|
755
|
+
*/
|
|
756
|
+
const managerSearchListingsByNameForManage = ({ nameForManage, page, itemsPerPage, }) => {
|
|
757
|
+
const __root = (0, exports.root)();
|
|
758
|
+
const __queries = Object.entries({ nameForManage, page, itemsPerPage })
|
|
759
|
+
.filter(([_, value]) => {
|
|
760
|
+
return value !== undefined;
|
|
761
|
+
})
|
|
762
|
+
.map(([key, value]) => {
|
|
763
|
+
return `${key}=${value}`;
|
|
764
|
+
})
|
|
765
|
+
.join("&");
|
|
766
|
+
const __path = `${__root}/${`manager/search_listings/name_for_manage`}`;
|
|
767
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
768
|
+
};
|
|
769
|
+
exports.managerSearchListingsByNameForManage = managerSearchListingsByNameForManage;
|
|
770
|
+
exports.managerSearchListingsByNameForManage.method = "POST";
|
|
771
|
+
/**
|
|
772
|
+
* マンスリー業者が契約書の内容を取得する
|
|
773
|
+
*
|
|
774
|
+
*/
|
|
775
|
+
const managerGetContract = ({ inquiryId, revision, }) => {
|
|
776
|
+
const __root = (0, exports.root)();
|
|
777
|
+
const __queries = Object.entries({})
|
|
778
|
+
.filter(([_, value]) => {
|
|
779
|
+
return value !== undefined;
|
|
780
|
+
})
|
|
781
|
+
.map(([key, value]) => {
|
|
782
|
+
return `${key}=${value}`;
|
|
783
|
+
})
|
|
784
|
+
.join("&");
|
|
785
|
+
const __path = `${__root}/${`manager/contracts/${inquiryId}/${revision}`}`;
|
|
786
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
787
|
+
};
|
|
788
|
+
exports.managerGetContract = managerGetContract;
|
|
789
|
+
exports.managerGetContract.method = "GET";
|
|
790
|
+
/**
|
|
791
|
+
* マンスリー業者が契約書の内容を更新する
|
|
792
|
+
*
|
|
793
|
+
*/
|
|
794
|
+
const managerUpdateContract = ({ inquiryId, revision, }) => {
|
|
795
|
+
const __root = (0, exports.root)();
|
|
796
|
+
const __queries = Object.entries({})
|
|
797
|
+
.filter(([_, value]) => {
|
|
798
|
+
return value !== undefined;
|
|
799
|
+
})
|
|
800
|
+
.map(([key, value]) => {
|
|
801
|
+
return `${key}=${value}`;
|
|
802
|
+
})
|
|
803
|
+
.join("&");
|
|
804
|
+
const __path = `${__root}/${`manager/contracts/${inquiryId}/${revision}`}`;
|
|
805
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
806
|
+
};
|
|
807
|
+
exports.managerUpdateContract = managerUpdateContract;
|
|
808
|
+
exports.managerUpdateContract.method = "PUT";
|
|
809
|
+
/**
|
|
810
|
+
* マンスリー業者が契約書を発行する
|
|
811
|
+
*
|
|
812
|
+
*/
|
|
813
|
+
const managerPublishContract = ({ inquiryId, revision, }) => {
|
|
814
|
+
const __root = (0, exports.root)();
|
|
815
|
+
const __queries = Object.entries({})
|
|
816
|
+
.filter(([_, value]) => {
|
|
817
|
+
return value !== undefined;
|
|
818
|
+
})
|
|
819
|
+
.map(([key, value]) => {
|
|
820
|
+
return `${key}=${value}`;
|
|
821
|
+
})
|
|
822
|
+
.join("&");
|
|
823
|
+
const __path = `${__root}/${`manager/contracts/${inquiryId}/${revision}/publish`}`;
|
|
824
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
825
|
+
};
|
|
826
|
+
exports.managerPublishContract = managerPublishContract;
|
|
827
|
+
exports.managerPublishContract.method = "POST";
|
|
828
|
+
/**
|
|
829
|
+
* 反社チェック結果を取得する
|
|
830
|
+
*
|
|
831
|
+
*/
|
|
832
|
+
const managerGetAntisocialAnalyzeResult = ({ inquiryId, revision, }) => {
|
|
833
|
+
const __root = (0, exports.root)();
|
|
834
|
+
const __queries = Object.entries({})
|
|
835
|
+
.filter(([_, value]) => {
|
|
836
|
+
return value !== undefined;
|
|
837
|
+
})
|
|
838
|
+
.map(([key, value]) => {
|
|
839
|
+
return `${key}=${value}`;
|
|
840
|
+
})
|
|
841
|
+
.join("&");
|
|
842
|
+
const __path = `${__root}/${`manager/contracts/${inquiryId}/${revision}/antisocial_analyze`}`;
|
|
843
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
844
|
+
};
|
|
845
|
+
exports.managerGetAntisocialAnalyzeResult = managerGetAntisocialAnalyzeResult;
|
|
846
|
+
exports.managerGetAntisocialAnalyzeResult.method = "GET";
|
|
847
|
+
/**
|
|
848
|
+
* 既に存在している反社チェックデータを再度実行する
|
|
849
|
+
*
|
|
850
|
+
*/
|
|
851
|
+
const managerExecuteAntisocialAnalyze = ({ inquiryId, }) => {
|
|
852
|
+
const __root = (0, exports.root)();
|
|
853
|
+
const __queries = Object.entries({})
|
|
854
|
+
.filter(([_, value]) => {
|
|
855
|
+
return value !== undefined;
|
|
856
|
+
})
|
|
857
|
+
.map(([key, value]) => {
|
|
858
|
+
return `${key}=${value}`;
|
|
859
|
+
})
|
|
860
|
+
.join("&");
|
|
861
|
+
const __path = `${__root}/${`manager/contracts/${inquiryId}/antisocial_analyze`}`;
|
|
862
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
863
|
+
};
|
|
864
|
+
exports.managerExecuteAntisocialAnalyze = managerExecuteAntisocialAnalyze;
|
|
865
|
+
exports.managerExecuteAntisocialAnalyze.method = "POST";
|
|
866
|
+
/**
|
|
867
|
+
* 契約書に紐づいているトークンを取得する
|
|
868
|
+
*
|
|
869
|
+
*/
|
|
870
|
+
const managerGetContractToken = ({ inquiryId, revision, }) => {
|
|
871
|
+
const __root = (0, exports.root)();
|
|
872
|
+
const __queries = Object.entries({})
|
|
873
|
+
.filter(([_, value]) => {
|
|
874
|
+
return value !== undefined;
|
|
875
|
+
})
|
|
876
|
+
.map(([key, value]) => {
|
|
877
|
+
return `${key}=${value}`;
|
|
878
|
+
})
|
|
879
|
+
.join("&");
|
|
880
|
+
const __path = `${__root}/${`manager/contracts/${inquiryId}/${revision}/contract_token`}`;
|
|
881
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
882
|
+
};
|
|
883
|
+
exports.managerGetContractToken = managerGetContractToken;
|
|
884
|
+
exports.managerGetContractToken.method = "GET";
|
|
885
|
+
/**
|
|
886
|
+
* ゲスト身分証画像の一覧を取得する
|
|
887
|
+
*
|
|
888
|
+
*/
|
|
889
|
+
const managerGuestIdentificationList = ({ inquiryId, }) => {
|
|
890
|
+
const __root = (0, exports.root)();
|
|
891
|
+
const __queries = Object.entries({})
|
|
892
|
+
.filter(([_, value]) => {
|
|
893
|
+
return value !== undefined;
|
|
894
|
+
})
|
|
895
|
+
.map(([key, value]) => {
|
|
896
|
+
return `${key}=${value}`;
|
|
897
|
+
})
|
|
898
|
+
.join("&");
|
|
899
|
+
const __path = `${__root}/${`manager/guest_identifications/${inquiryId}`}`;
|
|
900
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
901
|
+
};
|
|
902
|
+
exports.managerGuestIdentificationList = managerGuestIdentificationList;
|
|
903
|
+
exports.managerGuestIdentificationList.method = "GET";
|
|
904
|
+
/**
|
|
905
|
+
* ゲスト身分証画像の実データ(base64エンコードされた文字列形式)を取得する
|
|
906
|
+
*
|
|
907
|
+
*/
|
|
908
|
+
const managerGuestIdentificationGetImageData = ({ inquiryId, imageId, }) => {
|
|
909
|
+
const __root = (0, exports.root)();
|
|
910
|
+
const __queries = Object.entries({})
|
|
911
|
+
.filter(([_, value]) => {
|
|
912
|
+
return value !== undefined;
|
|
913
|
+
})
|
|
914
|
+
.map(([key, value]) => {
|
|
915
|
+
return `${key}=${value}`;
|
|
916
|
+
})
|
|
917
|
+
.join("&");
|
|
918
|
+
const __path = `${__root}/${`manager/guest_identifications/${inquiryId}/${imageId}/image_data`}`;
|
|
919
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
920
|
+
};
|
|
921
|
+
exports.managerGuestIdentificationGetImageData = managerGuestIdentificationGetImageData;
|
|
922
|
+
exports.managerGuestIdentificationGetImageData.method = "GET";
|
|
923
|
+
/**
|
|
924
|
+
* ゲスト身分証画像をアップロードする
|
|
925
|
+
*
|
|
926
|
+
*/
|
|
927
|
+
const managerGuestIdentificationUploadImageData = ({ inquiryId, }) => {
|
|
928
|
+
const __root = (0, exports.root)();
|
|
929
|
+
const __queries = Object.entries({})
|
|
930
|
+
.filter(([_, value]) => {
|
|
931
|
+
return value !== undefined;
|
|
932
|
+
})
|
|
933
|
+
.map(([key, value]) => {
|
|
934
|
+
return `${key}=${value}`;
|
|
935
|
+
})
|
|
936
|
+
.join("&");
|
|
937
|
+
const __path = `${__root}/${`manager/guest_identifications/${inquiryId}/image`}`;
|
|
938
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
939
|
+
};
|
|
940
|
+
exports.managerGuestIdentificationUploadImageData = managerGuestIdentificationUploadImageData;
|
|
941
|
+
exports.managerGuestIdentificationUploadImageData.method = "POST";
|
|
942
|
+
/**
|
|
943
|
+
* ゲストの身分証画像を削除する
|
|
944
|
+
*
|
|
945
|
+
*/
|
|
946
|
+
const managerGuestIdentificationDeleteImageData = ({ inquiryId, imageId, }) => {
|
|
947
|
+
const __root = (0, exports.root)();
|
|
948
|
+
const __queries = Object.entries({})
|
|
949
|
+
.filter(([_, value]) => {
|
|
950
|
+
return value !== undefined;
|
|
951
|
+
})
|
|
952
|
+
.map(([key, value]) => {
|
|
953
|
+
return `${key}=${value}`;
|
|
954
|
+
})
|
|
955
|
+
.join("&");
|
|
956
|
+
const __path = `${__root}/${`manager/guest_identifications/${inquiryId}/image/${imageId}`}`;
|
|
957
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
958
|
+
};
|
|
959
|
+
exports.managerGuestIdentificationDeleteImageData = managerGuestIdentificationDeleteImageData;
|
|
960
|
+
exports.managerGuestIdentificationDeleteImageData.method = "DELETE";
|
|
961
|
+
/**
|
|
962
|
+
* マンスリー業者が契約条項を新規作成する
|
|
963
|
+
*
|
|
964
|
+
*/
|
|
965
|
+
const managerContractClauseCreate = () => {
|
|
966
|
+
const __root = (0, exports.root)();
|
|
967
|
+
const __queries = Object.entries({})
|
|
968
|
+
.filter(([_, value]) => {
|
|
969
|
+
return value !== undefined;
|
|
970
|
+
})
|
|
971
|
+
.map(([key, value]) => {
|
|
972
|
+
return `${key}=${value}`;
|
|
973
|
+
})
|
|
974
|
+
.join("&");
|
|
975
|
+
const __path = `${__root}/${`manager/contract_clauses`}`;
|
|
976
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
977
|
+
};
|
|
978
|
+
exports.managerContractClauseCreate = managerContractClauseCreate;
|
|
979
|
+
exports.managerContractClauseCreate.method = "POST";
|
|
980
|
+
/**
|
|
981
|
+
* マンスリー業者が契約条項の一覧を取得する
|
|
982
|
+
* @param {number} page 0
|
|
983
|
+
* @param {number} itemsPerPage 100
|
|
984
|
+
*/
|
|
985
|
+
const managerContractClauseList = ({ page, itemsPerPage, }) => {
|
|
986
|
+
const __root = (0, exports.root)();
|
|
987
|
+
const __queries = Object.entries({ page, itemsPerPage })
|
|
988
|
+
.filter(([_, value]) => {
|
|
989
|
+
return value !== undefined;
|
|
990
|
+
})
|
|
991
|
+
.map(([key, value]) => {
|
|
992
|
+
return `${key}=${value}`;
|
|
993
|
+
})
|
|
994
|
+
.join("&");
|
|
995
|
+
const __path = `${__root}/${`manager/contract_clauses`}`;
|
|
996
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
997
|
+
};
|
|
998
|
+
exports.managerContractClauseList = managerContractClauseList;
|
|
999
|
+
exports.managerContractClauseList.method = "GET";
|
|
1000
|
+
/**
|
|
1001
|
+
* マンスリー業者が指定したIDの契約条項を更新する
|
|
1002
|
+
*
|
|
1003
|
+
*/
|
|
1004
|
+
const managerContractClauseUpdate = ({ contractClauseId, }) => {
|
|
1005
|
+
const __root = (0, exports.root)();
|
|
1006
|
+
const __queries = Object.entries({})
|
|
1007
|
+
.filter(([_, value]) => {
|
|
1008
|
+
return value !== undefined;
|
|
1009
|
+
})
|
|
1010
|
+
.map(([key, value]) => {
|
|
1011
|
+
return `${key}=${value}`;
|
|
1012
|
+
})
|
|
1013
|
+
.join("&");
|
|
1014
|
+
const __path = `${__root}/${`manager/contract_clauses/${contractClauseId}`}`;
|
|
1015
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1016
|
+
};
|
|
1017
|
+
exports.managerContractClauseUpdate = managerContractClauseUpdate;
|
|
1018
|
+
exports.managerContractClauseUpdate.method = "PUT";
|
|
1019
|
+
/**
|
|
1020
|
+
* マンスリー業者が指定したIDの契約条項を取得する
|
|
1021
|
+
*
|
|
1022
|
+
*/
|
|
1023
|
+
const managerContractClauseGet = ({ contractClauseId, }) => {
|
|
1024
|
+
const __root = (0, exports.root)();
|
|
1025
|
+
const __queries = Object.entries({})
|
|
1026
|
+
.filter(([_, value]) => {
|
|
1027
|
+
return value !== undefined;
|
|
1028
|
+
})
|
|
1029
|
+
.map(([key, value]) => {
|
|
1030
|
+
return `${key}=${value}`;
|
|
1031
|
+
})
|
|
1032
|
+
.join("&");
|
|
1033
|
+
const __path = `${__root}/${`manager/contract_clauses/${contractClauseId}`}`;
|
|
1034
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1035
|
+
};
|
|
1036
|
+
exports.managerContractClauseGet = managerContractClauseGet;
|
|
1037
|
+
exports.managerContractClauseGet.method = "GET";
|
|
1038
|
+
/**
|
|
1039
|
+
* マンスリー管理者がリスティングを取得する
|
|
1040
|
+
*
|
|
1041
|
+
*/
|
|
1042
|
+
const adminListingGet = ({ listingId }) => {
|
|
1043
|
+
const __root = (0, exports.root)();
|
|
1044
|
+
const __queries = Object.entries({})
|
|
1045
|
+
.filter(([_, value]) => {
|
|
1046
|
+
return value !== undefined;
|
|
1047
|
+
})
|
|
1048
|
+
.map(([key, value]) => {
|
|
1049
|
+
return `${key}=${value}`;
|
|
1050
|
+
})
|
|
1051
|
+
.join("&");
|
|
1052
|
+
const __path = `${__root}/${`admin/listings/${listingId}`}`;
|
|
1053
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1054
|
+
};
|
|
1055
|
+
exports.adminListingGet = adminListingGet;
|
|
1056
|
+
exports.adminListingGet.method = "GET";
|
|
1057
|
+
/**
|
|
1058
|
+
* 管理者がリスティングの掲載を承認する
|
|
1059
|
+
*
|
|
1060
|
+
*/
|
|
1061
|
+
const adminListingAcceptRegistration = ({ listingId, }) => {
|
|
1062
|
+
const __root = (0, exports.root)();
|
|
1063
|
+
const __queries = Object.entries({})
|
|
1064
|
+
.filter(([_, value]) => {
|
|
1065
|
+
return value !== undefined;
|
|
1066
|
+
})
|
|
1067
|
+
.map(([key, value]) => {
|
|
1068
|
+
return `${key}=${value}`;
|
|
1069
|
+
})
|
|
1070
|
+
.join("&");
|
|
1071
|
+
const __path = `${__root}/${`admin/listings/${listingId}/registration`}`;
|
|
1072
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1073
|
+
};
|
|
1074
|
+
exports.adminListingAcceptRegistration = adminListingAcceptRegistration;
|
|
1075
|
+
exports.adminListingAcceptRegistration.method = "POST";
|
|
1076
|
+
/**
|
|
1077
|
+
* 管理者がリスティングを公開する(マンスリー業者の同意がある場合を想定)
|
|
1078
|
+
*
|
|
1079
|
+
*/
|
|
1080
|
+
const adminListingOpen = ({ listingId }) => {
|
|
1081
|
+
const __root = (0, exports.root)();
|
|
1082
|
+
const __queries = Object.entries({})
|
|
1083
|
+
.filter(([_, value]) => {
|
|
1084
|
+
return value !== undefined;
|
|
1085
|
+
})
|
|
1086
|
+
.map(([key, value]) => {
|
|
1087
|
+
return `${key}=${value}`;
|
|
1088
|
+
})
|
|
1089
|
+
.join("&");
|
|
1090
|
+
const __path = `${__root}/${`admin/listings/${listingId}/open`}`;
|
|
1091
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1092
|
+
};
|
|
1093
|
+
exports.adminListingOpen = adminListingOpen;
|
|
1094
|
+
exports.adminListingOpen.method = "POST";
|
|
1095
|
+
/**
|
|
1096
|
+
* (内部向け) リスティングを削除する
|
|
1097
|
+
*
|
|
1098
|
+
*/
|
|
1099
|
+
const internalDeleteListing = ({ listingId }) => {
|
|
1100
|
+
const __root = (0, exports.root)();
|
|
1101
|
+
const __queries = Object.entries({})
|
|
1102
|
+
.filter(([_, value]) => {
|
|
1103
|
+
return value !== undefined;
|
|
1104
|
+
})
|
|
1105
|
+
.map(([key, value]) => {
|
|
1106
|
+
return `${key}=${value}`;
|
|
1107
|
+
})
|
|
1108
|
+
.join("&");
|
|
1109
|
+
const __path = `${__root}/${`internal/listings/${listingId}`}`;
|
|
1110
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1111
|
+
};
|
|
1112
|
+
exports.internalDeleteListing = internalDeleteListing;
|
|
1113
|
+
exports.internalDeleteListing.method = "DELETE";
|
|
1114
|
+
/**
|
|
1115
|
+
* マンスリー業者が問い合わせを送信する
|
|
1116
|
+
*
|
|
1117
|
+
*/
|
|
1118
|
+
const managerInquiriesCreate = () => {
|
|
1119
|
+
const __root = (0, exports.root)();
|
|
1120
|
+
const __queries = Object.entries({})
|
|
1121
|
+
.filter(([_, value]) => {
|
|
1122
|
+
return value !== undefined;
|
|
1123
|
+
})
|
|
1124
|
+
.map(([key, value]) => {
|
|
1125
|
+
return `${key}=${value}`;
|
|
1126
|
+
})
|
|
1127
|
+
.join("&");
|
|
1128
|
+
const __path = `${__root}/${`manager/inquiries`}`;
|
|
1129
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1130
|
+
};
|
|
1131
|
+
exports.managerInquiriesCreate = managerInquiriesCreate;
|
|
1132
|
+
exports.managerInquiriesCreate.method = "POST";
|
|
1133
|
+
/**
|
|
1134
|
+
* マンスリー業者が問い合わせ一覧を表示する
|
|
1135
|
+
* @param {number} page 0
|
|
1136
|
+
* @param {string} status xxx
|
|
1137
|
+
* @param {string} contractStatus xxx
|
|
1138
|
+
* @param {number} itemsPerPage 100
|
|
1139
|
+
* @param {string} guestName foo
|
|
1140
|
+
* @param {string} guestEmail foo@example.com
|
|
1141
|
+
* @param {string} channel sumyca_form
|
|
1142
|
+
* @param {string} createdByUserType Manager
|
|
1143
|
+
*/
|
|
1144
|
+
const managerInquiriesList = ({ page, status, contractStatus, itemsPerPage, guestName, guestEmail, channel, createdByUserType, }) => {
|
|
1145
|
+
const __root = (0, exports.root)();
|
|
1146
|
+
const __queries = Object.entries({
|
|
1147
|
+
page,
|
|
1148
|
+
status,
|
|
1149
|
+
contractStatus,
|
|
1150
|
+
itemsPerPage,
|
|
1151
|
+
guestName,
|
|
1152
|
+
guestEmail,
|
|
1153
|
+
channel,
|
|
1154
|
+
createdByUserType,
|
|
1155
|
+
})
|
|
1156
|
+
.filter(([_, value]) => {
|
|
1157
|
+
return value !== undefined;
|
|
1158
|
+
})
|
|
1159
|
+
.map(([key, value]) => {
|
|
1160
|
+
return `${key}=${value}`;
|
|
1161
|
+
})
|
|
1162
|
+
.join("&");
|
|
1163
|
+
const __path = `${__root}/${`manager/inquiries`}`;
|
|
1164
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1165
|
+
};
|
|
1166
|
+
exports.managerInquiriesList = managerInquiriesList;
|
|
1167
|
+
exports.managerInquiriesList.method = "GET";
|
|
1168
|
+
/**
|
|
1169
|
+
* マンスリー業者が問い合わせを更新する
|
|
1170
|
+
*
|
|
1171
|
+
*/
|
|
1172
|
+
const managerInquiryUpdate = ({ inquiryId }) => {
|
|
1173
|
+
const __root = (0, exports.root)();
|
|
1174
|
+
const __queries = Object.entries({})
|
|
1175
|
+
.filter(([_, value]) => {
|
|
1176
|
+
return value !== undefined;
|
|
1177
|
+
})
|
|
1178
|
+
.map(([key, value]) => {
|
|
1179
|
+
return `${key}=${value}`;
|
|
1180
|
+
})
|
|
1181
|
+
.join("&");
|
|
1182
|
+
const __path = `${__root}/${`manager/inquiries/${inquiryId}`}`;
|
|
1183
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1184
|
+
};
|
|
1185
|
+
exports.managerInquiryUpdate = managerInquiryUpdate;
|
|
1186
|
+
exports.managerInquiryUpdate.method = "PUT";
|
|
1187
|
+
/**
|
|
1188
|
+
* マンスリー業者が問い合わせの有効無効を更新する
|
|
1189
|
+
*
|
|
1190
|
+
*/
|
|
1191
|
+
const managerInquiryAvailabilityStatusUpdate = ({ inquiryId, }) => {
|
|
1192
|
+
const __root = (0, exports.root)();
|
|
1193
|
+
const __queries = Object.entries({})
|
|
1194
|
+
.filter(([_, value]) => {
|
|
1195
|
+
return value !== undefined;
|
|
1196
|
+
})
|
|
1197
|
+
.map(([key, value]) => {
|
|
1198
|
+
return `${key}=${value}`;
|
|
1199
|
+
})
|
|
1200
|
+
.join("&");
|
|
1201
|
+
const __path = `${__root}/${`manager/inquiries/${inquiryId}/inquiry_availability`}`;
|
|
1202
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1203
|
+
};
|
|
1204
|
+
exports.managerInquiryAvailabilityStatusUpdate = managerInquiryAvailabilityStatusUpdate;
|
|
1205
|
+
exports.managerInquiryAvailabilityStatusUpdate.method = "PUT";
|
|
1206
|
+
/**
|
|
1207
|
+
* マンスリー業者が契約書の決済と決済の同期非同期ステータスを更新する
|
|
1208
|
+
*
|
|
1209
|
+
*/
|
|
1210
|
+
const managerSyncOfContractsAndPaymentsStatusUpdate = ({ inquiryId, }) => {
|
|
1211
|
+
const __root = (0, exports.root)();
|
|
1212
|
+
const __queries = Object.entries({})
|
|
1213
|
+
.filter(([_, value]) => {
|
|
1214
|
+
return value !== undefined;
|
|
1215
|
+
})
|
|
1216
|
+
.map(([key, value]) => {
|
|
1217
|
+
return `${key}=${value}`;
|
|
1218
|
+
})
|
|
1219
|
+
.join("&");
|
|
1220
|
+
const __path = `${__root}/${`manager/inquiries/${inquiryId}/sync_of_contracts_and_payments`}`;
|
|
1221
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1222
|
+
};
|
|
1223
|
+
exports.managerSyncOfContractsAndPaymentsStatusUpdate = managerSyncOfContractsAndPaymentsStatusUpdate;
|
|
1224
|
+
exports.managerSyncOfContractsAndPaymentsStatusUpdate.method = "PUT";
|
|
1225
|
+
/**
|
|
1226
|
+
* マンスリー業者が問い合わせと紐付いている契約書・決済の物件紐付き情報を更新する
|
|
1227
|
+
*
|
|
1228
|
+
*/
|
|
1229
|
+
const managerInquiryUpdateListingRelation = ({ inquiryId, listingId, }) => {
|
|
1230
|
+
const __root = (0, exports.root)();
|
|
1231
|
+
const __queries = Object.entries({})
|
|
1232
|
+
.filter(([_, value]) => {
|
|
1233
|
+
return value !== undefined;
|
|
1234
|
+
})
|
|
1235
|
+
.map(([key, value]) => {
|
|
1236
|
+
return `${key}=${value}`;
|
|
1237
|
+
})
|
|
1238
|
+
.join("&");
|
|
1239
|
+
const __path = `${__root}/${`manager/inquiries/${inquiryId}/listings/${listingId}`}`;
|
|
1240
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1241
|
+
};
|
|
1242
|
+
exports.managerInquiryUpdateListingRelation = managerInquiryUpdateListingRelation;
|
|
1243
|
+
exports.managerInquiryUpdateListingRelation.method = "PATCH";
|
|
1244
|
+
/**
|
|
1245
|
+
* マンスリー業者がIDを指定して問い合わせを表示する
|
|
1246
|
+
*
|
|
1247
|
+
*/
|
|
1248
|
+
const managerInquiryGet = ({ inquiryId }) => {
|
|
1249
|
+
const __root = (0, exports.root)();
|
|
1250
|
+
const __queries = Object.entries({})
|
|
1251
|
+
.filter(([_, value]) => {
|
|
1252
|
+
return value !== undefined;
|
|
1253
|
+
})
|
|
1254
|
+
.map(([key, value]) => {
|
|
1255
|
+
return `${key}=${value}`;
|
|
1256
|
+
})
|
|
1257
|
+
.join("&");
|
|
1258
|
+
const __path = `${__root}/${`manager/inquiries/${inquiryId}`}`;
|
|
1259
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1260
|
+
};
|
|
1261
|
+
exports.managerInquiryGet = managerInquiryGet;
|
|
1262
|
+
exports.managerInquiryGet.method = "GET";
|
|
1263
|
+
/**
|
|
1264
|
+
* マンスリー業者がゲスト情報入力フォームを発行する
|
|
1265
|
+
*
|
|
1266
|
+
*/
|
|
1267
|
+
const managerInquiriesIssueGuestInformationForm = ({ inquiryId, }) => {
|
|
1268
|
+
const __root = (0, exports.root)();
|
|
1269
|
+
const __queries = Object.entries({})
|
|
1270
|
+
.filter(([_, value]) => {
|
|
1271
|
+
return value !== undefined;
|
|
1272
|
+
})
|
|
1273
|
+
.map(([key, value]) => {
|
|
1274
|
+
return `${key}=${value}`;
|
|
1275
|
+
})
|
|
1276
|
+
.join("&");
|
|
1277
|
+
const __path = `${__root}/${`manager/inquiries/${inquiryId}/guest_information_form`}`;
|
|
1278
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1279
|
+
};
|
|
1280
|
+
exports.managerInquiriesIssueGuestInformationForm = managerInquiriesIssueGuestInformationForm;
|
|
1281
|
+
exports.managerInquiriesIssueGuestInformationForm.method = "POST";
|
|
1282
|
+
/**
|
|
1283
|
+
* マンスリー業者が一時パスワードを再発行する
|
|
1284
|
+
*
|
|
1285
|
+
*/
|
|
1286
|
+
const managerInquiriesReissueContractPassword = ({ inquiryId, }) => {
|
|
1287
|
+
const __root = (0, exports.root)();
|
|
1288
|
+
const __queries = Object.entries({})
|
|
1289
|
+
.filter(([_, value]) => {
|
|
1290
|
+
return value !== undefined;
|
|
1291
|
+
})
|
|
1292
|
+
.map(([key, value]) => {
|
|
1293
|
+
return `${key}=${value}`;
|
|
1294
|
+
})
|
|
1295
|
+
.join("&");
|
|
1296
|
+
const __path = `${__root}/${`manager/inquiries/${inquiryId}/reissue_password`}`;
|
|
1297
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1298
|
+
};
|
|
1299
|
+
exports.managerInquiriesReissueContractPassword = managerInquiriesReissueContractPassword;
|
|
1300
|
+
exports.managerInquiriesReissueContractPassword.method = "POST";
|
|
1301
|
+
/**
|
|
1302
|
+
* マンスリー業者が一時トークンを再発行する
|
|
1303
|
+
*
|
|
1304
|
+
*/
|
|
1305
|
+
const managerInquiriesReissueContractToken = ({ inquiryId, }) => {
|
|
1306
|
+
const __root = (0, exports.root)();
|
|
1307
|
+
const __queries = Object.entries({})
|
|
1308
|
+
.filter(([_, value]) => {
|
|
1309
|
+
return value !== undefined;
|
|
1310
|
+
})
|
|
1311
|
+
.map(([key, value]) => {
|
|
1312
|
+
return `${key}=${value}`;
|
|
1313
|
+
})
|
|
1314
|
+
.join("&");
|
|
1315
|
+
const __path = `${__root}/${`manager/inquiries/${inquiryId}/reissue_token`}`;
|
|
1316
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1317
|
+
};
|
|
1318
|
+
exports.managerInquiriesReissueContractToken = managerInquiriesReissueContractToken;
|
|
1319
|
+
exports.managerInquiriesReissueContractToken.method = "POST";
|
|
1320
|
+
/**
|
|
1321
|
+
* マンスリー業者がゲスト情報を取得する
|
|
1322
|
+
*
|
|
1323
|
+
*/
|
|
1324
|
+
const managerInquriesGetAssociatedGuestInformation = ({ inquiryId, }) => {
|
|
1325
|
+
const __root = (0, exports.root)();
|
|
1326
|
+
const __queries = Object.entries({})
|
|
1327
|
+
.filter(([_, value]) => {
|
|
1328
|
+
return value !== undefined;
|
|
1329
|
+
})
|
|
1330
|
+
.map(([key, value]) => {
|
|
1331
|
+
return `${key}=${value}`;
|
|
1332
|
+
})
|
|
1333
|
+
.join("&");
|
|
1334
|
+
const __path = `${__root}/${`manager/inquiries/${inquiryId}/guest_information`}`;
|
|
1335
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1336
|
+
};
|
|
1337
|
+
exports.managerInquriesGetAssociatedGuestInformation = managerInquriesGetAssociatedGuestInformation;
|
|
1338
|
+
exports.managerInquriesGetAssociatedGuestInformation.method = "GET";
|
|
1339
|
+
/**
|
|
1340
|
+
* マンスリー業者がゲストを審査する
|
|
1341
|
+
*
|
|
1342
|
+
*/
|
|
1343
|
+
const managerInquiriesScreenGuest = ({ inquiryId, }) => {
|
|
1344
|
+
const __root = (0, exports.root)();
|
|
1345
|
+
const __queries = Object.entries({})
|
|
1346
|
+
.filter(([_, value]) => {
|
|
1347
|
+
return value !== undefined;
|
|
1348
|
+
})
|
|
1349
|
+
.map(([key, value]) => {
|
|
1350
|
+
return `${key}=${value}`;
|
|
1351
|
+
})
|
|
1352
|
+
.join("&");
|
|
1353
|
+
const __path = `${__root}/${`manager/inquiries/${inquiryId}/screen_guest`}`;
|
|
1354
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1355
|
+
};
|
|
1356
|
+
exports.managerInquiriesScreenGuest = managerInquiriesScreenGuest;
|
|
1357
|
+
exports.managerInquiriesScreenGuest.method = "PUT";
|
|
1358
|
+
/**
|
|
1359
|
+
* マンスリー業者がゲストの審査を開始する
|
|
1360
|
+
*
|
|
1361
|
+
*/
|
|
1362
|
+
const managerInquiriesStartScreeningGuest = ({ inquiryId, }) => {
|
|
1363
|
+
const __root = (0, exports.root)();
|
|
1364
|
+
const __queries = Object.entries({})
|
|
1365
|
+
.filter(([_, value]) => {
|
|
1366
|
+
return value !== undefined;
|
|
1367
|
+
})
|
|
1368
|
+
.map(([key, value]) => {
|
|
1369
|
+
return `${key}=${value}`;
|
|
1370
|
+
})
|
|
1371
|
+
.join("&");
|
|
1372
|
+
const __path = `${__root}/${`manager/inquiries/${inquiryId}/screen_guest_start`}`;
|
|
1373
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1374
|
+
};
|
|
1375
|
+
exports.managerInquiriesStartScreeningGuest = managerInquiriesStartScreeningGuest;
|
|
1376
|
+
exports.managerInquiriesStartScreeningGuest.method = "PUT";
|
|
1377
|
+
/**
|
|
1378
|
+
* マンスリー業者がゲスト用に問い合わせに紐づくトークンを取得する
|
|
1379
|
+
*
|
|
1380
|
+
*/
|
|
1381
|
+
const managerInquiriesGetInquiryToken = ({ inquiryId, }) => {
|
|
1382
|
+
const __root = (0, exports.root)();
|
|
1383
|
+
const __queries = Object.entries({})
|
|
1384
|
+
.filter(([_, value]) => {
|
|
1385
|
+
return value !== undefined;
|
|
1386
|
+
})
|
|
1387
|
+
.map(([key, value]) => {
|
|
1388
|
+
return `${key}=${value}`;
|
|
1389
|
+
})
|
|
1390
|
+
.join("&");
|
|
1391
|
+
const __path = `${__root}/${`manager/inquiries/${inquiryId}/inquiry_token`}`;
|
|
1392
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1393
|
+
};
|
|
1394
|
+
exports.managerInquiriesGetInquiryToken = managerInquiriesGetInquiryToken;
|
|
1395
|
+
exports.managerInquiriesGetInquiryToken.method = "GET";
|
|
1396
|
+
/**
|
|
1397
|
+
* マンスリー業者がゲスト用に問い合わせに紐づくトークンを発行する
|
|
1398
|
+
*
|
|
1399
|
+
*/
|
|
1400
|
+
const managerInquiriesPublishInquiryToken = ({ inquiryId, }) => {
|
|
1401
|
+
const __root = (0, exports.root)();
|
|
1402
|
+
const __queries = Object.entries({})
|
|
1403
|
+
.filter(([_, value]) => {
|
|
1404
|
+
return value !== undefined;
|
|
1405
|
+
})
|
|
1406
|
+
.map(([key, value]) => {
|
|
1407
|
+
return `${key}=${value}`;
|
|
1408
|
+
})
|
|
1409
|
+
.join("&");
|
|
1410
|
+
const __path = `${__root}/${`manager/inquiries/${inquiryId}/inquiry_token`}`;
|
|
1411
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1412
|
+
};
|
|
1413
|
+
exports.managerInquiriesPublishInquiryToken = managerInquiriesPublishInquiryToken;
|
|
1414
|
+
exports.managerInquiriesPublishInquiryToken.method = "POST";
|
|
1415
|
+
/**
|
|
1416
|
+
* マンスリー業者が契約書の追加決済項目を取得する
|
|
1417
|
+
*
|
|
1418
|
+
*/
|
|
1419
|
+
const managerInquiriesGetPaymentOrderItemsForContract = ({ inquiryId, }) => {
|
|
1420
|
+
const __root = (0, exports.root)();
|
|
1421
|
+
const __queries = Object.entries({})
|
|
1422
|
+
.filter(([_, value]) => {
|
|
1423
|
+
return value !== undefined;
|
|
1424
|
+
})
|
|
1425
|
+
.map(([key, value]) => {
|
|
1426
|
+
return `${key}=${value}`;
|
|
1427
|
+
})
|
|
1428
|
+
.join("&");
|
|
1429
|
+
const __path = `${__root}/${`manager/inquiries/${inquiryId}/payment_order_items_for_contract`}`;
|
|
1430
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1431
|
+
};
|
|
1432
|
+
exports.managerInquiriesGetPaymentOrderItemsForContract = managerInquiriesGetPaymentOrderItemsForContract;
|
|
1433
|
+
exports.managerInquiriesGetPaymentOrderItemsForContract.method = "GET";
|
|
1434
|
+
/**
|
|
1435
|
+
* マンスリー業者が決済注文を作成する
|
|
1436
|
+
*
|
|
1437
|
+
*/
|
|
1438
|
+
const managerInquiriesCreatePaymentOrder = ({ inquiryId, }) => {
|
|
1439
|
+
const __root = (0, exports.root)();
|
|
1440
|
+
const __queries = Object.entries({})
|
|
1441
|
+
.filter(([_, value]) => {
|
|
1442
|
+
return value !== undefined;
|
|
1443
|
+
})
|
|
1444
|
+
.map(([key, value]) => {
|
|
1445
|
+
return `${key}=${value}`;
|
|
1446
|
+
})
|
|
1447
|
+
.join("&");
|
|
1448
|
+
const __path = `${__root}/${`manager/inquiries/${inquiryId}/payment_orders`}`;
|
|
1449
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1450
|
+
};
|
|
1451
|
+
exports.managerInquiriesCreatePaymentOrder = managerInquiriesCreatePaymentOrder;
|
|
1452
|
+
exports.managerInquiriesCreatePaymentOrder.method = "POST";
|
|
1453
|
+
/**
|
|
1454
|
+
* マンスリー業者が問い合わせに紐ずく決済注文を取得する
|
|
1455
|
+
*
|
|
1456
|
+
*/
|
|
1457
|
+
const managerInquiriesListPaymentOrders = ({ inquiryId, }) => {
|
|
1458
|
+
const __root = (0, exports.root)();
|
|
1459
|
+
const __queries = Object.entries({})
|
|
1460
|
+
.filter(([_, value]) => {
|
|
1461
|
+
return value !== undefined;
|
|
1462
|
+
})
|
|
1463
|
+
.map(([key, value]) => {
|
|
1464
|
+
return `${key}=${value}`;
|
|
1465
|
+
})
|
|
1466
|
+
.join("&");
|
|
1467
|
+
const __path = `${__root}/${`manager/inquiries/${inquiryId}/payment_orders`}`;
|
|
1468
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1469
|
+
};
|
|
1470
|
+
exports.managerInquiriesListPaymentOrders = managerInquiriesListPaymentOrders;
|
|
1471
|
+
exports.managerInquiriesListPaymentOrders.method = "GET";
|
|
1472
|
+
/**
|
|
1473
|
+
* マンスリー業者が問い合わせに紐ずく予約を所得する
|
|
1474
|
+
*
|
|
1475
|
+
*/
|
|
1476
|
+
const managerInquiriesGetReservation = ({ inquiryId, }) => {
|
|
1477
|
+
const __root = (0, exports.root)();
|
|
1478
|
+
const __queries = Object.entries({})
|
|
1479
|
+
.filter(([_, value]) => {
|
|
1480
|
+
return value !== undefined;
|
|
1481
|
+
})
|
|
1482
|
+
.map(([key, value]) => {
|
|
1483
|
+
return `${key}=${value}`;
|
|
1484
|
+
})
|
|
1485
|
+
.join("&");
|
|
1486
|
+
const __path = `${__root}/${`manager/inquiries/${inquiryId}/reservations`}`;
|
|
1487
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1488
|
+
};
|
|
1489
|
+
exports.managerInquiriesGetReservation = managerInquiriesGetReservation;
|
|
1490
|
+
exports.managerInquiriesGetReservation.method = "GET";
|
|
1491
|
+
/**
|
|
1492
|
+
* マンスリー業者が問い合わせに紐ずくユーザーを取得する
|
|
1493
|
+
*
|
|
1494
|
+
*/
|
|
1495
|
+
const managerInquiriesGetAssociationGuest = ({ inquiryId, }) => {
|
|
1496
|
+
const __root = (0, exports.root)();
|
|
1497
|
+
const __queries = Object.entries({})
|
|
1498
|
+
.filter(([_, value]) => {
|
|
1499
|
+
return value !== undefined;
|
|
1500
|
+
})
|
|
1501
|
+
.map(([key, value]) => {
|
|
1502
|
+
return `${key}=${value}`;
|
|
1503
|
+
})
|
|
1504
|
+
.join("&");
|
|
1505
|
+
const __path = `${__root}/${`manager/inquiries/${inquiryId}/assciated_guest`}`;
|
|
1506
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1507
|
+
};
|
|
1508
|
+
exports.managerInquiriesGetAssociationGuest = managerInquiriesGetAssociationGuest;
|
|
1509
|
+
exports.managerInquiriesGetAssociationGuest.method = "GET";
|
|
1510
|
+
/**
|
|
1511
|
+
* 管理者がマンスリー業者情報を作成する
|
|
1512
|
+
*
|
|
1513
|
+
*/
|
|
1514
|
+
const adminCompanyCreate = () => {
|
|
1515
|
+
const __root = (0, exports.root)();
|
|
1516
|
+
const __queries = Object.entries({})
|
|
1517
|
+
.filter(([_, value]) => {
|
|
1518
|
+
return value !== undefined;
|
|
1519
|
+
})
|
|
1520
|
+
.map(([key, value]) => {
|
|
1521
|
+
return `${key}=${value}`;
|
|
1522
|
+
})
|
|
1523
|
+
.join("&");
|
|
1524
|
+
const __path = `${__root}/${`admin/companies`}`;
|
|
1525
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1526
|
+
};
|
|
1527
|
+
exports.adminCompanyCreate = adminCompanyCreate;
|
|
1528
|
+
exports.adminCompanyCreate.method = "POST";
|
|
1529
|
+
/**
|
|
1530
|
+
* 指定した都道府県に属する市町村の名前の一覧を取得する
|
|
1531
|
+
* @param {string} prefName hoge
|
|
1532
|
+
*/
|
|
1533
|
+
const informationGetCityNamesInPrefecture = ({ prefName, }) => {
|
|
1534
|
+
const __root = (0, exports.root)();
|
|
1535
|
+
const __queries = Object.entries({ prefName })
|
|
1536
|
+
.filter(([_, value]) => {
|
|
1537
|
+
return value !== undefined;
|
|
1538
|
+
})
|
|
1539
|
+
.map(([key, value]) => {
|
|
1540
|
+
return `${key}=${value}`;
|
|
1541
|
+
})
|
|
1542
|
+
.join("&");
|
|
1543
|
+
const __path = `${__root}/${`information/city_names`}`;
|
|
1544
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1545
|
+
};
|
|
1546
|
+
exports.informationGetCityNamesInPrefecture = informationGetCityNamesInPrefecture;
|
|
1547
|
+
exports.informationGetCityNamesInPrefecture.method = "GET";
|
|
1548
|
+
/**
|
|
1549
|
+
* 指定した地点名の緯度経度を取得する
|
|
1550
|
+
* @param {string} locationName hoge
|
|
1551
|
+
*/
|
|
1552
|
+
const informationGetLocationForCompany = ({ locationName, }) => {
|
|
1553
|
+
const __root = (0, exports.root)();
|
|
1554
|
+
const __queries = Object.entries({ locationName })
|
|
1555
|
+
.filter(([_, value]) => {
|
|
1556
|
+
return value !== undefined;
|
|
1557
|
+
})
|
|
1558
|
+
.map(([key, value]) => {
|
|
1559
|
+
return `${key}=${value}`;
|
|
1560
|
+
})
|
|
1561
|
+
.join("&");
|
|
1562
|
+
const __path = `${__root}/${`information/locations`}`;
|
|
1563
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1564
|
+
};
|
|
1565
|
+
exports.informationGetLocationForCompany = informationGetLocationForCompany;
|
|
1566
|
+
exports.informationGetLocationForCompany.method = "GET";
|
|
1567
|
+
/**
|
|
1568
|
+
* 指定したカテゴリーのキーワードの一覧を取得する
|
|
1569
|
+
* @param {string} categories Furniture,Appliance,Feature
|
|
1570
|
+
*/
|
|
1571
|
+
const informationGetKeywordsByCategories = ({ categories, }) => {
|
|
1572
|
+
const __root = (0, exports.root)();
|
|
1573
|
+
const __queries = Object.entries({ categories })
|
|
1574
|
+
.filter(([_, value]) => {
|
|
1575
|
+
return value !== undefined;
|
|
1576
|
+
})
|
|
1577
|
+
.map(([key, value]) => {
|
|
1578
|
+
return `${key}=${value}`;
|
|
1579
|
+
})
|
|
1580
|
+
.join("&");
|
|
1581
|
+
const __path = `${__root}/${`information/keywords`}`;
|
|
1582
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1583
|
+
};
|
|
1584
|
+
exports.informationGetKeywordsByCategories = informationGetKeywordsByCategories;
|
|
1585
|
+
exports.informationGetKeywordsByCategories.method = "GET";
|
|
1586
|
+
/**
|
|
1587
|
+
* 指定した都道府県に存在する路線名の一覧を取得する
|
|
1588
|
+
* @param {string} prefName hoge
|
|
1589
|
+
*/
|
|
1590
|
+
const informationGetLineNamesByPrefectureNameForCompany = ({ prefName, }) => {
|
|
1591
|
+
const __root = (0, exports.root)();
|
|
1592
|
+
const __queries = Object.entries({ prefName })
|
|
1593
|
+
.filter(([_, value]) => {
|
|
1594
|
+
return value !== undefined;
|
|
1595
|
+
})
|
|
1596
|
+
.map(([key, value]) => {
|
|
1597
|
+
return `${key}=${value}`;
|
|
1598
|
+
})
|
|
1599
|
+
.join("&");
|
|
1600
|
+
const __path = `${__root}/${`information/line_names`}`;
|
|
1601
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1602
|
+
};
|
|
1603
|
+
exports.informationGetLineNamesByPrefectureNameForCompany = informationGetLineNamesByPrefectureNameForCompany;
|
|
1604
|
+
exports.informationGetLineNamesByPrefectureNameForCompany.method = "GET";
|
|
1605
|
+
/**
|
|
1606
|
+
* 指定した路線に存在する駅名の一覧を取得する
|
|
1607
|
+
* @param {string} lineName hoge
|
|
1608
|
+
*/
|
|
1609
|
+
const informationGetStationNamesByLineNameForCompany = ({ lineName, }) => {
|
|
1610
|
+
const __root = (0, exports.root)();
|
|
1611
|
+
const __queries = Object.entries({ lineName })
|
|
1612
|
+
.filter(([_, value]) => {
|
|
1613
|
+
return value !== undefined;
|
|
1614
|
+
})
|
|
1615
|
+
.map(([key, value]) => {
|
|
1616
|
+
return `${key}=${value}`;
|
|
1617
|
+
})
|
|
1618
|
+
.join("&");
|
|
1619
|
+
const __path = `${__root}/${`information/station_names`}`;
|
|
1620
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1621
|
+
};
|
|
1622
|
+
exports.informationGetStationNamesByLineNameForCompany = informationGetStationNamesByLineNameForCompany;
|
|
1623
|
+
exports.informationGetStationNamesByLineNameForCompany.method = "GET";
|
|
1624
|
+
/**
|
|
1625
|
+
* マンスリー業者がオーナー一覧を取得する
|
|
1626
|
+
*
|
|
1627
|
+
*/
|
|
1628
|
+
const managerOwnerList = () => {
|
|
1629
|
+
const __root = (0, exports.root)();
|
|
1630
|
+
const __queries = Object.entries({})
|
|
1631
|
+
.filter(([_, value]) => {
|
|
1632
|
+
return value !== undefined;
|
|
1633
|
+
})
|
|
1634
|
+
.map(([key, value]) => {
|
|
1635
|
+
return `${key}=${value}`;
|
|
1636
|
+
})
|
|
1637
|
+
.join("&");
|
|
1638
|
+
const __path = `${__root}/${`owners/`}`;
|
|
1639
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1640
|
+
};
|
|
1641
|
+
exports.managerOwnerList = managerOwnerList;
|
|
1642
|
+
exports.managerOwnerList.method = "GET";
|
|
1643
|
+
/**
|
|
1644
|
+
* マンスリー業者がオーナーをIDを指定して取得する
|
|
1645
|
+
*
|
|
1646
|
+
*/
|
|
1647
|
+
const managerOwnerGet = ({ id }) => {
|
|
1648
|
+
const __root = (0, exports.root)();
|
|
1649
|
+
const __queries = Object.entries({})
|
|
1650
|
+
.filter(([_, value]) => {
|
|
1651
|
+
return value !== undefined;
|
|
1652
|
+
})
|
|
1653
|
+
.map(([key, value]) => {
|
|
1654
|
+
return `${key}=${value}`;
|
|
1655
|
+
})
|
|
1656
|
+
.join("&");
|
|
1657
|
+
const __path = `${__root}/${`owners/${id}`}`;
|
|
1658
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1659
|
+
};
|
|
1660
|
+
exports.managerOwnerGet = managerOwnerGet;
|
|
1661
|
+
exports.managerOwnerGet.method = "GET";
|
|
1662
|
+
/**
|
|
1663
|
+
* マンスリー業者がオーナーを作成する
|
|
1664
|
+
*
|
|
1665
|
+
*/
|
|
1666
|
+
const managerOwnerCreate = () => {
|
|
1667
|
+
const __root = (0, exports.root)();
|
|
1668
|
+
const __queries = Object.entries({})
|
|
1669
|
+
.filter(([_, value]) => {
|
|
1670
|
+
return value !== undefined;
|
|
1671
|
+
})
|
|
1672
|
+
.map(([key, value]) => {
|
|
1673
|
+
return `${key}=${value}`;
|
|
1674
|
+
})
|
|
1675
|
+
.join("&");
|
|
1676
|
+
const __path = `${__root}/${`owners/`}`;
|
|
1677
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1678
|
+
};
|
|
1679
|
+
exports.managerOwnerCreate = managerOwnerCreate;
|
|
1680
|
+
exports.managerOwnerCreate.method = "POST";
|
|
1681
|
+
/**
|
|
1682
|
+
* マンスリー業者がオーナー情報を更新する
|
|
1683
|
+
*
|
|
1684
|
+
*/
|
|
1685
|
+
const managerOwnerUpdate = ({ id }) => {
|
|
1686
|
+
const __root = (0, exports.root)();
|
|
1687
|
+
const __queries = Object.entries({})
|
|
1688
|
+
.filter(([_, value]) => {
|
|
1689
|
+
return value !== undefined;
|
|
1690
|
+
})
|
|
1691
|
+
.map(([key, value]) => {
|
|
1692
|
+
return `${key}=${value}`;
|
|
1693
|
+
})
|
|
1694
|
+
.join("&");
|
|
1695
|
+
const __path = `${__root}/${`owners/${id}`}`;
|
|
1696
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1697
|
+
};
|
|
1698
|
+
exports.managerOwnerUpdate = managerOwnerUpdate;
|
|
1699
|
+
exports.managerOwnerUpdate.method = "PUT";
|
|
1700
|
+
/**
|
|
1701
|
+
* マンスリー業者がオーナーを削除する
|
|
1702
|
+
*
|
|
1703
|
+
*/
|
|
1704
|
+
const managerOwnerDelete = ({ id }) => {
|
|
1705
|
+
const __root = (0, exports.root)();
|
|
1706
|
+
const __queries = Object.entries({})
|
|
1707
|
+
.filter(([_, value]) => {
|
|
1708
|
+
return value !== undefined;
|
|
1709
|
+
})
|
|
1710
|
+
.map(([key, value]) => {
|
|
1711
|
+
return `${key}=${value}`;
|
|
1712
|
+
})
|
|
1713
|
+
.join("&");
|
|
1714
|
+
const __path = `${__root}/${`owners/${id}`}`;
|
|
1715
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1716
|
+
};
|
|
1717
|
+
exports.managerOwnerDelete = managerOwnerDelete;
|
|
1718
|
+
exports.managerOwnerDelete.method = "DELETE";
|
|
1719
|
+
/**
|
|
1720
|
+
* カレンダーブロックを作成する
|
|
1721
|
+
*
|
|
1722
|
+
*/
|
|
1723
|
+
const managerCalendarBlockCreate = () => {
|
|
1724
|
+
const __root = (0, exports.root)();
|
|
1725
|
+
const __queries = Object.entries({})
|
|
1726
|
+
.filter(([_, value]) => {
|
|
1727
|
+
return value !== undefined;
|
|
1728
|
+
})
|
|
1729
|
+
.map(([key, value]) => {
|
|
1730
|
+
return `${key}=${value}`;
|
|
1731
|
+
})
|
|
1732
|
+
.join("&");
|
|
1733
|
+
const __path = `${__root}/${`calendars/blocks`}`;
|
|
1734
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1735
|
+
};
|
|
1736
|
+
exports.managerCalendarBlockCreate = managerCalendarBlockCreate;
|
|
1737
|
+
exports.managerCalendarBlockCreate.method = "POST";
|
|
1738
|
+
/**
|
|
1739
|
+
* カレンダーブロックを取得する
|
|
1740
|
+
*
|
|
1741
|
+
*/
|
|
1742
|
+
const managerCalendarBlockGet = ({ calendarBlockId, }) => {
|
|
1743
|
+
const __root = (0, exports.root)();
|
|
1744
|
+
const __queries = Object.entries({})
|
|
1745
|
+
.filter(([_, value]) => {
|
|
1746
|
+
return value !== undefined;
|
|
1747
|
+
})
|
|
1748
|
+
.map(([key, value]) => {
|
|
1749
|
+
return `${key}=${value}`;
|
|
1750
|
+
})
|
|
1751
|
+
.join("&");
|
|
1752
|
+
const __path = `${__root}/${`calendars/blocks/${calendarBlockId}`}`;
|
|
1753
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1754
|
+
};
|
|
1755
|
+
exports.managerCalendarBlockGet = managerCalendarBlockGet;
|
|
1756
|
+
exports.managerCalendarBlockGet.method = "GET";
|
|
1757
|
+
/**
|
|
1758
|
+
* カレンダーブロックを更新する
|
|
1759
|
+
*
|
|
1760
|
+
*/
|
|
1761
|
+
const managerCalendarBlockUpdate = ({ calendarBlockId, }) => {
|
|
1762
|
+
const __root = (0, exports.root)();
|
|
1763
|
+
const __queries = Object.entries({})
|
|
1764
|
+
.filter(([_, value]) => {
|
|
1765
|
+
return value !== undefined;
|
|
1766
|
+
})
|
|
1767
|
+
.map(([key, value]) => {
|
|
1768
|
+
return `${key}=${value}`;
|
|
1769
|
+
})
|
|
1770
|
+
.join("&");
|
|
1771
|
+
const __path = `${__root}/${`calendars/blocks/${calendarBlockId}`}`;
|
|
1772
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1773
|
+
};
|
|
1774
|
+
exports.managerCalendarBlockUpdate = managerCalendarBlockUpdate;
|
|
1775
|
+
exports.managerCalendarBlockUpdate.method = "PUT";
|
|
1776
|
+
/**
|
|
1777
|
+
* カレンダーブロックを削除する
|
|
1778
|
+
*
|
|
1779
|
+
*/
|
|
1780
|
+
const managerCalendarBlockDelete = ({ calendarBlockId, }) => {
|
|
1781
|
+
const __root = (0, exports.root)();
|
|
1782
|
+
const __queries = Object.entries({})
|
|
1783
|
+
.filter(([_, value]) => {
|
|
1784
|
+
return value !== undefined;
|
|
1785
|
+
})
|
|
1786
|
+
.map(([key, value]) => {
|
|
1787
|
+
return `${key}=${value}`;
|
|
1788
|
+
})
|
|
1789
|
+
.join("&");
|
|
1790
|
+
const __path = `${__root}/${`calendars/blocks/${calendarBlockId}`}`;
|
|
1791
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1792
|
+
};
|
|
1793
|
+
exports.managerCalendarBlockDelete = managerCalendarBlockDelete;
|
|
1794
|
+
exports.managerCalendarBlockDelete.method = "DELETE";
|
|
1795
|
+
/**
|
|
1796
|
+
* 指定した物件IDのカレンダーブロックで指定した日付範囲に重なるものを取得する
|
|
1797
|
+
* @param {string} startDate 2021-01-01
|
|
1798
|
+
* @param {string} endDate 2021-12-31
|
|
1799
|
+
*/
|
|
1800
|
+
const managerCalendarBlockFindByListingId = ({ startDate, endDate, listingId, }) => {
|
|
1801
|
+
const __root = (0, exports.root)();
|
|
1802
|
+
const __queries = Object.entries({ startDate, endDate })
|
|
1803
|
+
.filter(([_, value]) => {
|
|
1804
|
+
return value !== undefined;
|
|
1805
|
+
})
|
|
1806
|
+
.map(([key, value]) => {
|
|
1807
|
+
return `${key}=${value}`;
|
|
1808
|
+
})
|
|
1809
|
+
.join("&");
|
|
1810
|
+
const __path = `${__root}/${`calendars/listings/${listingId}`}`;
|
|
1811
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1812
|
+
};
|
|
1813
|
+
exports.managerCalendarBlockFindByListingId = managerCalendarBlockFindByListingId;
|
|
1814
|
+
exports.managerCalendarBlockFindByListingId.method = "GET";
|
|
1815
|
+
/**
|
|
1816
|
+
* 在庫カレンダーを検索する
|
|
1817
|
+
*
|
|
1818
|
+
*/
|
|
1819
|
+
const managerCalendarAvailableListingsSearch = () => {
|
|
1820
|
+
const __root = (0, exports.root)();
|
|
1821
|
+
const __queries = Object.entries({})
|
|
1822
|
+
.filter(([_, value]) => {
|
|
1823
|
+
return value !== undefined;
|
|
1824
|
+
})
|
|
1825
|
+
.map(([key, value]) => {
|
|
1826
|
+
return `${key}=${value}`;
|
|
1827
|
+
})
|
|
1828
|
+
.join("&");
|
|
1829
|
+
const __path = `${__root}/${`calendars/search`}`;
|
|
1830
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1831
|
+
};
|
|
1832
|
+
exports.managerCalendarAvailableListingsSearch = managerCalendarAvailableListingsSearch;
|
|
1833
|
+
exports.managerCalendarAvailableListingsSearch.method = "POST";
|
|
1834
|
+
/**
|
|
1835
|
+
* カレンダーの宿泊費をインポートを行う
|
|
1836
|
+
*
|
|
1837
|
+
*/
|
|
1838
|
+
const managerCalendarImportCalendarRent = () => {
|
|
1839
|
+
const __root = (0, exports.root)();
|
|
1840
|
+
const __queries = Object.entries({})
|
|
1841
|
+
.filter(([_, value]) => {
|
|
1842
|
+
return value !== undefined;
|
|
1843
|
+
})
|
|
1844
|
+
.map(([key, value]) => {
|
|
1845
|
+
return `${key}=${value}`;
|
|
1846
|
+
})
|
|
1847
|
+
.join("&");
|
|
1848
|
+
const __path = `${__root}/${`calendars/import_rent`}`;
|
|
1849
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1850
|
+
};
|
|
1851
|
+
exports.managerCalendarImportCalendarRent = managerCalendarImportCalendarRent;
|
|
1852
|
+
exports.managerCalendarImportCalendarRent.method = "POST";
|
|
1853
|
+
/**
|
|
1854
|
+
* カレンダーの宿泊費をエキスポートを行う
|
|
1855
|
+
*
|
|
1856
|
+
*/
|
|
1857
|
+
const managerCalendarExportCalendarRent = () => {
|
|
1858
|
+
const __root = (0, exports.root)();
|
|
1859
|
+
const __queries = Object.entries({})
|
|
1860
|
+
.filter(([_, value]) => {
|
|
1861
|
+
return value !== undefined;
|
|
1862
|
+
})
|
|
1863
|
+
.map(([key, value]) => {
|
|
1864
|
+
return `${key}=${value}`;
|
|
1865
|
+
})
|
|
1866
|
+
.join("&");
|
|
1867
|
+
const __path = `${__root}/${`calendars/export_rent`}`;
|
|
1868
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1869
|
+
};
|
|
1870
|
+
exports.managerCalendarExportCalendarRent = managerCalendarExportCalendarRent;
|
|
1871
|
+
exports.managerCalendarExportCalendarRent.method = "POST";
|
|
1872
|
+
/**
|
|
1873
|
+
* iCalをURLから取得しパースした結果を返す
|
|
1874
|
+
*
|
|
1875
|
+
*/
|
|
1876
|
+
const managerICalParse = () => {
|
|
1877
|
+
const __root = (0, exports.root)();
|
|
1878
|
+
const __queries = Object.entries({})
|
|
1879
|
+
.filter(([_, value]) => {
|
|
1880
|
+
return value !== undefined;
|
|
1881
|
+
})
|
|
1882
|
+
.map(([key, value]) => {
|
|
1883
|
+
return `${key}=${value}`;
|
|
1884
|
+
})
|
|
1885
|
+
.join("&");
|
|
1886
|
+
const __path = `${__root}/${`manager/ical/parse`}`;
|
|
1887
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1888
|
+
};
|
|
1889
|
+
exports.managerICalParse = managerICalParse;
|
|
1890
|
+
exports.managerICalParse.method = "POST";
|
|
1891
|
+
/**
|
|
1892
|
+
* マンスリー業者が決済項目を取得する
|
|
1893
|
+
*
|
|
1894
|
+
*/
|
|
1895
|
+
const managerPaymentGetPaymentOrder = ({ paymentOrderId, }) => {
|
|
1896
|
+
const __root = (0, exports.root)();
|
|
1897
|
+
const __queries = Object.entries({})
|
|
1898
|
+
.filter(([_, value]) => {
|
|
1899
|
+
return value !== undefined;
|
|
1900
|
+
})
|
|
1901
|
+
.map(([key, value]) => {
|
|
1902
|
+
return `${key}=${value}`;
|
|
1903
|
+
})
|
|
1904
|
+
.join("&");
|
|
1905
|
+
const __path = `${__root}/${`manager/payment_orders/${paymentOrderId}`}`;
|
|
1906
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1907
|
+
};
|
|
1908
|
+
exports.managerPaymentGetPaymentOrder = managerPaymentGetPaymentOrder;
|
|
1909
|
+
exports.managerPaymentGetPaymentOrder.method = "GET";
|
|
1910
|
+
/**
|
|
1911
|
+
* マンスリー業者がveritransと未登録の決済取引を同期する
|
|
1912
|
+
*
|
|
1913
|
+
*/
|
|
1914
|
+
const managerPaymentSyncUnregisteredVeritransPaymentTransaction = ({ paymentOrderId, }) => {
|
|
1915
|
+
const __root = (0, exports.root)();
|
|
1916
|
+
const __queries = Object.entries({})
|
|
1917
|
+
.filter(([_, value]) => {
|
|
1918
|
+
return value !== undefined;
|
|
1919
|
+
})
|
|
1920
|
+
.map(([key, value]) => {
|
|
1921
|
+
return `${key}=${value}`;
|
|
1922
|
+
})
|
|
1923
|
+
.join("&");
|
|
1924
|
+
const __path = `${__root}/${`manager/payment_orders/${paymentOrderId}/sync_unregistered_transaction`}`;
|
|
1925
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1926
|
+
};
|
|
1927
|
+
exports.managerPaymentSyncUnregisteredVeritransPaymentTransaction = managerPaymentSyncUnregisteredVeritransPaymentTransaction;
|
|
1928
|
+
exports.managerPaymentSyncUnregisteredVeritransPaymentTransaction.method =
|
|
1929
|
+
"PUT";
|
|
1930
|
+
/**
|
|
1931
|
+
* マンスリー業者が決済項目を作成する
|
|
1932
|
+
*
|
|
1933
|
+
*/
|
|
1934
|
+
const managerPaymentCreatePaymentOrderItem = ({ paymentOrderId, }) => {
|
|
1935
|
+
const __root = (0, exports.root)();
|
|
1936
|
+
const __queries = Object.entries({})
|
|
1937
|
+
.filter(([_, value]) => {
|
|
1938
|
+
return value !== undefined;
|
|
1939
|
+
})
|
|
1940
|
+
.map(([key, value]) => {
|
|
1941
|
+
return `${key}=${value}`;
|
|
1942
|
+
})
|
|
1943
|
+
.join("&");
|
|
1944
|
+
const __path = `${__root}/${`manager/payment_orders/${paymentOrderId}/items`}`;
|
|
1945
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1946
|
+
};
|
|
1947
|
+
exports.managerPaymentCreatePaymentOrderItem = managerPaymentCreatePaymentOrderItem;
|
|
1948
|
+
exports.managerPaymentCreatePaymentOrderItem.method = "POST";
|
|
1949
|
+
/**
|
|
1950
|
+
* マンスリー業者が決済項目を更新する
|
|
1951
|
+
*
|
|
1952
|
+
*/
|
|
1953
|
+
const managerPaymentUpdatePaymentOrderItem = ({ paymentOrderId, paymentOrderItemId, }) => {
|
|
1954
|
+
const __root = (0, exports.root)();
|
|
1955
|
+
const __queries = Object.entries({})
|
|
1956
|
+
.filter(([_, value]) => {
|
|
1957
|
+
return value !== undefined;
|
|
1958
|
+
})
|
|
1959
|
+
.map(([key, value]) => {
|
|
1960
|
+
return `${key}=${value}`;
|
|
1961
|
+
})
|
|
1962
|
+
.join("&");
|
|
1963
|
+
const __path = `${__root}/${`manager/payment_orders/${paymentOrderId}/items/${paymentOrderItemId}`}`;
|
|
1964
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1965
|
+
};
|
|
1966
|
+
exports.managerPaymentUpdatePaymentOrderItem = managerPaymentUpdatePaymentOrderItem;
|
|
1967
|
+
exports.managerPaymentUpdatePaymentOrderItem.method = "PUT";
|
|
1968
|
+
/**
|
|
1969
|
+
* マンスリー業者が決済項目を削除する
|
|
1970
|
+
*
|
|
1971
|
+
*/
|
|
1972
|
+
const managerPaymentDeletePaymentOrderItem = ({ paymentOrderId, paymentOrderItemId, }) => {
|
|
1973
|
+
const __root = (0, exports.root)();
|
|
1974
|
+
const __queries = Object.entries({})
|
|
1975
|
+
.filter(([_, value]) => {
|
|
1976
|
+
return value !== undefined;
|
|
1977
|
+
})
|
|
1978
|
+
.map(([key, value]) => {
|
|
1979
|
+
return `${key}=${value}`;
|
|
1980
|
+
})
|
|
1981
|
+
.join("&");
|
|
1982
|
+
const __path = `${__root}/${`manager/payment_orders/${paymentOrderId}/items/${paymentOrderItemId}`}`;
|
|
1983
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
1984
|
+
};
|
|
1985
|
+
exports.managerPaymentDeletePaymentOrderItem = managerPaymentDeletePaymentOrderItem;
|
|
1986
|
+
exports.managerPaymentDeletePaymentOrderItem.method = "DELETE";
|
|
1987
|
+
/**
|
|
1988
|
+
* admin権限の管理者が不明な決済ステータスを解決する
|
|
1989
|
+
*
|
|
1990
|
+
*/
|
|
1991
|
+
const managerPaymentResolvePaymentOrderUnknownStatus = ({ paymentOrderId, }) => {
|
|
1992
|
+
const __root = (0, exports.root)();
|
|
1993
|
+
const __queries = Object.entries({})
|
|
1994
|
+
.filter(([_, value]) => {
|
|
1995
|
+
return value !== undefined;
|
|
1996
|
+
})
|
|
1997
|
+
.map(([key, value]) => {
|
|
1998
|
+
return `${key}=${value}`;
|
|
1999
|
+
})
|
|
2000
|
+
.join("&");
|
|
2001
|
+
const __path = `${__root}/${`manager/payment_orders/${paymentOrderId}/resolve_unknown_status`}`;
|
|
2002
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
2003
|
+
};
|
|
2004
|
+
exports.managerPaymentResolvePaymentOrderUnknownStatus = managerPaymentResolvePaymentOrderUnknownStatus;
|
|
2005
|
+
exports.managerPaymentResolvePaymentOrderUnknownStatus.method = "PUT";
|
|
2006
|
+
/**
|
|
2007
|
+
* 決済取引を出力する
|
|
2008
|
+
* @param {string} yearMonth 2021-09
|
|
2009
|
+
*/
|
|
2010
|
+
const exportVeritransPaymentTransactions = ({ yearMonth, }) => {
|
|
2011
|
+
const __root = (0, exports.root)();
|
|
2012
|
+
const __queries = Object.entries({ yearMonth })
|
|
2013
|
+
.filter(([_, value]) => {
|
|
2014
|
+
return value !== undefined;
|
|
2015
|
+
})
|
|
2016
|
+
.map(([key, value]) => {
|
|
2017
|
+
return `${key}=${value}`;
|
|
2018
|
+
})
|
|
2019
|
+
.join("&");
|
|
2020
|
+
const __path = `${__root}/${`manager/payment_orders/export`}`;
|
|
2021
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
2022
|
+
};
|
|
2023
|
+
exports.exportVeritransPaymentTransactions = exportVeritransPaymentTransactions;
|
|
2024
|
+
exports.exportVeritransPaymentTransactions.method = "GET";
|
|
2025
|
+
/**
|
|
2026
|
+
* 予約をキャンセルする
|
|
2027
|
+
*
|
|
2028
|
+
*/
|
|
2029
|
+
const managerReservationCancel = ({ id }) => {
|
|
2030
|
+
const __root = (0, exports.root)();
|
|
2031
|
+
const __queries = Object.entries({})
|
|
2032
|
+
.filter(([_, value]) => {
|
|
2033
|
+
return value !== undefined;
|
|
2034
|
+
})
|
|
2035
|
+
.map(([key, value]) => {
|
|
2036
|
+
return `${key}=${value}`;
|
|
2037
|
+
})
|
|
2038
|
+
.join("&");
|
|
2039
|
+
const __path = `${__root}/${`manager/reservations/${id}/cancel`}`;
|
|
2040
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
2041
|
+
};
|
|
2042
|
+
exports.managerReservationCancel = managerReservationCancel;
|
|
2043
|
+
exports.managerReservationCancel.method = "PUT";
|
|
2044
|
+
/**
|
|
2045
|
+
* 予約の期間を変更する
|
|
2046
|
+
*
|
|
2047
|
+
*/
|
|
2048
|
+
const managerReservationChangeStaySpan = ({ id }) => {
|
|
2049
|
+
const __root = (0, exports.root)();
|
|
2050
|
+
const __queries = Object.entries({})
|
|
2051
|
+
.filter(([_, value]) => {
|
|
2052
|
+
return value !== undefined;
|
|
2053
|
+
})
|
|
2054
|
+
.map(([key, value]) => {
|
|
2055
|
+
return `${key}=${value}`;
|
|
2056
|
+
})
|
|
2057
|
+
.join("&");
|
|
2058
|
+
const __path = `${__root}/${`manager/reservations/${id}/change_stay_span`}`;
|
|
2059
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
2060
|
+
};
|
|
2061
|
+
exports.managerReservationChangeStaySpan = managerReservationChangeStaySpan;
|
|
2062
|
+
exports.managerReservationChangeStaySpan.method = "PATCH";
|
|
2063
|
+
/**
|
|
2064
|
+
* 予約を部分更新する
|
|
2065
|
+
*
|
|
2066
|
+
*/
|
|
2067
|
+
const managerReservationPatch = ({ id }) => {
|
|
2068
|
+
const __root = (0, exports.root)();
|
|
2069
|
+
const __queries = Object.entries({})
|
|
2070
|
+
.filter(([_, value]) => {
|
|
2071
|
+
return value !== undefined;
|
|
2072
|
+
})
|
|
2073
|
+
.map(([key, value]) => {
|
|
2074
|
+
return `${key}=${value}`;
|
|
2075
|
+
})
|
|
2076
|
+
.join("&");
|
|
2077
|
+
const __path = `${__root}/${`manager/reservations/${id}`}`;
|
|
2078
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
2079
|
+
};
|
|
2080
|
+
exports.managerReservationPatch = managerReservationPatch;
|
|
2081
|
+
exports.managerReservationPatch.method = "PATCH";
|
|
2082
|
+
/**
|
|
2083
|
+
* 予約コードで予約を検索する
|
|
2084
|
+
*
|
|
2085
|
+
*/
|
|
2086
|
+
const managerReservationSearchByReservationCode = () => {
|
|
2087
|
+
const __root = (0, exports.root)();
|
|
2088
|
+
const __queries = Object.entries({})
|
|
2089
|
+
.filter(([_, value]) => {
|
|
2090
|
+
return value !== undefined;
|
|
2091
|
+
})
|
|
2092
|
+
.map(([key, value]) => {
|
|
2093
|
+
return `${key}=${value}`;
|
|
2094
|
+
})
|
|
2095
|
+
.join("&");
|
|
2096
|
+
const __path = `${__root}/${`manager/reservations/search_by_code`}`;
|
|
2097
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
2098
|
+
};
|
|
2099
|
+
exports.managerReservationSearchByReservationCode = managerReservationSearchByReservationCode;
|
|
2100
|
+
exports.managerReservationSearchByReservationCode.method = "POST";
|
|
2101
|
+
/**
|
|
2102
|
+
* 予約一覧を取得する
|
|
2103
|
+
* @param {string} couponId foo
|
|
2104
|
+
* @param {number} page 0
|
|
2105
|
+
* @param {number} itemsPerPage 20
|
|
2106
|
+
*/
|
|
2107
|
+
const managerReservationsList = ({ couponId, page, itemsPerPage, }) => {
|
|
2108
|
+
const __root = (0, exports.root)();
|
|
2109
|
+
const __queries = Object.entries({ couponId, page, itemsPerPage })
|
|
2110
|
+
.filter(([_, value]) => {
|
|
2111
|
+
return value !== undefined;
|
|
2112
|
+
})
|
|
2113
|
+
.map(([key, value]) => {
|
|
2114
|
+
return `${key}=${value}`;
|
|
2115
|
+
})
|
|
2116
|
+
.join("&");
|
|
2117
|
+
const __path = `${__root}/${`manager/reservations`}`;
|
|
2118
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
2119
|
+
};
|
|
2120
|
+
exports.managerReservationsList = managerReservationsList;
|
|
2121
|
+
exports.managerReservationsList.method = "GET";
|
|
2122
|
+
/**
|
|
2123
|
+
* ベリトランスアカウントを登録する
|
|
2124
|
+
*
|
|
2125
|
+
*/
|
|
2126
|
+
const managerVeritransAccountCreate = () => {
|
|
2127
|
+
const __root = (0, exports.root)();
|
|
2128
|
+
const __queries = Object.entries({})
|
|
2129
|
+
.filter(([_, value]) => {
|
|
2130
|
+
return value !== undefined;
|
|
2131
|
+
})
|
|
2132
|
+
.map(([key, value]) => {
|
|
2133
|
+
return `${key}=${value}`;
|
|
2134
|
+
})
|
|
2135
|
+
.join("&");
|
|
2136
|
+
const __path = `${__root}/${`manager/veritrans_accounts`}`;
|
|
2137
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
2138
|
+
};
|
|
2139
|
+
exports.managerVeritransAccountCreate = managerVeritransAccountCreate;
|
|
2140
|
+
exports.managerVeritransAccountCreate.method = "POST";
|
|
2141
|
+
/**
|
|
2142
|
+
* 物件とベリトランスアカウントの紐付けを登録する
|
|
2143
|
+
*
|
|
2144
|
+
*/
|
|
2145
|
+
const managerListingVeritransAccountRelationRegister = () => {
|
|
2146
|
+
const __root = (0, exports.root)();
|
|
2147
|
+
const __queries = Object.entries({})
|
|
2148
|
+
.filter(([_, value]) => {
|
|
2149
|
+
return value !== undefined;
|
|
2150
|
+
})
|
|
2151
|
+
.map(([key, value]) => {
|
|
2152
|
+
return `${key}=${value}`;
|
|
2153
|
+
})
|
|
2154
|
+
.join("&");
|
|
2155
|
+
const __path = `${__root}/${`manager/listing_veritrans_account_relations`}`;
|
|
2156
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
2157
|
+
};
|
|
2158
|
+
exports.managerListingVeritransAccountRelationRegister = managerListingVeritransAccountRelationRegister;
|
|
2159
|
+
exports.managerListingVeritransAccountRelationRegister.method = "POST";
|
|
2160
|
+
/**
|
|
2161
|
+
* 空欄の決済項目のidを更新する
|
|
2162
|
+
*
|
|
2163
|
+
*/
|
|
2164
|
+
const updateAllBlankPaymentOrderItemId = () => {
|
|
2165
|
+
const __root = (0, exports.root)();
|
|
2166
|
+
const __queries = Object.entries({})
|
|
2167
|
+
.filter(([_, value]) => {
|
|
2168
|
+
return value !== undefined;
|
|
2169
|
+
})
|
|
2170
|
+
.map(([key, value]) => {
|
|
2171
|
+
return `${key}=${value}`;
|
|
2172
|
+
})
|
|
2173
|
+
.join("&");
|
|
2174
|
+
const __path = `${__root}/${`update_all_blanck_payment_order_item_id`}`;
|
|
2175
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
2176
|
+
};
|
|
2177
|
+
exports.updateAllBlankPaymentOrderItemId = updateAllBlankPaymentOrderItemId;
|
|
2178
|
+
exports.updateAllBlankPaymentOrderItemId.method = "PUT";
|
|
2179
|
+
/**
|
|
2180
|
+
* クーポンを作成する
|
|
2181
|
+
*
|
|
2182
|
+
*/
|
|
2183
|
+
const managerCouponCreate = () => {
|
|
2184
|
+
const __root = (0, exports.root)();
|
|
2185
|
+
const __queries = Object.entries({})
|
|
2186
|
+
.filter(([_, value]) => {
|
|
2187
|
+
return value !== undefined;
|
|
2188
|
+
})
|
|
2189
|
+
.map(([key, value]) => {
|
|
2190
|
+
return `${key}=${value}`;
|
|
2191
|
+
})
|
|
2192
|
+
.join("&");
|
|
2193
|
+
const __path = `${__root}/${`manager/coupons`}`;
|
|
2194
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
2195
|
+
};
|
|
2196
|
+
exports.managerCouponCreate = managerCouponCreate;
|
|
2197
|
+
exports.managerCouponCreate.method = "POST";
|
|
2198
|
+
/**
|
|
2199
|
+
* クーポン一覧を取得する
|
|
2200
|
+
*
|
|
2201
|
+
*/
|
|
2202
|
+
const managerCouponList = () => {
|
|
2203
|
+
const __root = (0, exports.root)();
|
|
2204
|
+
const __queries = Object.entries({})
|
|
2205
|
+
.filter(([_, value]) => {
|
|
2206
|
+
return value !== undefined;
|
|
2207
|
+
})
|
|
2208
|
+
.map(([key, value]) => {
|
|
2209
|
+
return `${key}=${value}`;
|
|
2210
|
+
})
|
|
2211
|
+
.join("&");
|
|
2212
|
+
const __path = `${__root}/${`manager/coupons`}`;
|
|
2213
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
2214
|
+
};
|
|
2215
|
+
exports.managerCouponList = managerCouponList;
|
|
2216
|
+
exports.managerCouponList.method = "GET";
|
|
2217
|
+
/**
|
|
2218
|
+
* クーポンを編集する
|
|
2219
|
+
*
|
|
2220
|
+
*/
|
|
2221
|
+
const managerCouponPath = ({ couponId }) => {
|
|
2222
|
+
const __root = (0, exports.root)();
|
|
2223
|
+
const __queries = Object.entries({})
|
|
2224
|
+
.filter(([_, value]) => {
|
|
2225
|
+
return value !== undefined;
|
|
2226
|
+
})
|
|
2227
|
+
.map(([key, value]) => {
|
|
2228
|
+
return `${key}=${value}`;
|
|
2229
|
+
})
|
|
2230
|
+
.join("&");
|
|
2231
|
+
const __path = `${__root}/${`manager/coupons/${couponId}`}`;
|
|
2232
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
2233
|
+
};
|
|
2234
|
+
exports.managerCouponPath = managerCouponPath;
|
|
2235
|
+
exports.managerCouponPath.method = "PATCH";
|
|
2236
|
+
/**
|
|
2237
|
+
* クーポンを取得する
|
|
2238
|
+
*
|
|
2239
|
+
*/
|
|
2240
|
+
const managerCouponGet = ({ couponId }) => {
|
|
2241
|
+
const __root = (0, exports.root)();
|
|
2242
|
+
const __queries = Object.entries({})
|
|
2243
|
+
.filter(([_, value]) => {
|
|
2244
|
+
return value !== undefined;
|
|
2245
|
+
})
|
|
2246
|
+
.map(([key, value]) => {
|
|
2247
|
+
return `${key}=${value}`;
|
|
2248
|
+
})
|
|
2249
|
+
.join("&");
|
|
2250
|
+
const __path = `${__root}/${`manager/coupons/${couponId}`}`;
|
|
2251
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
2252
|
+
};
|
|
2253
|
+
exports.managerCouponGet = managerCouponGet;
|
|
2254
|
+
exports.managerCouponGet.method = "GET";
|
|
2255
|
+
/**
|
|
2256
|
+
* クーポンと物件の関係を取得する
|
|
2257
|
+
*
|
|
2258
|
+
*/
|
|
2259
|
+
const managerCouponListingRelationsGet = ({ couponId, }) => {
|
|
2260
|
+
const __root = (0, exports.root)();
|
|
2261
|
+
const __queries = Object.entries({})
|
|
2262
|
+
.filter(([_, value]) => {
|
|
2263
|
+
return value !== undefined;
|
|
2264
|
+
})
|
|
2265
|
+
.map(([key, value]) => {
|
|
2266
|
+
return `${key}=${value}`;
|
|
2267
|
+
})
|
|
2268
|
+
.join("&");
|
|
2269
|
+
const __path = `${__root}/${`manager/coupon_listing_relations/${couponId}`}`;
|
|
2270
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
2271
|
+
};
|
|
2272
|
+
exports.managerCouponListingRelationsGet = managerCouponListingRelationsGet;
|
|
2273
|
+
exports.managerCouponListingRelationsGet.method = "GET";
|
|
2274
|
+
/**
|
|
2275
|
+
* クーポンと物件の関係を複数作成する
|
|
2276
|
+
*
|
|
2277
|
+
*/
|
|
2278
|
+
const managerCouponListingRelationsBatchCreate = () => {
|
|
2279
|
+
const __root = (0, exports.root)();
|
|
2280
|
+
const __queries = Object.entries({})
|
|
2281
|
+
.filter(([_, value]) => {
|
|
2282
|
+
return value !== undefined;
|
|
2283
|
+
})
|
|
2284
|
+
.map(([key, value]) => {
|
|
2285
|
+
return `${key}=${value}`;
|
|
2286
|
+
})
|
|
2287
|
+
.join("&");
|
|
2288
|
+
const __path = `${__root}/${`manager/coupon_listing_relations/batch_create`}`;
|
|
2289
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
2290
|
+
};
|
|
2291
|
+
exports.managerCouponListingRelationsBatchCreate = managerCouponListingRelationsBatchCreate;
|
|
2292
|
+
exports.managerCouponListingRelationsBatchCreate.method = "POST";
|
|
2293
|
+
/**
|
|
2294
|
+
* クーポンと物件の関係を削除する
|
|
2295
|
+
*
|
|
2296
|
+
*/
|
|
2297
|
+
const managerCouponListingRelationsDelete = () => {
|
|
2298
|
+
const __root = (0, exports.root)();
|
|
2299
|
+
const __queries = Object.entries({})
|
|
2300
|
+
.filter(([_, value]) => {
|
|
2301
|
+
return value !== undefined;
|
|
2302
|
+
})
|
|
2303
|
+
.map(([key, value]) => {
|
|
2304
|
+
return `${key}=${value}`;
|
|
2305
|
+
})
|
|
2306
|
+
.join("&");
|
|
2307
|
+
const __path = `${__root}/${`manager/coupon_listing_relations`}`;
|
|
2308
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
2309
|
+
};
|
|
2310
|
+
exports.managerCouponListingRelationsDelete = managerCouponListingRelationsDelete;
|
|
2311
|
+
exports.managerCouponListingRelationsDelete.method = "DELETE";
|
|
2312
|
+
/**
|
|
2313
|
+
* 部屋タイプを作成する
|
|
2314
|
+
*
|
|
2315
|
+
*/
|
|
2316
|
+
const managerRoomTypeCreate = () => {
|
|
2317
|
+
const __root = (0, exports.root)();
|
|
2318
|
+
const __queries = Object.entries({})
|
|
2319
|
+
.filter(([_, value]) => {
|
|
2320
|
+
return value !== undefined;
|
|
2321
|
+
})
|
|
2322
|
+
.map(([key, value]) => {
|
|
2323
|
+
return `${key}=${value}`;
|
|
2324
|
+
})
|
|
2325
|
+
.join("&");
|
|
2326
|
+
const __path = `${__root}/${`manager/room_types`}`;
|
|
2327
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
2328
|
+
};
|
|
2329
|
+
exports.managerRoomTypeCreate = managerRoomTypeCreate;
|
|
2330
|
+
exports.managerRoomTypeCreate.method = "POST";
|
|
2331
|
+
/**
|
|
2332
|
+
* 部屋タイプを一覧を取得する
|
|
2333
|
+
* @param {number} page 0
|
|
2334
|
+
* @param {number} itemsPerPage 20
|
|
2335
|
+
*/
|
|
2336
|
+
const managerRoomTypeList = ({ page, itemsPerPage, }) => {
|
|
2337
|
+
const __root = (0, exports.root)();
|
|
2338
|
+
const __queries = Object.entries({ page, itemsPerPage })
|
|
2339
|
+
.filter(([_, value]) => {
|
|
2340
|
+
return value !== undefined;
|
|
2341
|
+
})
|
|
2342
|
+
.map(([key, value]) => {
|
|
2343
|
+
return `${key}=${value}`;
|
|
2344
|
+
})
|
|
2345
|
+
.join("&");
|
|
2346
|
+
const __path = `${__root}/${`manager/room_types`}`;
|
|
2347
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
2348
|
+
};
|
|
2349
|
+
exports.managerRoomTypeList = managerRoomTypeList;
|
|
2350
|
+
exports.managerRoomTypeList.method = "GET";
|
|
2351
|
+
/**
|
|
2352
|
+
* 部屋タイプを部分更新する
|
|
2353
|
+
*
|
|
2354
|
+
*/
|
|
2355
|
+
const managerRoomTypePatch = ({ id }) => {
|
|
2356
|
+
const __root = (0, exports.root)();
|
|
2357
|
+
const __queries = Object.entries({})
|
|
2358
|
+
.filter(([_, value]) => {
|
|
2359
|
+
return value !== undefined;
|
|
2360
|
+
})
|
|
2361
|
+
.map(([key, value]) => {
|
|
2362
|
+
return `${key}=${value}`;
|
|
2363
|
+
})
|
|
2364
|
+
.join("&");
|
|
2365
|
+
const __path = `${__root}/${`manager/room_types/${id}`}`;
|
|
2366
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
2367
|
+
};
|
|
2368
|
+
exports.managerRoomTypePatch = managerRoomTypePatch;
|
|
2369
|
+
exports.managerRoomTypePatch.method = "PATCH";
|
|
2370
|
+
/**
|
|
2371
|
+
* 部屋タイプを取得する
|
|
2372
|
+
*
|
|
2373
|
+
*/
|
|
2374
|
+
const managerRoomTypeGet = ({ id }) => {
|
|
2375
|
+
const __root = (0, exports.root)();
|
|
2376
|
+
const __queries = Object.entries({})
|
|
2377
|
+
.filter(([_, value]) => {
|
|
2378
|
+
return value !== undefined;
|
|
2379
|
+
})
|
|
2380
|
+
.map(([key, value]) => {
|
|
2381
|
+
return `${key}=${value}`;
|
|
2382
|
+
})
|
|
2383
|
+
.join("&");
|
|
2384
|
+
const __path = `${__root}/${`manager/room_types/${id}`}`;
|
|
2385
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
2386
|
+
};
|
|
2387
|
+
exports.managerRoomTypeGet = managerRoomTypeGet;
|
|
2388
|
+
exports.managerRoomTypeGet.method = "GET";
|
|
2389
|
+
/**
|
|
2390
|
+
* 部屋タイプの代表の部屋を選ぶ
|
|
2391
|
+
*
|
|
2392
|
+
*/
|
|
2393
|
+
const managerRoomTypeSelectRepresentListing = ({ id, }) => {
|
|
2394
|
+
const __root = (0, exports.root)();
|
|
2395
|
+
const __queries = Object.entries({})
|
|
2396
|
+
.filter(([_, value]) => {
|
|
2397
|
+
return value !== undefined;
|
|
2398
|
+
})
|
|
2399
|
+
.map(([key, value]) => {
|
|
2400
|
+
return `${key}=${value}`;
|
|
2401
|
+
})
|
|
2402
|
+
.join("&");
|
|
2403
|
+
const __path = `${__root}/${`manager/room_types/${id}/select_represent_listing`}`;
|
|
2404
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
2405
|
+
};
|
|
2406
|
+
exports.managerRoomTypeSelectRepresentListing = managerRoomTypeSelectRepresentListing;
|
|
2407
|
+
exports.managerRoomTypeSelectRepresentListing.method = "POST";
|
|
2408
|
+
/**
|
|
2409
|
+
* 部屋タイプに部屋を連携する
|
|
2410
|
+
*
|
|
2411
|
+
*/
|
|
2412
|
+
const managerRoomTypeAssociateListing = ({ id }) => {
|
|
2413
|
+
const __root = (0, exports.root)();
|
|
2414
|
+
const __queries = Object.entries({})
|
|
2415
|
+
.filter(([_, value]) => {
|
|
2416
|
+
return value !== undefined;
|
|
2417
|
+
})
|
|
2418
|
+
.map(([key, value]) => {
|
|
2419
|
+
return `${key}=${value}`;
|
|
2420
|
+
})
|
|
2421
|
+
.join("&");
|
|
2422
|
+
const __path = `${__root}/${`manager/room_types/${id}/associate_listings`}`;
|
|
2423
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
2424
|
+
};
|
|
2425
|
+
exports.managerRoomTypeAssociateListing = managerRoomTypeAssociateListing;
|
|
2426
|
+
exports.managerRoomTypeAssociateListing.method = "POST";
|
|
2427
|
+
/**
|
|
2428
|
+
* 部屋タイプから部屋を解除する
|
|
2429
|
+
*
|
|
2430
|
+
*/
|
|
2431
|
+
const managerRoomTypeDetachListings = ({ id }) => {
|
|
2432
|
+
const __root = (0, exports.root)();
|
|
2433
|
+
const __queries = Object.entries({})
|
|
2434
|
+
.filter(([_, value]) => {
|
|
2435
|
+
return value !== undefined;
|
|
2436
|
+
})
|
|
2437
|
+
.map(([key, value]) => {
|
|
2438
|
+
return `${key}=${value}`;
|
|
2439
|
+
})
|
|
2440
|
+
.join("&");
|
|
2441
|
+
const __path = `${__root}/${`manager/room_types/${id}/detach_listings`}`;
|
|
2442
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
2443
|
+
};
|
|
2444
|
+
exports.managerRoomTypeDetachListings = managerRoomTypeDetachListings;
|
|
2445
|
+
exports.managerRoomTypeDetachListings.method = "POST";
|
|
2446
|
+
/**
|
|
2447
|
+
* 部屋タイプの翻訳データを更新する
|
|
2448
|
+
*
|
|
2449
|
+
*/
|
|
2450
|
+
const managerRoomTypeUpdateLocalizedData = ({ id }) => {
|
|
2451
|
+
const __root = (0, exports.root)();
|
|
2452
|
+
const __queries = Object.entries({})
|
|
2453
|
+
.filter(([_, value]) => {
|
|
2454
|
+
return value !== undefined;
|
|
2455
|
+
})
|
|
2456
|
+
.map(([key, value]) => {
|
|
2457
|
+
return `${key}=${value}`;
|
|
2458
|
+
})
|
|
2459
|
+
.join("&");
|
|
2460
|
+
const __path = `${__root}/${`manager/room_types/${id}/localized_data`}`;
|
|
2461
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
2462
|
+
};
|
|
2463
|
+
exports.managerRoomTypeUpdateLocalizedData = managerRoomTypeUpdateLocalizedData;
|
|
2464
|
+
exports.managerRoomTypeUpdateLocalizedData.method = "POST";
|
|
2465
|
+
/**
|
|
2466
|
+
* 部屋タイプの翻訳データを削除する
|
|
2467
|
+
*
|
|
2468
|
+
*/
|
|
2469
|
+
const managerRoomTypeDeleteLocalizedData = ({ id, locale, }) => {
|
|
2470
|
+
const __root = (0, exports.root)();
|
|
2471
|
+
const __queries = Object.entries({})
|
|
2472
|
+
.filter(([_, value]) => {
|
|
2473
|
+
return value !== undefined;
|
|
2474
|
+
})
|
|
2475
|
+
.map(([key, value]) => {
|
|
2476
|
+
return `${key}=${value}`;
|
|
2477
|
+
})
|
|
2478
|
+
.join("&");
|
|
2479
|
+
const __path = `${__root}/${`manager/room_types/${id}/localized_data/${locale}`}`;
|
|
2480
|
+
return __queries ? `${__path}?${__queries}` : __path;
|
|
2481
|
+
};
|
|
2482
|
+
exports.managerRoomTypeDeleteLocalizedData = managerRoomTypeDeleteLocalizedData;
|
|
2483
|
+
exports.managerRoomTypeDeleteLocalizedData.method = "DELETE";
|
|
2484
|
+
exports.sumyca_managerV3 = {
|
|
2485
|
+
healthCheck: exports.healthCheck,
|
|
2486
|
+
notificationsGuestInformationSubmittedSubscribeByInquiryId: exports.notificationsGuestInformationSubmittedSubscribeByInquiryId,
|
|
2487
|
+
notificationsGuestInformationSubmittedUnsubscribeByInquiryId: exports.notificationsGuestInformationSubmittedUnsubscribeByInquiryId,
|
|
2488
|
+
notificationsGuestInformationSubmittedSubscribe: exports.notificationsGuestInformationSubmittedSubscribe,
|
|
2489
|
+
notificationsGuestInformationSubmittedUnsubscribe: exports.notificationsGuestInformationSubmittedUnsubscribe,
|
|
2490
|
+
notificationsPaymentCompletedSubscribeByPaymentOrderId: exports.notificationsPaymentCompletedSubscribeByPaymentOrderId,
|
|
2491
|
+
notificationsPaymentCompletedUnsubscribeByPaymentOrderId: exports.notificationsPaymentCompletedUnsubscribeByPaymentOrderId,
|
|
2492
|
+
notificationsPaymentCompletedSubscribe: exports.notificationsPaymentCompletedSubscribe,
|
|
2493
|
+
notificationsPaymentCompletedUnsubscribe: exports.notificationsPaymentCompletedUnsubscribe,
|
|
2494
|
+
notificationsPaymentFailedSubscribeByPaymentOrderId: exports.notificationsPaymentFailedSubscribeByPaymentOrderId,
|
|
2495
|
+
notificationsPaymentFailedUnsubscribeByPaymentOrderId: exports.notificationsPaymentFailedUnsubscribeByPaymentOrderId,
|
|
2496
|
+
notificationsPaymentFailedSubscribe: exports.notificationsPaymentFailedSubscribe,
|
|
2497
|
+
notificationsPaymentFailedUnsubscribe: exports.notificationsPaymentFailedUnsubscribe,
|
|
2498
|
+
managerListingCreateNotReady: exports.managerListingCreateNotReady,
|
|
2499
|
+
managerListingList: exports.managerListingList,
|
|
2500
|
+
managerListingUpdate: exports.managerListingUpdate,
|
|
2501
|
+
managerListingPatch: exports.managerListingPatch,
|
|
2502
|
+
managerListingGet: exports.managerListingGet,
|
|
2503
|
+
managerListingRequestForRegistration: exports.managerListingRequestForRegistration,
|
|
2504
|
+
managerListingWithdrawRegistrationRequest: exports.managerListingWithdrawRegistrationRequest,
|
|
2505
|
+
managerListingOpen: exports.managerListingOpen,
|
|
2506
|
+
managerListingClose: exports.managerListingClose,
|
|
2507
|
+
managerListingCreateFromM2mCore: exports.managerListingCreateFromM2mCore,
|
|
2508
|
+
managerListingM2mCoreListingRelations: exports.managerListingM2mCoreListingRelations,
|
|
2509
|
+
managerListingUpdateImageOrder: exports.managerListingUpdateImageOrder,
|
|
2510
|
+
managerListingUploadMainImage: exports.managerListingUploadMainImage,
|
|
2511
|
+
managerListingUploadLayoutImage: exports.managerListingUploadLayoutImage,
|
|
2512
|
+
managerListingDeleteLayoutImage: exports.managerListingDeleteLayoutImage,
|
|
2513
|
+
managerListingAddImage: exports.managerListingAddImage,
|
|
2514
|
+
managerListingCalendarSyncSettingsGet: exports.managerListingCalendarSyncSettingsGet,
|
|
2515
|
+
managerListingCalendarSyncSettingsPut: exports.managerListingCalendarSyncSettingsPut,
|
|
2516
|
+
mangerListingSearch: exports.mangerListingSearch,
|
|
2517
|
+
managerListingDeleteLocalizedData: exports.managerListingDeleteLocalizedData,
|
|
2518
|
+
managerListingPutKeyword: exports.managerListingPutKeyword,
|
|
2519
|
+
managerListingPutKeywordRemove: exports.managerListingPutKeywordRemove,
|
|
2520
|
+
managerSearchListingsByNameForManage: exports.managerSearchListingsByNameForManage,
|
|
2521
|
+
managerGetContract: exports.managerGetContract,
|
|
2522
|
+
managerUpdateContract: exports.managerUpdateContract,
|
|
2523
|
+
managerPublishContract: exports.managerPublishContract,
|
|
2524
|
+
managerGetAntisocialAnalyzeResult: exports.managerGetAntisocialAnalyzeResult,
|
|
2525
|
+
managerExecuteAntisocialAnalyze: exports.managerExecuteAntisocialAnalyze,
|
|
2526
|
+
managerGetContractToken: exports.managerGetContractToken,
|
|
2527
|
+
managerGuestIdentificationList: exports.managerGuestIdentificationList,
|
|
2528
|
+
managerGuestIdentificationGetImageData: exports.managerGuestIdentificationGetImageData,
|
|
2529
|
+
managerGuestIdentificationUploadImageData: exports.managerGuestIdentificationUploadImageData,
|
|
2530
|
+
managerGuestIdentificationDeleteImageData: exports.managerGuestIdentificationDeleteImageData,
|
|
2531
|
+
managerContractClauseCreate: exports.managerContractClauseCreate,
|
|
2532
|
+
managerContractClauseList: exports.managerContractClauseList,
|
|
2533
|
+
managerContractClauseUpdate: exports.managerContractClauseUpdate,
|
|
2534
|
+
managerContractClauseGet: exports.managerContractClauseGet,
|
|
2535
|
+
adminListingGet: exports.adminListingGet,
|
|
2536
|
+
adminListingAcceptRegistration: exports.adminListingAcceptRegistration,
|
|
2537
|
+
adminListingOpen: exports.adminListingOpen,
|
|
2538
|
+
internalDeleteListing: exports.internalDeleteListing,
|
|
2539
|
+
managerInquiriesCreate: exports.managerInquiriesCreate,
|
|
2540
|
+
managerInquiriesList: exports.managerInquiriesList,
|
|
2541
|
+
managerInquiryUpdate: exports.managerInquiryUpdate,
|
|
2542
|
+
managerInquiryAvailabilityStatusUpdate: exports.managerInquiryAvailabilityStatusUpdate,
|
|
2543
|
+
managerSyncOfContractsAndPaymentsStatusUpdate: exports.managerSyncOfContractsAndPaymentsStatusUpdate,
|
|
2544
|
+
managerInquiryUpdateListingRelation: exports.managerInquiryUpdateListingRelation,
|
|
2545
|
+
managerInquiryGet: exports.managerInquiryGet,
|
|
2546
|
+
managerInquiriesIssueGuestInformationForm: exports.managerInquiriesIssueGuestInformationForm,
|
|
2547
|
+
managerInquiriesReissueContractPassword: exports.managerInquiriesReissueContractPassword,
|
|
2548
|
+
managerInquiriesReissueContractToken: exports.managerInquiriesReissueContractToken,
|
|
2549
|
+
managerInquriesGetAssociatedGuestInformation: exports.managerInquriesGetAssociatedGuestInformation,
|
|
2550
|
+
managerInquiriesScreenGuest: exports.managerInquiriesScreenGuest,
|
|
2551
|
+
managerInquiriesStartScreeningGuest: exports.managerInquiriesStartScreeningGuest,
|
|
2552
|
+
managerInquiriesGetInquiryToken: exports.managerInquiriesGetInquiryToken,
|
|
2553
|
+
managerInquiriesPublishInquiryToken: exports.managerInquiriesPublishInquiryToken,
|
|
2554
|
+
managerInquiriesGetPaymentOrderItemsForContract: exports.managerInquiriesGetPaymentOrderItemsForContract,
|
|
2555
|
+
managerInquiriesCreatePaymentOrder: exports.managerInquiriesCreatePaymentOrder,
|
|
2556
|
+
managerInquiriesListPaymentOrders: exports.managerInquiriesListPaymentOrders,
|
|
2557
|
+
managerInquiriesGetReservation: exports.managerInquiriesGetReservation,
|
|
2558
|
+
managerInquiriesGetAssociationGuest: exports.managerInquiriesGetAssociationGuest,
|
|
2559
|
+
adminCompanyCreate: exports.adminCompanyCreate,
|
|
2560
|
+
informationGetCityNamesInPrefecture: exports.informationGetCityNamesInPrefecture,
|
|
2561
|
+
informationGetLocationForCompany: exports.informationGetLocationForCompany,
|
|
2562
|
+
informationGetKeywordsByCategories: exports.informationGetKeywordsByCategories,
|
|
2563
|
+
informationGetLineNamesByPrefectureNameForCompany: exports.informationGetLineNamesByPrefectureNameForCompany,
|
|
2564
|
+
informationGetStationNamesByLineNameForCompany: exports.informationGetStationNamesByLineNameForCompany,
|
|
2565
|
+
managerOwnerList: exports.managerOwnerList,
|
|
2566
|
+
managerOwnerGet: exports.managerOwnerGet,
|
|
2567
|
+
managerOwnerCreate: exports.managerOwnerCreate,
|
|
2568
|
+
managerOwnerUpdate: exports.managerOwnerUpdate,
|
|
2569
|
+
managerOwnerDelete: exports.managerOwnerDelete,
|
|
2570
|
+
managerCalendarBlockCreate: exports.managerCalendarBlockCreate,
|
|
2571
|
+
managerCalendarBlockGet: exports.managerCalendarBlockGet,
|
|
2572
|
+
managerCalendarBlockUpdate: exports.managerCalendarBlockUpdate,
|
|
2573
|
+
managerCalendarBlockDelete: exports.managerCalendarBlockDelete,
|
|
2574
|
+
managerCalendarBlockFindByListingId: exports.managerCalendarBlockFindByListingId,
|
|
2575
|
+
managerCalendarAvailableListingsSearch: exports.managerCalendarAvailableListingsSearch,
|
|
2576
|
+
managerCalendarImportCalendarRent: exports.managerCalendarImportCalendarRent,
|
|
2577
|
+
managerCalendarExportCalendarRent: exports.managerCalendarExportCalendarRent,
|
|
2578
|
+
managerICalParse: exports.managerICalParse,
|
|
2579
|
+
managerPaymentGetPaymentOrder: exports.managerPaymentGetPaymentOrder,
|
|
2580
|
+
managerPaymentSyncUnregisteredVeritransPaymentTransaction: exports.managerPaymentSyncUnregisteredVeritransPaymentTransaction,
|
|
2581
|
+
managerPaymentCreatePaymentOrderItem: exports.managerPaymentCreatePaymentOrderItem,
|
|
2582
|
+
managerPaymentUpdatePaymentOrderItem: exports.managerPaymentUpdatePaymentOrderItem,
|
|
2583
|
+
managerPaymentDeletePaymentOrderItem: exports.managerPaymentDeletePaymentOrderItem,
|
|
2584
|
+
managerPaymentResolvePaymentOrderUnknownStatus: exports.managerPaymentResolvePaymentOrderUnknownStatus,
|
|
2585
|
+
exportVeritransPaymentTransactions: exports.exportVeritransPaymentTransactions,
|
|
2586
|
+
managerReservationCancel: exports.managerReservationCancel,
|
|
2587
|
+
managerReservationChangeStaySpan: exports.managerReservationChangeStaySpan,
|
|
2588
|
+
managerReservationPatch: exports.managerReservationPatch,
|
|
2589
|
+
managerReservationSearchByReservationCode: exports.managerReservationSearchByReservationCode,
|
|
2590
|
+
managerReservationsList: exports.managerReservationsList,
|
|
2591
|
+
managerVeritransAccountCreate: exports.managerVeritransAccountCreate,
|
|
2592
|
+
managerListingVeritransAccountRelationRegister: exports.managerListingVeritransAccountRelationRegister,
|
|
2593
|
+
updateAllBlankPaymentOrderItemId: exports.updateAllBlankPaymentOrderItemId,
|
|
2594
|
+
managerCouponCreate: exports.managerCouponCreate,
|
|
2595
|
+
managerCouponList: exports.managerCouponList,
|
|
2596
|
+
managerCouponPath: exports.managerCouponPath,
|
|
2597
|
+
managerCouponGet: exports.managerCouponGet,
|
|
2598
|
+
managerCouponListingRelationsGet: exports.managerCouponListingRelationsGet,
|
|
2599
|
+
managerCouponListingRelationsBatchCreate: exports.managerCouponListingRelationsBatchCreate,
|
|
2600
|
+
managerCouponListingRelationsDelete: exports.managerCouponListingRelationsDelete,
|
|
2601
|
+
managerRoomTypeCreate: exports.managerRoomTypeCreate,
|
|
2602
|
+
managerRoomTypeList: exports.managerRoomTypeList,
|
|
2603
|
+
managerRoomTypePatch: exports.managerRoomTypePatch,
|
|
2604
|
+
managerRoomTypeGet: exports.managerRoomTypeGet,
|
|
2605
|
+
managerRoomTypeSelectRepresentListing: exports.managerRoomTypeSelectRepresentListing,
|
|
2606
|
+
managerRoomTypeAssociateListing: exports.managerRoomTypeAssociateListing,
|
|
2607
|
+
managerRoomTypeDetachListings: exports.managerRoomTypeDetachListings,
|
|
2608
|
+
managerRoomTypeUpdateLocalizedData: exports.managerRoomTypeUpdateLocalizedData,
|
|
2609
|
+
managerRoomTypeDeleteLocalizedData: exports.managerRoomTypeDeleteLocalizedData,
|
|
2610
|
+
};
|