@worqio/sdk 0.0.0-stage → 0.1.2

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.
@@ -0,0 +1,259 @@
1
+ export const methods = {
2
+ events: {
3
+ erasePerson: {
4
+ operationId: "events.erase_person",
5
+ method: "POST",
6
+ path: "/events/erasures",
7
+ readOnly: false,
8
+ list: false,
9
+ },
10
+ getCatalogEntry: {
11
+ operationId: "events.get_catalog_entry",
12
+ method: "GET",
13
+ path: "/events/catalog/entry",
14
+ readOnly: true,
15
+ list: false,
16
+ },
17
+ getErasure: {
18
+ operationId: "events.get_erasure",
19
+ method: "GET",
20
+ path: "/events/erasures/{erasureId}",
21
+ readOnly: true,
22
+ list: false,
23
+ },
24
+ getEvent: {
25
+ operationId: "events.get_event",
26
+ method: "GET",
27
+ path: "/events/events/{eventId}",
28
+ readOnly: true,
29
+ list: false,
30
+ },
31
+ getSource: {
32
+ operationId: "events.get_source",
33
+ method: "GET",
34
+ path: "/events/sources/{sourceId}",
35
+ readOnly: true,
36
+ list: false,
37
+ },
38
+ listCatalog: {
39
+ operationId: "events.list_catalog",
40
+ method: "GET",
41
+ path: "/events/catalog",
42
+ readOnly: true,
43
+ list: true,
44
+ },
45
+ listDeliveries: {
46
+ operationId: "events.list_deliveries",
47
+ method: "GET",
48
+ path: "/events/deliveries",
49
+ readOnly: true,
50
+ list: true,
51
+ },
52
+ listErasures: {
53
+ operationId: "events.list_erasures",
54
+ method: "GET",
55
+ path: "/events/erasures",
56
+ readOnly: true,
57
+ list: true,
58
+ },
59
+ listGaps: {
60
+ operationId: "events.list_gaps",
61
+ method: "GET",
62
+ path: "/events/gaps",
63
+ readOnly: true,
64
+ list: true,
65
+ },
66
+ listSources: {
67
+ operationId: "events.list_sources",
68
+ method: "GET",
69
+ path: "/events/sources",
70
+ readOnly: true,
71
+ list: true,
72
+ },
73
+ search: {
74
+ operationId: "events.search",
75
+ method: "POST",
76
+ path: "/events/events/search",
77
+ readOnly: true,
78
+ list: false,
79
+ },
80
+ status: {
81
+ operationId: "events.status",
82
+ method: "GET",
83
+ path: "/events/status",
84
+ readOnly: true,
85
+ list: false,
86
+ },
87
+ },
88
+ products: {
89
+ addOffer: {
90
+ operationId: "products.add_offer",
91
+ method: "POST",
92
+ path: "/products/products/{productId}/offers",
93
+ readOnly: false,
94
+ list: false,
95
+ },
96
+ archive: {
97
+ operationId: "products.archive",
98
+ method: "POST",
99
+ path: "/products/products/{productId}/archive",
100
+ readOnly: false,
101
+ list: false,
102
+ },
103
+ create: {
104
+ operationId: "products.create",
105
+ method: "POST",
106
+ path: "/products/products",
107
+ readOnly: false,
108
+ list: false,
109
+ },
110
+ get: {
111
+ operationId: "products.get",
112
+ method: "GET",
113
+ path: "/products/products/{productId}",
114
+ readOnly: true,
115
+ list: false,
116
+ },
117
+ list: {
118
+ operationId: "products.list",
119
+ method: "GET",
120
+ path: "/products/products",
121
+ readOnly: true,
122
+ list: true,
123
+ },
124
+ listAdRules: {
125
+ operationId: "products.list_ad_rules",
126
+ method: "GET",
127
+ path: "/products/ad-rules",
128
+ readOnly: true,
129
+ list: true,
130
+ },
131
+ matchAd: {
132
+ operationId: "products.match_ad",
133
+ method: "GET",
134
+ path: "/products/ad-rules/match",
135
+ readOnly: true,
136
+ list: false,
137
+ },
138
+ removeAdRule: {
139
+ operationId: "products.remove_ad_rule",
140
+ method: "DELETE",
141
+ path: "/products/ad-rules/{ruleId}",
142
+ readOnly: false,
143
+ list: false,
144
+ },
145
+ removeOffer: {
146
+ operationId: "products.remove_offer",
147
+ method: "DELETE",
148
+ path: "/products/offers/{offerId}",
149
+ readOnly: false,
150
+ list: false,
151
+ },
152
+ resolve: {
153
+ operationId: "products.resolve",
154
+ method: "GET",
155
+ path: "/products/products/resolve",
156
+ readOnly: true,
157
+ list: false,
158
+ },
159
+ restore: {
160
+ operationId: "products.restore",
161
+ method: "POST",
162
+ path: "/products/products/{productId}/restore",
163
+ readOnly: false,
164
+ list: false,
165
+ },
166
+ createAdRule: {
167
+ operationId: "products.save_ad_rule.createAdRule",
168
+ method: "POST",
169
+ path: "/products/ad-rules",
170
+ readOnly: false,
171
+ list: false,
172
+ },
173
+ updateAdRule: {
174
+ operationId: "products.save_ad_rule.updateAdRule",
175
+ method: "PUT",
176
+ path: "/products/ad-rules/{ruleId}",
177
+ readOnly: false,
178
+ list: false,
179
+ },
180
+ update: {
181
+ operationId: "products.update",
182
+ method: "PUT",
183
+ path: "/products/products/{productId}",
184
+ readOnly: false,
185
+ list: false,
186
+ },
187
+ },
188
+ tasks: {
189
+ comment: {
190
+ add: {
191
+ operationId: "tasks.comment.add",
192
+ method: "POST",
193
+ path: "/tasks/tasks/{task}/comments",
194
+ readOnly: false,
195
+ list: false,
196
+ },
197
+ list: {
198
+ operationId: "tasks.comment.list",
199
+ method: "GET",
200
+ path: "/tasks/tasks/{task}/comments",
201
+ readOnly: true,
202
+ list: true,
203
+ },
204
+ },
205
+ task: {
206
+ archive: {
207
+ operationId: "tasks.task.archive",
208
+ method: "POST",
209
+ path: "/tasks/tasks/{task}/archive",
210
+ readOnly: false,
211
+ list: false,
212
+ },
213
+ restore: {
214
+ operationId: "tasks.task.archive.restore",
215
+ method: "POST",
216
+ path: "/tasks/tasks/{task}/restore",
217
+ readOnly: false,
218
+ list: false,
219
+ },
220
+ create: {
221
+ operationId: "tasks.task.create",
222
+ method: "POST",
223
+ path: "/tasks/tasks",
224
+ readOnly: false,
225
+ list: false,
226
+ },
227
+ get: {
228
+ operationId: "tasks.task.get",
229
+ method: "GET",
230
+ path: "/tasks/tasks/{task}",
231
+ readOnly: true,
232
+ list: false,
233
+ },
234
+ list: {
235
+ operationId: "tasks.task.list",
236
+ method: "GET",
237
+ path: "/tasks/tasks",
238
+ readOnly: true,
239
+ list: true,
240
+ },
241
+ update: {
242
+ operationId: "tasks.task.update",
243
+ method: "PATCH",
244
+ path: "/tasks/tasks/{task}",
245
+ readOnly: false,
246
+ list: false,
247
+ },
248
+ },
249
+ team: {
250
+ list: {
251
+ operationId: "tasks.team.list",
252
+ method: "GET",
253
+ path: "/tasks/teams",
254
+ readOnly: true,
255
+ list: true,
256
+ },
257
+ },
258
+ },
259
+ };