@mittwald/api-client 4.520.0 → 4.521.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.
@@ -658,18 +658,6 @@ export declare namespace MittwaldAPIV2 {
658
658
  type RequestData = InferredRequestData<typeof descriptors.customerCreateCustomer>;
659
659
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.customerCreateCustomer, TStatus>;
660
660
  }
661
- namespace CustomerCreateRecommendationSuggestion {
662
- type RequestData = InferredRequestData<typeof descriptors.customerCreateRecommendationSuggestion>;
663
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.customerCreateRecommendationSuggestion, TStatus>;
664
- }
665
- namespace CustomerGetWallet {
666
- type RequestData = InferredRequestData<typeof descriptors.customerGetWallet>;
667
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.customerGetWallet, TStatus>;
668
- }
669
- namespace CustomerCreateWallet {
670
- type RequestData = InferredRequestData<typeof descriptors.customerCreateWallet>;
671
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.customerCreateWallet, TStatus>;
672
- }
673
661
  namespace CustomerDeclineCustomerInvite {
674
662
  type RequestData = InferredRequestData<typeof descriptors.customerDeclineCustomerInvite>;
675
663
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.customerDeclineCustomerInvite, TStatus>;
@@ -1070,10 +1058,6 @@ export declare namespace MittwaldAPIV2 {
1070
1058
  type RequestData = InferredRequestData<typeof descriptors.extensionDisableExtensionInstance>;
1071
1059
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.extensionDisableExtensionInstance, TStatus>;
1072
1060
  }
1073
- namespace ExtensionDryRunWebhook {
1074
- type RequestData = InferredRequestData<typeof descriptors.extensionDryRunWebhook>;
1075
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.extensionDryRunWebhook, TStatus>;
1076
- }
1077
1061
  namespace ExtensionEnableExtensionInstance {
1078
1062
  type RequestData = InferredRequestData<typeof descriptors.extensionEnableExtensionInstance>;
1079
1063
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.extensionEnableExtensionInstance, TStatus>;
@@ -1886,14 +1870,6 @@ export declare namespace MittwaldAPIV2 {
1886
1870
  type RequestData = InferredRequestData<typeof descriptors.userUpdatePersonalizedSettings>;
1887
1871
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userUpdatePersonalizedSettings, TStatus>;
1888
1872
  }
1889
- namespace UserGetPollStatus {
1890
- type RequestData = InferredRequestData<typeof descriptors.userGetPollStatus>;
1891
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userGetPollStatus, TStatus>;
1892
- }
1893
- namespace UserPostPollStatus {
1894
- type RequestData = InferredRequestData<typeof descriptors.userPostPollStatus>;
1895
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userPostPollStatus, TStatus>;
1896
- }
1897
1873
  namespace UserGetSession {
1898
1874
  type RequestData = InferredRequestData<typeof descriptors.userGetSession>;
1899
1875
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userGetSession, TStatus>;
@@ -9147,14 +9123,6 @@ export declare namespace MittwaldAPIV2 {
9147
9123
  key: string;
9148
9124
  sshKeyId: string;
9149
9125
  }
9150
- interface PollUserPollSettings {
9151
- completedAt?: string;
9152
- dontShowUntil?: string;
9153
- ignoredAt?: string;
9154
- shouldShow: boolean;
9155
- status: "completed" | "muted" | "ignored" | "new";
9156
- userId: string;
9157
- }
9158
9126
  interface SignupUserSession {
9159
9127
  created: string;
9160
9128
  device: MittwaldAPIV2.Components.Schemas.SignupDeviceInfo;
@@ -18430,198 +18398,6 @@ export declare namespace MittwaldAPIV2 {
18430
18398
  }
18431
18399
  }
18432
18400
  }
18433
- namespace V2CustomersCustomerIdRecommendationSuggestions {
18434
- namespace Post {
18435
- namespace Parameters {
18436
- type Path = {
18437
- customerId: string;
18438
- };
18439
- interface RequestBody {
18440
- suggestion: string;
18441
- }
18442
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
18443
- type Query = {};
18444
- }
18445
- namespace Responses {
18446
- namespace $201 {
18447
- namespace Content {
18448
- interface ApplicationJson {
18449
- customerId?: string;
18450
- }
18451
- }
18452
- }
18453
- namespace $400 {
18454
- namespace Content {
18455
- interface ApplicationJson {
18456
- [k: string]: unknown;
18457
- }
18458
- }
18459
- }
18460
- namespace $404 {
18461
- namespace Content {
18462
- interface ApplicationJson {
18463
- [k: string]: unknown;
18464
- }
18465
- }
18466
- }
18467
- namespace $409 {
18468
- namespace Content {
18469
- interface ApplicationJson {
18470
- [k: string]: unknown;
18471
- }
18472
- }
18473
- }
18474
- namespace $412 {
18475
- namespace Content {
18476
- interface ApplicationJson {
18477
- [k: string]: unknown;
18478
- }
18479
- }
18480
- }
18481
- namespace $429 {
18482
- namespace Content {
18483
- interface ApplicationJson {
18484
- [k: string]: unknown;
18485
- }
18486
- }
18487
- }
18488
- namespace Default {
18489
- namespace Content {
18490
- interface ApplicationJson {
18491
- [k: string]: unknown;
18492
- }
18493
- }
18494
- }
18495
- }
18496
- }
18497
- }
18498
- namespace V2CustomersCustomerIdWallet {
18499
- namespace Get {
18500
- namespace Parameters {
18501
- type Path = {
18502
- customerId: string;
18503
- };
18504
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
18505
- type Query = {};
18506
- }
18507
- namespace Responses {
18508
- namespace $200 {
18509
- namespace Content {
18510
- interface ApplicationJson {
18511
- customerId: string;
18512
- points: number;
18513
- recommendationCode?: string;
18514
- walletId: string;
18515
- }
18516
- }
18517
- }
18518
- namespace $400 {
18519
- namespace Content {
18520
- interface ApplicationJson {
18521
- [k: string]: unknown;
18522
- }
18523
- }
18524
- }
18525
- namespace $404 {
18526
- namespace Content {
18527
- interface ApplicationJson {
18528
- [k: string]: unknown;
18529
- }
18530
- }
18531
- }
18532
- namespace $409 {
18533
- namespace Content {
18534
- interface ApplicationJson {
18535
- [k: string]: unknown;
18536
- }
18537
- }
18538
- }
18539
- namespace $412 {
18540
- namespace Content {
18541
- interface ApplicationJson {
18542
- [k: string]: unknown;
18543
- }
18544
- }
18545
- }
18546
- namespace $429 {
18547
- namespace Content {
18548
- interface ApplicationJson {
18549
- [k: string]: unknown;
18550
- }
18551
- }
18552
- }
18553
- namespace Default {
18554
- namespace Content {
18555
- interface ApplicationJson {
18556
- [k: string]: unknown;
18557
- }
18558
- }
18559
- }
18560
- }
18561
- }
18562
- namespace Post {
18563
- namespace Parameters {
18564
- type Path = {
18565
- customerId: string;
18566
- };
18567
- interface RequestBody {
18568
- }
18569
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
18570
- type Query = {};
18571
- }
18572
- namespace Responses {
18573
- namespace $200 {
18574
- namespace Content {
18575
- interface ApplicationJson {
18576
- customerId?: string;
18577
- }
18578
- }
18579
- }
18580
- namespace $400 {
18581
- namespace Content {
18582
- interface ApplicationJson {
18583
- [k: string]: unknown;
18584
- }
18585
- }
18586
- }
18587
- namespace $404 {
18588
- namespace Content {
18589
- interface ApplicationJson {
18590
- [k: string]: unknown;
18591
- }
18592
- }
18593
- }
18594
- namespace $409 {
18595
- namespace Content {
18596
- interface ApplicationJson {
18597
- [k: string]: unknown;
18598
- }
18599
- }
18600
- }
18601
- namespace $412 {
18602
- namespace Content {
18603
- interface ApplicationJson {
18604
- [k: string]: unknown;
18605
- }
18606
- }
18607
- }
18608
- namespace $429 {
18609
- namespace Content {
18610
- interface ApplicationJson {
18611
- [k: string]: unknown;
18612
- }
18613
- }
18614
- }
18615
- namespace Default {
18616
- namespace Content {
18617
- interface ApplicationJson {
18618
- [k: string]: unknown;
18619
- }
18620
- }
18621
- }
18622
- }
18623
- }
18624
- }
18625
18401
  namespace V2CustomerInvitesCustomerInviteIdActionsDecline {
18626
18402
  namespace Post {
18627
18403
  namespace Parameters {
@@ -23678,70 +23454,7 @@ export declare namespace MittwaldAPIV2 {
23678
23454
  }
23679
23455
  }
23680
23456
  }
23681
- namespace V2ContributorsContributorIdExtensionsExtensionIdExtensionInstancesExtensionInstanceIdActionsDryRunWebhookKind {
23682
- namespace Post {
23683
- namespace Parameters {
23684
- type Path = {
23685
- contributorId: string;
23686
- extensionId: string;
23687
- extensionInstanceId: string;
23688
- webhookKind: MittwaldAPIV2.Components.Schemas.MarketplaceWebhookKind;
23689
- };
23690
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
23691
- type Query = {
23692
- contextId?: string;
23693
- scopes?: string[];
23694
- instanceDisabled?: boolean;
23695
- createdAt?: string | Date;
23696
- secret?: string;
23697
- };
23698
- }
23699
- namespace Responses {
23700
- namespace $200 {
23701
- namespace Content {
23702
- interface ApplicationJson {
23703
- /**
23704
- * The error message of an internal error.
23705
- */
23706
- errorMessage?: string;
23707
- responseBody?: string;
23708
- /**
23709
- * The http status code that the external application responded with.
23710
- */
23711
- responseCode?: number;
23712
- responseHeaders?: string;
23713
- routeCalled: string;
23714
- /**
23715
- * This shows if the response of the external application has been accepted as successful.
23716
- */
23717
- successful: boolean;
23718
- }
23719
- }
23720
- }
23721
- namespace $400 {
23722
- namespace Content {
23723
- interface ApplicationJson {
23724
- [k: string]: unknown;
23725
- }
23726
- }
23727
- }
23728
- namespace $429 {
23729
- namespace Content {
23730
- interface ApplicationJson {
23731
- [k: string]: unknown;
23732
- }
23733
- }
23734
- }
23735
- namespace Default {
23736
- namespace Content {
23737
- interface ApplicationJson {
23738
- [k: string]: unknown;
23739
- }
23740
- }
23741
- }
23742
- }
23743
- }
23744
- }
23457
+ namespace V2ContributorsContributorIdExtensionsExtensionIdExtensionInstancesExtensionInstanceIdActionsDryRunWebhookKind { }
23745
23458
  namespace V2ExtensionInstancesExtensionInstanceIdActionsEnable {
23746
23459
  namespace Post {
23747
23460
  namespace Parameters {
@@ -34389,100 +34102,6 @@ export declare namespace MittwaldAPIV2 {
34389
34102
  }
34390
34103
  }
34391
34104
  }
34392
- namespace V2PollSettingsUserId {
34393
- namespace Get {
34394
- namespace Parameters {
34395
- type Path = {
34396
- userId: string;
34397
- };
34398
- type Header = {};
34399
- type Query = {};
34400
- }
34401
- namespace Responses {
34402
- namespace $200 {
34403
- namespace Content {
34404
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.PollUserPollSettings;
34405
- }
34406
- }
34407
- namespace $400 {
34408
- namespace Content {
34409
- interface ApplicationJson {
34410
- [k: string]: unknown;
34411
- }
34412
- }
34413
- }
34414
- namespace $404 {
34415
- namespace Content {
34416
- interface ApplicationJson {
34417
- [k: string]: unknown;
34418
- }
34419
- }
34420
- }
34421
- namespace $429 {
34422
- namespace Content {
34423
- interface ApplicationJson {
34424
- [k: string]: unknown;
34425
- }
34426
- }
34427
- }
34428
- namespace Default {
34429
- namespace Content {
34430
- interface ApplicationJson {
34431
- [k: string]: unknown;
34432
- }
34433
- }
34434
- }
34435
- }
34436
- }
34437
- namespace Post {
34438
- namespace Parameters {
34439
- type Path = {
34440
- userId: string;
34441
- };
34442
- interface RequestBody {
34443
- status: "completed" | "muted" | "ignored";
34444
- userId: string;
34445
- }
34446
- type Header = {};
34447
- type Query = {};
34448
- }
34449
- namespace Responses {
34450
- namespace $200 {
34451
- namespace Content {
34452
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.PollUserPollSettings;
34453
- }
34454
- }
34455
- namespace $400 {
34456
- namespace Content {
34457
- interface ApplicationJson {
34458
- [k: string]: unknown;
34459
- }
34460
- }
34461
- }
34462
- namespace $403 {
34463
- namespace Content {
34464
- interface ApplicationJson {
34465
- [k: string]: unknown;
34466
- }
34467
- }
34468
- }
34469
- namespace $429 {
34470
- namespace Content {
34471
- interface ApplicationJson {
34472
- [k: string]: unknown;
34473
- }
34474
- }
34475
- }
34476
- namespace Default {
34477
- namespace Content {
34478
- interface ApplicationJson {
34479
- [k: string]: unknown;
34480
- }
34481
- }
34482
- }
34483
- }
34484
- }
34485
- }
34486
34105
  namespace V2UsersSelfSessionsTokenId {
34487
34106
  namespace Get {
34488
34107
  namespace Parameters {
@@ -35765,6 +35384,7 @@ export declare namespace MittwaldAPIV2 {
35765
35384
  }
35766
35385
  }
35767
35386
  }
35387
+ namespace V2AppsMetrics { }
35768
35388
  namespace V2ProjectsProjectIdUsageMetricsBreakdown {
35769
35389
  namespace Get {
35770
35390
  namespace Parameters {
@@ -2133,19 +2133,6 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV3NextClient) => {
2133
2133
  page?: number | undefined;
2134
2134
  } | undefined;
2135
2135
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCustomerCustomer[]>;
2136
- /** Gets the Wallet of the Customer. */
2137
- getWallet: (conf: {
2138
- customerId: string;
2139
- headers?: {
2140
- [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
2141
- "x-access-token"?: string | undefined;
2142
- } | undefined;
2143
- }) => import("@mittwald/react-use-promise").AsyncResource<{
2144
- customerId: string;
2145
- points: number;
2146
- recommendationCode?: string | undefined;
2147
- walletId: string;
2148
- }>;
2149
2136
  /** Get a CustomerInvite. */
2150
2137
  getCustomerInvite: (conf: {
2151
2138
  customerInviteId: string;
@@ -3521,20 +3508,6 @@ declare const buildUserApi: (baseClient: MittwaldAPIV3NextClient) => {
3521
3508
  }) => import("@mittwald/react-use-promise").AsyncResource<{
3522
3509
  settingsString?: string | undefined;
3523
3510
  }>;
3524
- /** Get poll settings for the specified user. */
3525
- getPollStatus: (conf: {
3526
- userId: string;
3527
- headers?: {
3528
- [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
3529
- } | undefined;
3530
- }) => import("@mittwald/react-use-promise").AsyncResource<{
3531
- completedAt?: string | undefined;
3532
- dontShowUntil?: string | undefined;
3533
- ignoredAt?: string | undefined;
3534
- shouldShow: boolean;
3535
- status: "completed" | "muted" | "ignored" | "new";
3536
- userId: string;
3537
- }>;
3538
3511
  /** Get a specific session. */
3539
3512
  getSession: (conf: {
3540
3513
  tokenId: string;