waldur-js-client 7.7.2-dev.1 → 7.7.2

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
@@ -6238,7 +6238,7 @@ export const marketplaceChecklistsList = (options) => {
6238
6238
  /**
6239
6239
  * Mixin to optimize HEAD requests for DRF views bypassing serializer processing
6240
6240
  */
6241
- export const marketplaceChecklistsCategoriesList = (options) => {
6241
+ export const marketplaceChecklistsAdminList = (options) => {
6242
6242
  return (options?.client ?? _heyApiClient).get({
6243
6243
  security: [
6244
6244
  {
@@ -6250,15 +6250,35 @@ export const marketplaceChecklistsCategoriesList = (options) => {
6250
6250
  type: 'http'
6251
6251
  }
6252
6252
  ],
6253
- url: '/api/marketplace-checklists-categories/',
6253
+ url: '/api/marketplace-checklists-admin/',
6254
6254
  ...options
6255
6255
  });
6256
6256
  };
6257
+ export const marketplaceChecklistsAdminCreate = (options) => {
6258
+ return (options.client ?? _heyApiClient).post({
6259
+ security: [
6260
+ {
6261
+ name: 'Authorization',
6262
+ type: 'apiKey'
6263
+ },
6264
+ {
6265
+ scheme: 'bearer',
6266
+ type: 'http'
6267
+ }
6268
+ ],
6269
+ url: '/api/marketplace-checklists-admin/',
6270
+ ...options,
6271
+ headers: {
6272
+ 'Content-Type': 'application/json',
6273
+ ...options.headers
6274
+ }
6275
+ });
6276
+ };
6257
6277
  /**
6258
6278
  * Mixin to optimize HEAD requests for DRF views bypassing serializer processing
6259
6279
  */
6260
- export const marketplaceChecklistsCategoriesChecklistsList = (options) => {
6261
- return (options.client ?? _heyApiClient).get({
6280
+ export const marketplaceChecklistsAdminQuestionDependenciesList = (options) => {
6281
+ return (options?.client ?? _heyApiClient).get({
6262
6282
  security: [
6263
6283
  {
6264
6284
  name: 'Authorization',
@@ -6269,12 +6289,12 @@ export const marketplaceChecklistsCategoriesChecklistsList = (options) => {
6269
6289
  type: 'http'
6270
6290
  }
6271
6291
  ],
6272
- url: '/api/marketplace-checklists-categories/{category_uuid}/checklists/',
6292
+ url: '/api/marketplace-checklists-admin-question-dependencies/',
6273
6293
  ...options
6274
6294
  });
6275
6295
  };
6276
- export const marketplaceChecklistsCategoriesRetrieve = (options) => {
6277
- return (options.client ?? _heyApiClient).get({
6296
+ export const marketplaceChecklistsAdminQuestionDependenciesCreate = (options) => {
6297
+ return (options.client ?? _heyApiClient).post({
6278
6298
  security: [
6279
6299
  {
6280
6300
  name: 'Authorization',
@@ -6285,11 +6305,31 @@ export const marketplaceChecklistsCategoriesRetrieve = (options) => {
6285
6305
  type: 'http'
6286
6306
  }
6287
6307
  ],
6288
- url: '/api/marketplace-checklists-categories/{uuid}/',
6308
+ url: '/api/marketplace-checklists-admin-question-dependencies/',
6309
+ ...options,
6310
+ headers: {
6311
+ 'Content-Type': 'application/json',
6312
+ ...options.headers
6313
+ }
6314
+ });
6315
+ };
6316
+ export const marketplaceChecklistsAdminQuestionDependenciesDestroy = (options) => {
6317
+ return (options.client ?? _heyApiClient).delete({
6318
+ security: [
6319
+ {
6320
+ name: 'Authorization',
6321
+ type: 'apiKey'
6322
+ },
6323
+ {
6324
+ scheme: 'bearer',
6325
+ type: 'http'
6326
+ }
6327
+ ],
6328
+ url: '/api/marketplace-checklists-admin-question-dependencies/{uuid}/',
6289
6329
  ...options
6290
6330
  });
6291
6331
  };
6292
- export const marketplaceChecklistsRetrieve = (options) => {
6332
+ export const marketplaceChecklistsAdminQuestionDependenciesRetrieve = (options) => {
6293
6333
  return (options.client ?? _heyApiClient).get({
6294
6334
  security: [
6295
6335
  {
@@ -6301,14 +6341,106 @@ export const marketplaceChecklistsRetrieve = (options) => {
6301
6341
  type: 'http'
6302
6342
  }
6303
6343
  ],
6304
- url: '/api/marketplace-checklists/{checklist_uuid}/',
6344
+ url: '/api/marketplace-checklists-admin-question-dependencies/{uuid}/',
6305
6345
  ...options
6306
6346
  });
6307
6347
  };
6348
+ export const marketplaceChecklistsAdminQuestionDependenciesPartialUpdate = (options) => {
6349
+ return (options.client ?? _heyApiClient).patch({
6350
+ security: [
6351
+ {
6352
+ name: 'Authorization',
6353
+ type: 'apiKey'
6354
+ },
6355
+ {
6356
+ scheme: 'bearer',
6357
+ type: 'http'
6358
+ }
6359
+ ],
6360
+ url: '/api/marketplace-checklists-admin-question-dependencies/{uuid}/',
6361
+ ...options,
6362
+ headers: {
6363
+ 'Content-Type': 'application/json',
6364
+ ...options.headers
6365
+ }
6366
+ });
6367
+ };
6368
+ export const marketplaceChecklistsAdminQuestionDependenciesUpdate = (options) => {
6369
+ return (options.client ?? _heyApiClient).put({
6370
+ security: [
6371
+ {
6372
+ name: 'Authorization',
6373
+ type: 'apiKey'
6374
+ },
6375
+ {
6376
+ scheme: 'bearer',
6377
+ type: 'http'
6378
+ }
6379
+ ],
6380
+ url: '/api/marketplace-checklists-admin-question-dependencies/{uuid}/',
6381
+ ...options,
6382
+ headers: {
6383
+ 'Content-Type': 'application/json',
6384
+ ...options.headers
6385
+ }
6386
+ });
6387
+ };
6308
6388
  /**
6309
6389
  * Mixin to optimize HEAD requests for DRF views bypassing serializer processing
6310
6390
  */
6311
- export const marketplaceChecklistsAnswersList = (options) => {
6391
+ export const marketplaceChecklistsAdminQuestionOptionsList = (options) => {
6392
+ return (options?.client ?? _heyApiClient).get({
6393
+ security: [
6394
+ {
6395
+ name: 'Authorization',
6396
+ type: 'apiKey'
6397
+ },
6398
+ {
6399
+ scheme: 'bearer',
6400
+ type: 'http'
6401
+ }
6402
+ ],
6403
+ url: '/api/marketplace-checklists-admin-question-options/',
6404
+ ...options
6405
+ });
6406
+ };
6407
+ export const marketplaceChecklistsAdminQuestionOptionsCreate = (options) => {
6408
+ return (options.client ?? _heyApiClient).post({
6409
+ security: [
6410
+ {
6411
+ name: 'Authorization',
6412
+ type: 'apiKey'
6413
+ },
6414
+ {
6415
+ scheme: 'bearer',
6416
+ type: 'http'
6417
+ }
6418
+ ],
6419
+ url: '/api/marketplace-checklists-admin-question-options/',
6420
+ ...options,
6421
+ headers: {
6422
+ 'Content-Type': 'application/json',
6423
+ ...options.headers
6424
+ }
6425
+ });
6426
+ };
6427
+ export const marketplaceChecklistsAdminQuestionOptionsDestroy = (options) => {
6428
+ return (options.client ?? _heyApiClient).delete({
6429
+ security: [
6430
+ {
6431
+ name: 'Authorization',
6432
+ type: 'apiKey'
6433
+ },
6434
+ {
6435
+ scheme: 'bearer',
6436
+ type: 'http'
6437
+ }
6438
+ ],
6439
+ url: '/api/marketplace-checklists-admin-question-options/{uuid}/',
6440
+ ...options
6441
+ });
6442
+ };
6443
+ export const marketplaceChecklistsAdminQuestionOptionsRetrieve = (options) => {
6312
6444
  return (options.client ?? _heyApiClient).get({
6313
6445
  security: [
6314
6446
  {
@@ -6320,14 +6452,70 @@ export const marketplaceChecklistsAnswersList = (options) => {
6320
6452
  type: 'http'
6321
6453
  }
6322
6454
  ],
6323
- url: '/api/marketplace-checklists/{checklist_uuid}/answers/',
6455
+ url: '/api/marketplace-checklists-admin-question-options/{uuid}/',
6324
6456
  ...options
6325
6457
  });
6326
6458
  };
6459
+ export const marketplaceChecklistsAdminQuestionOptionsPartialUpdate = (options) => {
6460
+ return (options.client ?? _heyApiClient).patch({
6461
+ security: [
6462
+ {
6463
+ name: 'Authorization',
6464
+ type: 'apiKey'
6465
+ },
6466
+ {
6467
+ scheme: 'bearer',
6468
+ type: 'http'
6469
+ }
6470
+ ],
6471
+ url: '/api/marketplace-checklists-admin-question-options/{uuid}/',
6472
+ ...options,
6473
+ headers: {
6474
+ 'Content-Type': 'application/json',
6475
+ ...options.headers
6476
+ }
6477
+ });
6478
+ };
6479
+ export const marketplaceChecklistsAdminQuestionOptionsUpdate = (options) => {
6480
+ return (options.client ?? _heyApiClient).put({
6481
+ security: [
6482
+ {
6483
+ name: 'Authorization',
6484
+ type: 'apiKey'
6485
+ },
6486
+ {
6487
+ scheme: 'bearer',
6488
+ type: 'http'
6489
+ }
6490
+ ],
6491
+ url: '/api/marketplace-checklists-admin-question-options/{uuid}/',
6492
+ ...options,
6493
+ headers: {
6494
+ 'Content-Type': 'application/json',
6495
+ ...options.headers
6496
+ }
6497
+ });
6498
+ };
6327
6499
  /**
6328
- * Submit answer to checklist question
6500
+ * Mixin to optimize HEAD requests for DRF views bypassing serializer processing
6329
6501
  */
6330
- export const marketplaceChecklistsAnswersSubmitCreate = (options) => {
6502
+ export const marketplaceChecklistsAdminQuestionsList = (options) => {
6503
+ return (options?.client ?? _heyApiClient).get({
6504
+ security: [
6505
+ {
6506
+ name: 'Authorization',
6507
+ type: 'apiKey'
6508
+ },
6509
+ {
6510
+ scheme: 'bearer',
6511
+ type: 'http'
6512
+ }
6513
+ ],
6514
+ url: '/api/marketplace-checklists-admin-questions/',
6515
+ ...options
6516
+ });
6517
+ };
6518
+ export const marketplaceChecklistsAdminQuestionsCreate = (options) => {
6331
6519
  return (options.client ?? _heyApiClient).post({
6332
6520
  security: [
6333
6521
  {
@@ -6339,7 +6527,151 @@ export const marketplaceChecklistsAnswersSubmitCreate = (options) => {
6339
6527
  type: 'http'
6340
6528
  }
6341
6529
  ],
6342
- url: '/api/marketplace-checklists/{checklist_uuid}/answers/submit/',
6530
+ url: '/api/marketplace-checklists-admin-questions/',
6531
+ ...options,
6532
+ headers: {
6533
+ 'Content-Type': 'application/json',
6534
+ ...options.headers
6535
+ }
6536
+ });
6537
+ };
6538
+ export const marketplaceChecklistsAdminQuestionsDestroy = (options) => {
6539
+ return (options.client ?? _heyApiClient).delete({
6540
+ security: [
6541
+ {
6542
+ name: 'Authorization',
6543
+ type: 'apiKey'
6544
+ },
6545
+ {
6546
+ scheme: 'bearer',
6547
+ type: 'http'
6548
+ }
6549
+ ],
6550
+ url: '/api/marketplace-checklists-admin-questions/{uuid}/',
6551
+ ...options
6552
+ });
6553
+ };
6554
+ export const marketplaceChecklistsAdminQuestionsRetrieve = (options) => {
6555
+ return (options.client ?? _heyApiClient).get({
6556
+ security: [
6557
+ {
6558
+ name: 'Authorization',
6559
+ type: 'apiKey'
6560
+ },
6561
+ {
6562
+ scheme: 'bearer',
6563
+ type: 'http'
6564
+ }
6565
+ ],
6566
+ url: '/api/marketplace-checklists-admin-questions/{uuid}/',
6567
+ ...options
6568
+ });
6569
+ };
6570
+ export const marketplaceChecklistsAdminQuestionsPartialUpdate = (options) => {
6571
+ return (options.client ?? _heyApiClient).patch({
6572
+ security: [
6573
+ {
6574
+ name: 'Authorization',
6575
+ type: 'apiKey'
6576
+ },
6577
+ {
6578
+ scheme: 'bearer',
6579
+ type: 'http'
6580
+ }
6581
+ ],
6582
+ url: '/api/marketplace-checklists-admin-questions/{uuid}/',
6583
+ ...options,
6584
+ headers: {
6585
+ 'Content-Type': 'application/json',
6586
+ ...options.headers
6587
+ }
6588
+ });
6589
+ };
6590
+ export const marketplaceChecklistsAdminQuestionsUpdate = (options) => {
6591
+ return (options.client ?? _heyApiClient).put({
6592
+ security: [
6593
+ {
6594
+ name: 'Authorization',
6595
+ type: 'apiKey'
6596
+ },
6597
+ {
6598
+ scheme: 'bearer',
6599
+ type: 'http'
6600
+ }
6601
+ ],
6602
+ url: '/api/marketplace-checklists-admin-questions/{uuid}/',
6603
+ ...options,
6604
+ headers: {
6605
+ 'Content-Type': 'application/json',
6606
+ ...options.headers
6607
+ }
6608
+ });
6609
+ };
6610
+ export const marketplaceChecklistsAdminDestroy = (options) => {
6611
+ return (options.client ?? _heyApiClient).delete({
6612
+ security: [
6613
+ {
6614
+ name: 'Authorization',
6615
+ type: 'apiKey'
6616
+ },
6617
+ {
6618
+ scheme: 'bearer',
6619
+ type: 'http'
6620
+ }
6621
+ ],
6622
+ url: '/api/marketplace-checklists-admin/{uuid}/',
6623
+ ...options
6624
+ });
6625
+ };
6626
+ export const marketplaceChecklistsAdminRetrieve = (options) => {
6627
+ return (options.client ?? _heyApiClient).get({
6628
+ security: [
6629
+ {
6630
+ name: 'Authorization',
6631
+ type: 'apiKey'
6632
+ },
6633
+ {
6634
+ scheme: 'bearer',
6635
+ type: 'http'
6636
+ }
6637
+ ],
6638
+ url: '/api/marketplace-checklists-admin/{uuid}/',
6639
+ ...options
6640
+ });
6641
+ };
6642
+ export const marketplaceChecklistsAdminPartialUpdate = (options) => {
6643
+ return (options.client ?? _heyApiClient).patch({
6644
+ security: [
6645
+ {
6646
+ name: 'Authorization',
6647
+ type: 'apiKey'
6648
+ },
6649
+ {
6650
+ scheme: 'bearer',
6651
+ type: 'http'
6652
+ }
6653
+ ],
6654
+ url: '/api/marketplace-checklists-admin/{uuid}/',
6655
+ ...options,
6656
+ headers: {
6657
+ 'Content-Type': 'application/json',
6658
+ ...options.headers
6659
+ }
6660
+ });
6661
+ };
6662
+ export const marketplaceChecklistsAdminUpdate = (options) => {
6663
+ return (options.client ?? _heyApiClient).put({
6664
+ security: [
6665
+ {
6666
+ name: 'Authorization',
6667
+ type: 'apiKey'
6668
+ },
6669
+ {
6670
+ scheme: 'bearer',
6671
+ type: 'http'
6672
+ }
6673
+ ],
6674
+ url: '/api/marketplace-checklists-admin/{uuid}/',
6343
6675
  ...options,
6344
6676
  headers: {
6345
6677
  'Content-Type': 'application/json',
@@ -6347,10 +6679,48 @@ export const marketplaceChecklistsAnswersSubmitCreate = (options) => {
6347
6679
  }
6348
6680
  });
6349
6681
  };
6682
+ /**
6683
+ * Return checklist questions.
6684
+ */
6685
+ export const marketplaceChecklistsAdminChecklistQuestions = (options) => {
6686
+ return (options.client ?? _heyApiClient).get({
6687
+ security: [
6688
+ {
6689
+ name: 'Authorization',
6690
+ type: 'apiKey'
6691
+ },
6692
+ {
6693
+ scheme: 'bearer',
6694
+ type: 'http'
6695
+ }
6696
+ ],
6697
+ url: '/api/marketplace-checklists-admin/{uuid}/questions/',
6698
+ ...options
6699
+ });
6700
+ };
6350
6701
  /**
6351
6702
  * Mixin to optimize HEAD requests for DRF views bypassing serializer processing
6352
6703
  */
6353
- export const marketplaceChecklistsQuestionsList = (options) => {
6704
+ export const marketplaceChecklistsCategoriesList = (options) => {
6705
+ return (options?.client ?? _heyApiClient).get({
6706
+ security: [
6707
+ {
6708
+ name: 'Authorization',
6709
+ type: 'apiKey'
6710
+ },
6711
+ {
6712
+ scheme: 'bearer',
6713
+ type: 'http'
6714
+ }
6715
+ ],
6716
+ url: '/api/marketplace-checklists-categories/',
6717
+ ...options
6718
+ });
6719
+ };
6720
+ /**
6721
+ * Mixin to optimize HEAD requests for DRF views bypassing serializer processing
6722
+ */
6723
+ export const marketplaceChecklistsCategoriesChecklistsList = (options) => {
6354
6724
  return (options.client ?? _heyApiClient).get({
6355
6725
  security: [
6356
6726
  {
@@ -6362,10 +6732,68 @@ export const marketplaceChecklistsQuestionsList = (options) => {
6362
6732
  type: 'http'
6363
6733
  }
6364
6734
  ],
6365
- url: '/api/marketplace-checklists/{checklist_uuid}/questions/',
6735
+ url: '/api/marketplace-checklists-categories/{category_uuid}/checklists/',
6736
+ ...options
6737
+ });
6738
+ };
6739
+ export const marketplaceChecklistsCategoriesRetrieve = (options) => {
6740
+ return (options.client ?? _heyApiClient).get({
6741
+ security: [
6742
+ {
6743
+ name: 'Authorization',
6744
+ type: 'apiKey'
6745
+ },
6746
+ {
6747
+ scheme: 'bearer',
6748
+ type: 'http'
6749
+ }
6750
+ ],
6751
+ url: '/api/marketplace-checklists-categories/{uuid}/',
6752
+ ...options
6753
+ });
6754
+ };
6755
+ /**
6756
+ * Mixin to optimize HEAD requests for DRF views bypassing serializer processing
6757
+ */
6758
+ export const marketplaceChecklistsAnswersList = (options) => {
6759
+ return (options.client ?? _heyApiClient).get({
6760
+ security: [
6761
+ {
6762
+ name: 'Authorization',
6763
+ type: 'apiKey'
6764
+ },
6765
+ {
6766
+ scheme: 'bearer',
6767
+ type: 'http'
6768
+ }
6769
+ ],
6770
+ url: '/api/marketplace-checklists/{checklist_uuid}/answers/',
6366
6771
  ...options
6367
6772
  });
6368
6773
  };
6774
+ /**
6775
+ * Submit answer to checklist question
6776
+ */
6777
+ export const marketplaceChecklistsAnswersSubmitCreate = (options) => {
6778
+ return (options.client ?? _heyApiClient).post({
6779
+ security: [
6780
+ {
6781
+ name: 'Authorization',
6782
+ type: 'apiKey'
6783
+ },
6784
+ {
6785
+ scheme: 'bearer',
6786
+ type: 'http'
6787
+ }
6788
+ ],
6789
+ url: '/api/marketplace-checklists/{checklist_uuid}/answers/submit/',
6790
+ ...options,
6791
+ headers: {
6792
+ 'Content-Type': 'application/json',
6793
+ ...options.headers
6794
+ }
6795
+ });
6796
+ };
6369
6797
  /**
6370
6798
  * Checklist stats per customer
6371
6799
  */
@@ -6404,6 +6832,41 @@ export const marketplaceChecklistsUserAnswersList = (options) => {
6404
6832
  ...options
6405
6833
  });
6406
6834
  };
6835
+ export const marketplaceChecklistsRetrieve = (options) => {
6836
+ return (options.client ?? _heyApiClient).get({
6837
+ security: [
6838
+ {
6839
+ name: 'Authorization',
6840
+ type: 'apiKey'
6841
+ },
6842
+ {
6843
+ scheme: 'bearer',
6844
+ type: 'http'
6845
+ }
6846
+ ],
6847
+ url: '/api/marketplace-checklists/{uuid}/',
6848
+ ...options
6849
+ });
6850
+ };
6851
+ /**
6852
+ * Return questions available for current user.
6853
+ */
6854
+ export const marketplaceChecklistsQuestionsList = (options) => {
6855
+ return (options.client ?? _heyApiClient).get({
6856
+ security: [
6857
+ {
6858
+ name: 'Authorization',
6859
+ type: 'apiKey'
6860
+ },
6861
+ {
6862
+ scheme: 'bearer',
6863
+ type: 'http'
6864
+ }
6865
+ ],
6866
+ url: '/api/marketplace-checklists/{uuid}/questions/',
6867
+ ...options
6868
+ });
6869
+ };
6407
6870
  /**
6408
6871
  * Mixin to optimize HEAD requests for DRF views bypassing serializer processing
6409
6872
  */