waldur-js-client 7.9.10-dev.13 → 7.9.10-dev.15

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
@@ -432,6 +432,1224 @@ export const adminAnnouncementsUpdate = (options) => {
432
432
  }
433
433
  });
434
434
  };
435
+ export const adminArrowBillingSyncItemsList = (options) => {
436
+ return (options?.client ?? _heyApiClient).get({
437
+ security: [
438
+ {
439
+ name: 'Authorization',
440
+ type: 'apiKey'
441
+ },
442
+ {
443
+ scheme: 'bearer',
444
+ type: 'http'
445
+ }
446
+ ],
447
+ url: '/api/admin/arrow/billing-sync-items/',
448
+ ...options
449
+ });
450
+ };
451
+ /**
452
+ * Get number of items in the collection matching the request parameters.
453
+ */
454
+ export const adminArrowBillingSyncItemsCount = (options) => {
455
+ return (options?.client ?? _heyApiClient).head({
456
+ security: [
457
+ {
458
+ name: 'Authorization',
459
+ type: 'apiKey'
460
+ },
461
+ {
462
+ scheme: 'bearer',
463
+ type: 'http'
464
+ }
465
+ ],
466
+ url: '/api/admin/arrow/billing-sync-items/',
467
+ ...options
468
+ });
469
+ };
470
+ export const adminArrowBillingSyncItemsRetrieve = (options) => {
471
+ return (options.client ?? _heyApiClient).get({
472
+ security: [
473
+ {
474
+ name: 'Authorization',
475
+ type: 'apiKey'
476
+ },
477
+ {
478
+ scheme: 'bearer',
479
+ type: 'http'
480
+ }
481
+ ],
482
+ url: '/api/admin/arrow/billing-sync-items/{uuid}/',
483
+ ...options
484
+ });
485
+ };
486
+ export const adminArrowBillingSyncsList = (options) => {
487
+ return (options?.client ?? _heyApiClient).get({
488
+ security: [
489
+ {
490
+ name: 'Authorization',
491
+ type: 'apiKey'
492
+ },
493
+ {
494
+ scheme: 'bearer',
495
+ type: 'http'
496
+ }
497
+ ],
498
+ url: '/api/admin/arrow/billing-syncs/',
499
+ ...options
500
+ });
501
+ };
502
+ /**
503
+ * Get number of items in the collection matching the request parameters.
504
+ */
505
+ export const adminArrowBillingSyncsCount = (options) => {
506
+ return (options?.client ?? _heyApiClient).head({
507
+ security: [
508
+ {
509
+ name: 'Authorization',
510
+ type: 'apiKey'
511
+ },
512
+ {
513
+ scheme: 'bearer',
514
+ type: 'http'
515
+ }
516
+ ],
517
+ url: '/api/admin/arrow/billing-syncs/',
518
+ ...options
519
+ });
520
+ };
521
+ export const adminArrowBillingSyncsRetrieve = (options) => {
522
+ return (options.client ?? _heyApiClient).get({
523
+ security: [
524
+ {
525
+ name: 'Authorization',
526
+ type: 'apiKey'
527
+ },
528
+ {
529
+ scheme: 'bearer',
530
+ type: 'http'
531
+ }
532
+ ],
533
+ url: '/api/admin/arrow/billing-syncs/{uuid}/',
534
+ ...options
535
+ });
536
+ };
537
+ /**
538
+ * Delete consumption records with optional dry-run preview.
539
+ */
540
+ export const adminArrowBillingSyncsCleanupConsumption = (options) => {
541
+ return (options?.client ?? _heyApiClient).post({
542
+ security: [
543
+ {
544
+ name: 'Authorization',
545
+ type: 'apiKey'
546
+ },
547
+ {
548
+ scheme: 'bearer',
549
+ type: 'http'
550
+ }
551
+ ],
552
+ url: '/api/admin/arrow/billing-syncs/cleanup_consumption/',
553
+ ...options,
554
+ headers: {
555
+ 'Content-Type': 'application/json',
556
+ ...options?.headers
557
+ }
558
+ });
559
+ };
560
+ /**
561
+ * Get consumption statistics.
562
+ */
563
+ export const adminArrowBillingSyncsConsumptionStatisticsRetrieve = (options) => {
564
+ return (options?.client ?? _heyApiClient).get({
565
+ security: [
566
+ {
567
+ name: 'Authorization',
568
+ type: 'apiKey'
569
+ },
570
+ {
571
+ scheme: 'bearer',
572
+ type: 'http'
573
+ }
574
+ ],
575
+ url: '/api/admin/arrow/billing-syncs/consumption_statistics/',
576
+ ...options
577
+ });
578
+ };
579
+ /**
580
+ * Get number of items in the collection matching the request parameters.
581
+ */
582
+ export const adminArrowBillingSyncsConsumptionStatisticsCount = (options) => {
583
+ return (options?.client ?? _heyApiClient).head({
584
+ security: [
585
+ {
586
+ name: 'Authorization',
587
+ type: 'apiKey'
588
+ },
589
+ {
590
+ scheme: 'bearer',
591
+ type: 'http'
592
+ }
593
+ ],
594
+ url: '/api/admin/arrow/billing-syncs/consumption_statistics/',
595
+ ...options
596
+ });
597
+ };
598
+ /**
599
+ * Get current consumption sync status.
600
+ */
601
+ export const adminArrowBillingSyncsConsumptionStatusRetrieve = (options) => {
602
+ return (options?.client ?? _heyApiClient).get({
603
+ security: [
604
+ {
605
+ name: 'Authorization',
606
+ type: 'apiKey'
607
+ },
608
+ {
609
+ scheme: 'bearer',
610
+ type: 'http'
611
+ }
612
+ ],
613
+ url: '/api/admin/arrow/billing-syncs/consumption_status/',
614
+ ...options
615
+ });
616
+ };
617
+ /**
618
+ * Get number of items in the collection matching the request parameters.
619
+ */
620
+ export const adminArrowBillingSyncsConsumptionStatusCount = (options) => {
621
+ return (options?.client ?? _heyApiClient).head({
622
+ security: [
623
+ {
624
+ name: 'Authorization',
625
+ type: 'apiKey'
626
+ },
627
+ {
628
+ scheme: 'bearer',
629
+ type: 'http'
630
+ }
631
+ ],
632
+ url: '/api/admin/arrow/billing-syncs/consumption_status/',
633
+ ...options
634
+ });
635
+ };
636
+ /**
637
+ * Fetch raw billing export from Arrow API.
638
+ */
639
+ export const adminArrowBillingSyncsFetchBillingExport = (options) => {
640
+ return (options.client ?? _heyApiClient).post({
641
+ security: [
642
+ {
643
+ name: 'Authorization',
644
+ type: 'apiKey'
645
+ },
646
+ {
647
+ scheme: 'bearer',
648
+ type: 'http'
649
+ }
650
+ ],
651
+ url: '/api/admin/arrow/billing-syncs/fetch_billing_export/',
652
+ ...options,
653
+ headers: {
654
+ 'Content-Type': 'application/json',
655
+ ...options.headers
656
+ }
657
+ });
658
+ };
659
+ /**
660
+ * Fetch raw consumption data from Arrow API.
661
+ */
662
+ export const adminArrowBillingSyncsFetchConsumption = (options) => {
663
+ return (options.client ?? _heyApiClient).post({
664
+ security: [
665
+ {
666
+ name: 'Authorization',
667
+ type: 'apiKey'
668
+ },
669
+ {
670
+ scheme: 'bearer',
671
+ type: 'http'
672
+ }
673
+ ],
674
+ url: '/api/admin/arrow/billing-syncs/fetch_consumption/',
675
+ ...options,
676
+ headers: {
677
+ 'Content-Type': 'application/json',
678
+ ...options.headers
679
+ }
680
+ });
681
+ };
682
+ /**
683
+ * Fetch license details from Arrow API.
684
+ */
685
+ export const adminArrowBillingSyncsFetchLicenseInfo = (options) => {
686
+ return (options.client ?? _heyApiClient).post({
687
+ security: [
688
+ {
689
+ name: 'Authorization',
690
+ type: 'apiKey'
691
+ },
692
+ {
693
+ scheme: 'bearer',
694
+ type: 'http'
695
+ }
696
+ ],
697
+ url: '/api/admin/arrow/billing-syncs/fetch_license_info/',
698
+ ...options,
699
+ headers: {
700
+ 'Content-Type': 'application/json',
701
+ ...options.headers
702
+ }
703
+ });
704
+ };
705
+ /**
706
+ * Pause consumption sync operations.
707
+ */
708
+ export const adminArrowBillingSyncsPauseSync = (options) => {
709
+ return (options?.client ?? _heyApiClient).post({
710
+ security: [
711
+ {
712
+ name: 'Authorization',
713
+ type: 'apiKey'
714
+ },
715
+ {
716
+ scheme: 'bearer',
717
+ type: 'http'
718
+ }
719
+ ],
720
+ url: '/api/admin/arrow/billing-syncs/pause_sync/',
721
+ ...options,
722
+ headers: {
723
+ 'Content-Type': 'application/json',
724
+ ...options?.headers
725
+ }
726
+ });
727
+ };
728
+ /**
729
+ * List pending consumption records (not yet finalized).
730
+ */
731
+ export const adminArrowBillingSyncsPendingRecordsList = (options) => {
732
+ return (options?.client ?? _heyApiClient).get({
733
+ security: [
734
+ {
735
+ name: 'Authorization',
736
+ type: 'apiKey'
737
+ },
738
+ {
739
+ scheme: 'bearer',
740
+ type: 'http'
741
+ }
742
+ ],
743
+ url: '/api/admin/arrow/billing-syncs/pending_records/',
744
+ ...options
745
+ });
746
+ };
747
+ /**
748
+ * Get number of items in the collection matching the request parameters.
749
+ */
750
+ export const adminArrowBillingSyncsPendingRecordsCount = (options) => {
751
+ return (options?.client ?? _heyApiClient).head({
752
+ security: [
753
+ {
754
+ name: 'Authorization',
755
+ type: 'apiKey'
756
+ },
757
+ {
758
+ scheme: 'bearer',
759
+ type: 'http'
760
+ }
761
+ ],
762
+ url: '/api/admin/arrow/billing-syncs/pending_records/',
763
+ ...options
764
+ });
765
+ };
766
+ /**
767
+ * Trigger reconciliation for a specific period.
768
+ */
769
+ export const adminArrowBillingSyncsReconcile = (options) => {
770
+ return (options.client ?? _heyApiClient).post({
771
+ security: [
772
+ {
773
+ name: 'Authorization',
774
+ type: 'apiKey'
775
+ },
776
+ {
777
+ scheme: 'bearer',
778
+ type: 'http'
779
+ }
780
+ ],
781
+ url: '/api/admin/arrow/billing-syncs/reconcile/',
782
+ ...options,
783
+ headers: {
784
+ 'Content-Type': 'application/json',
785
+ ...options.headers
786
+ }
787
+ });
788
+ };
789
+ /**
790
+ * Resume consumption sync operations.
791
+ */
792
+ export const adminArrowBillingSyncsResumeSync = (options) => {
793
+ return (options?.client ?? _heyApiClient).post({
794
+ security: [
795
+ {
796
+ name: 'Authorization',
797
+ type: 'apiKey'
798
+ },
799
+ {
800
+ scheme: 'bearer',
801
+ type: 'http'
802
+ }
803
+ ],
804
+ url: '/api/admin/arrow/billing-syncs/resume_sync/',
805
+ ...options,
806
+ headers: {
807
+ 'Content-Type': 'application/json',
808
+ ...options?.headers
809
+ }
810
+ });
811
+ };
812
+ /**
813
+ * Sync historical consumption for a specific resource from Arrow.
814
+ */
815
+ export const adminArrowBillingSyncsSyncResourceHistoricalConsumption = (options) => {
816
+ return (options.client ?? _heyApiClient).post({
817
+ security: [
818
+ {
819
+ name: 'Authorization',
820
+ type: 'apiKey'
821
+ },
822
+ {
823
+ scheme: 'bearer',
824
+ type: 'http'
825
+ }
826
+ ],
827
+ url: '/api/admin/arrow/billing-syncs/sync_resource_historical_consumption/',
828
+ ...options,
829
+ headers: {
830
+ 'Content-Type': 'application/json',
831
+ ...options.headers
832
+ }
833
+ });
834
+ };
835
+ /**
836
+ * Sync Arrow IAAS subscriptions to Waldur Resources. Matches subscriptions by Vendor Subscription ID to resource backend_id. Updates resource report and current_usages fields. With force_import=True, auto-creates Customers and Projects from Arrow data.
837
+ */
838
+ export const adminArrowBillingSyncsSyncResources = (options) => {
839
+ return (options?.client ?? _heyApiClient).post({
840
+ security: [
841
+ {
842
+ name: 'Authorization',
843
+ type: 'apiKey'
844
+ },
845
+ {
846
+ scheme: 'bearer',
847
+ type: 'http'
848
+ }
849
+ ],
850
+ url: '/api/admin/arrow/billing-syncs/sync_resources/',
851
+ ...options,
852
+ headers: {
853
+ 'Content-Type': 'application/json',
854
+ ...options?.headers
855
+ }
856
+ });
857
+ };
858
+ /**
859
+ * Trigger consumption sync for a specific period.
860
+ */
861
+ export const adminArrowBillingSyncsTriggerConsumptionSync = (options) => {
862
+ return (options.client ?? _heyApiClient).post({
863
+ security: [
864
+ {
865
+ name: 'Authorization',
866
+ type: 'apiKey'
867
+ },
868
+ {
869
+ scheme: 'bearer',
870
+ type: 'http'
871
+ }
872
+ ],
873
+ url: '/api/admin/arrow/billing-syncs/trigger_consumption_sync/',
874
+ ...options,
875
+ headers: {
876
+ 'Content-Type': 'application/json',
877
+ ...options.headers
878
+ }
879
+ });
880
+ };
881
+ /**
882
+ * Trigger reconciliation (check billing export and apply adjustments).
883
+ */
884
+ export const adminArrowBillingSyncsTriggerReconciliation = (options) => {
885
+ return (options.client ?? _heyApiClient).post({
886
+ security: [
887
+ {
888
+ name: 'Authorization',
889
+ type: 'apiKey'
890
+ },
891
+ {
892
+ scheme: 'bearer',
893
+ type: 'http'
894
+ }
895
+ ],
896
+ url: '/api/admin/arrow/billing-syncs/trigger_reconciliation/',
897
+ ...options,
898
+ headers: {
899
+ 'Content-Type': 'application/json',
900
+ ...options.headers
901
+ }
902
+ });
903
+ };
904
+ /**
905
+ * Trigger billing sync for a specific period.
906
+ */
907
+ export const adminArrowBillingSyncsTriggerSync = (options) => {
908
+ return (options.client ?? _heyApiClient).post({
909
+ security: [
910
+ {
911
+ name: 'Authorization',
912
+ type: 'apiKey'
913
+ },
914
+ {
915
+ scheme: 'bearer',
916
+ type: 'http'
917
+ }
918
+ ],
919
+ url: '/api/admin/arrow/billing-syncs/trigger_sync/',
920
+ ...options,
921
+ headers: {
922
+ 'Content-Type': 'application/json',
923
+ ...options.headers
924
+ }
925
+ });
926
+ };
927
+ export const adminArrowConsumptionRecordsList = (options) => {
928
+ return (options?.client ?? _heyApiClient).get({
929
+ security: [
930
+ {
931
+ name: 'Authorization',
932
+ type: 'apiKey'
933
+ },
934
+ {
935
+ scheme: 'bearer',
936
+ type: 'http'
937
+ }
938
+ ],
939
+ url: '/api/admin/arrow/consumption-records/',
940
+ ...options
941
+ });
942
+ };
943
+ /**
944
+ * Get number of items in the collection matching the request parameters.
945
+ */
946
+ export const adminArrowConsumptionRecordsCount = (options) => {
947
+ return (options?.client ?? _heyApiClient).head({
948
+ security: [
949
+ {
950
+ name: 'Authorization',
951
+ type: 'apiKey'
952
+ },
953
+ {
954
+ scheme: 'bearer',
955
+ type: 'http'
956
+ }
957
+ ],
958
+ url: '/api/admin/arrow/consumption-records/',
959
+ ...options
960
+ });
961
+ };
962
+ export const adminArrowConsumptionRecordsRetrieve = (options) => {
963
+ return (options.client ?? _heyApiClient).get({
964
+ security: [
965
+ {
966
+ name: 'Authorization',
967
+ type: 'apiKey'
968
+ },
969
+ {
970
+ scheme: 'bearer',
971
+ type: 'http'
972
+ }
973
+ ],
974
+ url: '/api/admin/arrow/consumption-records/{uuid}/',
975
+ ...options
976
+ });
977
+ };
978
+ export const adminArrowCustomerMappingsList = (options) => {
979
+ return (options?.client ?? _heyApiClient).get({
980
+ security: [
981
+ {
982
+ name: 'Authorization',
983
+ type: 'apiKey'
984
+ },
985
+ {
986
+ scheme: 'bearer',
987
+ type: 'http'
988
+ }
989
+ ],
990
+ url: '/api/admin/arrow/customer-mappings/',
991
+ ...options
992
+ });
993
+ };
994
+ /**
995
+ * Get number of items in the collection matching the request parameters.
996
+ */
997
+ export const adminArrowCustomerMappingsCount = (options) => {
998
+ return (options?.client ?? _heyApiClient).head({
999
+ security: [
1000
+ {
1001
+ name: 'Authorization',
1002
+ type: 'apiKey'
1003
+ },
1004
+ {
1005
+ scheme: 'bearer',
1006
+ type: 'http'
1007
+ }
1008
+ ],
1009
+ url: '/api/admin/arrow/customer-mappings/',
1010
+ ...options
1011
+ });
1012
+ };
1013
+ export const adminArrowCustomerMappingsCreate = (options) => {
1014
+ return (options.client ?? _heyApiClient).post({
1015
+ security: [
1016
+ {
1017
+ name: 'Authorization',
1018
+ type: 'apiKey'
1019
+ },
1020
+ {
1021
+ scheme: 'bearer',
1022
+ type: 'http'
1023
+ }
1024
+ ],
1025
+ url: '/api/admin/arrow/customer-mappings/',
1026
+ ...options,
1027
+ headers: {
1028
+ 'Content-Type': 'application/json',
1029
+ ...options.headers
1030
+ }
1031
+ });
1032
+ };
1033
+ export const adminArrowCustomerMappingsDestroy = (options) => {
1034
+ return (options.client ?? _heyApiClient).delete({
1035
+ security: [
1036
+ {
1037
+ name: 'Authorization',
1038
+ type: 'apiKey'
1039
+ },
1040
+ {
1041
+ scheme: 'bearer',
1042
+ type: 'http'
1043
+ }
1044
+ ],
1045
+ url: '/api/admin/arrow/customer-mappings/{uuid}/',
1046
+ ...options
1047
+ });
1048
+ };
1049
+ export const adminArrowCustomerMappingsRetrieve = (options) => {
1050
+ return (options.client ?? _heyApiClient).get({
1051
+ security: [
1052
+ {
1053
+ name: 'Authorization',
1054
+ type: 'apiKey'
1055
+ },
1056
+ {
1057
+ scheme: 'bearer',
1058
+ type: 'http'
1059
+ }
1060
+ ],
1061
+ url: '/api/admin/arrow/customer-mappings/{uuid}/',
1062
+ ...options
1063
+ });
1064
+ };
1065
+ export const adminArrowCustomerMappingsPartialUpdate = (options) => {
1066
+ return (options.client ?? _heyApiClient).patch({
1067
+ security: [
1068
+ {
1069
+ name: 'Authorization',
1070
+ type: 'apiKey'
1071
+ },
1072
+ {
1073
+ scheme: 'bearer',
1074
+ type: 'http'
1075
+ }
1076
+ ],
1077
+ url: '/api/admin/arrow/customer-mappings/{uuid}/',
1078
+ ...options,
1079
+ headers: {
1080
+ 'Content-Type': 'application/json',
1081
+ ...options.headers
1082
+ }
1083
+ });
1084
+ };
1085
+ export const adminArrowCustomerMappingsUpdate = (options) => {
1086
+ return (options.client ?? _heyApiClient).put({
1087
+ security: [
1088
+ {
1089
+ name: 'Authorization',
1090
+ type: 'apiKey'
1091
+ },
1092
+ {
1093
+ scheme: 'bearer',
1094
+ type: 'http'
1095
+ }
1096
+ ],
1097
+ url: '/api/admin/arrow/customer-mappings/{uuid}/',
1098
+ ...options,
1099
+ headers: {
1100
+ 'Content-Type': 'application/json',
1101
+ ...options.headers
1102
+ }
1103
+ });
1104
+ };
1105
+ /**
1106
+ * Get billing and consumption summary for this customer mapping.
1107
+ */
1108
+ export const adminArrowCustomerMappingsBillingSummaryRetrieve = (options) => {
1109
+ return (options.client ?? _heyApiClient).get({
1110
+ security: [
1111
+ {
1112
+ name: 'Authorization',
1113
+ type: 'apiKey'
1114
+ },
1115
+ {
1116
+ scheme: 'bearer',
1117
+ type: 'http'
1118
+ }
1119
+ ],
1120
+ url: '/api/admin/arrow/customer-mappings/{uuid}/billing_summary/',
1121
+ ...options
1122
+ });
1123
+ };
1124
+ /**
1125
+ * Discover Arrow licenses for this customer and show linkable Waldur resources.
1126
+ */
1127
+ export const adminArrowCustomerMappingsDiscoverLicensesRetrieve = (options) => {
1128
+ return (options.client ?? _heyApiClient).get({
1129
+ security: [
1130
+ {
1131
+ name: 'Authorization',
1132
+ type: 'apiKey'
1133
+ },
1134
+ {
1135
+ scheme: 'bearer',
1136
+ type: 'http'
1137
+ }
1138
+ ],
1139
+ url: '/api/admin/arrow/customer-mappings/{uuid}/discover_licenses/',
1140
+ ...options
1141
+ });
1142
+ };
1143
+ /**
1144
+ * Fetch fresh consumption and billing data from Arrow API for this customer.
1145
+ */
1146
+ export const adminArrowCustomerMappingsFetchArrowDataRetrieve = (options) => {
1147
+ return (options.client ?? _heyApiClient).get({
1148
+ security: [
1149
+ {
1150
+ name: 'Authorization',
1151
+ type: 'apiKey'
1152
+ },
1153
+ {
1154
+ scheme: 'bearer',
1155
+ type: 'http'
1156
+ }
1157
+ ],
1158
+ url: '/api/admin/arrow/customer-mappings/{uuid}/fetch_arrow_data/',
1159
+ ...options
1160
+ });
1161
+ };
1162
+ /**
1163
+ * Import an Arrow license as a new Waldur resource.
1164
+ */
1165
+ export const adminArrowCustomerMappingsImportLicense = (options) => {
1166
+ return (options.client ?? _heyApiClient).post({
1167
+ security: [
1168
+ {
1169
+ name: 'Authorization',
1170
+ type: 'apiKey'
1171
+ },
1172
+ {
1173
+ scheme: 'bearer',
1174
+ type: 'http'
1175
+ }
1176
+ ],
1177
+ url: '/api/admin/arrow/customer-mappings/{uuid}/import_license/',
1178
+ ...options,
1179
+ headers: {
1180
+ 'Content-Type': 'application/json',
1181
+ ...options.headers
1182
+ }
1183
+ });
1184
+ };
1185
+ /**
1186
+ * Link a Waldur resource to an Arrow license by setting its backend_id.
1187
+ */
1188
+ export const adminArrowCustomerMappingsLinkResource = (options) => {
1189
+ return (options.client ?? _heyApiClient).post({
1190
+ security: [
1191
+ {
1192
+ name: 'Authorization',
1193
+ type: 'apiKey'
1194
+ },
1195
+ {
1196
+ scheme: 'bearer',
1197
+ type: 'http'
1198
+ }
1199
+ ],
1200
+ url: '/api/admin/arrow/customer-mappings/{uuid}/link_resource/',
1201
+ ...options,
1202
+ headers: {
1203
+ 'Content-Type': 'application/json',
1204
+ ...options.headers
1205
+ }
1206
+ });
1207
+ };
1208
+ /**
1209
+ * Get available Arrow customers that are not yet mapped, with suggestions for Waldur organization matches.
1210
+ */
1211
+ export const adminArrowCustomerMappingsAvailableCustomersRetrieve = (options) => {
1212
+ return (options?.client ?? _heyApiClient).get({
1213
+ security: [
1214
+ {
1215
+ name: 'Authorization',
1216
+ type: 'apiKey'
1217
+ },
1218
+ {
1219
+ scheme: 'bearer',
1220
+ type: 'http'
1221
+ }
1222
+ ],
1223
+ url: '/api/admin/arrow/customer-mappings/available_customers/',
1224
+ ...options
1225
+ });
1226
+ };
1227
+ /**
1228
+ * Get number of items in the collection matching the request parameters.
1229
+ */
1230
+ export const adminArrowCustomerMappingsAvailableCustomersCount = (options) => {
1231
+ return (options?.client ?? _heyApiClient).head({
1232
+ security: [
1233
+ {
1234
+ name: 'Authorization',
1235
+ type: 'apiKey'
1236
+ },
1237
+ {
1238
+ scheme: 'bearer',
1239
+ type: 'http'
1240
+ }
1241
+ ],
1242
+ url: '/api/admin/arrow/customer-mappings/available_customers/',
1243
+ ...options
1244
+ });
1245
+ };
1246
+ /**
1247
+ * Sync customer list from Arrow and update arrow_company_name.
1248
+ */
1249
+ export const adminArrowCustomerMappingsSyncFromArrow = (options) => {
1250
+ return (options?.client ?? _heyApiClient).post({
1251
+ security: [
1252
+ {
1253
+ name: 'Authorization',
1254
+ type: 'apiKey'
1255
+ },
1256
+ {
1257
+ scheme: 'bearer',
1258
+ type: 'http'
1259
+ }
1260
+ ],
1261
+ url: '/api/admin/arrow/customer-mappings/sync_from_arrow/',
1262
+ ...options,
1263
+ headers: {
1264
+ 'Content-Type': 'application/json',
1265
+ ...options?.headers
1266
+ }
1267
+ });
1268
+ };
1269
+ export const adminArrowSettingsList = (options) => {
1270
+ return (options?.client ?? _heyApiClient).get({
1271
+ security: [
1272
+ {
1273
+ name: 'Authorization',
1274
+ type: 'apiKey'
1275
+ },
1276
+ {
1277
+ scheme: 'bearer',
1278
+ type: 'http'
1279
+ }
1280
+ ],
1281
+ url: '/api/admin/arrow/settings/',
1282
+ ...options
1283
+ });
1284
+ };
1285
+ /**
1286
+ * Get number of items in the collection matching the request parameters.
1287
+ */
1288
+ export const adminArrowSettingsCount = (options) => {
1289
+ return (options?.client ?? _heyApiClient).head({
1290
+ security: [
1291
+ {
1292
+ name: 'Authorization',
1293
+ type: 'apiKey'
1294
+ },
1295
+ {
1296
+ scheme: 'bearer',
1297
+ type: 'http'
1298
+ }
1299
+ ],
1300
+ url: '/api/admin/arrow/settings/',
1301
+ ...options
1302
+ });
1303
+ };
1304
+ export const adminArrowSettingsCreate = (options) => {
1305
+ return (options.client ?? _heyApiClient).post({
1306
+ security: [
1307
+ {
1308
+ name: 'Authorization',
1309
+ type: 'apiKey'
1310
+ },
1311
+ {
1312
+ scheme: 'bearer',
1313
+ type: 'http'
1314
+ }
1315
+ ],
1316
+ url: '/api/admin/arrow/settings/',
1317
+ ...options,
1318
+ headers: {
1319
+ 'Content-Type': 'application/json',
1320
+ ...options.headers
1321
+ }
1322
+ });
1323
+ };
1324
+ export const adminArrowSettingsDestroy = (options) => {
1325
+ return (options.client ?? _heyApiClient).delete({
1326
+ security: [
1327
+ {
1328
+ name: 'Authorization',
1329
+ type: 'apiKey'
1330
+ },
1331
+ {
1332
+ scheme: 'bearer',
1333
+ type: 'http'
1334
+ }
1335
+ ],
1336
+ url: '/api/admin/arrow/settings/{uuid}/',
1337
+ ...options
1338
+ });
1339
+ };
1340
+ export const adminArrowSettingsRetrieve = (options) => {
1341
+ return (options.client ?? _heyApiClient).get({
1342
+ security: [
1343
+ {
1344
+ name: 'Authorization',
1345
+ type: 'apiKey'
1346
+ },
1347
+ {
1348
+ scheme: 'bearer',
1349
+ type: 'http'
1350
+ }
1351
+ ],
1352
+ url: '/api/admin/arrow/settings/{uuid}/',
1353
+ ...options
1354
+ });
1355
+ };
1356
+ export const adminArrowSettingsPartialUpdate = (options) => {
1357
+ return (options.client ?? _heyApiClient).patch({
1358
+ security: [
1359
+ {
1360
+ name: 'Authorization',
1361
+ type: 'apiKey'
1362
+ },
1363
+ {
1364
+ scheme: 'bearer',
1365
+ type: 'http'
1366
+ }
1367
+ ],
1368
+ url: '/api/admin/arrow/settings/{uuid}/',
1369
+ ...options,
1370
+ headers: {
1371
+ 'Content-Type': 'application/json',
1372
+ ...options.headers
1373
+ }
1374
+ });
1375
+ };
1376
+ export const adminArrowSettingsUpdate = (options) => {
1377
+ return (options.client ?? _heyApiClient).put({
1378
+ security: [
1379
+ {
1380
+ name: 'Authorization',
1381
+ type: 'apiKey'
1382
+ },
1383
+ {
1384
+ scheme: 'bearer',
1385
+ type: 'http'
1386
+ }
1387
+ ],
1388
+ url: '/api/admin/arrow/settings/{uuid}/',
1389
+ ...options,
1390
+ headers: {
1391
+ 'Content-Type': 'application/json',
1392
+ ...options.headers
1393
+ }
1394
+ });
1395
+ };
1396
+ /**
1397
+ * Discover Arrow customers and suggest mappings to Waldur customers.
1398
+ */
1399
+ export const adminArrowSettingsDiscoverCustomers = (options) => {
1400
+ return (options.client ?? _heyApiClient).post({
1401
+ security: [
1402
+ {
1403
+ name: 'Authorization',
1404
+ type: 'apiKey'
1405
+ },
1406
+ {
1407
+ scheme: 'bearer',
1408
+ type: 'http'
1409
+ }
1410
+ ],
1411
+ url: '/api/admin/arrow/settings/discover_customers/',
1412
+ ...options,
1413
+ headers: {
1414
+ 'Content-Type': 'application/json',
1415
+ ...options.headers
1416
+ }
1417
+ });
1418
+ };
1419
+ /**
1420
+ * Preview settings configuration before saving.
1421
+ */
1422
+ export const adminArrowSettingsPreviewSettings = (options) => {
1423
+ return (options.client ?? _heyApiClient).post({
1424
+ security: [
1425
+ {
1426
+ name: 'Authorization',
1427
+ type: 'apiKey'
1428
+ },
1429
+ {
1430
+ scheme: 'bearer',
1431
+ type: 'http'
1432
+ }
1433
+ ],
1434
+ url: '/api/admin/arrow/settings/preview_settings/',
1435
+ ...options,
1436
+ headers: {
1437
+ 'Content-Type': 'application/json',
1438
+ ...options.headers
1439
+ }
1440
+ });
1441
+ };
1442
+ /**
1443
+ * Save Arrow settings and customer mappings.
1444
+ */
1445
+ export const adminArrowSettingsSaveSettings = (options) => {
1446
+ return (options.client ?? _heyApiClient).post({
1447
+ security: [
1448
+ {
1449
+ name: 'Authorization',
1450
+ type: 'apiKey'
1451
+ },
1452
+ {
1453
+ scheme: 'bearer',
1454
+ type: 'http'
1455
+ }
1456
+ ],
1457
+ url: '/api/admin/arrow/settings/save_settings/',
1458
+ ...options,
1459
+ headers: {
1460
+ 'Content-Type': 'application/json',
1461
+ ...options.headers
1462
+ }
1463
+ });
1464
+ };
1465
+ /**
1466
+ * Validate Arrow API credentials without saving them.
1467
+ */
1468
+ export const adminArrowSettingsValidateCredentials = (options) => {
1469
+ return (options.client ?? _heyApiClient).post({
1470
+ security: [
1471
+ {
1472
+ name: 'Authorization',
1473
+ type: 'apiKey'
1474
+ },
1475
+ {
1476
+ scheme: 'bearer',
1477
+ type: 'http'
1478
+ }
1479
+ ],
1480
+ url: '/api/admin/arrow/settings/validate_credentials/',
1481
+ ...options,
1482
+ headers: {
1483
+ 'Content-Type': 'application/json',
1484
+ ...options.headers
1485
+ }
1486
+ });
1487
+ };
1488
+ export const adminArrowVendorOfferingMappingsList = (options) => {
1489
+ return (options?.client ?? _heyApiClient).get({
1490
+ security: [
1491
+ {
1492
+ name: 'Authorization',
1493
+ type: 'apiKey'
1494
+ },
1495
+ {
1496
+ scheme: 'bearer',
1497
+ type: 'http'
1498
+ }
1499
+ ],
1500
+ url: '/api/admin/arrow/vendor-offering-mappings/',
1501
+ ...options
1502
+ });
1503
+ };
1504
+ /**
1505
+ * Get number of items in the collection matching the request parameters.
1506
+ */
1507
+ export const adminArrowVendorOfferingMappingsCount = (options) => {
1508
+ return (options?.client ?? _heyApiClient).head({
1509
+ security: [
1510
+ {
1511
+ name: 'Authorization',
1512
+ type: 'apiKey'
1513
+ },
1514
+ {
1515
+ scheme: 'bearer',
1516
+ type: 'http'
1517
+ }
1518
+ ],
1519
+ url: '/api/admin/arrow/vendor-offering-mappings/',
1520
+ ...options
1521
+ });
1522
+ };
1523
+ export const adminArrowVendorOfferingMappingsCreate = (options) => {
1524
+ return (options.client ?? _heyApiClient).post({
1525
+ security: [
1526
+ {
1527
+ name: 'Authorization',
1528
+ type: 'apiKey'
1529
+ },
1530
+ {
1531
+ scheme: 'bearer',
1532
+ type: 'http'
1533
+ }
1534
+ ],
1535
+ url: '/api/admin/arrow/vendor-offering-mappings/',
1536
+ ...options,
1537
+ headers: {
1538
+ 'Content-Type': 'application/json',
1539
+ ...options.headers
1540
+ }
1541
+ });
1542
+ };
1543
+ export const adminArrowVendorOfferingMappingsDestroy = (options) => {
1544
+ return (options.client ?? _heyApiClient).delete({
1545
+ security: [
1546
+ {
1547
+ name: 'Authorization',
1548
+ type: 'apiKey'
1549
+ },
1550
+ {
1551
+ scheme: 'bearer',
1552
+ type: 'http'
1553
+ }
1554
+ ],
1555
+ url: '/api/admin/arrow/vendor-offering-mappings/{uuid}/',
1556
+ ...options
1557
+ });
1558
+ };
1559
+ export const adminArrowVendorOfferingMappingsRetrieve = (options) => {
1560
+ return (options.client ?? _heyApiClient).get({
1561
+ security: [
1562
+ {
1563
+ name: 'Authorization',
1564
+ type: 'apiKey'
1565
+ },
1566
+ {
1567
+ scheme: 'bearer',
1568
+ type: 'http'
1569
+ }
1570
+ ],
1571
+ url: '/api/admin/arrow/vendor-offering-mappings/{uuid}/',
1572
+ ...options
1573
+ });
1574
+ };
1575
+ export const adminArrowVendorOfferingMappingsPartialUpdate = (options) => {
1576
+ return (options.client ?? _heyApiClient).patch({
1577
+ security: [
1578
+ {
1579
+ name: 'Authorization',
1580
+ type: 'apiKey'
1581
+ },
1582
+ {
1583
+ scheme: 'bearer',
1584
+ type: 'http'
1585
+ }
1586
+ ],
1587
+ url: '/api/admin/arrow/vendor-offering-mappings/{uuid}/',
1588
+ ...options,
1589
+ headers: {
1590
+ 'Content-Type': 'application/json',
1591
+ ...options.headers
1592
+ }
1593
+ });
1594
+ };
1595
+ export const adminArrowVendorOfferingMappingsUpdate = (options) => {
1596
+ return (options.client ?? _heyApiClient).put({
1597
+ security: [
1598
+ {
1599
+ name: 'Authorization',
1600
+ type: 'apiKey'
1601
+ },
1602
+ {
1603
+ scheme: 'bearer',
1604
+ type: 'http'
1605
+ }
1606
+ ],
1607
+ url: '/api/admin/arrow/vendor-offering-mappings/{uuid}/',
1608
+ ...options,
1609
+ headers: {
1610
+ 'Content-Type': 'application/json',
1611
+ ...options.headers
1612
+ }
1613
+ });
1614
+ };
1615
+ /**
1616
+ * Get vendor names from Arrow catalog API (IAAS category).
1617
+ */
1618
+ export const adminArrowVendorOfferingMappingsVendorChoicesList = (options) => {
1619
+ return (options?.client ?? _heyApiClient).get({
1620
+ security: [
1621
+ {
1622
+ name: 'Authorization',
1623
+ type: 'apiKey'
1624
+ },
1625
+ {
1626
+ scheme: 'bearer',
1627
+ type: 'http'
1628
+ }
1629
+ ],
1630
+ url: '/api/admin/arrow/vendor-offering-mappings/vendor_choices/',
1631
+ ...options
1632
+ });
1633
+ };
1634
+ /**
1635
+ * Get number of items in the collection matching the request parameters.
1636
+ */
1637
+ export const adminArrowVendorOfferingMappingsVendorChoicesCount = (options) => {
1638
+ return (options?.client ?? _heyApiClient).head({
1639
+ security: [
1640
+ {
1641
+ name: 'Authorization',
1642
+ type: 'apiKey'
1643
+ },
1644
+ {
1645
+ scheme: 'bearer',
1646
+ type: 'http'
1647
+ }
1648
+ ],
1649
+ url: '/api/admin/arrow/vendor-offering-mappings/vendor_choices/',
1650
+ ...options
1651
+ });
1652
+ };
435
1653
  export const assignmentBatchesList = (options) => {
436
1654
  return (options?.client ?? _heyApiClient).get({
437
1655
  security: [