gap-nodejs-sdk 1.0.291 → 1.0.292
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appointment.d.ts","sourceRoot":"","sources":["../../../../../src/api/appointment_api/1.0.0/models/appointment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AA+O9C,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyBrD;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,iCAAiC,CAmCpG;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG;;;;;;;;;;;;EAcjD;AA6BD,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,4BAA4B,CA4BvF;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,wBAAwB,
|
|
1
|
+
{"version":3,"file":"appointment.d.ts","sourceRoot":"","sources":["../../../../../src/api/appointment_api/1.0.0/models/appointment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AA+O9C,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyBrD;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,iCAAiC,CAmCpG;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG;;;;;;;;;;;;EAcjD;AA6BD,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,4BAA4B,CA4BvF;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,wBAAwB,CA4D/E;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,8BAA8B,CAkBvF;AAqFD,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,oCAAoC,CAWxG"}
|
|
@@ -371,7 +371,7 @@ export function AppointmentDetailModel(data) {
|
|
|
371
371
|
};
|
|
372
372
|
}
|
|
373
373
|
export function DepositDetailModel(data) {
|
|
374
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28
|
|
374
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28;
|
|
375
375
|
return {
|
|
376
376
|
id: (_a = data === null || data === void 0 ? void 0 : data.id) !== null && _a !== void 0 ? _a : null,
|
|
377
377
|
external_deposit_id: (_b = data === null || data === void 0 ? void 0 : data.external_deposit_id) !== null && _b !== void 0 ? _b : null,
|
|
@@ -411,23 +411,26 @@ export function DepositDetailModel(data) {
|
|
|
411
411
|
checkin_count: (_25 = (_24 = data === null || data === void 0 ? void 0 : data.customer) === null || _24 === void 0 ? void 0 : _24.checkin_count) !== null && _25 !== void 0 ? _25 : null,
|
|
412
412
|
is_blocked_from_booking: (_27 = (_26 = data === null || data === void 0 ? void 0 : data.customer) === null || _26 === void 0 ? void 0 : _26.is_blocked_from_booking) !== null && _27 !== void 0 ? _27 : null,
|
|
413
413
|
},
|
|
414
|
-
refunds: {
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
414
|
+
refunds: (data.refunds || []).map(item => {
|
|
415
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
416
|
+
return {
|
|
417
|
+
id: (_a = item === null || item === void 0 ? void 0 : item.id) !== null && _a !== void 0 ? _a : null,
|
|
418
|
+
appointment_deposit_id: (_b = item === null || item === void 0 ? void 0 : item.appointment_deposit_id) !== null && _b !== void 0 ? _b : null,
|
|
419
|
+
external_transaction_id: (_c = item === null || item === void 0 ? void 0 : item.external_transaction_id) !== null && _c !== void 0 ? _c : null,
|
|
420
|
+
external_deposit_id: (_d = item === null || item === void 0 ? void 0 : item.external_deposit_id) !== null && _d !== void 0 ? _d : null,
|
|
421
|
+
amount: (_e = item === null || item === void 0 ? void 0 : item.amount) !== null && _e !== void 0 ? _e : null,
|
|
422
|
+
currency: (_f = item === null || item === void 0 ? void 0 : item.currency) !== null && _f !== void 0 ? _f : null,
|
|
423
|
+
customer_email: (_g = item === null || item === void 0 ? void 0 : item.customer_email) !== null && _g !== void 0 ? _g : null,
|
|
424
|
+
customer_name: (_h = item === null || item === void 0 ? void 0 : item.customer_name) !== null && _h !== void 0 ? _h : null,
|
|
425
|
+
customer_phone: (_j = item === null || item === void 0 ? void 0 : item.customer_phone) !== null && _j !== void 0 ? _j : null,
|
|
426
|
+
data: (_k = item === null || item === void 0 ? void 0 : item.data) !== null && _k !== void 0 ? _k : null,
|
|
427
|
+
status: (_l = item === null || item === void 0 ? void 0 : item.status) !== null && _l !== void 0 ? _l : null,
|
|
428
|
+
created_at: (_m = item === null || item === void 0 ? void 0 : item.created_at) !== null && _m !== void 0 ? _m : null,
|
|
429
|
+
updated_at: (_o = item === null || item === void 0 ? void 0 : item.updated_at) !== null && _o !== void 0 ? _o : null,
|
|
430
|
+
reason: (_p = item === null || item === void 0 ? void 0 : item.reason) !== null && _p !== void 0 ? _p : null,
|
|
431
|
+
};
|
|
432
|
+
}),
|
|
433
|
+
service_detail: (_28 = data === null || data === void 0 ? void 0 : data.service_detail) !== null && _28 !== void 0 ? _28 : null,
|
|
431
434
|
};
|
|
432
435
|
}
|
|
433
436
|
export function BusinessTimeOffModel(data) {
|