@wix/motion 1.0.55 → 1.0.57
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.57",
|
|
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.22",
|
|
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": "c0f656b84013c8b92e169f977bf0237546b2ea5dd40dc37ec19d93c0"
|
|
52
52
|
}
|
|
@@ -495,6 +495,10 @@ interface MessageItem$1 {
|
|
|
495
495
|
/** inner_message comment from EchoMessage proto def */
|
|
496
496
|
innerMessage?: string;
|
|
497
497
|
}
|
|
498
|
+
interface AlarmTestRequest {
|
|
499
|
+
}
|
|
500
|
+
interface AlarmTestResponse {
|
|
501
|
+
}
|
|
498
502
|
interface AlarmRequest {
|
|
499
503
|
seconds: number;
|
|
500
504
|
someString?: string;
|
|
@@ -687,16 +691,16 @@ interface EventMetadata$1 extends BaseEventMetadata$1 {
|
|
|
687
691
|
*/
|
|
688
692
|
entityEventSequence?: string | null;
|
|
689
693
|
}
|
|
690
|
-
interface
|
|
691
|
-
data:
|
|
694
|
+
interface AlarmTriggeredEnvelope {
|
|
695
|
+
data: AlarmTriggered;
|
|
692
696
|
metadata: EventMetadata$1;
|
|
693
697
|
}
|
|
694
698
|
interface AlarmSnoozedEnvelope {
|
|
695
699
|
data: AlarmSnoozed;
|
|
696
700
|
metadata: EventMetadata$1;
|
|
697
701
|
}
|
|
698
|
-
interface
|
|
699
|
-
data:
|
|
702
|
+
interface AlarmDeletedEnvelope {
|
|
703
|
+
data: AlarmDeleted;
|
|
700
704
|
metadata: EventMetadata$1;
|
|
701
705
|
}
|
|
702
706
|
interface AlarmOptions {
|
|
@@ -709,6 +713,13 @@ interface UpdateAlarm {
|
|
|
709
713
|
seconds?: number;
|
|
710
714
|
}
|
|
711
715
|
|
|
716
|
+
declare function alarmTest$1(httpClient: HttpClient): AlarmTestSignature;
|
|
717
|
+
interface AlarmTestSignature {
|
|
718
|
+
/**
|
|
719
|
+
* Some description
|
|
720
|
+
*/
|
|
721
|
+
(): Promise<void>;
|
|
722
|
+
}
|
|
712
723
|
declare function alarm$1(httpClient: HttpClient): AlarmSignature;
|
|
713
724
|
interface AlarmSignature {
|
|
714
725
|
/**
|
|
@@ -723,20 +734,21 @@ interface UpdateAlarmSignature {
|
|
|
723
734
|
*/
|
|
724
735
|
(_id: string, alarm: UpdateAlarm): Promise<UpdateAlarmResponse & UpdateAlarmResponseNonNullableFields>;
|
|
725
736
|
}
|
|
726
|
-
declare const onAlarmDeleted$1: EventDefinition<AlarmDeletedEnvelope, "wix.alarm.v1.alarm_alarm_deleted">;
|
|
727
|
-
declare const onAlarmSnoozed$1: EventDefinition<AlarmSnoozedEnvelope, "wix.alarm.v1.alarm_alarm_snoozed">;
|
|
728
737
|
declare const onAlarmTriggered$1: EventDefinition<AlarmTriggeredEnvelope, "wix.alarm.v1.alarm_alarm_triggered">;
|
|
738
|
+
declare const onAlarmSnoozed$1: EventDefinition<AlarmSnoozedEnvelope, "wix.alarm.v1.alarm_alarm_snoozed">;
|
|
739
|
+
declare const onAlarmDeleted$1: EventDefinition<AlarmDeletedEnvelope, "wix.alarm.v1.alarm_alarm_deleted">;
|
|
729
740
|
|
|
730
741
|
declare function createEventModule$1<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
731
742
|
|
|
743
|
+
declare const alarmTest: MaybeContext<BuildRESTFunction<typeof alarmTest$1> & typeof alarmTest$1>;
|
|
732
744
|
declare const alarm: MaybeContext<BuildRESTFunction<typeof alarm$1> & typeof alarm$1>;
|
|
733
745
|
declare const updateAlarm: MaybeContext<BuildRESTFunction<typeof updateAlarm$1> & typeof updateAlarm$1>;
|
|
734
746
|
|
|
735
|
-
type
|
|
747
|
+
type _publicOnAlarmTriggeredType = typeof onAlarmTriggered$1;
|
|
736
748
|
/**
|
|
737
|
-
* alarm event that might be consumed when alarm is
|
|
749
|
+
* alarm event that might be consumed when alarm is triggered
|
|
738
750
|
*/
|
|
739
|
-
declare const
|
|
751
|
+
declare const onAlarmTriggered: ReturnType<typeof createEventModule$1<_publicOnAlarmTriggeredType>>;
|
|
740
752
|
|
|
741
753
|
type _publicOnAlarmSnoozedType = typeof onAlarmSnoozed$1;
|
|
742
754
|
/**
|
|
@@ -744,11 +756,11 @@ type _publicOnAlarmSnoozedType = typeof onAlarmSnoozed$1;
|
|
|
744
756
|
*/
|
|
745
757
|
declare const onAlarmSnoozed: ReturnType<typeof createEventModule$1<_publicOnAlarmSnoozedType>>;
|
|
746
758
|
|
|
747
|
-
type
|
|
759
|
+
type _publicOnAlarmDeletedType = typeof onAlarmDeleted$1;
|
|
748
760
|
/**
|
|
749
|
-
* alarm event that might be consumed when alarm is
|
|
761
|
+
* alarm event that might be consumed when alarm is deleted
|
|
750
762
|
*/
|
|
751
|
-
declare const
|
|
763
|
+
declare const onAlarmDeleted: ReturnType<typeof createEventModule$1<_publicOnAlarmDeletedType>>;
|
|
752
764
|
|
|
753
765
|
type context$2_AlarmDeleted = AlarmDeleted;
|
|
754
766
|
type context$2_AlarmDeletedEnvelope = AlarmDeletedEnvelope;
|
|
@@ -759,6 +771,8 @@ type context$2_AlarmRequestRequiredFields = AlarmRequestRequiredFields;
|
|
|
759
771
|
type context$2_AlarmResponse = AlarmResponse;
|
|
760
772
|
type context$2_AlarmSnoozed = AlarmSnoozed;
|
|
761
773
|
type context$2_AlarmSnoozedEnvelope = AlarmSnoozedEnvelope;
|
|
774
|
+
type context$2_AlarmTestRequest = AlarmTestRequest;
|
|
775
|
+
type context$2_AlarmTestResponse = AlarmTestResponse;
|
|
762
776
|
type context$2_AlarmTriggered = AlarmTriggered;
|
|
763
777
|
type context$2_AlarmTriggeredEnvelope = AlarmTriggeredEnvelope;
|
|
764
778
|
type context$2_UpdateAlarm = UpdateAlarm;
|
|
@@ -770,12 +784,13 @@ type context$2__publicOnAlarmDeletedType = _publicOnAlarmDeletedType;
|
|
|
770
784
|
type context$2__publicOnAlarmSnoozedType = _publicOnAlarmSnoozedType;
|
|
771
785
|
type context$2__publicOnAlarmTriggeredType = _publicOnAlarmTriggeredType;
|
|
772
786
|
declare const context$2_alarm: typeof alarm;
|
|
787
|
+
declare const context$2_alarmTest: typeof alarmTest;
|
|
773
788
|
declare const context$2_onAlarmDeleted: typeof onAlarmDeleted;
|
|
774
789
|
declare const context$2_onAlarmSnoozed: typeof onAlarmSnoozed;
|
|
775
790
|
declare const context$2_onAlarmTriggered: typeof onAlarmTriggered;
|
|
776
791
|
declare const context$2_updateAlarm: typeof updateAlarm;
|
|
777
792
|
declare namespace context$2 {
|
|
778
|
-
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_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 };
|
|
779
794
|
}
|
|
780
795
|
|
|
781
796
|
interface MessageItem {
|
|
@@ -495,6 +495,10 @@ interface MessageItem$1 {
|
|
|
495
495
|
/** inner_message comment from EchoMessage proto def */
|
|
496
496
|
innerMessage?: string;
|
|
497
497
|
}
|
|
498
|
+
interface AlarmTestRequest {
|
|
499
|
+
}
|
|
500
|
+
interface AlarmTestResponse {
|
|
501
|
+
}
|
|
498
502
|
interface AlarmRequest {
|
|
499
503
|
seconds: number;
|
|
500
504
|
someString?: string;
|
|
@@ -687,16 +691,16 @@ interface EventMetadata$1 extends BaseEventMetadata$1 {
|
|
|
687
691
|
*/
|
|
688
692
|
entityEventSequence?: string | null;
|
|
689
693
|
}
|
|
690
|
-
interface
|
|
691
|
-
data:
|
|
694
|
+
interface AlarmTriggeredEnvelope {
|
|
695
|
+
data: AlarmTriggered;
|
|
692
696
|
metadata: EventMetadata$1;
|
|
693
697
|
}
|
|
694
698
|
interface AlarmSnoozedEnvelope {
|
|
695
699
|
data: AlarmSnoozed;
|
|
696
700
|
metadata: EventMetadata$1;
|
|
697
701
|
}
|
|
698
|
-
interface
|
|
699
|
-
data:
|
|
702
|
+
interface AlarmDeletedEnvelope {
|
|
703
|
+
data: AlarmDeleted;
|
|
700
704
|
metadata: EventMetadata$1;
|
|
701
705
|
}
|
|
702
706
|
interface AlarmOptions {
|
|
@@ -709,6 +713,13 @@ interface UpdateAlarm {
|
|
|
709
713
|
seconds?: number;
|
|
710
714
|
}
|
|
711
715
|
|
|
716
|
+
declare function alarmTest$1(httpClient: HttpClient): AlarmTestSignature;
|
|
717
|
+
interface AlarmTestSignature {
|
|
718
|
+
/**
|
|
719
|
+
* Some description
|
|
720
|
+
*/
|
|
721
|
+
(): Promise<void>;
|
|
722
|
+
}
|
|
712
723
|
declare function alarm$1(httpClient: HttpClient): AlarmSignature;
|
|
713
724
|
interface AlarmSignature {
|
|
714
725
|
/**
|
|
@@ -723,20 +734,21 @@ interface UpdateAlarmSignature {
|
|
|
723
734
|
*/
|
|
724
735
|
(_id: string, alarm: UpdateAlarm): Promise<UpdateAlarmResponse & UpdateAlarmResponseNonNullableFields>;
|
|
725
736
|
}
|
|
726
|
-
declare const onAlarmDeleted$1: EventDefinition<AlarmDeletedEnvelope, "wix.alarm.v1.alarm_alarm_deleted">;
|
|
727
|
-
declare const onAlarmSnoozed$1: EventDefinition<AlarmSnoozedEnvelope, "wix.alarm.v1.alarm_alarm_snoozed">;
|
|
728
737
|
declare const onAlarmTriggered$1: EventDefinition<AlarmTriggeredEnvelope, "wix.alarm.v1.alarm_alarm_triggered">;
|
|
738
|
+
declare const onAlarmSnoozed$1: EventDefinition<AlarmSnoozedEnvelope, "wix.alarm.v1.alarm_alarm_snoozed">;
|
|
739
|
+
declare const onAlarmDeleted$1: EventDefinition<AlarmDeletedEnvelope, "wix.alarm.v1.alarm_alarm_deleted">;
|
|
729
740
|
|
|
730
741
|
declare function createEventModule$1<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
731
742
|
|
|
743
|
+
declare const alarmTest: MaybeContext<BuildRESTFunction<typeof alarmTest$1> & typeof alarmTest$1>;
|
|
732
744
|
declare const alarm: MaybeContext<BuildRESTFunction<typeof alarm$1> & typeof alarm$1>;
|
|
733
745
|
declare const updateAlarm: MaybeContext<BuildRESTFunction<typeof updateAlarm$1> & typeof updateAlarm$1>;
|
|
734
746
|
|
|
735
|
-
type
|
|
747
|
+
type _publicOnAlarmTriggeredType = typeof onAlarmTriggered$1;
|
|
736
748
|
/**
|
|
737
|
-
* alarm event that might be consumed when alarm is
|
|
749
|
+
* alarm event that might be consumed when alarm is triggered
|
|
738
750
|
*/
|
|
739
|
-
declare const
|
|
751
|
+
declare const onAlarmTriggered: ReturnType<typeof createEventModule$1<_publicOnAlarmTriggeredType>>;
|
|
740
752
|
|
|
741
753
|
type _publicOnAlarmSnoozedType = typeof onAlarmSnoozed$1;
|
|
742
754
|
/**
|
|
@@ -744,11 +756,11 @@ type _publicOnAlarmSnoozedType = typeof onAlarmSnoozed$1;
|
|
|
744
756
|
*/
|
|
745
757
|
declare const onAlarmSnoozed: ReturnType<typeof createEventModule$1<_publicOnAlarmSnoozedType>>;
|
|
746
758
|
|
|
747
|
-
type
|
|
759
|
+
type _publicOnAlarmDeletedType = typeof onAlarmDeleted$1;
|
|
748
760
|
/**
|
|
749
|
-
* alarm event that might be consumed when alarm is
|
|
761
|
+
* alarm event that might be consumed when alarm is deleted
|
|
750
762
|
*/
|
|
751
|
-
declare const
|
|
763
|
+
declare const onAlarmDeleted: ReturnType<typeof createEventModule$1<_publicOnAlarmDeletedType>>;
|
|
752
764
|
|
|
753
765
|
type index_d$2_AlarmDeleted = AlarmDeleted;
|
|
754
766
|
type index_d$2_AlarmDeletedEnvelope = AlarmDeletedEnvelope;
|
|
@@ -759,6 +771,8 @@ type index_d$2_AlarmRequestRequiredFields = AlarmRequestRequiredFields;
|
|
|
759
771
|
type index_d$2_AlarmResponse = AlarmResponse;
|
|
760
772
|
type index_d$2_AlarmSnoozed = AlarmSnoozed;
|
|
761
773
|
type index_d$2_AlarmSnoozedEnvelope = AlarmSnoozedEnvelope;
|
|
774
|
+
type index_d$2_AlarmTestRequest = AlarmTestRequest;
|
|
775
|
+
type index_d$2_AlarmTestResponse = AlarmTestResponse;
|
|
762
776
|
type index_d$2_AlarmTriggered = AlarmTriggered;
|
|
763
777
|
type index_d$2_AlarmTriggeredEnvelope = AlarmTriggeredEnvelope;
|
|
764
778
|
type index_d$2_UpdateAlarm = UpdateAlarm;
|
|
@@ -770,12 +784,13 @@ type index_d$2__publicOnAlarmDeletedType = _publicOnAlarmDeletedType;
|
|
|
770
784
|
type index_d$2__publicOnAlarmSnoozedType = _publicOnAlarmSnoozedType;
|
|
771
785
|
type index_d$2__publicOnAlarmTriggeredType = _publicOnAlarmTriggeredType;
|
|
772
786
|
declare const index_d$2_alarm: typeof alarm;
|
|
787
|
+
declare const index_d$2_alarmTest: typeof alarmTest;
|
|
773
788
|
declare const index_d$2_onAlarmDeleted: typeof onAlarmDeleted;
|
|
774
789
|
declare const index_d$2_onAlarmSnoozed: typeof onAlarmSnoozed;
|
|
775
790
|
declare const index_d$2_onAlarmTriggered: typeof onAlarmTriggered;
|
|
776
791
|
declare const index_d$2_updateAlarm: typeof updateAlarm;
|
|
777
792
|
declare namespace index_d$2 {
|
|
778
|
-
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_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 };
|
|
779
794
|
}
|
|
780
795
|
|
|
781
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 {
|