gap-nodejs-sdk 1.0.244 → 1.0.245
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/dist/api/go_check_in_api/1.0.0/models/notification.d.ts +1 -0
- package/dist/api/go_check_in_api/1.0.0/models/notification.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/models/notification.js +2 -1
- package/dist/api/go_check_in_api/1.0.0/types/request/notification.d.ts +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/notification.d.ts +7 -0
- package/dist/api/go_check_in_api/1.0.0/types/response/notification.d.ts.map +1 -1
- package/dist/gap-sdk.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification.d.ts","sourceRoot":"","sources":["../../../../../src/api/go_check_in_api/1.0.0/models/notification.ts"],"names":[],"mappings":"AAAA,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG
|
|
1
|
+
{"version":3,"file":"notification.d.ts","sourceRoot":"","sources":["../../../../../src/api/go_check_in_api/1.0.0/models/notification.ts"],"names":[],"mappings":"AAAA,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG;;;;;;;;;;;EAa/C;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,GAAG;;;;;;;;;;;;;;;;;EAmB1C;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,GAAG;;EAIxC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export function NotifyAppointmentModel(data) {
|
|
2
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
2
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
3
3
|
return {
|
|
4
4
|
id: (_a = data === null || data === void 0 ? void 0 : data.id) !== null && _a !== void 0 ? _a : null,
|
|
5
5
|
appointment_id: (_b = data === null || data === void 0 ? void 0 : data.appointment_id) !== null && _b !== void 0 ? _b : null,
|
|
@@ -10,6 +10,7 @@ export function NotifyAppointmentModel(data) {
|
|
|
10
10
|
staff_name: (_g = data === null || data === void 0 ? void 0 : data.staff_name) !== null && _g !== void 0 ? _g : null,
|
|
11
11
|
data: (_h = data === null || data === void 0 ? void 0 : data.data) !== null && _h !== void 0 ? _h : null,
|
|
12
12
|
is_read: (_j = data === null || data === void 0 ? void 0 : data.is_read) !== null && _j !== void 0 ? _j : null,
|
|
13
|
+
extra_data: (_k = data === null || data === void 0 ? void 0 : data.extra_data) !== null && _k !== void 0 ? _k : null,
|
|
13
14
|
};
|
|
14
15
|
}
|
|
15
16
|
export function NotifySystemModel(data) {
|
|
@@ -9,7 +9,13 @@ export type GetNotifyAppointmentResponse = Nullable<{
|
|
|
9
9
|
staff_name: string;
|
|
10
10
|
data: any;
|
|
11
11
|
is_read: number;
|
|
12
|
+
extra_data: ExtraData;
|
|
12
13
|
}[]>;
|
|
14
|
+
type ExtraData = Nullable<{
|
|
15
|
+
highlight: number;
|
|
16
|
+
request: number;
|
|
17
|
+
no_show: number;
|
|
18
|
+
}>;
|
|
13
19
|
export type GetNotifySystemResponse = Nullable<{
|
|
14
20
|
id: number;
|
|
15
21
|
user_id: any;
|
|
@@ -31,4 +37,5 @@ export type GetNotifySystemResponse = Nullable<{
|
|
|
31
37
|
export type MaskAsReadResponse = Nullable<{
|
|
32
38
|
id: string;
|
|
33
39
|
}>;
|
|
40
|
+
export {};
|
|
34
41
|
//# sourceMappingURL=notification.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/notification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,MAAM,MAAM,4BAA4B,GAAG,QAAQ,CAAC;IAChD,EAAE,EAAE,MAAM,CAAA;IACV,cAAc,EAAE,MAAM,CAAA;IACtB,WAAW,EAAE,GAAG,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,IAAI,EAAE,GAAG,CAAA;IACT,OAAO,EAAE,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"notification.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/notification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,MAAM,MAAM,4BAA4B,GAAG,QAAQ,CAAC;IAChD,EAAE,EAAE,MAAM,CAAA;IACV,cAAc,EAAE,MAAM,CAAA;IACtB,WAAW,EAAE,GAAG,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,IAAI,EAAE,GAAG,CAAA;IACT,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,SAAS,CAAC;CACzB,EAAE,CAAC,CAAA;AAEJ,KAAK,SAAS,GAAG,QAAQ,CAAC;IACtB,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,CAAA;CAClB,CAAC,CAAA;AAEF,MAAM,MAAM,uBAAuB,GAAG,QAAQ,CAAC;IAC3C,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,EAAE,GAAG,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;IACnB,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,GAAG,CAAA;IACZ,UAAU,EAAE,GAAG,CAAA;IACf,QAAQ,EAAE,GAAG,CAAA;IACb,UAAU,EAAE,GAAG,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,GAAG,CAAA;IACf,MAAM,EAAE,GAAG,CAAA;CACd,EAAE,CAAC,CAAA;AAEJ,MAAM,MAAM,kBAAkB,GAAG,QAAQ,CAAC;IACtC,EAAE,EAAE,MAAM,CAAA;CACb,CAAC,CAAA"}
|