onehook-api-client 1.0.43 → 1.0.44

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.
@@ -1,5 +1,5 @@
1
- export declare const TELEMETRY_CATALOG_VERSION = "1.17.0";
2
- export declare const TELEMETRY_CATALOG_HASH = "76d9d66743a9261c";
1
+ export declare const TELEMETRY_CATALOG_VERSION = "1.24.0";
2
+ export declare const TELEMETRY_CATALOG_HASH = "139c2761335ed6ce";
3
3
  /** Every signal type the ingest accepts. */
4
4
  export declare const SignalType: {
5
5
  readonly SCREEN_VIEW: "screen_view";
@@ -342,6 +342,32 @@ export declare const UiElement: {
342
342
  readonly CHAT_VOICE_RECORD_STOP: "chat.voice_record_stop";
343
343
  readonly CHAT_VOICE_RECORD_CANCEL: "chat.voice_record_cancel";
344
344
  readonly CHAT_VOICE_SEND: "chat.voice_send";
345
+ readonly CHAT_VOICE_RECORD_LOCK: "chat.voice_record_lock";
346
+ readonly CHAT_VOICE_PREVIEW_PLAY: "chat.voice_preview_play";
347
+ readonly CHAT_AUDIO_SPEED: "chat.audio_speed";
348
+ readonly CHAT_AUDIO_SCRUB: "chat.audio_scrub";
349
+ readonly CHAT_MESSAGE_REPLY: "chat.message_reply";
350
+ readonly CHAT_REPLY_CANCEL: "chat.reply_cancel";
351
+ readonly CHAT_REPLY_JUMP: "chat.reply_jump";
352
+ readonly CHAT_MESSAGE_REACT: "chat.message_react";
353
+ readonly CHAT_REACTION_PICKER_OPEN: "chat.reaction_picker_open";
354
+ readonly CHAT_MESSAGE_ASK_MR_ONEHOOK: "chat.message_ask_mr_onehook";
355
+ readonly CHAT_REACTION_PICKER_CATEGORY: "chat.reaction_picker_category";
356
+ readonly CHAT_SELECT_OPEN: "chat.select_open";
357
+ readonly CHAT_SELECT_TOGGLE: "chat.select_toggle";
358
+ readonly CHAT_SELECT_CANCEL: "chat.select_cancel";
359
+ readonly CHAT_SELECT_ASK_MR_ONEHOOK: "chat.select_ask_mr_onehook";
360
+ readonly CHAT_SELECT_COPY: "chat.select_copy";
361
+ readonly CHAT_LOCATION_SHARE: "chat.location_share";
362
+ readonly CHAT_LIVE_LOCATION_DURATION: "chat.live_location_duration";
363
+ readonly CHAT_LIVE_LOCATION_STOP: "chat.live_location_stop";
364
+ readonly CHAT_LOCATION_OPEN: "chat.location_open";
365
+ readonly CHAT_LOCATION_DIRECTIONS: "chat.location_directions";
366
+ readonly CHAT_CONTACT_OPEN: "chat.contact_open";
367
+ readonly CHAT_MESSAGE_COPY: "chat.message_copy";
368
+ readonly CHAT_MESSAGE_INFO: "chat.message_info";
369
+ readonly CHAT_MESSAGE_RETRY: "chat.message_retry";
370
+ readonly CHAT_JUMP_TO_LATEST: "chat.jump_to_latest";
345
371
  readonly CHAT_CONVERSATION_SWITCH: "chat.conversation_switch";
346
372
  readonly CHAT_CONVERSATION_SORT: "chat.conversation_sort";
347
373
  readonly CHAT_CONVERSATION_SORT_OPEN: "chat.conversation_sort_open";
@@ -368,6 +394,8 @@ export declare const UiElement: {
368
394
  readonly CHAT_CALL_HISTORY_OPEN: "chat.call_history_open";
369
395
  readonly CALL_ACCEPT: "call.accept";
370
396
  readonly CALL_DECLINE: "call.decline";
397
+ readonly CALL_VIDEO_SWAP: "call.video_swap";
398
+ readonly CALL_CONTROLS_TOGGLE: "call.controls_toggle";
371
399
  readonly CALL_END: "call.end";
372
400
  readonly CALL_MUTE: "call.mute";
373
401
  readonly CALL_CAMERA: "call.camera";
@@ -0,0 +1,135 @@
1
+ // GENERATED FILE - DO NOT EDIT.
2
+ // Source of truth: OneHookBackend/packages/api-models/model/smithy/*.smithy (every HTTP route is a Smithy operation).
3
+ // Regenerate: (OneHookBackend) npm --prefix packages/api-models run build && npm run api:sync
4
+
5
+ @file:Suppress("unused")
6
+
7
+ package club.onehook.telemetry
8
+
9
+ /**
10
+ * Every OneHook backend HTTP operation, sorted by service, path, method. [Entry.auth] is "cognito", "iam" or
11
+ * "none". The Mr OneHook and admin portal APIs are in MrOneHookApiManifest / AdminPortalApiManifest
12
+ * (generated by their own repos).
13
+ */
14
+ object ApiManifest {
15
+ data class Entry(val operationId: String, val method: String, val path: String, val service: String, val auth: String)
16
+
17
+ val operations: List<Entry> = listOf(
18
+ Entry(operationId = "GetGraphMatch", method = "GET", path = "/graph/matches/{matchId}", service = "analytics", auth = "iam"),
19
+ Entry(operationId = "GetGraphUser", method = "GET", path = "/graph/users/{userId}", service = "analytics", auth = "iam"),
20
+ Entry(operationId = "GetGraphInvites", method = "GET", path = "/graph/users/{userId}/invites", service = "analytics", auth = "iam"),
21
+ Entry(operationId = "ListGraphUserMatches", method = "GET", path = "/graph/users/{userId}/matches", service = "analytics", auth = "iam"),
22
+ Entry(operationId = "IngestSignals", method = "POST", path = "/signals", service = "analytics", auth = "cognito"),
23
+ Entry(operationId = "GetMediaStats", method = "GET", path = "/signals/media-stats", service = "analytics", auth = "cognito"),
24
+ Entry(operationId = "ListMyDevices", method = "GET", path = "/chat/devices", service = "chat", auth = "cognito"),
25
+ Entry(operationId = "RegisterDevice", method = "POST", path = "/chat/devices", service = "chat", auth = "cognito"),
26
+ Entry(operationId = "RevokeDevice", method = "DELETE", path = "/chat/devices/{deviceId}", service = "chat", auth = "cognito"),
27
+ Entry(operationId = "DeletePushToken", method = "DELETE", path = "/chat/devices/{deviceId}/push-token", service = "chat", auth = "cognito"),
28
+ Entry(operationId = "RegisterPushToken", method = "PUT", path = "/chat/devices/{deviceId}/push-token", service = "chat", auth = "cognito"),
29
+ Entry(operationId = "GetHistoryState", method = "GET", path = "/chat/history", service = "chat", auth = "cognito"),
30
+ Entry(operationId = "EstablishHistoryEpoch", method = "POST", path = "/chat/history/epochs", service = "chat", auth = "cognito"),
31
+ Entry(operationId = "PutHistoryWrap", method = "POST", path = "/chat/history/wraps", service = "chat", auth = "cognito"),
32
+ Entry(operationId = "RevokeHistoryWrap", method = "DELETE", path = "/chat/history/wraps/{epoch}/{method}/{wrapId}", service = "chat", auth = "cognito"),
33
+ Entry(operationId = "DeleteMatchMessages", method = "DELETE", path = "/chat/match/{matchId}", service = "chat", auth = "cognito"),
34
+ Entry(operationId = "CreateMediaDownloadUrl", method = "POST", path = "/chat/media/download-url", service = "chat", auth = "cognito"),
35
+ Entry(operationId = "CreateMediaUploadUrl", method = "POST", path = "/chat/media/upload-url", service = "chat", auth = "cognito"),
36
+ Entry(operationId = "GetParticipantRegistry", method = "GET", path = "/chat/registry/{userId}", service = "chat", auth = "cognito"),
37
+ Entry(operationId = "GetChatSettings", method = "GET", path = "/chat/settings", service = "chat", auth = "cognito"),
38
+ Entry(operationId = "UpdateChatSettings", method = "PUT", path = "/chat/settings", service = "chat", auth = "cognito"),
39
+ Entry(operationId = "CreateAdminInvite", method = "POST", path = "/identity/admin/invites", service = "identity", auth = "iam"),
40
+ Entry(operationId = "GetAdminPhoneStatus", method = "POST", path = "/identity/admin/phone-status", service = "identity", auth = "iam"),
41
+ Entry(operationId = "GetAccountState", method = "GET", path = "/identity/admin/users/{userId}/account-state", service = "identity", auth = "iam"),
42
+ Entry(operationId = "SetAccountState", method = "POST", path = "/identity/admin/users/{userId}/account-state", service = "identity", auth = "iam"),
43
+ Entry(operationId = "GetPreservationHold", method = "GET", path = "/identity/admin/users/{userId}/preservation-hold", service = "identity", auth = "iam"),
44
+ Entry(operationId = "SetPreservationHold", method = "PUT", path = "/identity/admin/users/{userId}/preservation-hold", service = "identity", auth = "iam"),
45
+ Entry(operationId = "RevokeUserAccess", method = "POST", path = "/identity/admin/users/{userId}/revoke-access", service = "identity", auth = "iam"),
46
+ Entry(operationId = "RegisterPhone", method = "POST", path = "/identity/auth/register/phone", service = "identity", auth = "none"),
47
+ Entry(operationId = "RequestPhoneOtp", method = "POST", path = "/identity/auth/register/phone/request-otp", service = "identity", auth = "none"),
48
+ Entry(operationId = "AuthSocial", method = "POST", path = "/identity/auth/social", service = "identity", auth = "none"),
49
+ Entry(operationId = "GetInviteEdges", method = "GET", path = "/identity/internal/users/{userId}/invite-edges", service = "identity", auth = "iam"),
50
+ Entry(operationId = "GenerateInvite", method = "POST", path = "/identity/invite/generate", service = "identity", auth = "cognito"),
51
+ Entry(operationId = "ValidateInvite", method = "GET", path = "/identity/invite/validate/{inviteCode}", service = "identity", auth = "none"),
52
+ Entry(operationId = "LinkEmail", method = "POST", path = "/identity/user/email/link", service = "identity", auth = "cognito"),
53
+ Entry(operationId = "RequestEmailOtp", method = "POST", path = "/identity/user/email/link/request-otp", service = "identity", auth = "cognito"),
54
+ Entry(operationId = "GetUserByEmail", method = "GET", path = "/identity/user/email/{email}", service = "identity", auth = "cognito"),
55
+ Entry(operationId = "SetPassword", method = "PUT", path = "/identity/user/password", service = "identity", auth = "cognito"),
56
+ Entry(operationId = "UpdatePhoneNumber", method = "PUT", path = "/identity/user/phone", service = "identity", auth = "cognito"),
57
+ Entry(operationId = "RequestPhoneUpdateOtp", method = "POST", path = "/identity/user/phone/request-otp", service = "identity", auth = "cognito"),
58
+ Entry(operationId = "LinkSocial", method = "POST", path = "/identity/user/social/link", service = "identity", auth = "cognito"),
59
+ Entry(operationId = "UnlinkSocial", method = "DELETE", path = "/identity/user/social/{provider}", service = "identity", auth = "cognito"),
60
+ Entry(operationId = "UpdateUsername", method = "PUT", path = "/identity/user/username", service = "identity", auth = "cognito"),
61
+ Entry(operationId = "CheckUsernameAvailability", method = "GET", path = "/identity/user/username/availability/{username}", service = "identity", auth = "cognito"),
62
+ Entry(operationId = "GetUser", method = "GET", path = "/identity/user/{userId}", service = "identity", auth = "cognito"),
63
+ Entry(operationId = "GetUserIdByUsername", method = "GET", path = "/identity/users/by-username/{username}", service = "identity", auth = "iam"),
64
+ Entry(operationId = "SendAdminLinkOtp", method = "POST", path = "/identity/users/{userId}/admin-link-otp", service = "identity", auth = "iam"),
65
+ Entry(operationId = "VerifyAdminLinkOtp", method = "POST", path = "/identity/users/{userId}/admin-link-otp/verify", service = "identity", auth = "iam"),
66
+ Entry(operationId = "GetCredentialReadiness", method = "GET", path = "/identity/users/{userId}/credential-readiness", service = "identity", auth = "iam"),
67
+ Entry(operationId = "UpdateEntitlements", method = "POST", path = "/identity/users/{userId}/entitlements", service = "identity", auth = "iam"),
68
+ Entry(operationId = "GetScoringPolicy", method = "GET", path = "/intelligence/admin/scoring/policy", service = "intelligence", auth = "iam"),
69
+ Entry(operationId = "UpdateScoringPolicy", method = "PUT", path = "/intelligence/admin/scoring/policy", service = "intelligence", auth = "iam"),
70
+ Entry(operationId = "SimulateScoringPolicy", method = "POST", path = "/intelligence/admin/scoring/simulate", service = "intelligence", auth = "iam"),
71
+ Entry(operationId = "Discover", method = "GET", path = "/matching/discover", service = "matching", auth = "cognito"),
72
+ Entry(operationId = "GetPartnerDistance", method = "GET", path = "/matching/distance/{userId}", service = "matching", auth = "cognito"),
73
+ Entry(operationId = "RecordSuggestionInternal", method = "POST", path = "/matching/internal/suggestions", service = "matching", auth = "iam"),
74
+ Entry(operationId = "GetReceivedLikes", method = "GET", path = "/matching/likes", service = "matching", auth = "cognito"),
75
+ Entry(operationId = "RemoveLocation", method = "DELETE", path = "/matching/location", service = "matching", auth = "cognito"),
76
+ Entry(operationId = "IndexLocation", method = "POST", path = "/matching/location", service = "matching", auth = "cognito"),
77
+ Entry(operationId = "GetRoses", method = "GET", path = "/matching/roses", service = "matching", auth = "cognito"),
78
+ Entry(operationId = "RemoveSuggestion", method = "DELETE", path = "/matching/suggestions", service = "matching", auth = "cognito"),
79
+ Entry(operationId = "GetSuggestions", method = "GET", path = "/matching/suggestions", service = "matching", auth = "cognito"),
80
+ Entry(operationId = "RecordSuggestion", method = "POST", path = "/matching/suggestions", service = "matching", auth = "cognito"),
81
+ Entry(operationId = "RemoveOneHookSuggestion", method = "DELETE", path = "/matching/suggestions/onehook", service = "matching", auth = "cognito"),
82
+ Entry(operationId = "Swipe", method = "POST", path = "/matching/swipe", service = "matching", auth = "cognito"),
83
+ Entry(operationId = "GetTraditionPreferences", method = "GET", path = "/matching/traditions", service = "matching", auth = "cognito"),
84
+ Entry(operationId = "UpdateTraditionPreferences", method = "PUT", path = "/matching/traditions", service = "matching", auth = "cognito"),
85
+ Entry(operationId = "IssueViewPasses", method = "POST", path = "/matching/view-passes", service = "matching", auth = "cognito"),
86
+ Entry(operationId = "GetPreferences", method = "GET", path = "/matching/{userId}/preferences", service = "matching", auth = "cognito"),
87
+ Entry(operationId = "UpdatePreferences", method = "PUT", path = "/matching/{userId}/preferences", service = "matching", auth = "cognito"),
88
+ Entry(operationId = "GetMyProfile", method = "GET", path = "/profile", service = "profile", auth = "cognito"),
89
+ Entry(operationId = "GetBirthDateStatus", method = "GET", path = "/profile-admin/{userId}/birth-date", service = "profile", auth = "iam"),
90
+ Entry(operationId = "CorrectBirthDate", method = "PUT", path = "/profile-admin/{userId}/birth-date", service = "profile", auth = "iam"),
91
+ Entry(operationId = "GetInternalProfile", method = "GET", path = "/profile-internal/{userId}", service = "profile", auth = "iam"),
92
+ Entry(operationId = "GetMatchingReadiness", method = "GET", path = "/profile-internal/{userId}/matching-readiness", service = "profile", auth = "iam"),
93
+ Entry(operationId = "RepublishMatchingProfile", method = "POST", path = "/profile-internal/{userId}/matching/republish", service = "profile", auth = "iam"),
94
+ Entry(operationId = "UpsertChatProfile", method = "PUT", path = "/profile/chat", service = "profile", auth = "cognito"),
95
+ Entry(operationId = "CompleteLivenessSession", method = "POST", path = "/profile/liveness/result", service = "profile", auth = "cognito"),
96
+ Entry(operationId = "CreateLivenessSession", method = "POST", path = "/profile/liveness/session", service = "profile", auth = "cognito"),
97
+ Entry(operationId = "GetLivenessStatus", method = "GET", path = "/profile/liveness/status", service = "profile", auth = "cognito"),
98
+ Entry(operationId = "UpsertMatchingProfile", method = "PUT", path = "/profile/matching", service = "profile", auth = "cognito"),
99
+ Entry(operationId = "GenerateDownloadUrl", method = "GET", path = "/profile/media/download-url", service = "profile", auth = "cognito"),
100
+ Entry(operationId = "GenerateUploadUrl", method = "POST", path = "/profile/media/upload-url", service = "profile", auth = "cognito"),
101
+ Entry(operationId = "SearchPlaces", method = "GET", path = "/profile/places", service = "profile", auth = "cognito"),
102
+ Entry(operationId = "GetPlace", method = "GET", path = "/profile/places/{placeId}", service = "profile", auth = "cognito"),
103
+ Entry(operationId = "DeleteProfile", method = "DELETE", path = "/profile/{userId}", service = "profile", auth = "cognito"),
104
+ Entry(operationId = "GetChatProfile", method = "GET", path = "/profile/{userId}/chat", service = "profile", auth = "cognito"),
105
+ Entry(operationId = "GetMatchingProfile", method = "GET", path = "/profile/{userId}/matching", service = "profile", auth = "cognito"),
106
+ Entry(operationId = "GetAiContextMatch", method = "GET", path = "/api/ai-context/matches/{matchId}", service = "state", auth = "iam"),
107
+ Entry(operationId = "GetModerationReport", method = "GET", path = "/state/admin/reports/{reportId}", service = "state", auth = "iam"),
108
+ Entry(operationId = "GetModerationSignals", method = "GET", path = "/state/admin/users/{targetUserId}/moderation-signals", service = "state", auth = "iam"),
109
+ Entry(operationId = "ClearTierOverride", method = "DELETE", path = "/state/admin/users/{targetUserId}/tier-override", service = "state", auth = "iam"),
110
+ Entry(operationId = "GetTierOverride", method = "GET", path = "/state/admin/users/{targetUserId}/tier-override", service = "state", auth = "iam"),
111
+ Entry(operationId = "SetTierOverride", method = "PUT", path = "/state/admin/users/{targetUserId}/tier-override", service = "state", auth = "iam"),
112
+ Entry(operationId = "ListBlocks", method = "GET", path = "/state/blocks", service = "state", auth = "cognito"),
113
+ Entry(operationId = "BlockUser", method = "POST", path = "/state/blocks", service = "state", auth = "cognito"),
114
+ Entry(operationId = "UnblockUser", method = "DELETE", path = "/state/blocks/{blockedUserId}", service = "state", auth = "cognito"),
115
+ Entry(operationId = "CompleteOnboarding", method = "POST", path = "/state/complete-onboarding", service = "state", auth = "cognito"),
116
+ Entry(operationId = "ListHookRequests", method = "GET", path = "/state/hook-requests", service = "state", auth = "cognito"),
117
+ Entry(operationId = "SendHookRequest", method = "POST", path = "/state/hook-requests", service = "state", auth = "cognito"),
118
+ Entry(operationId = "CancelHookRequest", method = "DELETE", path = "/state/hook-requests/{requestId}", service = "state", auth = "cognito"),
119
+ Entry(operationId = "AcceptHookRequest", method = "POST", path = "/state/hook-requests/{requestId}/accept", service = "state", auth = "cognito"),
120
+ Entry(operationId = "DeclineHookRequest", method = "POST", path = "/state/hook-requests/{requestId}/decline", service = "state", auth = "cognito"),
121
+ Entry(operationId = "KeepHooks", method = "POST", path = "/state/hooks/keep", service = "state", auth = "cognito"),
122
+ Entry(operationId = "InitUser", method = "POST", path = "/state/init", service = "state", auth = "cognito"),
123
+ Entry(operationId = "ListMatchingOnMembers", method = "GET", path = "/state/internal/matching/members", service = "state", auth = "iam"),
124
+ Entry(operationId = "GetDiscoverySnapshot", method = "GET", path = "/state/internal/users/{targetUserId}/discovery-snapshot", service = "state", auth = "iam"),
125
+ Entry(operationId = "GetInternalMatchingStatus", method = "GET", path = "/state/internal/users/{targetUserId}/matching", service = "state", auth = "iam"),
126
+ Entry(operationId = "GetMatch", method = "GET", path = "/state/match/{matchId}", service = "state", auth = "cognito"),
127
+ Entry(operationId = "DisableMatching", method = "POST", path = "/state/matching/disable", service = "state", auth = "cognito"),
128
+ Entry(operationId = "EnableMatching", method = "POST", path = "/state/matching/enable", service = "state", auth = "cognito"),
129
+ Entry(operationId = "SetMatchingTabHidden", method = "PUT", path = "/state/matching/tab-hidden", service = "state", auth = "cognito"),
130
+ Entry(operationId = "ReportMember", method = "POST", path = "/state/reports", service = "state", auth = "cognito"),
131
+ Entry(operationId = "Unhook", method = "POST", path = "/state/unhook", service = "state", auth = "cognito"),
132
+ Entry(operationId = "UpgradeUser", method = "POST", path = "/state/upgrade", service = "state", auth = "cognito"),
133
+ Entry(operationId = "GetState", method = "GET", path = "/state/{userId}", service = "state", auth = "cognito"),
134
+ )
135
+ }
@@ -0,0 +1,137 @@
1
+ // GENERATED FILE - DO NOT EDIT.
2
+ // Source of truth: OneHookBackend/packages/api-models/model/smithy/*.smithy (every HTTP route is a Smithy operation).
3
+ // Regenerate: (OneHookBackend) npm --prefix packages/api-models run build && npm run api:sync
4
+
5
+ import Foundation
6
+
7
+ /// Every OneHook backend HTTP operation, sorted by service, path, method. `auth` is "cognito", "iam" or
8
+ /// "none". The Mr OneHook and admin portal APIs are in `MrOneHookApiManifest` / `AdminPortalApiManifest`
9
+ /// (generated by their own repos).
10
+ enum ApiManifest {
11
+ struct Entry: Equatable, Sendable {
12
+ let operationId: String
13
+ let method: String
14
+ let path: String
15
+ let service: String
16
+ let auth: String
17
+ }
18
+
19
+ static let operations: [Entry] = [
20
+ .init(operationId: "GetGraphMatch", method: "GET", path: "/graph/matches/{matchId}", service: "analytics", auth: "iam"),
21
+ .init(operationId: "GetGraphUser", method: "GET", path: "/graph/users/{userId}", service: "analytics", auth: "iam"),
22
+ .init(operationId: "GetGraphInvites", method: "GET", path: "/graph/users/{userId}/invites", service: "analytics", auth: "iam"),
23
+ .init(operationId: "ListGraphUserMatches", method: "GET", path: "/graph/users/{userId}/matches", service: "analytics", auth: "iam"),
24
+ .init(operationId: "IngestSignals", method: "POST", path: "/signals", service: "analytics", auth: "cognito"),
25
+ .init(operationId: "GetMediaStats", method: "GET", path: "/signals/media-stats", service: "analytics", auth: "cognito"),
26
+ .init(operationId: "ListMyDevices", method: "GET", path: "/chat/devices", service: "chat", auth: "cognito"),
27
+ .init(operationId: "RegisterDevice", method: "POST", path: "/chat/devices", service: "chat", auth: "cognito"),
28
+ .init(operationId: "RevokeDevice", method: "DELETE", path: "/chat/devices/{deviceId}", service: "chat", auth: "cognito"),
29
+ .init(operationId: "DeletePushToken", method: "DELETE", path: "/chat/devices/{deviceId}/push-token", service: "chat", auth: "cognito"),
30
+ .init(operationId: "RegisterPushToken", method: "PUT", path: "/chat/devices/{deviceId}/push-token", service: "chat", auth: "cognito"),
31
+ .init(operationId: "GetHistoryState", method: "GET", path: "/chat/history", service: "chat", auth: "cognito"),
32
+ .init(operationId: "EstablishHistoryEpoch", method: "POST", path: "/chat/history/epochs", service: "chat", auth: "cognito"),
33
+ .init(operationId: "PutHistoryWrap", method: "POST", path: "/chat/history/wraps", service: "chat", auth: "cognito"),
34
+ .init(operationId: "RevokeHistoryWrap", method: "DELETE", path: "/chat/history/wraps/{epoch}/{method}/{wrapId}", service: "chat", auth: "cognito"),
35
+ .init(operationId: "DeleteMatchMessages", method: "DELETE", path: "/chat/match/{matchId}", service: "chat", auth: "cognito"),
36
+ .init(operationId: "CreateMediaDownloadUrl", method: "POST", path: "/chat/media/download-url", service: "chat", auth: "cognito"),
37
+ .init(operationId: "CreateMediaUploadUrl", method: "POST", path: "/chat/media/upload-url", service: "chat", auth: "cognito"),
38
+ .init(operationId: "GetParticipantRegistry", method: "GET", path: "/chat/registry/{userId}", service: "chat", auth: "cognito"),
39
+ .init(operationId: "GetChatSettings", method: "GET", path: "/chat/settings", service: "chat", auth: "cognito"),
40
+ .init(operationId: "UpdateChatSettings", method: "PUT", path: "/chat/settings", service: "chat", auth: "cognito"),
41
+ .init(operationId: "CreateAdminInvite", method: "POST", path: "/identity/admin/invites", service: "identity", auth: "iam"),
42
+ .init(operationId: "GetAdminPhoneStatus", method: "POST", path: "/identity/admin/phone-status", service: "identity", auth: "iam"),
43
+ .init(operationId: "GetAccountState", method: "GET", path: "/identity/admin/users/{userId}/account-state", service: "identity", auth: "iam"),
44
+ .init(operationId: "SetAccountState", method: "POST", path: "/identity/admin/users/{userId}/account-state", service: "identity", auth: "iam"),
45
+ .init(operationId: "GetPreservationHold", method: "GET", path: "/identity/admin/users/{userId}/preservation-hold", service: "identity", auth: "iam"),
46
+ .init(operationId: "SetPreservationHold", method: "PUT", path: "/identity/admin/users/{userId}/preservation-hold", service: "identity", auth: "iam"),
47
+ .init(operationId: "RevokeUserAccess", method: "POST", path: "/identity/admin/users/{userId}/revoke-access", service: "identity", auth: "iam"),
48
+ .init(operationId: "RegisterPhone", method: "POST", path: "/identity/auth/register/phone", service: "identity", auth: "none"),
49
+ .init(operationId: "RequestPhoneOtp", method: "POST", path: "/identity/auth/register/phone/request-otp", service: "identity", auth: "none"),
50
+ .init(operationId: "AuthSocial", method: "POST", path: "/identity/auth/social", service: "identity", auth: "none"),
51
+ .init(operationId: "GetInviteEdges", method: "GET", path: "/identity/internal/users/{userId}/invite-edges", service: "identity", auth: "iam"),
52
+ .init(operationId: "GenerateInvite", method: "POST", path: "/identity/invite/generate", service: "identity", auth: "cognito"),
53
+ .init(operationId: "ValidateInvite", method: "GET", path: "/identity/invite/validate/{inviteCode}", service: "identity", auth: "none"),
54
+ .init(operationId: "LinkEmail", method: "POST", path: "/identity/user/email/link", service: "identity", auth: "cognito"),
55
+ .init(operationId: "RequestEmailOtp", method: "POST", path: "/identity/user/email/link/request-otp", service: "identity", auth: "cognito"),
56
+ .init(operationId: "GetUserByEmail", method: "GET", path: "/identity/user/email/{email}", service: "identity", auth: "cognito"),
57
+ .init(operationId: "SetPassword", method: "PUT", path: "/identity/user/password", service: "identity", auth: "cognito"),
58
+ .init(operationId: "UpdatePhoneNumber", method: "PUT", path: "/identity/user/phone", service: "identity", auth: "cognito"),
59
+ .init(operationId: "RequestPhoneUpdateOtp", method: "POST", path: "/identity/user/phone/request-otp", service: "identity", auth: "cognito"),
60
+ .init(operationId: "LinkSocial", method: "POST", path: "/identity/user/social/link", service: "identity", auth: "cognito"),
61
+ .init(operationId: "UnlinkSocial", method: "DELETE", path: "/identity/user/social/{provider}", service: "identity", auth: "cognito"),
62
+ .init(operationId: "UpdateUsername", method: "PUT", path: "/identity/user/username", service: "identity", auth: "cognito"),
63
+ .init(operationId: "CheckUsernameAvailability", method: "GET", path: "/identity/user/username/availability/{username}", service: "identity", auth: "cognito"),
64
+ .init(operationId: "GetUser", method: "GET", path: "/identity/user/{userId}", service: "identity", auth: "cognito"),
65
+ .init(operationId: "GetUserIdByUsername", method: "GET", path: "/identity/users/by-username/{username}", service: "identity", auth: "iam"),
66
+ .init(operationId: "SendAdminLinkOtp", method: "POST", path: "/identity/users/{userId}/admin-link-otp", service: "identity", auth: "iam"),
67
+ .init(operationId: "VerifyAdminLinkOtp", method: "POST", path: "/identity/users/{userId}/admin-link-otp/verify", service: "identity", auth: "iam"),
68
+ .init(operationId: "GetCredentialReadiness", method: "GET", path: "/identity/users/{userId}/credential-readiness", service: "identity", auth: "iam"),
69
+ .init(operationId: "UpdateEntitlements", method: "POST", path: "/identity/users/{userId}/entitlements", service: "identity", auth: "iam"),
70
+ .init(operationId: "GetScoringPolicy", method: "GET", path: "/intelligence/admin/scoring/policy", service: "intelligence", auth: "iam"),
71
+ .init(operationId: "UpdateScoringPolicy", method: "PUT", path: "/intelligence/admin/scoring/policy", service: "intelligence", auth: "iam"),
72
+ .init(operationId: "SimulateScoringPolicy", method: "POST", path: "/intelligence/admin/scoring/simulate", service: "intelligence", auth: "iam"),
73
+ .init(operationId: "Discover", method: "GET", path: "/matching/discover", service: "matching", auth: "cognito"),
74
+ .init(operationId: "GetPartnerDistance", method: "GET", path: "/matching/distance/{userId}", service: "matching", auth: "cognito"),
75
+ .init(operationId: "RecordSuggestionInternal", method: "POST", path: "/matching/internal/suggestions", service: "matching", auth: "iam"),
76
+ .init(operationId: "GetReceivedLikes", method: "GET", path: "/matching/likes", service: "matching", auth: "cognito"),
77
+ .init(operationId: "RemoveLocation", method: "DELETE", path: "/matching/location", service: "matching", auth: "cognito"),
78
+ .init(operationId: "IndexLocation", method: "POST", path: "/matching/location", service: "matching", auth: "cognito"),
79
+ .init(operationId: "GetRoses", method: "GET", path: "/matching/roses", service: "matching", auth: "cognito"),
80
+ .init(operationId: "RemoveSuggestion", method: "DELETE", path: "/matching/suggestions", service: "matching", auth: "cognito"),
81
+ .init(operationId: "GetSuggestions", method: "GET", path: "/matching/suggestions", service: "matching", auth: "cognito"),
82
+ .init(operationId: "RecordSuggestion", method: "POST", path: "/matching/suggestions", service: "matching", auth: "cognito"),
83
+ .init(operationId: "RemoveOneHookSuggestion", method: "DELETE", path: "/matching/suggestions/onehook", service: "matching", auth: "cognito"),
84
+ .init(operationId: "Swipe", method: "POST", path: "/matching/swipe", service: "matching", auth: "cognito"),
85
+ .init(operationId: "GetTraditionPreferences", method: "GET", path: "/matching/traditions", service: "matching", auth: "cognito"),
86
+ .init(operationId: "UpdateTraditionPreferences", method: "PUT", path: "/matching/traditions", service: "matching", auth: "cognito"),
87
+ .init(operationId: "IssueViewPasses", method: "POST", path: "/matching/view-passes", service: "matching", auth: "cognito"),
88
+ .init(operationId: "GetPreferences", method: "GET", path: "/matching/{userId}/preferences", service: "matching", auth: "cognito"),
89
+ .init(operationId: "UpdatePreferences", method: "PUT", path: "/matching/{userId}/preferences", service: "matching", auth: "cognito"),
90
+ .init(operationId: "GetMyProfile", method: "GET", path: "/profile", service: "profile", auth: "cognito"),
91
+ .init(operationId: "GetBirthDateStatus", method: "GET", path: "/profile-admin/{userId}/birth-date", service: "profile", auth: "iam"),
92
+ .init(operationId: "CorrectBirthDate", method: "PUT", path: "/profile-admin/{userId}/birth-date", service: "profile", auth: "iam"),
93
+ .init(operationId: "GetInternalProfile", method: "GET", path: "/profile-internal/{userId}", service: "profile", auth: "iam"),
94
+ .init(operationId: "GetMatchingReadiness", method: "GET", path: "/profile-internal/{userId}/matching-readiness", service: "profile", auth: "iam"),
95
+ .init(operationId: "RepublishMatchingProfile", method: "POST", path: "/profile-internal/{userId}/matching/republish", service: "profile", auth: "iam"),
96
+ .init(operationId: "UpsertChatProfile", method: "PUT", path: "/profile/chat", service: "profile", auth: "cognito"),
97
+ .init(operationId: "CompleteLivenessSession", method: "POST", path: "/profile/liveness/result", service: "profile", auth: "cognito"),
98
+ .init(operationId: "CreateLivenessSession", method: "POST", path: "/profile/liveness/session", service: "profile", auth: "cognito"),
99
+ .init(operationId: "GetLivenessStatus", method: "GET", path: "/profile/liveness/status", service: "profile", auth: "cognito"),
100
+ .init(operationId: "UpsertMatchingProfile", method: "PUT", path: "/profile/matching", service: "profile", auth: "cognito"),
101
+ .init(operationId: "GenerateDownloadUrl", method: "GET", path: "/profile/media/download-url", service: "profile", auth: "cognito"),
102
+ .init(operationId: "GenerateUploadUrl", method: "POST", path: "/profile/media/upload-url", service: "profile", auth: "cognito"),
103
+ .init(operationId: "SearchPlaces", method: "GET", path: "/profile/places", service: "profile", auth: "cognito"),
104
+ .init(operationId: "GetPlace", method: "GET", path: "/profile/places/{placeId}", service: "profile", auth: "cognito"),
105
+ .init(operationId: "DeleteProfile", method: "DELETE", path: "/profile/{userId}", service: "profile", auth: "cognito"),
106
+ .init(operationId: "GetChatProfile", method: "GET", path: "/profile/{userId}/chat", service: "profile", auth: "cognito"),
107
+ .init(operationId: "GetMatchingProfile", method: "GET", path: "/profile/{userId}/matching", service: "profile", auth: "cognito"),
108
+ .init(operationId: "GetAiContextMatch", method: "GET", path: "/api/ai-context/matches/{matchId}", service: "state", auth: "iam"),
109
+ .init(operationId: "GetModerationReport", method: "GET", path: "/state/admin/reports/{reportId}", service: "state", auth: "iam"),
110
+ .init(operationId: "GetModerationSignals", method: "GET", path: "/state/admin/users/{targetUserId}/moderation-signals", service: "state", auth: "iam"),
111
+ .init(operationId: "ClearTierOverride", method: "DELETE", path: "/state/admin/users/{targetUserId}/tier-override", service: "state", auth: "iam"),
112
+ .init(operationId: "GetTierOverride", method: "GET", path: "/state/admin/users/{targetUserId}/tier-override", service: "state", auth: "iam"),
113
+ .init(operationId: "SetTierOverride", method: "PUT", path: "/state/admin/users/{targetUserId}/tier-override", service: "state", auth: "iam"),
114
+ .init(operationId: "ListBlocks", method: "GET", path: "/state/blocks", service: "state", auth: "cognito"),
115
+ .init(operationId: "BlockUser", method: "POST", path: "/state/blocks", service: "state", auth: "cognito"),
116
+ .init(operationId: "UnblockUser", method: "DELETE", path: "/state/blocks/{blockedUserId}", service: "state", auth: "cognito"),
117
+ .init(operationId: "CompleteOnboarding", method: "POST", path: "/state/complete-onboarding", service: "state", auth: "cognito"),
118
+ .init(operationId: "ListHookRequests", method: "GET", path: "/state/hook-requests", service: "state", auth: "cognito"),
119
+ .init(operationId: "SendHookRequest", method: "POST", path: "/state/hook-requests", service: "state", auth: "cognito"),
120
+ .init(operationId: "CancelHookRequest", method: "DELETE", path: "/state/hook-requests/{requestId}", service: "state", auth: "cognito"),
121
+ .init(operationId: "AcceptHookRequest", method: "POST", path: "/state/hook-requests/{requestId}/accept", service: "state", auth: "cognito"),
122
+ .init(operationId: "DeclineHookRequest", method: "POST", path: "/state/hook-requests/{requestId}/decline", service: "state", auth: "cognito"),
123
+ .init(operationId: "KeepHooks", method: "POST", path: "/state/hooks/keep", service: "state", auth: "cognito"),
124
+ .init(operationId: "InitUser", method: "POST", path: "/state/init", service: "state", auth: "cognito"),
125
+ .init(operationId: "ListMatchingOnMembers", method: "GET", path: "/state/internal/matching/members", service: "state", auth: "iam"),
126
+ .init(operationId: "GetDiscoverySnapshot", method: "GET", path: "/state/internal/users/{targetUserId}/discovery-snapshot", service: "state", auth: "iam"),
127
+ .init(operationId: "GetInternalMatchingStatus", method: "GET", path: "/state/internal/users/{targetUserId}/matching", service: "state", auth: "iam"),
128
+ .init(operationId: "GetMatch", method: "GET", path: "/state/match/{matchId}", service: "state", auth: "cognito"),
129
+ .init(operationId: "DisableMatching", method: "POST", path: "/state/matching/disable", service: "state", auth: "cognito"),
130
+ .init(operationId: "EnableMatching", method: "POST", path: "/state/matching/enable", service: "state", auth: "cognito"),
131
+ .init(operationId: "SetMatchingTabHidden", method: "PUT", path: "/state/matching/tab-hidden", service: "state", auth: "cognito"),
132
+ .init(operationId: "ReportMember", method: "POST", path: "/state/reports", service: "state", auth: "cognito"),
133
+ .init(operationId: "Unhook", method: "POST", path: "/state/unhook", service: "state", auth: "cognito"),
134
+ .init(operationId: "UpgradeUser", method: "POST", path: "/state/upgrade", service: "state", auth: "cognito"),
135
+ .init(operationId: "GetState", method: "GET", path: "/state/{userId}", service: "state", auth: "cognito"),
136
+ ]
137
+ }