@norbix.ai/ts 1.0.1

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,2174 @@
1
+ import { T as Transport, R as RequestOverrideOptions } from '../transport-c4_dsqN0.js';
2
+ import { CodeMashHub2 } from '../types/hub2.dtos.js';
3
+
4
+ /**
5
+ * Auto-generated. Do not edit by hand — run `npm run generate-endpoints`
6
+ * to refresh this file from the DTO definitions.
7
+ *
8
+ * Group: access_token
9
+ * Endpoints: 1
10
+ */
11
+ declare class AccessTokenModule {
12
+ private readonly transport;
13
+ constructor(transport: Transport);
14
+ /**
15
+ * POST /access-token
16
+ * Request DTO: GetAccessToken
17
+ */
18
+ getAccessToken: (request?: Partial<CodeMashHub2.GetAccessToken>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetAccessTokenResponse>;
19
+ }
20
+
21
+ /**
22
+ * Auto-generated. Do not edit by hand — run `npm run generate-endpoints`
23
+ * to refresh this file from the DTO definitions.
24
+ *
25
+ * Group: account
26
+ * Endpoints: 55
27
+ */
28
+ declare class AccountModule {
29
+ private readonly transport;
30
+ constructor(transport: Transport);
31
+ /**
32
+ * GET /{version}/account/profile
33
+ * Request DTO: GetAccountProfile
34
+ */
35
+ getAccountProfile: (request?: Partial<CodeMashHub2.GetAccountProfile>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetAccountProfileResponse>;
36
+ /**
37
+ * PUT /{version}/account/profile
38
+ * Request DTO: UpdateAccountProfile
39
+ */
40
+ updateAccountProfile: (request?: Partial<CodeMashHub2.UpdateAccountProfile>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
41
+ /**
42
+ * GET /{version}/account/verify/resend
43
+ * Request DTO: ResendAccountVerificationToken
44
+ */
45
+ resendAccountVerificationToken: (request?: Partial<CodeMashHub2.ResendAccountVerificationToken>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
46
+ /**
47
+ * GET /{version}/account/status
48
+ * Request DTO: GetAccountStatus
49
+ */
50
+ getAccountStatus: (request?: Partial<CodeMashHub2.GetAccountStatus>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetAccountStatusResponse>;
51
+ /**
52
+ * POST /{version}/account/stripe/create-checkout-session
53
+ * Request DTO: CreateStripeCheckoutSession
54
+ */
55
+ createStripeCheckoutSession: (request?: Partial<CodeMashHub2.CreateStripeCheckoutSession>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.CreateStripeCheckoutSessionResponse>;
56
+ /**
57
+ * POST /{version}/account/stripe/get-portal-url
58
+ * Request DTO: GetStripeBillingPortalUrl
59
+ */
60
+ getStripeBillingPortalUrl: (request?: Partial<CodeMashHub2.GetStripeBillingPortalUrl>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetStripeBillingPortalUrlResponse>;
61
+ /**
62
+ * POST /{version}/account/team/member
63
+ * Request DTO: CreateTeamMemberFromInvitation
64
+ */
65
+ createTeamMemberFromInvitation: (request?: Partial<CodeMashHub2.CreateTeamMemberFromInvitation>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.CreateTeamMemberFromInvitationResponse>;
66
+ /**
67
+ * GET /{version}/account/usage-billing
68
+ * Request DTO: GetAccountUsageBilling
69
+ */
70
+ getAccountUsageBilling: (request?: Partial<CodeMashHub2.GetAccountUsageBilling>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetAccountUsageBillingResponse>;
71
+ /**
72
+ * GET /{version}/account/verify
73
+ * Account-scoped — requires `accountId` on the Norbix client.
74
+ * Request DTO: VerifyAccount
75
+ */
76
+ verifyAccount: (request?: Partial<CodeMashHub2.VerifyAccount>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
77
+ /**
78
+ * DELETE /{version}/account/projects/{projectId}/notifications/settings/group
79
+ * Request DTO: DeleteNotificationsGroup
80
+ */
81
+ deleteNotificationsGroup: (request?: Partial<CodeMashHub2.DeleteNotificationsGroup>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
82
+ /**
83
+ * DELETE /{version}/account/projects/{projectId}/notifications/settings/tag
84
+ * Request DTO: DeleteNotificationsTag
85
+ */
86
+ deleteNotificationsTag: (request?: Partial<CodeMashHub2.DeleteNotificationsTag>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
87
+ /**
88
+ * DELETE /{version}/account/projects/{projectId}/notifications/settings/group/tag
89
+ * Request DTO: RemoveTagFromNotificationsGroup
90
+ */
91
+ removeTagFromNotificationsGroup: (request?: Partial<CodeMashHub2.RemoveTagFromNotificationsGroup>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
92
+ /**
93
+ * POST /{version}/account/projects/{projectId}/notifications/settings/group
94
+ * Request DTO: SaveNotificationsGroup
95
+ */
96
+ saveNotificationsGroup: (request?: Partial<CodeMashHub2.SaveNotificationsGroup>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
97
+ /**
98
+ * POST /{version}/account/projects/{projectId}/notifications/settings/tag
99
+ * Request DTO: SaveNotificationsTag
100
+ */
101
+ saveNotificationsTag: (request?: Partial<CodeMashHub2.SaveNotificationsTag>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
102
+ /**
103
+ * POST /{version}/account/projects
104
+ * Request DTO: CreateProjectRequest
105
+ */
106
+ createProject: (request?: Partial<CodeMashHub2.CreateProjectRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.IdResponse>;
107
+ /**
108
+ * DELETE /{version}/account/projects/{projectId}
109
+ * Request DTO: DeleteProject
110
+ */
111
+ deleteProject: (request?: Partial<CodeMashHub2.DeleteProject>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
112
+ /**
113
+ * POST /{version}/account/projects/environments
114
+ * Request DTO: CreateProjectEnvironmentRequest
115
+ */
116
+ createProjectEnvironment: (request?: Partial<CodeMashHub2.CreateProjectEnvironmentRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
117
+ /**
118
+ * DELETE /{version}/account/projects/environments/{environmentName}
119
+ * Request DTO: DeleteProjectEnvironmentRequest
120
+ */
121
+ deleteProjectEnvironment: (request?: Partial<CodeMashHub2.DeleteProjectEnvironmentRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
122
+ /**
123
+ * PATCH /{version}/account/projects/environments/{environmentName}/rank
124
+ * Request DTO: SetEnvironmentRankRequest
125
+ */
126
+ setEnvironmentRank: (request?: Partial<CodeMashHub2.SetEnvironmentRankRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
127
+ /**
128
+ * POST /{version}/account/projects/environments/promote
129
+ * Request DTO: PromoteEnvironmentRequest
130
+ */
131
+ promoteEnvironment: (request?: Partial<CodeMashHub2.PromoteEnvironmentRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.PromoteEnvironmentResponse>;
132
+ /**
133
+ * POST /{version}/account/projects/environments/promote/rollback
134
+ * Request DTO: RollbackPromotionRequest
135
+ */
136
+ rollbackPromotion: (request?: Partial<CodeMashHub2.RollbackPromotionRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.PromoteEnvironmentResponse>;
137
+ /**
138
+ * GET /{version}/account/projects/environments
139
+ * Request DTO: GetProjectEnvironments
140
+ */
141
+ getProjectEnvironments: (request?: Partial<CodeMashHub2.GetProjectEnvironments>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetProjectEnvironmentsResponse>;
142
+ /**
143
+ * GET /{version}/account/projects/{projectId}
144
+ * Request DTO: GetProject
145
+ */
146
+ getProject: (request?: Partial<CodeMashHub2.GetProject>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetProjectResponse>;
147
+ /**
148
+ * GET /{version}/account/projects
149
+ * Request DTO: GetProjects
150
+ */
151
+ getProjects: (request?: Partial<CodeMashHub2.GetProjects>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetProjectsResponse>;
152
+ /**
153
+ * GET /{version}/account/regions
154
+ * Request DTO: GetAccountRegions
155
+ */
156
+ getAccountRegions: (request?: Partial<CodeMashHub2.GetAccountRegions>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetAccountRegionsResponse>;
157
+ /**
158
+ * GET /{version}/account/projects/{projectId}/tokens
159
+ * Request DTO: GetProjectTokens
160
+ */
161
+ getProjectTokens: (request?: Partial<CodeMashHub2.GetProjectTokens>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetProjectTokensResponse>;
162
+ /**
163
+ * PATCH /{version}/account/projects/{projectId}/settings/accent-color
164
+ * Request DTO: UpdateProjectAccentColor
165
+ */
166
+ updateProjectAccentColor: (request?: Partial<CodeMashHub2.UpdateProjectAccentColor>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
167
+ /**
168
+ * PATCH /{version}/account/projects/{projectId}/settings/icon
169
+ * Request DTO: UpdateProjectIcon
170
+ */
171
+ updateProjectIcon: (request?: Partial<CodeMashHub2.UpdateProjectIcon>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
172
+ /**
173
+ * PATCH /{version}/account/projects/{projectId}/settings/logo
174
+ * Request DTO: UpdateProjectLogo
175
+ */
176
+ updateProjectLogo: (request?: Partial<CodeMashHub2.UpdateProjectLogo>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
177
+ /**
178
+ * PATCH /{version}/account/projects/{projectId}/settings/main-color
179
+ * Request DTO: UpdateProjectMainColor
180
+ */
181
+ updateProjectMainColor: (request?: Partial<CodeMashHub2.UpdateProjectMainColor>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
182
+ /**
183
+ * PATCH /{version}/account/projects/{projectId}/settings/origins
184
+ * Request DTO: UpdateProjectAllowedOrigins
185
+ */
186
+ updateProjectAllowedOrigins: (request?: Partial<CodeMashHub2.UpdateProjectAllowedOrigins>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
187
+ /**
188
+ * PATCH /{version}/account/projects/{projectId}/settings/default-language
189
+ * Request DTO: UpdateProjectDefaultLanguage
190
+ */
191
+ updateProjectDefaultLanguage: (request?: Partial<CodeMashHub2.UpdateProjectDefaultLanguage>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
192
+ /**
193
+ * PATCH /{version}/account/projects/{projectId}/settings/description
194
+ * Request DTO: UpdateProjectDescription
195
+ */
196
+ updateProjectDescription: (request?: Partial<CodeMashHub2.UpdateProjectDescription>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
197
+ /**
198
+ * PATCH /{version}/account/projects/{projectId}/disable
199
+ * Request DTO: DisableProject
200
+ */
201
+ disableProject: (request?: Partial<CodeMashHub2.DisableProject>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
202
+ /**
203
+ * PATCH /{version}/account/projects/{projectId}/enable
204
+ * Request DTO: EnableProject
205
+ */
206
+ enableProject: (request?: Partial<CodeMashHub2.EnableProject>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
207
+ /**
208
+ * PATCH /{version}/account/projects/{projectId}/settings/languages
209
+ * Request DTO: UpdateProjectLanguages
210
+ */
211
+ updateProjectLanguages: (request?: Partial<CodeMashHub2.UpdateProjectLanguages>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
212
+ /**
213
+ * PATCH /{version}/account/projects/{projectId}/settings/url
214
+ * Request DTO: UpdateProjectUrl
215
+ */
216
+ updateProjectUrl: (request?: Partial<CodeMashHub2.UpdateProjectUrl>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
217
+ /**
218
+ * PATCH /{version}/account/projects/{projectId}/settings/name
219
+ * Request DTO: UpdateProjectName
220
+ */
221
+ updateProjectName: (request?: Partial<CodeMashHub2.UpdateProjectName>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
222
+ /**
223
+ * PATCH /{version}/account/projects/{projectId}/settings/regions
224
+ * Request DTO: UpdateProjectRegions
225
+ */
226
+ updateProjectRegions: (request?: Partial<CodeMashHub2.UpdateProjectRegions>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
227
+ /**
228
+ * POST /{version}/account
229
+ * Request DTO: CreateAccount
230
+ */
231
+ createAccount: (request?: Partial<CodeMashHub2.CreateAccount>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.CreateAccountResponse>;
232
+ /**
233
+ * POST /{version}/account/team/member/password
234
+ * Request DTO: ChangeTeamMemberPassword
235
+ */
236
+ changeTeamMemberPassword: (request?: Partial<CodeMashHub2.ChangeTeamMemberPassword>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.IdResponse>;
237
+ /**
238
+ * POST /{version}/account/team/member/create
239
+ * Request DTO: CreateTeamMember
240
+ */
241
+ createTeamMember: (request?: Partial<CodeMashHub2.CreateTeamMember>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.IdResponse>;
242
+ /**
243
+ * GET /{version}/account/collaborators
244
+ * Request DTO: GetAccountCollaborators
245
+ */
246
+ getAccountCollaborators: (request?: Partial<CodeMashHub2.GetAccountCollaborators>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetAccountCollaboratorsResponse>;
247
+ /**
248
+ * GET /{version}/account/team/password-policy
249
+ * Request DTO: GetAccountPasswordPolicy
250
+ */
251
+ getAccountPasswordPolicy: (request?: Partial<CodeMashHub2.GetAccountPasswordPolicy>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetAccountPasswordPolicyResponse>;
252
+ /**
253
+ * GET /{version}/account/team/roles
254
+ * Request DTO: GetAccountTeamRoles
255
+ */
256
+ getAccountTeamRoles: (request?: Partial<CodeMashHub2.GetAccountTeamRoles>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetAccountTeamRolesResponse>;
257
+ /**
258
+ * GET /{version}/account/team/policies
259
+ * Request DTO: GetAccountTeamPolicies
260
+ */
261
+ getAccountTeamPolicies: (request?: Partial<CodeMashHub2.GetAccountTeamPolicies>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetAccountTeamPoliciesResponse>;
262
+ /**
263
+ * POST /{version}/account/team/roles
264
+ * Request DTO: CreateAccountRole
265
+ */
266
+ createAccountRole: (request?: Partial<CodeMashHub2.CreateAccountRole>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.IdResponse>;
267
+ /**
268
+ * PUT /{version}/account/team/roles
269
+ * Request DTO: UpdateAccountRole
270
+ */
271
+ updateAccountRole: (request?: Partial<CodeMashHub2.UpdateAccountRole>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.IdResponse>;
272
+ /**
273
+ * DELETE /{version}/account/team/roles/{Id}
274
+ * Request DTO: DeleteAccountRole
275
+ */
276
+ deleteAccountRole: (request?: Partial<CodeMashHub2.DeleteAccountRole>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.IdResponse>;
277
+ /**
278
+ * POST /{version}/account/team/policies
279
+ * Request DTO: CreateAccountPolicy
280
+ */
281
+ createAccountPolicy: (request?: Partial<CodeMashHub2.CreateAccountPolicy>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.IdResponse>;
282
+ /**
283
+ * PUT /{version}/account/team/policies
284
+ * Request DTO: UpdateAccountPolicy
285
+ */
286
+ updateAccountPolicy: (request?: Partial<CodeMashHub2.UpdateAccountPolicy>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.IdResponse>;
287
+ /**
288
+ * DELETE /{version}/account/team/policies/{Id}
289
+ * Request DTO: DeleteAccountPolicy
290
+ */
291
+ deleteAccountPolicy: (request?: Partial<CodeMashHub2.DeleteAccountPolicy>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.IdResponse>;
292
+ /**
293
+ * POST /{version}/account/team/member/invite
294
+ * Request DTO: SendInviteToTeamMember
295
+ */
296
+ sendInviteToTeamMember: (request?: Partial<CodeMashHub2.SendInviteToTeamMember>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
297
+ /**
298
+ * GET /{version}/account/licenses
299
+ * Request DTO: GetLicenses
300
+ */
301
+ getLicenses: (request?: Partial<CodeMashHub2.GetLicenses>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetLicensesResponse>;
302
+ /**
303
+ * POST /{version}/account/chat/complete
304
+ * Request DTO: AskChatRequest
305
+ */
306
+ askChat: (request?: Partial<CodeMashHub2.AskChatRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.AskChatResponse>;
307
+ }
308
+
309
+ /**
310
+ * Auto-generated. Do not edit by hand — run `npm run generate-endpoints`
311
+ * to refresh this file from the DTO definitions.
312
+ *
313
+ * Group: ai
314
+ * Endpoints: 14
315
+ */
316
+ declare class AiModule {
317
+ private readonly transport;
318
+ constructor(transport: Transport);
319
+ /**
320
+ * DELETE /{version}/ai/integrations/llms/{Id}
321
+ * Request DTO: DeleteLlmIntegrationRequest
322
+ */
323
+ deleteLlmIntegration: (request?: Partial<CodeMashHub2.DeleteLlmIntegrationRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
324
+ /**
325
+ * PUT /{version}/ai/integrations/llms/{Id}/disable
326
+ * Request DTO: DisableLlmIntegrationRequest
327
+ */
328
+ disableLlmIntegration: (request?: Partial<CodeMashHub2.DisableLlmIntegrationRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
329
+ /**
330
+ * PUT /{version}/ai/integrations/llms/{Id}/enable
331
+ * Request DTO: EnableLlmIntegrationRequest
332
+ */
333
+ enableLlmIntegration: (request?: Partial<CodeMashHub2.EnableLlmIntegrationRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
334
+ /**
335
+ * GET /{version}/ai/integrations/llms/{id}
336
+ * Request DTO: GetLlmIntegration
337
+ */
338
+ getLlmIntegration: (request?: Partial<CodeMashHub2.GetLlmIntegration>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetLlmIntegrationResponse>;
339
+ /**
340
+ * GET /{version}/ai/integrations/llms/integrations
341
+ * Request DTO: GetLlmIntegrations
342
+ */
343
+ getLlmIntegrations: (request?: Partial<CodeMashHub2.GetLlmIntegrations>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetLlmIntegrationsResponse>;
344
+ /**
345
+ * POST /{version}/ai/integrations/llms/
346
+ * Request DTO: SaveLlmIntegration
347
+ */
348
+ saveLlmIntegration: (request?: Partial<CodeMashHub2.SaveLlmIntegration>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.IdResponse>;
349
+ /**
350
+ * POST /{version}/ai/integrations/llms/test
351
+ * Request DTO: TestLlmIntegration
352
+ */
353
+ testLlmIntegration: (request?: Partial<CodeMashHub2.TestLlmIntegration>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.TestLlmIntegrationResponse>;
354
+ /**
355
+ * DELETE /{version}/ai/integrations/mcp/{Id}
356
+ * Request DTO: DeleteMcpIntegrationRequest
357
+ */
358
+ deleteMcpIntegration: (request?: Partial<CodeMashHub2.DeleteMcpIntegrationRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
359
+ /**
360
+ * PUT /{version}/ai/integrations/mcp/{Id}/disable
361
+ * Request DTO: DisableMcpIntegrationRequest
362
+ */
363
+ disableMcpIntegration: (request?: Partial<CodeMashHub2.DisableMcpIntegrationRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
364
+ /**
365
+ * PUT /{version}/ai/integrations/mcp/{Id}/enable
366
+ * Request DTO: EnableMcpIntegrationRequest
367
+ */
368
+ enableMcpIntegration: (request?: Partial<CodeMashHub2.EnableMcpIntegrationRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
369
+ /**
370
+ * GET /{version}/ai/integrations/mcp/{id}
371
+ * Request DTO: GetMcpIntegration
372
+ */
373
+ getMcpIntegration: (request?: Partial<CodeMashHub2.GetMcpIntegration>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetMcpIntegrationResponse>;
374
+ /**
375
+ * GET /{version}/ai/integrations/mcp/integrations
376
+ * Request DTO: GetMcpIntegrations
377
+ */
378
+ getMcpIntegrations: (request?: Partial<CodeMashHub2.GetMcpIntegrations>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetMcpIntegrationsResponse>;
379
+ /**
380
+ * POST /{version}/ai/integrations/mcp/
381
+ * Request DTO: SaveMcpIntegration
382
+ */
383
+ saveMcpIntegration: (request?: Partial<CodeMashHub2.SaveMcpIntegration>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.IdResponse>;
384
+ /**
385
+ * POST /{version}/ai/integrations/mcp/test
386
+ * Request DTO: TestMcpIntegration
387
+ */
388
+ testMcpIntegration: (request?: Partial<CodeMashHub2.TestMcpIntegration>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.TestLlmIntegrationResponse>;
389
+ }
390
+
391
+ /**
392
+ * Auto-generated. Do not edit by hand — run `npm run generate-endpoints`
393
+ * to refresh this file from the DTO definitions.
394
+ *
395
+ * Group: apikeys
396
+ * Endpoints: 2
397
+ */
398
+ declare class ApikeysModule {
399
+ private readonly transport;
400
+ constructor(transport: Transport);
401
+ /**
402
+ * POST /apikeys
403
+ * Aliases:
404
+ * - POST /apikeys/{Environment}
405
+ * Request DTO: GetApiKeys
406
+ */
407
+ getApiKeys: (request?: Partial<CodeMashHub2.GetApiKeys>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetApiKeysResponse>;
408
+ /**
409
+ * POST /apikeys/regenerate
410
+ * Aliases:
411
+ * - POST /apikeys/regenerate/{Environment}
412
+ * Request DTO: RegenerateApiKeys
413
+ */
414
+ regenerateApiKeys: (request?: Partial<CodeMashHub2.RegenerateApiKeys>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.RegenerateApiKeysResponse>;
415
+ }
416
+
417
+ /**
418
+ * Auto-generated. Do not edit by hand — run `npm run generate-endpoints`
419
+ * to refresh this file from the DTO definitions.
420
+ *
421
+ * Group: auth
422
+ * Endpoints: 1
423
+ */
424
+ declare class AuthModule {
425
+ private readonly transport;
426
+ constructor(transport: Transport);
427
+ /**
428
+ * POST /auth
429
+ * Aliases:
430
+ * - GET,POST /auth/{provider}
431
+ * - POST,GET,OPTIONS /v3/auth
432
+ * - POST,GET,OPTIONS /v3/auth/{provider}
433
+ * Request DTO: Authenticate
434
+ */
435
+ authenticate: (request?: Partial<CodeMashHub2.Authenticate>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.AuthenticateResponse>;
436
+ }
437
+
438
+ /**
439
+ * Auto-generated. Do not edit by hand — run `npm run generate-endpoints`
440
+ * to refresh this file from the DTO definitions.
441
+ *
442
+ * Group: code
443
+ * Endpoints: 28
444
+ */
445
+ declare class CodeModule {
446
+ private readonly transport;
447
+ constructor(transport: Transport);
448
+ /**
449
+ * GET /{version}/code/enable
450
+ * Request DTO: EnableCode
451
+ */
452
+ enableCode: (request?: Partial<CodeMashHub2.EnableCode>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
453
+ /**
454
+ * GET /{version}/code/disable
455
+ * Request DTO: DisableCode
456
+ */
457
+ disableCode: (request?: Partial<CodeMashHub2.DisableCode>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
458
+ /**
459
+ * GET /{version}/code/integrations
460
+ * Request DTO: GetCodeIntegrations
461
+ */
462
+ getCodeIntegrations: (request?: Partial<CodeMashHub2.GetCodeIntegrations>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetCodeIntegrationsResponse>;
463
+ /**
464
+ * GET /{version}/code/integrations/{id}
465
+ * Request DTO: GetCodeIntegration
466
+ */
467
+ getCodeIntegration: (request?: Partial<CodeMashHub2.GetCodeIntegration>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetCodeIntegrationResponse>;
468
+ /**
469
+ * POST /{version}/code/integrations
470
+ * Request DTO: SaveCodeIntegration
471
+ */
472
+ saveCodeIntegration: (request?: Partial<CodeMashHub2.SaveCodeIntegration>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.IdResponse>;
473
+ /**
474
+ * POST /{version}/code/integrations/test
475
+ * Request DTO: TestCodeIntegration
476
+ */
477
+ testCodeIntegration: (request?: Partial<CodeMashHub2.TestCodeIntegration>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.TestCodeIntegrationResponse>;
478
+ /**
479
+ * POST /{version}/code/integrations/confirm-human-delivery
480
+ * Request DTO: ConfirmCodeIntegrationHumanDeliveryRequest
481
+ */
482
+ confirmCodeIntegrationHumanDelivery: (request?: Partial<CodeMashHub2.ConfirmCodeIntegrationHumanDeliveryRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
483
+ /**
484
+ * PUT /{version}/code/integrations/{Id}/default
485
+ * Request DTO: SetCodeIntegrationAsDefault
486
+ */
487
+ setCodeIntegrationAsDefault: (request?: Partial<CodeMashHub2.SetCodeIntegrationAsDefault>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
488
+ /**
489
+ * DELETE /{version}/code/integrations/{Id}
490
+ * Request DTO: DeleteCodeIntegrationRequest
491
+ */
492
+ deleteCodeIntegration: (request?: Partial<CodeMashHub2.DeleteCodeIntegrationRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
493
+ /**
494
+ * PUT /{version}/code/integrations/{Id}/enable
495
+ * Request DTO: EnableCodeIntegrationRequest
496
+ */
497
+ enableCodeIntegration: (request?: Partial<CodeMashHub2.EnableCodeIntegrationRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
498
+ /**
499
+ * PUT /{version}/code/integrations/{Id}/disable
500
+ * Request DTO: DisableCodeIntegrationRequest
501
+ */
502
+ disableCodeIntegration: (request?: Partial<CodeMashHub2.DisableCodeIntegrationRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
503
+ /**
504
+ * GET /{version}/code/marketplace/listings
505
+ * Request DTO: GetMarketplaceListings
506
+ */
507
+ getMarketplaceListings: (request?: Partial<CodeMashHub2.GetMarketplaceListings>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetMarketplaceListingsResponse>;
508
+ /**
509
+ * GET /{version}/code/marketplace/listings/{ListingViewId}/functions/{FunctionKey}/tokens
510
+ * Request DTO: GetMarketplaceListingFunctionTokens
511
+ */
512
+ getMarketplaceListingFunctionTokens: (request?: Partial<CodeMashHub2.GetMarketplaceListingFunctionTokens>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetMarketplaceTokensResponse>;
513
+ /**
514
+ * GET /{version}/code/marketplace/integrations
515
+ * Request DTO: GetMarketplaceIntegrations
516
+ */
517
+ getMarketplaceIntegrations: (request?: Partial<CodeMashHub2.GetMarketplaceIntegrations>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetMarketplaceIntegrationsResponse>;
518
+ /**
519
+ * GET /{version}/code/marketplace/integrations/{IntegrationViewId}
520
+ * Request DTO: GetMarketplaceIntegration
521
+ */
522
+ getMarketplaceIntegration: (request?: Partial<CodeMashHub2.GetMarketplaceIntegration>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetMarketplaceIntegrationResponse>;
523
+ /**
524
+ * POST /{version}/code/marketplace/integrations
525
+ * Request DTO: SaveMarketplaceIntegration
526
+ */
527
+ saveMarketplaceIntegration: (request?: Partial<CodeMashHub2.SaveMarketplaceIntegration>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.IdResponse>;
528
+ /**
529
+ * DELETE /{version}/code/marketplace/integrations/{IntegrationViewId}
530
+ * Request DTO: DeleteMarketplaceIntegration
531
+ */
532
+ deleteMarketplaceIntegration: (request?: Partial<CodeMashHub2.DeleteMarketplaceIntegration>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.IdResponse>;
533
+ /**
534
+ * POST /{version}/code/marketplace/integrations/{IntegrationViewId}/enable
535
+ * Request DTO: EnableMarketplaceIntegration
536
+ */
537
+ enableMarketplaceIntegration: (request?: Partial<CodeMashHub2.EnableMarketplaceIntegration>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.IdResponse>;
538
+ /**
539
+ * POST /{version}/code/marketplace/integrations/{IntegrationViewId}/disable
540
+ * Request DTO: DisableMarketplaceIntegration
541
+ */
542
+ disableMarketplaceIntegration: (request?: Partial<CodeMashHub2.DisableMarketplaceIntegration>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.IdResponse>;
543
+ /**
544
+ * GET /{version}/code/marketplace/integrations/{IntegrationViewId}/bindings
545
+ * Request DTO: GetMarketplaceBindings
546
+ */
547
+ getMarketplaceBindings: (request?: Partial<CodeMashHub2.GetMarketplaceBindings>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetMarketplaceBindingsResponse>;
548
+ /**
549
+ * GET /{version}/code/marketplace/integrations/{IntegrationViewId}/bindings/{BindingViewId}
550
+ * Request DTO: GetMarketplaceBinding
551
+ */
552
+ getMarketplaceBinding: (request?: Partial<CodeMashHub2.GetMarketplaceBinding>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetMarketplaceBindingResponse>;
553
+ /**
554
+ * POST /{version}/code/marketplace/integrations/{IntegrationViewId}/bindings
555
+ * Request DTO: SaveMarketplaceFunctionBinding
556
+ */
557
+ saveMarketplaceFunctionBinding: (request?: Partial<CodeMashHub2.SaveMarketplaceFunctionBinding>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.IdResponse>;
558
+ /**
559
+ * DELETE /{version}/code/marketplace/integrations/{IntegrationViewId}/bindings/{BindingViewId}
560
+ * Request DTO: DeleteMarketplaceFunctionBinding
561
+ */
562
+ deleteMarketplaceFunctionBinding: (request?: Partial<CodeMashHub2.DeleteMarketplaceFunctionBinding>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.IdResponse>;
563
+ /**
564
+ * POST /{version}/code/marketplace/integrations/{IntegrationViewId}/bindings/{BindingViewId}/enable
565
+ * Request DTO: EnableMarketplaceFunctionBinding
566
+ */
567
+ enableMarketplaceFunctionBinding: (request?: Partial<CodeMashHub2.EnableMarketplaceFunctionBinding>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.IdResponse>;
568
+ /**
569
+ * POST /{version}/code/marketplace/integrations/{IntegrationViewId}/bindings/{BindingViewId}/disable
570
+ * Request DTO: DisableMarketplaceFunctionBinding
571
+ */
572
+ disableMarketplaceFunctionBinding: (request?: Partial<CodeMashHub2.DisableMarketplaceFunctionBinding>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.IdResponse>;
573
+ /**
574
+ * GET /{version}/code/marketplace/integrations/{IntegrationViewId}/bindings/{BindingViewId}/tokens
575
+ * Request DTO: GetMarketplaceBindingTokens
576
+ */
577
+ getMarketplaceBindingTokens: (request?: Partial<CodeMashHub2.GetMarketplaceBindingTokens>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetMarketplaceTokensResponse>;
578
+ /**
579
+ * POST /{version}/code/marketplace/integrations/{IntegrationViewId}/bindings/{BindingViewId}/invoke
580
+ * Request DTO: InvokeMarketplaceFunctionBinding
581
+ */
582
+ invokeMarketplaceFunctionBinding: (request?: Partial<CodeMashHub2.InvokeMarketplaceFunctionBinding>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.InvokeMarketplaceFunctionBindingResponse>;
583
+ /**
584
+ * GET /{version}/code/marketplace/integrations/{IntegrationViewId}/functions
585
+ * Request DTO: GetMarketplaceFunctionCatalog
586
+ */
587
+ getMarketplaceFunctionCatalog: (request?: Partial<CodeMashHub2.GetMarketplaceFunctionCatalog>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetMarketplaceFunctionCatalogResponse>;
588
+ }
589
+
590
+ /**
591
+ * Auto-generated. Do not edit by hand — run `npm run generate-endpoints`
592
+ * to refresh this file from the DTO definitions.
593
+ *
594
+ * Group: database
595
+ * Endpoints: 44
596
+ */
597
+ declare class DatabaseModule {
598
+ private readonly transport;
599
+ constructor(transport: Transport);
600
+ /**
601
+ * GET /{version}/database/disable
602
+ * Request DTO: DisableDatabase
603
+ */
604
+ disableDatabase: (request?: Partial<CodeMashHub2.DisableDatabase>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
605
+ /**
606
+ * GET /{version}/database/enable
607
+ * Request DTO: EnableDatabase
608
+ */
609
+ enableDatabase: (request?: Partial<CodeMashHub2.EnableDatabase>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
610
+ /**
611
+ * DELETE /{version}/database/schemas/triggers/{triggerId}
612
+ * Request DTO: DeleteSchemaTrigger
613
+ */
614
+ deleteSchemaTrigger: (request?: Partial<CodeMashHub2.DeleteSchemaTrigger>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
615
+ /**
616
+ * PATCH /{version}/database/schemas/triggers/{triggerId}/disable
617
+ * Request DTO: DisableSchemaTrigger
618
+ */
619
+ disableSchemaTrigger: (request?: Partial<CodeMashHub2.DisableSchemaTrigger>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
620
+ /**
621
+ * PATCH /{version}/database/schemas/triggers/{triggerId}/enable
622
+ * Request DTO: EnableSchemaTrigger
623
+ */
624
+ enableSchemaTrigger: (request?: Partial<CodeMashHub2.EnableSchemaTrigger>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
625
+ /**
626
+ * GET /{version}/database/schemas/triggers/{id}
627
+ * Request DTO: GetSchemaTrigger
628
+ */
629
+ getSchemaTrigger: (request?: Partial<CodeMashHub2.GetSchemaTrigger>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetSchemaTriggerResponse>;
630
+ /**
631
+ * GET /{version}/database/schemas/triggers
632
+ * Request DTO: GetSchemaTriggers
633
+ */
634
+ getSchemaTriggers: (request?: Partial<CodeMashHub2.GetSchemaTriggers>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetSchemaTriggersResponse>;
635
+ /**
636
+ * POST /{version}/database/schemas/triggers
637
+ * Request DTO: SaveSchemaTrigger
638
+ */
639
+ saveSchemaTrigger: (request?: Partial<CodeMashHub2.SaveSchemaTrigger>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.IdResponse>;
640
+ /**
641
+ * DELETE /{version}/database/taxonomies/{Id}
642
+ * Request DTO: DeleteDatabaseTaxonomyRequest
643
+ */
644
+ deleteDatabaseTaxonomy: (request?: Partial<CodeMashHub2.DeleteDatabaseTaxonomyRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
645
+ /**
646
+ * GET /{version}/database/taxonomies/{id}
647
+ * Request DTO: GetDatabaseTaxonomy
648
+ */
649
+ getDatabaseTaxonomy: (request?: Partial<CodeMashHub2.GetDatabaseTaxonomy>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetDatabaseTaxonomyResponse>;
650
+ /**
651
+ * GET /{version}/database/taxonomies
652
+ * Request DTO: GetDatabaseTaxonomies
653
+ */
654
+ getDatabaseTaxonomies: (request?: Partial<CodeMashHub2.GetDatabaseTaxonomies>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetDatabaseTaxonomiesResponse>;
655
+ /**
656
+ * POST /{version}/database/taxonomies
657
+ * Request DTO: SaveDatabaseTaxonomyRequest
658
+ */
659
+ saveDatabaseTaxonomy: (request?: Partial<CodeMashHub2.SaveDatabaseTaxonomyRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.IdResponse>;
660
+ /**
661
+ * DELETE /{version}/database/taxonomies/{TaxonomyId}/terms/{Id}
662
+ * Request DTO: DeleteDatabaseTaxonomyTermRequest
663
+ */
664
+ deleteDatabaseTaxonomyTerm: (request?: Partial<CodeMashHub2.DeleteDatabaseTaxonomyTermRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
665
+ /**
666
+ * DELETE /{version}/database/taxonomies/{TaxonomyId}/terms/many
667
+ * Request DTO: DeleteManyDatabaseTaxonomyTermsRequest
668
+ */
669
+ deleteManyDatabaseTaxonomyTerms: (request?: Partial<CodeMashHub2.DeleteManyDatabaseTaxonomyTermsRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
670
+ /**
671
+ * GET /{version}/database/taxonomies/{TaxonomyId}/terms/{Id}
672
+ * Request DTO: GetDatabaseTaxonomyTermRequest
673
+ */
674
+ getDatabaseTaxonomyTerm: (request?: Partial<CodeMashHub2.GetDatabaseTaxonomyTermRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetDatabaseTaxonomyTermResponse>;
675
+ /**
676
+ * POST /{version}/database/taxonomies/{TaxonomyId}/terms
677
+ * Request DTO: SaveDatabaseTaxonomyTermRequest
678
+ */
679
+ saveDatabaseTaxonomyTerm: (request?: Partial<CodeMashHub2.SaveDatabaseTaxonomyTermRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.IdResponse>;
680
+ /**
681
+ * PUT /{version}/database/taxonomies/{TaxonomyId}/terms/{Id}
682
+ * Request DTO: UpdateDatabaseTaxonomyTermRequest
683
+ */
684
+ updateDatabaseTaxonomyTerm: (request?: Partial<CodeMashHub2.UpdateDatabaseTaxonomyTermRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
685
+ /**
686
+ * DELETE /{version}/database/schemas/{Id}
687
+ * Request DTO: DeleteDatabaseSchemaRequest
688
+ */
689
+ deleteDatabaseSchema: (request?: Partial<CodeMashHub2.DeleteDatabaseSchemaRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
690
+ /**
691
+ * DELETE /{version}/database/schemas/{Id}/draft
692
+ * Request DTO: DiscardDatabaseSchemaDraftRequest
693
+ */
694
+ discardDatabaseSchemaDraft: (request?: Partial<CodeMashHub2.DiscardDatabaseSchemaDraftRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
695
+ /**
696
+ * GET /{version}/database/schemas/{id}
697
+ * Request DTO: GetDatabaseSchema
698
+ */
699
+ getDatabaseSchema: (request?: Partial<CodeMashHub2.GetDatabaseSchema>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetDatabaseSchemaResponse>;
700
+ /**
701
+ * GET /{version}/database/schemas
702
+ * Request DTO: GetDatabaseSchemas
703
+ */
704
+ getDatabaseSchemas: (request?: Partial<CodeMashHub2.GetDatabaseSchemas>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetDatabaseSchemasResponse>;
705
+ /**
706
+ * GET /{version}/database/schemas/{Id}/draft
707
+ * Request DTO: GetDatabaseSchemaDraft
708
+ */
709
+ getDatabaseSchemaDraft: (request?: Partial<CodeMashHub2.GetDatabaseSchemaDraft>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetDatabaseSchemaDraftResponse>;
710
+ /**
711
+ * GET /{version}/database/schemas/{Id}/versions/diff
712
+ * Request DTO: GetDatabaseSchemaVersionDiff
713
+ */
714
+ getDatabaseSchemaVersionDiff: (request?: Partial<CodeMashHub2.GetDatabaseSchemaVersionDiff>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetDatabaseSchemaVersionDiffResponse>;
715
+ /**
716
+ * GET /{version}/database/schemas/{Id}/versions
717
+ * Request DTO: GetDatabaseSchemaVersions
718
+ */
719
+ getDatabaseSchemaVersions: (request?: Partial<CodeMashHub2.GetDatabaseSchemaVersions>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetDatabaseSchemaVersionsResponse>;
720
+ /**
721
+ * POST /{version}/database/schemas/{Id}/publish
722
+ * Request DTO: PublishDatabaseSchemaRequest
723
+ */
724
+ publishDatabaseSchema: (request?: Partial<CodeMashHub2.PublishDatabaseSchemaRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
725
+ /**
726
+ * PUT /{version}/database/schemas/{Id}/rename
727
+ * Request DTO: RenameDatabaseSchemaRequest
728
+ */
729
+ renameDatabaseSchema: (request?: Partial<CodeMashHub2.RenameDatabaseSchemaRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
730
+ /**
731
+ * POST /{version}/database/schemas
732
+ * Request DTO: SaveDatabaseSchemaRequest
733
+ */
734
+ saveDatabaseSchema: (request?: Partial<CodeMashHub2.SaveDatabaseSchemaRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.IdResponse>;
735
+ /**
736
+ * PUT /{version}/database/schemas/{Id}/draft
737
+ * Request DTO: UpdateDatabaseSchemaDraftRequest
738
+ */
739
+ updateDatabaseSchemaDraft: (request?: Partial<CodeMashHub2.UpdateDatabaseSchemaDraftRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
740
+ /**
741
+ * PUT /{version}/database/schemas/{Id}/settings
742
+ * Request DTO: UpdateDatabaseSchemaSettingsRequest
743
+ */
744
+ updateDatabaseSchemaSettings: (request?: Partial<CodeMashHub2.UpdateDatabaseSchemaSettingsRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
745
+ /**
746
+ * DELETE /{version}/database/integrations/{Id}
747
+ * Request DTO: DeleteDatabaseIntegrationRequest
748
+ */
749
+ deleteDatabaseIntegration: (request?: Partial<CodeMashHub2.DeleteDatabaseIntegrationRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
750
+ /**
751
+ * PUT /{version}/database/integrations/{Id}/disable
752
+ * Request DTO: DisableDatabaseIntegrationRequest
753
+ */
754
+ disableDatabaseIntegration: (request?: Partial<CodeMashHub2.DisableDatabaseIntegrationRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
755
+ /**
756
+ * PUT /{version}/database/integrations/{Id}/enable
757
+ * Request DTO: EnableDatabaseIntegrationRequest
758
+ */
759
+ enableDatabaseIntegration: (request?: Partial<CodeMashHub2.EnableDatabaseIntegrationRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
760
+ /**
761
+ * GET /{version}/database/integrations/{id}
762
+ * Request DTO: GetDatabaseIntegration
763
+ */
764
+ getDatabaseIntegration: (request?: Partial<CodeMashHub2.GetDatabaseIntegration>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetDatabaseIntegrationResponse>;
765
+ /**
766
+ * GET /{version}/database/integrations
767
+ * Request DTO: GetDatabaseIntegrations
768
+ */
769
+ getDatabaseIntegrations: (request?: Partial<CodeMashHub2.GetDatabaseIntegrations>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetDatabaseIntegrationsResponse>;
770
+ /**
771
+ * GET /{version}/database/integrations/flex-tiers
772
+ * Request DTO: GetAllowedFlexTiers
773
+ */
774
+ getAllowedFlexTiers: (request?: Partial<CodeMashHub2.GetAllowedFlexTiers>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetAllowedFlexTiersResponse>;
775
+ /**
776
+ * GET /{version}/database/integrations/{Id}/connection-string
777
+ * Request DTO: RevealManagedFlexConnectionString
778
+ */
779
+ revealManagedFlexConnectionString: (request?: Partial<CodeMashHub2.RevealManagedFlexConnectionString>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.RevealManagedFlexConnectionStringResponse>;
780
+ /**
781
+ * POST /{version}/database/integrations
782
+ * Request DTO: SaveDatabaseIntegration
783
+ */
784
+ saveDatabaseIntegration: (request?: Partial<CodeMashHub2.SaveDatabaseIntegration>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.IdResponse>;
785
+ /**
786
+ * PUT /{version}/database/integrations/{Id}/default
787
+ * Request DTO: SetDatabaseIntegrationAsDefaultRequest
788
+ */
789
+ setDatabaseIntegrationAsDefault: (request?: Partial<CodeMashHub2.SetDatabaseIntegrationAsDefaultRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
790
+ /**
791
+ * POST /{version}/database/integrations/test
792
+ * Request DTO: TestDatabaseIntegration
793
+ */
794
+ testDatabaseIntegration: (request?: Partial<CodeMashHub2.TestDatabaseIntegration>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.TestDatabaseIntegrationResponse>;
795
+ /**
796
+ * DELETE /{version}/database/aggregates/{Id}
797
+ * Request DTO: DeleteDatabaseAggregateRequest
798
+ */
799
+ deleteDatabaseAggregate: (request?: Partial<CodeMashHub2.DeleteDatabaseAggregateRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
800
+ /**
801
+ * GET /{version}/database/aggregates/{Id}
802
+ * Request DTO: GetDatabaseAggregate
803
+ */
804
+ getDatabaseAggregate: (request?: Partial<CodeMashHub2.GetDatabaseAggregate>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetDatabaseAggregateResponse>;
805
+ /**
806
+ * GET /{version}/database/aggregates
807
+ * Request DTO: GetDatabaseAggregates
808
+ */
809
+ getDatabaseAggregates: (request?: Partial<CodeMashHub2.GetDatabaseAggregates>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetDatabaseAggregatesResponse>;
810
+ /**
811
+ * POST /{version}/database/aggregates
812
+ * Request DTO: SaveDatabaseAggregateRequest
813
+ */
814
+ saveDatabaseAggregate: (request?: Partial<CodeMashHub2.SaveDatabaseAggregateRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.IdResponse>;
815
+ /**
816
+ * POST /{version}/database/aggregates/test
817
+ * Request DTO: TestDatabaseAggregateRequest
818
+ */
819
+ testDatabaseAggregate: (request?: Partial<CodeMashHub2.TestDatabaseAggregateRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.TestDatabaseAggregateResponse>;
820
+ }
821
+
822
+ /**
823
+ * Auto-generated. Do not edit by hand — run `npm run generate-endpoints`
824
+ * to refresh this file from the DTO definitions.
825
+ *
826
+ * Group: echo
827
+ * Endpoints: 1
828
+ */
829
+ declare class EchoModule {
830
+ private readonly transport;
831
+ constructor(transport: Transport);
832
+ /**
833
+ * GET /{version}/echo
834
+ * Request DTO: Echo
835
+ */
836
+ echo: (request?: Partial<CodeMashHub2.Echo>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EchoResponse>;
837
+ }
838
+
839
+ /**
840
+ * Auto-generated. Do not edit by hand — run `npm run generate-endpoints`
841
+ * to refresh this file from the DTO definitions.
842
+ *
843
+ * Group: email
844
+ * Endpoints: 1
845
+ */
846
+ declare class EmailModule {
847
+ private readonly transport;
848
+ constructor(transport: Transport);
849
+ /**
850
+ * POST /{version}/email/one-click-unsubscribe
851
+ * Request DTO: OneClickUnsubscribeRequest
852
+ */
853
+ oneClickUnsubscribe: (request?: Partial<CodeMashHub2.OneClickUnsubscribeRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
854
+ }
855
+
856
+ /**
857
+ * Project environments — list, create, and delete the named environments a
858
+ * project owns (PROD plus any TEST/STAGING/… the user adds).
859
+ *
860
+ * These endpoints manage the *set* of environments. To make requests *inside*
861
+ * a given environment, set `env` on the client (`new Norbix({ env: 'TEST' })`
862
+ * or `norbix.setEnv('TEST')`) or per call (`{ env: 'TEST' }`), which sends the
863
+ * `norbix-env` header.
864
+ *
865
+ * Group: account (project environments)
866
+ */
867
+ declare class EnvironmentsModule {
868
+ private readonly transport;
869
+ constructor(transport: Transport);
870
+ /**
871
+ * GET /{version}/account/projects/environments
872
+ * Lists the project's environments. The response always includes "PROD",
873
+ * PROD-first. Request DTO: GetProjectEnvironments
874
+ */
875
+ list: (request?: Partial<CodeMashHub2.GetProjectEnvironments>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetProjectEnvironmentsResponse>;
876
+ /**
877
+ * POST /{version}/account/projects/environments
878
+ * Creates a new environment. Requires `environmentName` (e.g. "TEST") and an
879
+ * `integration` (a database integration that seeds the new env and becomes
880
+ * its default). The new env is born with only that DB integration; every
881
+ * other integration must be created inside that env afterward.
882
+ * Request DTO: CreateProjectEnvironmentRequest
883
+ */
884
+ create: (request?: Partial<CodeMashHub2.CreateProjectEnvironmentRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
885
+ /**
886
+ * DELETE /{version}/account/projects/environments/{environmentName}
887
+ * Deletes a non-PROD environment, cascading its integrations. PROD is
888
+ * rejected by the backend. Request DTO: DeleteProjectEnvironmentRequest
889
+ */
890
+ delete: (request?: Partial<CodeMashHub2.DeleteProjectEnvironmentRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
891
+ }
892
+
893
+ /**
894
+ * Auto-generated. Do not edit by hand — run `npm run generate-endpoints`
895
+ * to refresh this file from the DTO definitions.
896
+ *
897
+ * Group: files
898
+ * Endpoints: 17
899
+ */
900
+ declare class FilesModule {
901
+ private readonly transport;
902
+ constructor(transport: Transport);
903
+ /**
904
+ * GET /{version}/files/disable
905
+ * Request DTO: DisableFiles
906
+ */
907
+ disableFiles: (request?: Partial<CodeMashHub2.DisableFiles>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
908
+ /**
909
+ * GET /{version}/files/enable
910
+ * Request DTO: EnableFiles
911
+ */
912
+ enableFiles: (request?: Partial<CodeMashHub2.EnableFiles>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
913
+ /**
914
+ * DELETE /{version}/files/triggers/{triggerId}
915
+ * Request DTO: DeleteFilesTrigger
916
+ */
917
+ deleteFilesTrigger: (request?: Partial<CodeMashHub2.DeleteFilesTrigger>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
918
+ /**
919
+ * PATCH /{version}/files/triggers/{triggerId}/disable
920
+ * Request DTO: DisableFilesTrigger
921
+ */
922
+ disableFilesTrigger: (request?: Partial<CodeMashHub2.DisableFilesTrigger>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
923
+ /**
924
+ * PATCH /{version}/files/triggers/{triggerId}/enable
925
+ * Request DTO: EnableFilesTrigger
926
+ */
927
+ enableFilesTrigger: (request?: Partial<CodeMashHub2.EnableFilesTrigger>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
928
+ /**
929
+ * GET /{version}/files/triggers/{id}
930
+ * Request DTO: GetFilesTrigger
931
+ */
932
+ getFilesTrigger: (request?: Partial<CodeMashHub2.GetFilesTrigger>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetFilesTriggerResponse>;
933
+ /**
934
+ * GET /{version}/files/triggers
935
+ * Request DTO: GetFilesTriggers
936
+ */
937
+ getFilesTriggers: (request?: Partial<CodeMashHub2.GetFilesTriggers>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetFilesTriggersResponse>;
938
+ /**
939
+ * POST /{version}/files/triggers
940
+ * Request DTO: SaveFilesTrigger
941
+ */
942
+ saveFilesTrigger: (request?: Partial<CodeMashHub2.SaveFilesTrigger>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.IdResponse>;
943
+ /**
944
+ * DELETE /{version}/files/integrations/{Id}
945
+ * Request DTO: DeleteFilesIntegrationRequest
946
+ */
947
+ deleteFilesIntegration: (request?: Partial<CodeMashHub2.DeleteFilesIntegrationRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
948
+ /**
949
+ * PUT /{version}/files/integrations/{Id}/disable
950
+ * Request DTO: DisableFilesIntegrationRequest
951
+ */
952
+ disableFilesIntegration: (request?: Partial<CodeMashHub2.DisableFilesIntegrationRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
953
+ /**
954
+ * PUT /{version}/files/integrations/{Id}/enable
955
+ * Request DTO: EnableFilesIntegrationRequest
956
+ */
957
+ enableFilesIntegration: (request?: Partial<CodeMashHub2.EnableFilesIntegrationRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
958
+ /**
959
+ * GET /{version}/files/integrations/{id}
960
+ * Request DTO: GetFilesIntegration
961
+ */
962
+ getFilesIntegration: (request?: Partial<CodeMashHub2.GetFilesIntegration>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetFilesIntegrationResponse>;
963
+ /**
964
+ * GET /{version}/files/integrations
965
+ * Request DTO: GetFilesIntegrations
966
+ */
967
+ getFilesIntegrations: (request?: Partial<CodeMashHub2.GetFilesIntegrations>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetFilesIntegrationsResponse>;
968
+ /**
969
+ * POST /{version}/files/integrations
970
+ * Request DTO: SaveFilesIntegration
971
+ */
972
+ saveFilesIntegration: (request?: Partial<CodeMashHub2.SaveFilesIntegration>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.IdResponse>;
973
+ /**
974
+ * PUT /{version}/files/integrations/{Id}/default
975
+ * Request DTO: SetFilesIntegrationAsDefaultRequest
976
+ */
977
+ setFilesIntegrationAsDefault: (request?: Partial<CodeMashHub2.SetFilesIntegrationAsDefaultRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
978
+ /**
979
+ * GET /{version}/files/item
980
+ * Request DTO: GetFile
981
+ */
982
+ getFile: (request?: Partial<CodeMashHub2.GetFile>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetFileResponse>;
983
+ /**
984
+ * GET /{version}/files/folder
985
+ * Request DTO: GetFolderFiles
986
+ */
987
+ getFolderFiles: (request?: Partial<CodeMashHub2.GetFolderFiles>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetFolderFilesResponse>;
988
+ }
989
+
990
+ /**
991
+ * Auto-generated. Do not edit by hand — run `npm run generate-endpoints`
992
+ * to refresh this file from the DTO definitions.
993
+ *
994
+ * Group: internal
995
+ * Endpoints: 1
996
+ */
997
+ declare class InternalModule {
998
+ private readonly transport;
999
+ constructor(transport: Transport);
1000
+ /**
1001
+ * GET /internal/_typegen
1002
+ * Request DTO: InternalsTypeGen
1003
+ */
1004
+ internalsTypeGen: (request?: Partial<CodeMashHub2.InternalsTypeGen>, options?: RequestOverrideOptions) => Promise<unknown>;
1005
+ }
1006
+
1007
+ /**
1008
+ * Auto-generated. Do not edit by hand — run `npm run generate-endpoints`
1009
+ * to refresh this file from the DTO definitions.
1010
+ *
1011
+ * Group: logs
1012
+ * Endpoints: 14
1013
+ */
1014
+ declare class LogsModule {
1015
+ private readonly transport;
1016
+ constructor(transport: Transport);
1017
+ /**
1018
+ * GET /{version}/logs/disable
1019
+ * Request DTO: DisableLogging
1020
+ */
1021
+ disableLogging: (request?: Partial<CodeMashHub2.DisableLogging>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1022
+ /**
1023
+ * GET /{version}/logs/enable
1024
+ * Request DTO: EnableLogging
1025
+ */
1026
+ enableLogging: (request?: Partial<CodeMashHub2.EnableLogging>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1027
+ /**
1028
+ * DELETE /{version}/logs/integrations/{Id}
1029
+ * Request DTO: DeleteLoggingIntegrationRequest
1030
+ */
1031
+ deleteLoggingIntegration: (request?: Partial<CodeMashHub2.DeleteLoggingIntegrationRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1032
+ /**
1033
+ * PUT /{version}/logs/integrations/{Id}/disable
1034
+ * Request DTO: DisableLoggingIntegrationRequest
1035
+ */
1036
+ disableLoggingIntegration: (request?: Partial<CodeMashHub2.DisableLoggingIntegrationRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1037
+ /**
1038
+ * PUT /{version}/logs/integrations/{Id}/enable
1039
+ * Request DTO: EnableLoggingIntegrationRequest
1040
+ */
1041
+ enableLoggingIntegration: (request?: Partial<CodeMashHub2.EnableLoggingIntegrationRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1042
+ /**
1043
+ * GET /{version}/logs/integrations/{id}
1044
+ * Request DTO: GetLoggingIntegration
1045
+ */
1046
+ getLoggingIntegration: (request?: Partial<CodeMashHub2.GetLoggingIntegration>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetLoggingIntegrationResponse>;
1047
+ /**
1048
+ * GET /{version}/logs/integrations
1049
+ * Request DTO: GetLoggingIntegrations
1050
+ */
1051
+ getLoggingIntegrations: (request?: Partial<CodeMashHub2.GetLoggingIntegrations>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetLoggingIntegrationsResponse>;
1052
+ /**
1053
+ * POST /{version}/logs/integrations
1054
+ * Request DTO: SaveLoggingIntegration
1055
+ */
1056
+ saveLoggingIntegration: (request?: Partial<CodeMashHub2.SaveLoggingIntegration>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.IdResponse>;
1057
+ /**
1058
+ * POST /{version}/logs/integrations/test
1059
+ * Request DTO: TestLoggingIntegration
1060
+ */
1061
+ testLoggingIntegration: (request?: Partial<CodeMashHub2.TestLoggingIntegration>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.TestLoggingIntegrationResponse>;
1062
+ /**
1063
+ * POST /{version}/logs/clean
1064
+ * Request DTO: CleanLogs
1065
+ */
1066
+ cleanLogs: (request?: Partial<CodeMashHub2.CleanLogs>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.CleanLogsResponse>;
1067
+ /**
1068
+ * GET /{version}/logs/audit
1069
+ * Request DTO: GetLogsByCorrelationId
1070
+ */
1071
+ getLogsByCorrelationId: (request?: Partial<CodeMashHub2.GetLogsByCorrelationId>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetLogsByCorrelationIdResponse>;
1072
+ /**
1073
+ * GET /{version}/logs
1074
+ * Request DTO: GetLogs
1075
+ */
1076
+ getLogs: (request?: Partial<CodeMashHub2.GetLogs>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetLogsResponse>;
1077
+ /**
1078
+ * GET /{version}/logs/settings
1079
+ * Request DTO: GetLogSettings
1080
+ */
1081
+ getLogSettings: (request?: Partial<CodeMashHub2.GetLogSettings>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetLogSettingsResponse>;
1082
+ /**
1083
+ * POST /{version}/logs/settings
1084
+ * Request DTO: SaveLogSettings
1085
+ */
1086
+ saveLogSettings: (request?: Partial<CodeMashHub2.SaveLogSettings>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.SaveLogSettingsResponse>;
1087
+ }
1088
+
1089
+ /**
1090
+ * Auto-generated. Do not edit by hand — run `npm run generate-endpoints`
1091
+ * to refresh this file from the DTO definitions.
1092
+ *
1093
+ * Group: membership
1094
+ * Endpoints: 30
1095
+ */
1096
+ declare class MembershipModule {
1097
+ private readonly transport;
1098
+ constructor(transport: Transport);
1099
+ /**
1100
+ * GET /{version}/membership/disable
1101
+ * Request DTO: DisableMembership
1102
+ */
1103
+ disableMembership: (request?: Partial<CodeMashHub2.DisableMembership>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1104
+ /**
1105
+ * GET /{version}/membership/enable
1106
+ * Request DTO: EnableMembership
1107
+ */
1108
+ enableMembership: (request?: Partial<CodeMashHub2.EnableMembership>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1109
+ /**
1110
+ * DELETE /{version}/membership/triggers/{triggerId}
1111
+ * Request DTO: DeleteMembershipTrigger
1112
+ */
1113
+ deleteMembershipTrigger: (request?: Partial<CodeMashHub2.DeleteMembershipTrigger>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1114
+ /**
1115
+ * PATCH /{version}/membership/triggers/{triggerId}/disable
1116
+ * Request DTO: DisableMembershipTrigger
1117
+ */
1118
+ disableMembershipTrigger: (request?: Partial<CodeMashHub2.DisableMembershipTrigger>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1119
+ /**
1120
+ * PATCH /{version}/membership/triggers/{triggerId}/enable
1121
+ * Request DTO: EnableMembershipTrigger
1122
+ */
1123
+ enableMembershipTrigger: (request?: Partial<CodeMashHub2.EnableMembershipTrigger>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1124
+ /**
1125
+ * GET /{version}/membership/triggers/{id}
1126
+ * Request DTO: GetMembershipTrigger
1127
+ */
1128
+ getMembershipTrigger: (request?: Partial<CodeMashHub2.GetMembershipTrigger>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetMembershipTriggerResponse>;
1129
+ /**
1130
+ * GET /{version}/membership/triggers
1131
+ * Request DTO: GetMembershipTriggers
1132
+ */
1133
+ getMembershipTriggers: (request?: Partial<CodeMashHub2.GetMembershipTriggers>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetMembershipTriggersResponse>;
1134
+ /**
1135
+ * POST /{version}/membership/triggers
1136
+ * Request DTO: SaveMembershipTrigger
1137
+ */
1138
+ saveMembershipTrigger: (request?: Partial<CodeMashHub2.SaveMembershipTrigger>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.IdResponse>;
1139
+ /**
1140
+ * POST /{version}/membership/roles
1141
+ * Request DTO: CreateRole
1142
+ */
1143
+ createRole: (request?: Partial<CodeMashHub2.CreateRole>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.IdResponse>;
1144
+ /**
1145
+ * DELETE /{version}/membership/roles
1146
+ * Request DTO: DeleteRole
1147
+ */
1148
+ deleteRole: (request?: Partial<CodeMashHub2.DeleteRole>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1149
+ /**
1150
+ * GET /{version}/membership/roles/{Id}
1151
+ * Request DTO: GetRole
1152
+ */
1153
+ getRole: (request?: Partial<CodeMashHub2.GetRole>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetRoleResponse>;
1154
+ /**
1155
+ * GET /{version}/membership/roles
1156
+ * Request DTO: GetRoles
1157
+ */
1158
+ getRoles: (request?: Partial<CodeMashHub2.GetRoles>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetRolesResponse>;
1159
+ /**
1160
+ * PATCH /{version}/membership/roles
1161
+ * Request DTO: UpdateRolePolicies
1162
+ */
1163
+ updateRolePolicies: (request?: Partial<CodeMashHub2.UpdateRolePolicies>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1164
+ /**
1165
+ * POST /{version}/membership/policies
1166
+ * Request DTO: CreatePolicy
1167
+ */
1168
+ createPolicy: (request?: Partial<CodeMashHub2.CreatePolicy>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.IdResponse>;
1169
+ /**
1170
+ * DELETE /{version}/membership/policies
1171
+ * Request DTO: DeletePolicy
1172
+ */
1173
+ deletePolicy: (request?: Partial<CodeMashHub2.DeletePolicy>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1174
+ /**
1175
+ * GET /{version}/membership/policies/{Id}
1176
+ * Request DTO: GetPolicy
1177
+ */
1178
+ getPolicy: (request?: Partial<CodeMashHub2.GetPolicy>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetPolicyResponse>;
1179
+ /**
1180
+ * GET /{version}/membership/policies
1181
+ * Request DTO: GetPolicies
1182
+ */
1183
+ getPolicies: (request?: Partial<CodeMashHub2.GetPolicies>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetPoliciesResponse>;
1184
+ /**
1185
+ * PUT /{version}/membership/policies
1186
+ * Request DTO: UpdatePolicy
1187
+ */
1188
+ updatePolicy: (request?: Partial<CodeMashHub2.UpdatePolicy>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.IdResponse>;
1189
+ /**
1190
+ * GET /{version}/membership/passkey/settings
1191
+ * Request DTO: GetPasskeySettings
1192
+ */
1193
+ getPasskeySettings: (request?: Partial<CodeMashHub2.GetPasskeySettings>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetPasskeySettingsResponse>;
1194
+ /**
1195
+ * POST /{version}/membership/passkey/settings
1196
+ * Request DTO: SavePasskeySettings
1197
+ */
1198
+ savePasskeySettings: (request?: Partial<CodeMashHub2.SavePasskeySettings>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1199
+ /**
1200
+ * DELETE /{version}/membership/integrations/{Id}
1201
+ * Request DTO: DeleteMembershipIntegrationRequest
1202
+ */
1203
+ deleteMembershipIntegration: (request?: Partial<CodeMashHub2.DeleteMembershipIntegrationRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1204
+ /**
1205
+ * PUT /{version}/membership/integrations/{Id}/disable
1206
+ * Request DTO: DisableMembershipIntegrationRequest
1207
+ */
1208
+ disableMembershipIntegration: (request?: Partial<CodeMashHub2.DisableMembershipIntegrationRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1209
+ /**
1210
+ * PUT /{version}/membership/integrations/{Id}/enable
1211
+ * Request DTO: EnableMembershipIntegrationRequest
1212
+ */
1213
+ enableMembershipIntegration: (request?: Partial<CodeMashHub2.EnableMembershipIntegrationRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1214
+ /**
1215
+ * GET /{version}/membership/integrations/{id}
1216
+ * Request DTO: GetMembershipIntegration
1217
+ */
1218
+ getMembershipIntegration: (request?: Partial<CodeMashHub2.GetMembershipIntegration>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetMembershipIntegrationResponse>;
1219
+ /**
1220
+ * GET /{version}/membership/integrations
1221
+ * Request DTO: GetMembershipIntegrations
1222
+ */
1223
+ getMembershipIntegrations: (request?: Partial<CodeMashHub2.GetMembershipIntegrations>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetMembershipIntegrationsResponse>;
1224
+ /**
1225
+ * POST /{version}/membership/integrations
1226
+ * Request DTO: SaveMembershipIntegration
1227
+ */
1228
+ saveMembershipIntegration: (request?: Partial<CodeMashHub2.SaveMembershipIntegration>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.IdResponse>;
1229
+ /**
1230
+ * PUT /{version}/membership/integrations/{Id}/default
1231
+ * Request DTO: SetMembershipIntegrationAsDefaultRequest
1232
+ */
1233
+ setMembershipIntegrationAsDefault: (request?: Partial<CodeMashHub2.SetMembershipIntegrationAsDefaultRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1234
+ /**
1235
+ * GET /{version}/membership/authorization
1236
+ * Request DTO: GetAuthorizationSettings
1237
+ */
1238
+ getAuthorizationSettings: (request?: Partial<CodeMashHub2.GetAuthorizationSettings>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetAuthorizationSettingsResponse>;
1239
+ /**
1240
+ * PUT /{version}/membership/authorization
1241
+ * Request DTO: UpdateAuthorizationSettings
1242
+ */
1243
+ updateAuthorizationSettings: (request?: Partial<CodeMashHub2.UpdateAuthorizationSettings>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1244
+ /**
1245
+ * GET /{version}/membership/authentication
1246
+ * Request DTO: GetAuthenticationSettings
1247
+ */
1248
+ getAuthenticationSettings: (request?: Partial<CodeMashHub2.GetAuthenticationSettings>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetAuthenticationSettingsResponse>;
1249
+ }
1250
+
1251
+ /**
1252
+ * Auto-generated. Do not edit by hand — run `npm run generate-endpoints`
1253
+ * to refresh this file from the DTO definitions.
1254
+ *
1255
+ * Group: notifications
1256
+ * Endpoints: 127
1257
+ */
1258
+ declare class NotificationsModule {
1259
+ private readonly transport;
1260
+ constructor(transport: Transport);
1261
+ /**
1262
+ * GET /{version}/notifications/user/preferences
1263
+ * Request DTO: GetUserNotificationPreferences
1264
+ */
1265
+ getUserNotificationPreferences: (request?: Partial<CodeMashHub2.GetUserNotificationPreferences>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetUserEmailPreferencesResponse>;
1266
+ /**
1267
+ * PUT /{version}/notifications/user/preferences
1268
+ * Request DTO: UpdateUserNotificationsPreferences
1269
+ */
1270
+ updateUserNotificationsPreferences: (request?: Partial<CodeMashHub2.UpdateUserNotificationsPreferences>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1271
+ /**
1272
+ * GET /{version}/notifications/email/disable
1273
+ * Request DTO: DisableEmail
1274
+ */
1275
+ disableEmail: (request?: Partial<CodeMashHub2.DisableEmail>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1276
+ /**
1277
+ * GET /{version}/notifications/email/enable
1278
+ * Request DTO: EnableEmail
1279
+ */
1280
+ enableEmail: (request?: Partial<CodeMashHub2.EnableEmail>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1281
+ /**
1282
+ * POST /{version}/notifications/email/validation/integrations
1283
+ * Request DTO: SaveEmailValidationIntegration
1284
+ */
1285
+ saveEmailValidationIntegration: (request?: Partial<CodeMashHub2.SaveEmailValidationIntegration>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.IdResponse>;
1286
+ /**
1287
+ * POST /{version}/notifications/email/validation/integrations/test
1288
+ * Request DTO: TestEmailValidationIntegration
1289
+ */
1290
+ testEmailValidationIntegration: (request?: Partial<CodeMashHub2.TestEmailValidationIntegration>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.TestEmailValidationIntegrationResponse>;
1291
+ /**
1292
+ * POST /{version}/notifications/email/templates/attachments
1293
+ * Request DTO: AttachFileToTemplateRequest
1294
+ */
1295
+ attachFileToTemplate: (request?: Partial<CodeMashHub2.AttachFileToTemplateRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1296
+ /**
1297
+ * POST /{version}/notifications/email/templates
1298
+ * Request DTO: CreateEmailTemplateRequest
1299
+ */
1300
+ createEmailTemplate: (request?: Partial<CodeMashHub2.CreateEmailTemplateRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.IdResponse>;
1301
+ /**
1302
+ * DELETE /{version}/notifications/email/templates/{Id}
1303
+ * Request DTO: DeleteEmailTemplateRequest
1304
+ */
1305
+ deleteEmailTemplate: (request?: Partial<CodeMashHub2.DeleteEmailTemplateRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1306
+ /**
1307
+ * GET /{version}/notifications/email/templates/{id}
1308
+ * Request DTO: GetEmailTemplate
1309
+ */
1310
+ getEmailTemplate: (request?: Partial<CodeMashHub2.GetEmailTemplate>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetEmailTemplateResponse>;
1311
+ /**
1312
+ * GET /{version}/notifications/email/templates
1313
+ * Request DTO: GetEmailTemplates
1314
+ */
1315
+ getEmailTemplates: (request?: Partial<CodeMashHub2.GetEmailTemplates>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetEmailTemplatesResponse>;
1316
+ /**
1317
+ * POST /{version}/notifications/email/templates/mjml
1318
+ * Request DTO: GetMjml
1319
+ */
1320
+ getMjml: (request?: Partial<CodeMashHub2.GetMjml>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetHtmlFromMjmlResponse>;
1321
+ /**
1322
+ * GET /{version}/notifications/email/system-templates/{id}
1323
+ * Request DTO: GetSystemEmailTemplate
1324
+ */
1325
+ getSystemEmailTemplate: (request?: Partial<CodeMashHub2.GetSystemEmailTemplate>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetSystemEmailTemplateResponse>;
1326
+ /**
1327
+ * GET /{version}/notifications/email/system-templates
1328
+ * Request DTO: GetSystemEmailTemplates
1329
+ */
1330
+ getSystemEmailTemplates: (request?: Partial<CodeMashHub2.GetSystemEmailTemplates>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetSystemEmailTemplatesResponse>;
1331
+ /**
1332
+ * GET /{version}/notifications/email/templates/{id}/tokens
1333
+ * Request DTO: GetEmailTemplateAvailableTokens
1334
+ */
1335
+ getEmailTemplateAvailableTokens: (request?: Partial<CodeMashHub2.GetEmailTemplateAvailableTokens>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetEmailTemplateAvailableTokensResponse>;
1336
+ /**
1337
+ * PUT /{version}/notifications/email/templates
1338
+ * Request DTO: UpdateEmailTemplateRequest
1339
+ */
1340
+ updateEmailTemplate: (request?: Partial<CodeMashHub2.UpdateEmailTemplateRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1341
+ /**
1342
+ * DELETE /{version}/notifications/email/signatures/{id}
1343
+ * Request DTO: DeleteEmailSignature
1344
+ */
1345
+ deleteEmailSignature: (request?: Partial<CodeMashHub2.DeleteEmailSignature>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1346
+ /**
1347
+ * GET /{version}/notifications/email/signatures/{id}
1348
+ * Request DTO: GetEmailSignature
1349
+ */
1350
+ getEmailSignature: (request?: Partial<CodeMashHub2.GetEmailSignature>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetEmailSignatureResponse>;
1351
+ /**
1352
+ * GET /{version}/notifications/email/signatures
1353
+ * Request DTO: GetEmailSignatures
1354
+ */
1355
+ getEmailSignatures: (request?: Partial<CodeMashHub2.GetEmailSignatures>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetEmailSignaturesResponse>;
1356
+ /**
1357
+ * POST /{version}/notifications/email/signatures
1358
+ * Request DTO: SaveEmailSignatureRequest
1359
+ */
1360
+ saveEmailSignature: (request?: Partial<CodeMashHub2.SaveEmailSignatureRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.IdResponse>;
1361
+ /**
1362
+ * GET /{version}/notifications/email/settings
1363
+ * Request DTO: GetEmailSettings
1364
+ */
1365
+ getEmailSettings: (request?: Partial<CodeMashHub2.GetEmailSettings>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetEmailSettingsResponse>;
1366
+ /**
1367
+ * POST /{version}/notifications/email/integrations/confirm-human-delivery
1368
+ * Request DTO: ConfirmEmailIntegrationHumanDeliveryRequest
1369
+ */
1370
+ confirmEmailIntegrationHumanDelivery: (request?: Partial<CodeMashHub2.ConfirmEmailIntegrationHumanDeliveryRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1371
+ /**
1372
+ * DELETE /{version}/notifications/email/integrations/{Id}
1373
+ * Request DTO: DeleteEmailIntegration
1374
+ */
1375
+ deleteEmailIntegration: (request?: Partial<CodeMashHub2.DeleteEmailIntegration>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1376
+ /**
1377
+ * PUT /{version}/notifications/email/integrations/{Id}/disable
1378
+ * Request DTO: DisableEmailIntegration
1379
+ */
1380
+ disableEmailIntegration: (request?: Partial<CodeMashHub2.DisableEmailIntegration>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1381
+ /**
1382
+ * POST /{version}/notifications/email/integrations/domain-health
1383
+ * Request DTO: CheckEmailIntegrationDomainHealthRequest
1384
+ */
1385
+ checkEmailIntegrationDomainHealth: (request?: Partial<CodeMashHub2.CheckEmailIntegrationDomainHealthRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.CheckEmailIntegrationDomainHealthResponse>;
1386
+ /**
1387
+ * PUT /{version}/notifications/email/integrations/{Id}/enable
1388
+ * Request DTO: EnableEmailIntegration
1389
+ */
1390
+ enableEmailIntegration: (request?: Partial<CodeMashHub2.EnableEmailIntegration>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1391
+ /**
1392
+ * GET /{version}/notifications/email/integrations/{id}
1393
+ * Request DTO: GetEmailIntegration
1394
+ */
1395
+ getEmailIntegration: (request?: Partial<CodeMashHub2.GetEmailIntegration>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetEmailIntegrationResponse>;
1396
+ /**
1397
+ * GET /{version}/notifications/email/integrations
1398
+ * Request DTO: GetEmailIntegrations
1399
+ */
1400
+ getEmailIntegrations: (request?: Partial<CodeMashHub2.GetEmailIntegrations>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetEmailIntegrationsResponse>;
1401
+ /**
1402
+ * POST /{version}/notifications/email/integrations
1403
+ * Request DTO: SaveEmailIntegration
1404
+ */
1405
+ saveEmailIntegration: (request?: Partial<CodeMashHub2.SaveEmailIntegration>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.IdResponse>;
1406
+ /**
1407
+ * PUT /{version}/notifications/email/integrations/{Id}/default
1408
+ * Request DTO: SetEmailsIntegrationAsDefault
1409
+ */
1410
+ setEmailsIntegrationAsDefault: (request?: Partial<CodeMashHub2.SetEmailsIntegrationAsDefault>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1411
+ /**
1412
+ * POST /{version}/notifications/email/integrations/test
1413
+ * Request DTO: TestEmailIntegration
1414
+ */
1415
+ testEmailIntegration: (request?: Partial<CodeMashHub2.TestEmailIntegration>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.TestEmailIntegrationResponse>;
1416
+ /**
1417
+ * PUT /{version}/notifications/email/templates/{Id}/archive
1418
+ * Request DTO: ArchiveEmailTemplateRequest
1419
+ */
1420
+ archiveEmailTemplate: (request?: Partial<CodeMashHub2.ArchiveEmailTemplateRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1421
+ /**
1422
+ * POST /{version}/notifications/email/templates/{Id}/clone
1423
+ * Request DTO: CloneEmailTemplateRequest
1424
+ */
1425
+ cloneEmailTemplate: (request?: Partial<CodeMashHub2.CloneEmailTemplateRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1426
+ /**
1427
+ * PUT /{version}/notifications/email/templates/{Id}/unarchive
1428
+ * Request DTO: UnArchiveEmailTemplateRequest
1429
+ */
1430
+ unArchiveEmailTemplate: (request?: Partial<CodeMashHub2.UnArchiveEmailTemplateRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1431
+ /**
1432
+ * DELETE /{version}/notifications/email/footers/{id}
1433
+ * Request DTO: DeleteEmailFooter
1434
+ */
1435
+ deleteEmailFooter: (request?: Partial<CodeMashHub2.DeleteEmailFooter>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1436
+ /**
1437
+ * GET /{version}/notifications/email/footers/{id}
1438
+ * Request DTO: GetEmailFooter
1439
+ */
1440
+ getEmailFooter: (request?: Partial<CodeMashHub2.GetEmailFooter>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetEmailFooterResponse>;
1441
+ /**
1442
+ * GET /{version}/notifications/email/footers
1443
+ * Request DTO: GetEmailFooters
1444
+ */
1445
+ getEmailFooters: (request?: Partial<CodeMashHub2.GetEmailFooters>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetEmailFootersResponse>;
1446
+ /**
1447
+ * POST /{version}/notifications/email/footers
1448
+ * Request DTO: SaveEmailFooterRequest
1449
+ */
1450
+ saveEmailFooter: (request?: Partial<CodeMashHub2.SaveEmailFooterRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.IdResponse>;
1451
+ /**
1452
+ * POST /{version}/notifications/email/campaigns
1453
+ * Request DTO: CreateEmailCampaignRequest
1454
+ */
1455
+ createEmailCampaign: (request?: Partial<CodeMashHub2.CreateEmailCampaignRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.IdResponse>;
1456
+ /**
1457
+ * DELETE /{version}/notifications/email/campaigns/{Id}
1458
+ * Request DTO: DeleteEmailCampaignRequest
1459
+ */
1460
+ deleteEmailCampaign: (request?: Partial<CodeMashHub2.DeleteEmailCampaignRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1461
+ /**
1462
+ * GET /{version}/notifications/email/campaigns/{id}
1463
+ * Request DTO: GetEmailCampaign
1464
+ */
1465
+ getEmailCampaign: (request?: Partial<CodeMashHub2.GetEmailCampaign>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetEmailCampaignResponse>;
1466
+ /**
1467
+ * GET /{version}/notifications/email/campaigns
1468
+ * Request DTO: GetEmailCampaigns
1469
+ */
1470
+ getEmailCampaigns: (request?: Partial<CodeMashHub2.GetEmailCampaigns>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetEmailCampaignsResponse>;
1471
+ /**
1472
+ * GET /{version}/notifications/email/campaigns/{id}/batches
1473
+ * Request DTO: GetEmailCampaignBatches
1474
+ */
1475
+ getEmailCampaignBatches: (request?: Partial<CodeMashHub2.GetEmailCampaignBatches>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetEmailCampaignBatchesResponse>;
1476
+ /**
1477
+ * GET /{version}/notifications/email/campaigns/{id}/batches/{batchId}/{notificationId}
1478
+ * Request DTO: GetEmailCampaignBatchNotification
1479
+ */
1480
+ getEmailCampaignBatchNotification: (request?: Partial<CodeMashHub2.GetEmailCampaignBatchNotification>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetEmailCampaignBatchNotificationResponse>;
1481
+ /**
1482
+ * GET /{version}/notifications/email/campaigns/{id}/batches/{batchId}
1483
+ * Request DTO: GetEmailCampaignBatchNotifications
1484
+ */
1485
+ getEmailCampaignBatchNotifications: (request?: Partial<CodeMashHub2.GetEmailCampaignBatchNotifications>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetEmailCampaignBatchNotificationsResponse>;
1486
+ /**
1487
+ * GET /{version}/notifications/email/campaigns/{id}/stats
1488
+ * Request DTO: GetEmailCampaignStatistics
1489
+ */
1490
+ getEmailCampaignStatistics: (request?: Partial<CodeMashHub2.GetEmailCampaignStatistics>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetEmailCampaignStatisticsResponse>;
1491
+ /**
1492
+ * GET /{version}/notifications/email/preview
1493
+ * Request DTO: PreviewEmailNotification
1494
+ */
1495
+ previewEmailNotification: (request?: Partial<CodeMashHub2.PreviewEmailNotification>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.PreviewEmailNotificationResponse>;
1496
+ /**
1497
+ * GET /{version}/notifications/emails/campaigns/{campaignId}/messages/{id}
1498
+ * Request DTO: GetEmailCampaignMessage
1499
+ */
1500
+ getEmailCampaignMessage: (request?: Partial<CodeMashHub2.GetEmailCampaignMessage>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetEmailCampaignMessageResponse>;
1501
+ /**
1502
+ * GET /{version}/notifications/emails/campaigns/{campaignId}/messages
1503
+ * Request DTO: GetEmailCampaignMessagesRequest
1504
+ */
1505
+ getEmailCampaignMessages: (request?: Partial<CodeMashHub2.GetEmailCampaignMessagesRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetEmailCampaignMessagesResponse>;
1506
+ /**
1507
+ * GET /{version}/notifications/sms/disable
1508
+ * Request DTO: DisableSms
1509
+ */
1510
+ disableSms: (request?: Partial<CodeMashHub2.DisableSms>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1511
+ /**
1512
+ * GET /{version}/notifications/sms/enable
1513
+ * Request DTO: EnableSms
1514
+ */
1515
+ enableSms: (request?: Partial<CodeMashHub2.EnableSms>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1516
+ /**
1517
+ * PUT /{version}/notifications/sms/templates/{Id}/archive
1518
+ * Request DTO: ArchiveSmsTemplateRequest
1519
+ */
1520
+ archiveSmsTemplate: (request?: Partial<CodeMashHub2.ArchiveSmsTemplateRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1521
+ /**
1522
+ * POST /{version}/notifications/sms/templates/{Id}/clone
1523
+ * Request DTO: CloneSmsTemplateRequest
1524
+ */
1525
+ cloneSmsTemplate: (request?: Partial<CodeMashHub2.CloneSmsTemplateRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1526
+ /**
1527
+ * POST /{version}/notifications/sms/templates
1528
+ * Request DTO: CreateSmsTemplateRequest
1529
+ */
1530
+ createSmsTemplate: (request?: Partial<CodeMashHub2.CreateSmsTemplateRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.IdResponse>;
1531
+ /**
1532
+ * DELETE /{version}/notifications/sms/templates/{Id}
1533
+ * Request DTO: DeleteSmsTemplateRequest
1534
+ */
1535
+ deleteSmsTemplate: (request?: Partial<CodeMashHub2.DeleteSmsTemplateRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1536
+ /**
1537
+ * GET /{version}/notifications/sms/templates/{id}
1538
+ * Request DTO: GetSmsTemplate
1539
+ */
1540
+ getSmsTemplate: (request?: Partial<CodeMashHub2.GetSmsTemplate>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetSmsTemplateResponse>;
1541
+ /**
1542
+ * GET /{version}/notifications/sms/templates
1543
+ * Request DTO: GetSmsTemplates
1544
+ */
1545
+ getSmsTemplates: (request?: Partial<CodeMashHub2.GetSmsTemplates>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetSmsTemplatesResponse>;
1546
+ /**
1547
+ * GET /{version}/notifications/sms/templates/{id}/tokens
1548
+ * Request DTO: GetSmsMessageContentTokens
1549
+ */
1550
+ getSmsMessageContentTokens: (request?: Partial<CodeMashHub2.GetSmsMessageContentTokens>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetSmsMessageContentTokensResponse>;
1551
+ /**
1552
+ * POST /{version}/notifications/sms/templates/render
1553
+ * Request DTO: RenderSms
1554
+ */
1555
+ renderSms: (request?: Partial<CodeMashHub2.RenderSms>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.RenderSmsTextResponse>;
1556
+ /**
1557
+ * PUT /{version}/notifications/sms/templates/{Id}/unarchive
1558
+ * Request DTO: UnArchiveSmsTemplateRequest
1559
+ */
1560
+ unArchiveSmsTemplate: (request?: Partial<CodeMashHub2.UnArchiveSmsTemplateRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1561
+ /**
1562
+ * PUT /{version}/notifications/sms/templates
1563
+ * Request DTO: UpdateSmsTemplateRequest
1564
+ */
1565
+ updateSmsTemplate: (request?: Partial<CodeMashHub2.UpdateSmsTemplateRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1566
+ /**
1567
+ * GET /{version}/notifications/sms/settings
1568
+ * Request DTO: GetSmsSettings
1569
+ */
1570
+ getSmsSettings: (request?: Partial<CodeMashHub2.GetSmsSettings>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetSmsSettingsResponse>;
1571
+ /**
1572
+ * POST /{version}/notifications/sms/integrations/confirm-human-delivery
1573
+ * Request DTO: ConfirmSmsIntegrationHumanDeliveryRequest
1574
+ */
1575
+ confirmSmsIntegrationHumanDelivery: (request?: Partial<CodeMashHub2.ConfirmSmsIntegrationHumanDeliveryRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1576
+ /**
1577
+ * DELETE /{version}/notifications/sms/integrations/{Id}
1578
+ * Request DTO: DeleteSmsIntegrationRequest
1579
+ */
1580
+ deleteSmsIntegration: (request?: Partial<CodeMashHub2.DeleteSmsIntegrationRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1581
+ /**
1582
+ * PUT /{version}/notifications/sms/integrations/{Id}/disable
1583
+ * Request DTO: DisableSmsIntegrationRequest
1584
+ */
1585
+ disableSmsIntegration: (request?: Partial<CodeMashHub2.DisableSmsIntegrationRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1586
+ /**
1587
+ * PUT /{version}/notifications/sms/integrations/{Id}/enable
1588
+ * Request DTO: EnableSmsIntegrationRequest
1589
+ */
1590
+ enableSmsIntegration: (request?: Partial<CodeMashHub2.EnableSmsIntegrationRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1591
+ /**
1592
+ * GET /{version}/notifications/sms/integrations/{id}
1593
+ * Request DTO: GetSmsIntegration
1594
+ */
1595
+ getSmsIntegration: (request?: Partial<CodeMashHub2.GetSmsIntegration>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetSmsIntegrationResponse>;
1596
+ /**
1597
+ * GET /{version}/notifications/sms/integrations
1598
+ * Request DTO: GetSmsIntegrations
1599
+ */
1600
+ getSmsIntegrations: (request?: Partial<CodeMashHub2.GetSmsIntegrations>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetSmsIntegrationsResponse>;
1601
+ /**
1602
+ * POST /{version}/notifications/sms/integrations
1603
+ * Request DTO: SaveSmsIntegration
1604
+ */
1605
+ saveSmsIntegration: (request?: Partial<CodeMashHub2.SaveSmsIntegration>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.IdResponse>;
1606
+ /**
1607
+ * PUT /{version}/notifications/sms/integrations/{Id}/default
1608
+ * Request DTO: SetSmsIntegrationAsDefaultRequest
1609
+ */
1610
+ setSmsIntegrationAsDefault: (request?: Partial<CodeMashHub2.SetSmsIntegrationAsDefaultRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1611
+ /**
1612
+ * POST /{version}/notifications/sms/integrations/test
1613
+ * Request DTO: TestSmsIntegration
1614
+ */
1615
+ testSmsIntegration: (request?: Partial<CodeMashHub2.TestSmsIntegration>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.TestSmsIntegrationResponse>;
1616
+ /**
1617
+ * POST /{version}/notifications/sms/campaigns
1618
+ * Request DTO: CreateSmsCampaignRequest
1619
+ */
1620
+ createSmsCampaign: (request?: Partial<CodeMashHub2.CreateSmsCampaignRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.IdResponse>;
1621
+ /**
1622
+ * DELETE /{version}/notifications/sms/campaigns/{id}
1623
+ * Request DTO: DeleteSmsCampaign
1624
+ */
1625
+ deleteSmsCampaign: (request?: Partial<CodeMashHub2.DeleteSmsCampaign>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1626
+ /**
1627
+ * GET /{version}/notifications/sms/campaigns/{id}
1628
+ * Request DTO: GetSmsCampaign
1629
+ */
1630
+ getSmsCampaign: (request?: Partial<CodeMashHub2.GetSmsCampaign>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetSmsCampaignResponse>;
1631
+ /**
1632
+ * GET /{version}/notifications/sms/campaigns
1633
+ * Request DTO: GetSmsCampaigns
1634
+ */
1635
+ getSmsCampaigns: (request?: Partial<CodeMashHub2.GetSmsCampaigns>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetSmsCampaignsResponse>;
1636
+ /**
1637
+ * GET /{version}/notifications/sms/campaigns/{id}/batches
1638
+ * Request DTO: GetSmsCampaignBatches
1639
+ */
1640
+ getSmsCampaignBatches: (request?: Partial<CodeMashHub2.GetSmsCampaignBatches>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetSmsCampaignBatchesResponse>;
1641
+ /**
1642
+ * GET /{version}/notifications/sms/campaigns/{id}/batches/{batchId}/{notificationId}
1643
+ * Request DTO: GetSmsCampaignBatchNotification
1644
+ */
1645
+ getSmsCampaignBatchNotification: (request?: Partial<CodeMashHub2.GetSmsCampaignBatchNotification>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetSmsCampaignBatchNotificationResponse>;
1646
+ /**
1647
+ * GET /{version}/notifications/sms/campaigns/{id}/batches/{batchId}
1648
+ * Request DTO: GetSmsCampaignBatchNotifications
1649
+ */
1650
+ getSmsCampaignBatchNotifications: (request?: Partial<CodeMashHub2.GetSmsCampaignBatchNotifications>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetSmsCampaignBatchNotificationsResponse>;
1651
+ /**
1652
+ * GET /{version}/notifications/sms/campaigns/{id}/stats
1653
+ * Request DTO: GetSmsCampaignStatistics
1654
+ */
1655
+ getSmsCampaignStatistics: (request?: Partial<CodeMashHub2.GetSmsCampaignStatistics>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetSmsCampaignStatisticsResponse>;
1656
+ /**
1657
+ * GET /{version}/notifications/sms/preview
1658
+ * Request DTO: PreviewSmsNotification
1659
+ */
1660
+ previewSmsNotification: (request?: Partial<CodeMashHub2.PreviewSmsNotification>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.PreviewSmsNotificationResponse>;
1661
+ /**
1662
+ * GET /{version}/notifications/sms/campaigns/{campaignId}/messages/{id}
1663
+ * Request DTO: GetSmsCampaignMessage
1664
+ */
1665
+ getSmsCampaignMessage: (request?: Partial<CodeMashHub2.GetSmsCampaignMessage>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetSmsCampaignMessageResponse>;
1666
+ /**
1667
+ * GET /{version}/notifications/sms/campaigns/{campaignId}/messages
1668
+ * Request DTO: GetSmsCampaignMessagesRequest
1669
+ */
1670
+ getSmsCampaignMessages: (request?: Partial<CodeMashHub2.GetSmsCampaignMessagesRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetSmsCampaignMessagesResponse>;
1671
+ /**
1672
+ * GET /{version}/notifications/push/disable
1673
+ * Request DTO: DisablePush
1674
+ */
1675
+ disablePush: (request?: Partial<CodeMashHub2.DisablePush>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1676
+ /**
1677
+ * GET /{version}/notifications/push/enable
1678
+ * Request DTO: EnablePush
1679
+ */
1680
+ enablePush: (request?: Partial<CodeMashHub2.EnablePush>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1681
+ /**
1682
+ * PUT /{version}/notifications/push/templates/{Id}/archive
1683
+ * Request DTO: ArchivePushTemplateRequest
1684
+ */
1685
+ archivePushTemplate: (request?: Partial<CodeMashHub2.ArchivePushTemplateRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1686
+ /**
1687
+ * POST /{version}/notifications/push/templates/{Id}/clone
1688
+ * Request DTO: ClonePushTemplateRequest
1689
+ */
1690
+ clonePushTemplate: (request?: Partial<CodeMashHub2.ClonePushTemplateRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1691
+ /**
1692
+ * POST /{version}/notifications/push/templates
1693
+ * Request DTO: CreatePushTemplateRequest
1694
+ */
1695
+ createPushTemplate: (request?: Partial<CodeMashHub2.CreatePushTemplateRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.IdResponse>;
1696
+ /**
1697
+ * DELETE /{version}/notifications/push/templates/{Id}
1698
+ * Request DTO: DeletePushTemplateRequest
1699
+ */
1700
+ deletePushTemplate: (request?: Partial<CodeMashHub2.DeletePushTemplateRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1701
+ /**
1702
+ * GET /{version}/notifications/push/templates/{id}
1703
+ * Request DTO: GetPushTemplate
1704
+ */
1705
+ getPushTemplate: (request?: Partial<CodeMashHub2.GetPushTemplate>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetPushTemplateResponse>;
1706
+ /**
1707
+ * GET /{version}/notifications/push/templates
1708
+ * Request DTO: GetPushTemplates
1709
+ */
1710
+ getPushTemplates: (request?: Partial<CodeMashHub2.GetPushTemplates>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetPushTemplatesResponse>;
1711
+ /**
1712
+ * GET /{version}/notifications/push/templates/{id}/tokens
1713
+ * Request DTO: GetPushMessageContentTokens
1714
+ */
1715
+ getPushMessageContentTokens: (request?: Partial<CodeMashHub2.GetPushMessageContentTokens>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetPushMessageContentTokensResponse>;
1716
+ /**
1717
+ * POST /{version}/notifications/push/templates/render
1718
+ * Request DTO: RenderPush
1719
+ */
1720
+ renderPush: (request?: Partial<CodeMashHub2.RenderPush>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.RenderPushResponse>;
1721
+ /**
1722
+ * PUT /{version}/notifications/push/templates/{Id}/unarchive
1723
+ * Request DTO: UnArchivePushTemplateRequest
1724
+ */
1725
+ unArchivePushTemplate: (request?: Partial<CodeMashHub2.UnArchivePushTemplateRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1726
+ /**
1727
+ * PUT /{version}/notifications/push/templates
1728
+ * Request DTO: UpdatePushTemplateRequest
1729
+ */
1730
+ updatePushTemplate: (request?: Partial<CodeMashHub2.UpdatePushTemplateRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1731
+ /**
1732
+ * GET /{version}/notifications/push/settings
1733
+ * Request DTO: GetPushSettings
1734
+ */
1735
+ getPushSettings: (request?: Partial<CodeMashHub2.GetPushSettings>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetPushSettingsResponse>;
1736
+ /**
1737
+ * POST /{version}/notifications/push/integrations/confirm-human-delivery
1738
+ * Request DTO: ConfirmPushIntegrationHumanDeliveryRequest
1739
+ */
1740
+ confirmPushIntegrationHumanDelivery: (request?: Partial<CodeMashHub2.ConfirmPushIntegrationHumanDeliveryRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1741
+ /**
1742
+ * DELETE /{version}/notifications/push/integrations/{Id}
1743
+ * Request DTO: DeletePushIntegrationRequest
1744
+ */
1745
+ deletePushIntegration: (request?: Partial<CodeMashHub2.DeletePushIntegrationRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1746
+ /**
1747
+ * PUT /{version}/notifications/push/integrations/{Id}/disable
1748
+ * Request DTO: DisablePushIntegrationRequest
1749
+ */
1750
+ disablePushIntegration: (request?: Partial<CodeMashHub2.DisablePushIntegrationRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1751
+ /**
1752
+ * PUT /{version}/notifications/push/integrations/{Id}/enable
1753
+ * Request DTO: EnablePushIntegrationRequest
1754
+ */
1755
+ enablePushIntegration: (request?: Partial<CodeMashHub2.EnablePushIntegrationRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1756
+ /**
1757
+ * GET /{version}/notifications/push/integrations/{id}
1758
+ * Request DTO: GetPushIntegration
1759
+ */
1760
+ getPushIntegration: (request?: Partial<CodeMashHub2.GetPushIntegration>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetPushIntegrationResponse>;
1761
+ /**
1762
+ * GET /{version}/notifications/push/integrations
1763
+ * Request DTO: GetPushIntegrations
1764
+ */
1765
+ getPushIntegrations: (request?: Partial<CodeMashHub2.GetPushIntegrations>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetPushIntegrationsResponse>;
1766
+ /**
1767
+ * POST /{version}/notifications/push/integrations
1768
+ * Request DTO: SavePushIntegration
1769
+ */
1770
+ savePushIntegration: (request?: Partial<CodeMashHub2.SavePushIntegration>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.IdResponse>;
1771
+ /**
1772
+ * PUT /{version}/notifications/push/integrations/{Id}/default
1773
+ * Request DTO: SetPushIntegrationAsDefaultRequest
1774
+ */
1775
+ setPushIntegrationAsDefault: (request?: Partial<CodeMashHub2.SetPushIntegrationAsDefaultRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1776
+ /**
1777
+ * POST /{version}/notifications/push/integrations/test
1778
+ * Request DTO: TestPushIntegration
1779
+ */
1780
+ testPushIntegration: (request?: Partial<CodeMashHub2.TestPushIntegration>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.TestEmailIntegrationResponse>;
1781
+ /**
1782
+ * POST /{version}/notifications/push/integrations/app/request
1783
+ * Account-scoped — requires `accountId` on the Norbix client.
1784
+ * Request DTO: RegisterCodeMashAppPushIntegration
1785
+ */
1786
+ registerCodeMashAppPushIntegration: (request?: Partial<CodeMashHub2.RegisterCodeMashAppPushIntegration>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1787
+ /**
1788
+ * POST /{version}/notifications/push/devices
1789
+ * Request DTO: RegisterDevice
1790
+ */
1791
+ registerDevice: (request?: Partial<CodeMashHub2.RegisterDevice>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.IdResponse>;
1792
+ /**
1793
+ * POST /{version}/notifications/push/campaigns
1794
+ * Request DTO: CreatePushCampaignRequest
1795
+ */
1796
+ createPushCampaign: (request?: Partial<CodeMashHub2.CreatePushCampaignRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.IdResponse>;
1797
+ /**
1798
+ * DELETE /{version}/notifications/push/campaigns/{Id}
1799
+ * Request DTO: DeletePushCampaignRequest
1800
+ */
1801
+ deletePushCampaign: (request?: Partial<CodeMashHub2.DeletePushCampaignRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1802
+ /**
1803
+ * GET /{version}/notifications/push/campaigns/{id}
1804
+ * Request DTO: GetPushCampaign
1805
+ */
1806
+ getPushCampaign: (request?: Partial<CodeMashHub2.GetPushCampaign>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetPushCampaignResponse>;
1807
+ /**
1808
+ * GET /{version}/notifications/push/campaigns
1809
+ * Request DTO: GetPushCampaigns
1810
+ */
1811
+ getPushCampaigns: (request?: Partial<CodeMashHub2.GetPushCampaigns>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetPushCampaignsResponse>;
1812
+ /**
1813
+ * GET /{version}/notifications/push/campaigns/{id}/batches
1814
+ * Request DTO: GetPushCampaignBatches
1815
+ */
1816
+ getPushCampaignBatches: (request?: Partial<CodeMashHub2.GetPushCampaignBatches>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetPushCampaignBatchesResponse>;
1817
+ /**
1818
+ * GET /{version}/notifications/push/campaigns/{id}/batches/{batchId}/{notificationId}
1819
+ * Request DTO: GetPushCampaignBatchNotification
1820
+ */
1821
+ getPushCampaignBatchNotification: (request?: Partial<CodeMashHub2.GetPushCampaignBatchNotification>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetPushCampaignBatchNotificationResponse>;
1822
+ /**
1823
+ * GET /{version}/notifications/push/campaigns/{id}/batches/{batchId}
1824
+ * Request DTO: GetPushCampaignBatchNotifications
1825
+ */
1826
+ getPushCampaignBatchNotifications: (request?: Partial<CodeMashHub2.GetPushCampaignBatchNotifications>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetPushCampaignBatchNotificationsResponse>;
1827
+ /**
1828
+ * GET /{version}/notifications/push/campaigns/{id}/stats
1829
+ * Request DTO: GetPushCampaignStatistics
1830
+ */
1831
+ getPushCampaignStatistics: (request?: Partial<CodeMashHub2.GetPushCampaignStatistics>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetPushCampaignStatisticsResponse>;
1832
+ /**
1833
+ * GET /{version}/notifications/push/preview
1834
+ * Request DTO: PreviewPushNotification
1835
+ */
1836
+ previewPushNotification: (request?: Partial<CodeMashHub2.PreviewPushNotification>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.PreviewPushNotificationResponse>;
1837
+ /**
1838
+ * GET /{version}/notifications/push/campaigns/{campaignId}/messages/{id}
1839
+ * Request DTO: GetPushCampaignMessage
1840
+ */
1841
+ getPushCampaignMessage: (request?: Partial<CodeMashHub2.GetPushCampaignMessage>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetPushCampaignMessageResponse>;
1842
+ /**
1843
+ * GET /{version}/notifications/push/campaigns/{campaignId}/messages
1844
+ * Request DTO: GetPushCampaignMessagesRequest
1845
+ */
1846
+ getPushCampaignMessages: (request?: Partial<CodeMashHub2.GetPushCampaignMessagesRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetPushCampaignMessagesResponse>;
1847
+ /**
1848
+ * POST /{version}/notifications/contacts
1849
+ * Request DTO: CreateContactRequest
1850
+ */
1851
+ createContact: (request?: Partial<CodeMashHub2.CreateContactRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1852
+ /**
1853
+ * DELETE /{version}/notifications/contacts/{contactId}
1854
+ * Request DTO: DeleteContact
1855
+ */
1856
+ deleteContact: (request?: Partial<CodeMashHub2.DeleteContact>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1857
+ /**
1858
+ * GET /{version}/notifications/contacts/{contactId}
1859
+ * Request DTO: GetContact
1860
+ */
1861
+ getContact: (request?: Partial<CodeMashHub2.GetContact>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetContactResponse>;
1862
+ /**
1863
+ * GET /{version}/notifications/contacts
1864
+ * Request DTO: GetAllContacts
1865
+ */
1866
+ getAllContacts: (request?: Partial<CodeMashHub2.GetAllContacts>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetAllContactsResponse>;
1867
+ /**
1868
+ * POST /{version}/notifications/contacts/merge
1869
+ * Request DTO: MergeContactsRequest
1870
+ */
1871
+ mergeContacts: (request?: Partial<CodeMashHub2.MergeContactsRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1872
+ /**
1873
+ * POST /{version}/notifications/contacts/{contactId}/marketing-state/{channel}/consent
1874
+ * Request DTO: GrantContactConsentRequest
1875
+ */
1876
+ grantContactConsent: (request?: Partial<CodeMashHub2.GrantContactConsentRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1877
+ /**
1878
+ * POST /{version}/notifications/contacts/{contactId}/marketing-state/{channel}/unsubscribe
1879
+ * Request DTO: UnsubscribeContactRequest
1880
+ */
1881
+ unsubscribeContact: (request?: Partial<CodeMashHub2.UnsubscribeContactRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1882
+ /**
1883
+ * POST /{version}/notifications/contacts/{contactId}/identities
1884
+ * Request DTO: AddContactIdentityRequest
1885
+ */
1886
+ addContactIdentity: (request?: Partial<CodeMashHub2.AddContactIdentityRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1887
+ /**
1888
+ * POST /{version}/notifications/contacts/{contactId}/identities/{identityId}/promote
1889
+ * Request DTO: PromoteContactIdentityRequest
1890
+ */
1891
+ promoteContactIdentity: (request?: Partial<CodeMashHub2.PromoteContactIdentityRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1892
+ /**
1893
+ * DELETE /{version}/notifications/contacts/{contactId}/identities/{identityId}
1894
+ * Request DTO: RemoveContactIdentityRequest
1895
+ */
1896
+ removeContactIdentity: (request?: Partial<CodeMashHub2.RemoveContactIdentityRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1897
+ }
1898
+
1899
+ /**
1900
+ * Auto-generated. Do not edit by hand — run `npm run generate-endpoints`
1901
+ * to refresh this file from the DTO definitions.
1902
+ *
1903
+ * Group: payments
1904
+ * Endpoints: 16
1905
+ */
1906
+ declare class PaymentsModule {
1907
+ private readonly transport;
1908
+ constructor(transport: Transport);
1909
+ /**
1910
+ * GET /{version}/payments/disable
1911
+ * Request DTO: DisablePayments
1912
+ */
1913
+ disablePayments: (request?: Partial<CodeMashHub2.DisablePayments>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1914
+ /**
1915
+ * GET /{version}/payments/enable
1916
+ * Request DTO: EnablePayments
1917
+ */
1918
+ enablePayments: (request?: Partial<CodeMashHub2.EnablePayments>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1919
+ /**
1920
+ * DELETE /{version}/payments/triggers/{triggerId}
1921
+ * Request DTO: DeletePaymentsTrigger
1922
+ */
1923
+ deletePaymentsTrigger: (request?: Partial<CodeMashHub2.DeletePaymentsTrigger>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1924
+ /**
1925
+ * PATCH /{version}/payments/triggers/{triggerId}/disable
1926
+ * Request DTO: DisablePaymentsTrigger
1927
+ */
1928
+ disablePaymentsTrigger: (request?: Partial<CodeMashHub2.DisablePaymentsTrigger>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1929
+ /**
1930
+ * PATCH /{version}/payments/triggers/{triggerId}/enable
1931
+ * Request DTO: EnablePaymentsTrigger
1932
+ */
1933
+ enablePaymentsTrigger: (request?: Partial<CodeMashHub2.EnablePaymentsTrigger>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1934
+ /**
1935
+ * GET /{version}/payments/triggers/{id}
1936
+ * Request DTO: GetPaymentsTrigger
1937
+ */
1938
+ getPaymentsTrigger: (request?: Partial<CodeMashHub2.GetPaymentsTrigger>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetPaymentsTriggerResponse>;
1939
+ /**
1940
+ * GET /{version}/payments/triggers
1941
+ * Request DTO: GetPaymentsTriggers
1942
+ */
1943
+ getPaymentsTriggers: (request?: Partial<CodeMashHub2.GetPaymentsTriggers>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetPaymentsTriggersResponse>;
1944
+ /**
1945
+ * POST /{version}/payments/triggers
1946
+ * Request DTO: SavePaymentsTrigger
1947
+ */
1948
+ savePaymentsTrigger: (request?: Partial<CodeMashHub2.SavePaymentsTrigger>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.IdResponse>;
1949
+ /**
1950
+ * POST /{version}/payments/integrations/confirm-human-delivery
1951
+ * Request DTO: ConfirmPaymentsIntegrationHumanDeliveryRequest
1952
+ */
1953
+ confirmPaymentsIntegrationHumanDelivery: (request?: Partial<CodeMashHub2.ConfirmPaymentsIntegrationHumanDeliveryRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1954
+ /**
1955
+ * DELETE /{version}/payments/integrations/{Id}
1956
+ * Request DTO: DeletePaymentsIntegrationRequest
1957
+ */
1958
+ deletePaymentsIntegration: (request?: Partial<CodeMashHub2.DeletePaymentsIntegrationRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1959
+ /**
1960
+ * PUT /{version}/payments/integrations/{Id}/disable
1961
+ * Request DTO: DisablePaymentsIntegrationRequest
1962
+ */
1963
+ disablePaymentsIntegration: (request?: Partial<CodeMashHub2.DisablePaymentsIntegrationRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1964
+ /**
1965
+ * PUT /{version}/payments/integrations/{Id}/enable
1966
+ * Request DTO: EnablePaymentsIntegrationRequest
1967
+ */
1968
+ enablePaymentsIntegration: (request?: Partial<CodeMashHub2.EnablePaymentsIntegrationRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
1969
+ /**
1970
+ * GET /{version}/payments/integrations/{id}
1971
+ * Request DTO: GetPaymentsIntegration
1972
+ */
1973
+ getPaymentsIntegration: (request?: Partial<CodeMashHub2.GetPaymentsIntegration>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetPaymentsIntegrationResponse>;
1974
+ /**
1975
+ * GET /{version}/payments/integrations
1976
+ * Request DTO: GetPaymentsIntegrations
1977
+ */
1978
+ getPaymentsIntegrations: (request?: Partial<CodeMashHub2.GetPaymentsIntegrations>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetPaymentsIntegrationsResponse>;
1979
+ /**
1980
+ * POST /{version}/payments/integrations
1981
+ * Request DTO: SavePaymentsIntegration
1982
+ */
1983
+ savePaymentsIntegration: (request?: Partial<CodeMashHub2.SavePaymentsIntegration>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.IdResponse>;
1984
+ /**
1985
+ * POST /{version}/payments/integrations/test
1986
+ * Request DTO: TestPaymentsIntegration
1987
+ */
1988
+ testPaymentsIntegration: (request?: Partial<CodeMashHub2.TestPaymentsIntegration>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.TestPaymentsIntegrationResponse>;
1989
+ }
1990
+
1991
+ /**
1992
+ * Norbix regions — list the regions available to the account and update the
1993
+ * set of regions a project spans (one primary + any additional).
1994
+ *
1995
+ * These endpoints manage the *set* of regions. To make requests *against* a
1996
+ * given region, set `region` on the client
1997
+ * (`new Norbix({ region: 'nb-eu-germany' })` or `norbix.setRegion('...')`) or
1998
+ * per call (`{ region: 'nb-eu-germany' }`), which sends the `nb-region`
1999
+ * header.
2000
+ *
2001
+ * Group: account (project regions)
2002
+ */
2003
+ declare class RegionsModule {
2004
+ private readonly transport;
2005
+ constructor(transport: Transport);
2006
+ /**
2007
+ * GET /{version}/account/regions
2008
+ * Lists the Norbix regions available to the account (region code, continent,
2009
+ * display name). Request DTO: GetAccountRegions
2010
+ */
2011
+ list: (request?: Partial<CodeMashHub2.GetAccountRegions>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetAccountRegionsResponse>;
2012
+ /**
2013
+ * PATCH /{version}/account/projects/{projectId}/settings/regions
2014
+ * Updates the regions a project spans: `primaryRegion` (a region code, e.g.
2015
+ * "nb-eu-germany") and `additionalRegions`. Request DTO: UpdateProjectRegions
2016
+ */
2017
+ updateProjectRegions: (request?: Partial<CodeMashHub2.UpdateProjectRegions>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
2018
+ }
2019
+
2020
+ /**
2021
+ * Auto-generated. Do not edit by hand — run `npm run generate-endpoints`
2022
+ * to refresh this file from the DTO definitions.
2023
+ *
2024
+ * Group: resources
2025
+ * Endpoints: 1
2026
+ */
2027
+ declare class ResourcesModule {
2028
+ private readonly transport;
2029
+ constructor(transport: Transport);
2030
+ /**
2031
+ * POST /{version}/resources/resolve
2032
+ * Request DTO: ResolveResources
2033
+ */
2034
+ resolveResources: (request?: Partial<CodeMashHub2.ResolveResources>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.ResolveResourcesResponse>;
2035
+ }
2036
+
2037
+ /**
2038
+ * Auto-generated. Do not edit by hand — run `npm run generate-endpoints`
2039
+ * to refresh this file from the DTO definitions.
2040
+ *
2041
+ * Group: scheduler
2042
+ * Endpoints: 8
2043
+ */
2044
+ declare class SchedulerModule {
2045
+ private readonly transport;
2046
+ constructor(transport: Transport);
2047
+ /**
2048
+ * GET /{version}/scheduler/disable
2049
+ * Request DTO: DisableScheduler
2050
+ */
2051
+ disableScheduler: (request?: Partial<CodeMashHub2.DisableScheduler>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
2052
+ /**
2053
+ * GET /{version}/scheduler/enable
2054
+ * Request DTO: EnableScheduler
2055
+ */
2056
+ enableScheduler: (request?: Partial<CodeMashHub2.EnableScheduler>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
2057
+ /**
2058
+ * DELETE /{version}/scheduler/tasks/{Id}
2059
+ * Request DTO: DeleteSchedulerTask
2060
+ */
2061
+ deleteSchedulerTask: (request?: Partial<CodeMashHub2.DeleteSchedulerTask>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
2062
+ /**
2063
+ * PUT /{version}/scheduler/tasks/{Id}/disable
2064
+ * Request DTO: DisableSchedulerTask
2065
+ */
2066
+ disableSchedulerTask: (request?: Partial<CodeMashHub2.DisableSchedulerTask>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
2067
+ /**
2068
+ * PUT /{version}/scheduler/tasks/{Id}/enable
2069
+ * Request DTO: EnableSchedulerTask
2070
+ */
2071
+ enableSchedulerTask: (request?: Partial<CodeMashHub2.EnableSchedulerTask>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
2072
+ /**
2073
+ * GET /{version}/scheduler/tasks/{id}
2074
+ * Request DTO: GetSchedulerTask
2075
+ */
2076
+ getSchedulerTask: (request?: Partial<CodeMashHub2.GetSchedulerTask>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetSchedulerTaskResponse>;
2077
+ /**
2078
+ * GET /{version}/scheduler/tasks
2079
+ * Request DTO: GetSchedulerTasks
2080
+ */
2081
+ getSchedulerTasks: (request?: Partial<CodeMashHub2.GetSchedulerTasks>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetSchedulerTasksResponse>;
2082
+ /**
2083
+ * POST /{version}/scheduler/tasks
2084
+ * Request DTO: SaveSchedulerTaskRequest
2085
+ */
2086
+ saveSchedulerTask: (request?: Partial<CodeMashHub2.SaveSchedulerTaskRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.IdResponse>;
2087
+ }
2088
+
2089
+ /**
2090
+ * Auto-generated. Do not edit by hand — run `npm run generate-endpoints`
2091
+ * to refresh this file from the DTO definitions.
2092
+ *
2093
+ * Group: webhooks
2094
+ * Endpoints: 9
2095
+ */
2096
+ declare class WebhooksModule {
2097
+ private readonly transport;
2098
+ constructor(transport: Transport);
2099
+ /**
2100
+ * GET /{version}/webhooks/integration
2101
+ * Request DTO: GetWebhookIntegration
2102
+ */
2103
+ getWebhookIntegration: (request?: Partial<CodeMashHub2.GetWebhookIntegration>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.GetWebhookIntegrationResponse>;
2104
+ /**
2105
+ * GET /{version}/webhooks/integration/secret
2106
+ * Request DTO: RevealWebhookIntegrationSecretRequest
2107
+ */
2108
+ revealWebhookIntegrationSecret: (request?: Partial<CodeMashHub2.RevealWebhookIntegrationSecretRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.RevealWebhookIntegrationSecretResponse>;
2109
+ /**
2110
+ * POST /{version}/webhooks/integration/secret/rotate
2111
+ * Request DTO: RotateWebhookIntegrationSecretRequest
2112
+ */
2113
+ rotateWebhookIntegrationSecret: (request?: Partial<CodeMashHub2.RotateWebhookIntegrationSecretRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.RotateWebhookIntegrationSecretResponse>;
2114
+ /**
2115
+ * PUT /{version}/webhooks/integration/extra-headers
2116
+ * Request DTO: UpdateWebhookIntegrationExtraHeadersRequest
2117
+ */
2118
+ updateWebhookIntegrationExtraHeaders: (request?: Partial<CodeMashHub2.UpdateWebhookIntegrationExtraHeadersRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
2119
+ /**
2120
+ * POST /{version}/webhooks/{source}/{integrationInstanceId}
2121
+ * Request DTO: ReceiveWebhook
2122
+ */
2123
+ receiveWebhook: (request?: Partial<CodeMashHub2.ReceiveWebhook>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.HttpResult>;
2124
+ /**
2125
+ * PUT /{version}/webhooks/destinations/{DestinationId}/disable
2126
+ * Request DTO: DisableWebhookDestinationRequest
2127
+ */
2128
+ disableWebhookDestination: (request?: Partial<CodeMashHub2.DisableWebhookDestinationRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
2129
+ /**
2130
+ * PUT /{version}/webhooks/destinations/{DestinationId}/enable
2131
+ * Request DTO: EnableWebhookDestinationRequest
2132
+ */
2133
+ enableWebhookDestination: (request?: Partial<CodeMashHub2.EnableWebhookDestinationRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
2134
+ /**
2135
+ * DELETE /{version}/webhooks/destinations/{DestinationId}
2136
+ * Request DTO: RemoveWebhookDestinationRequest
2137
+ */
2138
+ removeWebhookDestination: (request?: Partial<CodeMashHub2.RemoveWebhookDestinationRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.EmptyResponse>;
2139
+ /**
2140
+ * POST /{version}/webhooks/destinations
2141
+ * Request DTO: SaveWebhookDestinationRequest
2142
+ */
2143
+ saveWebhookDestination: (request?: Partial<CodeMashHub2.SaveWebhookDestinationRequest>, options?: RequestOverrideOptions) => Promise<CodeMashHub2.SaveWebhookDestinationResponse>;
2144
+ }
2145
+
2146
+ /**
2147
+ * Auto-generated namespace exposing every hub endpoint group.
2148
+ * Refreshed by `npm run generate-endpoints`.
2149
+ */
2150
+ declare class HubNamespace {
2151
+ readonly accessToken: AccessTokenModule;
2152
+ readonly account: AccountModule;
2153
+ readonly ai: AiModule;
2154
+ readonly apikeys: ApikeysModule;
2155
+ readonly auth: AuthModule;
2156
+ readonly code: CodeModule;
2157
+ readonly database: DatabaseModule;
2158
+ readonly echo: EchoModule;
2159
+ readonly email: EmailModule;
2160
+ readonly environments: EnvironmentsModule;
2161
+ readonly files: FilesModule;
2162
+ readonly internal: InternalModule;
2163
+ readonly logs: LogsModule;
2164
+ readonly membership: MembershipModule;
2165
+ readonly notifications: NotificationsModule;
2166
+ readonly payments: PaymentsModule;
2167
+ readonly regions: RegionsModule;
2168
+ readonly resources: ResourcesModule;
2169
+ readonly scheduler: SchedulerModule;
2170
+ readonly webhooks: WebhooksModule;
2171
+ constructor(transport: Transport);
2172
+ }
2173
+
2174
+ export { HubNamespace };