@wix/motion 1.0.54 → 1.0.55
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.55",
|
|
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.20",
|
|
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": "a2a4b8a68e56c9aa6c7bba6649a1c67613aaf8ef80d04624d64bbad4"
|
|
52
52
|
}
|
|
@@ -495,10 +495,6 @@ 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
|
-
}
|
|
502
498
|
interface AlarmRequest {
|
|
503
499
|
seconds: number;
|
|
504
500
|
someString?: string;
|
|
@@ -691,16 +687,16 @@ interface EventMetadata$1 extends BaseEventMetadata$1 {
|
|
|
691
687
|
*/
|
|
692
688
|
entityEventSequence?: string | null;
|
|
693
689
|
}
|
|
694
|
-
interface
|
|
695
|
-
data:
|
|
690
|
+
interface AlarmDeletedEnvelope {
|
|
691
|
+
data: AlarmDeleted;
|
|
696
692
|
metadata: EventMetadata$1;
|
|
697
693
|
}
|
|
698
694
|
interface AlarmSnoozedEnvelope {
|
|
699
695
|
data: AlarmSnoozed;
|
|
700
696
|
metadata: EventMetadata$1;
|
|
701
697
|
}
|
|
702
|
-
interface
|
|
703
|
-
data:
|
|
698
|
+
interface AlarmTriggeredEnvelope {
|
|
699
|
+
data: AlarmTriggered;
|
|
704
700
|
metadata: EventMetadata$1;
|
|
705
701
|
}
|
|
706
702
|
interface AlarmOptions {
|
|
@@ -727,20 +723,20 @@ interface UpdateAlarmSignature {
|
|
|
727
723
|
*/
|
|
728
724
|
(_id: string, alarm: UpdateAlarm): Promise<UpdateAlarmResponse & UpdateAlarmResponseNonNullableFields>;
|
|
729
725
|
}
|
|
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
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
|
+
declare const onAlarmTriggered$1: EventDefinition<AlarmTriggeredEnvelope, "wix.alarm.v1.alarm_alarm_triggered">;
|
|
733
729
|
|
|
734
730
|
declare function createEventModule$1<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
735
731
|
|
|
736
732
|
declare const alarm: MaybeContext<BuildRESTFunction<typeof alarm$1> & typeof alarm$1>;
|
|
737
733
|
declare const updateAlarm: MaybeContext<BuildRESTFunction<typeof updateAlarm$1> & typeof updateAlarm$1>;
|
|
738
734
|
|
|
739
|
-
type
|
|
735
|
+
type _publicOnAlarmDeletedType = typeof onAlarmDeleted$1;
|
|
740
736
|
/**
|
|
741
|
-
* alarm event that might be consumed when alarm is
|
|
737
|
+
* alarm event that might be consumed when alarm is deleted
|
|
742
738
|
*/
|
|
743
|
-
declare const
|
|
739
|
+
declare const onAlarmDeleted: ReturnType<typeof createEventModule$1<_publicOnAlarmDeletedType>>;
|
|
744
740
|
|
|
745
741
|
type _publicOnAlarmSnoozedType = typeof onAlarmSnoozed$1;
|
|
746
742
|
/**
|
|
@@ -748,11 +744,11 @@ type _publicOnAlarmSnoozedType = typeof onAlarmSnoozed$1;
|
|
|
748
744
|
*/
|
|
749
745
|
declare const onAlarmSnoozed: ReturnType<typeof createEventModule$1<_publicOnAlarmSnoozedType>>;
|
|
750
746
|
|
|
751
|
-
type
|
|
747
|
+
type _publicOnAlarmTriggeredType = typeof onAlarmTriggered$1;
|
|
752
748
|
/**
|
|
753
|
-
* alarm event that might be consumed when alarm is
|
|
749
|
+
* alarm event that might be consumed when alarm is triggered
|
|
754
750
|
*/
|
|
755
|
-
declare const
|
|
751
|
+
declare const onAlarmTriggered: ReturnType<typeof createEventModule$1<_publicOnAlarmTriggeredType>>;
|
|
756
752
|
|
|
757
753
|
type context$2_AlarmDeleted = AlarmDeleted;
|
|
758
754
|
type context$2_AlarmDeletedEnvelope = AlarmDeletedEnvelope;
|
|
@@ -763,8 +759,6 @@ type context$2_AlarmRequestRequiredFields = AlarmRequestRequiredFields;
|
|
|
763
759
|
type context$2_AlarmResponse = AlarmResponse;
|
|
764
760
|
type context$2_AlarmSnoozed = AlarmSnoozed;
|
|
765
761
|
type context$2_AlarmSnoozedEnvelope = AlarmSnoozedEnvelope;
|
|
766
|
-
type context$2_AlarmTestRequest = AlarmTestRequest;
|
|
767
|
-
type context$2_AlarmTestResponse = AlarmTestResponse;
|
|
768
762
|
type context$2_AlarmTriggered = AlarmTriggered;
|
|
769
763
|
type context$2_AlarmTriggeredEnvelope = AlarmTriggeredEnvelope;
|
|
770
764
|
type context$2_UpdateAlarm = UpdateAlarm;
|
|
@@ -781,7 +775,7 @@ declare const context$2_onAlarmSnoozed: typeof onAlarmSnoozed;
|
|
|
781
775
|
declare const context$2_onAlarmTriggered: typeof onAlarmTriggered;
|
|
782
776
|
declare const context$2_updateAlarm: typeof updateAlarm;
|
|
783
777
|
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$
|
|
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 };
|
|
785
779
|
}
|
|
786
780
|
|
|
787
781
|
interface MessageItem {
|
|
@@ -495,10 +495,6 @@ 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
|
-
}
|
|
502
498
|
interface AlarmRequest {
|
|
503
499
|
seconds: number;
|
|
504
500
|
someString?: string;
|
|
@@ -691,16 +687,16 @@ interface EventMetadata$1 extends BaseEventMetadata$1 {
|
|
|
691
687
|
*/
|
|
692
688
|
entityEventSequence?: string | null;
|
|
693
689
|
}
|
|
694
|
-
interface
|
|
695
|
-
data:
|
|
690
|
+
interface AlarmDeletedEnvelope {
|
|
691
|
+
data: AlarmDeleted;
|
|
696
692
|
metadata: EventMetadata$1;
|
|
697
693
|
}
|
|
698
694
|
interface AlarmSnoozedEnvelope {
|
|
699
695
|
data: AlarmSnoozed;
|
|
700
696
|
metadata: EventMetadata$1;
|
|
701
697
|
}
|
|
702
|
-
interface
|
|
703
|
-
data:
|
|
698
|
+
interface AlarmTriggeredEnvelope {
|
|
699
|
+
data: AlarmTriggered;
|
|
704
700
|
metadata: EventMetadata$1;
|
|
705
701
|
}
|
|
706
702
|
interface AlarmOptions {
|
|
@@ -727,20 +723,20 @@ interface UpdateAlarmSignature {
|
|
|
727
723
|
*/
|
|
728
724
|
(_id: string, alarm: UpdateAlarm): Promise<UpdateAlarmResponse & UpdateAlarmResponseNonNullableFields>;
|
|
729
725
|
}
|
|
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
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
|
+
declare const onAlarmTriggered$1: EventDefinition<AlarmTriggeredEnvelope, "wix.alarm.v1.alarm_alarm_triggered">;
|
|
733
729
|
|
|
734
730
|
declare function createEventModule$1<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
735
731
|
|
|
736
732
|
declare const alarm: MaybeContext<BuildRESTFunction<typeof alarm$1> & typeof alarm$1>;
|
|
737
733
|
declare const updateAlarm: MaybeContext<BuildRESTFunction<typeof updateAlarm$1> & typeof updateAlarm$1>;
|
|
738
734
|
|
|
739
|
-
type
|
|
735
|
+
type _publicOnAlarmDeletedType = typeof onAlarmDeleted$1;
|
|
740
736
|
/**
|
|
741
|
-
* alarm event that might be consumed when alarm is
|
|
737
|
+
* alarm event that might be consumed when alarm is deleted
|
|
742
738
|
*/
|
|
743
|
-
declare const
|
|
739
|
+
declare const onAlarmDeleted: ReturnType<typeof createEventModule$1<_publicOnAlarmDeletedType>>;
|
|
744
740
|
|
|
745
741
|
type _publicOnAlarmSnoozedType = typeof onAlarmSnoozed$1;
|
|
746
742
|
/**
|
|
@@ -748,11 +744,11 @@ type _publicOnAlarmSnoozedType = typeof onAlarmSnoozed$1;
|
|
|
748
744
|
*/
|
|
749
745
|
declare const onAlarmSnoozed: ReturnType<typeof createEventModule$1<_publicOnAlarmSnoozedType>>;
|
|
750
746
|
|
|
751
|
-
type
|
|
747
|
+
type _publicOnAlarmTriggeredType = typeof onAlarmTriggered$1;
|
|
752
748
|
/**
|
|
753
|
-
* alarm event that might be consumed when alarm is
|
|
749
|
+
* alarm event that might be consumed when alarm is triggered
|
|
754
750
|
*/
|
|
755
|
-
declare const
|
|
751
|
+
declare const onAlarmTriggered: ReturnType<typeof createEventModule$1<_publicOnAlarmTriggeredType>>;
|
|
756
752
|
|
|
757
753
|
type index_d$2_AlarmDeleted = AlarmDeleted;
|
|
758
754
|
type index_d$2_AlarmDeletedEnvelope = AlarmDeletedEnvelope;
|
|
@@ -763,8 +759,6 @@ type index_d$2_AlarmRequestRequiredFields = AlarmRequestRequiredFields;
|
|
|
763
759
|
type index_d$2_AlarmResponse = AlarmResponse;
|
|
764
760
|
type index_d$2_AlarmSnoozed = AlarmSnoozed;
|
|
765
761
|
type index_d$2_AlarmSnoozedEnvelope = AlarmSnoozedEnvelope;
|
|
766
|
-
type index_d$2_AlarmTestRequest = AlarmTestRequest;
|
|
767
|
-
type index_d$2_AlarmTestResponse = AlarmTestResponse;
|
|
768
762
|
type index_d$2_AlarmTriggered = AlarmTriggered;
|
|
769
763
|
type index_d$2_AlarmTriggeredEnvelope = AlarmTriggeredEnvelope;
|
|
770
764
|
type index_d$2_UpdateAlarm = UpdateAlarm;
|
|
@@ -781,7 +775,7 @@ declare const index_d$2_onAlarmSnoozed: typeof onAlarmSnoozed;
|
|
|
781
775
|
declare const index_d$2_onAlarmTriggered: typeof onAlarmTriggered;
|
|
782
776
|
declare const index_d$2_updateAlarm: typeof updateAlarm;
|
|
783
777
|
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$
|
|
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 };
|
|
785
779
|
}
|
|
786
780
|
|
|
787
781
|
interface MessageItem {
|