waldur-js-client 8.0.8-dev.26 → 8.0.8-dev.28

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.
package/dist/sdk.gen.js CHANGED
@@ -7385,6 +7385,217 @@ export const chatSessionsCurrentRetrieve = (options) => {
7385
7385
  ...options
7386
7386
  });
7387
7387
  };
7388
+ export const chatSystemPromptsList = (options) => {
7389
+ return (options?.client ?? _heyApiClient).get({
7390
+ security: [
7391
+ {
7392
+ name: 'Authorization',
7393
+ type: 'apiKey'
7394
+ },
7395
+ {
7396
+ scheme: 'bearer',
7397
+ type: 'http'
7398
+ },
7399
+ {
7400
+ scheme: 'bearer',
7401
+ type: 'http'
7402
+ }
7403
+ ],
7404
+ url: '/api/chat-system-prompts/',
7405
+ ...options
7406
+ });
7407
+ };
7408
+ /**
7409
+ * Get number of items in the collection matching the request parameters.
7410
+ */
7411
+ export const chatSystemPromptsCount = (options) => {
7412
+ return (options?.client ?? _heyApiClient).head({
7413
+ security: [
7414
+ {
7415
+ name: 'Authorization',
7416
+ type: 'apiKey'
7417
+ },
7418
+ {
7419
+ scheme: 'bearer',
7420
+ type: 'http'
7421
+ },
7422
+ {
7423
+ scheme: 'bearer',
7424
+ type: 'http'
7425
+ }
7426
+ ],
7427
+ url: '/api/chat-system-prompts/',
7428
+ ...options
7429
+ });
7430
+ };
7431
+ export const chatSystemPromptsCreate = (options) => {
7432
+ return (options.client ?? _heyApiClient).post({
7433
+ security: [
7434
+ {
7435
+ name: 'Authorization',
7436
+ type: 'apiKey'
7437
+ },
7438
+ {
7439
+ scheme: 'bearer',
7440
+ type: 'http'
7441
+ },
7442
+ {
7443
+ scheme: 'bearer',
7444
+ type: 'http'
7445
+ }
7446
+ ],
7447
+ url: '/api/chat-system-prompts/',
7448
+ ...options,
7449
+ headers: {
7450
+ 'Content-Type': 'application/json',
7451
+ ...options.headers
7452
+ }
7453
+ });
7454
+ };
7455
+ export const chatSystemPromptsDestroy = (options) => {
7456
+ return (options.client ?? _heyApiClient).delete({
7457
+ security: [
7458
+ {
7459
+ name: 'Authorization',
7460
+ type: 'apiKey'
7461
+ },
7462
+ {
7463
+ scheme: 'bearer',
7464
+ type: 'http'
7465
+ },
7466
+ {
7467
+ scheme: 'bearer',
7468
+ type: 'http'
7469
+ }
7470
+ ],
7471
+ url: '/api/chat-system-prompts/{uuid}/',
7472
+ ...options
7473
+ });
7474
+ };
7475
+ export const chatSystemPromptsRetrieve = (options) => {
7476
+ return (options.client ?? _heyApiClient).get({
7477
+ security: [
7478
+ {
7479
+ name: 'Authorization',
7480
+ type: 'apiKey'
7481
+ },
7482
+ {
7483
+ scheme: 'bearer',
7484
+ type: 'http'
7485
+ },
7486
+ {
7487
+ scheme: 'bearer',
7488
+ type: 'http'
7489
+ }
7490
+ ],
7491
+ url: '/api/chat-system-prompts/{uuid}/',
7492
+ ...options
7493
+ });
7494
+ };
7495
+ export const chatSystemPromptsPartialUpdate = (options) => {
7496
+ return (options.client ?? _heyApiClient).patch({
7497
+ security: [
7498
+ {
7499
+ name: 'Authorization',
7500
+ type: 'apiKey'
7501
+ },
7502
+ {
7503
+ scheme: 'bearer',
7504
+ type: 'http'
7505
+ },
7506
+ {
7507
+ scheme: 'bearer',
7508
+ type: 'http'
7509
+ }
7510
+ ],
7511
+ url: '/api/chat-system-prompts/{uuid}/',
7512
+ ...options,
7513
+ headers: {
7514
+ 'Content-Type': 'application/json',
7515
+ ...options.headers
7516
+ }
7517
+ });
7518
+ };
7519
+ export const chatSystemPromptsUpdate = (options) => {
7520
+ return (options.client ?? _heyApiClient).put({
7521
+ security: [
7522
+ {
7523
+ name: 'Authorization',
7524
+ type: 'apiKey'
7525
+ },
7526
+ {
7527
+ scheme: 'bearer',
7528
+ type: 'http'
7529
+ },
7530
+ {
7531
+ scheme: 'bearer',
7532
+ type: 'http'
7533
+ }
7534
+ ],
7535
+ url: '/api/chat-system-prompts/{uuid}/',
7536
+ ...options,
7537
+ headers: {
7538
+ 'Content-Type': 'application/json',
7539
+ ...options.headers
7540
+ }
7541
+ });
7542
+ };
7543
+ /**
7544
+ * Activate a system prompt
7545
+ * Set this prompt as the active one. Deactivates any currently active prompt.
7546
+ */
7547
+ export const chatSystemPromptsActivate = (options) => {
7548
+ return (options.client ?? _heyApiClient).post({
7549
+ security: [
7550
+ {
7551
+ name: 'Authorization',
7552
+ type: 'apiKey'
7553
+ },
7554
+ {
7555
+ scheme: 'bearer',
7556
+ type: 'http'
7557
+ },
7558
+ {
7559
+ scheme: 'bearer',
7560
+ type: 'http'
7561
+ }
7562
+ ],
7563
+ url: '/api/chat-system-prompts/{uuid}/activate/',
7564
+ ...options,
7565
+ headers: {
7566
+ 'Content-Type': 'application/json',
7567
+ ...options.headers
7568
+ }
7569
+ });
7570
+ };
7571
+ /**
7572
+ * Deactivate the active system prompt
7573
+ * Deactivate this prompt. The system will fall back to Constance overrides or built-in defaults.
7574
+ */
7575
+ export const chatSystemPromptsDeactivate = (options) => {
7576
+ return (options.client ?? _heyApiClient).post({
7577
+ security: [
7578
+ {
7579
+ name: 'Authorization',
7580
+ type: 'apiKey'
7581
+ },
7582
+ {
7583
+ scheme: 'bearer',
7584
+ type: 'http'
7585
+ },
7586
+ {
7587
+ scheme: 'bearer',
7588
+ type: 'http'
7589
+ }
7590
+ ],
7591
+ url: '/api/chat-system-prompts/{uuid}/deactivate/',
7592
+ ...options,
7593
+ headers: {
7594
+ 'Content-Type': 'application/json',
7595
+ ...options.headers
7596
+ }
7597
+ });
7598
+ };
7388
7599
  export const chatThreadsList = (options) => {
7389
7600
  return (options?.client ?? _heyApiClient).get({
7390
7601
  security: [
@@ -52180,6 +52391,390 @@ export const rolesUpdateDescriptionsUpdate = (options) => {
52180
52391
  }
52181
52392
  });
52182
52393
  };
52394
+ export const scienceDomainsList = (options) => {
52395
+ return (options?.client ?? _heyApiClient).get({
52396
+ security: [
52397
+ {
52398
+ name: 'Authorization',
52399
+ type: 'apiKey'
52400
+ },
52401
+ {
52402
+ scheme: 'bearer',
52403
+ type: 'http'
52404
+ },
52405
+ {
52406
+ scheme: 'bearer',
52407
+ type: 'http'
52408
+ }
52409
+ ],
52410
+ url: '/api/science-domains/',
52411
+ ...options
52412
+ });
52413
+ };
52414
+ /**
52415
+ * Get number of items in the collection matching the request parameters.
52416
+ */
52417
+ export const scienceDomainsCount = (options) => {
52418
+ return (options?.client ?? _heyApiClient).head({
52419
+ security: [
52420
+ {
52421
+ name: 'Authorization',
52422
+ type: 'apiKey'
52423
+ },
52424
+ {
52425
+ scheme: 'bearer',
52426
+ type: 'http'
52427
+ },
52428
+ {
52429
+ scheme: 'bearer',
52430
+ type: 'http'
52431
+ }
52432
+ ],
52433
+ url: '/api/science-domains/',
52434
+ ...options
52435
+ });
52436
+ };
52437
+ export const scienceDomainsCreate = (options) => {
52438
+ return (options.client ?? _heyApiClient).post({
52439
+ security: [
52440
+ {
52441
+ name: 'Authorization',
52442
+ type: 'apiKey'
52443
+ },
52444
+ {
52445
+ scheme: 'bearer',
52446
+ type: 'http'
52447
+ },
52448
+ {
52449
+ scheme: 'bearer',
52450
+ type: 'http'
52451
+ }
52452
+ ],
52453
+ url: '/api/science-domains/',
52454
+ ...options,
52455
+ headers: {
52456
+ 'Content-Type': 'application/json',
52457
+ ...options.headers
52458
+ }
52459
+ });
52460
+ };
52461
+ export const scienceDomainsDestroy = (options) => {
52462
+ return (options.client ?? _heyApiClient).delete({
52463
+ security: [
52464
+ {
52465
+ name: 'Authorization',
52466
+ type: 'apiKey'
52467
+ },
52468
+ {
52469
+ scheme: 'bearer',
52470
+ type: 'http'
52471
+ },
52472
+ {
52473
+ scheme: 'bearer',
52474
+ type: 'http'
52475
+ }
52476
+ ],
52477
+ url: '/api/science-domains/{uuid}/',
52478
+ ...options
52479
+ });
52480
+ };
52481
+ export const scienceDomainsRetrieve = (options) => {
52482
+ return (options.client ?? _heyApiClient).get({
52483
+ security: [
52484
+ {
52485
+ name: 'Authorization',
52486
+ type: 'apiKey'
52487
+ },
52488
+ {
52489
+ scheme: 'bearer',
52490
+ type: 'http'
52491
+ },
52492
+ {
52493
+ scheme: 'bearer',
52494
+ type: 'http'
52495
+ }
52496
+ ],
52497
+ url: '/api/science-domains/{uuid}/',
52498
+ ...options
52499
+ });
52500
+ };
52501
+ export const scienceDomainsPartialUpdate = (options) => {
52502
+ return (options.client ?? _heyApiClient).patch({
52503
+ security: [
52504
+ {
52505
+ name: 'Authorization',
52506
+ type: 'apiKey'
52507
+ },
52508
+ {
52509
+ scheme: 'bearer',
52510
+ type: 'http'
52511
+ },
52512
+ {
52513
+ scheme: 'bearer',
52514
+ type: 'http'
52515
+ }
52516
+ ],
52517
+ url: '/api/science-domains/{uuid}/',
52518
+ ...options,
52519
+ headers: {
52520
+ 'Content-Type': 'application/json',
52521
+ ...options.headers
52522
+ }
52523
+ });
52524
+ };
52525
+ export const scienceDomainsUpdate = (options) => {
52526
+ return (options.client ?? _heyApiClient).put({
52527
+ security: [
52528
+ {
52529
+ name: 'Authorization',
52530
+ type: 'apiKey'
52531
+ },
52532
+ {
52533
+ scheme: 'bearer',
52534
+ type: 'http'
52535
+ },
52536
+ {
52537
+ scheme: 'bearer',
52538
+ type: 'http'
52539
+ }
52540
+ ],
52541
+ url: '/api/science-domains/{uuid}/',
52542
+ ...options,
52543
+ headers: {
52544
+ 'Content-Type': 'application/json',
52545
+ ...options.headers
52546
+ }
52547
+ });
52548
+ };
52549
+ /**
52550
+ * Load a science domain preset
52551
+ */
52552
+ export const scienceDomainsLoadPreset = (options) => {
52553
+ return (options.client ?? _heyApiClient).post({
52554
+ security: [
52555
+ {
52556
+ name: 'Authorization',
52557
+ type: 'apiKey'
52558
+ },
52559
+ {
52560
+ scheme: 'bearer',
52561
+ type: 'http'
52562
+ },
52563
+ {
52564
+ scheme: 'bearer',
52565
+ type: 'http'
52566
+ }
52567
+ ],
52568
+ url: '/api/science-domains/load_preset/',
52569
+ ...options,
52570
+ headers: {
52571
+ 'Content-Type': 'application/json',
52572
+ ...options.headers
52573
+ }
52574
+ });
52575
+ };
52576
+ /**
52577
+ * List available science domain presets
52578
+ */
52579
+ export const scienceDomainsPresetsList = (options) => {
52580
+ return (options?.client ?? _heyApiClient).get({
52581
+ security: [
52582
+ {
52583
+ name: 'Authorization',
52584
+ type: 'apiKey'
52585
+ },
52586
+ {
52587
+ scheme: 'bearer',
52588
+ type: 'http'
52589
+ },
52590
+ {
52591
+ scheme: 'bearer',
52592
+ type: 'http'
52593
+ }
52594
+ ],
52595
+ url: '/api/science-domains/presets/',
52596
+ ...options
52597
+ });
52598
+ };
52599
+ /**
52600
+ * List available science domain presets
52601
+ * Get number of items in the collection matching the request parameters.
52602
+ */
52603
+ export const scienceDomainsPresetsCount = (options) => {
52604
+ return (options?.client ?? _heyApiClient).head({
52605
+ security: [
52606
+ {
52607
+ name: 'Authorization',
52608
+ type: 'apiKey'
52609
+ },
52610
+ {
52611
+ scheme: 'bearer',
52612
+ type: 'http'
52613
+ },
52614
+ {
52615
+ scheme: 'bearer',
52616
+ type: 'http'
52617
+ }
52618
+ ],
52619
+ url: '/api/science-domains/presets/',
52620
+ ...options
52621
+ });
52622
+ };
52623
+ export const scienceSubDomainsList = (options) => {
52624
+ return (options?.client ?? _heyApiClient).get({
52625
+ security: [
52626
+ {
52627
+ name: 'Authorization',
52628
+ type: 'apiKey'
52629
+ },
52630
+ {
52631
+ scheme: 'bearer',
52632
+ type: 'http'
52633
+ },
52634
+ {
52635
+ scheme: 'bearer',
52636
+ type: 'http'
52637
+ }
52638
+ ],
52639
+ url: '/api/science-sub-domains/',
52640
+ ...options
52641
+ });
52642
+ };
52643
+ /**
52644
+ * Get number of items in the collection matching the request parameters.
52645
+ */
52646
+ export const scienceSubDomainsCount = (options) => {
52647
+ return (options?.client ?? _heyApiClient).head({
52648
+ security: [
52649
+ {
52650
+ name: 'Authorization',
52651
+ type: 'apiKey'
52652
+ },
52653
+ {
52654
+ scheme: 'bearer',
52655
+ type: 'http'
52656
+ },
52657
+ {
52658
+ scheme: 'bearer',
52659
+ type: 'http'
52660
+ }
52661
+ ],
52662
+ url: '/api/science-sub-domains/',
52663
+ ...options
52664
+ });
52665
+ };
52666
+ export const scienceSubDomainsCreate = (options) => {
52667
+ return (options.client ?? _heyApiClient).post({
52668
+ security: [
52669
+ {
52670
+ name: 'Authorization',
52671
+ type: 'apiKey'
52672
+ },
52673
+ {
52674
+ scheme: 'bearer',
52675
+ type: 'http'
52676
+ },
52677
+ {
52678
+ scheme: 'bearer',
52679
+ type: 'http'
52680
+ }
52681
+ ],
52682
+ url: '/api/science-sub-domains/',
52683
+ ...options,
52684
+ headers: {
52685
+ 'Content-Type': 'application/json',
52686
+ ...options.headers
52687
+ }
52688
+ });
52689
+ };
52690
+ export const scienceSubDomainsDestroy = (options) => {
52691
+ return (options.client ?? _heyApiClient).delete({
52692
+ security: [
52693
+ {
52694
+ name: 'Authorization',
52695
+ type: 'apiKey'
52696
+ },
52697
+ {
52698
+ scheme: 'bearer',
52699
+ type: 'http'
52700
+ },
52701
+ {
52702
+ scheme: 'bearer',
52703
+ type: 'http'
52704
+ }
52705
+ ],
52706
+ url: '/api/science-sub-domains/{uuid}/',
52707
+ ...options
52708
+ });
52709
+ };
52710
+ export const scienceSubDomainsRetrieve = (options) => {
52711
+ return (options.client ?? _heyApiClient).get({
52712
+ security: [
52713
+ {
52714
+ name: 'Authorization',
52715
+ type: 'apiKey'
52716
+ },
52717
+ {
52718
+ scheme: 'bearer',
52719
+ type: 'http'
52720
+ },
52721
+ {
52722
+ scheme: 'bearer',
52723
+ type: 'http'
52724
+ }
52725
+ ],
52726
+ url: '/api/science-sub-domains/{uuid}/',
52727
+ ...options
52728
+ });
52729
+ };
52730
+ export const scienceSubDomainsPartialUpdate = (options) => {
52731
+ return (options.client ?? _heyApiClient).patch({
52732
+ security: [
52733
+ {
52734
+ name: 'Authorization',
52735
+ type: 'apiKey'
52736
+ },
52737
+ {
52738
+ scheme: 'bearer',
52739
+ type: 'http'
52740
+ },
52741
+ {
52742
+ scheme: 'bearer',
52743
+ type: 'http'
52744
+ }
52745
+ ],
52746
+ url: '/api/science-sub-domains/{uuid}/',
52747
+ ...options,
52748
+ headers: {
52749
+ 'Content-Type': 'application/json',
52750
+ ...options.headers
52751
+ }
52752
+ });
52753
+ };
52754
+ export const scienceSubDomainsUpdate = (options) => {
52755
+ return (options.client ?? _heyApiClient).put({
52756
+ security: [
52757
+ {
52758
+ name: 'Authorization',
52759
+ type: 'apiKey'
52760
+ },
52761
+ {
52762
+ scheme: 'bearer',
52763
+ type: 'http'
52764
+ },
52765
+ {
52766
+ scheme: 'bearer',
52767
+ type: 'http'
52768
+ }
52769
+ ],
52770
+ url: '/api/science-sub-domains/{uuid}/',
52771
+ ...options,
52772
+ headers: {
52773
+ 'Content-Type': 'application/json',
52774
+ ...options.headers
52775
+ }
52776
+ });
52777
+ };
52183
52778
  export const serviceSettingsList = (options) => {
52184
52779
  return (options?.client ?? _heyApiClient).get({
52185
52780
  security: [