@wix/auto_sdk_motion_metroinspector 1.0.0
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/build/cjs/index.d.ts +1 -0
- package/build/cjs/index.js +18 -0
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/index.typings.d.ts +1 -0
- package/build/cjs/index.typings.js +18 -0
- package/build/cjs/index.typings.js.map +1 -0
- package/build/cjs/meta.d.ts +1 -0
- package/build/cjs/meta.js +18 -0
- package/build/cjs/meta.js.map +1 -0
- package/build/cjs/src/metroinspector-v1-echo-metroinspector.context.d.ts +11 -0
- package/build/cjs/src/metroinspector-v1-echo-metroinspector.context.js +15 -0
- package/build/cjs/src/metroinspector-v1-echo-metroinspector.context.js.map +1 -0
- package/build/cjs/src/metroinspector-v1-echo-metroinspector.http.d.ts +3 -0
- package/build/cjs/src/metroinspector-v1-echo-metroinspector.http.js +115 -0
- package/build/cjs/src/metroinspector-v1-echo-metroinspector.http.js.map +1 -0
- package/build/cjs/src/metroinspector-v1-echo-metroinspector.meta.d.ts +15 -0
- package/build/cjs/src/metroinspector-v1-echo-metroinspector.meta.js +47 -0
- package/build/cjs/src/metroinspector-v1-echo-metroinspector.meta.js.map +1 -0
- package/build/cjs/src/metroinspector-v1-echo-metroinspector.public.d.ts +17 -0
- package/build/cjs/src/metroinspector-v1-echo-metroinspector.public.js +24 -0
- package/build/cjs/src/metroinspector-v1-echo-metroinspector.public.js.map +1 -0
- package/build/cjs/src/metroinspector-v1-echo-metroinspector.types.d.ts +189 -0
- package/build/cjs/src/metroinspector-v1-echo-metroinspector.types.js +12 -0
- package/build/cjs/src/metroinspector-v1-echo-metroinspector.types.js.map +1 -0
- package/build/cjs/src/metroinspector-v1-echo-metroinspector.universal.d.ts +266 -0
- package/build/cjs/src/metroinspector-v1-echo-metroinspector.universal.js +81 -0
- package/build/cjs/src/metroinspector-v1-echo-metroinspector.universal.js.map +1 -0
- package/build/es/index.d.ts +1 -0
- package/build/es/index.js +2 -0
- package/build/es/index.js.map +1 -0
- package/build/es/index.typings.d.ts +1 -0
- package/build/es/index.typings.js +2 -0
- package/build/es/index.typings.js.map +1 -0
- package/build/es/meta.d.ts +1 -0
- package/build/es/meta.js +2 -0
- package/build/es/meta.js.map +1 -0
- package/build/es/package.json +3 -0
- package/build/es/src/metroinspector-v1-echo-metroinspector.context.d.ts +11 -0
- package/build/es/src/metroinspector-v1-echo-metroinspector.context.js +11 -0
- package/build/es/src/metroinspector-v1-echo-metroinspector.context.js.map +1 -0
- package/build/es/src/metroinspector-v1-echo-metroinspector.http.d.ts +3 -0
- package/build/es/src/metroinspector-v1-echo-metroinspector.http.js +111 -0
- package/build/es/src/metroinspector-v1-echo-metroinspector.http.js.map +1 -0
- package/build/es/src/metroinspector-v1-echo-metroinspector.meta.d.ts +15 -0
- package/build/es/src/metroinspector-v1-echo-metroinspector.meta.js +20 -0
- package/build/es/src/metroinspector-v1-echo-metroinspector.meta.js.map +1 -0
- package/build/es/src/metroinspector-v1-echo-metroinspector.public.d.ts +17 -0
- package/build/es/src/metroinspector-v1-echo-metroinspector.public.js +19 -0
- package/build/es/src/metroinspector-v1-echo-metroinspector.public.js.map +1 -0
- package/build/es/src/metroinspector-v1-echo-metroinspector.types.d.ts +189 -0
- package/build/es/src/metroinspector-v1-echo-metroinspector.types.js +9 -0
- package/build/es/src/metroinspector-v1-echo-metroinspector.types.js.map +1 -0
- package/build/es/src/metroinspector-v1-echo-metroinspector.universal.d.ts +266 -0
- package/build/es/src/metroinspector-v1-echo-metroinspector.universal.js +54 -0
- package/build/es/src/metroinspector-v1-echo-metroinspector.universal.js.map +1 -0
- package/build/internal/cjs/index.d.ts +1 -0
- package/build/internal/cjs/index.js +18 -0
- package/build/internal/cjs/index.js.map +1 -0
- package/build/internal/cjs/index.typings.d.ts +1 -0
- package/build/internal/cjs/index.typings.js +18 -0
- package/build/internal/cjs/index.typings.js.map +1 -0
- package/build/internal/cjs/meta.d.ts +1 -0
- package/build/internal/cjs/meta.js +18 -0
- package/build/internal/cjs/meta.js.map +1 -0
- package/build/internal/cjs/src/metroinspector-v1-echo-metroinspector.context.d.ts +11 -0
- package/build/internal/cjs/src/metroinspector-v1-echo-metroinspector.context.js +15 -0
- package/build/internal/cjs/src/metroinspector-v1-echo-metroinspector.context.js.map +1 -0
- package/build/internal/cjs/src/metroinspector-v1-echo-metroinspector.http.d.ts +3 -0
- package/build/internal/cjs/src/metroinspector-v1-echo-metroinspector.http.js +115 -0
- package/build/internal/cjs/src/metroinspector-v1-echo-metroinspector.http.js.map +1 -0
- package/build/internal/cjs/src/metroinspector-v1-echo-metroinspector.meta.d.ts +15 -0
- package/build/internal/cjs/src/metroinspector-v1-echo-metroinspector.meta.js +47 -0
- package/build/internal/cjs/src/metroinspector-v1-echo-metroinspector.meta.js.map +1 -0
- package/build/internal/cjs/src/metroinspector-v1-echo-metroinspector.public.d.ts +17 -0
- package/build/internal/cjs/src/metroinspector-v1-echo-metroinspector.public.js +24 -0
- package/build/internal/cjs/src/metroinspector-v1-echo-metroinspector.public.js.map +1 -0
- package/build/internal/cjs/src/metroinspector-v1-echo-metroinspector.types.d.ts +189 -0
- package/build/internal/cjs/src/metroinspector-v1-echo-metroinspector.types.js +12 -0
- package/build/internal/cjs/src/metroinspector-v1-echo-metroinspector.types.js.map +1 -0
- package/build/internal/cjs/src/metroinspector-v1-echo-metroinspector.universal.d.ts +266 -0
- package/build/internal/cjs/src/metroinspector-v1-echo-metroinspector.universal.js +81 -0
- package/build/internal/cjs/src/metroinspector-v1-echo-metroinspector.universal.js.map +1 -0
- package/build/internal/es/index.d.ts +1 -0
- package/build/internal/es/index.js +2 -0
- package/build/internal/es/index.js.map +1 -0
- package/build/internal/es/index.typings.d.ts +1 -0
- package/build/internal/es/index.typings.js +2 -0
- package/build/internal/es/index.typings.js.map +1 -0
- package/build/internal/es/meta.d.ts +1 -0
- package/build/internal/es/meta.js +2 -0
- package/build/internal/es/meta.js.map +1 -0
- package/build/internal/es/src/metroinspector-v1-echo-metroinspector.context.d.ts +11 -0
- package/build/internal/es/src/metroinspector-v1-echo-metroinspector.context.js +11 -0
- package/build/internal/es/src/metroinspector-v1-echo-metroinspector.context.js.map +1 -0
- package/build/internal/es/src/metroinspector-v1-echo-metroinspector.http.d.ts +3 -0
- package/build/internal/es/src/metroinspector-v1-echo-metroinspector.http.js +111 -0
- package/build/internal/es/src/metroinspector-v1-echo-metroinspector.http.js.map +1 -0
- package/build/internal/es/src/metroinspector-v1-echo-metroinspector.meta.d.ts +15 -0
- package/build/internal/es/src/metroinspector-v1-echo-metroinspector.meta.js +20 -0
- package/build/internal/es/src/metroinspector-v1-echo-metroinspector.meta.js.map +1 -0
- package/build/internal/es/src/metroinspector-v1-echo-metroinspector.public.d.ts +17 -0
- package/build/internal/es/src/metroinspector-v1-echo-metroinspector.public.js +19 -0
- package/build/internal/es/src/metroinspector-v1-echo-metroinspector.public.js.map +1 -0
- package/build/internal/es/src/metroinspector-v1-echo-metroinspector.types.d.ts +189 -0
- package/build/internal/es/src/metroinspector-v1-echo-metroinspector.types.js +9 -0
- package/build/internal/es/src/metroinspector-v1-echo-metroinspector.types.js.map +1 -0
- package/build/internal/es/src/metroinspector-v1-echo-metroinspector.universal.d.ts +266 -0
- package/build/internal/es/src/metroinspector-v1-echo-metroinspector.universal.js +54 -0
- package/build/internal/es/src/metroinspector-v1-echo-metroinspector.universal.js.map +1 -0
- package/meta/package.json +3 -0
- package/package.json +52 -0
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
export interface EchoMessage {
|
|
2
|
+
/** message comment from EchoMessage proto def, with special comment */
|
|
3
|
+
message?: string;
|
|
4
|
+
/** messages_list comment from EchoMessage proto def */
|
|
5
|
+
messagesList?: MessageItem[];
|
|
6
|
+
id?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface MessageItem {
|
|
9
|
+
/** inner_message comment from EchoMessage proto def */
|
|
10
|
+
innerMessage?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface EchoRequest {
|
|
13
|
+
/** 1st part of the message */
|
|
14
|
+
arg1: string;
|
|
15
|
+
/** 2nd part of the message */
|
|
16
|
+
arg2?: string;
|
|
17
|
+
/** this field test translatable annotation */
|
|
18
|
+
titleField?: string;
|
|
19
|
+
someInt32?: number;
|
|
20
|
+
someDate?: Date | null;
|
|
21
|
+
}
|
|
22
|
+
export interface EchoResponse {
|
|
23
|
+
/** message result as EchoMessage */
|
|
24
|
+
echoMessage?: EchoMessage;
|
|
25
|
+
/** messge reseult as string */
|
|
26
|
+
message?: string;
|
|
27
|
+
}
|
|
28
|
+
export interface Dispatched {
|
|
29
|
+
/** the message someone says */
|
|
30
|
+
echo?: EchoMessage;
|
|
31
|
+
}
|
|
32
|
+
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
33
|
+
createdEvent?: EntityCreatedEvent;
|
|
34
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
35
|
+
deletedEvent?: EntityDeletedEvent;
|
|
36
|
+
actionEvent?: ActionEvent;
|
|
37
|
+
/**
|
|
38
|
+
* Unique event ID.
|
|
39
|
+
* Allows clients to ignore duplicate webhooks.
|
|
40
|
+
*/
|
|
41
|
+
id?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Assumes actions are also always typed to an entity_type
|
|
44
|
+
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
45
|
+
*/
|
|
46
|
+
entityFqdn?: string;
|
|
47
|
+
/**
|
|
48
|
+
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
49
|
+
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
50
|
+
* Example: created/updated/deleted/started/completed/email_opened
|
|
51
|
+
*/
|
|
52
|
+
slug?: string;
|
|
53
|
+
/** ID of the entity associated with the event. */
|
|
54
|
+
entityId?: string;
|
|
55
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
56
|
+
eventTime?: Date | null;
|
|
57
|
+
/**
|
|
58
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
59
|
+
* (for example, GDPR).
|
|
60
|
+
*/
|
|
61
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
62
|
+
/** If present, indicates the action that triggered the event. */
|
|
63
|
+
originatedFrom?: string | null;
|
|
64
|
+
/**
|
|
65
|
+
* A sequence number defining the order of updates to the underlying entity.
|
|
66
|
+
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
67
|
+
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
68
|
+
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
69
|
+
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
70
|
+
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
71
|
+
*/
|
|
72
|
+
entityEventSequence?: string | null;
|
|
73
|
+
}
|
|
74
|
+
/** @oneof */
|
|
75
|
+
export interface DomainEventBodyOneOf {
|
|
76
|
+
createdEvent?: EntityCreatedEvent;
|
|
77
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
78
|
+
deletedEvent?: EntityDeletedEvent;
|
|
79
|
+
actionEvent?: ActionEvent;
|
|
80
|
+
}
|
|
81
|
+
export interface EntityCreatedEvent {
|
|
82
|
+
entityAsJson?: string;
|
|
83
|
+
/** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
|
|
84
|
+
restoreInfo?: RestoreInfo;
|
|
85
|
+
}
|
|
86
|
+
export interface RestoreInfo {
|
|
87
|
+
deletedDate?: Date | null;
|
|
88
|
+
}
|
|
89
|
+
export interface EntityUpdatedEvent {
|
|
90
|
+
/**
|
|
91
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
92
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
93
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
94
|
+
*/
|
|
95
|
+
currentEntityAsJson?: string;
|
|
96
|
+
}
|
|
97
|
+
export interface EntityDeletedEvent {
|
|
98
|
+
/** Entity that was deleted */
|
|
99
|
+
deletedEntityAsJson?: string | null;
|
|
100
|
+
}
|
|
101
|
+
export interface ActionEvent {
|
|
102
|
+
bodyAsJson?: string;
|
|
103
|
+
}
|
|
104
|
+
export interface MessageEnvelope {
|
|
105
|
+
/**
|
|
106
|
+
* App instance ID.
|
|
107
|
+
* @format GUID
|
|
108
|
+
*/
|
|
109
|
+
instanceId?: string | null;
|
|
110
|
+
/**
|
|
111
|
+
* Event type.
|
|
112
|
+
* @maxLength 150
|
|
113
|
+
*/
|
|
114
|
+
eventType?: string;
|
|
115
|
+
/** The identification type and identity data. */
|
|
116
|
+
identity?: IdentificationData;
|
|
117
|
+
/** Stringify payload. */
|
|
118
|
+
data?: string;
|
|
119
|
+
}
|
|
120
|
+
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
121
|
+
/**
|
|
122
|
+
* ID of a site visitor that has not logged in to the site.
|
|
123
|
+
* @format GUID
|
|
124
|
+
*/
|
|
125
|
+
anonymousVisitorId?: string;
|
|
126
|
+
/**
|
|
127
|
+
* ID of a site visitor that has logged in to the site.
|
|
128
|
+
* @format GUID
|
|
129
|
+
*/
|
|
130
|
+
memberId?: string;
|
|
131
|
+
/**
|
|
132
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
133
|
+
* @format GUID
|
|
134
|
+
*/
|
|
135
|
+
wixUserId?: string;
|
|
136
|
+
/**
|
|
137
|
+
* ID of an app.
|
|
138
|
+
* @format GUID
|
|
139
|
+
*/
|
|
140
|
+
appId?: string;
|
|
141
|
+
/** @readonly */
|
|
142
|
+
identityType?: WebhookIdentityType;
|
|
143
|
+
}
|
|
144
|
+
/** @oneof */
|
|
145
|
+
export interface IdentificationDataIdOneOf {
|
|
146
|
+
/**
|
|
147
|
+
* ID of a site visitor that has not logged in to the site.
|
|
148
|
+
* @format GUID
|
|
149
|
+
*/
|
|
150
|
+
anonymousVisitorId?: string;
|
|
151
|
+
/**
|
|
152
|
+
* ID of a site visitor that has logged in to the site.
|
|
153
|
+
* @format GUID
|
|
154
|
+
*/
|
|
155
|
+
memberId?: string;
|
|
156
|
+
/**
|
|
157
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
158
|
+
* @format GUID
|
|
159
|
+
*/
|
|
160
|
+
wixUserId?: string;
|
|
161
|
+
/**
|
|
162
|
+
* ID of an app.
|
|
163
|
+
* @format GUID
|
|
164
|
+
*/
|
|
165
|
+
appId?: string;
|
|
166
|
+
}
|
|
167
|
+
export declare enum WebhookIdentityType {
|
|
168
|
+
UNKNOWN = "UNKNOWN",
|
|
169
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
170
|
+
MEMBER = "MEMBER",
|
|
171
|
+
WIX_USER = "WIX_USER",
|
|
172
|
+
APP = "APP"
|
|
173
|
+
}
|
|
174
|
+
export interface EchoRequestRequiredFields {
|
|
175
|
+
arg1: string;
|
|
176
|
+
}
|
|
177
|
+
interface MessageItemNonNullableFields {
|
|
178
|
+
innerMessage: string;
|
|
179
|
+
}
|
|
180
|
+
interface EchoMessageNonNullableFields {
|
|
181
|
+
message: string;
|
|
182
|
+
messagesList: MessageItemNonNullableFields[];
|
|
183
|
+
id: string;
|
|
184
|
+
}
|
|
185
|
+
export interface EchoResponseNonNullableFields {
|
|
186
|
+
echoMessage?: EchoMessageNonNullableFields;
|
|
187
|
+
message: string;
|
|
188
|
+
}
|
|
189
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export var WebhookIdentityType;
|
|
2
|
+
(function (WebhookIdentityType) {
|
|
3
|
+
WebhookIdentityType["UNKNOWN"] = "UNKNOWN";
|
|
4
|
+
WebhookIdentityType["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
5
|
+
WebhookIdentityType["MEMBER"] = "MEMBER";
|
|
6
|
+
WebhookIdentityType["WIX_USER"] = "WIX_USER";
|
|
7
|
+
WebhookIdentityType["APP"] = "APP";
|
|
8
|
+
})(WebhookIdentityType || (WebhookIdentityType = {}));
|
|
9
|
+
//# sourceMappingURL=metroinspector-v1-echo-metroinspector.types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"metroinspector-v1-echo-metroinspector.types.js","sourceRoot":"","sources":["../../../src/metroinspector-v1-echo-metroinspector.types.ts"],"names":[],"mappings":"AAqLA,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,KAAnB,mBAAmB,QAM9B"}
|
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
export interface MessageItem {
|
|
2
|
+
/** inner_message comment from EchoMessage proto def */
|
|
3
|
+
innerMessage?: string;
|
|
4
|
+
}
|
|
5
|
+
export interface EchoRequest {
|
|
6
|
+
/** 1st part of the message */
|
|
7
|
+
arg1: string;
|
|
8
|
+
/** 2nd part of the message */
|
|
9
|
+
arg2?: string;
|
|
10
|
+
/** this field test translatable annotation */
|
|
11
|
+
titleField?: string;
|
|
12
|
+
someInt32?: number;
|
|
13
|
+
someDate?: Date | null;
|
|
14
|
+
}
|
|
15
|
+
export interface EchoResponse {
|
|
16
|
+
/** message result as EchoMessage */
|
|
17
|
+
echoMessage?: EchoMessage;
|
|
18
|
+
/** messge reseult as string */
|
|
19
|
+
message?: string;
|
|
20
|
+
}
|
|
21
|
+
export interface Dispatched {
|
|
22
|
+
/** the message someone says */
|
|
23
|
+
echo?: EchoMessage;
|
|
24
|
+
}
|
|
25
|
+
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
26
|
+
createdEvent?: EntityCreatedEvent;
|
|
27
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
28
|
+
deletedEvent?: EntityDeletedEvent;
|
|
29
|
+
actionEvent?: ActionEvent;
|
|
30
|
+
/**
|
|
31
|
+
* Unique event ID.
|
|
32
|
+
* Allows clients to ignore duplicate webhooks.
|
|
33
|
+
*/
|
|
34
|
+
_id?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Assumes actions are also always typed to an entity_type
|
|
37
|
+
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
38
|
+
*/
|
|
39
|
+
entityFqdn?: string;
|
|
40
|
+
/**
|
|
41
|
+
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
42
|
+
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
43
|
+
* Example: created/updated/deleted/started/completed/email_opened
|
|
44
|
+
*/
|
|
45
|
+
slug?: string;
|
|
46
|
+
/** ID of the entity associated with the event. */
|
|
47
|
+
entityId?: string;
|
|
48
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
49
|
+
eventTime?: Date | null;
|
|
50
|
+
/**
|
|
51
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
52
|
+
* (for example, GDPR).
|
|
53
|
+
*/
|
|
54
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
55
|
+
/** If present, indicates the action that triggered the event. */
|
|
56
|
+
originatedFrom?: string | null;
|
|
57
|
+
/**
|
|
58
|
+
* A sequence number defining the order of updates to the underlying entity.
|
|
59
|
+
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
60
|
+
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
61
|
+
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
62
|
+
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
63
|
+
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
64
|
+
*/
|
|
65
|
+
entityEventSequence?: string | null;
|
|
66
|
+
}
|
|
67
|
+
/** @oneof */
|
|
68
|
+
export interface DomainEventBodyOneOf {
|
|
69
|
+
createdEvent?: EntityCreatedEvent;
|
|
70
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
71
|
+
deletedEvent?: EntityDeletedEvent;
|
|
72
|
+
actionEvent?: ActionEvent;
|
|
73
|
+
}
|
|
74
|
+
export interface EntityCreatedEvent {
|
|
75
|
+
entity?: string;
|
|
76
|
+
}
|
|
77
|
+
export interface RestoreInfo {
|
|
78
|
+
deletedDate?: Date | null;
|
|
79
|
+
}
|
|
80
|
+
export interface EntityUpdatedEvent {
|
|
81
|
+
/**
|
|
82
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
83
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
84
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
85
|
+
*/
|
|
86
|
+
currentEntity?: string;
|
|
87
|
+
}
|
|
88
|
+
export interface EntityDeletedEvent {
|
|
89
|
+
/** Entity that was deleted */
|
|
90
|
+
deletedEntity?: string | null;
|
|
91
|
+
}
|
|
92
|
+
export interface ActionEvent {
|
|
93
|
+
body?: string;
|
|
94
|
+
}
|
|
95
|
+
export interface MessageEnvelope {
|
|
96
|
+
/**
|
|
97
|
+
* App instance ID.
|
|
98
|
+
* @format GUID
|
|
99
|
+
*/
|
|
100
|
+
instanceId?: string | null;
|
|
101
|
+
/**
|
|
102
|
+
* Event type.
|
|
103
|
+
* @maxLength 150
|
|
104
|
+
*/
|
|
105
|
+
eventType?: string;
|
|
106
|
+
/** The identification type and identity data. */
|
|
107
|
+
identity?: IdentificationData;
|
|
108
|
+
/** Stringify payload. */
|
|
109
|
+
data?: string;
|
|
110
|
+
}
|
|
111
|
+
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
112
|
+
/**
|
|
113
|
+
* ID of a site visitor that has not logged in to the site.
|
|
114
|
+
* @format GUID
|
|
115
|
+
*/
|
|
116
|
+
anonymousVisitorId?: string;
|
|
117
|
+
/**
|
|
118
|
+
* ID of a site visitor that has logged in to the site.
|
|
119
|
+
* @format GUID
|
|
120
|
+
*/
|
|
121
|
+
memberId?: string;
|
|
122
|
+
/**
|
|
123
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
124
|
+
* @format GUID
|
|
125
|
+
*/
|
|
126
|
+
wixUserId?: string;
|
|
127
|
+
/**
|
|
128
|
+
* ID of an app.
|
|
129
|
+
* @format GUID
|
|
130
|
+
*/
|
|
131
|
+
appId?: string;
|
|
132
|
+
/** @readonly */
|
|
133
|
+
identityType?: WebhookIdentityType;
|
|
134
|
+
}
|
|
135
|
+
/** @oneof */
|
|
136
|
+
export interface IdentificationDataIdOneOf {
|
|
137
|
+
/**
|
|
138
|
+
* ID of a site visitor that has not logged in to the site.
|
|
139
|
+
* @format GUID
|
|
140
|
+
*/
|
|
141
|
+
anonymousVisitorId?: string;
|
|
142
|
+
/**
|
|
143
|
+
* ID of a site visitor that has logged in to the site.
|
|
144
|
+
* @format GUID
|
|
145
|
+
*/
|
|
146
|
+
memberId?: string;
|
|
147
|
+
/**
|
|
148
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
149
|
+
* @format GUID
|
|
150
|
+
*/
|
|
151
|
+
wixUserId?: string;
|
|
152
|
+
/**
|
|
153
|
+
* ID of an app.
|
|
154
|
+
* @format GUID
|
|
155
|
+
*/
|
|
156
|
+
appId?: string;
|
|
157
|
+
}
|
|
158
|
+
export declare enum WebhookIdentityType {
|
|
159
|
+
UNKNOWN = "UNKNOWN",
|
|
160
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
161
|
+
MEMBER = "MEMBER",
|
|
162
|
+
WIX_USER = "WIX_USER",
|
|
163
|
+
APP = "APP"
|
|
164
|
+
}
|
|
165
|
+
export interface EchoRequestRequiredFields {
|
|
166
|
+
arg1: string;
|
|
167
|
+
}
|
|
168
|
+
interface MessageItemNonNullableFields {
|
|
169
|
+
innerMessage: string;
|
|
170
|
+
}
|
|
171
|
+
interface EchoMessageNonNullableFields {
|
|
172
|
+
message: string;
|
|
173
|
+
messagesList: MessageItemNonNullableFields[];
|
|
174
|
+
_id: string;
|
|
175
|
+
}
|
|
176
|
+
export interface EchoResponseNonNullableFields {
|
|
177
|
+
echoMessage?: EchoMessageNonNullableFields;
|
|
178
|
+
message: string;
|
|
179
|
+
}
|
|
180
|
+
export interface EchoMessage {
|
|
181
|
+
veloMessage: string;
|
|
182
|
+
id: string;
|
|
183
|
+
}
|
|
184
|
+
export interface BaseEventMetadata {
|
|
185
|
+
/**
|
|
186
|
+
* App instance ID.
|
|
187
|
+
* @format GUID
|
|
188
|
+
*/
|
|
189
|
+
instanceId?: string | null;
|
|
190
|
+
/**
|
|
191
|
+
* Event type.
|
|
192
|
+
* @maxLength 150
|
|
193
|
+
*/
|
|
194
|
+
eventType?: string;
|
|
195
|
+
/** The identification type and identity data. */
|
|
196
|
+
identity?: IdentificationData;
|
|
197
|
+
}
|
|
198
|
+
export interface EventMetadata extends BaseEventMetadata {
|
|
199
|
+
/**
|
|
200
|
+
* Unique event ID.
|
|
201
|
+
* Allows clients to ignore duplicate webhooks.
|
|
202
|
+
*/
|
|
203
|
+
_id?: string;
|
|
204
|
+
/**
|
|
205
|
+
* Assumes actions are also always typed to an entity_type
|
|
206
|
+
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
207
|
+
*/
|
|
208
|
+
entityFqdn?: string;
|
|
209
|
+
/**
|
|
210
|
+
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
211
|
+
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
212
|
+
* Example: created/updated/deleted/started/completed/email_opened
|
|
213
|
+
*/
|
|
214
|
+
slug?: string;
|
|
215
|
+
/** ID of the entity associated with the event. */
|
|
216
|
+
entityId?: string;
|
|
217
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
218
|
+
eventTime?: Date | null;
|
|
219
|
+
/**
|
|
220
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
221
|
+
* (for example, GDPR).
|
|
222
|
+
*/
|
|
223
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
224
|
+
/** If present, indicates the action that triggered the event. */
|
|
225
|
+
originatedFrom?: string | null;
|
|
226
|
+
/**
|
|
227
|
+
* A sequence number defining the order of updates to the underlying entity.
|
|
228
|
+
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
229
|
+
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
230
|
+
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
231
|
+
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
232
|
+
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
233
|
+
*/
|
|
234
|
+
entityEventSequence?: string | null;
|
|
235
|
+
}
|
|
236
|
+
export interface EchoDispatchedEnvelope {
|
|
237
|
+
data: Dispatched;
|
|
238
|
+
metadata: EventMetadata;
|
|
239
|
+
}
|
|
240
|
+
/**
|
|
241
|
+
* echo event that might be consumed when somone says something!
|
|
242
|
+
* @webhook
|
|
243
|
+
* @eventType wix.metroinspector.v1.echo_dispatched
|
|
244
|
+
* @serviceIdentifier wix.coreservices.metroinspector.v1.MetroInspectorService
|
|
245
|
+
* @slug dispatched
|
|
246
|
+
*/
|
|
247
|
+
export declare function onEchoDispatched(handler: (event: EchoDispatchedEnvelope) => void | Promise<void>): void;
|
|
248
|
+
/**
|
|
249
|
+
* echo given arg1 and arg2
|
|
250
|
+
* @param arg1 - 1st part of the message
|
|
251
|
+
* @public
|
|
252
|
+
* @requiredField arg1
|
|
253
|
+
* @param arg2 - modified comment for arg2 el hovav
|
|
254
|
+
* @returns messge reseult as string
|
|
255
|
+
* @fqn wix.coreservices.metroinspector.v1.MetroInspectorService.Echo
|
|
256
|
+
*/
|
|
257
|
+
export declare function echo(arg1: string, options?: EchoOptions): Promise<string>;
|
|
258
|
+
export interface EchoOptions {
|
|
259
|
+
/** 2nd part of the message */
|
|
260
|
+
arg2?: string;
|
|
261
|
+
/** this field test translatable annotation */
|
|
262
|
+
titleField?: string;
|
|
263
|
+
someInt32?: number;
|
|
264
|
+
someDate?: Date | null;
|
|
265
|
+
}
|
|
266
|
+
export {};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';
|
|
2
|
+
import { renameKeysFromSDKRequestToRESTRequest, renameKeysFromRESTResponseToSDKResponse, } from '@wix/sdk-runtime/rename-all-nested-keys';
|
|
3
|
+
import * as ambassadorWixMetroinspectorV1Echo from './metroinspector-v1-echo-metroinspector.http.js';
|
|
4
|
+
export var WebhookIdentityType;
|
|
5
|
+
(function (WebhookIdentityType) {
|
|
6
|
+
WebhookIdentityType["UNKNOWN"] = "UNKNOWN";
|
|
7
|
+
WebhookIdentityType["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
8
|
+
WebhookIdentityType["MEMBER"] = "MEMBER";
|
|
9
|
+
WebhookIdentityType["WIX_USER"] = "WIX_USER";
|
|
10
|
+
WebhookIdentityType["APP"] = "APP";
|
|
11
|
+
})(WebhookIdentityType || (WebhookIdentityType = {}));
|
|
12
|
+
/**
|
|
13
|
+
* echo given arg1 and arg2
|
|
14
|
+
* @param arg1 - 1st part of the message
|
|
15
|
+
* @public
|
|
16
|
+
* @requiredField arg1
|
|
17
|
+
* @param arg2 - modified comment for arg2 el hovav
|
|
18
|
+
* @returns messge reseult as string
|
|
19
|
+
* @fqn wix.coreservices.metroinspector.v1.MetroInspectorService.Echo
|
|
20
|
+
*/
|
|
21
|
+
export async function echo(arg1, options) {
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
24
|
+
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
25
|
+
arg1: arg1,
|
|
26
|
+
arg2: options?.arg2,
|
|
27
|
+
titleField: options?.titleField,
|
|
28
|
+
someInt32: options?.someInt32,
|
|
29
|
+
someDate: options?.someDate,
|
|
30
|
+
});
|
|
31
|
+
const reqOpts = ambassadorWixMetroinspectorV1Echo.echo(payload);
|
|
32
|
+
sideEffects?.onSiteCall?.();
|
|
33
|
+
try {
|
|
34
|
+
const result = await httpClient.request(reqOpts);
|
|
35
|
+
sideEffects?.onSuccess?.(result);
|
|
36
|
+
return renameKeysFromRESTResponseToSDKResponse(result.data)?.message;
|
|
37
|
+
}
|
|
38
|
+
catch (err) {
|
|
39
|
+
const transformedError = sdkTransformError(err, {
|
|
40
|
+
spreadPathsToArguments: {},
|
|
41
|
+
explicitPathsToArguments: {
|
|
42
|
+
arg1: '$[0]',
|
|
43
|
+
arg2: '$[1].arg2',
|
|
44
|
+
titleField: '$[1].titleField',
|
|
45
|
+
someInt32: '$[1].someInt32',
|
|
46
|
+
someDate: '$[1].someDate',
|
|
47
|
+
},
|
|
48
|
+
singleArgumentUnchanged: false,
|
|
49
|
+
}, ['arg1', 'options']);
|
|
50
|
+
sideEffects?.onError?.(err);
|
|
51
|
+
throw transformedError;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=metroinspector-v1-echo-metroinspector.universal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"metroinspector-v1-echo-metroinspector.universal.js","sourceRoot":"","sources":["../../../src/metroinspector-v1-echo-metroinspector.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,iCAAiC,MAAM,iDAAiD,CAAC;AA6KrG,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,KAAnB,mBAAmB,QAM9B;AAgGD;;;;;;;;GAQG;AACH,MAAM,CAAC,KAAK,UAAU,IAAI,CACxB,IAAY,EACZ,OAAqB;IAErB,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,qCAAqC,CAAC;QACpD,IAAI,EAAE,IAAI;QACV,IAAI,EAAE,OAAO,EAAE,IAAI;QACnB,UAAU,EAAE,OAAO,EAAE,UAAU;QAC/B,SAAS,EAAE,OAAO,EAAE,SAAS;QAC7B,QAAQ,EAAE,OAAO,EAAE,QAAQ;KAC5B,CAAC,CAAC;IAEH,MAAM,OAAO,GAAG,iCAAiC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAEhE,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;QAEjC,OAAO,uCAAuC,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,OAAQ,CAAC;IACxE,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,iBAAiB,CACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE;gBACxB,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,WAAW;gBACjB,UAAU,EAAE,iBAAiB;gBAC7B,SAAS,EAAE,gBAAgB;gBAC3B,QAAQ,EAAE,eAAe;aAC1B;YACD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,MAAM,EAAE,SAAS,CAAC,CACpB,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src/metroinspector-v1-echo-metroinspector.context.js';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./src/metroinspector-v1-echo-metroinspector.context.js"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yFAAuE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src/metroinspector-v1-echo-metroinspector.universal.js';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./src/metroinspector-v1-echo-metroinspector.universal.js"), exports);
|
|
18
|
+
//# sourceMappingURL=index.typings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../../index.typings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2FAAyE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src/metroinspector-v1-echo-metroinspector.meta.js';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./src/metroinspector-v1-echo-metroinspector.meta.js"), exports);
|
|
18
|
+
//# sourceMappingURL=meta.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../../meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sFAAoE"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { echo as publicEcho } from './metroinspector-v1-echo-metroinspector.public.js';
|
|
2
|
+
import { createEventModule } from '@wix/sdk-runtime/event-definition-modules';
|
|
3
|
+
import { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';
|
|
4
|
+
import { onEchoDispatched as publicOnEchoDispatched } from './metroinspector-v1-echo-metroinspector.public.js';
|
|
5
|
+
export declare const echo: MaybeContext<BuildRESTFunction<typeof publicEcho> & typeof publicEcho>;
|
|
6
|
+
/**
|
|
7
|
+
* echo event that might be consumed when somone says something!
|
|
8
|
+
*/
|
|
9
|
+
export declare const onEchoDispatched: ReturnType<typeof createEventModule<typeof publicOnEchoDispatched>>;
|
|
10
|
+
export { WebhookIdentityType } from './metroinspector-v1-echo-metroinspector.universal.js';
|
|
11
|
+
export { MessageItem, EchoRequest, EchoResponse, Dispatched, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, RestoreInfo, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, EchoRequestRequiredFields, EchoResponseNonNullableFields, EchoMessage, BaseEventMetadata, EventMetadata, EchoDispatchedEnvelope, EchoOptions, } from './metroinspector-v1-echo-metroinspector.universal.js';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WebhookIdentityType = exports.onEchoDispatched = exports.echo = void 0;
|
|
4
|
+
const metroinspector_v1_echo_metroinspector_public_js_1 = require("./metroinspector-v1-echo-metroinspector.public.js");
|
|
5
|
+
const rest_modules_1 = require("@wix/sdk-runtime/rest-modules");
|
|
6
|
+
const event_definition_modules_1 = require("@wix/sdk-runtime/event-definition-modules");
|
|
7
|
+
const metroinspector_v1_echo_metroinspector_public_js_2 = require("./metroinspector-v1-echo-metroinspector.public.js");
|
|
8
|
+
exports.echo = (0, rest_modules_1.createRESTModule)(metroinspector_v1_echo_metroinspector_public_js_1.echo);
|
|
9
|
+
/**
|
|
10
|
+
* echo event that might be consumed when somone says something!
|
|
11
|
+
*/
|
|
12
|
+
exports.onEchoDispatched = (0, event_definition_modules_1.createEventModule)(metroinspector_v1_echo_metroinspector_public_js_2.onEchoDispatched);
|
|
13
|
+
var metroinspector_v1_echo_metroinspector_universal_js_1 = require("./metroinspector-v1-echo-metroinspector.universal.js");
|
|
14
|
+
Object.defineProperty(exports, "WebhookIdentityType", { enumerable: true, get: function () { return metroinspector_v1_echo_metroinspector_universal_js_1.WebhookIdentityType; } });
|
|
15
|
+
//# sourceMappingURL=metroinspector-v1-echo-metroinspector.context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"metroinspector-v1-echo-metroinspector.context.js","sourceRoot":"","sources":["../../../../src/metroinspector-v1-echo-metroinspector.context.ts"],"names":[],"mappings":";;;AAAA,uHAAuF;AACvF,gEAAiE;AACjE,wFAA8E;AAE9E,uHAA+G;AAElG,QAAA,IAAI,GAEC,IAAA,+BAAgB,EAAC,sDAAU,CAAC,CAAC;AAC/C;;GAEG;AACU,QAAA,gBAAgB,GAEzB,IAAA,4CAAiB,EAAC,kEAAsB,CAAC,CAAC;AAE9C,2HAA2F;AAAlF,yJAAA,mBAAmB,OAAA"}
|