@augno/sdk-mcp 0.10.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.
Files changed (135) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +103 -0
  3. package/auth.d.mts +6 -0
  4. package/auth.d.mts.map +1 -0
  5. package/auth.d.ts +6 -0
  6. package/auth.d.ts.map +1 -0
  7. package/auth.js +37 -0
  8. package/auth.js.map +1 -0
  9. package/auth.mjs +32 -0
  10. package/auth.mjs.map +1 -0
  11. package/code-tool-paths.cjs +8 -0
  12. package/code-tool-paths.cjs.map +1 -0
  13. package/code-tool-paths.d.cts +2 -0
  14. package/code-tool-paths.d.cts.map +1 -0
  15. package/code-tool-types.d.mts +14 -0
  16. package/code-tool-types.d.mts.map +1 -0
  17. package/code-tool-types.d.ts +14 -0
  18. package/code-tool-types.d.ts.map +1 -0
  19. package/code-tool-types.js +4 -0
  20. package/code-tool-types.js.map +1 -0
  21. package/code-tool-types.mjs +3 -0
  22. package/code-tool-types.mjs.map +1 -0
  23. package/code-tool-worker.d.mts +5 -0
  24. package/code-tool-worker.d.mts.map +1 -0
  25. package/code-tool-worker.d.ts +5 -0
  26. package/code-tool-worker.d.ts.map +1 -0
  27. package/code-tool-worker.js +486 -0
  28. package/code-tool-worker.js.map +1 -0
  29. package/code-tool-worker.mjs +448 -0
  30. package/code-tool-worker.mjs.map +1 -0
  31. package/code-tool.d.mts +21 -0
  32. package/code-tool.d.mts.map +1 -0
  33. package/code-tool.d.ts +21 -0
  34. package/code-tool.d.ts.map +1 -0
  35. package/code-tool.js +287 -0
  36. package/code-tool.js.map +1 -0
  37. package/code-tool.mjs +251 -0
  38. package/code-tool.mjs.map +1 -0
  39. package/http.d.mts +12 -0
  40. package/http.d.mts.map +1 -0
  41. package/http.d.ts +12 -0
  42. package/http.d.ts.map +1 -0
  43. package/http.js +190 -0
  44. package/http.js.map +1 -0
  45. package/http.mjs +182 -0
  46. package/http.mjs.map +1 -0
  47. package/index.d.mts +3 -0
  48. package/index.d.mts.map +1 -0
  49. package/index.d.ts +3 -0
  50. package/index.d.ts.map +1 -0
  51. package/index.js +60 -0
  52. package/index.js.map +1 -0
  53. package/index.mjs +58 -0
  54. package/index.mjs.map +1 -0
  55. package/instructions.d.mts +5 -0
  56. package/instructions.d.mts.map +1 -0
  57. package/instructions.d.ts +5 -0
  58. package/instructions.d.ts.map +1 -0
  59. package/instructions.js +47 -0
  60. package/instructions.js.map +1 -0
  61. package/instructions.mjs +41 -0
  62. package/instructions.mjs.map +1 -0
  63. package/logger.d.mts +7 -0
  64. package/logger.d.mts.map +1 -0
  65. package/logger.d.ts +7 -0
  66. package/logger.d.ts.map +1 -0
  67. package/logger.js +29 -0
  68. package/logger.js.map +1 -0
  69. package/logger.mjs +22 -0
  70. package/logger.mjs.map +1 -0
  71. package/methods.d.mts +10 -0
  72. package/methods.d.mts.map +1 -0
  73. package/methods.d.ts +10 -0
  74. package/methods.d.ts.map +1 -0
  75. package/methods.js +1385 -0
  76. package/methods.js.map +1 -0
  77. package/methods.mjs +1381 -0
  78. package/methods.mjs.map +1 -0
  79. package/options.d.mts +20 -0
  80. package/options.d.mts.map +1 -0
  81. package/options.d.ts +20 -0
  82. package/options.d.ts.map +1 -0
  83. package/options.js +121 -0
  84. package/options.js.map +1 -0
  85. package/options.mjs +114 -0
  86. package/options.mjs.map +1 -0
  87. package/package.json +216 -0
  88. package/server.d.mts +38 -0
  89. package/server.d.mts.map +1 -0
  90. package/server.d.ts +38 -0
  91. package/server.d.ts.map +1 -0
  92. package/server.js +162 -0
  93. package/server.js.map +1 -0
  94. package/server.mjs +152 -0
  95. package/server.mjs.map +1 -0
  96. package/src/auth.ts +42 -0
  97. package/src/code-tool-paths.cts +5 -0
  98. package/src/code-tool-types.ts +17 -0
  99. package/src/code-tool-worker.ts +499 -0
  100. package/src/code-tool.ts +316 -0
  101. package/src/http.ts +227 -0
  102. package/src/index.ts +67 -0
  103. package/src/instructions.ts +59 -0
  104. package/src/logger.ts +28 -0
  105. package/src/methods.ts +1406 -0
  106. package/src/options.ts +159 -0
  107. package/src/server.ts +202 -0
  108. package/src/stdio.ts +17 -0
  109. package/src/tsconfig.json +11 -0
  110. package/src/types.ts +126 -0
  111. package/src/util.ts +25 -0
  112. package/stdio.d.mts +3 -0
  113. package/stdio.d.mts.map +1 -0
  114. package/stdio.d.ts +3 -0
  115. package/stdio.d.ts.map +1 -0
  116. package/stdio.js +18 -0
  117. package/stdio.js.map +1 -0
  118. package/stdio.mjs +14 -0
  119. package/stdio.mjs.map +1 -0
  120. package/types.d.mts +65 -0
  121. package/types.d.mts.map +1 -0
  122. package/types.d.ts +65 -0
  123. package/types.d.ts.map +1 -0
  124. package/types.js +58 -0
  125. package/types.js.map +1 -0
  126. package/types.mjs +53 -0
  127. package/types.mjs.map +1 -0
  128. package/util.d.mts +4 -0
  129. package/util.d.mts.map +1 -0
  130. package/util.d.ts +4 -0
  131. package/util.d.ts.map +1 -0
  132. package/util.js +30 -0
  133. package/util.js.map +1 -0
  134. package/util.mjs +24 -0
  135. package/util.mjs.map +1 -0
package/methods.mjs ADDED
@@ -0,0 +1,1381 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ export const sdkMethods = [
3
+ {
4
+ clientCallName: 'client.auth.apiKeys.retrieve',
5
+ fullyQualifiedName: 'auth.apiKeys.retrieve',
6
+ httpMethod: 'get',
7
+ httpPath: '/v1/auth/api-keys/{id}',
8
+ },
9
+ {
10
+ clientCallName: 'client.auth.apiKeys.list',
11
+ fullyQualifiedName: 'auth.apiKeys.list',
12
+ httpMethod: 'get',
13
+ httpPath: '/v1/auth/api-keys',
14
+ },
15
+ {
16
+ clientCallName: 'client.auth.apiKeys.create',
17
+ fullyQualifiedName: 'auth.apiKeys.create',
18
+ httpMethod: 'post',
19
+ httpPath: '/v1/auth/api-keys',
20
+ },
21
+ {
22
+ clientCallName: 'client.auth.apiKeys.delete',
23
+ fullyQualifiedName: 'auth.apiKeys.delete',
24
+ httpMethod: 'delete',
25
+ httpPath: '/v1/auth/api-keys/{id}',
26
+ },
27
+ {
28
+ clientCallName: 'client.auth.apiKeys.actions.rotate',
29
+ fullyQualifiedName: 'auth.apiKeys.actions.rotate',
30
+ httpMethod: 'post',
31
+ httpPath: '/v1/auth/api-keys/{id}/actions/rotate',
32
+ },
33
+ {
34
+ clientCallName: 'client.core.retrieveSearch',
35
+ fullyQualifiedName: 'core.retrieveSearch',
36
+ httpMethod: 'get',
37
+ httpPath: '/v1/core/search',
38
+ },
39
+ {
40
+ clientCallName: 'client.core.sandboxes.list',
41
+ fullyQualifiedName: 'core.sandboxes.list',
42
+ httpMethod: 'get',
43
+ httpPath: '/v1/core/sandboxes',
44
+ },
45
+ {
46
+ clientCallName: 'client.core.sandboxes.retrieve',
47
+ fullyQualifiedName: 'core.sandboxes.retrieve',
48
+ httpMethod: 'get',
49
+ httpPath: '/v1/core/sandboxes/{id}',
50
+ },
51
+ {
52
+ clientCallName: 'client.core.sandboxes.create',
53
+ fullyQualifiedName: 'core.sandboxes.create',
54
+ httpMethod: 'post',
55
+ httpPath: '/v1/core/sandboxes',
56
+ },
57
+ {
58
+ clientCallName: 'client.core.sandboxes.delete',
59
+ fullyQualifiedName: 'core.sandboxes.delete',
60
+ httpMethod: 'delete',
61
+ httpPath: '/v1/core/sandboxes/{id}',
62
+ },
63
+ {
64
+ clientCallName: 'client.core.requestLogs.list',
65
+ fullyQualifiedName: 'core.requestLogs.list',
66
+ httpMethod: 'get',
67
+ httpPath: '/v1/core/request-logs',
68
+ },
69
+ {
70
+ clientCallName: 'client.core.requestLogs.retrieve',
71
+ fullyQualifiedName: 'core.requestLogs.retrieve',
72
+ httpMethod: 'get',
73
+ httpPath: '/v1/core/request-logs/{id}',
74
+ },
75
+ {
76
+ clientCallName: 'client.core.auditEvents.list',
77
+ fullyQualifiedName: 'core.auditEvents.list',
78
+ httpMethod: 'get',
79
+ httpPath: '/v1/core/audit-events',
80
+ },
81
+ {
82
+ clientCallName: 'client.core.auditEvents.retrieve',
83
+ fullyQualifiedName: 'core.auditEvents.retrieve',
84
+ httpMethod: 'get',
85
+ httpPath: '/v1/core/audit-events/{id}',
86
+ },
87
+ {
88
+ clientCallName: 'client.core.auditEvents.retrieveResourceTypes',
89
+ fullyQualifiedName: 'core.auditEvents.retrieveResourceTypes',
90
+ httpMethod: 'get',
91
+ httpPath: '/v1/core/audit-events/resource-types',
92
+ },
93
+ {
94
+ clientCallName: 'client.core.addresses.retrieveSuggestions',
95
+ fullyQualifiedName: 'core.addresses.retrieveSuggestions',
96
+ httpMethod: 'get',
97
+ httpPath: '/v1/core/addresses/suggestions',
98
+ },
99
+ {
100
+ clientCallName: 'client.core.addresses.actions.validate',
101
+ fullyQualifiedName: 'core.addresses.actions.validate',
102
+ httpMethod: 'put',
103
+ httpPath: '/v1/core/addresses/actions/validate',
104
+ },
105
+ {
106
+ clientCallName: 'client.core.emailLogs.list',
107
+ fullyQualifiedName: 'core.emailLogs.list',
108
+ httpMethod: 'get',
109
+ httpPath: '/v1/core/email-logs',
110
+ },
111
+ {
112
+ clientCallName: 'client.core.emailLogs.retrieve',
113
+ fullyQualifiedName: 'core.emailLogs.retrieve',
114
+ httpMethod: 'get',
115
+ httpPath: '/v1/core/email-logs/{id}',
116
+ },
117
+ {
118
+ clientCallName: 'client.catalog.units.list',
119
+ fullyQualifiedName: 'catalog.units.list',
120
+ httpMethod: 'get',
121
+ httpPath: '/v1/catalog/units',
122
+ },
123
+ {
124
+ clientCallName: 'client.catalog.units.retrieve',
125
+ fullyQualifiedName: 'catalog.units.retrieve',
126
+ httpMethod: 'get',
127
+ httpPath: '/v1/catalog/units/{id}',
128
+ },
129
+ {
130
+ clientCallName: 'client.catalog.units.create',
131
+ fullyQualifiedName: 'catalog.units.create',
132
+ httpMethod: 'post',
133
+ httpPath: '/v1/catalog/units',
134
+ },
135
+ {
136
+ clientCallName: 'client.catalog.units.update',
137
+ fullyQualifiedName: 'catalog.units.update',
138
+ httpMethod: 'patch',
139
+ httpPath: '/v1/catalog/units/{id}',
140
+ },
141
+ {
142
+ clientCallName: 'client.catalog.units.delete',
143
+ fullyQualifiedName: 'catalog.units.delete',
144
+ httpMethod: 'delete',
145
+ httpPath: '/v1/catalog/units/{id}',
146
+ },
147
+ {
148
+ clientCallName: 'client.catalog.unitGroups.list',
149
+ fullyQualifiedName: 'catalog.unitGroups.list',
150
+ httpMethod: 'get',
151
+ httpPath: '/v1/catalog/unit-groups',
152
+ },
153
+ {
154
+ clientCallName: 'client.catalog.unitGroups.retrieve',
155
+ fullyQualifiedName: 'catalog.unitGroups.retrieve',
156
+ httpMethod: 'get',
157
+ httpPath: '/v1/catalog/unit-groups/{id}',
158
+ },
159
+ {
160
+ clientCallName: 'client.catalog.unitGroups.create',
161
+ fullyQualifiedName: 'catalog.unitGroups.create',
162
+ httpMethod: 'post',
163
+ httpPath: '/v1/catalog/unit-groups',
164
+ },
165
+ {
166
+ clientCallName: 'client.catalog.unitGroups.update',
167
+ fullyQualifiedName: 'catalog.unitGroups.update',
168
+ httpMethod: 'patch',
169
+ httpPath: '/v1/catalog/unit-groups/{id}',
170
+ },
171
+ {
172
+ clientCallName: 'client.catalog.unitGroups.delete',
173
+ fullyQualifiedName: 'catalog.unitGroups.delete',
174
+ httpMethod: 'delete',
175
+ httpPath: '/v1/catalog/unit-groups/{id}',
176
+ },
177
+ {
178
+ clientCallName: 'client.catalog.unitGroups.units.list',
179
+ fullyQualifiedName: 'catalog.unitGroups.units.list',
180
+ httpMethod: 'get',
181
+ httpPath: '/v1/catalog/unit-groups/{unit_group_id}/units',
182
+ },
183
+ {
184
+ clientCallName: 'client.catalog.unitGroups.units.retrieve',
185
+ fullyQualifiedName: 'catalog.unitGroups.units.retrieve',
186
+ httpMethod: 'get',
187
+ httpPath: '/v1/catalog/unit-groups/{unit_group_id}/units/{id}',
188
+ },
189
+ {
190
+ clientCallName: 'client.catalog.unitGroups.units.create',
191
+ fullyQualifiedName: 'catalog.unitGroups.units.create',
192
+ httpMethod: 'post',
193
+ httpPath: '/v1/catalog/unit-groups/{unit_group_id}/units',
194
+ },
195
+ {
196
+ clientCallName: 'client.catalog.unitGroups.units.update',
197
+ fullyQualifiedName: 'catalog.unitGroups.units.update',
198
+ httpMethod: 'patch',
199
+ httpPath: '/v1/catalog/unit-groups/{unit_group_id}/units/{id}',
200
+ },
201
+ {
202
+ clientCallName: 'client.catalog.unitGroups.units.delete',
203
+ fullyQualifiedName: 'catalog.unitGroups.units.delete',
204
+ httpMethod: 'delete',
205
+ httpPath: '/v1/catalog/unit-groups/{unit_group_id}/units/{id}',
206
+ },
207
+ {
208
+ clientCallName: 'client.catalog.properties.list',
209
+ fullyQualifiedName: 'catalog.properties.list',
210
+ httpMethod: 'get',
211
+ httpPath: '/v1/catalog/properties',
212
+ },
213
+ {
214
+ clientCallName: 'client.catalog.properties.retrieve',
215
+ fullyQualifiedName: 'catalog.properties.retrieve',
216
+ httpMethod: 'get',
217
+ httpPath: '/v1/catalog/properties/{id}',
218
+ },
219
+ {
220
+ clientCallName: 'client.catalog.properties.create',
221
+ fullyQualifiedName: 'catalog.properties.create',
222
+ httpMethod: 'post',
223
+ httpPath: '/v1/catalog/properties',
224
+ },
225
+ {
226
+ clientCallName: 'client.catalog.properties.update',
227
+ fullyQualifiedName: 'catalog.properties.update',
228
+ httpMethod: 'patch',
229
+ httpPath: '/v1/catalog/properties/{id}',
230
+ },
231
+ {
232
+ clientCallName: 'client.catalog.properties.delete',
233
+ fullyQualifiedName: 'catalog.properties.delete',
234
+ httpMethod: 'delete',
235
+ httpPath: '/v1/catalog/properties/{id}',
236
+ },
237
+ {
238
+ clientCallName: 'client.catalog.properties.attributes.list',
239
+ fullyQualifiedName: 'catalog.properties.attributes.list',
240
+ httpMethod: 'get',
241
+ httpPath: '/v1/catalog/properties/{property_id}/attributes',
242
+ },
243
+ {
244
+ clientCallName: 'client.catalog.properties.attributes.retrieve',
245
+ fullyQualifiedName: 'catalog.properties.attributes.retrieve',
246
+ httpMethod: 'get',
247
+ httpPath: '/v1/catalog/properties/{property_id}/attributes/{id}',
248
+ },
249
+ {
250
+ clientCallName: 'client.catalog.properties.attributes.create',
251
+ fullyQualifiedName: 'catalog.properties.attributes.create',
252
+ httpMethod: 'post',
253
+ httpPath: '/v1/catalog/properties/{property_id}/attributes',
254
+ },
255
+ {
256
+ clientCallName: 'client.catalog.properties.attributes.update',
257
+ fullyQualifiedName: 'catalog.properties.attributes.update',
258
+ httpMethod: 'patch',
259
+ httpPath: '/v1/catalog/properties/{property_id}/attributes/{id}',
260
+ },
261
+ {
262
+ clientCallName: 'client.catalog.properties.attributes.delete',
263
+ fullyQualifiedName: 'catalog.properties.attributes.delete',
264
+ httpMethod: 'delete',
265
+ httpPath: '/v1/catalog/properties/{property_id}/attributes/{id}',
266
+ },
267
+ {
268
+ clientCallName: 'client.catalog.items.list',
269
+ fullyQualifiedName: 'catalog.items.list',
270
+ httpMethod: 'get',
271
+ httpPath: '/v1/catalog/items',
272
+ },
273
+ {
274
+ clientCallName: 'client.catalog.items.retrieve',
275
+ fullyQualifiedName: 'catalog.items.retrieve',
276
+ httpMethod: 'get',
277
+ httpPath: '/v1/catalog/items/{id}',
278
+ },
279
+ {
280
+ clientCallName: 'client.catalog.items.retrieveInventory',
281
+ fullyQualifiedName: 'catalog.items.retrieveInventory',
282
+ httpMethod: 'get',
283
+ httpPath: '/v1/catalog/items/{id}/inventory',
284
+ },
285
+ {
286
+ clientCallName: 'client.catalog.items.changeCategory',
287
+ fullyQualifiedName: 'catalog.items.changeCategory',
288
+ httpMethod: 'put',
289
+ httpPath: '/v1/catalog/items/{id}/category/{category_id}',
290
+ },
291
+ {
292
+ clientCallName: 'client.catalog.items.attributes.update',
293
+ fullyQualifiedName: 'catalog.items.attributes.update',
294
+ httpMethod: 'put',
295
+ httpPath: '/v1/catalog/items/{id}/attributes/{attribute_id}',
296
+ },
297
+ {
298
+ clientCallName: 'client.catalog.items.attributes.delete',
299
+ fullyQualifiedName: 'catalog.items.attributes.delete',
300
+ httpMethod: 'delete',
301
+ httpPath: '/v1/catalog/items/{id}/attributes/{attribute_id}',
302
+ },
303
+ {
304
+ clientCallName: 'client.catalog.itemCategories.list',
305
+ fullyQualifiedName: 'catalog.itemCategories.list',
306
+ httpMethod: 'get',
307
+ httpPath: '/v1/catalog/item-categories',
308
+ },
309
+ {
310
+ clientCallName: 'client.catalog.itemCategories.retrieve',
311
+ fullyQualifiedName: 'catalog.itemCategories.retrieve',
312
+ httpMethod: 'get',
313
+ httpPath: '/v1/catalog/item-categories/{id}',
314
+ },
315
+ {
316
+ clientCallName: 'client.catalog.itemCategories.create',
317
+ fullyQualifiedName: 'catalog.itemCategories.create',
318
+ httpMethod: 'post',
319
+ httpPath: '/v1/catalog/item-categories',
320
+ },
321
+ {
322
+ clientCallName: 'client.catalog.itemCategories.update',
323
+ fullyQualifiedName: 'catalog.itemCategories.update',
324
+ httpMethod: 'patch',
325
+ httpPath: '/v1/catalog/item-categories/{id}',
326
+ },
327
+ {
328
+ clientCallName: 'client.catalog.itemCategories.delete',
329
+ fullyQualifiedName: 'catalog.itemCategories.delete',
330
+ httpMethod: 'delete',
331
+ httpPath: '/v1/catalog/item-categories/{id}',
332
+ },
333
+ {
334
+ clientCallName: 'client.catalog.itemCategories.changeUnitGroup',
335
+ fullyQualifiedName: 'catalog.itemCategories.changeUnitGroup',
336
+ httpMethod: 'put',
337
+ httpPath: '/v1/catalog/item-categories/{id}/unit-groups/{unit_group_id}',
338
+ },
339
+ {
340
+ clientCallName: 'client.catalog.itemCategories.properties.update',
341
+ fullyQualifiedName: 'catalog.itemCategories.properties.update',
342
+ httpMethod: 'put',
343
+ httpPath: '/v1/catalog/item-categories/{id}/properties/{property_id}',
344
+ },
345
+ {
346
+ clientCallName: 'client.catalog.itemCategories.properties.delete',
347
+ fullyQualifiedName: 'catalog.itemCategories.properties.delete',
348
+ httpMethod: 'delete',
349
+ httpPath: '/v1/catalog/item-categories/{id}/properties/{property_id}',
350
+ },
351
+ {
352
+ clientCallName: 'client.catalog.materials.list',
353
+ fullyQualifiedName: 'catalog.materials.list',
354
+ httpMethod: 'get',
355
+ httpPath: '/v1/catalog/materials',
356
+ },
357
+ {
358
+ clientCallName: 'client.catalog.materials.retrieve',
359
+ fullyQualifiedName: 'catalog.materials.retrieve',
360
+ httpMethod: 'get',
361
+ httpPath: '/v1/catalog/materials/{id}',
362
+ },
363
+ {
364
+ clientCallName: 'client.catalog.materials.create',
365
+ fullyQualifiedName: 'catalog.materials.create',
366
+ httpMethod: 'post',
367
+ httpPath: '/v1/catalog/materials',
368
+ },
369
+ {
370
+ clientCallName: 'client.catalog.materials.update',
371
+ fullyQualifiedName: 'catalog.materials.update',
372
+ httpMethod: 'patch',
373
+ httpPath: '/v1/catalog/materials/{id}',
374
+ },
375
+ {
376
+ clientCallName: 'client.catalog.materials.delete',
377
+ fullyQualifiedName: 'catalog.materials.delete',
378
+ httpMethod: 'delete',
379
+ httpPath: '/v1/catalog/materials/{id}',
380
+ },
381
+ {
382
+ clientCallName: 'client.catalog.parts.list',
383
+ fullyQualifiedName: 'catalog.parts.list',
384
+ httpMethod: 'get',
385
+ httpPath: '/v1/catalog/parts',
386
+ },
387
+ {
388
+ clientCallName: 'client.catalog.parts.retrieve',
389
+ fullyQualifiedName: 'catalog.parts.retrieve',
390
+ httpMethod: 'get',
391
+ httpPath: '/v1/catalog/parts/{id}',
392
+ },
393
+ {
394
+ clientCallName: 'client.catalog.parts.create',
395
+ fullyQualifiedName: 'catalog.parts.create',
396
+ httpMethod: 'post',
397
+ httpPath: '/v1/catalog/parts',
398
+ },
399
+ {
400
+ clientCallName: 'client.catalog.parts.update',
401
+ fullyQualifiedName: 'catalog.parts.update',
402
+ httpMethod: 'patch',
403
+ httpPath: '/v1/catalog/parts/{id}',
404
+ },
405
+ {
406
+ clientCallName: 'client.catalog.parts.delete',
407
+ fullyQualifiedName: 'catalog.parts.delete',
408
+ httpMethod: 'delete',
409
+ httpPath: '/v1/catalog/parts/{id}',
410
+ },
411
+ {
412
+ clientCallName: 'client.catalog.productLines.list',
413
+ fullyQualifiedName: 'catalog.productLines.list',
414
+ httpMethod: 'get',
415
+ httpPath: '/v1/catalog/product-lines',
416
+ },
417
+ {
418
+ clientCallName: 'client.catalog.productLines.retrieve',
419
+ fullyQualifiedName: 'catalog.productLines.retrieve',
420
+ httpMethod: 'get',
421
+ httpPath: '/v1/catalog/product-lines/{id}',
422
+ },
423
+ {
424
+ clientCallName: 'client.catalog.productLines.create',
425
+ fullyQualifiedName: 'catalog.productLines.create',
426
+ httpMethod: 'post',
427
+ httpPath: '/v1/catalog/product-lines',
428
+ },
429
+ {
430
+ clientCallName: 'client.catalog.productLines.update',
431
+ fullyQualifiedName: 'catalog.productLines.update',
432
+ httpMethod: 'patch',
433
+ httpPath: '/v1/catalog/product-lines/{id}',
434
+ },
435
+ {
436
+ clientCallName: 'client.catalog.productLines.delete',
437
+ fullyQualifiedName: 'catalog.productLines.delete',
438
+ httpMethod: 'delete',
439
+ httpPath: '/v1/catalog/product-lines/{id}',
440
+ },
441
+ {
442
+ clientCallName: 'client.catalog.products.list',
443
+ fullyQualifiedName: 'catalog.products.list',
444
+ httpMethod: 'get',
445
+ httpPath: '/v1/catalog/products',
446
+ },
447
+ {
448
+ clientCallName: 'client.catalog.products.retrieve',
449
+ fullyQualifiedName: 'catalog.products.retrieve',
450
+ httpMethod: 'get',
451
+ httpPath: '/v1/catalog/products/{id}',
452
+ },
453
+ {
454
+ clientCallName: 'client.catalog.products.create',
455
+ fullyQualifiedName: 'catalog.products.create',
456
+ httpMethod: 'post',
457
+ httpPath: '/v1/catalog/products',
458
+ },
459
+ {
460
+ clientCallName: 'client.catalog.products.update',
461
+ fullyQualifiedName: 'catalog.products.update',
462
+ httpMethod: 'patch',
463
+ httpPath: '/v1/catalog/products/{id}',
464
+ },
465
+ {
466
+ clientCallName: 'client.catalog.products.delete',
467
+ fullyQualifiedName: 'catalog.products.delete',
468
+ httpMethod: 'delete',
469
+ httpPath: '/v1/catalog/products/{id}',
470
+ },
471
+ {
472
+ clientCallName: 'client.catalog.products.changeProductLine',
473
+ fullyQualifiedName: 'catalog.products.changeProductLine',
474
+ httpMethod: 'put',
475
+ httpPath: '/v1/catalog/products/{id}/product-line/{product_line_id}',
476
+ },
477
+ {
478
+ clientCallName: 'client.messaging.retrieveContacts',
479
+ fullyQualifiedName: 'messaging.retrieveContacts',
480
+ httpMethod: 'get',
481
+ httpPath: '/v1/messaging/contacts',
482
+ },
483
+ {
484
+ clientCallName: 'client.messaging.notifications.create',
485
+ fullyQualifiedName: 'messaging.notifications.create',
486
+ httpMethod: 'post',
487
+ httpPath: '/v1/messaging/notifications',
488
+ },
489
+ {
490
+ clientCallName: 'client.messaging.notifications.list',
491
+ fullyQualifiedName: 'messaging.notifications.list',
492
+ httpMethod: 'get',
493
+ httpPath: '/v1/messaging/notifications',
494
+ },
495
+ {
496
+ clientCallName: 'client.messaging.notifications.retrieve',
497
+ fullyQualifiedName: 'messaging.notifications.retrieve',
498
+ httpMethod: 'get',
499
+ httpPath: '/v1/messaging/notifications/{id}',
500
+ },
501
+ {
502
+ clientCallName: 'client.messaging.notifications.retrieveUnreadCount',
503
+ fullyQualifiedName: 'messaging.notifications.retrieveUnreadCount',
504
+ httpMethod: 'get',
505
+ httpPath: '/v1/messaging/notifications/unread-count',
506
+ },
507
+ {
508
+ clientCallName: 'client.messaging.notifications.retrieveUnreadSummary',
509
+ fullyQualifiedName: 'messaging.notifications.retrieveUnreadSummary',
510
+ httpMethod: 'get',
511
+ httpPath: '/v1/messaging/notifications/unread-summary',
512
+ },
513
+ {
514
+ clientCallName: 'client.messaging.notifications.actions.seen',
515
+ fullyQualifiedName: 'messaging.notifications.actions.seen',
516
+ httpMethod: 'post',
517
+ httpPath: '/v1/messaging/notifications/{id}/actions/seen',
518
+ },
519
+ {
520
+ clientCallName: 'client.messaging.notifications.actions.read',
521
+ fullyQualifiedName: 'messaging.notifications.actions.read',
522
+ httpMethod: 'post',
523
+ httpPath: '/v1/messaging/notifications/{id}/actions/read',
524
+ },
525
+ {
526
+ clientCallName: 'client.messaging.notifications.actions.dismiss',
527
+ fullyQualifiedName: 'messaging.notifications.actions.dismiss',
528
+ httpMethod: 'post',
529
+ httpPath: '/v1/messaging/notifications/{id}/actions/dismiss',
530
+ },
531
+ {
532
+ clientCallName: 'client.messaging.notifications.actions.markAllSeen',
533
+ fullyQualifiedName: 'messaging.notifications.actions.markAllSeen',
534
+ httpMethod: 'post',
535
+ httpPath: '/v1/messaging/notifications/actions/mark-all-seen',
536
+ },
537
+ {
538
+ clientCallName: 'client.messaging.announcements.list',
539
+ fullyQualifiedName: 'messaging.announcements.list',
540
+ httpMethod: 'get',
541
+ httpPath: '/v1/messaging/announcements',
542
+ },
543
+ {
544
+ clientCallName: 'client.messaging.announcements.retrieve',
545
+ fullyQualifiedName: 'messaging.announcements.retrieve',
546
+ httpMethod: 'get',
547
+ httpPath: '/v1/messaging/announcements/{id}',
548
+ },
549
+ {
550
+ clientCallName: 'client.messaging.announcements.actions.seen',
551
+ fullyQualifiedName: 'messaging.announcements.actions.seen',
552
+ httpMethod: 'post',
553
+ httpPath: '/v1/messaging/announcements/{id}/actions/seen',
554
+ },
555
+ {
556
+ clientCallName: 'client.messaging.announcements.actions.read',
557
+ fullyQualifiedName: 'messaging.announcements.actions.read',
558
+ httpMethod: 'post',
559
+ httpPath: '/v1/messaging/announcements/{id}/actions/read',
560
+ },
561
+ {
562
+ clientCallName: 'client.messaging.announcements.actions.dismiss',
563
+ fullyQualifiedName: 'messaging.announcements.actions.dismiss',
564
+ httpMethod: 'post',
565
+ httpPath: '/v1/messaging/announcements/{id}/actions/dismiss',
566
+ },
567
+ {
568
+ clientCallName: 'client.messaging.conversations.create',
569
+ fullyQualifiedName: 'messaging.conversations.create',
570
+ httpMethod: 'post',
571
+ httpPath: '/v1/messaging/conversations',
572
+ },
573
+ {
574
+ clientCallName: 'client.messaging.conversations.list',
575
+ fullyQualifiedName: 'messaging.conversations.list',
576
+ httpMethod: 'get',
577
+ httpPath: '/v1/messaging/conversations',
578
+ },
579
+ {
580
+ clientCallName: 'client.messaging.conversations.retrieve',
581
+ fullyQualifiedName: 'messaging.conversations.retrieve',
582
+ httpMethod: 'get',
583
+ httpPath: '/v1/messaging/conversations/{id}',
584
+ },
585
+ {
586
+ clientCallName: 'client.messaging.conversations.update',
587
+ fullyQualifiedName: 'messaging.conversations.update',
588
+ httpMethod: 'patch',
589
+ httpPath: '/v1/messaging/conversations/{id}',
590
+ },
591
+ {
592
+ clientCallName: 'client.messaging.conversations.actions.setLegalHold',
593
+ fullyQualifiedName: 'messaging.conversations.actions.setLegalHold',
594
+ httpMethod: 'post',
595
+ httpPath: '/v1/messaging/conversations/{id}/actions/set-legal-hold',
596
+ },
597
+ {
598
+ clientCallName: 'client.messaging.conversations.actions.redact',
599
+ fullyQualifiedName: 'messaging.conversations.actions.redact',
600
+ httpMethod: 'post',
601
+ httpPath: '/v1/messaging/conversations/{id}/actions/redact',
602
+ },
603
+ {
604
+ clientCallName: 'client.messaging.conversations.actions.read',
605
+ fullyQualifiedName: 'messaging.conversations.actions.read',
606
+ httpMethod: 'post',
607
+ httpPath: '/v1/messaging/conversations/{id}/actions/read',
608
+ },
609
+ {
610
+ clientCallName: 'client.messaging.conversations.actions.archive',
611
+ fullyQualifiedName: 'messaging.conversations.actions.archive',
612
+ httpMethod: 'post',
613
+ httpPath: '/v1/messaging/conversations/{id}/actions/archive',
614
+ },
615
+ {
616
+ clientCallName: 'client.messaging.conversations.actions.unarchive',
617
+ fullyQualifiedName: 'messaging.conversations.actions.unarchive',
618
+ httpMethod: 'post',
619
+ httpPath: '/v1/messaging/conversations/{id}/actions/unarchive',
620
+ },
621
+ {
622
+ clientCallName: 'client.messaging.conversations.actions.leave',
623
+ fullyQualifiedName: 'messaging.conversations.actions.leave',
624
+ httpMethod: 'post',
625
+ httpPath: '/v1/messaging/conversations/{id}/actions/leave',
626
+ },
627
+ {
628
+ clientCallName: 'client.messaging.conversations.actions.hide',
629
+ fullyQualifiedName: 'messaging.conversations.actions.hide',
630
+ httpMethod: 'post',
631
+ httpPath: '/v1/messaging/conversations/{id}/actions/hide',
632
+ },
633
+ {
634
+ clientCallName: 'client.messaging.conversations.actions.unhide',
635
+ fullyQualifiedName: 'messaging.conversations.actions.unhide',
636
+ httpMethod: 'post',
637
+ httpPath: '/v1/messaging/conversations/{id}/actions/unhide',
638
+ },
639
+ {
640
+ clientCallName: 'client.messaging.conversations.actions.mute',
641
+ fullyQualifiedName: 'messaging.conversations.actions.mute',
642
+ httpMethod: 'post',
643
+ httpPath: '/v1/messaging/conversations/{id}/actions/mute',
644
+ },
645
+ {
646
+ clientCallName: 'client.messaging.conversations.actions.unmute',
647
+ fullyQualifiedName: 'messaging.conversations.actions.unmute',
648
+ httpMethod: 'post',
649
+ httpPath: '/v1/messaging/conversations/{id}/actions/unmute',
650
+ },
651
+ {
652
+ clientCallName: 'client.messaging.conversations.actions.setStatus',
653
+ fullyQualifiedName: 'messaging.conversations.actions.setStatus',
654
+ httpMethod: 'post',
655
+ httpPath: '/v1/messaging/conversations/{id}/actions/set-status',
656
+ },
657
+ {
658
+ clientCallName: 'client.messaging.conversations.actions.assign',
659
+ fullyQualifiedName: 'messaging.conversations.actions.assign',
660
+ httpMethod: 'post',
661
+ httpPath: '/v1/messaging/conversations/{id}/actions/assign',
662
+ },
663
+ {
664
+ clientCallName: 'client.messaging.conversations.actions.report',
665
+ fullyQualifiedName: 'messaging.conversations.actions.report',
666
+ httpMethod: 'post',
667
+ httpPath: '/v1/messaging/conversations/{id}/actions/report',
668
+ },
669
+ {
670
+ clientCallName: 'client.messaging.conversations.links.create',
671
+ fullyQualifiedName: 'messaging.conversations.links.create',
672
+ httpMethod: 'post',
673
+ httpPath: '/v1/messaging/conversations/{id}/links',
674
+ },
675
+ {
676
+ clientCallName: 'client.messaging.conversations.links.delete',
677
+ fullyQualifiedName: 'messaging.conversations.links.delete',
678
+ httpMethod: 'delete',
679
+ httpPath: '/v1/messaging/conversations/{id}/links/{link_id}',
680
+ },
681
+ {
682
+ clientCallName: 'client.messaging.conversations.links.list',
683
+ fullyQualifiedName: 'messaging.conversations.links.list',
684
+ httpMethod: 'get',
685
+ httpPath: '/v1/messaging/conversations/{id}/links',
686
+ },
687
+ {
688
+ clientCallName: 'client.messaging.conversations.messages.create',
689
+ fullyQualifiedName: 'messaging.conversations.messages.create',
690
+ httpMethod: 'post',
691
+ httpPath: '/v1/messaging/conversations/{id}/messages',
692
+ },
693
+ {
694
+ clientCallName: 'client.messaging.conversations.messages.list',
695
+ fullyQualifiedName: 'messaging.conversations.messages.list',
696
+ httpMethod: 'get',
697
+ httpPath: '/v1/messaging/conversations/{id}/messages',
698
+ },
699
+ {
700
+ clientCallName: 'client.messaging.conversations.participants.create',
701
+ fullyQualifiedName: 'messaging.conversations.participants.create',
702
+ httpMethod: 'post',
703
+ httpPath: '/v1/messaging/conversations/{id}/participants',
704
+ },
705
+ {
706
+ clientCallName: 'client.messaging.conversations.participants.delete',
707
+ fullyQualifiedName: 'messaging.conversations.participants.delete',
708
+ httpMethod: 'delete',
709
+ httpPath: '/v1/messaging/conversations/{id}/participants/{pid}',
710
+ },
711
+ {
712
+ clientCallName: 'client.messaging.conversations.participants.actions.setRole',
713
+ fullyQualifiedName: 'messaging.conversations.participants.actions.setRole',
714
+ httpMethod: 'post',
715
+ httpPath: '/v1/messaging/conversations/{id}/participants/{pid}/actions/set-role',
716
+ },
717
+ {
718
+ clientCallName: 'client.messaging.conversations.attachments.actions.uploadURL',
719
+ fullyQualifiedName: 'messaging.conversations.attachments.actions.uploadURL',
720
+ httpMethod: 'post',
721
+ httpPath: '/v1/messaging/conversations/{id}/attachments/actions/upload-url',
722
+ },
723
+ {
724
+ clientCallName: 'client.messaging.messages.update',
725
+ fullyQualifiedName: 'messaging.messages.update',
726
+ httpMethod: 'patch',
727
+ httpPath: '/v1/messaging/messages/{id}',
728
+ },
729
+ {
730
+ clientCallName: 'client.messaging.messages.actions.approveSend',
731
+ fullyQualifiedName: 'messaging.messages.actions.approveSend',
732
+ httpMethod: 'post',
733
+ httpPath: '/v1/messaging/messages/{id}/actions/approve-send',
734
+ },
735
+ {
736
+ clientCallName: 'client.messaging.messages.actions.reject',
737
+ fullyQualifiedName: 'messaging.messages.actions.reject',
738
+ httpMethod: 'post',
739
+ httpPath: '/v1/messaging/messages/{id}/actions/reject',
740
+ },
741
+ {
742
+ clientCallName: 'client.messaging.messages.actions.cancel',
743
+ fullyQualifiedName: 'messaging.messages.actions.cancel',
744
+ httpMethod: 'post',
745
+ httpPath: '/v1/messaging/messages/{id}/actions/cancel',
746
+ },
747
+ {
748
+ clientCallName: 'client.messaging.groups.create',
749
+ fullyQualifiedName: 'messaging.groups.create',
750
+ httpMethod: 'post',
751
+ httpPath: '/v1/messaging/groups',
752
+ },
753
+ {
754
+ clientCallName: 'client.messaging.groups.list',
755
+ fullyQualifiedName: 'messaging.groups.list',
756
+ httpMethod: 'get',
757
+ httpPath: '/v1/messaging/groups',
758
+ },
759
+ {
760
+ clientCallName: 'client.messaging.groups.retrieve',
761
+ fullyQualifiedName: 'messaging.groups.retrieve',
762
+ httpMethod: 'get',
763
+ httpPath: '/v1/messaging/groups/{id}',
764
+ },
765
+ {
766
+ clientCallName: 'client.messaging.groups.update',
767
+ fullyQualifiedName: 'messaging.groups.update',
768
+ httpMethod: 'patch',
769
+ httpPath: '/v1/messaging/groups/{id}',
770
+ },
771
+ {
772
+ clientCallName: 'client.messaging.groups.delete',
773
+ fullyQualifiedName: 'messaging.groups.delete',
774
+ httpMethod: 'delete',
775
+ httpPath: '/v1/messaging/groups/{id}',
776
+ },
777
+ {
778
+ clientCallName: 'client.messaging.groups.members.create',
779
+ fullyQualifiedName: 'messaging.groups.members.create',
780
+ httpMethod: 'post',
781
+ httpPath: '/v1/messaging/groups/{id}/members',
782
+ },
783
+ {
784
+ clientCallName: 'client.messaging.groups.members.delete',
785
+ fullyQualifiedName: 'messaging.groups.members.delete',
786
+ httpMethod: 'delete',
787
+ httpPath: '/v1/messaging/groups/{id}/members/{member_id}',
788
+ },
789
+ {
790
+ clientCallName: 'client.messaging.blocks.create',
791
+ fullyQualifiedName: 'messaging.blocks.create',
792
+ httpMethod: 'post',
793
+ httpPath: '/v1/messaging/blocks',
794
+ },
795
+ {
796
+ clientCallName: 'client.messaging.blocks.delete',
797
+ fullyQualifiedName: 'messaging.blocks.delete',
798
+ httpMethod: 'delete',
799
+ httpPath: '/v1/messaging/blocks/{id}',
800
+ },
801
+ {
802
+ clientCallName: 'client.messaging.blocks.list',
803
+ fullyQualifiedName: 'messaging.blocks.list',
804
+ httpMethod: 'get',
805
+ httpPath: '/v1/messaging/blocks',
806
+ },
807
+ {
808
+ clientCallName: 'client.messaging.preferences.list',
809
+ fullyQualifiedName: 'messaging.preferences.list',
810
+ httpMethod: 'get',
811
+ httpPath: '/v1/messaging/preferences',
812
+ },
813
+ {
814
+ clientCallName: 'client.messaging.preferences.update',
815
+ fullyQualifiedName: 'messaging.preferences.update',
816
+ httpMethod: 'put',
817
+ httpPath: '/v1/messaging/preferences',
818
+ },
819
+ {
820
+ clientCallName: 'client.messaging.emailDomains.create',
821
+ fullyQualifiedName: 'messaging.emailDomains.create',
822
+ httpMethod: 'post',
823
+ httpPath: '/v1/messaging/email-domains',
824
+ },
825
+ {
826
+ clientCallName: 'client.messaging.emailDomains.list',
827
+ fullyQualifiedName: 'messaging.emailDomains.list',
828
+ httpMethod: 'get',
829
+ httpPath: '/v1/messaging/email-domains',
830
+ },
831
+ {
832
+ clientCallName: 'client.messaging.emailDomains.retrieve',
833
+ fullyQualifiedName: 'messaging.emailDomains.retrieve',
834
+ httpMethod: 'get',
835
+ httpPath: '/v1/messaging/email-domains/{id}',
836
+ },
837
+ {
838
+ clientCallName: 'client.messaging.emailDomains.actions.verify',
839
+ fullyQualifiedName: 'messaging.emailDomains.actions.verify',
840
+ httpMethod: 'post',
841
+ httpPath: '/v1/messaging/email-domains/{id}/actions/verify',
842
+ },
843
+ {
844
+ clientCallName: 'client.messaging.emailInboxes.create',
845
+ fullyQualifiedName: 'messaging.emailInboxes.create',
846
+ httpMethod: 'post',
847
+ httpPath: '/v1/messaging/email-inboxes',
848
+ },
849
+ {
850
+ clientCallName: 'client.messaging.emailInboxes.list',
851
+ fullyQualifiedName: 'messaging.emailInboxes.list',
852
+ httpMethod: 'get',
853
+ httpPath: '/v1/messaging/email-inboxes',
854
+ },
855
+ {
856
+ clientCallName: 'client.messaging.emailInboxes.retrieve',
857
+ fullyQualifiedName: 'messaging.emailInboxes.retrieve',
858
+ httpMethod: 'get',
859
+ httpPath: '/v1/messaging/email-inboxes/{id}',
860
+ },
861
+ {
862
+ clientCallName: 'client.messaging.emailInboxes.update',
863
+ fullyQualifiedName: 'messaging.emailInboxes.update',
864
+ httpMethod: 'patch',
865
+ httpPath: '/v1/messaging/email-inboxes/{id}',
866
+ },
867
+ {
868
+ clientCallName: 'client.messaging.emailInboxes.delete',
869
+ fullyQualifiedName: 'messaging.emailInboxes.delete',
870
+ httpMethod: 'delete',
871
+ httpPath: '/v1/messaging/email-inboxes/{id}',
872
+ },
873
+ {
874
+ clientCallName: 'client.sales.accountGroups.list',
875
+ fullyQualifiedName: 'sales.accountGroups.list',
876
+ httpMethod: 'get',
877
+ httpPath: '/v1/sales/account-groups',
878
+ },
879
+ {
880
+ clientCallName: 'client.sales.accountGroups.retrieve',
881
+ fullyQualifiedName: 'sales.accountGroups.retrieve',
882
+ httpMethod: 'get',
883
+ httpPath: '/v1/sales/account-groups/{id}',
884
+ },
885
+ {
886
+ clientCallName: 'client.sales.accountGroups.create',
887
+ fullyQualifiedName: 'sales.accountGroups.create',
888
+ httpMethod: 'post',
889
+ httpPath: '/v1/sales/account-groups',
890
+ },
891
+ {
892
+ clientCallName: 'client.sales.accountGroups.update',
893
+ fullyQualifiedName: 'sales.accountGroups.update',
894
+ httpMethod: 'patch',
895
+ httpPath: '/v1/sales/account-groups/{id}',
896
+ },
897
+ {
898
+ clientCallName: 'client.sales.accountGroups.delete',
899
+ fullyQualifiedName: 'sales.accountGroups.delete',
900
+ httpMethod: 'delete',
901
+ httpPath: '/v1/sales/account-groups/{id}',
902
+ },
903
+ {
904
+ clientCallName: 'client.sales.addresses.list',
905
+ fullyQualifiedName: 'sales.addresses.list',
906
+ httpMethod: 'get',
907
+ httpPath: '/v1/sales/addresses',
908
+ },
909
+ {
910
+ clientCallName: 'client.sales.addresses.retrieve',
911
+ fullyQualifiedName: 'sales.addresses.retrieve',
912
+ httpMethod: 'get',
913
+ httpPath: '/v1/sales/addresses/{id}',
914
+ },
915
+ {
916
+ clientCallName: 'client.sales.addresses.create',
917
+ fullyQualifiedName: 'sales.addresses.create',
918
+ httpMethod: 'post',
919
+ httpPath: '/v1/sales/addresses',
920
+ },
921
+ {
922
+ clientCallName: 'client.sales.addresses.update',
923
+ fullyQualifiedName: 'sales.addresses.update',
924
+ httpMethod: 'patch',
925
+ httpPath: '/v1/sales/addresses/{id}',
926
+ },
927
+ {
928
+ clientCallName: 'client.sales.addresses.delete',
929
+ fullyQualifiedName: 'sales.addresses.delete',
930
+ httpMethod: 'delete',
931
+ httpPath: '/v1/sales/addresses/{id}',
932
+ },
933
+ {
934
+ clientCallName: 'client.sales.accountStatuses.list',
935
+ fullyQualifiedName: 'sales.accountStatuses.list',
936
+ httpMethod: 'get',
937
+ httpPath: '/v1/sales/account-statuses',
938
+ },
939
+ {
940
+ clientCallName: 'client.sales.accountStatuses.retrieve',
941
+ fullyQualifiedName: 'sales.accountStatuses.retrieve',
942
+ httpMethod: 'get',
943
+ httpPath: '/v1/sales/account-statuses/{id}',
944
+ },
945
+ {
946
+ clientCallName: 'client.sales.priorities.list',
947
+ fullyQualifiedName: 'sales.priorities.list',
948
+ httpMethod: 'get',
949
+ httpPath: '/v1/sales/priorities',
950
+ },
951
+ {
952
+ clientCallName: 'client.sales.priorities.retrieve',
953
+ fullyQualifiedName: 'sales.priorities.retrieve',
954
+ httpMethod: 'get',
955
+ httpPath: '/v1/sales/priorities/{id}',
956
+ },
957
+ {
958
+ clientCallName: 'client.sales.customers.list',
959
+ fullyQualifiedName: 'sales.customers.list',
960
+ httpMethod: 'get',
961
+ httpPath: '/v1/sales/customers',
962
+ },
963
+ {
964
+ clientCallName: 'client.sales.customers.retrieve',
965
+ fullyQualifiedName: 'sales.customers.retrieve',
966
+ httpMethod: 'get',
967
+ httpPath: '/v1/sales/customers/{id}',
968
+ },
969
+ {
970
+ clientCallName: 'client.sales.customers.create',
971
+ fullyQualifiedName: 'sales.customers.create',
972
+ httpMethod: 'post',
973
+ httpPath: '/v1/sales/customers',
974
+ },
975
+ {
976
+ clientCallName: 'client.sales.customers.update',
977
+ fullyQualifiedName: 'sales.customers.update',
978
+ httpMethod: 'patch',
979
+ httpPath: '/v1/sales/customers/{id}',
980
+ },
981
+ {
982
+ clientCallName: 'client.sales.customers.delete',
983
+ fullyQualifiedName: 'sales.customers.delete',
984
+ httpMethod: 'delete',
985
+ httpPath: '/v1/sales/customers/{id}',
986
+ },
987
+ {
988
+ clientCallName: 'client.sales.customers.actions.merge',
989
+ fullyQualifiedName: 'sales.customers.actions.merge',
990
+ httpMethod: 'post',
991
+ httpPath: '/v1/sales/customers/{id}/actions/merge',
992
+ },
993
+ {
994
+ clientCallName: 'client.sales.contacts.actions.findByEmail',
995
+ fullyQualifiedName: 'sales.contacts.actions.findByEmail',
996
+ httpMethod: 'post',
997
+ httpPath: '/v1/sales/contacts/actions/find-by-email',
998
+ },
999
+ {
1000
+ clientCallName: 'client.sales.salesOrders.retrieveStatuses',
1001
+ fullyQualifiedName: 'sales.salesOrders.retrieveStatuses',
1002
+ httpMethod: 'get',
1003
+ httpPath: '/v1/sales/sales-orders/statuses',
1004
+ },
1005
+ {
1006
+ clientCallName: 'client.sales.salesOrders.list',
1007
+ fullyQualifiedName: 'sales.salesOrders.list',
1008
+ httpMethod: 'get',
1009
+ httpPath: '/v1/sales/sales-orders',
1010
+ },
1011
+ {
1012
+ clientCallName: 'client.sales.salesOrders.create',
1013
+ fullyQualifiedName: 'sales.salesOrders.create',
1014
+ httpMethod: 'post',
1015
+ httpPath: '/v1/sales/sales-orders',
1016
+ },
1017
+ {
1018
+ clientCallName: 'client.finance.retrieveTransactionTypes',
1019
+ fullyQualifiedName: 'finance.retrieveTransactionTypes',
1020
+ httpMethod: 'get',
1021
+ httpPath: '/v1/finance/transaction-types',
1022
+ },
1023
+ {
1024
+ clientCallName: 'client.finance.retrieveTransactionMethods',
1025
+ fullyQualifiedName: 'finance.retrieveTransactionMethods',
1026
+ httpMethod: 'get',
1027
+ httpPath: '/v1/finance/transaction-methods',
1028
+ },
1029
+ {
1030
+ clientCallName: 'client.finance.retrieveAdjustmentTypes',
1031
+ fullyQualifiedName: 'finance.retrieveAdjustmentTypes',
1032
+ httpMethod: 'get',
1033
+ httpPath: '/v1/finance/adjustment-types',
1034
+ },
1035
+ {
1036
+ clientCallName: 'client.finance.paymentTerms.list',
1037
+ fullyQualifiedName: 'finance.paymentTerms.list',
1038
+ httpMethod: 'get',
1039
+ httpPath: '/v1/finance/payment-terms',
1040
+ },
1041
+ {
1042
+ clientCallName: 'client.finance.paymentTerms.retrieve',
1043
+ fullyQualifiedName: 'finance.paymentTerms.retrieve',
1044
+ httpMethod: 'get',
1045
+ httpPath: '/v1/finance/payment-terms/{id}',
1046
+ },
1047
+ {
1048
+ clientCallName: 'client.finance.paymentTerms.create',
1049
+ fullyQualifiedName: 'finance.paymentTerms.create',
1050
+ httpMethod: 'post',
1051
+ httpPath: '/v1/finance/payment-terms',
1052
+ },
1053
+ {
1054
+ clientCallName: 'client.finance.paymentTerms.update',
1055
+ fullyQualifiedName: 'finance.paymentTerms.update',
1056
+ httpMethod: 'patch',
1057
+ httpPath: '/v1/finance/payment-terms/{id}',
1058
+ },
1059
+ {
1060
+ clientCallName: 'client.finance.paymentTerms.delete',
1061
+ fullyQualifiedName: 'finance.paymentTerms.delete',
1062
+ httpMethod: 'delete',
1063
+ httpPath: '/v1/finance/payment-terms/{id}',
1064
+ },
1065
+ {
1066
+ clientCallName: 'client.operations.shippingTerms.list',
1067
+ fullyQualifiedName: 'operations.shippingTerms.list',
1068
+ httpMethod: 'get',
1069
+ httpPath: '/v1/operations/shipping-terms',
1070
+ },
1071
+ {
1072
+ clientCallName: 'client.operations.shippingTerms.retrieve',
1073
+ fullyQualifiedName: 'operations.shippingTerms.retrieve',
1074
+ httpMethod: 'get',
1075
+ httpPath: '/v1/operations/shipping-terms/{id}',
1076
+ },
1077
+ {
1078
+ clientCallName: 'client.operations.shippingTerms.create',
1079
+ fullyQualifiedName: 'operations.shippingTerms.create',
1080
+ httpMethod: 'post',
1081
+ httpPath: '/v1/operations/shipping-terms',
1082
+ },
1083
+ {
1084
+ clientCallName: 'client.operations.shippingTerms.update',
1085
+ fullyQualifiedName: 'operations.shippingTerms.update',
1086
+ httpMethod: 'patch',
1087
+ httpPath: '/v1/operations/shipping-terms/{id}',
1088
+ },
1089
+ {
1090
+ clientCallName: 'client.operations.shippingTerms.delete',
1091
+ fullyQualifiedName: 'operations.shippingTerms.delete',
1092
+ httpMethod: 'delete',
1093
+ httpPath: '/v1/operations/shipping-terms/{id}',
1094
+ },
1095
+ {
1096
+ clientCallName: 'client.operations.carriers.list',
1097
+ fullyQualifiedName: 'operations.carriers.list',
1098
+ httpMethod: 'get',
1099
+ httpPath: '/v1/operations/carriers',
1100
+ },
1101
+ {
1102
+ clientCallName: 'client.operations.carriers.retrieve',
1103
+ fullyQualifiedName: 'operations.carriers.retrieve',
1104
+ httpMethod: 'get',
1105
+ httpPath: '/v1/operations/carriers/{id}',
1106
+ },
1107
+ {
1108
+ clientCallName: 'client.operations.carriers.create',
1109
+ fullyQualifiedName: 'operations.carriers.create',
1110
+ httpMethod: 'post',
1111
+ httpPath: '/v1/operations/carriers',
1112
+ },
1113
+ {
1114
+ clientCallName: 'client.operations.carriers.update',
1115
+ fullyQualifiedName: 'operations.carriers.update',
1116
+ httpMethod: 'patch',
1117
+ httpPath: '/v1/operations/carriers/{id}',
1118
+ },
1119
+ {
1120
+ clientCallName: 'client.operations.carriers.delete',
1121
+ fullyQualifiedName: 'operations.carriers.delete',
1122
+ httpMethod: 'delete',
1123
+ httpPath: '/v1/operations/carriers/{id}',
1124
+ },
1125
+ {
1126
+ clientCallName: 'client.operations.carriers.serviceLevels.list',
1127
+ fullyQualifiedName: 'operations.carriers.serviceLevels.list',
1128
+ httpMethod: 'get',
1129
+ httpPath: '/v1/operations/carriers/{carrier_id}/service-levels',
1130
+ },
1131
+ {
1132
+ clientCallName: 'client.operations.carriers.serviceLevels.retrieve',
1133
+ fullyQualifiedName: 'operations.carriers.serviceLevels.retrieve',
1134
+ httpMethod: 'get',
1135
+ httpPath: '/v1/operations/carriers/{carrier_id}/service-levels/{id}',
1136
+ },
1137
+ {
1138
+ clientCallName: 'client.operations.carriers.serviceLevels.create',
1139
+ fullyQualifiedName: 'operations.carriers.serviceLevels.create',
1140
+ httpMethod: 'post',
1141
+ httpPath: '/v1/operations/carriers/{carrier_id}/service-levels',
1142
+ },
1143
+ {
1144
+ clientCallName: 'client.operations.carriers.serviceLevels.update',
1145
+ fullyQualifiedName: 'operations.carriers.serviceLevels.update',
1146
+ httpMethod: 'patch',
1147
+ httpPath: '/v1/operations/carriers/{carrier_id}/service-levels/{id}',
1148
+ },
1149
+ {
1150
+ clientCallName: 'client.operations.carriers.serviceLevels.delete',
1151
+ fullyQualifiedName: 'operations.carriers.serviceLevels.delete',
1152
+ httpMethod: 'delete',
1153
+ httpPath: '/v1/operations/carriers/{carrier_id}/service-levels/{id}',
1154
+ },
1155
+ {
1156
+ clientCallName: 'client.operations.locations.list',
1157
+ fullyQualifiedName: 'operations.locations.list',
1158
+ httpMethod: 'get',
1159
+ httpPath: '/v1/operations/locations',
1160
+ },
1161
+ {
1162
+ clientCallName: 'client.operations.locations.retrieve',
1163
+ fullyQualifiedName: 'operations.locations.retrieve',
1164
+ httpMethod: 'get',
1165
+ httpPath: '/v1/operations/locations/{id}',
1166
+ },
1167
+ {
1168
+ clientCallName: 'client.operations.locations.create',
1169
+ fullyQualifiedName: 'operations.locations.create',
1170
+ httpMethod: 'post',
1171
+ httpPath: '/v1/operations/locations',
1172
+ },
1173
+ {
1174
+ clientCallName: 'client.operations.locations.update',
1175
+ fullyQualifiedName: 'operations.locations.update',
1176
+ httpMethod: 'patch',
1177
+ httpPath: '/v1/operations/locations/{id}',
1178
+ },
1179
+ {
1180
+ clientCallName: 'client.operations.locations.delete',
1181
+ fullyQualifiedName: 'operations.locations.delete',
1182
+ httpMethod: 'delete',
1183
+ httpPath: '/v1/operations/locations/{id}',
1184
+ },
1185
+ {
1186
+ clientCallName: 'client.operations.locationTypes.list',
1187
+ fullyQualifiedName: 'operations.locationTypes.list',
1188
+ httpMethod: 'get',
1189
+ httpPath: '/v1/operations/location-types',
1190
+ },
1191
+ {
1192
+ clientCallName: 'client.operations.locationTypes.retrieve',
1193
+ fullyQualifiedName: 'operations.locationTypes.retrieve',
1194
+ httpMethod: 'get',
1195
+ httpPath: '/v1/operations/location-types/{id}',
1196
+ },
1197
+ {
1198
+ clientCallName: 'client.operations.scanningStations.list',
1199
+ fullyQualifiedName: 'operations.scanningStations.list',
1200
+ httpMethod: 'get',
1201
+ httpPath: '/v1/operations/scanning-stations',
1202
+ },
1203
+ {
1204
+ clientCallName: 'client.operations.scanningStations.retrieve',
1205
+ fullyQualifiedName: 'operations.scanningStations.retrieve',
1206
+ httpMethod: 'get',
1207
+ httpPath: '/v1/operations/scanning-stations/{id}',
1208
+ },
1209
+ {
1210
+ clientCallName: 'client.operations.scanningStations.create',
1211
+ fullyQualifiedName: 'operations.scanningStations.create',
1212
+ httpMethod: 'post',
1213
+ httpPath: '/v1/operations/scanning-stations',
1214
+ },
1215
+ {
1216
+ clientCallName: 'client.operations.scanningStations.update',
1217
+ fullyQualifiedName: 'operations.scanningStations.update',
1218
+ httpMethod: 'patch',
1219
+ httpPath: '/v1/operations/scanning-stations/{id}',
1220
+ },
1221
+ {
1222
+ clientCallName: 'client.operations.scanningStations.delete',
1223
+ fullyQualifiedName: 'operations.scanningStations.delete',
1224
+ httpMethod: 'delete',
1225
+ httpPath: '/v1/operations/scanning-stations/{id}',
1226
+ },
1227
+ {
1228
+ clientCallName: 'client.identity.accountUsers.list',
1229
+ fullyQualifiedName: 'identity.accountUsers.list',
1230
+ httpMethod: 'get',
1231
+ httpPath: '/v1/identity/account-users',
1232
+ },
1233
+ {
1234
+ clientCallName: 'client.identity.accountUsers.retrieve',
1235
+ fullyQualifiedName: 'identity.accountUsers.retrieve',
1236
+ httpMethod: 'get',
1237
+ httpPath: '/v1/identity/account-users/{id}',
1238
+ },
1239
+ {
1240
+ clientCallName: 'client.identity.accountUsers.create',
1241
+ fullyQualifiedName: 'identity.accountUsers.create',
1242
+ httpMethod: 'post',
1243
+ httpPath: '/v1/identity/account-users',
1244
+ },
1245
+ {
1246
+ clientCallName: 'client.identity.accountUsers.update',
1247
+ fullyQualifiedName: 'identity.accountUsers.update',
1248
+ httpMethod: 'patch',
1249
+ httpPath: '/v1/identity/account-users/{id}',
1250
+ },
1251
+ {
1252
+ clientCallName: 'client.identity.accountUsers.actions.activate',
1253
+ fullyQualifiedName: 'identity.accountUsers.actions.activate',
1254
+ httpMethod: 'put',
1255
+ httpPath: '/v1/identity/account-users/{id}/actions/activate',
1256
+ },
1257
+ {
1258
+ clientCallName: 'client.identity.accountUsers.actions.disable',
1259
+ fullyQualifiedName: 'identity.accountUsers.actions.disable',
1260
+ httpMethod: 'put',
1261
+ httpPath: '/v1/identity/account-users/{id}/actions/disable',
1262
+ },
1263
+ {
1264
+ clientCallName: 'client.identity.accountUsers.actions.remove',
1265
+ fullyQualifiedName: 'identity.accountUsers.actions.remove',
1266
+ httpMethod: 'put',
1267
+ httpPath: '/v1/identity/account-users/{id}/actions/remove',
1268
+ },
1269
+ {
1270
+ clientCallName: 'client.identity.roles.list',
1271
+ fullyQualifiedName: 'identity.roles.list',
1272
+ httpMethod: 'get',
1273
+ httpPath: '/v1/identity/roles',
1274
+ },
1275
+ {
1276
+ clientCallName: 'client.identity.roles.retrieve',
1277
+ fullyQualifiedName: 'identity.roles.retrieve',
1278
+ httpMethod: 'get',
1279
+ httpPath: '/v1/identity/roles/{id}',
1280
+ },
1281
+ {
1282
+ clientCallName: 'client.identity.roles.create',
1283
+ fullyQualifiedName: 'identity.roles.create',
1284
+ httpMethod: 'post',
1285
+ httpPath: '/v1/identity/roles',
1286
+ },
1287
+ {
1288
+ clientCallName: 'client.identity.roles.update',
1289
+ fullyQualifiedName: 'identity.roles.update',
1290
+ httpMethod: 'patch',
1291
+ httpPath: '/v1/identity/roles/{id}',
1292
+ },
1293
+ {
1294
+ clientCallName: 'client.identity.roles.delete',
1295
+ fullyQualifiedName: 'identity.roles.delete',
1296
+ httpMethod: 'delete',
1297
+ httpPath: '/v1/identity/roles/{id}',
1298
+ },
1299
+ {
1300
+ clientCallName: 'client.settings.integrations.list',
1301
+ fullyQualifiedName: 'settings.integrations.list',
1302
+ httpMethod: 'get',
1303
+ httpPath: '/v1/settings/integrations',
1304
+ },
1305
+ {
1306
+ clientCallName: 'client.settings.integrations.create',
1307
+ fullyQualifiedName: 'settings.integrations.create',
1308
+ httpMethod: 'post',
1309
+ httpPath: '/v1/settings/integrations',
1310
+ },
1311
+ {
1312
+ clientCallName: 'client.settings.integrations.update',
1313
+ fullyQualifiedName: 'settings.integrations.update',
1314
+ httpMethod: 'put',
1315
+ httpPath: '/v1/settings/integrations/{id}',
1316
+ },
1317
+ {
1318
+ clientCallName: 'client.settings.integrations.delete',
1319
+ fullyQualifiedName: 'settings.integrations.delete',
1320
+ httpMethod: 'delete',
1321
+ httpPath: '/v1/settings/integrations/{id}',
1322
+ },
1323
+ ];
1324
+ function allowedMethodsForCodeTool(options) {
1325
+ if (!options) {
1326
+ return undefined;
1327
+ }
1328
+ let allowedMethods;
1329
+ if (options.codeAllowHttpGets || options.codeAllowedMethods) {
1330
+ // Start with nothing allowed and then add into it from options
1331
+ let allowedMethodsSet = new Set();
1332
+ if (options.codeAllowHttpGets) {
1333
+ // Add all methods that map to an HTTP GET
1334
+ sdkMethods
1335
+ .filter((method) => method.httpMethod === 'get')
1336
+ .forEach((method) => allowedMethodsSet.add(method));
1337
+ }
1338
+ if (options.codeAllowedMethods) {
1339
+ // Add all methods that match any of the allowed regexps
1340
+ const allowedRegexps = options.codeAllowedMethods.map((pattern) => {
1341
+ try {
1342
+ return new RegExp(pattern);
1343
+ }
1344
+ catch (e) {
1345
+ throw new Error(`Invalid regex pattern for allowed method: "${pattern}": ${e instanceof Error ? e.message : e}`);
1346
+ }
1347
+ });
1348
+ sdkMethods
1349
+ .filter((method) => allowedRegexps.some((regexp) => regexp.test(method.fullyQualifiedName)))
1350
+ .forEach((method) => allowedMethodsSet.add(method));
1351
+ }
1352
+ allowedMethods = Array.from(allowedMethodsSet);
1353
+ }
1354
+ else {
1355
+ // Start with everything allowed
1356
+ allowedMethods = [...sdkMethods];
1357
+ }
1358
+ if (options.codeBlockedMethods) {
1359
+ // Filter down based on blocked regexps
1360
+ const blockedRegexps = options.codeBlockedMethods.map((pattern) => {
1361
+ try {
1362
+ return new RegExp(pattern);
1363
+ }
1364
+ catch (e) {
1365
+ throw new Error(`Invalid regex pattern for blocked method: "${pattern}": ${e instanceof Error ? e.message : e}`);
1366
+ }
1367
+ });
1368
+ allowedMethods = allowedMethods.filter((method) => !blockedRegexps.some((regexp) => regexp.test(method.fullyQualifiedName)));
1369
+ }
1370
+ return allowedMethods;
1371
+ }
1372
+ export function blockedMethodsForCodeTool(options) {
1373
+ const allowedMethods = allowedMethodsForCodeTool(options);
1374
+ if (!allowedMethods) {
1375
+ return undefined;
1376
+ }
1377
+ const allowedSet = new Set(allowedMethods.map((method) => method.fullyQualifiedName));
1378
+ // Return any methods that are not explicitly allowed
1379
+ return sdkMethods.filter((method) => !allowedSet.has(method.fullyQualifiedName));
1380
+ }
1381
+ //# sourceMappingURL=methods.mjs.map