waldur-js-client 7.9.9-dev.9 → 7.9.9

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
@@ -16137,6 +16137,46 @@ export const marketplaceProviderResourcesGlauthUsersConfigRetrieve = (options) =
16137
16137
  ...options
16138
16138
  });
16139
16139
  };
16140
+ /**
16141
+ * Get resource version history
16142
+ * Returns the version history of changes made to this resource. Only accessible by staff and support users.
16143
+ */
16144
+ export const marketplaceProviderResourcesHistoryList = (options) => {
16145
+ return (options.client ?? _heyApiClient).get({
16146
+ security: [
16147
+ {
16148
+ name: 'Authorization',
16149
+ type: 'apiKey'
16150
+ },
16151
+ {
16152
+ scheme: 'bearer',
16153
+ type: 'http'
16154
+ }
16155
+ ],
16156
+ url: '/api/marketplace-provider-resources/{uuid}/history/',
16157
+ ...options
16158
+ });
16159
+ };
16160
+ /**
16161
+ * Get resource state at a specific timestamp
16162
+ * Returns the state of the resource as it was at the specified timestamp. Only accessible by staff and support users.
16163
+ */
16164
+ export const marketplaceProviderResourcesHistoryAtRetrieve = (options) => {
16165
+ return (options.client ?? _heyApiClient).get({
16166
+ security: [
16167
+ {
16168
+ name: 'Authorization',
16169
+ type: 'apiKey'
16170
+ },
16171
+ {
16172
+ scheme: 'bearer',
16173
+ type: 'http'
16174
+ }
16175
+ ],
16176
+ url: '/api/marketplace-provider-resources/{uuid}/history/at/',
16177
+ ...options
16178
+ });
16179
+ };
16140
16180
  /**
16141
16181
  * Move a resource to another project
16142
16182
  * Moves a resource and its associated data to a different project. Requires staff permissions.
@@ -17267,6 +17307,46 @@ export const marketplaceResourcesGlauthUsersConfigRetrieve = (options) => {
17267
17307
  ...options
17268
17308
  });
17269
17309
  };
17310
+ /**
17311
+ * Get resource version history
17312
+ * Returns the version history of changes made to this resource. Only accessible by staff and support users.
17313
+ */
17314
+ export const marketplaceResourcesHistoryList = (options) => {
17315
+ return (options.client ?? _heyApiClient).get({
17316
+ security: [
17317
+ {
17318
+ name: 'Authorization',
17319
+ type: 'apiKey'
17320
+ },
17321
+ {
17322
+ scheme: 'bearer',
17323
+ type: 'http'
17324
+ }
17325
+ ],
17326
+ url: '/api/marketplace-resources/{uuid}/history/',
17327
+ ...options
17328
+ });
17329
+ };
17330
+ /**
17331
+ * Get resource state at a specific timestamp
17332
+ * Returns the state of the resource as it was at the specified timestamp. Only accessible by staff and support users.
17333
+ */
17334
+ export const marketplaceResourcesHistoryAtRetrieve = (options) => {
17335
+ return (options.client ?? _heyApiClient).get({
17336
+ security: [
17337
+ {
17338
+ name: 'Authorization',
17339
+ type: 'apiKey'
17340
+ },
17341
+ {
17342
+ scheme: 'bearer',
17343
+ type: 'http'
17344
+ }
17345
+ ],
17346
+ url: '/api/marketplace-resources/{uuid}/history/at/',
17347
+ ...options
17348
+ });
17349
+ };
17270
17350
  /**
17271
17351
  * Move a resource to another project
17272
17352
  * Moves a resource and its associated data to a different project. Requires staff permissions.
@@ -4457,6 +4457,10 @@ export type DailyOrderStats = {
4457
4457
  * Total cost of orders
4458
4458
  */
4459
4459
  total_cost: string | null;
4460
+ /**
4461
+ * Revenue from create/update orders
4462
+ */
4463
+ revenue: string | null;
4460
4464
  /**
4461
4465
  * Order counts grouped by state
4462
4466
  */
@@ -8710,6 +8714,15 @@ export type NestedSoftwareVersion = {
8710
8714
  version: string;
8711
8715
  release_date?: string | null;
8712
8716
  readonly targets: Array<NestedSoftwareTarget>;
8717
+ readonly module: {
8718
+ [key: string]: unknown;
8719
+ };
8720
+ readonly required_modules: Array<unknown>;
8721
+ readonly extensions: Array<unknown>;
8722
+ readonly toolchain: {
8723
+ [key: string]: unknown;
8724
+ };
8725
+ readonly toolchain_families_compatibility: Array<unknown>;
8713
8726
  };
8714
8727
  export type NestedSoftwareVersionRequest = {
8715
8728
  version: string;
@@ -12029,6 +12042,10 @@ export type OrderStatsSummary = {
12029
12042
  * Total cost of orders
12030
12043
  */
12031
12044
  total_cost: string | null;
12045
+ /**
12046
+ * Total revenue from create/update orders
12047
+ */
12048
+ total_revenue: string | null;
12032
12049
  /**
12033
12050
  * Number of pending orders
12034
12051
  */
@@ -17666,6 +17683,17 @@ export type ResourceUserRequest = {
17666
17683
  role: string;
17667
17684
  user: string;
17668
17685
  };
17686
+ export type ResourceVersion = {
17687
+ id: number;
17688
+ revision_date: string;
17689
+ readonly revision_user: {
17690
+ [key: string]: unknown;
17691
+ } | null;
17692
+ revision_comment: string;
17693
+ readonly serialized_data: {
17694
+ [key: string]: unknown;
17695
+ };
17696
+ };
17669
17697
  export type ResourcesLimits = {
17670
17698
  /**
17671
17699
  * UUID of the offering
@@ -19607,6 +19635,15 @@ export type SoftwareVersion = {
19607
19635
  readonly package_name: string;
19608
19636
  readonly catalog_type: string;
19609
19637
  readonly target_count: number;
19638
+ readonly module: {
19639
+ [key: string]: unknown;
19640
+ };
19641
+ readonly required_modules: Array<unknown>;
19642
+ readonly extensions: Array<unknown>;
19643
+ readonly toolchain: {
19644
+ [key: string]: unknown;
19645
+ };
19646
+ readonly toolchain_families_compatibility: Array<unknown>;
19610
19647
  };
19611
19648
  export type SourceTypeEnum = 'call_description' | 'all_proposals' | 'selected_proposals' | 'custom_keywords';
19612
19649
  export type SshKey = {
@@ -41347,6 +41384,217 @@ export type MarketplaceProviderResourcesGlauthUsersConfigRetrieveResponses = {
41347
41384
  200: string;
41348
41385
  };
41349
41386
  export type MarketplaceProviderResourcesGlauthUsersConfigRetrieveResponse = MarketplaceProviderResourcesGlauthUsersConfigRetrieveResponses[keyof MarketplaceProviderResourcesGlauthUsersConfigRetrieveResponses];
41387
+ export type MarketplaceProviderResourcesHistoryListData = {
41388
+ body?: never;
41389
+ path: {
41390
+ uuid: string;
41391
+ };
41392
+ query?: {
41393
+ /**
41394
+ * Backend ID
41395
+ */
41396
+ backend_id?: string;
41397
+ /**
41398
+ * Category UUID
41399
+ */
41400
+ category_uuid?: string;
41401
+ /**
41402
+ * Filter by exact number of components
41403
+ */
41404
+ component_count?: number;
41405
+ /**
41406
+ * Created after
41407
+ */
41408
+ created?: string;
41409
+ /**
41410
+ * Filter versions created after this timestamp (ISO 8601)
41411
+ */
41412
+ created_after?: string;
41413
+ /**
41414
+ * Filter versions created before this timestamp (ISO 8601)
41415
+ */
41416
+ created_before?: string;
41417
+ /**
41418
+ * Customer URL
41419
+ */
41420
+ customer?: string;
41421
+ /**
41422
+ * Customer UUID
41423
+ */
41424
+ customer_uuid?: string;
41425
+ /**
41426
+ * Downscaled
41427
+ */
41428
+ downscaled?: boolean;
41429
+ /**
41430
+ * Has termination date
41431
+ */
41432
+ has_terminate_date?: boolean;
41433
+ /**
41434
+ * Filter by attached state
41435
+ */
41436
+ is_attached?: boolean;
41437
+ /**
41438
+ * LEXIS links supported
41439
+ */
41440
+ lexis_links_supported?: boolean;
41441
+ /**
41442
+ * Filter by limit-based offerings
41443
+ */
41444
+ limit_based?: boolean;
41445
+ /**
41446
+ * Filter by exact number of limit-based components
41447
+ */
41448
+ limit_component_count?: number;
41449
+ /**
41450
+ * Modified after
41451
+ */
41452
+ modified?: string;
41453
+ /**
41454
+ * Name
41455
+ */
41456
+ name?: string;
41457
+ /**
41458
+ * Name (exact)
41459
+ */
41460
+ name_exact?: string;
41461
+ /**
41462
+ * Ordering
41463
+ *
41464
+ *
41465
+ */
41466
+ o?: Array<'-created' | '-end_date' | '-name' | '-project_name' | '-state' | 'created' | 'end_date' | 'name' | 'project_name' | 'state'>;
41467
+ offering?: string;
41468
+ /**
41469
+ * Offering billable
41470
+ */
41471
+ offering_billable?: boolean;
41472
+ /**
41473
+ * Offering shared
41474
+ */
41475
+ offering_shared?: boolean;
41476
+ /**
41477
+ * Multiple values may be separated by commas.
41478
+ */
41479
+ offering_slug?: Array<string>;
41480
+ /**
41481
+ * Offering type
41482
+ */
41483
+ offering_type?: string;
41484
+ /**
41485
+ * Multiple values may be separated by commas.
41486
+ */
41487
+ offering_uuid?: Array<string>;
41488
+ /**
41489
+ * Filter resources with only limit-based components
41490
+ */
41491
+ only_limit_based?: boolean;
41492
+ /**
41493
+ * Filter resources with only usage-based components
41494
+ */
41495
+ only_usage_based?: boolean;
41496
+ /**
41497
+ * Order state
41498
+ *
41499
+ *
41500
+ */
41501
+ order_state?: Array<'canceled' | 'done' | 'erred' | 'executing' | 'pending-consumer' | 'pending-project' | 'pending-provider' | 'pending-start-date' | 'rejected'>;
41502
+ /**
41503
+ * A page number within the paginated result set.
41504
+ */
41505
+ page?: number;
41506
+ /**
41507
+ * Number of results to return per page.
41508
+ */
41509
+ page_size?: number;
41510
+ parent_offering_uuid?: string;
41511
+ /**
41512
+ * Paused
41513
+ */
41514
+ paused?: boolean;
41515
+ /**
41516
+ * Plan UUID
41517
+ */
41518
+ plan_uuid?: string;
41519
+ /**
41520
+ * Project name
41521
+ */
41522
+ project_name?: string;
41523
+ /**
41524
+ * Project UUID
41525
+ */
41526
+ project_uuid?: string;
41527
+ /**
41528
+ * Provider UUID
41529
+ */
41530
+ provider_uuid?: string;
41531
+ /**
41532
+ * Search by resource UUID, name, slug, backend ID, effective ID, IPs or hypervisor
41533
+ */
41534
+ query?: string;
41535
+ /**
41536
+ * Restrict member access
41537
+ */
41538
+ restrict_member_access?: boolean;
41539
+ /**
41540
+ * Runtime state
41541
+ */
41542
+ runtime_state?: string;
41543
+ /**
41544
+ * Service manager UUID
41545
+ */
41546
+ service_manager_uuid?: string;
41547
+ /**
41548
+ * Resource state
41549
+ *
41550
+ *
41551
+ */
41552
+ state?: Array<'Creating' | 'Erred' | 'OK' | 'Terminated' | 'Terminating' | 'Updating'>;
41553
+ /**
41554
+ * Filter by usage-based offerings
41555
+ */
41556
+ usage_based?: boolean;
41557
+ /**
41558
+ * Include only resources visible to service providers
41559
+ */
41560
+ visible_to_providers?: boolean;
41561
+ /**
41562
+ * Visible to username
41563
+ */
41564
+ visible_to_username?: string;
41565
+ };
41566
+ url: '/api/marketplace-provider-resources/{uuid}/history/';
41567
+ };
41568
+ export type MarketplaceProviderResourcesHistoryListResponses = {
41569
+ 200: Array<ResourceVersion>;
41570
+ };
41571
+ export type MarketplaceProviderResourcesHistoryListResponse = MarketplaceProviderResourcesHistoryListResponses[keyof MarketplaceProviderResourcesHistoryListResponses];
41572
+ export type MarketplaceProviderResourcesHistoryAtRetrieveData = {
41573
+ body?: never;
41574
+ path: {
41575
+ uuid: string;
41576
+ };
41577
+ query: {
41578
+ /**
41579
+ * ISO 8601 timestamp to query the resource state at
41580
+ */
41581
+ timestamp: string;
41582
+ };
41583
+ url: '/api/marketplace-provider-resources/{uuid}/history/at/';
41584
+ };
41585
+ export type MarketplaceProviderResourcesHistoryAtRetrieveErrors = {
41586
+ 400: {
41587
+ [key: string]: unknown;
41588
+ };
41589
+ 404: {
41590
+ [key: string]: unknown;
41591
+ };
41592
+ };
41593
+ export type MarketplaceProviderResourcesHistoryAtRetrieveError = MarketplaceProviderResourcesHistoryAtRetrieveErrors[keyof MarketplaceProviderResourcesHistoryAtRetrieveErrors];
41594
+ export type MarketplaceProviderResourcesHistoryAtRetrieveResponses = {
41595
+ 200: ResourceVersion;
41596
+ };
41597
+ export type MarketplaceProviderResourcesHistoryAtRetrieveResponse = MarketplaceProviderResourcesHistoryAtRetrieveResponses[keyof MarketplaceProviderResourcesHistoryAtRetrieveResponses];
41350
41598
  export type MarketplaceProviderResourcesMoveResourceData = {
41351
41599
  body: MoveResourceRequest;
41352
41600
  path: {
@@ -42768,6 +43016,217 @@ export type MarketplaceResourcesGlauthUsersConfigRetrieveResponses = {
42768
43016
  200: string;
42769
43017
  };
42770
43018
  export type MarketplaceResourcesGlauthUsersConfigRetrieveResponse = MarketplaceResourcesGlauthUsersConfigRetrieveResponses[keyof MarketplaceResourcesGlauthUsersConfigRetrieveResponses];
43019
+ export type MarketplaceResourcesHistoryListData = {
43020
+ body?: never;
43021
+ path: {
43022
+ uuid: string;
43023
+ };
43024
+ query?: {
43025
+ /**
43026
+ * Backend ID
43027
+ */
43028
+ backend_id?: string;
43029
+ /**
43030
+ * Category UUID
43031
+ */
43032
+ category_uuid?: string;
43033
+ /**
43034
+ * Filter by exact number of components
43035
+ */
43036
+ component_count?: number;
43037
+ /**
43038
+ * Created after
43039
+ */
43040
+ created?: string;
43041
+ /**
43042
+ * Filter versions created after this timestamp (ISO 8601)
43043
+ */
43044
+ created_after?: string;
43045
+ /**
43046
+ * Filter versions created before this timestamp (ISO 8601)
43047
+ */
43048
+ created_before?: string;
43049
+ /**
43050
+ * Customer URL
43051
+ */
43052
+ customer?: string;
43053
+ /**
43054
+ * Customer UUID
43055
+ */
43056
+ customer_uuid?: string;
43057
+ /**
43058
+ * Downscaled
43059
+ */
43060
+ downscaled?: boolean;
43061
+ /**
43062
+ * Has termination date
43063
+ */
43064
+ has_terminate_date?: boolean;
43065
+ /**
43066
+ * Filter by attached state
43067
+ */
43068
+ is_attached?: boolean;
43069
+ /**
43070
+ * LEXIS links supported
43071
+ */
43072
+ lexis_links_supported?: boolean;
43073
+ /**
43074
+ * Filter by limit-based offerings
43075
+ */
43076
+ limit_based?: boolean;
43077
+ /**
43078
+ * Filter by exact number of limit-based components
43079
+ */
43080
+ limit_component_count?: number;
43081
+ /**
43082
+ * Modified after
43083
+ */
43084
+ modified?: string;
43085
+ /**
43086
+ * Name
43087
+ */
43088
+ name?: string;
43089
+ /**
43090
+ * Name (exact)
43091
+ */
43092
+ name_exact?: string;
43093
+ /**
43094
+ * Ordering
43095
+ *
43096
+ *
43097
+ */
43098
+ o?: Array<'-created' | '-end_date' | '-name' | '-project_name' | '-state' | 'created' | 'end_date' | 'name' | 'project_name' | 'state'>;
43099
+ offering?: string;
43100
+ /**
43101
+ * Offering billable
43102
+ */
43103
+ offering_billable?: boolean;
43104
+ /**
43105
+ * Offering shared
43106
+ */
43107
+ offering_shared?: boolean;
43108
+ /**
43109
+ * Multiple values may be separated by commas.
43110
+ */
43111
+ offering_slug?: Array<string>;
43112
+ /**
43113
+ * Offering type
43114
+ */
43115
+ offering_type?: string;
43116
+ /**
43117
+ * Multiple values may be separated by commas.
43118
+ */
43119
+ offering_uuid?: Array<string>;
43120
+ /**
43121
+ * Filter resources with only limit-based components
43122
+ */
43123
+ only_limit_based?: boolean;
43124
+ /**
43125
+ * Filter resources with only usage-based components
43126
+ */
43127
+ only_usage_based?: boolean;
43128
+ /**
43129
+ * Order state
43130
+ *
43131
+ *
43132
+ */
43133
+ order_state?: Array<'canceled' | 'done' | 'erred' | 'executing' | 'pending-consumer' | 'pending-project' | 'pending-provider' | 'pending-start-date' | 'rejected'>;
43134
+ /**
43135
+ * A page number within the paginated result set.
43136
+ */
43137
+ page?: number;
43138
+ /**
43139
+ * Number of results to return per page.
43140
+ */
43141
+ page_size?: number;
43142
+ parent_offering_uuid?: string;
43143
+ /**
43144
+ * Paused
43145
+ */
43146
+ paused?: boolean;
43147
+ /**
43148
+ * Plan UUID
43149
+ */
43150
+ plan_uuid?: string;
43151
+ /**
43152
+ * Project name
43153
+ */
43154
+ project_name?: string;
43155
+ /**
43156
+ * Project UUID
43157
+ */
43158
+ project_uuid?: string;
43159
+ /**
43160
+ * Provider UUID
43161
+ */
43162
+ provider_uuid?: string;
43163
+ /**
43164
+ * Search by resource UUID, name, slug, backend ID, effective ID, IPs or hypervisor
43165
+ */
43166
+ query?: string;
43167
+ /**
43168
+ * Restrict member access
43169
+ */
43170
+ restrict_member_access?: boolean;
43171
+ /**
43172
+ * Runtime state
43173
+ */
43174
+ runtime_state?: string;
43175
+ /**
43176
+ * Service manager UUID
43177
+ */
43178
+ service_manager_uuid?: string;
43179
+ /**
43180
+ * Resource state
43181
+ *
43182
+ *
43183
+ */
43184
+ state?: Array<'Creating' | 'Erred' | 'OK' | 'Terminated' | 'Terminating' | 'Updating'>;
43185
+ /**
43186
+ * Filter by usage-based offerings
43187
+ */
43188
+ usage_based?: boolean;
43189
+ /**
43190
+ * Include only resources visible to service providers
43191
+ */
43192
+ visible_to_providers?: boolean;
43193
+ /**
43194
+ * Visible to username
43195
+ */
43196
+ visible_to_username?: string;
43197
+ };
43198
+ url: '/api/marketplace-resources/{uuid}/history/';
43199
+ };
43200
+ export type MarketplaceResourcesHistoryListResponses = {
43201
+ 200: Array<ResourceVersion>;
43202
+ };
43203
+ export type MarketplaceResourcesHistoryListResponse = MarketplaceResourcesHistoryListResponses[keyof MarketplaceResourcesHistoryListResponses];
43204
+ export type MarketplaceResourcesHistoryAtRetrieveData = {
43205
+ body?: never;
43206
+ path: {
43207
+ uuid: string;
43208
+ };
43209
+ query: {
43210
+ /**
43211
+ * ISO 8601 timestamp to query the resource state at
43212
+ */
43213
+ timestamp: string;
43214
+ };
43215
+ url: '/api/marketplace-resources/{uuid}/history/at/';
43216
+ };
43217
+ export type MarketplaceResourcesHistoryAtRetrieveErrors = {
43218
+ 400: {
43219
+ [key: string]: unknown;
43220
+ };
43221
+ 404: {
43222
+ [key: string]: unknown;
43223
+ };
43224
+ };
43225
+ export type MarketplaceResourcesHistoryAtRetrieveError = MarketplaceResourcesHistoryAtRetrieveErrors[keyof MarketplaceResourcesHistoryAtRetrieveErrors];
43226
+ export type MarketplaceResourcesHistoryAtRetrieveResponses = {
43227
+ 200: ResourceVersion;
43228
+ };
43229
+ export type MarketplaceResourcesHistoryAtRetrieveResponse = MarketplaceResourcesHistoryAtRetrieveResponses[keyof MarketplaceResourcesHistoryAtRetrieveResponses];
42771
43230
  export type MarketplaceResourcesMoveResourceData = {
42772
43231
  body: MoveResourceRequest;
42773
43232
  path: {
@@ -45600,6 +46059,14 @@ export type MarketplaceSoftwarePackagesListData = {
45600
46059
  * Filter packages by description (case-insensitive partial match)
45601
46060
  */
45602
46061
  description?: string;
46062
+ /**
46063
+ * Filter packages having extensions with a specific name
46064
+ */
46065
+ extension_name?: string;
46066
+ /**
46067
+ * Filter packages having extensions of a specific type (e.g., 'python')
46068
+ */
46069
+ extension_type?: string;
45603
46070
  /**
45604
46071
  * Filter packages that have a specific version
45605
46072
  */
@@ -45665,6 +46132,14 @@ export type MarketplaceSoftwarePackagesCountData = {
45665
46132
  * Filter packages by description (case-insensitive partial match)
45666
46133
  */
45667
46134
  description?: string;
46135
+ /**
46136
+ * Filter packages having extensions with a specific name
46137
+ */
46138
+ extension_name?: string;
46139
+ /**
46140
+ * Filter packages having extensions of a specific type (e.g., 'python')
46141
+ */
46142
+ extension_type?: string;
45668
46143
  /**
45669
46144
  * Filter packages that have a specific version
45670
46145
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waldur-js-client",
3
- "version": "7.9.9-dev.9",
3
+ "version": "7.9.9",
4
4
  "description": "JavaScript client for Waldur MasterMind generated from OpenAPI schema",
5
5
  "author": "Waldur Platform",
6
6
  "license": "MIT",