@mountaya/client 0.0.0-stage → 0.1.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/CHANGELOG.md +104 -0
- package/LICENCE.fr.txt +280 -0
- package/LICENSE.txt +262 -0
- package/README.md +1260 -2
- package/dist/admin/index.cjs +3521 -0
- package/dist/admin/index.cjs.map +1 -0
- package/dist/admin/index.d.cts +1070 -0
- package/dist/admin/index.d.ts +1070 -0
- package/dist/admin/index.js +301 -0
- package/dist/admin/index.js.map +1 -0
- package/dist/browser.cjs +8073 -0
- package/dist/browser.cjs.map +1 -0
- package/dist/browser.d.cts +106 -0
- package/dist/browser.d.ts +106 -0
- package/dist/browser.js +53 -0
- package/dist/browser.js.map +1 -0
- package/dist/chunk-BM526BHG.js +342 -0
- package/dist/chunk-BM526BHG.js.map +1 -0
- package/dist/chunk-D2YEVTG7.js +327 -0
- package/dist/chunk-D2YEVTG7.js.map +1 -0
- package/dist/chunk-OHKVUREN.js +3500 -0
- package/dist/chunk-OHKVUREN.js.map +1 -0
- package/dist/chunk-TDTK2L5H.js +3842 -0
- package/dist/chunk-TDTK2L5H.js.map +1 -0
- package/dist/coreOperations.gen-BMYPoBbz.d.ts +1760 -0
- package/dist/coreOperations.gen-BxX5xRxw.d.cts +1760 -0
- package/dist/errors-B-GqAtQv.d.cts +75960 -0
- package/dist/errors-B-GqAtQv.d.ts +75960 -0
- package/dist/events/index.cjs +1972 -0
- package/dist/events/index.cjs.map +1 -0
- package/dist/events/index.d.cts +781 -0
- package/dist/events/index.d.ts +781 -0
- package/dist/events/index.js +826 -0
- package/dist/events/index.js.map +1 -0
- package/dist/index.cjs +8072 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +76 -0
- package/dist/index.d.ts +76 -0
- package/dist/index.js +52 -0
- package/dist/index.js.map +1 -0
- package/dist/operations.gen-CvTyzKNF.d.cts +3993 -0
- package/dist/operations.gen-DUD406TV.d.ts +3993 -0
- package/package.json +127 -4
- package/src/admin/index.ts +47 -0
- package/src/admin/rules/mountayaAdmin.ts +102 -0
- package/src/browser.ts +232 -0
- package/src/core/engines/sessionToken.ts +870 -0
- package/src/core/rules/auth.ts +1017 -0
- package/src/core/rules/clientHeader.ts +28 -0
- package/src/core/rules/dates.ts +200 -0
- package/src/core/rules/decode.ts +154 -0
- package/src/core/rules/envelope.ts +41 -0
- package/src/core/rules/errors.ts +1486 -0
- package/src/core/rules/graphql.ts +576 -0
- package/src/core/rules/headerValue.ts +42 -0
- package/src/core/rules/idempotencyKey.ts +64 -0
- package/src/core/rules/nullMask.ts +127 -0
- package/src/core/rules/nullMasks.gen.ts +416 -0
- package/src/core/rules/paginate.ts +316 -0
- package/src/core/rules/rateLimit.ts +507 -0
- package/src/core/rules/redaction.ts +219 -0
- package/src/core/rules/resourceRef.ts +110 -0
- package/src/core/rules/responseBody.ts +492 -0
- package/src/core/rules/retry.ts +386 -0
- package/src/core/rules/selection.ts +416 -0
- package/src/core/rules/sessionAnswer.ts +90 -0
- package/src/core/rules/sessionSchedule.ts +131 -0
- package/src/core/rules/sessionWait.ts +112 -0
- package/src/core/rules/transport.ts +2386 -0
- package/src/core/rules/version.gen.ts +16 -0
- package/src/core/rules/webAddress.ts +165 -0
- package/src/core/rules/webAddresses.gen.ts +30 -0
- package/src/data/operations.gen.ts +603 -0
- package/src/data/schema.gen.ts +8078 -0
- package/src/data/selection.gen.ts +472 -0
- package/src/events/index.ts +67 -0
- package/src/events/rules/agent.ts +439 -0
- package/src/events/rules/collab.ts +554 -0
- package/src/events/rules/collabNulls.gen.ts +17 -0
- package/src/events/rules/eventStream.ts +94 -0
- package/src/events/rules/openSseStream.ts +594 -0
- package/src/events/rules/sse.ts +349 -0
- package/src/index.ts +231 -0
- package/src/rest/adminOperations.gen.ts +70 -0
- package/src/rest/adminResources.gen.ts +136 -0
- package/src/rest/coreOperations.gen.ts +74 -0
- package/src/rest/coreResources.gen.ts +244 -0
- package/src/rest/dates.gen.ts +217 -0
- package/src/rest/operations.gen.ts +4341 -0
- package/src/rest/resources.gen.ts +369 -0
- package/src/rest/schema.gen.ts +56840 -0
- package/src/tiles/operations.gen.ts +206 -0
- package/src/tiles/schema.gen.ts +8408 -0
- package/src/webhooks/rules/constructWebhookEvent.ts +482 -0
- package/src/webhooks/rules/webhookEvent.ts +38 -0
- package/src/webhooks/rules/webhookEvents.gen.ts +732 -0
|
@@ -0,0 +1,369 @@
|
|
|
1
|
+
// GENERATED FILE. DO NOT EDIT.
|
|
2
|
+
//
|
|
3
|
+
// Every named schema on the public 'rest' surface, re-exported so the package root
|
|
4
|
+
// can offer them without a hand-maintained list. Generated from the
|
|
5
|
+
// mountaya/schemas contract.
|
|
6
|
+
//
|
|
7
|
+
// Declared in schema.gen.ts and only re-exported here, so a type has one definition
|
|
8
|
+
// and both access paths (the root and the RestSchema namespace) name the same one.
|
|
9
|
+
|
|
10
|
+
export type {
|
|
11
|
+
AcceptedResponse,
|
|
12
|
+
Activity,
|
|
13
|
+
ActivityCapabilities,
|
|
14
|
+
ActivitySlug,
|
|
15
|
+
Address,
|
|
16
|
+
AgentAwaitingInputEvent,
|
|
17
|
+
AgentBudgetDimension,
|
|
18
|
+
AgentBudgetExhaustedEvent,
|
|
19
|
+
AgentChecksUnmetEvent,
|
|
20
|
+
AgentClientToolManifest,
|
|
21
|
+
AgentCloseInput,
|
|
22
|
+
AgentConfirmInput,
|
|
23
|
+
AgentConfirmRequiredEvent,
|
|
24
|
+
AgentDoneEvent,
|
|
25
|
+
AgentErrorCode,
|
|
26
|
+
AgentErrorEvent,
|
|
27
|
+
AgentManifestUpdateInput,
|
|
28
|
+
AgentMessageDeltaEvent,
|
|
29
|
+
AgentMessageEvent,
|
|
30
|
+
AgentReconnectEvent,
|
|
31
|
+
AgentRun,
|
|
32
|
+
AgentRunCreateParams,
|
|
33
|
+
AgentRunEvent,
|
|
34
|
+
AgentRunEventType,
|
|
35
|
+
AgentRunFeedbackParams,
|
|
36
|
+
AgentRunFeedbackRating,
|
|
37
|
+
AgentRunInputParams,
|
|
38
|
+
AgentRunInputType,
|
|
39
|
+
AgentRunProfile,
|
|
40
|
+
AgentRunReason,
|
|
41
|
+
AgentToolAbandonedEvent,
|
|
42
|
+
AgentToolAbandonedReason,
|
|
43
|
+
AgentToolCallEvent,
|
|
44
|
+
AgentToolCallTarget,
|
|
45
|
+
AgentToolErrorCode,
|
|
46
|
+
AgentToolResultEvent,
|
|
47
|
+
AgentToolResultInput,
|
|
48
|
+
AgentUserMessageInput,
|
|
49
|
+
AiCredentialField,
|
|
50
|
+
AiProvider,
|
|
51
|
+
AiProviderCatalog,
|
|
52
|
+
AiProviderConfig,
|
|
53
|
+
AiProviderConfigCreateParams,
|
|
54
|
+
AiProviderConfigEventObject,
|
|
55
|
+
AiProviderConfigUpdateParams,
|
|
56
|
+
AssignableOrganizationRole,
|
|
57
|
+
BadRequestResponse,
|
|
58
|
+
BillingInfo,
|
|
59
|
+
BillingInfoEventObject,
|
|
60
|
+
BillingInfoField,
|
|
61
|
+
BillingInfoTaxIdParams,
|
|
62
|
+
BillingInfoUpdateParams,
|
|
63
|
+
BillingInterval,
|
|
64
|
+
BillingPricing,
|
|
65
|
+
BillingProduct,
|
|
66
|
+
BillingUnitKind,
|
|
67
|
+
Boundaries,
|
|
68
|
+
Capability,
|
|
69
|
+
CategoryActivities,
|
|
70
|
+
CategoryOverlays,
|
|
71
|
+
CollabChangeAction,
|
|
72
|
+
CollabChangeKind,
|
|
73
|
+
CollabCollectionChangedEvent,
|
|
74
|
+
CollabCursorEvent,
|
|
75
|
+
CollabCursorSignal,
|
|
76
|
+
CollabDraftClearEvent,
|
|
77
|
+
CollabDraftClearSignal,
|
|
78
|
+
CollabDraftUpdateEvent,
|
|
79
|
+
CollabDraftUpdateSignal,
|
|
80
|
+
CollabEntity,
|
|
81
|
+
CollabEntityKind,
|
|
82
|
+
CollabItineraryChangedEvent,
|
|
83
|
+
CollabLock,
|
|
84
|
+
CollabLockAcquireSignal,
|
|
85
|
+
CollabLockAcquiredEvent,
|
|
86
|
+
CollabLockReleaseSignal,
|
|
87
|
+
CollabLockReleasedEvent,
|
|
88
|
+
CollabLockSnapshotEvent,
|
|
89
|
+
CollabMember,
|
|
90
|
+
CollabPosition,
|
|
91
|
+
CollabPresenceJoinEvent,
|
|
92
|
+
CollabPresenceLeaveEvent,
|
|
93
|
+
CollabPresenceSnapshotEvent,
|
|
94
|
+
CollabReconnectEvent,
|
|
95
|
+
CollabSegmentChangedEvent,
|
|
96
|
+
CollabSelectionEvent,
|
|
97
|
+
CollabSelectionKind,
|
|
98
|
+
CollabSelectionRef,
|
|
99
|
+
CollabSelectionSignal,
|
|
100
|
+
CollabSignalParams,
|
|
101
|
+
CollabSignalType,
|
|
102
|
+
CollabStreamEvent,
|
|
103
|
+
CollabStreamEventType,
|
|
104
|
+
CollabWaypointChangedEvent,
|
|
105
|
+
CollabZoneChangedEvent,
|
|
106
|
+
Collection,
|
|
107
|
+
CollectionCount,
|
|
108
|
+
CollectionCreateParams,
|
|
109
|
+
CollectionEventObject,
|
|
110
|
+
CollectionItinerariesAddParams,
|
|
111
|
+
CollectionItineraryEventObject,
|
|
112
|
+
CollectionItineraryUpdateParams,
|
|
113
|
+
CollectionShareLinkEventObject,
|
|
114
|
+
CollectionUpdateParams,
|
|
115
|
+
CollectionZoneEventObject,
|
|
116
|
+
CollectionZonesAddParams,
|
|
117
|
+
ConflictMetadata,
|
|
118
|
+
ConflictResponse,
|
|
119
|
+
CreatedResponse,
|
|
120
|
+
Elevation,
|
|
121
|
+
ElevationTileSize,
|
|
122
|
+
EmbeddedStudioDefaultProps,
|
|
123
|
+
EmbeddedStudioSafetyRules,
|
|
124
|
+
EmbeddedStudioTheme,
|
|
125
|
+
EmbeddedStudioThemeColors,
|
|
126
|
+
Errors,
|
|
127
|
+
ExportFormat,
|
|
128
|
+
ExportVariant,
|
|
129
|
+
ForbiddenResponse,
|
|
130
|
+
GatewayTimeoutResponse,
|
|
131
|
+
GeoJSONGeometry,
|
|
132
|
+
GeoJSONGeometryCollection,
|
|
133
|
+
GeoJSONLineString,
|
|
134
|
+
GeoJSONMultiLineString,
|
|
135
|
+
GeoJSONMultiPoint,
|
|
136
|
+
GeoJSONMultiPolygon,
|
|
137
|
+
GeoJSONPoint,
|
|
138
|
+
GeoJSONPolygon,
|
|
139
|
+
HTTPError,
|
|
140
|
+
IdempotentReplayed,
|
|
141
|
+
ImportGranularity,
|
|
142
|
+
ImportProvider,
|
|
143
|
+
ImportRecommendationReason,
|
|
144
|
+
ImportWarning,
|
|
145
|
+
InternalErrorResponse,
|
|
146
|
+
Invoice,
|
|
147
|
+
InvoiceEventObject,
|
|
148
|
+
InvoiceStatus,
|
|
149
|
+
Itinerary,
|
|
150
|
+
ItineraryCount,
|
|
151
|
+
ItineraryCreateParams,
|
|
152
|
+
ItineraryDirectionsStep,
|
|
153
|
+
ItineraryDuplicateParams,
|
|
154
|
+
ItineraryEventObject,
|
|
155
|
+
ItineraryImportConfirmParams,
|
|
156
|
+
ItineraryImportConfirmSegment,
|
|
157
|
+
ItineraryImportConfirmWaypoint,
|
|
158
|
+
ItineraryImportPreview,
|
|
159
|
+
ItineraryOrigin,
|
|
160
|
+
ItineraryPace,
|
|
161
|
+
ItineraryPaceSegment,
|
|
162
|
+
ItinerarySegment,
|
|
163
|
+
ItinerarySegmentEventObject,
|
|
164
|
+
ItinerarySegmentGroup,
|
|
165
|
+
ItinerarySegmentGroupEventObject,
|
|
166
|
+
ItineraryShareLinkEventObject,
|
|
167
|
+
ItineraryStatus,
|
|
168
|
+
ItineraryUpdateParams,
|
|
169
|
+
ItineraryWaypoint,
|
|
170
|
+
ItineraryWaypointEventObject,
|
|
171
|
+
ItineraryWithDetails,
|
|
172
|
+
Language,
|
|
173
|
+
Layers,
|
|
174
|
+
LimitKey,
|
|
175
|
+
ListMetadata,
|
|
176
|
+
LocaleMap,
|
|
177
|
+
Locales,
|
|
178
|
+
ManeuverType,
|
|
179
|
+
Membership,
|
|
180
|
+
MeterDimension,
|
|
181
|
+
NotFoundResponse,
|
|
182
|
+
NotificationPreference,
|
|
183
|
+
NotificationPreferenceUpdate,
|
|
184
|
+
NotificationPreferences,
|
|
185
|
+
NotificationPreferencesUpdateParams,
|
|
186
|
+
NotificationType,
|
|
187
|
+
OkResponse,
|
|
188
|
+
Organization,
|
|
189
|
+
OrganizationBillingPaymentMethodParams,
|
|
190
|
+
OrganizationBillingProvisionParams,
|
|
191
|
+
OrganizationCreateParams,
|
|
192
|
+
OrganizationEntitlementsEventObject,
|
|
193
|
+
OrganizationEventObject,
|
|
194
|
+
OrganizationInvitation,
|
|
195
|
+
OrganizationInvitationCreateParams,
|
|
196
|
+
OrganizationInvitationEventObject,
|
|
197
|
+
OrganizationLookupParams,
|
|
198
|
+
OrganizationMember,
|
|
199
|
+
OrganizationMemberDeletionReason,
|
|
200
|
+
OrganizationMemberEventObject,
|
|
201
|
+
OrganizationMemberUpdateParams,
|
|
202
|
+
OrganizationRole,
|
|
203
|
+
OrganizationSettings,
|
|
204
|
+
OrganizationSettingsEventObject,
|
|
205
|
+
OrganizationSettingsPatchParams,
|
|
206
|
+
OrganizationSubscription,
|
|
207
|
+
OrganizationSubscriptionEventObject,
|
|
208
|
+
OrganizationSubscriptionItem,
|
|
209
|
+
OrganizationSubscriptionSummary,
|
|
210
|
+
OrganizationUpdateParams,
|
|
211
|
+
Overlay,
|
|
212
|
+
OverlayCapabilities,
|
|
213
|
+
OverlayContentType,
|
|
214
|
+
OverlaySupportedCapabilities,
|
|
215
|
+
PaginationMetadata,
|
|
216
|
+
PayloadTooLargeResponse,
|
|
217
|
+
PaymentMethod,
|
|
218
|
+
PaymentMethodCard,
|
|
219
|
+
PaymentMethodEventObject,
|
|
220
|
+
PaymentMethodSepaDebit,
|
|
221
|
+
PaymentRequiredResponse,
|
|
222
|
+
Preferences,
|
|
223
|
+
PreferencesUpdateParams,
|
|
224
|
+
PromotionCodePreview,
|
|
225
|
+
ProposedCandidate,
|
|
226
|
+
ProposedSegment,
|
|
227
|
+
ProposedWaypoint,
|
|
228
|
+
PublishableKey,
|
|
229
|
+
PublishableKeyCreateParams,
|
|
230
|
+
PublishableKeyEventObject,
|
|
231
|
+
PublishableKeyScope,
|
|
232
|
+
PublishableKeyUpdateParams,
|
|
233
|
+
RangeType,
|
|
234
|
+
ReadSurface,
|
|
235
|
+
RelationToUser,
|
|
236
|
+
ResponseMetadataCreatedPart,
|
|
237
|
+
ResponseMetadataIdempotentAnswer,
|
|
238
|
+
ResponseMetadataLimitReached,
|
|
239
|
+
ResponseMetadataLockConflict,
|
|
240
|
+
ResponseMetadataPatchCollection,
|
|
241
|
+
ResponseMetadataPatchItinerary,
|
|
242
|
+
ResponseMetadataPatchZone,
|
|
243
|
+
ResponseMetadataPostCollection,
|
|
244
|
+
ResponseMetadataPostItinerary,
|
|
245
|
+
ResponseMetadataPostOrganizationInvitation,
|
|
246
|
+
ResponseMetadataPostZone,
|
|
247
|
+
RoadAccessInfo,
|
|
248
|
+
RoadAccessRestrictionType,
|
|
249
|
+
SecretKeyEventObject,
|
|
250
|
+
SegmentConvertParams,
|
|
251
|
+
SegmentCreateParams,
|
|
252
|
+
SegmentGroupCreateParams,
|
|
253
|
+
SegmentGroupUpdateParams,
|
|
254
|
+
SegmentMode,
|
|
255
|
+
SegmentSplitParams,
|
|
256
|
+
SegmentUpdateParams,
|
|
257
|
+
ServiceUnavailableResponse,
|
|
258
|
+
Session,
|
|
259
|
+
SessionCreateParams,
|
|
260
|
+
SessionSurface,
|
|
261
|
+
SetupIntentSession,
|
|
262
|
+
ShareLink,
|
|
263
|
+
SlopeInfo,
|
|
264
|
+
SpeedInfo,
|
|
265
|
+
StreamReconnectReason,
|
|
266
|
+
StudioEntitlement,
|
|
267
|
+
SubscriptionCollectionMethod,
|
|
268
|
+
SubscriptionDiscount,
|
|
269
|
+
SubscriptionStatus,
|
|
270
|
+
SuccessExtensions,
|
|
271
|
+
SurfaceInfo,
|
|
272
|
+
SurfaceType,
|
|
273
|
+
TaxId,
|
|
274
|
+
Terrain,
|
|
275
|
+
TerrainTileSize,
|
|
276
|
+
TerrainVariant,
|
|
277
|
+
TerrainVariantAsStyle,
|
|
278
|
+
TerrainVariantAsTiles,
|
|
279
|
+
TerrainVariantConfig,
|
|
280
|
+
TerrainVariants,
|
|
281
|
+
Theme,
|
|
282
|
+
TileLayer,
|
|
283
|
+
TileLayerType,
|
|
284
|
+
TileLegend,
|
|
285
|
+
TileLegendKind,
|
|
286
|
+
TileLegendStep,
|
|
287
|
+
TileSource,
|
|
288
|
+
TileSourceSize,
|
|
289
|
+
TileSourceType,
|
|
290
|
+
TooManyRequestsResponse,
|
|
291
|
+
TrailDifficultyInfo,
|
|
292
|
+
TrailDifficultyType,
|
|
293
|
+
UnauthorizedResponse,
|
|
294
|
+
UnitLegend,
|
|
295
|
+
UnitLength,
|
|
296
|
+
UnitPace,
|
|
297
|
+
UnitSlope,
|
|
298
|
+
UnitTemperature,
|
|
299
|
+
UsageDataPoint,
|
|
300
|
+
UsageDataResourceType,
|
|
301
|
+
UsageDataSurface,
|
|
302
|
+
UsageMetric,
|
|
303
|
+
UsageStatusClass,
|
|
304
|
+
UsageTilePoint,
|
|
305
|
+
UsageTileResourceType,
|
|
306
|
+
UsageTileSurface,
|
|
307
|
+
UserInvitation,
|
|
308
|
+
WayType,
|
|
309
|
+
WayTypeInfo,
|
|
310
|
+
WaypointAmenity,
|
|
311
|
+
WaypointContact,
|
|
312
|
+
WaypointCreateParams,
|
|
313
|
+
WaypointIcon,
|
|
314
|
+
WaypointLink,
|
|
315
|
+
WaypointMedia,
|
|
316
|
+
WaypointMode,
|
|
317
|
+
WaypointPhoto,
|
|
318
|
+
WaypointProperty,
|
|
319
|
+
WaypointPropertyFormat,
|
|
320
|
+
WaypointTiming,
|
|
321
|
+
WaypointUpdateParams,
|
|
322
|
+
WebhookAttemptOutcome,
|
|
323
|
+
WebhookDelivery,
|
|
324
|
+
WebhookDeliveryAttempt,
|
|
325
|
+
WebhookDeliveryCreateParams,
|
|
326
|
+
WebhookDeliveryOutcome,
|
|
327
|
+
WebhookDeliveryRecipient,
|
|
328
|
+
WebhookDeliveryTestParams,
|
|
329
|
+
WebhookDeliveryTrigger,
|
|
330
|
+
WebhookDeliveryTriggerKind,
|
|
331
|
+
WebhookDeliveryWithAttempts,
|
|
332
|
+
WebhookDestinationKind,
|
|
333
|
+
WebhookEndpoint,
|
|
334
|
+
WebhookEndpointCreateParams,
|
|
335
|
+
WebhookEndpointDisabledReason,
|
|
336
|
+
WebhookEndpointEventObject,
|
|
337
|
+
WebhookEndpointStatus,
|
|
338
|
+
WebhookEndpointUpdateParams,
|
|
339
|
+
WebhookEndpointWithSecret,
|
|
340
|
+
WebhookEvent,
|
|
341
|
+
WebhookEventActor,
|
|
342
|
+
WebhookEventActorType,
|
|
343
|
+
WebhookEventCatalogEntry,
|
|
344
|
+
WebhookEventData,
|
|
345
|
+
WebhookEventObject,
|
|
346
|
+
WebhookEventRelatedObject,
|
|
347
|
+
WebhookEventRequest,
|
|
348
|
+
WebhookEventType,
|
|
349
|
+
WebhookEventWithDeliveries,
|
|
350
|
+
WebhookFailureClass,
|
|
351
|
+
WebhookFailureKind,
|
|
352
|
+
WebhookHealth,
|
|
353
|
+
WebhookHealthDestination,
|
|
354
|
+
WebhookHealthFailure,
|
|
355
|
+
WebhookHealthFigures,
|
|
356
|
+
WebhookHealthGranularity,
|
|
357
|
+
WebhookHealthPoint,
|
|
358
|
+
WebhookHealthWindow,
|
|
359
|
+
Zone,
|
|
360
|
+
ZoneCreateParams,
|
|
361
|
+
ZoneEventObject,
|
|
362
|
+
ZoneFeature,
|
|
363
|
+
ZoneLevel,
|
|
364
|
+
ZoneMode,
|
|
365
|
+
ZoneSource,
|
|
366
|
+
ZoneSourceKind,
|
|
367
|
+
ZoneStatus,
|
|
368
|
+
ZoneUpdateParams,
|
|
369
|
+
} from "./schema.gen.js";
|