@wix/motion 1.0.57 → 1.0.58
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.58",
|
|
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.23",
|
|
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": "6b2495b32719946353c63c5d336cf88afe83c1942c520557c0cb2081"
|
|
52
52
|
}
|
|
@@ -713,13 +713,6 @@ 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
|
-
}
|
|
723
716
|
declare function alarm$1(httpClient: HttpClient): AlarmSignature;
|
|
724
717
|
interface AlarmSignature {
|
|
725
718
|
/**
|
|
@@ -740,7 +733,6 @@ declare const onAlarmDeleted$1: EventDefinition<AlarmDeletedEnvelope, "wix.alarm
|
|
|
740
733
|
|
|
741
734
|
declare function createEventModule$1<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
742
735
|
|
|
743
|
-
declare const alarmTest: MaybeContext<BuildRESTFunction<typeof alarmTest$1> & typeof alarmTest$1>;
|
|
744
736
|
declare const alarm: MaybeContext<BuildRESTFunction<typeof alarm$1> & typeof alarm$1>;
|
|
745
737
|
declare const updateAlarm: MaybeContext<BuildRESTFunction<typeof updateAlarm$1> & typeof updateAlarm$1>;
|
|
746
738
|
|
|
@@ -784,13 +776,12 @@ type context$2__publicOnAlarmDeletedType = _publicOnAlarmDeletedType;
|
|
|
784
776
|
type context$2__publicOnAlarmSnoozedType = _publicOnAlarmSnoozedType;
|
|
785
777
|
type context$2__publicOnAlarmTriggeredType = _publicOnAlarmTriggeredType;
|
|
786
778
|
declare const context$2_alarm: typeof alarm;
|
|
787
|
-
declare const context$2_alarmTest: typeof alarmTest;
|
|
788
779
|
declare const context$2_onAlarmDeleted: typeof onAlarmDeleted;
|
|
789
780
|
declare const context$2_onAlarmSnoozed: typeof onAlarmSnoozed;
|
|
790
781
|
declare const context$2_onAlarmTriggered: typeof onAlarmTriggered;
|
|
791
782
|
declare const context$2_updateAlarm: typeof updateAlarm;
|
|
792
783
|
declare namespace context$2 {
|
|
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$
|
|
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 };
|
|
794
785
|
}
|
|
795
786
|
|
|
796
787
|
interface MessageItem {
|
|
@@ -713,13 +713,6 @@ 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
|
-
}
|
|
723
716
|
declare function alarm$1(httpClient: HttpClient): AlarmSignature;
|
|
724
717
|
interface AlarmSignature {
|
|
725
718
|
/**
|
|
@@ -740,7 +733,6 @@ declare const onAlarmDeleted$1: EventDefinition<AlarmDeletedEnvelope, "wix.alarm
|
|
|
740
733
|
|
|
741
734
|
declare function createEventModule$1<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
742
735
|
|
|
743
|
-
declare const alarmTest: MaybeContext<BuildRESTFunction<typeof alarmTest$1> & typeof alarmTest$1>;
|
|
744
736
|
declare const alarm: MaybeContext<BuildRESTFunction<typeof alarm$1> & typeof alarm$1>;
|
|
745
737
|
declare const updateAlarm: MaybeContext<BuildRESTFunction<typeof updateAlarm$1> & typeof updateAlarm$1>;
|
|
746
738
|
|
|
@@ -784,13 +776,12 @@ type index_d$2__publicOnAlarmDeletedType = _publicOnAlarmDeletedType;
|
|
|
784
776
|
type index_d$2__publicOnAlarmSnoozedType = _publicOnAlarmSnoozedType;
|
|
785
777
|
type index_d$2__publicOnAlarmTriggeredType = _publicOnAlarmTriggeredType;
|
|
786
778
|
declare const index_d$2_alarm: typeof alarm;
|
|
787
|
-
declare const index_d$2_alarmTest: typeof alarmTest;
|
|
788
779
|
declare const index_d$2_onAlarmDeleted: typeof onAlarmDeleted;
|
|
789
780
|
declare const index_d$2_onAlarmSnoozed: typeof onAlarmSnoozed;
|
|
790
781
|
declare const index_d$2_onAlarmTriggered: typeof onAlarmTriggered;
|
|
791
782
|
declare const index_d$2_updateAlarm: typeof updateAlarm;
|
|
792
783
|
declare namespace index_d$2 {
|
|
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$
|
|
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 };
|
|
794
785
|
}
|
|
795
786
|
|
|
796
787
|
interface MessageItem {
|
|
@@ -2,10 +2,6 @@ interface AlarmMessage$1 {
|
|
|
2
2
|
id?: string;
|
|
3
3
|
seconds?: number;
|
|
4
4
|
}
|
|
5
|
-
interface AlarmTestRequest$1 {
|
|
6
|
-
}
|
|
7
|
-
interface AlarmTestResponse$1 {
|
|
8
|
-
}
|
|
9
5
|
interface AlarmRequest$1 {
|
|
10
6
|
seconds: number;
|
|
11
7
|
someString?: string;
|
|
@@ -33,10 +29,6 @@ interface AlarmMessage {
|
|
|
33
29
|
_id?: string;
|
|
34
30
|
seconds?: number;
|
|
35
31
|
}
|
|
36
|
-
interface AlarmTestRequest {
|
|
37
|
-
}
|
|
38
|
-
interface AlarmTestResponse {
|
|
39
|
-
}
|
|
40
32
|
interface AlarmRequest {
|
|
41
33
|
seconds: number;
|
|
42
34
|
someString?: string;
|
|
@@ -70,7 +62,6 @@ type __PublicMethodMetaInfo$2<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
70
62
|
__responseType: Q;
|
|
71
63
|
__originalResponseType: R;
|
|
72
64
|
};
|
|
73
|
-
declare function alarmTest(): __PublicMethodMetaInfo$2<'POST', {}, AlarmTestRequest, AlarmTestRequest$1, AlarmTestResponse, AlarmTestResponse$1>;
|
|
74
65
|
declare function alarm(): __PublicMethodMetaInfo$2<'POST', {
|
|
75
66
|
seconds: string;
|
|
76
67
|
}, AlarmRequest, AlarmRequest$1, AlarmResponse, AlarmResponse$1>;
|
|
@@ -79,10 +70,9 @@ declare function updateAlarm(): __PublicMethodMetaInfo$2<'PATCH', {
|
|
|
79
70
|
}, UpdateAlarmRequest, UpdateAlarmRequest$1, UpdateAlarmResponse & UpdateAlarmResponseNonNullableFields, UpdateAlarmResponse$1 & UpdateAlarmResponseNonNullableFields$1>;
|
|
80
71
|
|
|
81
72
|
declare const meta$2_alarm: typeof alarm;
|
|
82
|
-
declare const meta$2_alarmTest: typeof alarmTest;
|
|
83
73
|
declare const meta$2_updateAlarm: typeof updateAlarm;
|
|
84
74
|
declare namespace meta$2 {
|
|
85
|
-
export { type __PublicMethodMetaInfo$2 as __PublicMethodMetaInfo, meta$2_alarm as alarm, meta$
|
|
75
|
+
export { type __PublicMethodMetaInfo$2 as __PublicMethodMetaInfo, meta$2_alarm as alarm, meta$2_updateAlarm as updateAlarm };
|
|
86
76
|
}
|
|
87
77
|
|
|
88
78
|
interface EchoMessage$1 {
|