forked from basecamp/fizzy-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoperations_registry.go
More file actions
157 lines (139 loc) · 6.18 KB
/
Copy pathoperations_registry.go
File metadata and controls
157 lines (139 loc) · 6.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
// Code generated from openapi.json — DO NOT EDIT.
package fizzy
// OperationRegistry maps every OpenAPI operationId to its Go service method.
// The drift check script (scripts/check-service-drift.sh) verifies this
// registry stays in sync with openapi.json.
//
// To update: run 'go run ./cmd/generate-services/' from the go directory.
var OperationRegistry = map[string]string{
// AccessTokens
"CreateAccessToken": "AccessTokensService.Create",
"DeleteAccessToken": "AccessTokensService.Delete",
"ListAccessTokens": "AccessTokensService.List",
// Account
"CreateAccountExport": "AccountService.CreateExport",
"GetAccountExport": "AccountService.GetExport",
"GetAccountSettings": "AccountService.GetSettings",
"GetJoinCode": "AccountService.GetJoinCode",
"ResetJoinCode": "AccountService.ResetJoinCode",
"UpdateAccountEntropy": "AccountService.UpdateEntropy",
"UpdateAccountSettings": "AccountService.UpdateSettings",
"UpdateJoinCode": "AccountService.UpdateJoinCode",
// Boards
"CreateBoard": "BoardsService.Create",
"DeleteBoard": "BoardsService.Delete",
"GetBoard": "BoardsService.Get",
"ListBoardAccesses": "BoardsService.ListBoardAccesses",
"ListBoards": "BoardsService.List",
"ListClosedCards": "BoardsService.ListClosed",
"ListPostponedCards": "BoardsService.ListPostponed",
"ListStreamCards": "BoardsService.ListStream",
"PublishBoard": "BoardsService.Publish",
"UnpublishBoard": "BoardsService.Unpublish",
"UpdateBoard": "BoardsService.Update",
"UpdateBoardEntropy": "BoardsService.UpdateEntropy",
"UpdateBoardInvolvement": "BoardsService.UpdateInvolvement",
// Cards
"AssignCard": "CardsService.Assign",
"CloseCard": "CardsService.Close",
"CreateCard": "CardsService.Create",
"DeleteCard": "CardsService.Delete",
"DeleteCardImage": "CardsService.DeleteImage",
"GetCard": "CardsService.Get",
"GoldCard": "CardsService.Gold",
"ListActivities": "CardsService.ListActivities",
"ListCards": "CardsService.List",
"ListColumnCards": "CardsService.ListColumnCards",
"MarkCardRead": "CardsService.MarkRead",
"MarkCardUnread": "CardsService.MarkUnread",
"MoveCard": "CardsService.Move",
"PinCard": "CardsService.Pin",
"PostponeCard": "CardsService.Postpone",
"PublishCard": "CardsService.Publish",
"ReopenCard": "CardsService.Reopen",
"SelfAssignCard": "CardsService.SelfAssign",
"TagCard": "CardsService.Tag",
"TriageCard": "CardsService.Triage",
"UnTriageCard": "CardsService.UnTriage",
"UngoldCard": "CardsService.Ungold",
"UnpinCard": "CardsService.Unpin",
"UnwatchCard": "CardsService.Unwatch",
"UpdateCard": "CardsService.Update",
"WatchCard": "CardsService.Watch",
// Columns
"CreateColumn": "ColumnsService.Create",
"DeleteColumn": "ColumnsService.Delete",
"GetColumn": "ColumnsService.Get",
"ListColumns": "ColumnsService.List",
"MoveColumnLeft": "ColumnsService.MoveLeft",
"MoveColumnRight": "ColumnsService.MoveRight",
"UpdateColumn": "ColumnsService.Update",
// Comments
"CreateComment": "CommentsService.Create",
"DeleteComment": "CommentsService.Delete",
"GetComment": "CommentsService.Get",
"ListComments": "CommentsService.List",
"UpdateComment": "CommentsService.Update",
// Devices
"RegisterDevice": "DevicesService.Register",
"UnregisterDevice": "DevicesService.Unregister",
// Identity
"GetMyIdentity": "IdentityService.GetMyIdentity",
"UpdateMyTimezone": "IdentityService.UpdateTimezone",
// Notifications
"BulkReadNotifications": "NotificationsService.BulkRead",
"GetNotificationSettings": "NotificationsService.GetSettings",
"GetNotificationTray": "NotificationsService.GetTray",
"ListNotifications": "NotificationsService.List",
"ReadNotification": "NotificationsService.Read",
"UnreadNotification": "NotificationsService.Unread",
"UpdateNotificationSettings": "NotificationsService.UpdateSettings",
// Pins
"ListPins": "PinsService.List",
// Reactions
"CreateCardReaction": "ReactionsService.CreateCard",
"CreateCommentReaction": "ReactionsService.CreateComment",
"DeleteCardReaction": "ReactionsService.DeleteCard",
"DeleteCommentReaction": "ReactionsService.DeleteComment",
"ListCardReactions": "ReactionsService.ListCard",
"ListCommentReactions": "ReactionsService.ListComment",
// Search
"SearchCards": "SearchService.Search",
// Sessions
"CompleteJoin": "SessionsService.CompleteJoin",
"CompleteSignup": "SessionsService.CompleteSignup",
"CreateSession": "SessionsService.Create",
"DestroySession": "SessionsService.Destroy",
"RedeemMagicLink": "SessionsService.RedeemMagicLink",
// Steps
"CreateStep": "StepsService.Create",
"DeleteStep": "StepsService.Delete",
"GetStep": "StepsService.Get",
"ListSteps": "StepsService.List",
"UpdateStep": "StepsService.Update",
// Tags
"ListTags": "TagsService.List",
// Uploads
"CreateDirectUpload": "UploadsService.CreateDirectUpload",
// Users
"ConfirmEmailAddressChange": "UsersService.ConfirmEmailAddressChange",
"CreatePushSubscription": "UsersService.CreatePushSubscription",
"CreateUserDataExport": "UsersService.CreateUserDataExport",
"DeactivateUser": "UsersService.Deactivate",
"DeletePushSubscription": "UsersService.DeletePushSubscription",
"DeleteUserAvatar": "UsersService.DeleteAvatar",
"GetUser": "UsersService.Get",
"GetUserDataExport": "UsersService.GetUserDataExport",
"ListUsers": "UsersService.List",
"RequestEmailAddressChange": "UsersService.RequestEmailAddressChange",
"UpdateUser": "UsersService.Update",
"UpdateUserRole": "UsersService.UpdateRole",
// Webhooks
"ActivateWebhook": "WebhooksService.Activate",
"CreateWebhook": "WebhooksService.Create",
"DeleteWebhook": "WebhooksService.Delete",
"GetWebhook": "WebhooksService.Get",
"ListWebhookDeliveries": "WebhooksService.ListWebhookDeliveries",
"ListWebhooks": "WebhooksService.List",
"UpdateWebhook": "WebhooksService.Update",
}