@openaisdk/billing-sdk 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,3248 @@
1
+ /**
2
+ * Billing API
3
+ * API мультитенантной платформы биллинга: оформление подписок, checkout, платежи. **Аутентификация:** session cookie (human, после login/signup) **или** machine-to-machine: `Authorization: Bearer <api_key>`. Tenant выводится из сессии / ключа; заголовок `x-tenant-id` не является источником прав. **Idempotency:** для POST-операций создания рекомендуется заголовок `Idempotency-Key` для защиты от дублирования при повторах.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Configuration } from './configuration';
13
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
+ import type { RequestArgs } from './base';
15
+ import { BaseAPI } from './base';
16
+ export interface AccessStateResponseDto {
17
+ /**
18
+ * Статус подписки: active (активна) | trialing (пробный период) | past_due (просрочка) | inactive (нет активной подписки)
19
+ */
20
+ 'status': string;
21
+ /**
22
+ * Код плана (plan). null если нет активной подписки.
23
+ */
24
+ 'planCode'?: object | null;
25
+ /**
26
+ * Коды включённых фич (boolean features)
27
+ */
28
+ 'features': Array<string>;
29
+ /**
30
+ * Лимиты по фичам. unlimited означает без ограничений.
31
+ */
32
+ 'limits': object;
33
+ /**
34
+ * Конец текущего биллинг-периода (ISO 8601)
35
+ */
36
+ 'currentPeriodEnd'?: object | null;
37
+ /**
38
+ * Дата окончания grace period при просрочке платежа. null если grace не действует.
39
+ */
40
+ 'graceUntil'?: object | null;
41
+ }
42
+ export interface AddonItemDto {
43
+ 'id': string;
44
+ 'code': string;
45
+ 'name': string;
46
+ 'description'?: string;
47
+ 'priceId': string;
48
+ 'billingType': string;
49
+ 'compatiblePlanIds': Array<string>;
50
+ }
51
+ export interface AddonListResponseDto {
52
+ 'items': Array<AddonItemDto>;
53
+ 'total': number;
54
+ }
55
+ export interface ChangePlanDto {
56
+ /**
57
+ * ID новой цены (price)
58
+ */
59
+ 'priceId': string;
60
+ /**
61
+ * Когда применить смену плана: immediate — сразу (upgrade), period_end — в конце периода (downgrade)
62
+ */
63
+ 'effectiveAt': ChangePlanDtoEffectiveAtEnum;
64
+ /**
65
+ * URL успешной оплаты. Обязателен при effectiveAt=immediate (upgrade)
66
+ */
67
+ 'successUrl'?: string;
68
+ /**
69
+ * URL отмены оплаты. Обязателен при effectiveAt=immediate (upgrade)
70
+ */
71
+ 'cancelUrl'?: string;
72
+ }
73
+ export declare const ChangePlanDtoEffectiveAtEnum: {
74
+ readonly Immediate: "immediate";
75
+ readonly PeriodEnd: "period_end";
76
+ };
77
+ export type ChangePlanDtoEffectiveAtEnum = typeof ChangePlanDtoEffectiveAtEnum[keyof typeof ChangePlanDtoEffectiveAtEnum];
78
+ export interface ChangePlanResponseDto {
79
+ /**
80
+ * ID подписки
81
+ */
82
+ 'subscriptionId': string;
83
+ /**
84
+ * ID плана (текущий или запланированный)
85
+ */
86
+ 'planId': string;
87
+ /**
88
+ * ID цены (текущая или запланированная)
89
+ */
90
+ 'priceId': string;
91
+ /**
92
+ * Когда смена применится
93
+ */
94
+ 'effectiveAt': ChangePlanResponseDtoEffectiveAtEnum;
95
+ /**
96
+ * Конец текущего периода
97
+ */
98
+ 'currentPeriodEnd': object | null;
99
+ /**
100
+ * Когда запланирована смена (при downgrade)
101
+ */
102
+ 'scheduledChangeAt': object | null;
103
+ /**
104
+ * URL страницы оплаты. Только при upgrade (effectiveAt=immediate)
105
+ */
106
+ 'confirmationUrl'?: object | null;
107
+ }
108
+ export declare const ChangePlanResponseDtoEffectiveAtEnum: {
109
+ readonly Immediate: "immediate";
110
+ readonly PeriodEnd: "period_end";
111
+ };
112
+ export type ChangePlanResponseDtoEffectiveAtEnum = typeof ChangePlanResponseDtoEffectiveAtEnum[keyof typeof ChangePlanResponseDtoEffectiveAtEnum];
113
+ export interface CreateAddonDto {
114
+ /**
115
+ * Код add-on (уникален в project)
116
+ */
117
+ 'code': string;
118
+ /**
119
+ * Название
120
+ */
121
+ 'name': string;
122
+ /**
123
+ * Описание
124
+ */
125
+ 'description'?: string;
126
+ /**
127
+ * ID цены (price)
128
+ */
129
+ 'priceId': string;
130
+ /**
131
+ * Тип биллинга
132
+ */
133
+ 'billingType': CreateAddonDtoBillingTypeEnum;
134
+ /**
135
+ * Совместимые plan IDs (пусто = все планы)
136
+ */
137
+ 'compatiblePlanIds'?: Array<string>;
138
+ }
139
+ export declare const CreateAddonDtoBillingTypeEnum: {
140
+ readonly OneTime: "one_time";
141
+ readonly Recurring: "recurring";
142
+ };
143
+ export type CreateAddonDtoBillingTypeEnum = typeof CreateAddonDtoBillingTypeEnum[keyof typeof CreateAddonDtoBillingTypeEnum];
144
+ export interface CreateCheckoutSessionDto {
145
+ /**
146
+ * ID проекта (catalog)
147
+ */
148
+ 'projectId': string;
149
+ /**
150
+ * ID customer account — плательщика подписки
151
+ */
152
+ 'customerAccountId': string;
153
+ /**
154
+ * ID цены (price) — определяет план и период
155
+ */
156
+ 'priceId': string;
157
+ /**
158
+ * URL успешной оплаты. Должен быть в разрешённом списке (ALLOWED_REDIRECT_DOMAINS)
159
+ */
160
+ 'successUrl': string;
161
+ /**
162
+ * URL отмены/возврата при отказе от оплаты
163
+ */
164
+ 'cancelUrl': string;
165
+ /**
166
+ * Промокод (опционально). Скидка применяется к invoice.
167
+ */
168
+ 'promoCode'?: string;
169
+ /**
170
+ * ID add-ons для добавления к подписке (опционально). Совместимость с планом проверяется.
171
+ */
172
+ 'addonIds'?: Array<string>;
173
+ }
174
+ export interface CreateCheckoutSessionResponseDto {
175
+ /**
176
+ * ID созданной подписки (subscription)
177
+ */
178
+ 'subscriptionId': string;
179
+ /**
180
+ * ID счёта (invoice)
181
+ */
182
+ 'invoiceId': string;
183
+ /**
184
+ * ID платежа (payment)
185
+ */
186
+ 'paymentId': string;
187
+ /**
188
+ * URL страницы оплаты у платёжного провайдера — редирект пользователя
189
+ */
190
+ 'confirmationUrl': string;
191
+ /**
192
+ * ID платежа у провайдера (для симуляции webhook в dev: POST .../webhooks/providers/yookassa с body.object.id = providerPaymentId)
193
+ */
194
+ 'providerPaymentId'?: string;
195
+ }
196
+ export interface CreateCustomerAccountDto {
197
+ /**
198
+ * Тип внешней сущности в вашем SaaS (workspace, tenant, company, org)
199
+ */
200
+ 'externalOwnerType': CreateCustomerAccountDtoExternalOwnerTypeEnum;
201
+ /**
202
+ * ID владельца в вашей системе (например, ID воркспейса)
203
+ */
204
+ 'externalOwnerId': string;
205
+ /**
206
+ * Email владельца (опционально)
207
+ */
208
+ 'email'?: string;
209
+ /**
210
+ * ФИО владельца (опционально)
211
+ */
212
+ 'fullName'?: string;
213
+ /**
214
+ * Название компании (опционально)
215
+ */
216
+ 'companyName'?: string;
217
+ }
218
+ export declare const CreateCustomerAccountDtoExternalOwnerTypeEnum: {
219
+ readonly Workspace: "workspace";
220
+ readonly Tenant: "tenant";
221
+ readonly Company: "company";
222
+ readonly Org: "org";
223
+ };
224
+ export type CreateCustomerAccountDtoExternalOwnerTypeEnum = typeof CreateCustomerAccountDtoExternalOwnerTypeEnum[keyof typeof CreateCustomerAccountDtoExternalOwnerTypeEnum];
225
+ export interface CreateCustomerAccountResponseDto {
226
+ 'customerAccountId': string;
227
+ 'status': string;
228
+ }
229
+ export interface CreateFeatureDto {
230
+ /**
231
+ * Уникальный код фичи в проекте
232
+ */
233
+ 'code': string;
234
+ /**
235
+ * Название фичи
236
+ */
237
+ 'name': string;
238
+ /**
239
+ * Тип: boolean — вкл/выкл, limit — числовой лимит
240
+ */
241
+ 'kind': CreateFeatureDtoKindEnum;
242
+ }
243
+ export declare const CreateFeatureDtoKindEnum: {
244
+ readonly Boolean: "boolean";
245
+ readonly Limit: "limit";
246
+ };
247
+ export type CreateFeatureDtoKindEnum = typeof CreateFeatureDtoKindEnum[keyof typeof CreateFeatureDtoKindEnum];
248
+ export interface CreateIntegrationKeyDto {
249
+ 'name': string;
250
+ }
251
+ export interface CreateIntegrationKeyResponseDto {
252
+ 'id': string;
253
+ 'name': string;
254
+ 'keyPrefix': string;
255
+ 'createdAt': string;
256
+ 'revokedAt': object | null;
257
+ 'lastUsedAt': object | null;
258
+ /**
259
+ * Секрет ключа, показывается только один раз при создании
260
+ */
261
+ 'key': string;
262
+ }
263
+ export interface CreatePlanDto {
264
+ /**
265
+ * Уникальный код плана в проекте
266
+ */
267
+ 'code': string;
268
+ /**
269
+ * Название плана
270
+ */
271
+ 'name': string;
272
+ /**
273
+ * Описание плана
274
+ */
275
+ 'description'?: string;
276
+ /**
277
+ * Публичный план (доступен для покупки)
278
+ */
279
+ 'isPublic'?: boolean;
280
+ /**
281
+ * Активен
282
+ */
283
+ 'isActive'?: boolean;
284
+ /**
285
+ * Порядок сортировки
286
+ */
287
+ 'sortOrder'?: number;
288
+ }
289
+ export interface CreatePlanFeatureDto {
290
+ /**
291
+ * ID фичи
292
+ */
293
+ 'featureId': string;
294
+ /**
295
+ * Включена ли фича в плане
296
+ */
297
+ 'enabled'?: boolean;
298
+ /**
299
+ * Лимит (для kind=limit). Для boolean не используется
300
+ */
301
+ 'limitValue'?: object;
302
+ }
303
+ export interface CreatePriceDto {
304
+ /**
305
+ * ID плана
306
+ */
307
+ 'planId': string;
308
+ /**
309
+ * Уникальный код цены в проекте
310
+ */
311
+ 'code': string;
312
+ /**
313
+ * Сумма в минорных единицах (копейки для RUB)
314
+ */
315
+ 'amountMinor': number;
316
+ 'currency': CreatePriceDtoCurrencyEnum;
317
+ /**
318
+ * Интервал биллинга
319
+ */
320
+ 'interval': CreatePriceDtoIntervalEnum;
321
+ /**
322
+ * Количество интервалов
323
+ */
324
+ 'intervalCount'?: number;
325
+ /**
326
+ * Дней триала
327
+ */
328
+ 'trialDays'?: number;
329
+ /**
330
+ * Активна
331
+ */
332
+ 'isActive'?: boolean;
333
+ }
334
+ export declare const CreatePriceDtoCurrencyEnum: {
335
+ readonly Rub: "RUB";
336
+ };
337
+ export type CreatePriceDtoCurrencyEnum = typeof CreatePriceDtoCurrencyEnum[keyof typeof CreatePriceDtoCurrencyEnum];
338
+ export declare const CreatePriceDtoIntervalEnum: {
339
+ readonly Month: "month";
340
+ readonly Year: "year";
341
+ };
342
+ export type CreatePriceDtoIntervalEnum = typeof CreatePriceDtoIntervalEnum[keyof typeof CreatePriceDtoIntervalEnum];
343
+ export interface CreateProjectDto {
344
+ /**
345
+ * Код проекта
346
+ */
347
+ 'code': string;
348
+ /**
349
+ * Название
350
+ */
351
+ 'name': string;
352
+ 'status': CreateProjectDtoStatusEnum;
353
+ }
354
+ export declare const CreateProjectDtoStatusEnum: {
355
+ readonly Active: "active";
356
+ readonly Archived: "archived";
357
+ readonly Disabled: "disabled";
358
+ };
359
+ export type CreateProjectDtoStatusEnum = typeof CreateProjectDtoStatusEnum[keyof typeof CreateProjectDtoStatusEnum];
360
+ export interface CreateProjectResponseDto {
361
+ 'id': string;
362
+ 'code': string;
363
+ 'name': string;
364
+ }
365
+ export interface CreatePromoCodeDto {
366
+ /**
367
+ * Код промокода (уникален в project)
368
+ */
369
+ 'code': string;
370
+ /**
371
+ * Тип скидки
372
+ */
373
+ 'discountType': CreatePromoCodeDtoDiscountTypeEnum;
374
+ /**
375
+ * Значение скидки: для percent 1–100, для fixed_amount не используется
376
+ */
377
+ 'discountValue'?: number;
378
+ /**
379
+ * Сумма скидки в минорных единицах (для fixed_amount)
380
+ */
381
+ 'discountValueMinor'?: number;
382
+ /**
383
+ * Валюта (для fixed_amount), по умолчанию RUB
384
+ */
385
+ 'currency'?: string;
386
+ /**
387
+ * Дата начала действия (ISO 8601)
388
+ */
389
+ 'validFrom'?: string;
390
+ /**
391
+ * Дата окончания действия (ISO 8601)
392
+ */
393
+ 'validUntil'?: string;
394
+ /**
395
+ * Максимальное количество использований
396
+ */
397
+ 'maxRedemptions'?: number;
398
+ }
399
+ export declare const CreatePromoCodeDtoDiscountTypeEnum: {
400
+ readonly Percent: "percent";
401
+ readonly FixedAmount: "fixed_amount";
402
+ };
403
+ export type CreatePromoCodeDtoDiscountTypeEnum = typeof CreatePromoCodeDtoDiscountTypeEnum[keyof typeof CreatePromoCodeDtoDiscountTypeEnum];
404
+ export interface CreateProviderAccountDto {
405
+ /**
406
+ * Платёжный провайдер (yookassa, tbank, cloudpayments)
407
+ */
408
+ 'provider': CreateProviderAccountDtoProviderEnum;
409
+ /**
410
+ * Режим: test (тестовый) или live (боевой)
411
+ */
412
+ 'mode': CreateProviderAccountDtoModeEnum;
413
+ /**
414
+ * Учётные данные провайдера. Например для YooKassa: { shopId, secretKey }. Шифруются в БД.
415
+ */
416
+ 'credentials': object;
417
+ /**
418
+ * Статус аккаунта. По умолчанию active.
419
+ */
420
+ 'status'?: CreateProviderAccountDtoStatusEnum;
421
+ }
422
+ export declare const CreateProviderAccountDtoProviderEnum: {
423
+ readonly Yookassa: "yookassa";
424
+ readonly Tbank: "tbank";
425
+ readonly Cloudpayments: "cloudpayments";
426
+ };
427
+ export type CreateProviderAccountDtoProviderEnum = typeof CreateProviderAccountDtoProviderEnum[keyof typeof CreateProviderAccountDtoProviderEnum];
428
+ export declare const CreateProviderAccountDtoModeEnum: {
429
+ readonly Test: "test";
430
+ readonly Live: "live";
431
+ };
432
+ export type CreateProviderAccountDtoModeEnum = typeof CreateProviderAccountDtoModeEnum[keyof typeof CreateProviderAccountDtoModeEnum];
433
+ export declare const CreateProviderAccountDtoStatusEnum: {
434
+ readonly Active: "active";
435
+ readonly Disabled: "disabled";
436
+ };
437
+ export type CreateProviderAccountDtoStatusEnum = typeof CreateProviderAccountDtoStatusEnum[keyof typeof CreateProviderAccountDtoStatusEnum];
438
+ export interface CreateProviderAccountResponseDto {
439
+ 'id': string;
440
+ }
441
+ export interface CreateTenantDto {
442
+ /**
443
+ * Уникальный slug
444
+ */
445
+ 'slug': string;
446
+ /**
447
+ * Название тенанта
448
+ */
449
+ 'name': string;
450
+ 'status': CreateTenantDtoStatusEnum;
451
+ }
452
+ export declare const CreateTenantDtoStatusEnum: {
453
+ readonly Active: "active";
454
+ readonly Suspended: "suspended";
455
+ readonly Disabled: "disabled";
456
+ };
457
+ export type CreateTenantDtoStatusEnum = typeof CreateTenantDtoStatusEnum[keyof typeof CreateTenantDtoStatusEnum];
458
+ export interface CustomerAccountListResponseDto {
459
+ 'items': Array<CustomerAccountResponseDto>;
460
+ 'total': number;
461
+ }
462
+ export interface CustomerAccountResponseDto {
463
+ /**
464
+ * ID customer account
465
+ */
466
+ 'id': string;
467
+ /**
468
+ * ID проекта (catalog)
469
+ */
470
+ 'projectId': string;
471
+ /**
472
+ * Тип внешней сущности (workspace, tenant, company, org)
473
+ */
474
+ 'externalOwnerType': string;
475
+ /**
476
+ * ID владельца в вашей системе
477
+ */
478
+ 'externalOwnerId': string;
479
+ /**
480
+ * Статус: active | inactive
481
+ */
482
+ 'status': string;
483
+ }
484
+ export interface FeatureListResponseDto {
485
+ 'items': Array<FeatureResponseDto>;
486
+ }
487
+ export interface FeatureResponseDto {
488
+ 'id': string;
489
+ 'code': string;
490
+ 'name': string;
491
+ 'kind': FeatureResponseDtoKindEnum;
492
+ }
493
+ export declare const FeatureResponseDtoKindEnum: {
494
+ readonly Boolean: "boolean";
495
+ readonly Limit: "limit";
496
+ };
497
+ export type FeatureResponseDtoKindEnum = typeof FeatureResponseDtoKindEnum[keyof typeof FeatureResponseDtoKindEnum];
498
+ export interface IntegrationKeyItemDto {
499
+ 'id': string;
500
+ 'name': string;
501
+ 'keyPrefix': string;
502
+ 'createdAt': string;
503
+ 'revokedAt': object | null;
504
+ 'lastUsedAt': object | null;
505
+ }
506
+ export interface InvoiceItemDto {
507
+ 'id': string;
508
+ 'customerAccountId': string;
509
+ 'subscriptionId': string;
510
+ 'status': string;
511
+ 'totalMinor': number;
512
+ 'paidMinor': number;
513
+ 'currency': string;
514
+ 'periodStart': string;
515
+ 'periodEnd': string;
516
+ }
517
+ export interface InvoiceListResponseDto {
518
+ 'items': Array<InvoiceItemDto>;
519
+ 'total': number;
520
+ }
521
+ export interface LoginDto {
522
+ 'email': string;
523
+ 'password': string;
524
+ }
525
+ export interface PaymentItemDto {
526
+ 'id': string;
527
+ 'invoiceId': string;
528
+ 'customerAccountId': string;
529
+ 'status': string;
530
+ 'amountMinor': number;
531
+ 'currency': string;
532
+ 'provider': string;
533
+ 'providerPaymentId'?: object | null;
534
+ 'paidAt'?: object | null;
535
+ 'failureReason'?: object | null;
536
+ }
537
+ export interface PaymentListResponseDto {
538
+ 'items': Array<PaymentItemDto>;
539
+ 'total': number;
540
+ }
541
+ export interface PlanFeatureListResponseDto {
542
+ 'items': Array<PlanFeatureResponseDto>;
543
+ }
544
+ export interface PlanFeatureResponseDto {
545
+ 'id': string;
546
+ 'planId': string;
547
+ 'featureId': string;
548
+ 'enabled': boolean;
549
+ 'limitValue'?: object | null;
550
+ }
551
+ export interface PlanListResponseDto {
552
+ 'items': Array<PlanResponseDto>;
553
+ }
554
+ export interface PlanResponseDto {
555
+ 'id': string;
556
+ 'code': string;
557
+ 'name': string;
558
+ 'description'?: string;
559
+ 'isPublic': boolean;
560
+ 'isActive': boolean;
561
+ 'sortOrder': number;
562
+ }
563
+ export interface PriceListResponseDto {
564
+ 'items': Array<PriceResponseDto>;
565
+ }
566
+ export interface PriceResponseDto {
567
+ 'id': string;
568
+ 'planId': string;
569
+ 'code': string;
570
+ 'amountMinor': number;
571
+ 'currency': string;
572
+ 'interval': string;
573
+ 'intervalCount': number;
574
+ 'trialDays'?: number;
575
+ 'isActive': boolean;
576
+ }
577
+ export interface ProjectListResponseDto {
578
+ 'items': Array<ProjectResponseDto>;
579
+ }
580
+ export interface ProjectResponseDto {
581
+ 'id': string;
582
+ 'code': string;
583
+ 'name': string;
584
+ 'status': string;
585
+ 'defaultCurrency': string;
586
+ }
587
+ export interface PromoCodeItemDto {
588
+ 'id': string;
589
+ 'code': string;
590
+ 'discountType': string;
591
+ 'discountValue'?: number;
592
+ 'discountValueMinor'?: object | null;
593
+ 'currency'?: string;
594
+ 'validFrom'?: string;
595
+ 'validUntil'?: object | null;
596
+ 'maxRedemptions'?: number;
597
+ 'redemptionsCount': number;
598
+ }
599
+ export interface PromoCodeListResponseDto {
600
+ 'items': Array<PromoCodeItemDto>;
601
+ 'total': number;
602
+ }
603
+ export interface ProviderAccountListResponseDto {
604
+ 'items': Array<ProviderAccountResponseDto>;
605
+ 'total': number;
606
+ }
607
+ export interface ProviderAccountResponseDto {
608
+ 'id': string;
609
+ 'provider': string;
610
+ 'mode': ProviderAccountResponseDtoModeEnum;
611
+ 'status': ProviderAccountResponseDtoStatusEnum;
612
+ }
613
+ export declare const ProviderAccountResponseDtoModeEnum: {
614
+ readonly Test: "test";
615
+ readonly Live: "live";
616
+ };
617
+ export type ProviderAccountResponseDtoModeEnum = typeof ProviderAccountResponseDtoModeEnum[keyof typeof ProviderAccountResponseDtoModeEnum];
618
+ export declare const ProviderAccountResponseDtoStatusEnum: {
619
+ readonly Active: "active";
620
+ readonly Disabled: "disabled";
621
+ };
622
+ export type ProviderAccountResponseDtoStatusEnum = typeof ProviderAccountResponseDtoStatusEnum[keyof typeof ProviderAccountResponseDtoStatusEnum];
623
+ export interface ScheduleCancelResponseDto {
624
+ 'subscriptionId': string;
625
+ 'cancelAtPeriodEnd': boolean;
626
+ }
627
+ export interface SignupDto {
628
+ 'email': string;
629
+ 'password': string;
630
+ 'name': string;
631
+ }
632
+ export interface SubscriptionItemDto {
633
+ 'id': string;
634
+ 'customerAccountId': string;
635
+ 'planId': string;
636
+ 'priceId': string;
637
+ 'status': string;
638
+ 'currentPeriodStart': string;
639
+ 'currentPeriodEnd': string;
640
+ 'graceUntil'?: object | null;
641
+ 'cancelAtPeriodEnd': boolean;
642
+ }
643
+ export interface SubscriptionListResponseDto {
644
+ 'items': Array<SubscriptionItemDto>;
645
+ 'total': number;
646
+ }
647
+ export interface UpdateFeatureDto {
648
+ /**
649
+ * Название фичи
650
+ */
651
+ 'name'?: string;
652
+ 'kind'?: UpdateFeatureDtoKindEnum;
653
+ }
654
+ export declare const UpdateFeatureDtoKindEnum: {
655
+ readonly Boolean: "boolean";
656
+ readonly Limit: "limit";
657
+ };
658
+ export type UpdateFeatureDtoKindEnum = typeof UpdateFeatureDtoKindEnum[keyof typeof UpdateFeatureDtoKindEnum];
659
+ export interface UpdateIntegrationKeyDto {
660
+ 'name': string;
661
+ }
662
+ export interface UpdatePlanDto {
663
+ /**
664
+ * Название плана
665
+ */
666
+ 'name'?: string;
667
+ /**
668
+ * Описание плана
669
+ */
670
+ 'description'?: string;
671
+ /**
672
+ * Публичный план (доступен для покупки)
673
+ */
674
+ 'isPublic'?: boolean;
675
+ /**
676
+ * Активен
677
+ */
678
+ 'isActive'?: boolean;
679
+ /**
680
+ * Порядок сортировки
681
+ */
682
+ 'sortOrder'?: number;
683
+ }
684
+ export interface UpdatePlanFeatureDto {
685
+ /**
686
+ * Включена ли фича в плане
687
+ */
688
+ 'enabled'?: boolean;
689
+ /**
690
+ * Лимит (для kind=limit). null — снять лимит
691
+ */
692
+ 'limitValue'?: object;
693
+ }
694
+ export interface UpdatePriceDto {
695
+ /**
696
+ * Код цены
697
+ */
698
+ 'code'?: string;
699
+ /**
700
+ * Сумма в минорных единицах (копейках)
701
+ */
702
+ 'amountMinor'?: number;
703
+ /**
704
+ * Валюта
705
+ */
706
+ 'currency'?: string;
707
+ /**
708
+ * Интервал
709
+ */
710
+ 'interval'?: string;
711
+ /**
712
+ * Количество интервалов
713
+ */
714
+ 'intervalCount'?: number;
715
+ /**
716
+ * Дней trial
717
+ */
718
+ 'trialDays'?: number;
719
+ /**
720
+ * Активна
721
+ */
722
+ 'isActive'?: boolean;
723
+ }
724
+ export interface UpdateProjectDto {
725
+ 'name'?: string;
726
+ 'defaultCurrency'?: string;
727
+ }
728
+ export interface UpdateProviderAccountDto {
729
+ /**
730
+ * Режим провайдера
731
+ */
732
+ 'mode'?: UpdateProviderAccountDtoModeEnum;
733
+ /**
734
+ * Статус
735
+ */
736
+ 'status'?: UpdateProviderAccountDtoStatusEnum;
737
+ }
738
+ export declare const UpdateProviderAccountDtoModeEnum: {
739
+ readonly Test: "test";
740
+ readonly Live: "live";
741
+ };
742
+ export type UpdateProviderAccountDtoModeEnum = typeof UpdateProviderAccountDtoModeEnum[keyof typeof UpdateProviderAccountDtoModeEnum];
743
+ export declare const UpdateProviderAccountDtoStatusEnum: {
744
+ readonly Active: "active";
745
+ readonly Disabled: "disabled";
746
+ };
747
+ export type UpdateProviderAccountDtoStatusEnum = typeof UpdateProviderAccountDtoStatusEnum[keyof typeof UpdateProviderAccountDtoStatusEnum];
748
+ /**
749
+ * AccessApi - axios parameter creator
750
+ */
751
+ export declare const AccessApiAxiosParamCreator: (configuration?: Configuration) => {
752
+ /**
753
+ * Возвращает материализованное состояние доступа для customer account: статус подписки, включённые фичи, лимиты. Используйте для проверки feature flags и usage limits в продукте.
754
+ * @summary Получить состояние доступа
755
+ * @param {string} xTenantId ID тенанта
756
+ * @param {string} projectId
757
+ * @param {string} id
758
+ * @param {*} [options] Override http request option.
759
+ * @throws {RequiredError}
760
+ */
761
+ accessControllerGetAccess: (xTenantId: string, projectId: string, id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
762
+ };
763
+ /**
764
+ * AccessApi - functional programming interface
765
+ */
766
+ export declare const AccessApiFp: (configuration?: Configuration) => {
767
+ /**
768
+ * Возвращает материализованное состояние доступа для customer account: статус подписки, включённые фичи, лимиты. Используйте для проверки feature flags и usage limits в продукте.
769
+ * @summary Получить состояние доступа
770
+ * @param {string} xTenantId ID тенанта
771
+ * @param {string} projectId
772
+ * @param {string} id
773
+ * @param {*} [options] Override http request option.
774
+ * @throws {RequiredError}
775
+ */
776
+ accessControllerGetAccess(xTenantId: string, projectId: string, id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccessStateResponseDto>>;
777
+ };
778
+ /**
779
+ * AccessApi - factory interface
780
+ */
781
+ export declare const AccessApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
782
+ /**
783
+ * Возвращает материализованное состояние доступа для customer account: статус подписки, включённые фичи, лимиты. Используйте для проверки feature flags и usage limits в продукте.
784
+ * @summary Получить состояние доступа
785
+ * @param {string} xTenantId ID тенанта
786
+ * @param {string} projectId
787
+ * @param {string} id
788
+ * @param {*} [options] Override http request option.
789
+ * @throws {RequiredError}
790
+ */
791
+ accessControllerGetAccess(xTenantId: string, projectId: string, id: string, options?: RawAxiosRequestConfig): AxiosPromise<AccessStateResponseDto>;
792
+ };
793
+ /**
794
+ * AccessApi - object-oriented interface
795
+ */
796
+ export declare class AccessApi extends BaseAPI {
797
+ /**
798
+ * Возвращает материализованное состояние доступа для customer account: статус подписки, включённые фичи, лимиты. Используйте для проверки feature flags и usage limits в продукте.
799
+ * @summary Получить состояние доступа
800
+ * @param {string} xTenantId ID тенанта
801
+ * @param {string} projectId
802
+ * @param {string} id
803
+ * @param {*} [options] Override http request option.
804
+ * @throws {RequiredError}
805
+ */
806
+ accessControllerGetAccess(xTenantId: string, projectId: string, id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AccessStateResponseDto, any, {}>>;
807
+ }
808
+ /**
809
+ * AdminApi - axios parameter creator
810
+ */
811
+ export declare const AdminApiAxiosParamCreator: (configuration?: Configuration) => {
812
+ /**
813
+ *
814
+ * @summary Создать add-on
815
+ * @param {string} xTenantId ID тенанта (или API key)
816
+ * @param {string} projectId
817
+ * @param {CreateAddonDto} createAddonDto
818
+ * @param {*} [options] Override http request option.
819
+ * @throws {RequiredError}
820
+ */
821
+ adminControllerCreateAddon: (xTenantId: string, projectId: string, createAddonDto: CreateAddonDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
822
+ /**
823
+ *
824
+ * @summary Создать промокод
825
+ * @param {string} xTenantId ID тенанта (или API key)
826
+ * @param {string} projectId
827
+ * @param {CreatePromoCodeDto} createPromoCodeDto
828
+ * @param {*} [options] Override http request option.
829
+ * @throws {RequiredError}
830
+ */
831
+ adminControllerCreatePromoCode: (xTenantId: string, projectId: string, createPromoCodeDto: CreatePromoCodeDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
832
+ /**
833
+ *
834
+ * @summary Получить add-on по ID
835
+ * @param {string} xTenantId ID тенанта (или API key)
836
+ * @param {string} projectId
837
+ * @param {string} id
838
+ * @param {*} [options] Override http request option.
839
+ * @throws {RequiredError}
840
+ */
841
+ adminControllerGetAddon: (xTenantId: string, projectId: string, id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
842
+ /**
843
+ *
844
+ * @summary Получить инвойс по ID
845
+ * @param {string} xTenantId ID тенанта (или API key)
846
+ * @param {string} id
847
+ * @param {*} [options] Override http request option.
848
+ * @throws {RequiredError}
849
+ */
850
+ adminControllerGetInvoice: (xTenantId: string, id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
851
+ /**
852
+ *
853
+ * @summary Получить платёж по ID
854
+ * @param {string} xTenantId ID тенанта (или API key)
855
+ * @param {string} id
856
+ * @param {*} [options] Override http request option.
857
+ * @throws {RequiredError}
858
+ */
859
+ adminControllerGetPayment: (xTenantId: string, id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
860
+ /**
861
+ *
862
+ * @summary Получить промокод по ID
863
+ * @param {string} xTenantId ID тенанта (или API key)
864
+ * @param {string} projectId
865
+ * @param {string} id
866
+ * @param {*} [options] Override http request option.
867
+ * @throws {RequiredError}
868
+ */
869
+ adminControllerGetPromoCode: (xTenantId: string, projectId: string, id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
870
+ /**
871
+ *
872
+ * @summary Получить подписку по ID
873
+ * @param {string} xTenantId ID тенанта (или API key)
874
+ * @param {string} id
875
+ * @param {*} [options] Override http request option.
876
+ * @throws {RequiredError}
877
+ */
878
+ adminControllerGetSubscription: (xTenantId: string, id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
879
+ /**
880
+ *
881
+ * @summary Список add-ons проекта
882
+ * @param {string} xTenantId ID тенанта (или API key)
883
+ * @param {string} projectId
884
+ * @param {*} [options] Override http request option.
885
+ * @throws {RequiredError}
886
+ */
887
+ adminControllerListAddons: (xTenantId: string, projectId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
888
+ /**
889
+ *
890
+ * @summary Список инвойсов проекта
891
+ * @param {string} xTenantId ID тенанта (или API key)
892
+ * @param {string} projectId
893
+ * @param {*} [options] Override http request option.
894
+ * @throws {RequiredError}
895
+ */
896
+ adminControllerListInvoices: (xTenantId: string, projectId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
897
+ /**
898
+ *
899
+ * @summary Список платежей проекта
900
+ * @param {string} xTenantId ID тенанта (или API key)
901
+ * @param {string} projectId
902
+ * @param {*} [options] Override http request option.
903
+ * @throws {RequiredError}
904
+ */
905
+ adminControllerListPayments: (xTenantId: string, projectId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
906
+ /**
907
+ *
908
+ * @summary Список промокодов проекта
909
+ * @param {string} xTenantId ID тенанта (или API key)
910
+ * @param {string} projectId
911
+ * @param {*} [options] Override http request option.
912
+ * @throws {RequiredError}
913
+ */
914
+ adminControllerListPromoCodes: (xTenantId: string, projectId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
915
+ /**
916
+ * Возвращает подписки с пагинацией
917
+ * @summary Список подписок проекта
918
+ * @param {string} xTenantId ID тенанта (или API key)
919
+ * @param {string} projectId
920
+ * @param {*} [options] Override http request option.
921
+ * @throws {RequiredError}
922
+ */
923
+ adminControllerListSubscriptions: (xTenantId: string, projectId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
924
+ /**
925
+ * Устанавливает cancelAtPeriodEnd=true. До currentPeriodEnd entitlement остаётся активным. Renewals job не создаст renewal.
926
+ * @summary Запланировать отмену в конце периода
927
+ * @param {string} xTenantId ID тенанта (или API key)
928
+ * @param {string} id
929
+ * @param {*} [options] Override http request option.
930
+ * @throws {RequiredError}
931
+ */
932
+ adminControllerScheduleCancelAtPeriodEnd: (xTenantId: string, id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
933
+ };
934
+ /**
935
+ * AdminApi - functional programming interface
936
+ */
937
+ export declare const AdminApiFp: (configuration?: Configuration) => {
938
+ /**
939
+ *
940
+ * @summary Создать add-on
941
+ * @param {string} xTenantId ID тенанта (или API key)
942
+ * @param {string} projectId
943
+ * @param {CreateAddonDto} createAddonDto
944
+ * @param {*} [options] Override http request option.
945
+ * @throws {RequiredError}
946
+ */
947
+ adminControllerCreateAddon(xTenantId: string, projectId: string, createAddonDto: CreateAddonDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
948
+ /**
949
+ *
950
+ * @summary Создать промокод
951
+ * @param {string} xTenantId ID тенанта (или API key)
952
+ * @param {string} projectId
953
+ * @param {CreatePromoCodeDto} createPromoCodeDto
954
+ * @param {*} [options] Override http request option.
955
+ * @throws {RequiredError}
956
+ */
957
+ adminControllerCreatePromoCode(xTenantId: string, projectId: string, createPromoCodeDto: CreatePromoCodeDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
958
+ /**
959
+ *
960
+ * @summary Получить add-on по ID
961
+ * @param {string} xTenantId ID тенанта (или API key)
962
+ * @param {string} projectId
963
+ * @param {string} id
964
+ * @param {*} [options] Override http request option.
965
+ * @throws {RequiredError}
966
+ */
967
+ adminControllerGetAddon(xTenantId: string, projectId: string, id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddonItemDto>>;
968
+ /**
969
+ *
970
+ * @summary Получить инвойс по ID
971
+ * @param {string} xTenantId ID тенанта (или API key)
972
+ * @param {string} id
973
+ * @param {*} [options] Override http request option.
974
+ * @throws {RequiredError}
975
+ */
976
+ adminControllerGetInvoice(xTenantId: string, id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InvoiceItemDto>>;
977
+ /**
978
+ *
979
+ * @summary Получить платёж по ID
980
+ * @param {string} xTenantId ID тенанта (или API key)
981
+ * @param {string} id
982
+ * @param {*} [options] Override http request option.
983
+ * @throws {RequiredError}
984
+ */
985
+ adminControllerGetPayment(xTenantId: string, id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentItemDto>>;
986
+ /**
987
+ *
988
+ * @summary Получить промокод по ID
989
+ * @param {string} xTenantId ID тенанта (или API key)
990
+ * @param {string} projectId
991
+ * @param {string} id
992
+ * @param {*} [options] Override http request option.
993
+ * @throws {RequiredError}
994
+ */
995
+ adminControllerGetPromoCode(xTenantId: string, projectId: string, id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PromoCodeItemDto>>;
996
+ /**
997
+ *
998
+ * @summary Получить подписку по ID
999
+ * @param {string} xTenantId ID тенанта (или API key)
1000
+ * @param {string} id
1001
+ * @param {*} [options] Override http request option.
1002
+ * @throws {RequiredError}
1003
+ */
1004
+ adminControllerGetSubscription(xTenantId: string, id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SubscriptionItemDto>>;
1005
+ /**
1006
+ *
1007
+ * @summary Список add-ons проекта
1008
+ * @param {string} xTenantId ID тенанта (или API key)
1009
+ * @param {string} projectId
1010
+ * @param {*} [options] Override http request option.
1011
+ * @throws {RequiredError}
1012
+ */
1013
+ adminControllerListAddons(xTenantId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddonListResponseDto>>;
1014
+ /**
1015
+ *
1016
+ * @summary Список инвойсов проекта
1017
+ * @param {string} xTenantId ID тенанта (или API key)
1018
+ * @param {string} projectId
1019
+ * @param {*} [options] Override http request option.
1020
+ * @throws {RequiredError}
1021
+ */
1022
+ adminControllerListInvoices(xTenantId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InvoiceListResponseDto>>;
1023
+ /**
1024
+ *
1025
+ * @summary Список платежей проекта
1026
+ * @param {string} xTenantId ID тенанта (или API key)
1027
+ * @param {string} projectId
1028
+ * @param {*} [options] Override http request option.
1029
+ * @throws {RequiredError}
1030
+ */
1031
+ adminControllerListPayments(xTenantId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentListResponseDto>>;
1032
+ /**
1033
+ *
1034
+ * @summary Список промокодов проекта
1035
+ * @param {string} xTenantId ID тенанта (или API key)
1036
+ * @param {string} projectId
1037
+ * @param {*} [options] Override http request option.
1038
+ * @throws {RequiredError}
1039
+ */
1040
+ adminControllerListPromoCodes(xTenantId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PromoCodeListResponseDto>>;
1041
+ /**
1042
+ * Возвращает подписки с пагинацией
1043
+ * @summary Список подписок проекта
1044
+ * @param {string} xTenantId ID тенанта (или API key)
1045
+ * @param {string} projectId
1046
+ * @param {*} [options] Override http request option.
1047
+ * @throws {RequiredError}
1048
+ */
1049
+ adminControllerListSubscriptions(xTenantId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SubscriptionListResponseDto>>;
1050
+ /**
1051
+ * Устанавливает cancelAtPeriodEnd=true. До currentPeriodEnd entitlement остаётся активным. Renewals job не создаст renewal.
1052
+ * @summary Запланировать отмену в конце периода
1053
+ * @param {string} xTenantId ID тенанта (или API key)
1054
+ * @param {string} id
1055
+ * @param {*} [options] Override http request option.
1056
+ * @throws {RequiredError}
1057
+ */
1058
+ adminControllerScheduleCancelAtPeriodEnd(xTenantId: string, id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScheduleCancelResponseDto>>;
1059
+ };
1060
+ /**
1061
+ * AdminApi - factory interface
1062
+ */
1063
+ export declare const AdminApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1064
+ /**
1065
+ *
1066
+ * @summary Создать add-on
1067
+ * @param {string} xTenantId ID тенанта (или API key)
1068
+ * @param {string} projectId
1069
+ * @param {CreateAddonDto} createAddonDto
1070
+ * @param {*} [options] Override http request option.
1071
+ * @throws {RequiredError}
1072
+ */
1073
+ adminControllerCreateAddon(xTenantId: string, projectId: string, createAddonDto: CreateAddonDto, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1074
+ /**
1075
+ *
1076
+ * @summary Создать промокод
1077
+ * @param {string} xTenantId ID тенанта (или API key)
1078
+ * @param {string} projectId
1079
+ * @param {CreatePromoCodeDto} createPromoCodeDto
1080
+ * @param {*} [options] Override http request option.
1081
+ * @throws {RequiredError}
1082
+ */
1083
+ adminControllerCreatePromoCode(xTenantId: string, projectId: string, createPromoCodeDto: CreatePromoCodeDto, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1084
+ /**
1085
+ *
1086
+ * @summary Получить add-on по ID
1087
+ * @param {string} xTenantId ID тенанта (или API key)
1088
+ * @param {string} projectId
1089
+ * @param {string} id
1090
+ * @param {*} [options] Override http request option.
1091
+ * @throws {RequiredError}
1092
+ */
1093
+ adminControllerGetAddon(xTenantId: string, projectId: string, id: string, options?: RawAxiosRequestConfig): AxiosPromise<AddonItemDto>;
1094
+ /**
1095
+ *
1096
+ * @summary Получить инвойс по ID
1097
+ * @param {string} xTenantId ID тенанта (или API key)
1098
+ * @param {string} id
1099
+ * @param {*} [options] Override http request option.
1100
+ * @throws {RequiredError}
1101
+ */
1102
+ adminControllerGetInvoice(xTenantId: string, id: string, options?: RawAxiosRequestConfig): AxiosPromise<InvoiceItemDto>;
1103
+ /**
1104
+ *
1105
+ * @summary Получить платёж по ID
1106
+ * @param {string} xTenantId ID тенанта (или API key)
1107
+ * @param {string} id
1108
+ * @param {*} [options] Override http request option.
1109
+ * @throws {RequiredError}
1110
+ */
1111
+ adminControllerGetPayment(xTenantId: string, id: string, options?: RawAxiosRequestConfig): AxiosPromise<PaymentItemDto>;
1112
+ /**
1113
+ *
1114
+ * @summary Получить промокод по ID
1115
+ * @param {string} xTenantId ID тенанта (или API key)
1116
+ * @param {string} projectId
1117
+ * @param {string} id
1118
+ * @param {*} [options] Override http request option.
1119
+ * @throws {RequiredError}
1120
+ */
1121
+ adminControllerGetPromoCode(xTenantId: string, projectId: string, id: string, options?: RawAxiosRequestConfig): AxiosPromise<PromoCodeItemDto>;
1122
+ /**
1123
+ *
1124
+ * @summary Получить подписку по ID
1125
+ * @param {string} xTenantId ID тенанта (или API key)
1126
+ * @param {string} id
1127
+ * @param {*} [options] Override http request option.
1128
+ * @throws {RequiredError}
1129
+ */
1130
+ adminControllerGetSubscription(xTenantId: string, id: string, options?: RawAxiosRequestConfig): AxiosPromise<SubscriptionItemDto>;
1131
+ /**
1132
+ *
1133
+ * @summary Список add-ons проекта
1134
+ * @param {string} xTenantId ID тенанта (или API key)
1135
+ * @param {string} projectId
1136
+ * @param {*} [options] Override http request option.
1137
+ * @throws {RequiredError}
1138
+ */
1139
+ adminControllerListAddons(xTenantId: string, projectId: string, options?: RawAxiosRequestConfig): AxiosPromise<AddonListResponseDto>;
1140
+ /**
1141
+ *
1142
+ * @summary Список инвойсов проекта
1143
+ * @param {string} xTenantId ID тенанта (или API key)
1144
+ * @param {string} projectId
1145
+ * @param {*} [options] Override http request option.
1146
+ * @throws {RequiredError}
1147
+ */
1148
+ adminControllerListInvoices(xTenantId: string, projectId: string, options?: RawAxiosRequestConfig): AxiosPromise<InvoiceListResponseDto>;
1149
+ /**
1150
+ *
1151
+ * @summary Список платежей проекта
1152
+ * @param {string} xTenantId ID тенанта (или API key)
1153
+ * @param {string} projectId
1154
+ * @param {*} [options] Override http request option.
1155
+ * @throws {RequiredError}
1156
+ */
1157
+ adminControllerListPayments(xTenantId: string, projectId: string, options?: RawAxiosRequestConfig): AxiosPromise<PaymentListResponseDto>;
1158
+ /**
1159
+ *
1160
+ * @summary Список промокодов проекта
1161
+ * @param {string} xTenantId ID тенанта (или API key)
1162
+ * @param {string} projectId
1163
+ * @param {*} [options] Override http request option.
1164
+ * @throws {RequiredError}
1165
+ */
1166
+ adminControllerListPromoCodes(xTenantId: string, projectId: string, options?: RawAxiosRequestConfig): AxiosPromise<PromoCodeListResponseDto>;
1167
+ /**
1168
+ * Возвращает подписки с пагинацией
1169
+ * @summary Список подписок проекта
1170
+ * @param {string} xTenantId ID тенанта (или API key)
1171
+ * @param {string} projectId
1172
+ * @param {*} [options] Override http request option.
1173
+ * @throws {RequiredError}
1174
+ */
1175
+ adminControllerListSubscriptions(xTenantId: string, projectId: string, options?: RawAxiosRequestConfig): AxiosPromise<SubscriptionListResponseDto>;
1176
+ /**
1177
+ * Устанавливает cancelAtPeriodEnd=true. До currentPeriodEnd entitlement остаётся активным. Renewals job не создаст renewal.
1178
+ * @summary Запланировать отмену в конце периода
1179
+ * @param {string} xTenantId ID тенанта (или API key)
1180
+ * @param {string} id
1181
+ * @param {*} [options] Override http request option.
1182
+ * @throws {RequiredError}
1183
+ */
1184
+ adminControllerScheduleCancelAtPeriodEnd(xTenantId: string, id: string, options?: RawAxiosRequestConfig): AxiosPromise<ScheduleCancelResponseDto>;
1185
+ };
1186
+ /**
1187
+ * AdminApi - object-oriented interface
1188
+ */
1189
+ export declare class AdminApi extends BaseAPI {
1190
+ /**
1191
+ *
1192
+ * @summary Создать add-on
1193
+ * @param {string} xTenantId ID тенанта (или API key)
1194
+ * @param {string} projectId
1195
+ * @param {CreateAddonDto} createAddonDto
1196
+ * @param {*} [options] Override http request option.
1197
+ * @throws {RequiredError}
1198
+ */
1199
+ adminControllerCreateAddon(xTenantId: string, projectId: string, createAddonDto: CreateAddonDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
1200
+ /**
1201
+ *
1202
+ * @summary Создать промокод
1203
+ * @param {string} xTenantId ID тенанта (или API key)
1204
+ * @param {string} projectId
1205
+ * @param {CreatePromoCodeDto} createPromoCodeDto
1206
+ * @param {*} [options] Override http request option.
1207
+ * @throws {RequiredError}
1208
+ */
1209
+ adminControllerCreatePromoCode(xTenantId: string, projectId: string, createPromoCodeDto: CreatePromoCodeDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
1210
+ /**
1211
+ *
1212
+ * @summary Получить add-on по ID
1213
+ * @param {string} xTenantId ID тенанта (или API key)
1214
+ * @param {string} projectId
1215
+ * @param {string} id
1216
+ * @param {*} [options] Override http request option.
1217
+ * @throws {RequiredError}
1218
+ */
1219
+ adminControllerGetAddon(xTenantId: string, projectId: string, id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AddonItemDto, any, {}>>;
1220
+ /**
1221
+ *
1222
+ * @summary Получить инвойс по ID
1223
+ * @param {string} xTenantId ID тенанта (или API key)
1224
+ * @param {string} id
1225
+ * @param {*} [options] Override http request option.
1226
+ * @throws {RequiredError}
1227
+ */
1228
+ adminControllerGetInvoice(xTenantId: string, id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InvoiceItemDto, any, {}>>;
1229
+ /**
1230
+ *
1231
+ * @summary Получить платёж по ID
1232
+ * @param {string} xTenantId ID тенанта (или API key)
1233
+ * @param {string} id
1234
+ * @param {*} [options] Override http request option.
1235
+ * @throws {RequiredError}
1236
+ */
1237
+ adminControllerGetPayment(xTenantId: string, id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentItemDto, any, {}>>;
1238
+ /**
1239
+ *
1240
+ * @summary Получить промокод по ID
1241
+ * @param {string} xTenantId ID тенанта (или API key)
1242
+ * @param {string} projectId
1243
+ * @param {string} id
1244
+ * @param {*} [options] Override http request option.
1245
+ * @throws {RequiredError}
1246
+ */
1247
+ adminControllerGetPromoCode(xTenantId: string, projectId: string, id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PromoCodeItemDto, any, {}>>;
1248
+ /**
1249
+ *
1250
+ * @summary Получить подписку по ID
1251
+ * @param {string} xTenantId ID тенанта (или API key)
1252
+ * @param {string} id
1253
+ * @param {*} [options] Override http request option.
1254
+ * @throws {RequiredError}
1255
+ */
1256
+ adminControllerGetSubscription(xTenantId: string, id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SubscriptionItemDto, any, {}>>;
1257
+ /**
1258
+ *
1259
+ * @summary Список add-ons проекта
1260
+ * @param {string} xTenantId ID тенанта (или API key)
1261
+ * @param {string} projectId
1262
+ * @param {*} [options] Override http request option.
1263
+ * @throws {RequiredError}
1264
+ */
1265
+ adminControllerListAddons(xTenantId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AddonListResponseDto, any, {}>>;
1266
+ /**
1267
+ *
1268
+ * @summary Список инвойсов проекта
1269
+ * @param {string} xTenantId ID тенанта (или API key)
1270
+ * @param {string} projectId
1271
+ * @param {*} [options] Override http request option.
1272
+ * @throws {RequiredError}
1273
+ */
1274
+ adminControllerListInvoices(xTenantId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InvoiceListResponseDto, any, {}>>;
1275
+ /**
1276
+ *
1277
+ * @summary Список платежей проекта
1278
+ * @param {string} xTenantId ID тенанта (или API key)
1279
+ * @param {string} projectId
1280
+ * @param {*} [options] Override http request option.
1281
+ * @throws {RequiredError}
1282
+ */
1283
+ adminControllerListPayments(xTenantId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentListResponseDto, any, {}>>;
1284
+ /**
1285
+ *
1286
+ * @summary Список промокодов проекта
1287
+ * @param {string} xTenantId ID тенанта (или API key)
1288
+ * @param {string} projectId
1289
+ * @param {*} [options] Override http request option.
1290
+ * @throws {RequiredError}
1291
+ */
1292
+ adminControllerListPromoCodes(xTenantId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PromoCodeListResponseDto, any, {}>>;
1293
+ /**
1294
+ * Возвращает подписки с пагинацией
1295
+ * @summary Список подписок проекта
1296
+ * @param {string} xTenantId ID тенанта (или API key)
1297
+ * @param {string} projectId
1298
+ * @param {*} [options] Override http request option.
1299
+ * @throws {RequiredError}
1300
+ */
1301
+ adminControllerListSubscriptions(xTenantId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SubscriptionListResponseDto, any, {}>>;
1302
+ /**
1303
+ * Устанавливает cancelAtPeriodEnd=true. До currentPeriodEnd entitlement остаётся активным. Renewals job не создаст renewal.
1304
+ * @summary Запланировать отмену в конце периода
1305
+ * @param {string} xTenantId ID тенанта (или API key)
1306
+ * @param {string} id
1307
+ * @param {*} [options] Override http request option.
1308
+ * @throws {RequiredError}
1309
+ */
1310
+ adminControllerScheduleCancelAtPeriodEnd(xTenantId: string, id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScheduleCancelResponseDto, any, {}>>;
1311
+ }
1312
+ /**
1313
+ * AuthApi - axios parameter creator
1314
+ */
1315
+ export declare const AuthApiAxiosParamCreator: (configuration?: Configuration) => {
1316
+ /**
1317
+ *
1318
+ * @summary Вход по email/password, выдача session cookie
1319
+ * @param {LoginDto} loginDto
1320
+ * @param {*} [options] Override http request option.
1321
+ * @throws {RequiredError}
1322
+ */
1323
+ authControllerLogin: (loginDto: LoginDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1324
+ /**
1325
+ *
1326
+ * @summary Завершение сессии
1327
+ * @param {*} [options] Override http request option.
1328
+ * @throws {RequiredError}
1329
+ */
1330
+ authControllerLogout: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1331
+ /**
1332
+ *
1333
+ * @summary Текущий пользователь, tenant, роль и проекты
1334
+ * @param {*} [options] Override http request option.
1335
+ * @throws {RequiredError}
1336
+ */
1337
+ authControllerMe: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1338
+ /**
1339
+ *
1340
+ * @summary Регистрация: user + tenant (owner) + session cookie
1341
+ * @param {SignupDto} signupDto
1342
+ * @param {*} [options] Override http request option.
1343
+ * @throws {RequiredError}
1344
+ */
1345
+ authControllerSignup: (signupDto: SignupDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1346
+ };
1347
+ /**
1348
+ * AuthApi - functional programming interface
1349
+ */
1350
+ export declare const AuthApiFp: (configuration?: Configuration) => {
1351
+ /**
1352
+ *
1353
+ * @summary Вход по email/password, выдача session cookie
1354
+ * @param {LoginDto} loginDto
1355
+ * @param {*} [options] Override http request option.
1356
+ * @throws {RequiredError}
1357
+ */
1358
+ authControllerLogin(loginDto: LoginDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1359
+ /**
1360
+ *
1361
+ * @summary Завершение сессии
1362
+ * @param {*} [options] Override http request option.
1363
+ * @throws {RequiredError}
1364
+ */
1365
+ authControllerLogout(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1366
+ /**
1367
+ *
1368
+ * @summary Текущий пользователь, tenant, роль и проекты
1369
+ * @param {*} [options] Override http request option.
1370
+ * @throws {RequiredError}
1371
+ */
1372
+ authControllerMe(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1373
+ /**
1374
+ *
1375
+ * @summary Регистрация: user + tenant (owner) + session cookie
1376
+ * @param {SignupDto} signupDto
1377
+ * @param {*} [options] Override http request option.
1378
+ * @throws {RequiredError}
1379
+ */
1380
+ authControllerSignup(signupDto: SignupDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1381
+ };
1382
+ /**
1383
+ * AuthApi - factory interface
1384
+ */
1385
+ export declare const AuthApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1386
+ /**
1387
+ *
1388
+ * @summary Вход по email/password, выдача session cookie
1389
+ * @param {LoginDto} loginDto
1390
+ * @param {*} [options] Override http request option.
1391
+ * @throws {RequiredError}
1392
+ */
1393
+ authControllerLogin(loginDto: LoginDto, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1394
+ /**
1395
+ *
1396
+ * @summary Завершение сессии
1397
+ * @param {*} [options] Override http request option.
1398
+ * @throws {RequiredError}
1399
+ */
1400
+ authControllerLogout(options?: RawAxiosRequestConfig): AxiosPromise<void>;
1401
+ /**
1402
+ *
1403
+ * @summary Текущий пользователь, tenant, роль и проекты
1404
+ * @param {*} [options] Override http request option.
1405
+ * @throws {RequiredError}
1406
+ */
1407
+ authControllerMe(options?: RawAxiosRequestConfig): AxiosPromise<void>;
1408
+ /**
1409
+ *
1410
+ * @summary Регистрация: user + tenant (owner) + session cookie
1411
+ * @param {SignupDto} signupDto
1412
+ * @param {*} [options] Override http request option.
1413
+ * @throws {RequiredError}
1414
+ */
1415
+ authControllerSignup(signupDto: SignupDto, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1416
+ };
1417
+ /**
1418
+ * AuthApi - object-oriented interface
1419
+ */
1420
+ export declare class AuthApi extends BaseAPI {
1421
+ /**
1422
+ *
1423
+ * @summary Вход по email/password, выдача session cookie
1424
+ * @param {LoginDto} loginDto
1425
+ * @param {*} [options] Override http request option.
1426
+ * @throws {RequiredError}
1427
+ */
1428
+ authControllerLogin(loginDto: LoginDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
1429
+ /**
1430
+ *
1431
+ * @summary Завершение сессии
1432
+ * @param {*} [options] Override http request option.
1433
+ * @throws {RequiredError}
1434
+ */
1435
+ authControllerLogout(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
1436
+ /**
1437
+ *
1438
+ * @summary Текущий пользователь, tenant, роль и проекты
1439
+ * @param {*} [options] Override http request option.
1440
+ * @throws {RequiredError}
1441
+ */
1442
+ authControllerMe(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
1443
+ /**
1444
+ *
1445
+ * @summary Регистрация: user + tenant (owner) + session cookie
1446
+ * @param {SignupDto} signupDto
1447
+ * @param {*} [options] Override http request option.
1448
+ * @throws {RequiredError}
1449
+ */
1450
+ authControllerSignup(signupDto: SignupDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
1451
+ }
1452
+ /**
1453
+ * CatalogApi - axios parameter creator
1454
+ */
1455
+ export declare const CatalogApiAxiosParamCreator: (configuration?: Configuration) => {
1456
+ /**
1457
+ * Создаёт фичу в проекте. kind: boolean — вкл/выкл, limit — числовой лимит.
1458
+ * @summary Создать фичу
1459
+ * @param {string} xTenantId ID тенанта (или API key)
1460
+ * @param {string} projectId
1461
+ * @param {CreateFeatureDto} createFeatureDto
1462
+ * @param {*} [options] Override http request option.
1463
+ * @throws {RequiredError}
1464
+ */
1465
+ featuresControllerCreate: (xTenantId: string, projectId: string, createFeatureDto: CreateFeatureDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1466
+ /**
1467
+ * Возвращает фичу по ID
1468
+ * @summary Получить фичу
1469
+ * @param {string} xTenantId ID тенанта (или API key)
1470
+ * @param {string} projectId
1471
+ * @param {string} id
1472
+ * @param {*} [options] Override http request option.
1473
+ * @throws {RequiredError}
1474
+ */
1475
+ featuresControllerGet: (xTenantId: string, projectId: string, id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1476
+ /**
1477
+ * Возвращает все фичи проекта
1478
+ * @summary Список фич
1479
+ * @param {string} xTenantId ID тенанта (или API key)
1480
+ * @param {string} projectId
1481
+ * @param {*} [options] Override http request option.
1482
+ * @throws {RequiredError}
1483
+ */
1484
+ featuresControllerList: (xTenantId: string, projectId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1485
+ /**
1486
+ * Обновляет name и kind. code менять нельзя.
1487
+ * @summary Обновить фичу
1488
+ * @param {string} xTenantId ID тенанта (или API key)
1489
+ * @param {string} projectId
1490
+ * @param {string} id
1491
+ * @param {UpdateFeatureDto} updateFeatureDto
1492
+ * @param {*} [options] Override http request option.
1493
+ * @throws {RequiredError}
1494
+ */
1495
+ featuresControllerUpdate: (xTenantId: string, projectId: string, id: string, updateFeatureDto: UpdateFeatureDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1496
+ /**
1497
+ * Создаёт привязку фичи к плану с enabled и limitValue
1498
+ * @summary Привязать фичу к плану
1499
+ * @param {string} xTenantId ID тенанта (или API key)
1500
+ * @param {string} projectId
1501
+ * @param {string} planId
1502
+ * @param {CreatePlanFeatureDto} createPlanFeatureDto
1503
+ * @param {*} [options] Override http request option.
1504
+ * @throws {RequiredError}
1505
+ */
1506
+ planFeaturesControllerCreate: (xTenantId: string, projectId: string, planId: string, createPlanFeatureDto: CreatePlanFeatureDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1507
+ /**
1508
+ * Удаляет привязку фичи к плану
1509
+ * @summary Удалить привязку
1510
+ * @param {string} xTenantId ID тенанта (или API key)
1511
+ * @param {string} projectId
1512
+ * @param {string} planId
1513
+ * @param {string} id
1514
+ * @param {*} [options] Override http request option.
1515
+ * @throws {RequiredError}
1516
+ */
1517
+ planFeaturesControllerDelete: (xTenantId: string, projectId: string, planId: string, id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1518
+ /**
1519
+ * Возвращает привязку по ID
1520
+ * @summary Получить привязку
1521
+ * @param {string} xTenantId ID тенанта (или API key)
1522
+ * @param {string} projectId
1523
+ * @param {string} planId
1524
+ * @param {string} id
1525
+ * @param {*} [options] Override http request option.
1526
+ * @throws {RequiredError}
1527
+ */
1528
+ planFeaturesControllerGet: (xTenantId: string, projectId: string, planId: string, id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1529
+ /**
1530
+ * Возвращает все привязки фич для плана
1531
+ * @summary Список привязок фич плана
1532
+ * @param {string} xTenantId ID тенанта (или API key)
1533
+ * @param {string} projectId
1534
+ * @param {string} planId
1535
+ * @param {*} [options] Override http request option.
1536
+ * @throws {RequiredError}
1537
+ */
1538
+ planFeaturesControllerList: (xTenantId: string, projectId: string, planId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1539
+ /**
1540
+ * Обновляет enabled и/или limitValue
1541
+ * @summary Обновить привязку
1542
+ * @param {string} xTenantId ID тенанта (или API key)
1543
+ * @param {string} projectId
1544
+ * @param {string} planId
1545
+ * @param {string} id
1546
+ * @param {UpdatePlanFeatureDto} updatePlanFeatureDto
1547
+ * @param {*} [options] Override http request option.
1548
+ * @throws {RequiredError}
1549
+ */
1550
+ planFeaturesControllerUpdate: (xTenantId: string, projectId: string, planId: string, id: string, updatePlanFeatureDto: UpdatePlanFeatureDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1551
+ /**
1552
+ * Создаёт тарифный план в проекте
1553
+ * @summary Создать план
1554
+ * @param {string} xTenantId ID тенанта (или API key)
1555
+ * @param {string} projectId
1556
+ * @param {CreatePlanDto} createPlanDto
1557
+ * @param {*} [options] Override http request option.
1558
+ * @throws {RequiredError}
1559
+ */
1560
+ plansControllerCreate: (xTenantId: string, projectId: string, createPlanDto: CreatePlanDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1561
+ /**
1562
+ * Возвращает план по ID
1563
+ * @summary Получить план
1564
+ * @param {string} xTenantId ID тенанта (или API key)
1565
+ * @param {string} projectId
1566
+ * @param {string} id
1567
+ * @param {*} [options] Override http request option.
1568
+ * @throws {RequiredError}
1569
+ */
1570
+ plansControllerGet: (xTenantId: string, projectId: string, id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1571
+ /**
1572
+ * Возвращает все планы проекта
1573
+ * @summary Список планов
1574
+ * @param {string} xTenantId ID тенанта (или API key)
1575
+ * @param {string} projectId
1576
+ * @param {*} [options] Override http request option.
1577
+ * @throws {RequiredError}
1578
+ */
1579
+ plansControllerList: (xTenantId: string, projectId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1580
+ /**
1581
+ * Обновляет поля плана (name, description, isPublic, isActive, sortOrder). code менять нельзя.
1582
+ * @summary Обновить план
1583
+ * @param {string} xTenantId ID тенанта (или API key)
1584
+ * @param {string} projectId
1585
+ * @param {string} id
1586
+ * @param {UpdatePlanDto} updatePlanDto
1587
+ * @param {*} [options] Override http request option.
1588
+ * @throws {RequiredError}
1589
+ */
1590
+ plansControllerUpdate: (xTenantId: string, projectId: string, id: string, updatePlanDto: UpdatePlanDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1591
+ /**
1592
+ * Создаёт цену для плана в проекте
1593
+ * @summary Создать цену
1594
+ * @param {string} xTenantId ID тенанта (или API key)
1595
+ * @param {string} projectId
1596
+ * @param {CreatePriceDto} createPriceDto
1597
+ * @param {*} [options] Override http request option.
1598
+ * @throws {RequiredError}
1599
+ */
1600
+ pricesControllerCreate: (xTenantId: string, projectId: string, createPriceDto: CreatePriceDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1601
+ /**
1602
+ * Возвращает цену по ID
1603
+ * @summary Получить цену
1604
+ * @param {string} xTenantId ID тенанта (или API key)
1605
+ * @param {string} projectId
1606
+ * @param {string} id
1607
+ * @param {*} [options] Override http request option.
1608
+ * @throws {RequiredError}
1609
+ */
1610
+ pricesControllerGet: (xTenantId: string, projectId: string, id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1611
+ /**
1612
+ * Возвращает все цены проекта
1613
+ * @summary Список цен
1614
+ * @param {string} xTenantId ID тенанта (или API key)
1615
+ * @param {string} projectId
1616
+ * @param {*} [options] Override http request option.
1617
+ * @throws {RequiredError}
1618
+ */
1619
+ pricesControllerList: (xTenantId: string, projectId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1620
+ /**
1621
+ * Обновляет поля цены. planId менять нельзя.
1622
+ * @summary Обновить цену
1623
+ * @param {string} xTenantId ID тенанта (или API key)
1624
+ * @param {string} projectId
1625
+ * @param {string} id
1626
+ * @param {UpdatePriceDto} updatePriceDto
1627
+ * @param {*} [options] Override http request option.
1628
+ * @throws {RequiredError}
1629
+ */
1630
+ pricesControllerUpdate: (xTenantId: string, projectId: string, id: string, updatePriceDto: UpdatePriceDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1631
+ };
1632
+ /**
1633
+ * CatalogApi - functional programming interface
1634
+ */
1635
+ export declare const CatalogApiFp: (configuration?: Configuration) => {
1636
+ /**
1637
+ * Создаёт фичу в проекте. kind: boolean — вкл/выкл, limit — числовой лимит.
1638
+ * @summary Создать фичу
1639
+ * @param {string} xTenantId ID тенанта (или API key)
1640
+ * @param {string} projectId
1641
+ * @param {CreateFeatureDto} createFeatureDto
1642
+ * @param {*} [options] Override http request option.
1643
+ * @throws {RequiredError}
1644
+ */
1645
+ featuresControllerCreate(xTenantId: string, projectId: string, createFeatureDto: CreateFeatureDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FeatureResponseDto>>;
1646
+ /**
1647
+ * Возвращает фичу по ID
1648
+ * @summary Получить фичу
1649
+ * @param {string} xTenantId ID тенанта (или API key)
1650
+ * @param {string} projectId
1651
+ * @param {string} id
1652
+ * @param {*} [options] Override http request option.
1653
+ * @throws {RequiredError}
1654
+ */
1655
+ featuresControllerGet(xTenantId: string, projectId: string, id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FeatureResponseDto>>;
1656
+ /**
1657
+ * Возвращает все фичи проекта
1658
+ * @summary Список фич
1659
+ * @param {string} xTenantId ID тенанта (или API key)
1660
+ * @param {string} projectId
1661
+ * @param {*} [options] Override http request option.
1662
+ * @throws {RequiredError}
1663
+ */
1664
+ featuresControllerList(xTenantId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FeatureListResponseDto>>;
1665
+ /**
1666
+ * Обновляет name и kind. code менять нельзя.
1667
+ * @summary Обновить фичу
1668
+ * @param {string} xTenantId ID тенанта (или API key)
1669
+ * @param {string} projectId
1670
+ * @param {string} id
1671
+ * @param {UpdateFeatureDto} updateFeatureDto
1672
+ * @param {*} [options] Override http request option.
1673
+ * @throws {RequiredError}
1674
+ */
1675
+ featuresControllerUpdate(xTenantId: string, projectId: string, id: string, updateFeatureDto: UpdateFeatureDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FeatureResponseDto>>;
1676
+ /**
1677
+ * Создаёт привязку фичи к плану с enabled и limitValue
1678
+ * @summary Привязать фичу к плану
1679
+ * @param {string} xTenantId ID тенанта (или API key)
1680
+ * @param {string} projectId
1681
+ * @param {string} planId
1682
+ * @param {CreatePlanFeatureDto} createPlanFeatureDto
1683
+ * @param {*} [options] Override http request option.
1684
+ * @throws {RequiredError}
1685
+ */
1686
+ planFeaturesControllerCreate(xTenantId: string, projectId: string, planId: string, createPlanFeatureDto: CreatePlanFeatureDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanFeatureResponseDto>>;
1687
+ /**
1688
+ * Удаляет привязку фичи к плану
1689
+ * @summary Удалить привязку
1690
+ * @param {string} xTenantId ID тенанта (или API key)
1691
+ * @param {string} projectId
1692
+ * @param {string} planId
1693
+ * @param {string} id
1694
+ * @param {*} [options] Override http request option.
1695
+ * @throws {RequiredError}
1696
+ */
1697
+ planFeaturesControllerDelete(xTenantId: string, projectId: string, planId: string, id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1698
+ /**
1699
+ * Возвращает привязку по ID
1700
+ * @summary Получить привязку
1701
+ * @param {string} xTenantId ID тенанта (или API key)
1702
+ * @param {string} projectId
1703
+ * @param {string} planId
1704
+ * @param {string} id
1705
+ * @param {*} [options] Override http request option.
1706
+ * @throws {RequiredError}
1707
+ */
1708
+ planFeaturesControllerGet(xTenantId: string, projectId: string, planId: string, id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanFeatureResponseDto>>;
1709
+ /**
1710
+ * Возвращает все привязки фич для плана
1711
+ * @summary Список привязок фич плана
1712
+ * @param {string} xTenantId ID тенанта (или API key)
1713
+ * @param {string} projectId
1714
+ * @param {string} planId
1715
+ * @param {*} [options] Override http request option.
1716
+ * @throws {RequiredError}
1717
+ */
1718
+ planFeaturesControllerList(xTenantId: string, projectId: string, planId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanFeatureListResponseDto>>;
1719
+ /**
1720
+ * Обновляет enabled и/или limitValue
1721
+ * @summary Обновить привязку
1722
+ * @param {string} xTenantId ID тенанта (или API key)
1723
+ * @param {string} projectId
1724
+ * @param {string} planId
1725
+ * @param {string} id
1726
+ * @param {UpdatePlanFeatureDto} updatePlanFeatureDto
1727
+ * @param {*} [options] Override http request option.
1728
+ * @throws {RequiredError}
1729
+ */
1730
+ planFeaturesControllerUpdate(xTenantId: string, projectId: string, planId: string, id: string, updatePlanFeatureDto: UpdatePlanFeatureDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanFeatureResponseDto>>;
1731
+ /**
1732
+ * Создаёт тарифный план в проекте
1733
+ * @summary Создать план
1734
+ * @param {string} xTenantId ID тенанта (или API key)
1735
+ * @param {string} projectId
1736
+ * @param {CreatePlanDto} createPlanDto
1737
+ * @param {*} [options] Override http request option.
1738
+ * @throws {RequiredError}
1739
+ */
1740
+ plansControllerCreate(xTenantId: string, projectId: string, createPlanDto: CreatePlanDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanResponseDto>>;
1741
+ /**
1742
+ * Возвращает план по ID
1743
+ * @summary Получить план
1744
+ * @param {string} xTenantId ID тенанта (или API key)
1745
+ * @param {string} projectId
1746
+ * @param {string} id
1747
+ * @param {*} [options] Override http request option.
1748
+ * @throws {RequiredError}
1749
+ */
1750
+ plansControllerGet(xTenantId: string, projectId: string, id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanResponseDto>>;
1751
+ /**
1752
+ * Возвращает все планы проекта
1753
+ * @summary Список планов
1754
+ * @param {string} xTenantId ID тенанта (или API key)
1755
+ * @param {string} projectId
1756
+ * @param {*} [options] Override http request option.
1757
+ * @throws {RequiredError}
1758
+ */
1759
+ plansControllerList(xTenantId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanListResponseDto>>;
1760
+ /**
1761
+ * Обновляет поля плана (name, description, isPublic, isActive, sortOrder). code менять нельзя.
1762
+ * @summary Обновить план
1763
+ * @param {string} xTenantId ID тенанта (или API key)
1764
+ * @param {string} projectId
1765
+ * @param {string} id
1766
+ * @param {UpdatePlanDto} updatePlanDto
1767
+ * @param {*} [options] Override http request option.
1768
+ * @throws {RequiredError}
1769
+ */
1770
+ plansControllerUpdate(xTenantId: string, projectId: string, id: string, updatePlanDto: UpdatePlanDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanResponseDto>>;
1771
+ /**
1772
+ * Создаёт цену для плана в проекте
1773
+ * @summary Создать цену
1774
+ * @param {string} xTenantId ID тенанта (или API key)
1775
+ * @param {string} projectId
1776
+ * @param {CreatePriceDto} createPriceDto
1777
+ * @param {*} [options] Override http request option.
1778
+ * @throws {RequiredError}
1779
+ */
1780
+ pricesControllerCreate(xTenantId: string, projectId: string, createPriceDto: CreatePriceDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PriceResponseDto>>;
1781
+ /**
1782
+ * Возвращает цену по ID
1783
+ * @summary Получить цену
1784
+ * @param {string} xTenantId ID тенанта (или API key)
1785
+ * @param {string} projectId
1786
+ * @param {string} id
1787
+ * @param {*} [options] Override http request option.
1788
+ * @throws {RequiredError}
1789
+ */
1790
+ pricesControllerGet(xTenantId: string, projectId: string, id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PriceResponseDto>>;
1791
+ /**
1792
+ * Возвращает все цены проекта
1793
+ * @summary Список цен
1794
+ * @param {string} xTenantId ID тенанта (или API key)
1795
+ * @param {string} projectId
1796
+ * @param {*} [options] Override http request option.
1797
+ * @throws {RequiredError}
1798
+ */
1799
+ pricesControllerList(xTenantId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PriceListResponseDto>>;
1800
+ /**
1801
+ * Обновляет поля цены. planId менять нельзя.
1802
+ * @summary Обновить цену
1803
+ * @param {string} xTenantId ID тенанта (или API key)
1804
+ * @param {string} projectId
1805
+ * @param {string} id
1806
+ * @param {UpdatePriceDto} updatePriceDto
1807
+ * @param {*} [options] Override http request option.
1808
+ * @throws {RequiredError}
1809
+ */
1810
+ pricesControllerUpdate(xTenantId: string, projectId: string, id: string, updatePriceDto: UpdatePriceDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PriceResponseDto>>;
1811
+ };
1812
+ /**
1813
+ * CatalogApi - factory interface
1814
+ */
1815
+ export declare const CatalogApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1816
+ /**
1817
+ * Создаёт фичу в проекте. kind: boolean — вкл/выкл, limit — числовой лимит.
1818
+ * @summary Создать фичу
1819
+ * @param {string} xTenantId ID тенанта (или API key)
1820
+ * @param {string} projectId
1821
+ * @param {CreateFeatureDto} createFeatureDto
1822
+ * @param {*} [options] Override http request option.
1823
+ * @throws {RequiredError}
1824
+ */
1825
+ featuresControllerCreate(xTenantId: string, projectId: string, createFeatureDto: CreateFeatureDto, options?: RawAxiosRequestConfig): AxiosPromise<FeatureResponseDto>;
1826
+ /**
1827
+ * Возвращает фичу по ID
1828
+ * @summary Получить фичу
1829
+ * @param {string} xTenantId ID тенанта (или API key)
1830
+ * @param {string} projectId
1831
+ * @param {string} id
1832
+ * @param {*} [options] Override http request option.
1833
+ * @throws {RequiredError}
1834
+ */
1835
+ featuresControllerGet(xTenantId: string, projectId: string, id: string, options?: RawAxiosRequestConfig): AxiosPromise<FeatureResponseDto>;
1836
+ /**
1837
+ * Возвращает все фичи проекта
1838
+ * @summary Список фич
1839
+ * @param {string} xTenantId ID тенанта (или API key)
1840
+ * @param {string} projectId
1841
+ * @param {*} [options] Override http request option.
1842
+ * @throws {RequiredError}
1843
+ */
1844
+ featuresControllerList(xTenantId: string, projectId: string, options?: RawAxiosRequestConfig): AxiosPromise<FeatureListResponseDto>;
1845
+ /**
1846
+ * Обновляет name и kind. code менять нельзя.
1847
+ * @summary Обновить фичу
1848
+ * @param {string} xTenantId ID тенанта (или API key)
1849
+ * @param {string} projectId
1850
+ * @param {string} id
1851
+ * @param {UpdateFeatureDto} updateFeatureDto
1852
+ * @param {*} [options] Override http request option.
1853
+ * @throws {RequiredError}
1854
+ */
1855
+ featuresControllerUpdate(xTenantId: string, projectId: string, id: string, updateFeatureDto: UpdateFeatureDto, options?: RawAxiosRequestConfig): AxiosPromise<FeatureResponseDto>;
1856
+ /**
1857
+ * Создаёт привязку фичи к плану с enabled и limitValue
1858
+ * @summary Привязать фичу к плану
1859
+ * @param {string} xTenantId ID тенанта (или API key)
1860
+ * @param {string} projectId
1861
+ * @param {string} planId
1862
+ * @param {CreatePlanFeatureDto} createPlanFeatureDto
1863
+ * @param {*} [options] Override http request option.
1864
+ * @throws {RequiredError}
1865
+ */
1866
+ planFeaturesControllerCreate(xTenantId: string, projectId: string, planId: string, createPlanFeatureDto: CreatePlanFeatureDto, options?: RawAxiosRequestConfig): AxiosPromise<PlanFeatureResponseDto>;
1867
+ /**
1868
+ * Удаляет привязку фичи к плану
1869
+ * @summary Удалить привязку
1870
+ * @param {string} xTenantId ID тенанта (или API key)
1871
+ * @param {string} projectId
1872
+ * @param {string} planId
1873
+ * @param {string} id
1874
+ * @param {*} [options] Override http request option.
1875
+ * @throws {RequiredError}
1876
+ */
1877
+ planFeaturesControllerDelete(xTenantId: string, projectId: string, planId: string, id: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1878
+ /**
1879
+ * Возвращает привязку по ID
1880
+ * @summary Получить привязку
1881
+ * @param {string} xTenantId ID тенанта (или API key)
1882
+ * @param {string} projectId
1883
+ * @param {string} planId
1884
+ * @param {string} id
1885
+ * @param {*} [options] Override http request option.
1886
+ * @throws {RequiredError}
1887
+ */
1888
+ planFeaturesControllerGet(xTenantId: string, projectId: string, planId: string, id: string, options?: RawAxiosRequestConfig): AxiosPromise<PlanFeatureResponseDto>;
1889
+ /**
1890
+ * Возвращает все привязки фич для плана
1891
+ * @summary Список привязок фич плана
1892
+ * @param {string} xTenantId ID тенанта (или API key)
1893
+ * @param {string} projectId
1894
+ * @param {string} planId
1895
+ * @param {*} [options] Override http request option.
1896
+ * @throws {RequiredError}
1897
+ */
1898
+ planFeaturesControllerList(xTenantId: string, projectId: string, planId: string, options?: RawAxiosRequestConfig): AxiosPromise<PlanFeatureListResponseDto>;
1899
+ /**
1900
+ * Обновляет enabled и/или limitValue
1901
+ * @summary Обновить привязку
1902
+ * @param {string} xTenantId ID тенанта (или API key)
1903
+ * @param {string} projectId
1904
+ * @param {string} planId
1905
+ * @param {string} id
1906
+ * @param {UpdatePlanFeatureDto} updatePlanFeatureDto
1907
+ * @param {*} [options] Override http request option.
1908
+ * @throws {RequiredError}
1909
+ */
1910
+ planFeaturesControllerUpdate(xTenantId: string, projectId: string, planId: string, id: string, updatePlanFeatureDto: UpdatePlanFeatureDto, options?: RawAxiosRequestConfig): AxiosPromise<PlanFeatureResponseDto>;
1911
+ /**
1912
+ * Создаёт тарифный план в проекте
1913
+ * @summary Создать план
1914
+ * @param {string} xTenantId ID тенанта (или API key)
1915
+ * @param {string} projectId
1916
+ * @param {CreatePlanDto} createPlanDto
1917
+ * @param {*} [options] Override http request option.
1918
+ * @throws {RequiredError}
1919
+ */
1920
+ plansControllerCreate(xTenantId: string, projectId: string, createPlanDto: CreatePlanDto, options?: RawAxiosRequestConfig): AxiosPromise<PlanResponseDto>;
1921
+ /**
1922
+ * Возвращает план по ID
1923
+ * @summary Получить план
1924
+ * @param {string} xTenantId ID тенанта (или API key)
1925
+ * @param {string} projectId
1926
+ * @param {string} id
1927
+ * @param {*} [options] Override http request option.
1928
+ * @throws {RequiredError}
1929
+ */
1930
+ plansControllerGet(xTenantId: string, projectId: string, id: string, options?: RawAxiosRequestConfig): AxiosPromise<PlanResponseDto>;
1931
+ /**
1932
+ * Возвращает все планы проекта
1933
+ * @summary Список планов
1934
+ * @param {string} xTenantId ID тенанта (или API key)
1935
+ * @param {string} projectId
1936
+ * @param {*} [options] Override http request option.
1937
+ * @throws {RequiredError}
1938
+ */
1939
+ plansControllerList(xTenantId: string, projectId: string, options?: RawAxiosRequestConfig): AxiosPromise<PlanListResponseDto>;
1940
+ /**
1941
+ * Обновляет поля плана (name, description, isPublic, isActive, sortOrder). code менять нельзя.
1942
+ * @summary Обновить план
1943
+ * @param {string} xTenantId ID тенанта (или API key)
1944
+ * @param {string} projectId
1945
+ * @param {string} id
1946
+ * @param {UpdatePlanDto} updatePlanDto
1947
+ * @param {*} [options] Override http request option.
1948
+ * @throws {RequiredError}
1949
+ */
1950
+ plansControllerUpdate(xTenantId: string, projectId: string, id: string, updatePlanDto: UpdatePlanDto, options?: RawAxiosRequestConfig): AxiosPromise<PlanResponseDto>;
1951
+ /**
1952
+ * Создаёт цену для плана в проекте
1953
+ * @summary Создать цену
1954
+ * @param {string} xTenantId ID тенанта (или API key)
1955
+ * @param {string} projectId
1956
+ * @param {CreatePriceDto} createPriceDto
1957
+ * @param {*} [options] Override http request option.
1958
+ * @throws {RequiredError}
1959
+ */
1960
+ pricesControllerCreate(xTenantId: string, projectId: string, createPriceDto: CreatePriceDto, options?: RawAxiosRequestConfig): AxiosPromise<PriceResponseDto>;
1961
+ /**
1962
+ * Возвращает цену по ID
1963
+ * @summary Получить цену
1964
+ * @param {string} xTenantId ID тенанта (или API key)
1965
+ * @param {string} projectId
1966
+ * @param {string} id
1967
+ * @param {*} [options] Override http request option.
1968
+ * @throws {RequiredError}
1969
+ */
1970
+ pricesControllerGet(xTenantId: string, projectId: string, id: string, options?: RawAxiosRequestConfig): AxiosPromise<PriceResponseDto>;
1971
+ /**
1972
+ * Возвращает все цены проекта
1973
+ * @summary Список цен
1974
+ * @param {string} xTenantId ID тенанта (или API key)
1975
+ * @param {string} projectId
1976
+ * @param {*} [options] Override http request option.
1977
+ * @throws {RequiredError}
1978
+ */
1979
+ pricesControllerList(xTenantId: string, projectId: string, options?: RawAxiosRequestConfig): AxiosPromise<PriceListResponseDto>;
1980
+ /**
1981
+ * Обновляет поля цены. planId менять нельзя.
1982
+ * @summary Обновить цену
1983
+ * @param {string} xTenantId ID тенанта (или API key)
1984
+ * @param {string} projectId
1985
+ * @param {string} id
1986
+ * @param {UpdatePriceDto} updatePriceDto
1987
+ * @param {*} [options] Override http request option.
1988
+ * @throws {RequiredError}
1989
+ */
1990
+ pricesControllerUpdate(xTenantId: string, projectId: string, id: string, updatePriceDto: UpdatePriceDto, options?: RawAxiosRequestConfig): AxiosPromise<PriceResponseDto>;
1991
+ };
1992
+ /**
1993
+ * CatalogApi - object-oriented interface
1994
+ */
1995
+ export declare class CatalogApi extends BaseAPI {
1996
+ /**
1997
+ * Создаёт фичу в проекте. kind: boolean — вкл/выкл, limit — числовой лимит.
1998
+ * @summary Создать фичу
1999
+ * @param {string} xTenantId ID тенанта (или API key)
2000
+ * @param {string} projectId
2001
+ * @param {CreateFeatureDto} createFeatureDto
2002
+ * @param {*} [options] Override http request option.
2003
+ * @throws {RequiredError}
2004
+ */
2005
+ featuresControllerCreate(xTenantId: string, projectId: string, createFeatureDto: CreateFeatureDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FeatureResponseDto, any, {}>>;
2006
+ /**
2007
+ * Возвращает фичу по ID
2008
+ * @summary Получить фичу
2009
+ * @param {string} xTenantId ID тенанта (или API key)
2010
+ * @param {string} projectId
2011
+ * @param {string} id
2012
+ * @param {*} [options] Override http request option.
2013
+ * @throws {RequiredError}
2014
+ */
2015
+ featuresControllerGet(xTenantId: string, projectId: string, id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FeatureResponseDto, any, {}>>;
2016
+ /**
2017
+ * Возвращает все фичи проекта
2018
+ * @summary Список фич
2019
+ * @param {string} xTenantId ID тенанта (или API key)
2020
+ * @param {string} projectId
2021
+ * @param {*} [options] Override http request option.
2022
+ * @throws {RequiredError}
2023
+ */
2024
+ featuresControllerList(xTenantId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FeatureListResponseDto, any, {}>>;
2025
+ /**
2026
+ * Обновляет name и kind. code менять нельзя.
2027
+ * @summary Обновить фичу
2028
+ * @param {string} xTenantId ID тенанта (или API key)
2029
+ * @param {string} projectId
2030
+ * @param {string} id
2031
+ * @param {UpdateFeatureDto} updateFeatureDto
2032
+ * @param {*} [options] Override http request option.
2033
+ * @throws {RequiredError}
2034
+ */
2035
+ featuresControllerUpdate(xTenantId: string, projectId: string, id: string, updateFeatureDto: UpdateFeatureDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FeatureResponseDto, any, {}>>;
2036
+ /**
2037
+ * Создаёт привязку фичи к плану с enabled и limitValue
2038
+ * @summary Привязать фичу к плану
2039
+ * @param {string} xTenantId ID тенанта (или API key)
2040
+ * @param {string} projectId
2041
+ * @param {string} planId
2042
+ * @param {CreatePlanFeatureDto} createPlanFeatureDto
2043
+ * @param {*} [options] Override http request option.
2044
+ * @throws {RequiredError}
2045
+ */
2046
+ planFeaturesControllerCreate(xTenantId: string, projectId: string, planId: string, createPlanFeatureDto: CreatePlanFeatureDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlanFeatureResponseDto, any, {}>>;
2047
+ /**
2048
+ * Удаляет привязку фичи к плану
2049
+ * @summary Удалить привязку
2050
+ * @param {string} xTenantId ID тенанта (или API key)
2051
+ * @param {string} projectId
2052
+ * @param {string} planId
2053
+ * @param {string} id
2054
+ * @param {*} [options] Override http request option.
2055
+ * @throws {RequiredError}
2056
+ */
2057
+ planFeaturesControllerDelete(xTenantId: string, projectId: string, planId: string, id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
2058
+ /**
2059
+ * Возвращает привязку по ID
2060
+ * @summary Получить привязку
2061
+ * @param {string} xTenantId ID тенанта (или API key)
2062
+ * @param {string} projectId
2063
+ * @param {string} planId
2064
+ * @param {string} id
2065
+ * @param {*} [options] Override http request option.
2066
+ * @throws {RequiredError}
2067
+ */
2068
+ planFeaturesControllerGet(xTenantId: string, projectId: string, planId: string, id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlanFeatureResponseDto, any, {}>>;
2069
+ /**
2070
+ * Возвращает все привязки фич для плана
2071
+ * @summary Список привязок фич плана
2072
+ * @param {string} xTenantId ID тенанта (или API key)
2073
+ * @param {string} projectId
2074
+ * @param {string} planId
2075
+ * @param {*} [options] Override http request option.
2076
+ * @throws {RequiredError}
2077
+ */
2078
+ planFeaturesControllerList(xTenantId: string, projectId: string, planId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlanFeatureListResponseDto, any, {}>>;
2079
+ /**
2080
+ * Обновляет enabled и/или limitValue
2081
+ * @summary Обновить привязку
2082
+ * @param {string} xTenantId ID тенанта (или API key)
2083
+ * @param {string} projectId
2084
+ * @param {string} planId
2085
+ * @param {string} id
2086
+ * @param {UpdatePlanFeatureDto} updatePlanFeatureDto
2087
+ * @param {*} [options] Override http request option.
2088
+ * @throws {RequiredError}
2089
+ */
2090
+ planFeaturesControllerUpdate(xTenantId: string, projectId: string, planId: string, id: string, updatePlanFeatureDto: UpdatePlanFeatureDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlanFeatureResponseDto, any, {}>>;
2091
+ /**
2092
+ * Создаёт тарифный план в проекте
2093
+ * @summary Создать план
2094
+ * @param {string} xTenantId ID тенанта (или API key)
2095
+ * @param {string} projectId
2096
+ * @param {CreatePlanDto} createPlanDto
2097
+ * @param {*} [options] Override http request option.
2098
+ * @throws {RequiredError}
2099
+ */
2100
+ plansControllerCreate(xTenantId: string, projectId: string, createPlanDto: CreatePlanDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlanResponseDto, any, {}>>;
2101
+ /**
2102
+ * Возвращает план по ID
2103
+ * @summary Получить план
2104
+ * @param {string} xTenantId ID тенанта (или API key)
2105
+ * @param {string} projectId
2106
+ * @param {string} id
2107
+ * @param {*} [options] Override http request option.
2108
+ * @throws {RequiredError}
2109
+ */
2110
+ plansControllerGet(xTenantId: string, projectId: string, id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlanResponseDto, any, {}>>;
2111
+ /**
2112
+ * Возвращает все планы проекта
2113
+ * @summary Список планов
2114
+ * @param {string} xTenantId ID тенанта (или API key)
2115
+ * @param {string} projectId
2116
+ * @param {*} [options] Override http request option.
2117
+ * @throws {RequiredError}
2118
+ */
2119
+ plansControllerList(xTenantId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlanListResponseDto, any, {}>>;
2120
+ /**
2121
+ * Обновляет поля плана (name, description, isPublic, isActive, sortOrder). code менять нельзя.
2122
+ * @summary Обновить план
2123
+ * @param {string} xTenantId ID тенанта (или API key)
2124
+ * @param {string} projectId
2125
+ * @param {string} id
2126
+ * @param {UpdatePlanDto} updatePlanDto
2127
+ * @param {*} [options] Override http request option.
2128
+ * @throws {RequiredError}
2129
+ */
2130
+ plansControllerUpdate(xTenantId: string, projectId: string, id: string, updatePlanDto: UpdatePlanDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlanResponseDto, any, {}>>;
2131
+ /**
2132
+ * Создаёт цену для плана в проекте
2133
+ * @summary Создать цену
2134
+ * @param {string} xTenantId ID тенанта (или API key)
2135
+ * @param {string} projectId
2136
+ * @param {CreatePriceDto} createPriceDto
2137
+ * @param {*} [options] Override http request option.
2138
+ * @throws {RequiredError}
2139
+ */
2140
+ pricesControllerCreate(xTenantId: string, projectId: string, createPriceDto: CreatePriceDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PriceResponseDto, any, {}>>;
2141
+ /**
2142
+ * Возвращает цену по ID
2143
+ * @summary Получить цену
2144
+ * @param {string} xTenantId ID тенанта (или API key)
2145
+ * @param {string} projectId
2146
+ * @param {string} id
2147
+ * @param {*} [options] Override http request option.
2148
+ * @throws {RequiredError}
2149
+ */
2150
+ pricesControllerGet(xTenantId: string, projectId: string, id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PriceResponseDto, any, {}>>;
2151
+ /**
2152
+ * Возвращает все цены проекта
2153
+ * @summary Список цен
2154
+ * @param {string} xTenantId ID тенанта (или API key)
2155
+ * @param {string} projectId
2156
+ * @param {*} [options] Override http request option.
2157
+ * @throws {RequiredError}
2158
+ */
2159
+ pricesControllerList(xTenantId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PriceListResponseDto, any, {}>>;
2160
+ /**
2161
+ * Обновляет поля цены. planId менять нельзя.
2162
+ * @summary Обновить цену
2163
+ * @param {string} xTenantId ID тенанта (или API key)
2164
+ * @param {string} projectId
2165
+ * @param {string} id
2166
+ * @param {UpdatePriceDto} updatePriceDto
2167
+ * @param {*} [options] Override http request option.
2168
+ * @throws {RequiredError}
2169
+ */
2170
+ pricesControllerUpdate(xTenantId: string, projectId: string, id: string, updatePriceDto: UpdatePriceDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PriceResponseDto, any, {}>>;
2171
+ }
2172
+ /**
2173
+ * CheckoutApi - axios parameter creator
2174
+ */
2175
+ export declare const CheckoutApiAxiosParamCreator: (configuration?: Configuration) => {
2176
+ /**
2177
+ * Создаёт подписку, счёт и платёж. Возвращает URL страницы оплаты — редиректьте пользователя туда. При успешной оплате провайдер перенаправит на successUrl.
2178
+ * @summary Создать checkout session
2179
+ * @param {string} idempotencyKey Ключ идемпотентности для защиты от дублей при повторах запроса
2180
+ * @param {string} xTenantId ID тенанта
2181
+ * @param {string} idempotencyKey2
2182
+ * @param {CreateCheckoutSessionDto} createCheckoutSessionDto
2183
+ * @param {*} [options] Override http request option.
2184
+ * @throws {RequiredError}
2185
+ */
2186
+ checkoutControllerCreate: (idempotencyKey: string, xTenantId: string, idempotencyKey2: string, createCheckoutSessionDto: CreateCheckoutSessionDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2187
+ };
2188
+ /**
2189
+ * CheckoutApi - functional programming interface
2190
+ */
2191
+ export declare const CheckoutApiFp: (configuration?: Configuration) => {
2192
+ /**
2193
+ * Создаёт подписку, счёт и платёж. Возвращает URL страницы оплаты — редиректьте пользователя туда. При успешной оплате провайдер перенаправит на successUrl.
2194
+ * @summary Создать checkout session
2195
+ * @param {string} idempotencyKey Ключ идемпотентности для защиты от дублей при повторах запроса
2196
+ * @param {string} xTenantId ID тенанта
2197
+ * @param {string} idempotencyKey2
2198
+ * @param {CreateCheckoutSessionDto} createCheckoutSessionDto
2199
+ * @param {*} [options] Override http request option.
2200
+ * @throws {RequiredError}
2201
+ */
2202
+ checkoutControllerCreate(idempotencyKey: string, xTenantId: string, idempotencyKey2: string, createCheckoutSessionDto: CreateCheckoutSessionDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateCheckoutSessionResponseDto>>;
2203
+ };
2204
+ /**
2205
+ * CheckoutApi - factory interface
2206
+ */
2207
+ export declare const CheckoutApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2208
+ /**
2209
+ * Создаёт подписку, счёт и платёж. Возвращает URL страницы оплаты — редиректьте пользователя туда. При успешной оплате провайдер перенаправит на successUrl.
2210
+ * @summary Создать checkout session
2211
+ * @param {string} idempotencyKey Ключ идемпотентности для защиты от дублей при повторах запроса
2212
+ * @param {string} xTenantId ID тенанта
2213
+ * @param {string} idempotencyKey2
2214
+ * @param {CreateCheckoutSessionDto} createCheckoutSessionDto
2215
+ * @param {*} [options] Override http request option.
2216
+ * @throws {RequiredError}
2217
+ */
2218
+ checkoutControllerCreate(idempotencyKey: string, xTenantId: string, idempotencyKey2: string, createCheckoutSessionDto: CreateCheckoutSessionDto, options?: RawAxiosRequestConfig): AxiosPromise<CreateCheckoutSessionResponseDto>;
2219
+ };
2220
+ /**
2221
+ * CheckoutApi - object-oriented interface
2222
+ */
2223
+ export declare class CheckoutApi extends BaseAPI {
2224
+ /**
2225
+ * Создаёт подписку, счёт и платёж. Возвращает URL страницы оплаты — редиректьте пользователя туда. При успешной оплате провайдер перенаправит на successUrl.
2226
+ * @summary Создать checkout session
2227
+ * @param {string} idempotencyKey Ключ идемпотентности для защиты от дублей при повторах запроса
2228
+ * @param {string} xTenantId ID тенанта
2229
+ * @param {string} idempotencyKey2
2230
+ * @param {CreateCheckoutSessionDto} createCheckoutSessionDto
2231
+ * @param {*} [options] Override http request option.
2232
+ * @throws {RequiredError}
2233
+ */
2234
+ checkoutControllerCreate(idempotencyKey: string, xTenantId: string, idempotencyKey2: string, createCheckoutSessionDto: CreateCheckoutSessionDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCheckoutSessionResponseDto, any, {}>>;
2235
+ }
2236
+ /**
2237
+ * CustomerAccountsApi - axios parameter creator
2238
+ */
2239
+ export declare const CustomerAccountsApiAxiosParamCreator: (configuration?: Configuration) => {
2240
+ /**
2241
+ * Создаёт плательщика подписок и связывает с внешней сущностью (workspace, tenant и т.п.) в вашем SaaS. Один external owner — один customer account в проекте.
2242
+ * @summary Создать customer account
2243
+ * @param {string} xTenantId ID тенанта
2244
+ * @param {string} projectId
2245
+ * @param {string} idempotencyKey Ключ идемпотентности
2246
+ * @param {CreateCustomerAccountDto} createCustomerAccountDto
2247
+ * @param {*} [options] Override http request option.
2248
+ * @throws {RequiredError}
2249
+ */
2250
+ customerAccountsControllerCreate: (xTenantId: string, projectId: string, idempotencyKey: string, createCustomerAccountDto: CreateCustomerAccountDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2251
+ /**
2252
+ * Возвращает данные плательщика по ID
2253
+ * @summary Получить customer account
2254
+ * @param {string} xTenantId ID тенанта
2255
+ * @param {string} projectId
2256
+ * @param {string} id
2257
+ * @param {*} [options] Override http request option.
2258
+ * @throws {RequiredError}
2259
+ */
2260
+ customerAccountsControllerGet: (xTenantId: string, projectId: string, id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2261
+ /**
2262
+ * Возвращает customer accounts проекта с пагинацией
2263
+ * @summary Список customer accounts
2264
+ * @param {string} xTenantId ID тенанта
2265
+ * @param {string} projectId
2266
+ * @param {*} [options] Override http request option.
2267
+ * @throws {RequiredError}
2268
+ */
2269
+ customerAccountsControllerList: (xTenantId: string, projectId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2270
+ };
2271
+ /**
2272
+ * CustomerAccountsApi - functional programming interface
2273
+ */
2274
+ export declare const CustomerAccountsApiFp: (configuration?: Configuration) => {
2275
+ /**
2276
+ * Создаёт плательщика подписок и связывает с внешней сущностью (workspace, tenant и т.п.) в вашем SaaS. Один external owner — один customer account в проекте.
2277
+ * @summary Создать customer account
2278
+ * @param {string} xTenantId ID тенанта
2279
+ * @param {string} projectId
2280
+ * @param {string} idempotencyKey Ключ идемпотентности
2281
+ * @param {CreateCustomerAccountDto} createCustomerAccountDto
2282
+ * @param {*} [options] Override http request option.
2283
+ * @throws {RequiredError}
2284
+ */
2285
+ customerAccountsControllerCreate(xTenantId: string, projectId: string, idempotencyKey: string, createCustomerAccountDto: CreateCustomerAccountDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateCustomerAccountResponseDto>>;
2286
+ /**
2287
+ * Возвращает данные плательщика по ID
2288
+ * @summary Получить customer account
2289
+ * @param {string} xTenantId ID тенанта
2290
+ * @param {string} projectId
2291
+ * @param {string} id
2292
+ * @param {*} [options] Override http request option.
2293
+ * @throws {RequiredError}
2294
+ */
2295
+ customerAccountsControllerGet(xTenantId: string, projectId: string, id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CustomerAccountResponseDto>>;
2296
+ /**
2297
+ * Возвращает customer accounts проекта с пагинацией
2298
+ * @summary Список customer accounts
2299
+ * @param {string} xTenantId ID тенанта
2300
+ * @param {string} projectId
2301
+ * @param {*} [options] Override http request option.
2302
+ * @throws {RequiredError}
2303
+ */
2304
+ customerAccountsControllerList(xTenantId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CustomerAccountListResponseDto>>;
2305
+ };
2306
+ /**
2307
+ * CustomerAccountsApi - factory interface
2308
+ */
2309
+ export declare const CustomerAccountsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2310
+ /**
2311
+ * Создаёт плательщика подписок и связывает с внешней сущностью (workspace, tenant и т.п.) в вашем SaaS. Один external owner — один customer account в проекте.
2312
+ * @summary Создать customer account
2313
+ * @param {string} xTenantId ID тенанта
2314
+ * @param {string} projectId
2315
+ * @param {string} idempotencyKey Ключ идемпотентности
2316
+ * @param {CreateCustomerAccountDto} createCustomerAccountDto
2317
+ * @param {*} [options] Override http request option.
2318
+ * @throws {RequiredError}
2319
+ */
2320
+ customerAccountsControllerCreate(xTenantId: string, projectId: string, idempotencyKey: string, createCustomerAccountDto: CreateCustomerAccountDto, options?: RawAxiosRequestConfig): AxiosPromise<CreateCustomerAccountResponseDto>;
2321
+ /**
2322
+ * Возвращает данные плательщика по ID
2323
+ * @summary Получить customer account
2324
+ * @param {string} xTenantId ID тенанта
2325
+ * @param {string} projectId
2326
+ * @param {string} id
2327
+ * @param {*} [options] Override http request option.
2328
+ * @throws {RequiredError}
2329
+ */
2330
+ customerAccountsControllerGet(xTenantId: string, projectId: string, id: string, options?: RawAxiosRequestConfig): AxiosPromise<CustomerAccountResponseDto>;
2331
+ /**
2332
+ * Возвращает customer accounts проекта с пагинацией
2333
+ * @summary Список customer accounts
2334
+ * @param {string} xTenantId ID тенанта
2335
+ * @param {string} projectId
2336
+ * @param {*} [options] Override http request option.
2337
+ * @throws {RequiredError}
2338
+ */
2339
+ customerAccountsControllerList(xTenantId: string, projectId: string, options?: RawAxiosRequestConfig): AxiosPromise<CustomerAccountListResponseDto>;
2340
+ };
2341
+ /**
2342
+ * CustomerAccountsApi - object-oriented interface
2343
+ */
2344
+ export declare class CustomerAccountsApi extends BaseAPI {
2345
+ /**
2346
+ * Создаёт плательщика подписок и связывает с внешней сущностью (workspace, tenant и т.п.) в вашем SaaS. Один external owner — один customer account в проекте.
2347
+ * @summary Создать customer account
2348
+ * @param {string} xTenantId ID тенанта
2349
+ * @param {string} projectId
2350
+ * @param {string} idempotencyKey Ключ идемпотентности
2351
+ * @param {CreateCustomerAccountDto} createCustomerAccountDto
2352
+ * @param {*} [options] Override http request option.
2353
+ * @throws {RequiredError}
2354
+ */
2355
+ customerAccountsControllerCreate(xTenantId: string, projectId: string, idempotencyKey: string, createCustomerAccountDto: CreateCustomerAccountDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCustomerAccountResponseDto, any, {}>>;
2356
+ /**
2357
+ * Возвращает данные плательщика по ID
2358
+ * @summary Получить customer account
2359
+ * @param {string} xTenantId ID тенанта
2360
+ * @param {string} projectId
2361
+ * @param {string} id
2362
+ * @param {*} [options] Override http request option.
2363
+ * @throws {RequiredError}
2364
+ */
2365
+ customerAccountsControllerGet(xTenantId: string, projectId: string, id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CustomerAccountResponseDto, any, {}>>;
2366
+ /**
2367
+ * Возвращает customer accounts проекта с пагинацией
2368
+ * @summary Список customer accounts
2369
+ * @param {string} xTenantId ID тенанта
2370
+ * @param {string} projectId
2371
+ * @param {*} [options] Override http request option.
2372
+ * @throws {RequiredError}
2373
+ */
2374
+ customerAccountsControllerList(xTenantId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CustomerAccountListResponseDto, any, {}>>;
2375
+ }
2376
+ /**
2377
+ * DevProductionApi - axios parameter creator
2378
+ */
2379
+ export declare const DevProductionApiAxiosParamCreator: (configuration?: Configuration) => {
2380
+ /**
2381
+ * Удаляет plans, prices, plan_features, addons, subscriptions, invoices, payments и entitlements проекта. Не трогает customer_accounts, promo_codes, проект.
2382
+ * @summary [DEV] Сбросить каталог и billing-данные проекта
2383
+ * @param {string} xTenantId
2384
+ * @param {string} projectId
2385
+ * @param {*} [options] Override http request option.
2386
+ * @throws {RequiredError}
2387
+ */
2388
+ catalogDevControllerResetCatalogForProject: (xTenantId: string, projectId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2389
+ };
2390
+ /**
2391
+ * DevProductionApi - functional programming interface
2392
+ */
2393
+ export declare const DevProductionApiFp: (configuration?: Configuration) => {
2394
+ /**
2395
+ * Удаляет plans, prices, plan_features, addons, subscriptions, invoices, payments и entitlements проекта. Не трогает customer_accounts, promo_codes, проект.
2396
+ * @summary [DEV] Сбросить каталог и billing-данные проекта
2397
+ * @param {string} xTenantId
2398
+ * @param {string} projectId
2399
+ * @param {*} [options] Override http request option.
2400
+ * @throws {RequiredError}
2401
+ */
2402
+ catalogDevControllerResetCatalogForProject(xTenantId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
2403
+ };
2404
+ /**
2405
+ * DevProductionApi - factory interface
2406
+ */
2407
+ export declare const DevProductionApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2408
+ /**
2409
+ * Удаляет plans, prices, plan_features, addons, subscriptions, invoices, payments и entitlements проекта. Не трогает customer_accounts, promo_codes, проект.
2410
+ * @summary [DEV] Сбросить каталог и billing-данные проекта
2411
+ * @param {string} xTenantId
2412
+ * @param {string} projectId
2413
+ * @param {*} [options] Override http request option.
2414
+ * @throws {RequiredError}
2415
+ */
2416
+ catalogDevControllerResetCatalogForProject(xTenantId: string, projectId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2417
+ };
2418
+ /**
2419
+ * DevProductionApi - object-oriented interface
2420
+ */
2421
+ export declare class DevProductionApi extends BaseAPI {
2422
+ /**
2423
+ * Удаляет plans, prices, plan_features, addons, subscriptions, invoices, payments и entitlements проекта. Не трогает customer_accounts, promo_codes, проект.
2424
+ * @summary [DEV] Сбросить каталог и billing-данные проекта
2425
+ * @param {string} xTenantId
2426
+ * @param {string} projectId
2427
+ * @param {*} [options] Override http request option.
2428
+ * @throws {RequiredError}
2429
+ */
2430
+ catalogDevControllerResetCatalogForProject(xTenantId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
2431
+ }
2432
+ /**
2433
+ * HealthApi - axios parameter creator
2434
+ */
2435
+ export declare const HealthApiAxiosParamCreator: (configuration?: Configuration) => {
2436
+ /**
2437
+ *
2438
+ * @param {*} [options] Override http request option.
2439
+ * @throws {RequiredError}
2440
+ */
2441
+ healthControllerHealth: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2442
+ /**
2443
+ *
2444
+ * @param {*} [options] Override http request option.
2445
+ * @throws {RequiredError}
2446
+ */
2447
+ healthControllerLive: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2448
+ /**
2449
+ *
2450
+ * @param {*} [options] Override http request option.
2451
+ * @throws {RequiredError}
2452
+ */
2453
+ healthControllerReady: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2454
+ };
2455
+ /**
2456
+ * HealthApi - functional programming interface
2457
+ */
2458
+ export declare const HealthApiFp: (configuration?: Configuration) => {
2459
+ /**
2460
+ *
2461
+ * @param {*} [options] Override http request option.
2462
+ * @throws {RequiredError}
2463
+ */
2464
+ healthControllerHealth(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
2465
+ /**
2466
+ *
2467
+ * @param {*} [options] Override http request option.
2468
+ * @throws {RequiredError}
2469
+ */
2470
+ healthControllerLive(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
2471
+ /**
2472
+ *
2473
+ * @param {*} [options] Override http request option.
2474
+ * @throws {RequiredError}
2475
+ */
2476
+ healthControllerReady(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
2477
+ };
2478
+ /**
2479
+ * HealthApi - factory interface
2480
+ */
2481
+ export declare const HealthApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2482
+ /**
2483
+ *
2484
+ * @param {*} [options] Override http request option.
2485
+ * @throws {RequiredError}
2486
+ */
2487
+ healthControllerHealth(options?: RawAxiosRequestConfig): AxiosPromise<void>;
2488
+ /**
2489
+ *
2490
+ * @param {*} [options] Override http request option.
2491
+ * @throws {RequiredError}
2492
+ */
2493
+ healthControllerLive(options?: RawAxiosRequestConfig): AxiosPromise<void>;
2494
+ /**
2495
+ *
2496
+ * @param {*} [options] Override http request option.
2497
+ * @throws {RequiredError}
2498
+ */
2499
+ healthControllerReady(options?: RawAxiosRequestConfig): AxiosPromise<void>;
2500
+ };
2501
+ /**
2502
+ * HealthApi - object-oriented interface
2503
+ */
2504
+ export declare class HealthApi extends BaseAPI {
2505
+ /**
2506
+ *
2507
+ * @param {*} [options] Override http request option.
2508
+ * @throws {RequiredError}
2509
+ */
2510
+ healthControllerHealth(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
2511
+ /**
2512
+ *
2513
+ * @param {*} [options] Override http request option.
2514
+ * @throws {RequiredError}
2515
+ */
2516
+ healthControllerLive(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
2517
+ /**
2518
+ *
2519
+ * @param {*} [options] Override http request option.
2520
+ * @throws {RequiredError}
2521
+ */
2522
+ healthControllerReady(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
2523
+ }
2524
+ /**
2525
+ * IntegrationKeysApi - axios parameter creator
2526
+ */
2527
+ export declare const IntegrationKeysApiAxiosParamCreator: (configuration?: Configuration) => {
2528
+ /**
2529
+ *
2530
+ * @summary Create project-scoped integration key (one-time reveal)
2531
+ * @param {string} projectId
2532
+ * @param {CreateIntegrationKeyDto} createIntegrationKeyDto
2533
+ * @param {*} [options] Override http request option.
2534
+ * @throws {RequiredError}
2535
+ */
2536
+ integrationKeysControllerCreate: (projectId: string, createIntegrationKeyDto: CreateIntegrationKeyDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2537
+ /**
2538
+ *
2539
+ * @summary List project integration keys
2540
+ * @param {string} projectId
2541
+ * @param {*} [options] Override http request option.
2542
+ * @throws {RequiredError}
2543
+ */
2544
+ integrationKeysControllerList: (projectId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2545
+ /**
2546
+ *
2547
+ * @summary Rename integration key
2548
+ * @param {string} projectId
2549
+ * @param {string} keyId
2550
+ * @param {UpdateIntegrationKeyDto} updateIntegrationKeyDto
2551
+ * @param {*} [options] Override http request option.
2552
+ * @throws {RequiredError}
2553
+ */
2554
+ integrationKeysControllerRename: (projectId: string, keyId: string, updateIntegrationKeyDto: UpdateIntegrationKeyDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2555
+ /**
2556
+ *
2557
+ * @summary Revoke integration key
2558
+ * @param {string} projectId
2559
+ * @param {string} keyId
2560
+ * @param {*} [options] Override http request option.
2561
+ * @throws {RequiredError}
2562
+ */
2563
+ integrationKeysControllerRevoke: (projectId: string, keyId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2564
+ };
2565
+ /**
2566
+ * IntegrationKeysApi - functional programming interface
2567
+ */
2568
+ export declare const IntegrationKeysApiFp: (configuration?: Configuration) => {
2569
+ /**
2570
+ *
2571
+ * @summary Create project-scoped integration key (one-time reveal)
2572
+ * @param {string} projectId
2573
+ * @param {CreateIntegrationKeyDto} createIntegrationKeyDto
2574
+ * @param {*} [options] Override http request option.
2575
+ * @throws {RequiredError}
2576
+ */
2577
+ integrationKeysControllerCreate(projectId: string, createIntegrationKeyDto: CreateIntegrationKeyDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateIntegrationKeyResponseDto>>;
2578
+ /**
2579
+ *
2580
+ * @summary List project integration keys
2581
+ * @param {string} projectId
2582
+ * @param {*} [options] Override http request option.
2583
+ * @throws {RequiredError}
2584
+ */
2585
+ integrationKeysControllerList(projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<IntegrationKeyItemDto>>>;
2586
+ /**
2587
+ *
2588
+ * @summary Rename integration key
2589
+ * @param {string} projectId
2590
+ * @param {string} keyId
2591
+ * @param {UpdateIntegrationKeyDto} updateIntegrationKeyDto
2592
+ * @param {*} [options] Override http request option.
2593
+ * @throws {RequiredError}
2594
+ */
2595
+ integrationKeysControllerRename(projectId: string, keyId: string, updateIntegrationKeyDto: UpdateIntegrationKeyDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IntegrationKeyItemDto>>;
2596
+ /**
2597
+ *
2598
+ * @summary Revoke integration key
2599
+ * @param {string} projectId
2600
+ * @param {string} keyId
2601
+ * @param {*} [options] Override http request option.
2602
+ * @throws {RequiredError}
2603
+ */
2604
+ integrationKeysControllerRevoke(projectId: string, keyId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
2605
+ };
2606
+ /**
2607
+ * IntegrationKeysApi - factory interface
2608
+ */
2609
+ export declare const IntegrationKeysApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2610
+ /**
2611
+ *
2612
+ * @summary Create project-scoped integration key (one-time reveal)
2613
+ * @param {string} projectId
2614
+ * @param {CreateIntegrationKeyDto} createIntegrationKeyDto
2615
+ * @param {*} [options] Override http request option.
2616
+ * @throws {RequiredError}
2617
+ */
2618
+ integrationKeysControllerCreate(projectId: string, createIntegrationKeyDto: CreateIntegrationKeyDto, options?: RawAxiosRequestConfig): AxiosPromise<CreateIntegrationKeyResponseDto>;
2619
+ /**
2620
+ *
2621
+ * @summary List project integration keys
2622
+ * @param {string} projectId
2623
+ * @param {*} [options] Override http request option.
2624
+ * @throws {RequiredError}
2625
+ */
2626
+ integrationKeysControllerList(projectId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<IntegrationKeyItemDto>>;
2627
+ /**
2628
+ *
2629
+ * @summary Rename integration key
2630
+ * @param {string} projectId
2631
+ * @param {string} keyId
2632
+ * @param {UpdateIntegrationKeyDto} updateIntegrationKeyDto
2633
+ * @param {*} [options] Override http request option.
2634
+ * @throws {RequiredError}
2635
+ */
2636
+ integrationKeysControllerRename(projectId: string, keyId: string, updateIntegrationKeyDto: UpdateIntegrationKeyDto, options?: RawAxiosRequestConfig): AxiosPromise<IntegrationKeyItemDto>;
2637
+ /**
2638
+ *
2639
+ * @summary Revoke integration key
2640
+ * @param {string} projectId
2641
+ * @param {string} keyId
2642
+ * @param {*} [options] Override http request option.
2643
+ * @throws {RequiredError}
2644
+ */
2645
+ integrationKeysControllerRevoke(projectId: string, keyId: string, options?: RawAxiosRequestConfig): AxiosPromise<any>;
2646
+ };
2647
+ /**
2648
+ * IntegrationKeysApi - object-oriented interface
2649
+ */
2650
+ export declare class IntegrationKeysApi extends BaseAPI {
2651
+ /**
2652
+ *
2653
+ * @summary Create project-scoped integration key (one-time reveal)
2654
+ * @param {string} projectId
2655
+ * @param {CreateIntegrationKeyDto} createIntegrationKeyDto
2656
+ * @param {*} [options] Override http request option.
2657
+ * @throws {RequiredError}
2658
+ */
2659
+ integrationKeysControllerCreate(projectId: string, createIntegrationKeyDto: CreateIntegrationKeyDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateIntegrationKeyResponseDto, any, {}>>;
2660
+ /**
2661
+ *
2662
+ * @summary List project integration keys
2663
+ * @param {string} projectId
2664
+ * @param {*} [options] Override http request option.
2665
+ * @throws {RequiredError}
2666
+ */
2667
+ integrationKeysControllerList(projectId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IntegrationKeyItemDto[], any, {}>>;
2668
+ /**
2669
+ *
2670
+ * @summary Rename integration key
2671
+ * @param {string} projectId
2672
+ * @param {string} keyId
2673
+ * @param {UpdateIntegrationKeyDto} updateIntegrationKeyDto
2674
+ * @param {*} [options] Override http request option.
2675
+ * @throws {RequiredError}
2676
+ */
2677
+ integrationKeysControllerRename(projectId: string, keyId: string, updateIntegrationKeyDto: UpdateIntegrationKeyDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IntegrationKeyItemDto, any, {}>>;
2678
+ /**
2679
+ *
2680
+ * @summary Revoke integration key
2681
+ * @param {string} projectId
2682
+ * @param {string} keyId
2683
+ * @param {*} [options] Override http request option.
2684
+ * @throws {RequiredError}
2685
+ */
2686
+ integrationKeysControllerRevoke(projectId: string, keyId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
2687
+ }
2688
+ /**
2689
+ * MetricsApi - axios parameter creator
2690
+ */
2691
+ export declare const MetricsApiAxiosParamCreator: (configuration?: Configuration) => {
2692
+ /**
2693
+ *
2694
+ * @param {*} [options] Override http request option.
2695
+ * @throws {RequiredError}
2696
+ */
2697
+ metricsControllerScrape: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2698
+ };
2699
+ /**
2700
+ * MetricsApi - functional programming interface
2701
+ */
2702
+ export declare const MetricsApiFp: (configuration?: Configuration) => {
2703
+ /**
2704
+ *
2705
+ * @param {*} [options] Override http request option.
2706
+ * @throws {RequiredError}
2707
+ */
2708
+ metricsControllerScrape(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
2709
+ };
2710
+ /**
2711
+ * MetricsApi - factory interface
2712
+ */
2713
+ export declare const MetricsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2714
+ /**
2715
+ *
2716
+ * @param {*} [options] Override http request option.
2717
+ * @throws {RequiredError}
2718
+ */
2719
+ metricsControllerScrape(options?: RawAxiosRequestConfig): AxiosPromise<void>;
2720
+ };
2721
+ /**
2722
+ * MetricsApi - object-oriented interface
2723
+ */
2724
+ export declare class MetricsApi extends BaseAPI {
2725
+ /**
2726
+ *
2727
+ * @param {*} [options] Override http request option.
2728
+ * @throws {RequiredError}
2729
+ */
2730
+ metricsControllerScrape(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
2731
+ }
2732
+ /**
2733
+ * PlatformApi - axios parameter creator
2734
+ */
2735
+ export declare const PlatformApiAxiosParamCreator: (configuration?: Configuration) => {
2736
+ /**
2737
+ * Создаёт проект внутри тенанта
2738
+ * @summary Создать проект
2739
+ * @param {string} xTenantId ID тенанта (или API key)
2740
+ * @param {CreateProjectDto} createProjectDto
2741
+ * @param {*} [options] Override http request option.
2742
+ * @throws {RequiredError}
2743
+ */
2744
+ projectsControllerCreate: (xTenantId: string, createProjectDto: CreateProjectDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2745
+ /**
2746
+ * Возвращает проект по ID
2747
+ * @summary Получить проект
2748
+ * @param {string} xTenantId ID тенанта (или API key)
2749
+ * @param {string} id
2750
+ * @param {*} [options] Override http request option.
2751
+ * @throws {RequiredError}
2752
+ */
2753
+ projectsControllerGet: (xTenantId: string, id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2754
+ /**
2755
+ * Возвращает все проекты тенанта
2756
+ * @summary Список проектов
2757
+ * @param {string} xTenantId ID тенанта (или API key)
2758
+ * @param {*} [options] Override http request option.
2759
+ * @throws {RequiredError}
2760
+ */
2761
+ projectsControllerList: (xTenantId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2762
+ /**
2763
+ * Позволяет обновить name и/или defaultCurrency для проекта
2764
+ * @summary Обновить проект
2765
+ * @param {string} xTenantId ID тенанта (или API key)
2766
+ * @param {string} id
2767
+ * @param {UpdateProjectDto} updateProjectDto
2768
+ * @param {*} [options] Override http request option.
2769
+ * @throws {RequiredError}
2770
+ */
2771
+ projectsControllerUpdate: (xTenantId: string, id: string, updateProjectDto: UpdateProjectDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2772
+ /**
2773
+ * Доступно только в development. Для production нужна platform admin auth.
2774
+ * @summary Создать тенанта (dev bootstrap)
2775
+ * @param {CreateTenantDto} createTenantDto
2776
+ * @param {*} [options] Override http request option.
2777
+ * @throws {RequiredError}
2778
+ */
2779
+ tenantsControllerCreate: (createTenantDto: CreateTenantDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2780
+ /**
2781
+ * Возвращает тенанта по ID. В dev — без auth.
2782
+ * @summary Получить тенанта (dev)
2783
+ * @param {string} id
2784
+ * @param {*} [options] Override http request option.
2785
+ * @throws {RequiredError}
2786
+ */
2787
+ tenantsControllerGet: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2788
+ };
2789
+ /**
2790
+ * PlatformApi - functional programming interface
2791
+ */
2792
+ export declare const PlatformApiFp: (configuration?: Configuration) => {
2793
+ /**
2794
+ * Создаёт проект внутри тенанта
2795
+ * @summary Создать проект
2796
+ * @param {string} xTenantId ID тенанта (или API key)
2797
+ * @param {CreateProjectDto} createProjectDto
2798
+ * @param {*} [options] Override http request option.
2799
+ * @throws {RequiredError}
2800
+ */
2801
+ projectsControllerCreate(xTenantId: string, createProjectDto: CreateProjectDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateProjectResponseDto>>;
2802
+ /**
2803
+ * Возвращает проект по ID
2804
+ * @summary Получить проект
2805
+ * @param {string} xTenantId ID тенанта (или API key)
2806
+ * @param {string} id
2807
+ * @param {*} [options] Override http request option.
2808
+ * @throws {RequiredError}
2809
+ */
2810
+ projectsControllerGet(xTenantId: string, id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectResponseDto>>;
2811
+ /**
2812
+ * Возвращает все проекты тенанта
2813
+ * @summary Список проектов
2814
+ * @param {string} xTenantId ID тенанта (или API key)
2815
+ * @param {*} [options] Override http request option.
2816
+ * @throws {RequiredError}
2817
+ */
2818
+ projectsControllerList(xTenantId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectListResponseDto>>;
2819
+ /**
2820
+ * Позволяет обновить name и/или defaultCurrency для проекта
2821
+ * @summary Обновить проект
2822
+ * @param {string} xTenantId ID тенанта (или API key)
2823
+ * @param {string} id
2824
+ * @param {UpdateProjectDto} updateProjectDto
2825
+ * @param {*} [options] Override http request option.
2826
+ * @throws {RequiredError}
2827
+ */
2828
+ projectsControllerUpdate(xTenantId: string, id: string, updateProjectDto: UpdateProjectDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectResponseDto>>;
2829
+ /**
2830
+ * Доступно только в development. Для production нужна platform admin auth.
2831
+ * @summary Создать тенанта (dev bootstrap)
2832
+ * @param {CreateTenantDto} createTenantDto
2833
+ * @param {*} [options] Override http request option.
2834
+ * @throws {RequiredError}
2835
+ */
2836
+ tenantsControllerCreate(createTenantDto: CreateTenantDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
2837
+ /**
2838
+ * Возвращает тенанта по ID. В dev — без auth.
2839
+ * @summary Получить тенанта (dev)
2840
+ * @param {string} id
2841
+ * @param {*} [options] Override http request option.
2842
+ * @throws {RequiredError}
2843
+ */
2844
+ tenantsControllerGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
2845
+ };
2846
+ /**
2847
+ * PlatformApi - factory interface
2848
+ */
2849
+ export declare const PlatformApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2850
+ /**
2851
+ * Создаёт проект внутри тенанта
2852
+ * @summary Создать проект
2853
+ * @param {string} xTenantId ID тенанта (или API key)
2854
+ * @param {CreateProjectDto} createProjectDto
2855
+ * @param {*} [options] Override http request option.
2856
+ * @throws {RequiredError}
2857
+ */
2858
+ projectsControllerCreate(xTenantId: string, createProjectDto: CreateProjectDto, options?: RawAxiosRequestConfig): AxiosPromise<CreateProjectResponseDto>;
2859
+ /**
2860
+ * Возвращает проект по ID
2861
+ * @summary Получить проект
2862
+ * @param {string} xTenantId ID тенанта (или API key)
2863
+ * @param {string} id
2864
+ * @param {*} [options] Override http request option.
2865
+ * @throws {RequiredError}
2866
+ */
2867
+ projectsControllerGet(xTenantId: string, id: string, options?: RawAxiosRequestConfig): AxiosPromise<ProjectResponseDto>;
2868
+ /**
2869
+ * Возвращает все проекты тенанта
2870
+ * @summary Список проектов
2871
+ * @param {string} xTenantId ID тенанта (или API key)
2872
+ * @param {*} [options] Override http request option.
2873
+ * @throws {RequiredError}
2874
+ */
2875
+ projectsControllerList(xTenantId: string, options?: RawAxiosRequestConfig): AxiosPromise<ProjectListResponseDto>;
2876
+ /**
2877
+ * Позволяет обновить name и/или defaultCurrency для проекта
2878
+ * @summary Обновить проект
2879
+ * @param {string} xTenantId ID тенанта (или API key)
2880
+ * @param {string} id
2881
+ * @param {UpdateProjectDto} updateProjectDto
2882
+ * @param {*} [options] Override http request option.
2883
+ * @throws {RequiredError}
2884
+ */
2885
+ projectsControllerUpdate(xTenantId: string, id: string, updateProjectDto: UpdateProjectDto, options?: RawAxiosRequestConfig): AxiosPromise<ProjectResponseDto>;
2886
+ /**
2887
+ * Доступно только в development. Для production нужна platform admin auth.
2888
+ * @summary Создать тенанта (dev bootstrap)
2889
+ * @param {CreateTenantDto} createTenantDto
2890
+ * @param {*} [options] Override http request option.
2891
+ * @throws {RequiredError}
2892
+ */
2893
+ tenantsControllerCreate(createTenantDto: CreateTenantDto, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2894
+ /**
2895
+ * Возвращает тенанта по ID. В dev — без auth.
2896
+ * @summary Получить тенанта (dev)
2897
+ * @param {string} id
2898
+ * @param {*} [options] Override http request option.
2899
+ * @throws {RequiredError}
2900
+ */
2901
+ tenantsControllerGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2902
+ };
2903
+ /**
2904
+ * PlatformApi - object-oriented interface
2905
+ */
2906
+ export declare class PlatformApi extends BaseAPI {
2907
+ /**
2908
+ * Создаёт проект внутри тенанта
2909
+ * @summary Создать проект
2910
+ * @param {string} xTenantId ID тенанта (или API key)
2911
+ * @param {CreateProjectDto} createProjectDto
2912
+ * @param {*} [options] Override http request option.
2913
+ * @throws {RequiredError}
2914
+ */
2915
+ projectsControllerCreate(xTenantId: string, createProjectDto: CreateProjectDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateProjectResponseDto, any, {}>>;
2916
+ /**
2917
+ * Возвращает проект по ID
2918
+ * @summary Получить проект
2919
+ * @param {string} xTenantId ID тенанта (или API key)
2920
+ * @param {string} id
2921
+ * @param {*} [options] Override http request option.
2922
+ * @throws {RequiredError}
2923
+ */
2924
+ projectsControllerGet(xTenantId: string, id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectResponseDto, any, {}>>;
2925
+ /**
2926
+ * Возвращает все проекты тенанта
2927
+ * @summary Список проектов
2928
+ * @param {string} xTenantId ID тенанта (или API key)
2929
+ * @param {*} [options] Override http request option.
2930
+ * @throws {RequiredError}
2931
+ */
2932
+ projectsControllerList(xTenantId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectListResponseDto, any, {}>>;
2933
+ /**
2934
+ * Позволяет обновить name и/или defaultCurrency для проекта
2935
+ * @summary Обновить проект
2936
+ * @param {string} xTenantId ID тенанта (или API key)
2937
+ * @param {string} id
2938
+ * @param {UpdateProjectDto} updateProjectDto
2939
+ * @param {*} [options] Override http request option.
2940
+ * @throws {RequiredError}
2941
+ */
2942
+ projectsControllerUpdate(xTenantId: string, id: string, updateProjectDto: UpdateProjectDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectResponseDto, any, {}>>;
2943
+ /**
2944
+ * Доступно только в development. Для production нужна platform admin auth.
2945
+ * @summary Создать тенанта (dev bootstrap)
2946
+ * @param {CreateTenantDto} createTenantDto
2947
+ * @param {*} [options] Override http request option.
2948
+ * @throws {RequiredError}
2949
+ */
2950
+ tenantsControllerCreate(createTenantDto: CreateTenantDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
2951
+ /**
2952
+ * Возвращает тенанта по ID. В dev — без auth.
2953
+ * @summary Получить тенанта (dev)
2954
+ * @param {string} id
2955
+ * @param {*} [options] Override http request option.
2956
+ * @throws {RequiredError}
2957
+ */
2958
+ tenantsControllerGet(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
2959
+ }
2960
+ /**
2961
+ * ProviderAccountsApi - axios parameter creator
2962
+ */
2963
+ export declare const ProviderAccountsApiAxiosParamCreator: (configuration?: Configuration) => {
2964
+ /**
2965
+ * Добавляет учётные данные платёжного провайдера (YooKassa, T-Bank, CloudPayments) для тенанта. Credentials шифруются в БД. Для YooKassa: { shopId, secretKey }.
2966
+ * @summary Создать provider account
2967
+ * @param {string} idempotencyKey Ключ идемпотентности
2968
+ * @param {string} xTenantId ID тенанта
2969
+ * @param {string} idempotencyKey2
2970
+ * @param {CreateProviderAccountDto} createProviderAccountDto
2971
+ * @param {*} [options] Override http request option.
2972
+ * @throws {RequiredError}
2973
+ */
2974
+ providerAccountsControllerCreate: (idempotencyKey: string, xTenantId: string, idempotencyKey2: string, createProviderAccountDto: CreateProviderAccountDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2975
+ /**
2976
+ * Возвращает provider account по ID (без credentials)
2977
+ * @summary Получить provider account
2978
+ * @param {string} idempotencyKey Ключ идемпотентности
2979
+ * @param {string} xTenantId ID тенанта
2980
+ * @param {string} id
2981
+ * @param {*} [options] Override http request option.
2982
+ * @throws {RequiredError}
2983
+ */
2984
+ providerAccountsControllerGet: (idempotencyKey: string, xTenantId: string, id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2985
+ /**
2986
+ * Возвращает provider accounts тенанта (без credentials)
2987
+ * @summary Список provider accounts
2988
+ * @param {string} idempotencyKey Ключ идемпотентности
2989
+ * @param {string} xTenantId ID тенанта
2990
+ * @param {*} [options] Override http request option.
2991
+ * @throws {RequiredError}
2992
+ */
2993
+ providerAccountsControllerList: (idempotencyKey: string, xTenantId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2994
+ /**
2995
+ * Обновляет mode и status. Credentials не меняются через этот endpoint.
2996
+ * @summary Обновить provider account
2997
+ * @param {string} idempotencyKey Ключ идемпотентности
2998
+ * @param {string} xTenantId ID тенанта
2999
+ * @param {string} id
3000
+ * @param {UpdateProviderAccountDto} updateProviderAccountDto
3001
+ * @param {*} [options] Override http request option.
3002
+ * @throws {RequiredError}
3003
+ */
3004
+ providerAccountsControllerUpdate: (idempotencyKey: string, xTenantId: string, id: string, updateProviderAccountDto: UpdateProviderAccountDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3005
+ };
3006
+ /**
3007
+ * ProviderAccountsApi - functional programming interface
3008
+ */
3009
+ export declare const ProviderAccountsApiFp: (configuration?: Configuration) => {
3010
+ /**
3011
+ * Добавляет учётные данные платёжного провайдера (YooKassa, T-Bank, CloudPayments) для тенанта. Credentials шифруются в БД. Для YooKassa: { shopId, secretKey }.
3012
+ * @summary Создать provider account
3013
+ * @param {string} idempotencyKey Ключ идемпотентности
3014
+ * @param {string} xTenantId ID тенанта
3015
+ * @param {string} idempotencyKey2
3016
+ * @param {CreateProviderAccountDto} createProviderAccountDto
3017
+ * @param {*} [options] Override http request option.
3018
+ * @throws {RequiredError}
3019
+ */
3020
+ providerAccountsControllerCreate(idempotencyKey: string, xTenantId: string, idempotencyKey2: string, createProviderAccountDto: CreateProviderAccountDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateProviderAccountResponseDto>>;
3021
+ /**
3022
+ * Возвращает provider account по ID (без credentials)
3023
+ * @summary Получить provider account
3024
+ * @param {string} idempotencyKey Ключ идемпотентности
3025
+ * @param {string} xTenantId ID тенанта
3026
+ * @param {string} id
3027
+ * @param {*} [options] Override http request option.
3028
+ * @throws {RequiredError}
3029
+ */
3030
+ providerAccountsControllerGet(idempotencyKey: string, xTenantId: string, id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProviderAccountResponseDto>>;
3031
+ /**
3032
+ * Возвращает provider accounts тенанта (без credentials)
3033
+ * @summary Список provider accounts
3034
+ * @param {string} idempotencyKey Ключ идемпотентности
3035
+ * @param {string} xTenantId ID тенанта
3036
+ * @param {*} [options] Override http request option.
3037
+ * @throws {RequiredError}
3038
+ */
3039
+ providerAccountsControllerList(idempotencyKey: string, xTenantId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProviderAccountListResponseDto>>;
3040
+ /**
3041
+ * Обновляет mode и status. Credentials не меняются через этот endpoint.
3042
+ * @summary Обновить provider account
3043
+ * @param {string} idempotencyKey Ключ идемпотентности
3044
+ * @param {string} xTenantId ID тенанта
3045
+ * @param {string} id
3046
+ * @param {UpdateProviderAccountDto} updateProviderAccountDto
3047
+ * @param {*} [options] Override http request option.
3048
+ * @throws {RequiredError}
3049
+ */
3050
+ providerAccountsControllerUpdate(idempotencyKey: string, xTenantId: string, id: string, updateProviderAccountDto: UpdateProviderAccountDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProviderAccountResponseDto>>;
3051
+ };
3052
+ /**
3053
+ * ProviderAccountsApi - factory interface
3054
+ */
3055
+ export declare const ProviderAccountsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3056
+ /**
3057
+ * Добавляет учётные данные платёжного провайдера (YooKassa, T-Bank, CloudPayments) для тенанта. Credentials шифруются в БД. Для YooKassa: { shopId, secretKey }.
3058
+ * @summary Создать provider account
3059
+ * @param {string} idempotencyKey Ключ идемпотентности
3060
+ * @param {string} xTenantId ID тенанта
3061
+ * @param {string} idempotencyKey2
3062
+ * @param {CreateProviderAccountDto} createProviderAccountDto
3063
+ * @param {*} [options] Override http request option.
3064
+ * @throws {RequiredError}
3065
+ */
3066
+ providerAccountsControllerCreate(idempotencyKey: string, xTenantId: string, idempotencyKey2: string, createProviderAccountDto: CreateProviderAccountDto, options?: RawAxiosRequestConfig): AxiosPromise<CreateProviderAccountResponseDto>;
3067
+ /**
3068
+ * Возвращает provider account по ID (без credentials)
3069
+ * @summary Получить provider account
3070
+ * @param {string} idempotencyKey Ключ идемпотентности
3071
+ * @param {string} xTenantId ID тенанта
3072
+ * @param {string} id
3073
+ * @param {*} [options] Override http request option.
3074
+ * @throws {RequiredError}
3075
+ */
3076
+ providerAccountsControllerGet(idempotencyKey: string, xTenantId: string, id: string, options?: RawAxiosRequestConfig): AxiosPromise<ProviderAccountResponseDto>;
3077
+ /**
3078
+ * Возвращает provider accounts тенанта (без credentials)
3079
+ * @summary Список provider accounts
3080
+ * @param {string} idempotencyKey Ключ идемпотентности
3081
+ * @param {string} xTenantId ID тенанта
3082
+ * @param {*} [options] Override http request option.
3083
+ * @throws {RequiredError}
3084
+ */
3085
+ providerAccountsControllerList(idempotencyKey: string, xTenantId: string, options?: RawAxiosRequestConfig): AxiosPromise<ProviderAccountListResponseDto>;
3086
+ /**
3087
+ * Обновляет mode и status. Credentials не меняются через этот endpoint.
3088
+ * @summary Обновить provider account
3089
+ * @param {string} idempotencyKey Ключ идемпотентности
3090
+ * @param {string} xTenantId ID тенанта
3091
+ * @param {string} id
3092
+ * @param {UpdateProviderAccountDto} updateProviderAccountDto
3093
+ * @param {*} [options] Override http request option.
3094
+ * @throws {RequiredError}
3095
+ */
3096
+ providerAccountsControllerUpdate(idempotencyKey: string, xTenantId: string, id: string, updateProviderAccountDto: UpdateProviderAccountDto, options?: RawAxiosRequestConfig): AxiosPromise<ProviderAccountResponseDto>;
3097
+ };
3098
+ /**
3099
+ * ProviderAccountsApi - object-oriented interface
3100
+ */
3101
+ export declare class ProviderAccountsApi extends BaseAPI {
3102
+ /**
3103
+ * Добавляет учётные данные платёжного провайдера (YooKassa, T-Bank, CloudPayments) для тенанта. Credentials шифруются в БД. Для YooKassa: { shopId, secretKey }.
3104
+ * @summary Создать provider account
3105
+ * @param {string} idempotencyKey Ключ идемпотентности
3106
+ * @param {string} xTenantId ID тенанта
3107
+ * @param {string} idempotencyKey2
3108
+ * @param {CreateProviderAccountDto} createProviderAccountDto
3109
+ * @param {*} [options] Override http request option.
3110
+ * @throws {RequiredError}
3111
+ */
3112
+ providerAccountsControllerCreate(idempotencyKey: string, xTenantId: string, idempotencyKey2: string, createProviderAccountDto: CreateProviderAccountDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateProviderAccountResponseDto, any, {}>>;
3113
+ /**
3114
+ * Возвращает provider account по ID (без credentials)
3115
+ * @summary Получить provider account
3116
+ * @param {string} idempotencyKey Ключ идемпотентности
3117
+ * @param {string} xTenantId ID тенанта
3118
+ * @param {string} id
3119
+ * @param {*} [options] Override http request option.
3120
+ * @throws {RequiredError}
3121
+ */
3122
+ providerAccountsControllerGet(idempotencyKey: string, xTenantId: string, id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProviderAccountResponseDto, any, {}>>;
3123
+ /**
3124
+ * Возвращает provider accounts тенанта (без credentials)
3125
+ * @summary Список provider accounts
3126
+ * @param {string} idempotencyKey Ключ идемпотентности
3127
+ * @param {string} xTenantId ID тенанта
3128
+ * @param {*} [options] Override http request option.
3129
+ * @throws {RequiredError}
3130
+ */
3131
+ providerAccountsControllerList(idempotencyKey: string, xTenantId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProviderAccountListResponseDto, any, {}>>;
3132
+ /**
3133
+ * Обновляет mode и status. Credentials не меняются через этот endpoint.
3134
+ * @summary Обновить provider account
3135
+ * @param {string} idempotencyKey Ключ идемпотентности
3136
+ * @param {string} xTenantId ID тенанта
3137
+ * @param {string} id
3138
+ * @param {UpdateProviderAccountDto} updateProviderAccountDto
3139
+ * @param {*} [options] Override http request option.
3140
+ * @throws {RequiredError}
3141
+ */
3142
+ providerAccountsControllerUpdate(idempotencyKey: string, xTenantId: string, id: string, updateProviderAccountDto: UpdateProviderAccountDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProviderAccountResponseDto, any, {}>>;
3143
+ }
3144
+ /**
3145
+ * SubscriptionsApi - axios parameter creator
3146
+ */
3147
+ export declare const SubscriptionsApiAxiosParamCreator: (configuration?: Configuration) => {
3148
+ /**
3149
+ * Upgrade (immediate): применяется сразу, создаётся invoice и payment, возвращается confirmationUrl для редиректа на оплату. Downgrade (period_end): планируется на конец текущего периода, без оплаты.
3150
+ * @summary Сменить план подписки
3151
+ * @param {string} xTenantId ID тенанта
3152
+ * @param {string} id
3153
+ * @param {ChangePlanDto} changePlanDto
3154
+ * @param {*} [options] Override http request option.
3155
+ * @throws {RequiredError}
3156
+ */
3157
+ subscriptionsControllerChangePlan: (xTenantId: string, id: string, changePlanDto: ChangePlanDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3158
+ };
3159
+ /**
3160
+ * SubscriptionsApi - functional programming interface
3161
+ */
3162
+ export declare const SubscriptionsApiFp: (configuration?: Configuration) => {
3163
+ /**
3164
+ * Upgrade (immediate): применяется сразу, создаётся invoice и payment, возвращается confirmationUrl для редиректа на оплату. Downgrade (period_end): планируется на конец текущего периода, без оплаты.
3165
+ * @summary Сменить план подписки
3166
+ * @param {string} xTenantId ID тенанта
3167
+ * @param {string} id
3168
+ * @param {ChangePlanDto} changePlanDto
3169
+ * @param {*} [options] Override http request option.
3170
+ * @throws {RequiredError}
3171
+ */
3172
+ subscriptionsControllerChangePlan(xTenantId: string, id: string, changePlanDto: ChangePlanDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChangePlanResponseDto>>;
3173
+ };
3174
+ /**
3175
+ * SubscriptionsApi - factory interface
3176
+ */
3177
+ export declare const SubscriptionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3178
+ /**
3179
+ * Upgrade (immediate): применяется сразу, создаётся invoice и payment, возвращается confirmationUrl для редиректа на оплату. Downgrade (period_end): планируется на конец текущего периода, без оплаты.
3180
+ * @summary Сменить план подписки
3181
+ * @param {string} xTenantId ID тенанта
3182
+ * @param {string} id
3183
+ * @param {ChangePlanDto} changePlanDto
3184
+ * @param {*} [options] Override http request option.
3185
+ * @throws {RequiredError}
3186
+ */
3187
+ subscriptionsControllerChangePlan(xTenantId: string, id: string, changePlanDto: ChangePlanDto, options?: RawAxiosRequestConfig): AxiosPromise<ChangePlanResponseDto>;
3188
+ };
3189
+ /**
3190
+ * SubscriptionsApi - object-oriented interface
3191
+ */
3192
+ export declare class SubscriptionsApi extends BaseAPI {
3193
+ /**
3194
+ * Upgrade (immediate): применяется сразу, создаётся invoice и payment, возвращается confirmationUrl для редиректа на оплату. Downgrade (period_end): планируется на конец текущего периода, без оплаты.
3195
+ * @summary Сменить план подписки
3196
+ * @param {string} xTenantId ID тенанта
3197
+ * @param {string} id
3198
+ * @param {ChangePlanDto} changePlanDto
3199
+ * @param {*} [options] Override http request option.
3200
+ * @throws {RequiredError}
3201
+ */
3202
+ subscriptionsControllerChangePlan(xTenantId: string, id: string, changePlanDto: ChangePlanDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChangePlanResponseDto, any, {}>>;
3203
+ }
3204
+ /**
3205
+ * WebhooksApi - axios parameter creator
3206
+ */
3207
+ export declare const WebhooksApiAxiosParamCreator: (configuration?: Configuration) => {
3208
+ /**
3209
+ *
3210
+ * @param {*} [options] Override http request option.
3211
+ * @throws {RequiredError}
3212
+ */
3213
+ webhooksControllerYookassa: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3214
+ };
3215
+ /**
3216
+ * WebhooksApi - functional programming interface
3217
+ */
3218
+ export declare const WebhooksApiFp: (configuration?: Configuration) => {
3219
+ /**
3220
+ *
3221
+ * @param {*} [options] Override http request option.
3222
+ * @throws {RequiredError}
3223
+ */
3224
+ webhooksControllerYookassa(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
3225
+ };
3226
+ /**
3227
+ * WebhooksApi - factory interface
3228
+ */
3229
+ export declare const WebhooksApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3230
+ /**
3231
+ *
3232
+ * @param {*} [options] Override http request option.
3233
+ * @throws {RequiredError}
3234
+ */
3235
+ webhooksControllerYookassa(options?: RawAxiosRequestConfig): AxiosPromise<void>;
3236
+ };
3237
+ /**
3238
+ * WebhooksApi - object-oriented interface
3239
+ */
3240
+ export declare class WebhooksApi extends BaseAPI {
3241
+ /**
3242
+ *
3243
+ * @param {*} [options] Override http request option.
3244
+ * @throws {RequiredError}
3245
+ */
3246
+ webhooksControllerYookassa(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
3247
+ }
3248
+ //# sourceMappingURL=api.d.ts.map