@wix/motion 1.0.58 → 1.0.60
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/motion",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.60",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"type-bundles"
|
|
22
22
|
],
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@wix/motion_alarms": "1.0.
|
|
24
|
+
"@wix/motion_alarms": "1.0.25",
|
|
25
25
|
"@wix/motion_metroinspector": "1.0.13",
|
|
26
26
|
"@wix/motion_products": "1.0.16"
|
|
27
27
|
},
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"fqdn": ""
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
|
-
"falconPackageHash": "
|
|
51
|
+
"falconPackageHash": "9a40e8b4c40306f7871d57d12b34f3806ecff9121d69d79e12dd3a6e"
|
|
52
52
|
}
|
|
@@ -691,16 +691,16 @@ interface EventMetadata$1 extends BaseEventMetadata$1 {
|
|
|
691
691
|
*/
|
|
692
692
|
entityEventSequence?: string | null;
|
|
693
693
|
}
|
|
694
|
-
interface
|
|
695
|
-
data:
|
|
694
|
+
interface AlarmDeletedEnvelope {
|
|
695
|
+
data: AlarmDeleted;
|
|
696
696
|
metadata: EventMetadata$1;
|
|
697
697
|
}
|
|
698
698
|
interface AlarmSnoozedEnvelope {
|
|
699
699
|
data: AlarmSnoozed;
|
|
700
700
|
metadata: EventMetadata$1;
|
|
701
701
|
}
|
|
702
|
-
interface
|
|
703
|
-
data:
|
|
702
|
+
interface AlarmTriggeredEnvelope {
|
|
703
|
+
data: AlarmTriggered;
|
|
704
704
|
metadata: EventMetadata$1;
|
|
705
705
|
}
|
|
706
706
|
interface AlarmOptions {
|
|
@@ -713,6 +713,13 @@ interface UpdateAlarm {
|
|
|
713
713
|
seconds?: number;
|
|
714
714
|
}
|
|
715
715
|
|
|
716
|
+
declare function alarmTest$1(httpClient: HttpClient): AlarmTestSignature;
|
|
717
|
+
interface AlarmTestSignature {
|
|
718
|
+
/**
|
|
719
|
+
* Some description
|
|
720
|
+
*/
|
|
721
|
+
(): Promise<void>;
|
|
722
|
+
}
|
|
716
723
|
declare function alarm$1(httpClient: HttpClient): AlarmSignature;
|
|
717
724
|
interface AlarmSignature {
|
|
718
725
|
/**
|
|
@@ -727,20 +734,21 @@ interface UpdateAlarmSignature {
|
|
|
727
734
|
*/
|
|
728
735
|
(_id: string, alarm: UpdateAlarm): Promise<UpdateAlarmResponse & UpdateAlarmResponseNonNullableFields>;
|
|
729
736
|
}
|
|
730
|
-
declare const onAlarmTriggered$1: EventDefinition<AlarmTriggeredEnvelope, "wix.alarm.v1.alarm_alarm_triggered">;
|
|
731
|
-
declare const onAlarmSnoozed$1: EventDefinition<AlarmSnoozedEnvelope, "wix.alarm.v1.alarm_alarm_snoozed">;
|
|
732
737
|
declare const onAlarmDeleted$1: EventDefinition<AlarmDeletedEnvelope, "wix.alarm.v1.alarm_alarm_deleted">;
|
|
738
|
+
declare const onAlarmSnoozed$1: EventDefinition<AlarmSnoozedEnvelope, "wix.alarm.v1.alarm_alarm_snoozed">;
|
|
739
|
+
declare const onAlarmTriggered$1: EventDefinition<AlarmTriggeredEnvelope, "wix.alarm.v1.alarm_alarm_triggered">;
|
|
733
740
|
|
|
734
741
|
declare function createEventModule$1<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
735
742
|
|
|
743
|
+
declare const alarmTest: MaybeContext<BuildRESTFunction<typeof alarmTest$1> & typeof alarmTest$1>;
|
|
736
744
|
declare const alarm: MaybeContext<BuildRESTFunction<typeof alarm$1> & typeof alarm$1>;
|
|
737
745
|
declare const updateAlarm: MaybeContext<BuildRESTFunction<typeof updateAlarm$1> & typeof updateAlarm$1>;
|
|
738
746
|
|
|
739
|
-
type
|
|
747
|
+
type _publicOnAlarmDeletedType = typeof onAlarmDeleted$1;
|
|
740
748
|
/**
|
|
741
|
-
* alarm event that might be consumed when alarm is
|
|
749
|
+
* alarm event that might be consumed when alarm is deleted
|
|
742
750
|
*/
|
|
743
|
-
declare const
|
|
751
|
+
declare const onAlarmDeleted: ReturnType<typeof createEventModule$1<_publicOnAlarmDeletedType>>;
|
|
744
752
|
|
|
745
753
|
type _publicOnAlarmSnoozedType = typeof onAlarmSnoozed$1;
|
|
746
754
|
/**
|
|
@@ -748,11 +756,11 @@ type _publicOnAlarmSnoozedType = typeof onAlarmSnoozed$1;
|
|
|
748
756
|
*/
|
|
749
757
|
declare const onAlarmSnoozed: ReturnType<typeof createEventModule$1<_publicOnAlarmSnoozedType>>;
|
|
750
758
|
|
|
751
|
-
type
|
|
759
|
+
type _publicOnAlarmTriggeredType = typeof onAlarmTriggered$1;
|
|
752
760
|
/**
|
|
753
|
-
* alarm event that might be consumed when alarm is
|
|
761
|
+
* alarm event that might be consumed when alarm is triggered
|
|
754
762
|
*/
|
|
755
|
-
declare const
|
|
763
|
+
declare const onAlarmTriggered: ReturnType<typeof createEventModule$1<_publicOnAlarmTriggeredType>>;
|
|
756
764
|
|
|
757
765
|
type context$2_AlarmDeleted = AlarmDeleted;
|
|
758
766
|
type context$2_AlarmDeletedEnvelope = AlarmDeletedEnvelope;
|
|
@@ -776,12 +784,13 @@ type context$2__publicOnAlarmDeletedType = _publicOnAlarmDeletedType;
|
|
|
776
784
|
type context$2__publicOnAlarmSnoozedType = _publicOnAlarmSnoozedType;
|
|
777
785
|
type context$2__publicOnAlarmTriggeredType = _publicOnAlarmTriggeredType;
|
|
778
786
|
declare const context$2_alarm: typeof alarm;
|
|
787
|
+
declare const context$2_alarmTest: typeof alarmTest;
|
|
779
788
|
declare const context$2_onAlarmDeleted: typeof onAlarmDeleted;
|
|
780
789
|
declare const context$2_onAlarmSnoozed: typeof onAlarmSnoozed;
|
|
781
790
|
declare const context$2_onAlarmTriggered: typeof onAlarmTriggered;
|
|
782
791
|
declare const context$2_updateAlarm: typeof updateAlarm;
|
|
783
792
|
declare namespace context$2 {
|
|
784
|
-
export { type ActionEvent$1 as ActionEvent, type context$2_AlarmDeleted as AlarmDeleted, type context$2_AlarmDeletedEnvelope as AlarmDeletedEnvelope, type context$2_AlarmMessage as AlarmMessage, type context$2_AlarmOptions as AlarmOptions, type context$2_AlarmRequest as AlarmRequest, type context$2_AlarmRequestRequiredFields as AlarmRequestRequiredFields, type context$2_AlarmResponse as AlarmResponse, type context$2_AlarmSnoozed as AlarmSnoozed, type context$2_AlarmSnoozedEnvelope as AlarmSnoozedEnvelope, type context$2_AlarmTestRequest as AlarmTestRequest, type context$2_AlarmTestResponse as AlarmTestResponse, type context$2_AlarmTriggered as AlarmTriggered, type context$2_AlarmTriggeredEnvelope as AlarmTriggeredEnvelope, type BaseEventMetadata$1 as BaseEventMetadata, type Dispatched$1 as Dispatched, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type EchoMessage$1 as EchoMessage, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type MessageEnvelope$1 as MessageEnvelope, type MessageItem$1 as MessageItem, type RestoreInfo$1 as RestoreInfo, type context$2_UpdateAlarm as UpdateAlarm, type context$2_UpdateAlarmRequest as UpdateAlarmRequest, type context$2_UpdateAlarmRequestRequiredFields as UpdateAlarmRequestRequiredFields, type context$2_UpdateAlarmResponse as UpdateAlarmResponse, type context$2_UpdateAlarmResponseNonNullableFields as UpdateAlarmResponseNonNullableFields, WebhookIdentityType$1 as WebhookIdentityType, type context$2__publicOnAlarmDeletedType as _publicOnAlarmDeletedType, type context$2__publicOnAlarmSnoozedType as _publicOnAlarmSnoozedType, type context$2__publicOnAlarmTriggeredType as _publicOnAlarmTriggeredType, context$2_alarm as alarm, context$2_onAlarmDeleted as onAlarmDeleted, context$2_onAlarmSnoozed as onAlarmSnoozed, context$2_onAlarmTriggered as onAlarmTriggered, onAlarmDeleted$1 as publicOnAlarmDeleted, onAlarmSnoozed$1 as publicOnAlarmSnoozed, onAlarmTriggered$1 as publicOnAlarmTriggered, context$2_updateAlarm as updateAlarm };
|
|
793
|
+
export { type ActionEvent$1 as ActionEvent, type context$2_AlarmDeleted as AlarmDeleted, type context$2_AlarmDeletedEnvelope as AlarmDeletedEnvelope, type context$2_AlarmMessage as AlarmMessage, type context$2_AlarmOptions as AlarmOptions, type context$2_AlarmRequest as AlarmRequest, type context$2_AlarmRequestRequiredFields as AlarmRequestRequiredFields, type context$2_AlarmResponse as AlarmResponse, type context$2_AlarmSnoozed as AlarmSnoozed, type context$2_AlarmSnoozedEnvelope as AlarmSnoozedEnvelope, type context$2_AlarmTestRequest as AlarmTestRequest, type context$2_AlarmTestResponse as AlarmTestResponse, type context$2_AlarmTriggered as AlarmTriggered, type context$2_AlarmTriggeredEnvelope as AlarmTriggeredEnvelope, type BaseEventMetadata$1 as BaseEventMetadata, type Dispatched$1 as Dispatched, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type EchoMessage$1 as EchoMessage, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type MessageEnvelope$1 as MessageEnvelope, type MessageItem$1 as MessageItem, type RestoreInfo$1 as RestoreInfo, type context$2_UpdateAlarm as UpdateAlarm, type context$2_UpdateAlarmRequest as UpdateAlarmRequest, type context$2_UpdateAlarmRequestRequiredFields as UpdateAlarmRequestRequiredFields, type context$2_UpdateAlarmResponse as UpdateAlarmResponse, type context$2_UpdateAlarmResponseNonNullableFields as UpdateAlarmResponseNonNullableFields, WebhookIdentityType$1 as WebhookIdentityType, type context$2__publicOnAlarmDeletedType as _publicOnAlarmDeletedType, type context$2__publicOnAlarmSnoozedType as _publicOnAlarmSnoozedType, type context$2__publicOnAlarmTriggeredType as _publicOnAlarmTriggeredType, context$2_alarm as alarm, context$2_alarmTest as alarmTest, context$2_onAlarmDeleted as onAlarmDeleted, context$2_onAlarmSnoozed as onAlarmSnoozed, context$2_onAlarmTriggered as onAlarmTriggered, onAlarmDeleted$1 as publicOnAlarmDeleted, onAlarmSnoozed$1 as publicOnAlarmSnoozed, onAlarmTriggered$1 as publicOnAlarmTriggered, context$2_updateAlarm as updateAlarm };
|
|
785
794
|
}
|
|
786
795
|
|
|
787
796
|
interface MessageItem {
|
|
@@ -691,16 +691,16 @@ interface EventMetadata$1 extends BaseEventMetadata$1 {
|
|
|
691
691
|
*/
|
|
692
692
|
entityEventSequence?: string | null;
|
|
693
693
|
}
|
|
694
|
-
interface
|
|
695
|
-
data:
|
|
694
|
+
interface AlarmDeletedEnvelope {
|
|
695
|
+
data: AlarmDeleted;
|
|
696
696
|
metadata: EventMetadata$1;
|
|
697
697
|
}
|
|
698
698
|
interface AlarmSnoozedEnvelope {
|
|
699
699
|
data: AlarmSnoozed;
|
|
700
700
|
metadata: EventMetadata$1;
|
|
701
701
|
}
|
|
702
|
-
interface
|
|
703
|
-
data:
|
|
702
|
+
interface AlarmTriggeredEnvelope {
|
|
703
|
+
data: AlarmTriggered;
|
|
704
704
|
metadata: EventMetadata$1;
|
|
705
705
|
}
|
|
706
706
|
interface AlarmOptions {
|
|
@@ -713,6 +713,13 @@ interface UpdateAlarm {
|
|
|
713
713
|
seconds?: number;
|
|
714
714
|
}
|
|
715
715
|
|
|
716
|
+
declare function alarmTest$1(httpClient: HttpClient): AlarmTestSignature;
|
|
717
|
+
interface AlarmTestSignature {
|
|
718
|
+
/**
|
|
719
|
+
* Some description
|
|
720
|
+
*/
|
|
721
|
+
(): Promise<void>;
|
|
722
|
+
}
|
|
716
723
|
declare function alarm$1(httpClient: HttpClient): AlarmSignature;
|
|
717
724
|
interface AlarmSignature {
|
|
718
725
|
/**
|
|
@@ -727,20 +734,21 @@ interface UpdateAlarmSignature {
|
|
|
727
734
|
*/
|
|
728
735
|
(_id: string, alarm: UpdateAlarm): Promise<UpdateAlarmResponse & UpdateAlarmResponseNonNullableFields>;
|
|
729
736
|
}
|
|
730
|
-
declare const onAlarmTriggered$1: EventDefinition<AlarmTriggeredEnvelope, "wix.alarm.v1.alarm_alarm_triggered">;
|
|
731
|
-
declare const onAlarmSnoozed$1: EventDefinition<AlarmSnoozedEnvelope, "wix.alarm.v1.alarm_alarm_snoozed">;
|
|
732
737
|
declare const onAlarmDeleted$1: EventDefinition<AlarmDeletedEnvelope, "wix.alarm.v1.alarm_alarm_deleted">;
|
|
738
|
+
declare const onAlarmSnoozed$1: EventDefinition<AlarmSnoozedEnvelope, "wix.alarm.v1.alarm_alarm_snoozed">;
|
|
739
|
+
declare const onAlarmTriggered$1: EventDefinition<AlarmTriggeredEnvelope, "wix.alarm.v1.alarm_alarm_triggered">;
|
|
733
740
|
|
|
734
741
|
declare function createEventModule$1<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
735
742
|
|
|
743
|
+
declare const alarmTest: MaybeContext<BuildRESTFunction<typeof alarmTest$1> & typeof alarmTest$1>;
|
|
736
744
|
declare const alarm: MaybeContext<BuildRESTFunction<typeof alarm$1> & typeof alarm$1>;
|
|
737
745
|
declare const updateAlarm: MaybeContext<BuildRESTFunction<typeof updateAlarm$1> & typeof updateAlarm$1>;
|
|
738
746
|
|
|
739
|
-
type
|
|
747
|
+
type _publicOnAlarmDeletedType = typeof onAlarmDeleted$1;
|
|
740
748
|
/**
|
|
741
|
-
* alarm event that might be consumed when alarm is
|
|
749
|
+
* alarm event that might be consumed when alarm is deleted
|
|
742
750
|
*/
|
|
743
|
-
declare const
|
|
751
|
+
declare const onAlarmDeleted: ReturnType<typeof createEventModule$1<_publicOnAlarmDeletedType>>;
|
|
744
752
|
|
|
745
753
|
type _publicOnAlarmSnoozedType = typeof onAlarmSnoozed$1;
|
|
746
754
|
/**
|
|
@@ -748,11 +756,11 @@ type _publicOnAlarmSnoozedType = typeof onAlarmSnoozed$1;
|
|
|
748
756
|
*/
|
|
749
757
|
declare const onAlarmSnoozed: ReturnType<typeof createEventModule$1<_publicOnAlarmSnoozedType>>;
|
|
750
758
|
|
|
751
|
-
type
|
|
759
|
+
type _publicOnAlarmTriggeredType = typeof onAlarmTriggered$1;
|
|
752
760
|
/**
|
|
753
|
-
* alarm event that might be consumed when alarm is
|
|
761
|
+
* alarm event that might be consumed when alarm is triggered
|
|
754
762
|
*/
|
|
755
|
-
declare const
|
|
763
|
+
declare const onAlarmTriggered: ReturnType<typeof createEventModule$1<_publicOnAlarmTriggeredType>>;
|
|
756
764
|
|
|
757
765
|
type index_d$2_AlarmDeleted = AlarmDeleted;
|
|
758
766
|
type index_d$2_AlarmDeletedEnvelope = AlarmDeletedEnvelope;
|
|
@@ -776,12 +784,13 @@ type index_d$2__publicOnAlarmDeletedType = _publicOnAlarmDeletedType;
|
|
|
776
784
|
type index_d$2__publicOnAlarmSnoozedType = _publicOnAlarmSnoozedType;
|
|
777
785
|
type index_d$2__publicOnAlarmTriggeredType = _publicOnAlarmTriggeredType;
|
|
778
786
|
declare const index_d$2_alarm: typeof alarm;
|
|
787
|
+
declare const index_d$2_alarmTest: typeof alarmTest;
|
|
779
788
|
declare const index_d$2_onAlarmDeleted: typeof onAlarmDeleted;
|
|
780
789
|
declare const index_d$2_onAlarmSnoozed: typeof onAlarmSnoozed;
|
|
781
790
|
declare const index_d$2_onAlarmTriggered: typeof onAlarmTriggered;
|
|
782
791
|
declare const index_d$2_updateAlarm: typeof updateAlarm;
|
|
783
792
|
declare namespace index_d$2 {
|
|
784
|
-
export { type ActionEvent$1 as ActionEvent, type index_d$2_AlarmDeleted as AlarmDeleted, type index_d$2_AlarmDeletedEnvelope as AlarmDeletedEnvelope, type index_d$2_AlarmMessage as AlarmMessage, type index_d$2_AlarmOptions as AlarmOptions, type index_d$2_AlarmRequest as AlarmRequest, type index_d$2_AlarmRequestRequiredFields as AlarmRequestRequiredFields, type index_d$2_AlarmResponse as AlarmResponse, type index_d$2_AlarmSnoozed as AlarmSnoozed, type index_d$2_AlarmSnoozedEnvelope as AlarmSnoozedEnvelope, type index_d$2_AlarmTestRequest as AlarmTestRequest, type index_d$2_AlarmTestResponse as AlarmTestResponse, type index_d$2_AlarmTriggered as AlarmTriggered, type index_d$2_AlarmTriggeredEnvelope as AlarmTriggeredEnvelope, type BaseEventMetadata$1 as BaseEventMetadata, type Dispatched$1 as Dispatched, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type EchoMessage$1 as EchoMessage, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type MessageEnvelope$1 as MessageEnvelope, type MessageItem$1 as MessageItem, type RestoreInfo$1 as RestoreInfo, type index_d$2_UpdateAlarm as UpdateAlarm, type index_d$2_UpdateAlarmRequest as UpdateAlarmRequest, type index_d$2_UpdateAlarmRequestRequiredFields as UpdateAlarmRequestRequiredFields, type index_d$2_UpdateAlarmResponse as UpdateAlarmResponse, type index_d$2_UpdateAlarmResponseNonNullableFields as UpdateAlarmResponseNonNullableFields, WebhookIdentityType$1 as WebhookIdentityType, type index_d$2__publicOnAlarmDeletedType as _publicOnAlarmDeletedType, type index_d$2__publicOnAlarmSnoozedType as _publicOnAlarmSnoozedType, type index_d$2__publicOnAlarmTriggeredType as _publicOnAlarmTriggeredType, index_d$2_alarm as alarm, index_d$2_onAlarmDeleted as onAlarmDeleted, index_d$2_onAlarmSnoozed as onAlarmSnoozed, index_d$2_onAlarmTriggered as onAlarmTriggered, onAlarmDeleted$1 as publicOnAlarmDeleted, onAlarmSnoozed$1 as publicOnAlarmSnoozed, onAlarmTriggered$1 as publicOnAlarmTriggered, index_d$2_updateAlarm as updateAlarm };
|
|
793
|
+
export { type ActionEvent$1 as ActionEvent, type index_d$2_AlarmDeleted as AlarmDeleted, type index_d$2_AlarmDeletedEnvelope as AlarmDeletedEnvelope, type index_d$2_AlarmMessage as AlarmMessage, type index_d$2_AlarmOptions as AlarmOptions, type index_d$2_AlarmRequest as AlarmRequest, type index_d$2_AlarmRequestRequiredFields as AlarmRequestRequiredFields, type index_d$2_AlarmResponse as AlarmResponse, type index_d$2_AlarmSnoozed as AlarmSnoozed, type index_d$2_AlarmSnoozedEnvelope as AlarmSnoozedEnvelope, type index_d$2_AlarmTestRequest as AlarmTestRequest, type index_d$2_AlarmTestResponse as AlarmTestResponse, type index_d$2_AlarmTriggered as AlarmTriggered, type index_d$2_AlarmTriggeredEnvelope as AlarmTriggeredEnvelope, type BaseEventMetadata$1 as BaseEventMetadata, type Dispatched$1 as Dispatched, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type EchoMessage$1 as EchoMessage, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type MessageEnvelope$1 as MessageEnvelope, type MessageItem$1 as MessageItem, type RestoreInfo$1 as RestoreInfo, type index_d$2_UpdateAlarm as UpdateAlarm, type index_d$2_UpdateAlarmRequest as UpdateAlarmRequest, type index_d$2_UpdateAlarmRequestRequiredFields as UpdateAlarmRequestRequiredFields, type index_d$2_UpdateAlarmResponse as UpdateAlarmResponse, type index_d$2_UpdateAlarmResponseNonNullableFields as UpdateAlarmResponseNonNullableFields, WebhookIdentityType$1 as WebhookIdentityType, type index_d$2__publicOnAlarmDeletedType as _publicOnAlarmDeletedType, type index_d$2__publicOnAlarmSnoozedType as _publicOnAlarmSnoozedType, type index_d$2__publicOnAlarmTriggeredType as _publicOnAlarmTriggeredType, index_d$2_alarm as alarm, index_d$2_alarmTest as alarmTest, index_d$2_onAlarmDeleted as onAlarmDeleted, index_d$2_onAlarmSnoozed as onAlarmSnoozed, index_d$2_onAlarmTriggered as onAlarmTriggered, onAlarmDeleted$1 as publicOnAlarmDeleted, onAlarmSnoozed$1 as publicOnAlarmSnoozed, onAlarmTriggered$1 as publicOnAlarmTriggered, index_d$2_updateAlarm as updateAlarm };
|
|
785
794
|
}
|
|
786
795
|
|
|
787
796
|
interface MessageItem {
|
|
@@ -2,6 +2,10 @@ interface AlarmMessage$1 {
|
|
|
2
2
|
id?: string;
|
|
3
3
|
seconds?: number;
|
|
4
4
|
}
|
|
5
|
+
interface AlarmTestRequest$1 {
|
|
6
|
+
}
|
|
7
|
+
interface AlarmTestResponse$1 {
|
|
8
|
+
}
|
|
5
9
|
interface AlarmRequest$1 {
|
|
6
10
|
seconds: number;
|
|
7
11
|
someString?: string;
|
|
@@ -29,6 +33,10 @@ interface AlarmMessage {
|
|
|
29
33
|
_id?: string;
|
|
30
34
|
seconds?: number;
|
|
31
35
|
}
|
|
36
|
+
interface AlarmTestRequest {
|
|
37
|
+
}
|
|
38
|
+
interface AlarmTestResponse {
|
|
39
|
+
}
|
|
32
40
|
interface AlarmRequest {
|
|
33
41
|
seconds: number;
|
|
34
42
|
someString?: string;
|
|
@@ -62,6 +70,7 @@ type __PublicMethodMetaInfo$2<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
62
70
|
__responseType: Q;
|
|
63
71
|
__originalResponseType: R;
|
|
64
72
|
};
|
|
73
|
+
declare function alarmTest(): __PublicMethodMetaInfo$2<'POST', {}, AlarmTestRequest, AlarmTestRequest$1, AlarmTestResponse, AlarmTestResponse$1>;
|
|
65
74
|
declare function alarm(): __PublicMethodMetaInfo$2<'POST', {
|
|
66
75
|
seconds: string;
|
|
67
76
|
}, AlarmRequest, AlarmRequest$1, AlarmResponse, AlarmResponse$1>;
|
|
@@ -70,9 +79,10 @@ declare function updateAlarm(): __PublicMethodMetaInfo$2<'PATCH', {
|
|
|
70
79
|
}, UpdateAlarmRequest, UpdateAlarmRequest$1, UpdateAlarmResponse & UpdateAlarmResponseNonNullableFields, UpdateAlarmResponse$1 & UpdateAlarmResponseNonNullableFields$1>;
|
|
71
80
|
|
|
72
81
|
declare const meta$2_alarm: typeof alarm;
|
|
82
|
+
declare const meta$2_alarmTest: typeof alarmTest;
|
|
73
83
|
declare const meta$2_updateAlarm: typeof updateAlarm;
|
|
74
84
|
declare namespace meta$2 {
|
|
75
|
-
export { type __PublicMethodMetaInfo$2 as __PublicMethodMetaInfo, meta$2_alarm as alarm, meta$2_updateAlarm as updateAlarm };
|
|
85
|
+
export { type __PublicMethodMetaInfo$2 as __PublicMethodMetaInfo, meta$2_alarm as alarm, meta$2_alarmTest as alarmTest, meta$2_updateAlarm as updateAlarm };
|
|
76
86
|
}
|
|
77
87
|
|
|
78
88
|
interface EchoMessage$1 {
|