hububb-saas-shared 1.2.48 → 1.2.50

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.
Files changed (92) hide show
  1. package/dist/schemas/api-key/index.d.ts +81 -0
  2. package/dist/schemas/api-key/index.js +33 -0
  3. package/dist/schemas/availability-settings/index.d.ts +2 -2
  4. package/dist/schemas/channex/booking.d.ts +2 -2
  5. package/dist/schemas/channex/thread.d.ts +2 -2
  6. package/dist/schemas/external-sync-request/index.d.ts +32 -0
  7. package/dist/schemas/external-sync-request/index.js +15 -0
  8. package/dist/schemas/guest-verification/index.d.ts +56 -0
  9. package/dist/schemas/guest-verification/index.js +24 -0
  10. package/dist/schemas/index.d.ts +8 -0
  11. package/dist/schemas/index.js +8 -0
  12. package/dist/schemas/invoice/index.d.ts +2 -2
  13. package/dist/schemas/klevio/index.d.ts +2 -2
  14. package/dist/schemas/listing-expectation/index.d.ts +17 -0
  15. package/dist/schemas/listing-expectation/index.js +11 -0
  16. package/dist/schemas/notification/index.d.ts +73 -0
  17. package/dist/schemas/notification/index.js +30 -0
  18. package/dist/schemas/property/index.d.ts +14 -8
  19. package/dist/schemas/property/index.js +2 -0
  20. package/dist/schemas/property-connection-request/index.d.ts +2 -2
  21. package/dist/schemas/property-guide/index.d.ts +32 -0
  22. package/dist/schemas/property-guide/index.js +20 -0
  23. package/dist/schemas/property-room/index.d.ts +2 -2
  24. package/dist/schemas/property-safety-details/index.d.ts +2 -2
  25. package/dist/schemas/push-token/index.d.ts +35 -0
  26. package/dist/schemas/push-token/index.js +17 -0
  27. package/dist/schemas/reservation/index.d.ts +3 -0
  28. package/dist/schemas/reservation/index.js +1 -0
  29. package/dist/schemas/reservation-access-log/index.d.ts +53 -0
  30. package/dist/schemas/reservation-access-log/index.js +22 -0
  31. package/dist/schemas/reservation-guest-invite/index.d.ts +35 -0
  32. package/dist/schemas/reservation-guest-invite/index.js +17 -0
  33. package/dist/schemas/seam/index.d.ts +4 -4
  34. package/dist/schemas/service-availability/index.d.ts +25 -0
  35. package/dist/schemas/service-availability/index.js +13 -0
  36. package/dist/schemas/service-provider/index.d.ts +2 -2
  37. package/dist/schemas/service-worker-payout/index.d.ts +88 -0
  38. package/dist/schemas/service-worker-payout/index.js +36 -0
  39. package/dist/schemas/task/index.d.ts +34 -4
  40. package/dist/schemas/task/index.js +11 -1
  41. package/dist/schemas/task-checklist-item/index.d.ts +2 -2
  42. package/dist/schemas/task-checklist-space/index.d.ts +2 -2
  43. package/dist/schemas/task-expense-fact/index.d.ts +37 -0
  44. package/dist/schemas/task-expense-fact/index.js +18 -0
  45. package/dist/schemas/task-photography-space/index.d.ts +2 -2
  46. package/dist/schemas/task-thread/index.d.ts +6 -0
  47. package/dist/schemas/thread/index.d.ts +81 -6
  48. package/dist/schemas/thread/index.js +2 -1
  49. package/dist/schemas/user/index.d.ts +9 -0
  50. package/dist/schemas/user/index.js +3 -0
  51. package/dist/schemas/webhook/index.d.ts +104 -0
  52. package/dist/schemas/webhook/index.js +41 -0
  53. package/dist/types/api-key/index.d.ts +10 -0
  54. package/dist/types/booking-settings/index.d.ts +2 -0
  55. package/dist/types/enums/index.d.ts +228 -0
  56. package/dist/types/enums/index.js +263 -1
  57. package/dist/types/external-sync-request/index.d.ts +4 -0
  58. package/dist/types/external-sync-request/index.js +2 -0
  59. package/dist/types/guest-verification/index.d.ts +3 -18
  60. package/dist/types/index.d.ts +7 -0
  61. package/dist/types/index.js +7 -0
  62. package/dist/types/listing-expectation/index.d.ts +6 -0
  63. package/dist/types/listing-expectation/index.js +2 -0
  64. package/dist/types/notification/index.d.ts +15 -0
  65. package/dist/types/notification/index.js +2 -0
  66. package/dist/types/property/index.d.ts +4 -0
  67. package/dist/types/property-guide/index.d.ts +6 -0
  68. package/dist/types/property-guide/index.js +2 -0
  69. package/dist/types/push-token/index.d.ts +6 -0
  70. package/dist/types/push-token/index.js +2 -0
  71. package/dist/types/reservation/index.d.ts +8 -0
  72. package/dist/types/reservation-access-log/index.d.ts +64 -0
  73. package/dist/types/reservation-access-log/index.js +2 -0
  74. package/dist/types/reservation-guest-invite/index.d.ts +9 -0
  75. package/dist/types/reservation-guest-invite/index.js +2 -0
  76. package/dist/types/service-availability/index.d.ts +6 -0
  77. package/dist/types/service-availability/index.js +2 -0
  78. package/dist/types/service-worker-payout/index.d.ts +17 -0
  79. package/dist/types/service-worker-payout/index.js +2 -0
  80. package/dist/types/task/index.d.ts +7 -0
  81. package/dist/types/task-expense-fact/index.d.ts +12 -0
  82. package/dist/types/task-expense-fact/index.js +2 -0
  83. package/dist/types/user/index.d.ts +10 -0
  84. package/dist/types/webhook/index.d.ts +15 -0
  85. package/dist/types/webhook/index.js +2 -0
  86. package/package.json +1 -1
  87. package/dist/schemas/enums/index.d.ts +0 -45
  88. package/dist/schemas/enums/index.js +0 -56
  89. package/dist/schemas/service-property/index.d.ts +0 -19
  90. package/dist/schemas/service-property/index.js +0 -11
  91. package/dist/types/service-property/index.d.ts +0 -8
  92. /package/dist/types/{service-property → api-key}/index.js +0 -0
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "commonjs",
3
3
  "name": "hububb-saas-shared",
4
- "version": "1.2.48",
4
+ "version": "1.2.50",
5
5
  "description": "This is a shared package for the hububb saas project",
6
6
  "types": "./dist/index.d.ts",
7
7
  "main": "./dist/index.js",
@@ -1,45 +0,0 @@
1
- export declare enum ServiceType {
2
- INTEGRATION = "INTEGRATION",
3
- ON_DEMAND = "ON_DEMAND",
4
- RECURRING = "RECURRING"
5
- }
6
- export declare enum TaskStatus {
7
- PENDING = "PENDING",
8
- CONFIRMED = "CONFIRMED",
9
- COMPLETED = "COMPLETED",
10
- CANCELLED = "CANCELLED"
11
- }
12
- export declare enum TaskPriority {
13
- LOW = "LOW",
14
- MEDIUM = "MEDIUM",
15
- HIGH = "HIGH"
16
- }
17
- export declare enum InvoiceType {
18
- SUBSCRIPTION = "SUBSCRIPTION",
19
- PURCHASE = "PURCHASE"
20
- }
21
- export declare enum InvoiceStatus {
22
- PENDING = "PENDING",
23
- PAID = "PAID",
24
- CANCELLED = "CANCELLED",
25
- FAILED = "FAILED"
26
- }
27
- export declare enum PriceType {
28
- PRORATED = "PRORATED",
29
- FULL = "FULL"
30
- }
31
- export declare enum PurchaseStatus {
32
- ACTIVE = "ACTIVE",
33
- CANCELLED = "CANCELLED",
34
- FAILED = "FAILED"
35
- }
36
- export declare enum SubscriptionStatus {
37
- INCOMPLETE = "INCOMPLETE",
38
- INCOMPLETE_EXPIRED = "INCOMPLETE_EXPIRED",
39
- TRIALING = "TRIALING",
40
- ACTIVE = "ACTIVE",
41
- PAST_DUE = "PAST_DUE",
42
- CANCELED = "CANCELED",
43
- UNPAID = "UNPAID",
44
- PAUSED = "PAUSED"
45
- }
@@ -1,56 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SubscriptionStatus = exports.PurchaseStatus = exports.PriceType = exports.InvoiceStatus = exports.InvoiceType = exports.TaskPriority = exports.TaskStatus = exports.ServiceType = void 0;
4
- var ServiceType;
5
- (function (ServiceType) {
6
- ServiceType["INTEGRATION"] = "INTEGRATION";
7
- ServiceType["ON_DEMAND"] = "ON_DEMAND";
8
- ServiceType["RECURRING"] = "RECURRING";
9
- })(ServiceType || (exports.ServiceType = ServiceType = {}));
10
- var TaskStatus;
11
- (function (TaskStatus) {
12
- TaskStatus["PENDING"] = "PENDING";
13
- TaskStatus["CONFIRMED"] = "CONFIRMED";
14
- TaskStatus["COMPLETED"] = "COMPLETED";
15
- TaskStatus["CANCELLED"] = "CANCELLED";
16
- })(TaskStatus || (exports.TaskStatus = TaskStatus = {}));
17
- var TaskPriority;
18
- (function (TaskPriority) {
19
- TaskPriority["LOW"] = "LOW";
20
- TaskPriority["MEDIUM"] = "MEDIUM";
21
- TaskPriority["HIGH"] = "HIGH";
22
- })(TaskPriority || (exports.TaskPriority = TaskPriority = {}));
23
- var InvoiceType;
24
- (function (InvoiceType) {
25
- InvoiceType["SUBSCRIPTION"] = "SUBSCRIPTION";
26
- InvoiceType["PURCHASE"] = "PURCHASE";
27
- })(InvoiceType || (exports.InvoiceType = InvoiceType = {}));
28
- var InvoiceStatus;
29
- (function (InvoiceStatus) {
30
- InvoiceStatus["PENDING"] = "PENDING";
31
- InvoiceStatus["PAID"] = "PAID";
32
- InvoiceStatus["CANCELLED"] = "CANCELLED";
33
- InvoiceStatus["FAILED"] = "FAILED";
34
- })(InvoiceStatus || (exports.InvoiceStatus = InvoiceStatus = {}));
35
- var PriceType;
36
- (function (PriceType) {
37
- PriceType["PRORATED"] = "PRORATED";
38
- PriceType["FULL"] = "FULL";
39
- })(PriceType || (exports.PriceType = PriceType = {}));
40
- var PurchaseStatus;
41
- (function (PurchaseStatus) {
42
- PurchaseStatus["ACTIVE"] = "ACTIVE";
43
- PurchaseStatus["CANCELLED"] = "CANCELLED";
44
- PurchaseStatus["FAILED"] = "FAILED";
45
- })(PurchaseStatus || (exports.PurchaseStatus = PurchaseStatus = {}));
46
- var SubscriptionStatus;
47
- (function (SubscriptionStatus) {
48
- SubscriptionStatus["INCOMPLETE"] = "INCOMPLETE";
49
- SubscriptionStatus["INCOMPLETE_EXPIRED"] = "INCOMPLETE_EXPIRED";
50
- SubscriptionStatus["TRIALING"] = "TRIALING";
51
- SubscriptionStatus["ACTIVE"] = "ACTIVE";
52
- SubscriptionStatus["PAST_DUE"] = "PAST_DUE";
53
- SubscriptionStatus["CANCELED"] = "CANCELED";
54
- SubscriptionStatus["UNPAID"] = "UNPAID";
55
- SubscriptionStatus["PAUSED"] = "PAUSED";
56
- })(SubscriptionStatus || (exports.SubscriptionStatus = SubscriptionStatus = {}));
@@ -1,19 +0,0 @@
1
- export declare const servicePropertySchema: import("zod").ZodObject<{
2
- propertyId: import("zod").ZodNumber;
3
- serviceId: import("zod").ZodNumber;
4
- status: import("zod").ZodString;
5
- createdAt: import("zod").ZodDate;
6
- updatedAt: import("zod").ZodDate;
7
- }, "strip", import("zod").ZodTypeAny, {
8
- status: string;
9
- createdAt: Date;
10
- updatedAt: Date;
11
- serviceId: number;
12
- propertyId: number;
13
- }, {
14
- status: string;
15
- createdAt: Date;
16
- updatedAt: Date;
17
- serviceId: number;
18
- propertyId: number;
19
- }>;
@@ -1,11 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.servicePropertySchema = void 0;
4
- const zod_1 = require("zod");
5
- exports.servicePropertySchema = (0, zod_1.object)({
6
- propertyId: (0, zod_1.number)().int(),
7
- serviceId: (0, zod_1.number)().int(),
8
- status: (0, zod_1.string)(),
9
- createdAt: (0, zod_1.date)(),
10
- updatedAt: (0, zod_1.date)(),
11
- });
@@ -1,8 +0,0 @@
1
- import { infer } from "zod";
2
- import { servicePropertySchema } from "../../schemas/service-property";
3
- import { Property } from "../property";
4
- import { Service } from "../service";
5
- export interface ServiceProperty extends infer<typeof servicePropertySchema> {
6
- property?: Property;
7
- service?: Service;
8
- }