waldur-js-client 7.9.9-dev.10 → 7.9.9-dev.11

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.
@@ -8714,6 +8714,16 @@ export type NestedSoftwareVersion = {
8714
8714
  version: string;
8715
8715
  release_date?: string | null;
8716
8716
  readonly targets: Array<NestedSoftwareTarget>;
8717
+ readonly module: {
8718
+ [key: string]: unknown;
8719
+ };
8720
+ readonly modulename: string;
8721
+ readonly required_modules: Array<unknown>;
8722
+ readonly extensions: Array<unknown>;
8723
+ readonly toolchain: {
8724
+ [key: string]: unknown;
8725
+ };
8726
+ readonly toolchain_families_compatibility: Array<unknown>;
8717
8727
  };
8718
8728
  export type NestedSoftwareVersionRequest = {
8719
8729
  version: string;
@@ -17674,6 +17684,17 @@ export type ResourceUserRequest = {
17674
17684
  role: string;
17675
17685
  user: string;
17676
17686
  };
17687
+ export type ResourceVersion = {
17688
+ id: number;
17689
+ revision_date: string;
17690
+ readonly revision_user: {
17691
+ [key: string]: unknown;
17692
+ } | null;
17693
+ revision_comment: string;
17694
+ readonly serialized_data: {
17695
+ [key: string]: unknown;
17696
+ };
17697
+ };
17677
17698
  export type ResourcesLimits = {
17678
17699
  /**
17679
17700
  * UUID of the offering
@@ -19615,6 +19636,16 @@ export type SoftwareVersion = {
19615
19636
  readonly package_name: string;
19616
19637
  readonly catalog_type: string;
19617
19638
  readonly target_count: number;
19639
+ readonly module: {
19640
+ [key: string]: unknown;
19641
+ };
19642
+ readonly modulename: string;
19643
+ readonly required_modules: Array<unknown>;
19644
+ readonly extensions: Array<unknown>;
19645
+ readonly toolchain: {
19646
+ [key: string]: unknown;
19647
+ };
19648
+ readonly toolchain_families_compatibility: Array<unknown>;
19618
19649
  };
19619
19650
  export type SourceTypeEnum = 'call_description' | 'all_proposals' | 'selected_proposals' | 'custom_keywords';
19620
19651
  export type SshKey = {
@@ -41355,6 +41386,217 @@ export type MarketplaceProviderResourcesGlauthUsersConfigRetrieveResponses = {
41355
41386
  200: string;
41356
41387
  };
41357
41388
  export type MarketplaceProviderResourcesGlauthUsersConfigRetrieveResponse = MarketplaceProviderResourcesGlauthUsersConfigRetrieveResponses[keyof MarketplaceProviderResourcesGlauthUsersConfigRetrieveResponses];
41389
+ export type MarketplaceProviderResourcesHistoryListData = {
41390
+ body?: never;
41391
+ path: {
41392
+ uuid: string;
41393
+ };
41394
+ query?: {
41395
+ /**
41396
+ * Backend ID
41397
+ */
41398
+ backend_id?: string;
41399
+ /**
41400
+ * Category UUID
41401
+ */
41402
+ category_uuid?: string;
41403
+ /**
41404
+ * Filter by exact number of components
41405
+ */
41406
+ component_count?: number;
41407
+ /**
41408
+ * Created after
41409
+ */
41410
+ created?: string;
41411
+ /**
41412
+ * Filter versions created after this timestamp (ISO 8601)
41413
+ */
41414
+ created_after?: string;
41415
+ /**
41416
+ * Filter versions created before this timestamp (ISO 8601)
41417
+ */
41418
+ created_before?: string;
41419
+ /**
41420
+ * Customer URL
41421
+ */
41422
+ customer?: string;
41423
+ /**
41424
+ * Customer UUID
41425
+ */
41426
+ customer_uuid?: string;
41427
+ /**
41428
+ * Downscaled
41429
+ */
41430
+ downscaled?: boolean;
41431
+ /**
41432
+ * Has termination date
41433
+ */
41434
+ has_terminate_date?: boolean;
41435
+ /**
41436
+ * Filter by attached state
41437
+ */
41438
+ is_attached?: boolean;
41439
+ /**
41440
+ * LEXIS links supported
41441
+ */
41442
+ lexis_links_supported?: boolean;
41443
+ /**
41444
+ * Filter by limit-based offerings
41445
+ */
41446
+ limit_based?: boolean;
41447
+ /**
41448
+ * Filter by exact number of limit-based components
41449
+ */
41450
+ limit_component_count?: number;
41451
+ /**
41452
+ * Modified after
41453
+ */
41454
+ modified?: string;
41455
+ /**
41456
+ * Name
41457
+ */
41458
+ name?: string;
41459
+ /**
41460
+ * Name (exact)
41461
+ */
41462
+ name_exact?: string;
41463
+ /**
41464
+ * Ordering
41465
+ *
41466
+ *
41467
+ */
41468
+ o?: Array<'-created' | '-end_date' | '-name' | '-project_name' | '-state' | 'created' | 'end_date' | 'name' | 'project_name' | 'state'>;
41469
+ offering?: string;
41470
+ /**
41471
+ * Offering billable
41472
+ */
41473
+ offering_billable?: boolean;
41474
+ /**
41475
+ * Offering shared
41476
+ */
41477
+ offering_shared?: boolean;
41478
+ /**
41479
+ * Multiple values may be separated by commas.
41480
+ */
41481
+ offering_slug?: Array<string>;
41482
+ /**
41483
+ * Offering type
41484
+ */
41485
+ offering_type?: string;
41486
+ /**
41487
+ * Multiple values may be separated by commas.
41488
+ */
41489
+ offering_uuid?: Array<string>;
41490
+ /**
41491
+ * Filter resources with only limit-based components
41492
+ */
41493
+ only_limit_based?: boolean;
41494
+ /**
41495
+ * Filter resources with only usage-based components
41496
+ */
41497
+ only_usage_based?: boolean;
41498
+ /**
41499
+ * Order state
41500
+ *
41501
+ *
41502
+ */
41503
+ order_state?: Array<'canceled' | 'done' | 'erred' | 'executing' | 'pending-consumer' | 'pending-project' | 'pending-provider' | 'pending-start-date' | 'rejected'>;
41504
+ /**
41505
+ * A page number within the paginated result set.
41506
+ */
41507
+ page?: number;
41508
+ /**
41509
+ * Number of results to return per page.
41510
+ */
41511
+ page_size?: number;
41512
+ parent_offering_uuid?: string;
41513
+ /**
41514
+ * Paused
41515
+ */
41516
+ paused?: boolean;
41517
+ /**
41518
+ * Plan UUID
41519
+ */
41520
+ plan_uuid?: string;
41521
+ /**
41522
+ * Project name
41523
+ */
41524
+ project_name?: string;
41525
+ /**
41526
+ * Project UUID
41527
+ */
41528
+ project_uuid?: string;
41529
+ /**
41530
+ * Provider UUID
41531
+ */
41532
+ provider_uuid?: string;
41533
+ /**
41534
+ * Search by resource UUID, name, slug, backend ID, effective ID, IPs or hypervisor
41535
+ */
41536
+ query?: string;
41537
+ /**
41538
+ * Restrict member access
41539
+ */
41540
+ restrict_member_access?: boolean;
41541
+ /**
41542
+ * Runtime state
41543
+ */
41544
+ runtime_state?: string;
41545
+ /**
41546
+ * Service manager UUID
41547
+ */
41548
+ service_manager_uuid?: string;
41549
+ /**
41550
+ * Resource state
41551
+ *
41552
+ *
41553
+ */
41554
+ state?: Array<'Creating' | 'Erred' | 'OK' | 'Terminated' | 'Terminating' | 'Updating'>;
41555
+ /**
41556
+ * Filter by usage-based offerings
41557
+ */
41558
+ usage_based?: boolean;
41559
+ /**
41560
+ * Include only resources visible to service providers
41561
+ */
41562
+ visible_to_providers?: boolean;
41563
+ /**
41564
+ * Visible to username
41565
+ */
41566
+ visible_to_username?: string;
41567
+ };
41568
+ url: '/api/marketplace-provider-resources/{uuid}/history/';
41569
+ };
41570
+ export type MarketplaceProviderResourcesHistoryListResponses = {
41571
+ 200: Array<ResourceVersion>;
41572
+ };
41573
+ export type MarketplaceProviderResourcesHistoryListResponse = MarketplaceProviderResourcesHistoryListResponses[keyof MarketplaceProviderResourcesHistoryListResponses];
41574
+ export type MarketplaceProviderResourcesHistoryAtRetrieveData = {
41575
+ body?: never;
41576
+ path: {
41577
+ uuid: string;
41578
+ };
41579
+ query: {
41580
+ /**
41581
+ * ISO 8601 timestamp to query the resource state at
41582
+ */
41583
+ timestamp: string;
41584
+ };
41585
+ url: '/api/marketplace-provider-resources/{uuid}/history/at/';
41586
+ };
41587
+ export type MarketplaceProviderResourcesHistoryAtRetrieveErrors = {
41588
+ 400: {
41589
+ [key: string]: unknown;
41590
+ };
41591
+ 404: {
41592
+ [key: string]: unknown;
41593
+ };
41594
+ };
41595
+ export type MarketplaceProviderResourcesHistoryAtRetrieveError = MarketplaceProviderResourcesHistoryAtRetrieveErrors[keyof MarketplaceProviderResourcesHistoryAtRetrieveErrors];
41596
+ export type MarketplaceProviderResourcesHistoryAtRetrieveResponses = {
41597
+ 200: ResourceVersion;
41598
+ };
41599
+ export type MarketplaceProviderResourcesHistoryAtRetrieveResponse = MarketplaceProviderResourcesHistoryAtRetrieveResponses[keyof MarketplaceProviderResourcesHistoryAtRetrieveResponses];
41358
41600
  export type MarketplaceProviderResourcesMoveResourceData = {
41359
41601
  body: MoveResourceRequest;
41360
41602
  path: {
@@ -42776,6 +43018,217 @@ export type MarketplaceResourcesGlauthUsersConfigRetrieveResponses = {
42776
43018
  200: string;
42777
43019
  };
42778
43020
  export type MarketplaceResourcesGlauthUsersConfigRetrieveResponse = MarketplaceResourcesGlauthUsersConfigRetrieveResponses[keyof MarketplaceResourcesGlauthUsersConfigRetrieveResponses];
43021
+ export type MarketplaceResourcesHistoryListData = {
43022
+ body?: never;
43023
+ path: {
43024
+ uuid: string;
43025
+ };
43026
+ query?: {
43027
+ /**
43028
+ * Backend ID
43029
+ */
43030
+ backend_id?: string;
43031
+ /**
43032
+ * Category UUID
43033
+ */
43034
+ category_uuid?: string;
43035
+ /**
43036
+ * Filter by exact number of components
43037
+ */
43038
+ component_count?: number;
43039
+ /**
43040
+ * Created after
43041
+ */
43042
+ created?: string;
43043
+ /**
43044
+ * Filter versions created after this timestamp (ISO 8601)
43045
+ */
43046
+ created_after?: string;
43047
+ /**
43048
+ * Filter versions created before this timestamp (ISO 8601)
43049
+ */
43050
+ created_before?: string;
43051
+ /**
43052
+ * Customer URL
43053
+ */
43054
+ customer?: string;
43055
+ /**
43056
+ * Customer UUID
43057
+ */
43058
+ customer_uuid?: string;
43059
+ /**
43060
+ * Downscaled
43061
+ */
43062
+ downscaled?: boolean;
43063
+ /**
43064
+ * Has termination date
43065
+ */
43066
+ has_terminate_date?: boolean;
43067
+ /**
43068
+ * Filter by attached state
43069
+ */
43070
+ is_attached?: boolean;
43071
+ /**
43072
+ * LEXIS links supported
43073
+ */
43074
+ lexis_links_supported?: boolean;
43075
+ /**
43076
+ * Filter by limit-based offerings
43077
+ */
43078
+ limit_based?: boolean;
43079
+ /**
43080
+ * Filter by exact number of limit-based components
43081
+ */
43082
+ limit_component_count?: number;
43083
+ /**
43084
+ * Modified after
43085
+ */
43086
+ modified?: string;
43087
+ /**
43088
+ * Name
43089
+ */
43090
+ name?: string;
43091
+ /**
43092
+ * Name (exact)
43093
+ */
43094
+ name_exact?: string;
43095
+ /**
43096
+ * Ordering
43097
+ *
43098
+ *
43099
+ */
43100
+ o?: Array<'-created' | '-end_date' | '-name' | '-project_name' | '-state' | 'created' | 'end_date' | 'name' | 'project_name' | 'state'>;
43101
+ offering?: string;
43102
+ /**
43103
+ * Offering billable
43104
+ */
43105
+ offering_billable?: boolean;
43106
+ /**
43107
+ * Offering shared
43108
+ */
43109
+ offering_shared?: boolean;
43110
+ /**
43111
+ * Multiple values may be separated by commas.
43112
+ */
43113
+ offering_slug?: Array<string>;
43114
+ /**
43115
+ * Offering type
43116
+ */
43117
+ offering_type?: string;
43118
+ /**
43119
+ * Multiple values may be separated by commas.
43120
+ */
43121
+ offering_uuid?: Array<string>;
43122
+ /**
43123
+ * Filter resources with only limit-based components
43124
+ */
43125
+ only_limit_based?: boolean;
43126
+ /**
43127
+ * Filter resources with only usage-based components
43128
+ */
43129
+ only_usage_based?: boolean;
43130
+ /**
43131
+ * Order state
43132
+ *
43133
+ *
43134
+ */
43135
+ order_state?: Array<'canceled' | 'done' | 'erred' | 'executing' | 'pending-consumer' | 'pending-project' | 'pending-provider' | 'pending-start-date' | 'rejected'>;
43136
+ /**
43137
+ * A page number within the paginated result set.
43138
+ */
43139
+ page?: number;
43140
+ /**
43141
+ * Number of results to return per page.
43142
+ */
43143
+ page_size?: number;
43144
+ parent_offering_uuid?: string;
43145
+ /**
43146
+ * Paused
43147
+ */
43148
+ paused?: boolean;
43149
+ /**
43150
+ * Plan UUID
43151
+ */
43152
+ plan_uuid?: string;
43153
+ /**
43154
+ * Project name
43155
+ */
43156
+ project_name?: string;
43157
+ /**
43158
+ * Project UUID
43159
+ */
43160
+ project_uuid?: string;
43161
+ /**
43162
+ * Provider UUID
43163
+ */
43164
+ provider_uuid?: string;
43165
+ /**
43166
+ * Search by resource UUID, name, slug, backend ID, effective ID, IPs or hypervisor
43167
+ */
43168
+ query?: string;
43169
+ /**
43170
+ * Restrict member access
43171
+ */
43172
+ restrict_member_access?: boolean;
43173
+ /**
43174
+ * Runtime state
43175
+ */
43176
+ runtime_state?: string;
43177
+ /**
43178
+ * Service manager UUID
43179
+ */
43180
+ service_manager_uuid?: string;
43181
+ /**
43182
+ * Resource state
43183
+ *
43184
+ *
43185
+ */
43186
+ state?: Array<'Creating' | 'Erred' | 'OK' | 'Terminated' | 'Terminating' | 'Updating'>;
43187
+ /**
43188
+ * Filter by usage-based offerings
43189
+ */
43190
+ usage_based?: boolean;
43191
+ /**
43192
+ * Include only resources visible to service providers
43193
+ */
43194
+ visible_to_providers?: boolean;
43195
+ /**
43196
+ * Visible to username
43197
+ */
43198
+ visible_to_username?: string;
43199
+ };
43200
+ url: '/api/marketplace-resources/{uuid}/history/';
43201
+ };
43202
+ export type MarketplaceResourcesHistoryListResponses = {
43203
+ 200: Array<ResourceVersion>;
43204
+ };
43205
+ export type MarketplaceResourcesHistoryListResponse = MarketplaceResourcesHistoryListResponses[keyof MarketplaceResourcesHistoryListResponses];
43206
+ export type MarketplaceResourcesHistoryAtRetrieveData = {
43207
+ body?: never;
43208
+ path: {
43209
+ uuid: string;
43210
+ };
43211
+ query: {
43212
+ /**
43213
+ * ISO 8601 timestamp to query the resource state at
43214
+ */
43215
+ timestamp: string;
43216
+ };
43217
+ url: '/api/marketplace-resources/{uuid}/history/at/';
43218
+ };
43219
+ export type MarketplaceResourcesHistoryAtRetrieveErrors = {
43220
+ 400: {
43221
+ [key: string]: unknown;
43222
+ };
43223
+ 404: {
43224
+ [key: string]: unknown;
43225
+ };
43226
+ };
43227
+ export type MarketplaceResourcesHistoryAtRetrieveError = MarketplaceResourcesHistoryAtRetrieveErrors[keyof MarketplaceResourcesHistoryAtRetrieveErrors];
43228
+ export type MarketplaceResourcesHistoryAtRetrieveResponses = {
43229
+ 200: ResourceVersion;
43230
+ };
43231
+ export type MarketplaceResourcesHistoryAtRetrieveResponse = MarketplaceResourcesHistoryAtRetrieveResponses[keyof MarketplaceResourcesHistoryAtRetrieveResponses];
42779
43232
  export type MarketplaceResourcesMoveResourceData = {
42780
43233
  body: MoveResourceRequest;
42781
43234
  path: {
@@ -45608,6 +46061,14 @@ export type MarketplaceSoftwarePackagesListData = {
45608
46061
  * Filter packages by description (case-insensitive partial match)
45609
46062
  */
45610
46063
  description?: string;
46064
+ /**
46065
+ * Filter packages having extensions with a specific name
46066
+ */
46067
+ extension_name?: string;
46068
+ /**
46069
+ * Filter packages having extensions of a specific type (e.g., 'python')
46070
+ */
46071
+ extension_type?: string;
45611
46072
  /**
45612
46073
  * Filter packages that have a specific version
45613
46074
  */
@@ -45673,6 +46134,14 @@ export type MarketplaceSoftwarePackagesCountData = {
45673
46134
  * Filter packages by description (case-insensitive partial match)
45674
46135
  */
45675
46136
  description?: string;
46137
+ /**
46138
+ * Filter packages having extensions with a specific name
46139
+ */
46140
+ extension_name?: string;
46141
+ /**
46142
+ * Filter packages having extensions of a specific type (e.g., 'python')
46143
+ */
46144
+ extension_type?: string;
45676
46145
  /**
45677
46146
  * Filter packages that have a specific version
45678
46147
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waldur-js-client",
3
- "version": "7.9.9-dev.10",
3
+ "version": "7.9.9-dev.11",
4
4
  "description": "JavaScript client for Waldur MasterMind generated from OpenAPI schema",
5
5
  "author": "Waldur Platform",
6
6
  "license": "MIT",