@juhuu/sdk-ts 1.2.107 → 1.2.108
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/index.d.mts +37 -1
- package/dist/index.d.ts +37 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
@@ -179,7 +179,7 @@ interface Party extends Person {
|
|
179
179
|
}
|
180
180
|
type VeloBrushDeviceDocumentUserManualStep = "prepareBike1" | "prepareBike2" | "chooseCycleType" | "openDoors1" | "extendBikeDrawer1" | "unfoldRamp1" | "placeBike1" | "fixBike1" | "fixBike2" | "retractBikeDrawer1" | "closeDoors1" | "selectWashProgram" | "waitForWashProgram" | "openDoors2" | "extendBikeDrawer2" | "dryBike1" | "dryBike2" | "releaseBike" | "unloadBike" | "retractBikeDrawer2" | "closeDoors2" | "lockDoors" | "error" | "emergencyStop" | "waitingForSession";
|
181
181
|
type PaymentStatus = "waitingForConfirmation" | "waitingForAmountFinalization" | "waitingForCapture" | "waitingForTransitConfirmation" | "inTransitToProvider" | "captured" | "inTransitToProperty" | "payedOut";
|
182
|
-
type PaymentRefundStatus = "waitingForArrivalAtUser" | "waitingForPayout" | "payedOut" | "failed";
|
182
|
+
type PaymentRefundStatus = "waitingForArrivalAtUser" | "waitingForPayout" | "inTransitToProperty" | "payedOut" | "failed";
|
183
183
|
type PaymentServiceProvider = "stripe";
|
184
184
|
type PayoutStatus = "waitingForApproval" | "inTransitToProperty" | "payedOut";
|
185
185
|
type BusinessType = "individual" | "company" | "non_profit" | "government_entity";
|
@@ -2784,6 +2784,42 @@ declare namespace JUHUU {
|
|
2784
2784
|
}
|
2785
2785
|
export { };
|
2786
2786
|
}
|
2787
|
+
namespace Event {
|
2788
|
+
type Base = {
|
2789
|
+
id: string;
|
2790
|
+
readonly object: "event";
|
2791
|
+
createdAt: string;
|
2792
|
+
};
|
2793
|
+
export interface CreatePayment extends Base {
|
2794
|
+
type: "payment.create";
|
2795
|
+
payment: JUHUU.AccountingArea.Object;
|
2796
|
+
}
|
2797
|
+
export type Object = CreatePayment;
|
2798
|
+
export namespace Retrieve {
|
2799
|
+
type Params = {
|
2800
|
+
eventId: string;
|
2801
|
+
};
|
2802
|
+
type Options = {
|
2803
|
+
expand: Array<"property">;
|
2804
|
+
} & JUHUU.RequestOptions;
|
2805
|
+
type Response = {
|
2806
|
+
event: JUHUU.Event.Object;
|
2807
|
+
};
|
2808
|
+
}
|
2809
|
+
export namespace List {
|
2810
|
+
type Params = {
|
2811
|
+
propertyId?: string;
|
2812
|
+
paymentId?: string;
|
2813
|
+
};
|
2814
|
+
type Options = JUHUU.RequestOptions;
|
2815
|
+
type Response = {
|
2816
|
+
eventArray: JUHUU.Event.Object[];
|
2817
|
+
count: number;
|
2818
|
+
hasMore: boolean;
|
2819
|
+
};
|
2820
|
+
}
|
2821
|
+
export { };
|
2822
|
+
}
|
2787
2823
|
namespace DeviceTemplate {
|
2788
2824
|
type Object = {
|
2789
2825
|
id: string;
|
package/dist/index.d.ts
CHANGED
@@ -179,7 +179,7 @@ interface Party extends Person {
|
|
179
179
|
}
|
180
180
|
type VeloBrushDeviceDocumentUserManualStep = "prepareBike1" | "prepareBike2" | "chooseCycleType" | "openDoors1" | "extendBikeDrawer1" | "unfoldRamp1" | "placeBike1" | "fixBike1" | "fixBike2" | "retractBikeDrawer1" | "closeDoors1" | "selectWashProgram" | "waitForWashProgram" | "openDoors2" | "extendBikeDrawer2" | "dryBike1" | "dryBike2" | "releaseBike" | "unloadBike" | "retractBikeDrawer2" | "closeDoors2" | "lockDoors" | "error" | "emergencyStop" | "waitingForSession";
|
181
181
|
type PaymentStatus = "waitingForConfirmation" | "waitingForAmountFinalization" | "waitingForCapture" | "waitingForTransitConfirmation" | "inTransitToProvider" | "captured" | "inTransitToProperty" | "payedOut";
|
182
|
-
type PaymentRefundStatus = "waitingForArrivalAtUser" | "waitingForPayout" | "payedOut" | "failed";
|
182
|
+
type PaymentRefundStatus = "waitingForArrivalAtUser" | "waitingForPayout" | "inTransitToProperty" | "payedOut" | "failed";
|
183
183
|
type PaymentServiceProvider = "stripe";
|
184
184
|
type PayoutStatus = "waitingForApproval" | "inTransitToProperty" | "payedOut";
|
185
185
|
type BusinessType = "individual" | "company" | "non_profit" | "government_entity";
|
@@ -2784,6 +2784,42 @@ declare namespace JUHUU {
|
|
2784
2784
|
}
|
2785
2785
|
export { };
|
2786
2786
|
}
|
2787
|
+
namespace Event {
|
2788
|
+
type Base = {
|
2789
|
+
id: string;
|
2790
|
+
readonly object: "event";
|
2791
|
+
createdAt: string;
|
2792
|
+
};
|
2793
|
+
export interface CreatePayment extends Base {
|
2794
|
+
type: "payment.create";
|
2795
|
+
payment: JUHUU.AccountingArea.Object;
|
2796
|
+
}
|
2797
|
+
export type Object = CreatePayment;
|
2798
|
+
export namespace Retrieve {
|
2799
|
+
type Params = {
|
2800
|
+
eventId: string;
|
2801
|
+
};
|
2802
|
+
type Options = {
|
2803
|
+
expand: Array<"property">;
|
2804
|
+
} & JUHUU.RequestOptions;
|
2805
|
+
type Response = {
|
2806
|
+
event: JUHUU.Event.Object;
|
2807
|
+
};
|
2808
|
+
}
|
2809
|
+
export namespace List {
|
2810
|
+
type Params = {
|
2811
|
+
propertyId?: string;
|
2812
|
+
paymentId?: string;
|
2813
|
+
};
|
2814
|
+
type Options = JUHUU.RequestOptions;
|
2815
|
+
type Response = {
|
2816
|
+
eventArray: JUHUU.Event.Object[];
|
2817
|
+
count: number;
|
2818
|
+
hasMore: boolean;
|
2819
|
+
};
|
2820
|
+
}
|
2821
|
+
export { };
|
2822
|
+
}
|
2787
2823
|
namespace DeviceTemplate {
|
2788
2824
|
type Object = {
|
2789
2825
|
id: string;
|