@wix/auto_sdk_motion_metroinspector 1.0.5 → 1.0.7
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.js +306 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.js +306 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js +306 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +306 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.mjs +306 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.mjs +306 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +306 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.js +306 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.js +306 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +306 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.mjs +306 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.mjs +306 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/index.js
CHANGED
|
@@ -43,42 +43,202 @@ var import_rest_modules = require("@wix/sdk-runtime/rest-modules");
|
|
|
43
43
|
function resolveWixCoreservicesMetroinspectorV1MetroInspectorServiceUrl(opts) {
|
|
44
44
|
const domainToMappings = {
|
|
45
45
|
"apps._base_domain_": [
|
|
46
|
+
{
|
|
47
|
+
srcPath: "/_api/metro-inspector",
|
|
48
|
+
destPath: "/api"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
srcPath: "/_api/metro-inspector",
|
|
52
|
+
destPath: "/api"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
srcPath: "/_api/metro-inspector",
|
|
56
|
+
destPath: "/api"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
srcPath: "/_api/metro-inspector",
|
|
60
|
+
destPath: "/api"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
srcPath: "/_api/metro-inspector",
|
|
64
|
+
destPath: "/api"
|
|
65
|
+
},
|
|
46
66
|
{
|
|
47
67
|
srcPath: "/_api/metro-inspector",
|
|
48
68
|
destPath: "/api"
|
|
49
69
|
}
|
|
50
70
|
],
|
|
51
71
|
"api._api_base_domain_": [
|
|
72
|
+
{
|
|
73
|
+
srcPath: "/metro-inspector",
|
|
74
|
+
destPath: ""
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
srcPath: "/metro-inspector",
|
|
78
|
+
destPath: ""
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
srcPath: "/metro-inspector",
|
|
82
|
+
destPath: ""
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
srcPath: "/metro-inspector",
|
|
86
|
+
destPath: ""
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
srcPath: "/metro-inspector",
|
|
90
|
+
destPath: ""
|
|
91
|
+
},
|
|
52
92
|
{
|
|
53
93
|
srcPath: "/metro-inspector",
|
|
54
94
|
destPath: ""
|
|
55
95
|
}
|
|
56
96
|
],
|
|
57
97
|
"www._base_domain_": [
|
|
98
|
+
{
|
|
99
|
+
srcPath: "/metro-inspector",
|
|
100
|
+
destPath: "/api"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
srcPath: "/metro-inspector",
|
|
104
|
+
destPath: "/api"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
srcPath: "/metro-inspector",
|
|
108
|
+
destPath: "/api"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
srcPath: "/metro-inspector",
|
|
112
|
+
destPath: "/api"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
srcPath: "/metro-inspector",
|
|
116
|
+
destPath: "/api"
|
|
117
|
+
},
|
|
58
118
|
{
|
|
59
119
|
srcPath: "/metro-inspector",
|
|
60
120
|
destPath: "/api"
|
|
61
121
|
}
|
|
62
122
|
],
|
|
63
123
|
"manage._base_domain_": [
|
|
124
|
+
{
|
|
125
|
+
srcPath: "/metro-inspector",
|
|
126
|
+
destPath: ""
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
srcPath: "/metro-inspector",
|
|
130
|
+
destPath: ""
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
srcPath: "/metro-inspector",
|
|
134
|
+
destPath: ""
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
srcPath: "/metro-inspector",
|
|
138
|
+
destPath: ""
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
srcPath: "/metro-inspector",
|
|
142
|
+
destPath: ""
|
|
143
|
+
},
|
|
64
144
|
{
|
|
65
145
|
srcPath: "/metro-inspector",
|
|
66
146
|
destPath: ""
|
|
67
147
|
}
|
|
68
148
|
],
|
|
69
149
|
"www.wixgateway.com": [
|
|
150
|
+
{
|
|
151
|
+
srcPath: "/_api/metro-inspector",
|
|
152
|
+
destPath: "/api"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
srcPath: "/_api/metro-inspector",
|
|
156
|
+
destPath: "/api"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
srcPath: "/_api/metro-inspector",
|
|
160
|
+
destPath: "/api"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
srcPath: "/_api/metro-inspector",
|
|
164
|
+
destPath: "/api"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
srcPath: "/_api/metro-inspector",
|
|
168
|
+
destPath: "/api"
|
|
169
|
+
},
|
|
70
170
|
{
|
|
71
171
|
srcPath: "/_api/metro-inspector",
|
|
72
172
|
destPath: "/api"
|
|
73
173
|
}
|
|
74
174
|
],
|
|
75
175
|
_: [
|
|
176
|
+
{
|
|
177
|
+
srcPath: "/_api/metro-inspector",
|
|
178
|
+
destPath: "/api"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
srcPath: "/_api/metro-inspector",
|
|
182
|
+
destPath: "/api"
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
srcPath: "/_api/metro-inspector",
|
|
186
|
+
destPath: "/api"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
srcPath: "/_api/metro-inspector",
|
|
190
|
+
destPath: "/api"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
srcPath: "/_api/metro-inspector",
|
|
194
|
+
destPath: "/api"
|
|
195
|
+
},
|
|
76
196
|
{
|
|
77
197
|
srcPath: "/_api/metro-inspector",
|
|
78
198
|
destPath: "/api"
|
|
79
199
|
}
|
|
80
200
|
],
|
|
81
201
|
"www.wixapis.com": [
|
|
202
|
+
{
|
|
203
|
+
srcPath: "/_api/metro-inspector",
|
|
204
|
+
destPath: "/api"
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
srcPath: "/metro-inspector",
|
|
208
|
+
destPath: ""
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
srcPath: "/_api/metro-inspector",
|
|
212
|
+
destPath: "/api"
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
srcPath: "/metro-inspector",
|
|
216
|
+
destPath: ""
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
srcPath: "/_api/metro-inspector",
|
|
220
|
+
destPath: "/api"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
srcPath: "/metro-inspector",
|
|
224
|
+
destPath: ""
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
srcPath: "/_api/metro-inspector",
|
|
228
|
+
destPath: "/api"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
srcPath: "/metro-inspector",
|
|
232
|
+
destPath: ""
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
srcPath: "/_api/metro-inspector",
|
|
236
|
+
destPath: "/api"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
srcPath: "/metro-inspector",
|
|
240
|
+
destPath: ""
|
|
241
|
+
},
|
|
82
242
|
{
|
|
83
243
|
srcPath: "/_api/metro-inspector",
|
|
84
244
|
destPath: "/api"
|
|
@@ -89,6 +249,46 @@ function resolveWixCoreservicesMetroinspectorV1MetroInspectorServiceUrl(opts) {
|
|
|
89
249
|
}
|
|
90
250
|
],
|
|
91
251
|
"editor._base_domain_": [
|
|
252
|
+
{
|
|
253
|
+
srcPath: "/metro-insepctor",
|
|
254
|
+
destPath: ""
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
srcPath: "/_api/metro-inspector",
|
|
258
|
+
destPath: "/api"
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
srcPath: "/metro-insepctor",
|
|
262
|
+
destPath: ""
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
srcPath: "/_api/metro-inspector",
|
|
266
|
+
destPath: "/api"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
srcPath: "/metro-insepctor",
|
|
270
|
+
destPath: ""
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
srcPath: "/_api/metro-inspector",
|
|
274
|
+
destPath: "/api"
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
srcPath: "/metro-insepctor",
|
|
278
|
+
destPath: ""
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
srcPath: "/_api/metro-inspector",
|
|
282
|
+
destPath: "/api"
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
srcPath: "/metro-insepctor",
|
|
286
|
+
destPath: ""
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
srcPath: "/_api/metro-inspector",
|
|
290
|
+
destPath: "/api"
|
|
291
|
+
},
|
|
92
292
|
{
|
|
93
293
|
srcPath: "/metro-insepctor",
|
|
94
294
|
destPath: ""
|
|
@@ -99,6 +299,46 @@ function resolveWixCoreservicesMetroinspectorV1MetroInspectorServiceUrl(opts) {
|
|
|
99
299
|
}
|
|
100
300
|
],
|
|
101
301
|
"blocks._base_domain_": [
|
|
302
|
+
{
|
|
303
|
+
srcPath: "/metro-insepctor",
|
|
304
|
+
destPath: ""
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
srcPath: "/_api/metro-inspector",
|
|
308
|
+
destPath: "/api"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
srcPath: "/metro-insepctor",
|
|
312
|
+
destPath: ""
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
srcPath: "/_api/metro-inspector",
|
|
316
|
+
destPath: "/api"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
srcPath: "/metro-insepctor",
|
|
320
|
+
destPath: ""
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
srcPath: "/_api/metro-inspector",
|
|
324
|
+
destPath: "/api"
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
srcPath: "/metro-insepctor",
|
|
328
|
+
destPath: ""
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
srcPath: "/_api/metro-inspector",
|
|
332
|
+
destPath: "/api"
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
srcPath: "/metro-insepctor",
|
|
336
|
+
destPath: ""
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
srcPath: "/_api/metro-inspector",
|
|
340
|
+
destPath: "/api"
|
|
341
|
+
},
|
|
102
342
|
{
|
|
103
343
|
srcPath: "/metro-insepctor",
|
|
104
344
|
destPath: ""
|
|
@@ -116,6 +356,72 @@ function resolveWixCoreservicesMetroinspectorV1MetroInspectorServiceUrl(opts) {
|
|
|
116
356
|
{
|
|
117
357
|
srcPath: "/_api/metro-inspector",
|
|
118
358
|
destPath: "/api"
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
srcPath: "/metro-insepctor",
|
|
362
|
+
destPath: ""
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
srcPath: "/_api/metro-inspector",
|
|
366
|
+
destPath: "/api"
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
srcPath: "/metro-insepctor",
|
|
370
|
+
destPath: ""
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
srcPath: "/_api/metro-inspector",
|
|
374
|
+
destPath: "/api"
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
srcPath: "/metro-insepctor",
|
|
378
|
+
destPath: ""
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
srcPath: "/_api/metro-inspector",
|
|
382
|
+
destPath: "/api"
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
srcPath: "/metro-insepctor",
|
|
386
|
+
destPath: ""
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
srcPath: "/_api/metro-inspector",
|
|
390
|
+
destPath: "/api"
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
srcPath: "/metro-insepctor",
|
|
394
|
+
destPath: ""
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
srcPath: "/_api/metro-inspector",
|
|
398
|
+
destPath: "/api"
|
|
399
|
+
}
|
|
400
|
+
],
|
|
401
|
+
"dev._base_domain_": [
|
|
402
|
+
{
|
|
403
|
+
srcPath: "/_api/metro-inspector",
|
|
404
|
+
destPath: ""
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
srcPath: "/_api/metro-inspector",
|
|
408
|
+
destPath: ""
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
srcPath: "/_api/metro-inspector",
|
|
412
|
+
destPath: ""
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
srcPath: "/_api/metro-inspector",
|
|
416
|
+
destPath: ""
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
srcPath: "/_api/metro-inspector",
|
|
420
|
+
destPath: ""
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
srcPath: "/_api/metro-inspector",
|
|
424
|
+
destPath: ""
|
|
119
425
|
}
|
|
120
426
|
]
|
|
121
427
|
};
|
package/build/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../index.ts","../../src/metroinspector-v1-echo-metroinspector.public.ts","../../src/metroinspector-v1-echo-metroinspector.universal.ts","../../src/metroinspector-v1-echo-metroinspector.http.ts","../../src/metroinspector-v1-echo-metroinspector.context.ts"],"sourcesContent":["export * from './src/metroinspector-v1-echo-metroinspector.context.js';\n","import { renameKeysFromRESTResponseToSDKResponse } from '@wix/sdk-runtime/rename-all-nested-keys';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { EventDefinition, HttpClient } from '@wix/sdk-types';\nimport {\n EchoDispatchedEnvelope,\n EchoOptions,\n echo as universalEcho,\n} from './metroinspector-v1-echo-metroinspector.universal.js';\n\nexport const __metadata = { PACKAGE_NAME: '@wix/motion' };\n\nexport function echo(httpClient: HttpClient): EchoSignature {\n return (arg1: string, options?: EchoOptions) =>\n universalEcho(\n arg1,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface EchoSignature {\n /**\n * echo given arg1 and arg2\n * @param - 1st part of the message\n * @param - modified comment for arg2 el hovav\n * @returns messge reseult as string\n */\n (arg1: string, options?: EchoOptions): Promise<string>;\n}\n\nexport const onEchoDispatched = EventDefinition(\n 'wix.metroinspector.v1.echo_dispatched',\n true,\n (event: EchoDispatchedEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [{ path: 'metadata.eventTime' }],\n },\n ])\n )\n)<EchoDispatchedEnvelope>();\n\nexport {\n ActionEvent,\n BaseEventMetadata,\n Dispatched,\n DomainEvent,\n DomainEventBodyOneOf,\n EchoDispatchedEnvelope,\n EchoMessage,\n EchoOptions,\n EchoRequest,\n EchoResponse,\n EntityCreatedEvent,\n EntityDeletedEvent,\n EntityUpdatedEvent,\n EventMetadata,\n IdentificationData,\n IdentificationDataIdOneOf,\n MessageEnvelope,\n MessageItem,\n RestoreInfo,\n WebhookIdentityType,\n} from './metroinspector-v1-echo-metroinspector.universal.js';\n","import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';\nimport {\n renameKeysFromSDKRequestToRESTRequest,\n renameKeysFromRESTResponseToSDKResponse,\n} from '@wix/sdk-runtime/rename-all-nested-keys';\nimport { HttpClient } from '@wix/sdk-types';\nimport * as ambassadorWixMetroinspectorV1Echo from './metroinspector-v1-echo-metroinspector.http.js';\n\nexport interface MessageItem {\n /** inner_message comment from EchoMessage proto def */\n innerMessage?: string;\n}\n\nexport interface EchoRequest {\n /** 1st part of the message */\n arg1: string;\n /** 2nd part of the message */\n arg2?: string;\n /** this field test translatable annotation */\n titleField?: string;\n someInt32?: number;\n someDate?: Date | null;\n}\n\nexport interface EchoResponse {\n /** message result as EchoMessage */\n echoMessage?: EchoMessage;\n /** messge reseult as string */\n message?: string;\n}\n\nexport interface Dispatched {\n /** the message someone says */\n echo?: EchoMessage;\n}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n _id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entity?: string;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntity?: string;\n}\n\nexport interface EntityDeletedEvent {\n /** Entity that was deleted. */\n deletedEntity?: string | null;\n}\n\nexport interface ActionEvent {\n body?: string;\n}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n\nexport interface EchoMessage {\n veloMessage: string;\n id: string;\n}\n\nexport interface BaseEventMetadata {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n}\n\nexport interface EventMetadata extends BaseEventMetadata {\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n _id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\nexport interface EchoDispatchedEnvelope {\n data: Dispatched;\n metadata: EventMetadata;\n}\n\n/**\n * echo event that might be consumed when somone says something!\n * @webhook\n * @eventType wix.metroinspector.v1.echo_dispatched\n * @serviceIdentifier wix.coreservices.metroinspector.v1.MetroInspectorService\n * @slug dispatched\n */\nexport declare function onEchoDispatched(\n handler: (event: EchoDispatchedEnvelope) => void | Promise<void>\n): void;\n\n/**\n * echo given arg1 and arg2\n * @param arg1 - 1st part of the message\n * @public\n * @requiredField arg1\n * @param arg2 - modified comment for arg2 el hovav\n * @returns messge reseult as string\n * @fqn wix.coreservices.metroinspector.v1.MetroInspectorService.Echo\n */\nexport async function echo(\n arg1: string,\n options?: EchoOptions\n): Promise<string> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n arg1: arg1,\n arg2: options?.arg2,\n titleField: options?.titleField,\n someInt32: options?.someInt32,\n someDate: options?.someDate,\n });\n\n const reqOpts = ambassadorWixMetroinspectorV1Echo.echo(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)?.message!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n arg1: '$[0]',\n arg2: '$[1].arg2',\n titleField: '$[1].titleField',\n someInt32: '$[1].someInt32',\n someDate: '$[1].someDate',\n },\n singleArgumentUnchanged: false,\n },\n ['arg1', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface EchoOptions {\n /** 2nd part of the message */\n arg2?: string;\n /** this field test translatable annotation */\n titleField?: string;\n someInt32?: number;\n someDate?: Date | null;\n}\n","import { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixCoreservicesMetroinspectorV1MetroInspectorServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'apps._base_domain_': [\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n ],\n 'api._api_base_domain_': [\n {\n srcPath: '/metro-inspector',\n destPath: '',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/metro-inspector',\n destPath: '/api',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/metro-inspector',\n destPath: '',\n },\n ],\n 'www.wixgateway.com': [\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n ],\n _: [\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n {\n srcPath: '/metro-inspector',\n destPath: '',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/metro-insepctor',\n destPath: '',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/metro-insepctor',\n destPath: '',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/metro-insepctor',\n destPath: '',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_motion_metroinspector';\n\n/** echo given arg1 and arg2 */\nexport function echo(payload: object): RequestOptionsFactory<any> {\n function __echo({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [{ path: 'someDate' }],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.metroinspector.v1.echo',\n method: 'POST' as any,\n methodFqn:\n 'wix.coreservices.metroinspector.v1.MetroInspectorService.Echo',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixCoreservicesMetroinspectorV1MetroInspectorServiceUrl({\n protoPath: '/api/v1/echo/{arg1}',\n data: serializedData,\n host,\n }),\n data: serializedData,\n };\n\n return metadata;\n }\n\n return __echo;\n}\n","import { echo as publicEcho } from './metroinspector-v1-echo-metroinspector.public.js';\nimport { createRESTModule } from '@wix/sdk-runtime/rest-modules';\nimport { createEventModule } from '@wix/sdk-runtime/event-definition-modules';\nimport {\n BuildRESTFunction,\n MaybeContext,\n BuildEventDefinition,\n} from '@wix/sdk-types';\nimport { onEchoDispatched as publicOnEchoDispatched } from './metroinspector-v1-echo-metroinspector.public.js';\n\nexport const echo: MaybeContext<\n BuildRESTFunction<typeof publicEcho> & typeof publicEcho\n> = /*#__PURE__*/ createRESTModule(publicEcho);\n/**\n * echo event that might be consumed when somone says something!\n */\nexport const onEchoDispatched: BuildEventDefinition<\n typeof publicOnEchoDispatched\n> &\n typeof publicOnEchoDispatched = createEventModule(publicOnEchoDispatched);\n\nexport { WebhookIdentityType } from './metroinspector-v1-echo-metroinspector.universal.js';\nexport {\n MessageItem,\n EchoRequest,\n EchoResponse,\n Dispatched,\n DomainEvent,\n DomainEventBodyOneOf,\n EntityCreatedEvent,\n RestoreInfo,\n EntityUpdatedEvent,\n EntityDeletedEvent,\n ActionEvent,\n MessageEnvelope,\n IdentificationData,\n IdentificationDataIdOneOf,\n EchoMessage,\n BaseEventMetadata,\n EventMetadata,\n EchoDispatchedEnvelope,\n EchoOptions,\n} from './metroinspector-v1-echo-metroinspector.universal.js';\nexport { WebhookIdentityTypeWithLiterals } from './metroinspector-v1-echo-metroinspector.universal.js';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA,cAAAA;AAAA,EAAA,wBAAAC;AAAA;AAAA;;;ACAA,IAAAC,iCAAwD;AACxD,IAAAC,oBAAqD;AACrD,IAAAC,0BAA+B;AAC/B,uBAA4C;;;ACH5C,6BAAoD;AACpD,oCAGO;;;ACJP,uBAAqD;AACrD,6BAA+B;AAC/B,0BAA2B;AAI3B,SAAS,+DACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,sBAAsB;AAAA,MACpB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,yBAAyB;AAAA,MACvB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,qBAAqB;AAAA,MACnB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,sBAAsB;AAAA,MACpB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,GAAG;AAAA,MACD;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,mBAAmB;AAAA,MACjB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;A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U,CAAC;AAK/C,QAAM,cAAU,qEAAsC;AAAA,IACpD;AAAA,IACA,MAAM,SAAS;AAAA,IACf,YAAY,SAAS;AAAA,IACrB,WAAW,SAAS;AAAA,IACpB,UAAU,SAAS;AAAA,EACrB,CAAC;AAED,QAAM,UAA4C,KAAK,OAAO;AAE9D,eAAa,aAAa;AAC1B,MAAI;AACF,UAAM,SAAS,MAAM,WAAW,QAAQ,OAAO;AAC/C,iBAAa,YAAY,MAAM;AAE/B,eAAO,uEAAwC,OAAO,IAAI,GAAG;AAAA,EAC/D,SAAS,KAAU;AACjB,UAAM,uBAAmB,uBAAAC;AAAA,MACvB;AAAA,MACA;AAAA,QACE,wBAAwB,CAAC;AAAA,QACzB,0BAA0B;AAAA,UACxB,MAAM;AAAA,UACN,MAAM;AAAA,UACN,YAAY;AAAA,UACZ,WAAW;AAAA,UACX,UAAU;AAAA,QACZ;AAAA,QACA,yBAAyB;AAAA,MAC3B;AAAA,MACA,CAAC,QAAQ,SAAS;AAAA,IACpB;AACA,iBAAa,UAAU,GAAG;AAE1B,UAAM;AAAA,EACR;AACF;;;AD1SO,SAASC,MAAK,YAAuC;AAC1D,SAAO,CAAC,MAAc,YACpBA;AAAA,IACE;AAAA,IACA;AAAA;AAAA,IAEA,EAAE,WAAW;AAAA,EACf;AACJ;AAYO,IAAM,uBAAmB;AAAA,EAC9B;AAAA,EACA;AAAA,EACA,CAAC,cACC;AAAA,QACE,wCAAe,OAAO;AAAA,MACpB;AAAA,QACE,aAAa;AAAA,QACb,OAAO,CAAC,EAAE,MAAM,qBAAqB,CAAC;AAAA,MACxC;AAAA,IACF,CAAC;AAAA,EACH;AACJ,EAA0B;;;AG3C1B,IAAAC,uBAAiC;AACjC,sCAAkC;AAQ3B,IAAMC,QAEK,2DAAiBA,KAAU;AAItC,IAAMC,wBAGqB,mDAAkB,gBAAsB;","names":["echo","onEchoDispatched","import_rename_all_nested_keys","import_timestamp","import_transform_paths","WebhookIdentityType","echo","sdkTransformError","echo","import_rest_modules","echo","onEchoDispatched"]}
|
|
1
|
+
{"version":3,"sources":["../../index.ts","../../src/metroinspector-v1-echo-metroinspector.public.ts","../../src/metroinspector-v1-echo-metroinspector.universal.ts","../../src/metroinspector-v1-echo-metroinspector.http.ts","../../src/metroinspector-v1-echo-metroinspector.context.ts"],"sourcesContent":["export * from './src/metroinspector-v1-echo-metroinspector.context.js';\n","import { renameKeysFromRESTResponseToSDKResponse } from '@wix/sdk-runtime/rename-all-nested-keys';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { EventDefinition, HttpClient } from '@wix/sdk-types';\nimport {\n EchoDispatchedEnvelope,\n EchoOptions,\n echo as universalEcho,\n} from './metroinspector-v1-echo-metroinspector.universal.js';\n\nexport const __metadata = { PACKAGE_NAME: '@wix/motion' };\n\nexport function echo(httpClient: HttpClient): EchoSignature {\n return (arg1: string, options?: EchoOptions) =>\n universalEcho(\n arg1,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface EchoSignature {\n /**\n * echo given arg1 and arg2\n * @param - 1st part of the message\n * @param - modified comment for arg2 el hovav\n * @returns messge reseult as string\n */\n (arg1: string, options?: EchoOptions): Promise<string>;\n}\n\nexport const onEchoDispatched = EventDefinition(\n 'wix.metroinspector.v1.echo_dispatched',\n true,\n (event: EchoDispatchedEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [{ path: 'metadata.eventTime' }],\n },\n ])\n )\n)<EchoDispatchedEnvelope>();\n\nexport {\n ActionEvent,\n BaseEventMetadata,\n Dispatched,\n DomainEvent,\n DomainEventBodyOneOf,\n EchoDispatchedEnvelope,\n EchoMessage,\n EchoOptions,\n EchoRequest,\n EchoResponse,\n EntityCreatedEvent,\n EntityDeletedEvent,\n EntityUpdatedEvent,\n EventMetadata,\n IdentificationData,\n IdentificationDataIdOneOf,\n MessageEnvelope,\n MessageItem,\n RestoreInfo,\n WebhookIdentityType,\n} from './metroinspector-v1-echo-metroinspector.universal.js';\n","import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';\nimport {\n renameKeysFromSDKRequestToRESTRequest,\n renameKeysFromRESTResponseToSDKResponse,\n} from '@wix/sdk-runtime/rename-all-nested-keys';\nimport { HttpClient } from '@wix/sdk-types';\nimport * as ambassadorWixMetroinspectorV1Echo from './metroinspector-v1-echo-metroinspector.http.js';\n\nexport interface MessageItem {\n /** inner_message comment from EchoMessage proto def */\n innerMessage?: string;\n}\n\nexport interface EchoRequest {\n /** 1st part of the message */\n arg1: string;\n /** 2nd part of the message */\n arg2?: string;\n /** this field test translatable annotation */\n titleField?: string;\n someInt32?: number;\n someDate?: Date | null;\n}\n\nexport interface EchoResponse {\n /** message result as EchoMessage */\n echoMessage?: EchoMessage;\n /** messge reseult as string */\n message?: string;\n}\n\nexport interface Dispatched {\n /** the message someone says */\n echo?: EchoMessage;\n}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n _id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entity?: string;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntity?: string;\n}\n\nexport interface EntityDeletedEvent {\n /** Entity that was deleted. */\n deletedEntity?: string | null;\n}\n\nexport interface ActionEvent {\n body?: string;\n}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n\nexport interface EchoMessage {\n veloMessage: string;\n id: string;\n}\n\nexport interface BaseEventMetadata {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n}\n\nexport interface EventMetadata extends BaseEventMetadata {\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n _id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\nexport interface EchoDispatchedEnvelope {\n data: Dispatched;\n metadata: EventMetadata;\n}\n\n/**\n * echo event that might be consumed when somone says something!\n * @webhook\n * @eventType wix.metroinspector.v1.echo_dispatched\n * @serviceIdentifier wix.coreservices.metroinspector.v1.MetroInspectorService\n * @slug dispatched\n */\nexport declare function onEchoDispatched(\n handler: (event: EchoDispatchedEnvelope) => void | Promise<void>\n): void;\n\n/**\n * echo given arg1 and arg2\n * @param arg1 - 1st part of the message\n * @public\n * @requiredField arg1\n * @param arg2 - modified comment for arg2 el hovav\n * @returns messge reseult as string\n * @fqn wix.coreservices.metroinspector.v1.MetroInspectorService.Echo\n */\nexport async function echo(\n arg1: string,\n options?: EchoOptions\n): Promise<string> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n arg1: arg1,\n arg2: options?.arg2,\n titleField: options?.titleField,\n someInt32: options?.someInt32,\n someDate: options?.someDate,\n });\n\n const reqOpts = ambassadorWixMetroinspectorV1Echo.echo(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)?.message!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n arg1: '$[0]',\n arg2: '$[1].arg2',\n titleField: '$[1].titleField',\n someInt32: '$[1].someInt32',\n someDate: '$[1].someDate',\n },\n singleArgumentUnchanged: false,\n },\n ['arg1', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface EchoOptions {\n /** 2nd part of the message */\n arg2?: string;\n /** this field test translatable annotation */\n titleField?: string;\n someInt32?: number;\n someDate?: Date | null;\n}\n","import { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixCoreservicesMetroinspectorV1MetroInspectorServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'apps._base_domain_': [\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n ],\n 'api._api_base_domain_': [\n {\n srcPath: '/metro-inspector',\n destPath: '',\n },\n {\n srcPath: '/metro-inspector',\n destPath: '',\n },\n {\n srcPath: '/metro-inspector',\n destPath: '',\n },\n {\n srcPath: '/metro-inspector',\n destPath: '',\n },\n {\n srcPath: '/metro-inspector',\n destPath: '',\n },\n {\n srcPath: '/metro-inspector',\n destPath: '',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/metro-inspector',\n destPath: '/api',\n },\n {\n srcPath: '/metro-inspector',\n destPath: '/api',\n },\n {\n srcPath: '/metro-inspector',\n destPath: '/api',\n },\n {\n srcPath: '/metro-inspector',\n destPath: '/api',\n },\n {\n srcPath: '/metro-inspector',\n destPath: '/api',\n },\n {\n srcPath: '/metro-inspector',\n destPath: '/api',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/metro-inspector',\n destPath: '',\n },\n {\n srcPath: '/metro-inspector',\n destPath: '',\n },\n {\n srcPath: '/metro-inspector',\n destPath: '',\n },\n {\n srcPath: '/metro-inspector',\n destPath: '',\n },\n {\n srcPath: '/metro-inspector',\n destPath: '',\n },\n {\n srcPath: '/metro-inspector',\n destPath: '',\n },\n ],\n 'www.wixgateway.com': [\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n ],\n _: [\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n {\n srcPath: '/metro-inspector',\n destPath: '',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n {\n srcPath: '/metro-inspector',\n destPath: '',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n {\n srcPath: '/metro-inspector',\n destPath: '',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n {\n srcPath: '/metro-inspector',\n destPath: '',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n {\n srcPath: '/metro-inspector',\n destPath: '',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n {\n srcPath: '/metro-inspector',\n destPath: '',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/metro-insepctor',\n destPath: '',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n {\n srcPath: '/metro-insepctor',\n destPath: '',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n {\n srcPath: '/metro-insepctor',\n destPath: '',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n {\n srcPath: '/metro-insepctor',\n destPath: '',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n {\n srcPath: '/metro-insepctor',\n destPath: '',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n {\n srcPath: '/metro-insepctor',\n destPath: '',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/metro-insepctor',\n destPath: '',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n {\n srcPath: '/metro-insepctor',\n destPath: '',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n {\n srcPath: '/metro-insepctor',\n destPath: '',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n {\n srcPath: '/metro-insepctor',\n destPath: '',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n {\n srcPath: '/metro-insepctor',\n destPath: '',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n {\n srcPath: '/metro-insepctor',\n destPath: '',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/metro-insepctor',\n destPath: '',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n {\n srcPath: '/metro-insepctor',\n destPath: '',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n {\n srcPath: '/metro-insepctor',\n destPath: '',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n {\n srcPath: '/metro-insepctor',\n destPath: '',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n {\n srcPath: '/metro-insepctor',\n destPath: '',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n {\n srcPath: '/metro-insepctor',\n destPath: '',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n ],\n 'dev._base_domain_': [\n {\n srcPath: '/_api/metro-inspector',\n destPath: '',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_motion_metroinspector';\n\n/** echo given arg1 and arg2 */\nexport function echo(payload: object): RequestOptionsFactory<any> {\n function __echo({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [{ path: 'someDate' }],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.metroinspector.v1.echo',\n method: 'POST' as any,\n methodFqn:\n 'wix.coreservices.metroinspector.v1.MetroInspectorService.Echo',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixCoreservicesMetroinspectorV1MetroInspectorServiceUrl({\n protoPath: '/api/v1/echo/{arg1}',\n data: serializedData,\n host,\n }),\n data: serializedData,\n };\n\n return metadata;\n }\n\n return __echo;\n}\n","import { echo as publicEcho } from './metroinspector-v1-echo-metroinspector.public.js';\nimport { createRESTModule } from '@wix/sdk-runtime/rest-modules';\nimport { createEventModule } from '@wix/sdk-runtime/event-definition-modules';\nimport {\n BuildRESTFunction,\n MaybeContext,\n BuildEventDefinition,\n} from '@wix/sdk-types';\nimport { onEchoDispatched as publicOnEchoDispatched } from './metroinspector-v1-echo-metroinspector.public.js';\n\nexport const echo: MaybeContext<\n BuildRESTFunction<typeof publicEcho> & typeof publicEcho\n> = /*#__PURE__*/ createRESTModule(publicEcho);\n/**\n * echo event that might be consumed when somone says something!\n */\nexport const onEchoDispatched: BuildEventDefinition<\n typeof publicOnEchoDispatched\n> &\n typeof publicOnEchoDispatched = createEventModule(publicOnEchoDispatched);\n\nexport { WebhookIdentityType } from './metroinspector-v1-echo-metroinspector.universal.js';\nexport {\n MessageItem,\n EchoRequest,\n EchoResponse,\n Dispatched,\n DomainEvent,\n DomainEventBodyOneOf,\n EntityCreatedEvent,\n RestoreInfo,\n EntityUpdatedEvent,\n EntityDeletedEvent,\n ActionEvent,\n MessageEnvelope,\n IdentificationData,\n IdentificationDataIdOneOf,\n EchoMessage,\n BaseEventMetadata,\n EventMetadata,\n EchoDispatchedEnvelope,\n EchoOptions,\n} from './metroinspector-v1-echo-metroinspector.universal.js';\nexport { WebhookIdentityTypeWithLiterals } from './metroinspector-v1-echo-metroinspector.universal.js';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA,cAAAA;AAAA,EAAA,wBAAAC;AAAA;AAAA;;;ACAA,IAAAC,iCAAwD;AACxD,IAAAC,oBAAqD;AACrD,IAAAC,0BAA+B;AAC/B,uBAA4C;;;ACH5C,6BAAoD;AACpD,oCAGO;;;ACJP,uBAAqD;AACrD,6BAA+B;AAC/B,0BAA2B;AAI3B,SAAS,+DACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,sBAAsB;AAAA,MACpB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,M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AAA,IACpB,UAAU,SAAS;AAAA,EACrB,CAAC;AAED,QAAM,UAA4C,KAAK,OAAO;AAE9D,eAAa,aAAa;AAC1B,MAAI;AACF,UAAM,SAAS,MAAM,WAAW,QAAQ,OAAO;AAC/C,iBAAa,YAAY,MAAM;AAE/B,eAAO,uEAAwC,OAAO,IAAI,GAAG;AAAA,EAC/D,SAAS,KAAU;AACjB,UAAM,uBAAmB,uBAAAC;AAAA,MACvB;AAAA,MACA;AAAA,QACE,wBAAwB,CAAC;AAAA,QACzB,0BAA0B;AAAA,UACxB,MAAM;AAAA,UACN,MAAM;AAAA,UACN,YAAY;AAAA,UACZ,WAAW;AAAA,UACX,UAAU;AAAA,QACZ;AAAA,QACA,yBAAyB;AAAA,MAC3B;AAAA,MACA,CAAC,QAAQ,SAAS;AAAA,IACpB;AACA,iBAAa,UAAU,GAAG;AAE1B,UAAM;AAAA,EACR;AACF;;;AD1SO,SAASC,MAAK,YAAuC;AAC1D,SAAO,CAAC,MAAc,YACpBA;AAAA,IACE;AAAA,IACA;AAAA;AAAA,IAEA,EAAE,WAAW;AAAA,EACf;AACJ;AAYO,IAAM,uBAAmB;AAAA,EAC9B;AAAA,EACA;AAAA,EACA,CAAC,cACC;AAAA,QACE,wCAAe,OAAO;AAAA,MACpB;AAAA,QACE,aAAa;AAAA,QACb,OAAO,CAAC,EAAE,MAAM,qBAAqB,CAAC;AAAA,MACxC;AAAA,IACF,CAAC;AAAA,EACH;AACJ,EAA0B;;;AG3C1B,IAAAC,uBAAiC;AACjC,sCAAkC;AAQ3B,IAAMC,QAEK,2DAAiBA,KAAU;AAItC,IAAMC,wBAGqB,mDAAkB,gBAAsB;","names":["echo","onEchoDispatched","import_rename_all_nested_keys","import_timestamp","import_transform_paths","WebhookIdentityType","echo","sdkTransformError","echo","import_rest_modules","echo","onEchoDispatched"]}
|