waldur-js-client 8.0.7-dev.2 → 8.0.7-dev.4

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
@@ -11922,6 +11922,310 @@ export const managedRancherClusterResourcesAddNode = (options) => {
11922
11922
  }
11923
11923
  });
11924
11924
  };
11925
+ /**
11926
+ * List attribute options
11927
+ * Returns a paginated list of options for choice-type attributes. Filter by attribute (URL). Default option is determined by attribute.default.
11928
+ */
11929
+ export const marketplaceAttributeOptionsList = (options) => {
11930
+ return (options?.client ?? _heyApiClient).get({
11931
+ security: [
11932
+ {
11933
+ name: 'Authorization',
11934
+ type: 'apiKey'
11935
+ },
11936
+ {
11937
+ scheme: 'bearer',
11938
+ type: 'http'
11939
+ }
11940
+ ],
11941
+ url: '/api/marketplace-attribute-options/',
11942
+ ...options
11943
+ });
11944
+ };
11945
+ /**
11946
+ * List attribute options
11947
+ * Get number of items in the collection matching the request parameters.
11948
+ */
11949
+ export const marketplaceAttributeOptionsCount = (options) => {
11950
+ return (options?.client ?? _heyApiClient).head({
11951
+ security: [
11952
+ {
11953
+ name: 'Authorization',
11954
+ type: 'apiKey'
11955
+ },
11956
+ {
11957
+ scheme: 'bearer',
11958
+ type: 'http'
11959
+ }
11960
+ ],
11961
+ url: '/api/marketplace-attribute-options/',
11962
+ ...options
11963
+ });
11964
+ };
11965
+ /**
11966
+ * Create an attribute option
11967
+ * Creates a new option for a choice-type attribute. Requires staff permissions.
11968
+ */
11969
+ export const marketplaceAttributeOptionsCreate = (options) => {
11970
+ return (options.client ?? _heyApiClient).post({
11971
+ security: [
11972
+ {
11973
+ name: 'Authorization',
11974
+ type: 'apiKey'
11975
+ },
11976
+ {
11977
+ scheme: 'bearer',
11978
+ type: 'http'
11979
+ }
11980
+ ],
11981
+ url: '/api/marketplace-attribute-options/',
11982
+ ...options,
11983
+ headers: {
11984
+ 'Content-Type': 'application/json',
11985
+ ...options.headers
11986
+ }
11987
+ });
11988
+ };
11989
+ /**
11990
+ * Delete an attribute option
11991
+ * Deletes an attribute option. Requires staff permissions.
11992
+ */
11993
+ export const marketplaceAttributeOptionsDestroy = (options) => {
11994
+ return (options.client ?? _heyApiClient).delete({
11995
+ security: [
11996
+ {
11997
+ name: 'Authorization',
11998
+ type: 'apiKey'
11999
+ },
12000
+ {
12001
+ scheme: 'bearer',
12002
+ type: 'http'
12003
+ }
12004
+ ],
12005
+ url: '/api/marketplace-attribute-options/{uuid}/',
12006
+ ...options
12007
+ });
12008
+ };
12009
+ /**
12010
+ * Retrieve an attribute option
12011
+ * Returns the details of a specific attribute option.
12012
+ */
12013
+ export const marketplaceAttributeOptionsRetrieve = (options) => {
12014
+ return (options.client ?? _heyApiClient).get({
12015
+ security: [
12016
+ {
12017
+ name: 'Authorization',
12018
+ type: 'apiKey'
12019
+ },
12020
+ {
12021
+ scheme: 'bearer',
12022
+ type: 'http'
12023
+ }
12024
+ ],
12025
+ url: '/api/marketplace-attribute-options/{uuid}/',
12026
+ ...options
12027
+ });
12028
+ };
12029
+ /**
12030
+ * Partially update an attribute option
12031
+ * Partially updates an existing attribute option. To set the default option, PATCH the attribute with default=<option_key>. Requires staff permissions.
12032
+ */
12033
+ export const marketplaceAttributeOptionsPartialUpdate = (options) => {
12034
+ return (options.client ?? _heyApiClient).patch({
12035
+ security: [
12036
+ {
12037
+ name: 'Authorization',
12038
+ type: 'apiKey'
12039
+ },
12040
+ {
12041
+ scheme: 'bearer',
12042
+ type: 'http'
12043
+ }
12044
+ ],
12045
+ url: '/api/marketplace-attribute-options/{uuid}/',
12046
+ ...options,
12047
+ headers: {
12048
+ 'Content-Type': 'application/json',
12049
+ ...options.headers
12050
+ }
12051
+ });
12052
+ };
12053
+ /**
12054
+ * Update an attribute option
12055
+ * Updates an existing attribute option. Requires staff permissions.
12056
+ */
12057
+ export const marketplaceAttributeOptionsUpdate = (options) => {
12058
+ return (options.client ?? _heyApiClient).put({
12059
+ security: [
12060
+ {
12061
+ name: 'Authorization',
12062
+ type: 'apiKey'
12063
+ },
12064
+ {
12065
+ scheme: 'bearer',
12066
+ type: 'http'
12067
+ }
12068
+ ],
12069
+ url: '/api/marketplace-attribute-options/{uuid}/',
12070
+ ...options,
12071
+ headers: {
12072
+ 'Content-Type': 'application/json',
12073
+ ...options.headers
12074
+ }
12075
+ });
12076
+ };
12077
+ /**
12078
+ * List attributes
12079
+ * Returns a paginated list of all attributes. Attributes define form fields within section. Filter by section (URL).
12080
+ */
12081
+ export const marketplaceAttributesList = (options) => {
12082
+ return (options?.client ?? _heyApiClient).get({
12083
+ security: [
12084
+ {
12085
+ name: 'Authorization',
12086
+ type: 'apiKey'
12087
+ },
12088
+ {
12089
+ scheme: 'bearer',
12090
+ type: 'http'
12091
+ }
12092
+ ],
12093
+ url: '/api/marketplace-attributes/',
12094
+ ...options
12095
+ });
12096
+ };
12097
+ /**
12098
+ * List attributes
12099
+ * Get number of items in the collection matching the request parameters.
12100
+ */
12101
+ export const marketplaceAttributesCount = (options) => {
12102
+ return (options?.client ?? _heyApiClient).head({
12103
+ security: [
12104
+ {
12105
+ name: 'Authorization',
12106
+ type: 'apiKey'
12107
+ },
12108
+ {
12109
+ scheme: 'bearer',
12110
+ type: 'http'
12111
+ }
12112
+ ],
12113
+ url: '/api/marketplace-attributes/',
12114
+ ...options
12115
+ });
12116
+ };
12117
+ /**
12118
+ * Create an attribute
12119
+ * Creates a new attribute within a section. Requires staff permissions.
12120
+ */
12121
+ export const marketplaceAttributesCreate = (options) => {
12122
+ return (options.client ?? _heyApiClient).post({
12123
+ security: [
12124
+ {
12125
+ name: 'Authorization',
12126
+ type: 'apiKey'
12127
+ },
12128
+ {
12129
+ scheme: 'bearer',
12130
+ type: 'http'
12131
+ }
12132
+ ],
12133
+ url: '/api/marketplace-attributes/',
12134
+ ...options,
12135
+ headers: {
12136
+ 'Content-Type': 'application/json',
12137
+ ...options.headers
12138
+ }
12139
+ });
12140
+ };
12141
+ /**
12142
+ * Delete an attribute
12143
+ * Deletes an attribute. Requires staff permissions.
12144
+ */
12145
+ export const marketplaceAttributesDestroy = (options) => {
12146
+ return (options.client ?? _heyApiClient).delete({
12147
+ security: [
12148
+ {
12149
+ name: 'Authorization',
12150
+ type: 'apiKey'
12151
+ },
12152
+ {
12153
+ scheme: 'bearer',
12154
+ type: 'http'
12155
+ }
12156
+ ],
12157
+ url: '/api/marketplace-attributes/{uuid}/',
12158
+ ...options
12159
+ });
12160
+ };
12161
+ /**
12162
+ * Retrieve an attribute
12163
+ * Returns the details of a specific attribute, identified by its UUID.
12164
+ */
12165
+ export const marketplaceAttributesRetrieve = (options) => {
12166
+ return (options.client ?? _heyApiClient).get({
12167
+ security: [
12168
+ {
12169
+ name: 'Authorization',
12170
+ type: 'apiKey'
12171
+ },
12172
+ {
12173
+ scheme: 'bearer',
12174
+ type: 'http'
12175
+ }
12176
+ ],
12177
+ url: '/api/marketplace-attributes/{uuid}/',
12178
+ ...options
12179
+ });
12180
+ };
12181
+ /**
12182
+ * Partially update an attribute
12183
+ * Partially updates an existing attribute. Requires staff permissions.
12184
+ */
12185
+ export const marketplaceAttributesPartialUpdate = (options) => {
12186
+ return (options.client ?? _heyApiClient).patch({
12187
+ security: [
12188
+ {
12189
+ name: 'Authorization',
12190
+ type: 'apiKey'
12191
+ },
12192
+ {
12193
+ scheme: 'bearer',
12194
+ type: 'http'
12195
+ }
12196
+ ],
12197
+ url: '/api/marketplace-attributes/{uuid}/',
12198
+ ...options,
12199
+ headers: {
12200
+ 'Content-Type': 'application/json',
12201
+ ...options.headers
12202
+ }
12203
+ });
12204
+ };
12205
+ /**
12206
+ * Update an attribute
12207
+ * Updates an existing attribute. Requires staff permissions.
12208
+ */
12209
+ export const marketplaceAttributesUpdate = (options) => {
12210
+ return (options.client ?? _heyApiClient).put({
12211
+ security: [
12212
+ {
12213
+ name: 'Authorization',
12214
+ type: 'apiKey'
12215
+ },
12216
+ {
12217
+ scheme: 'bearer',
12218
+ type: 'http'
12219
+ }
12220
+ ],
12221
+ url: '/api/marketplace-attributes/{uuid}/',
12222
+ ...options,
12223
+ headers: {
12224
+ 'Content-Type': 'application/json',
12225
+ ...options.headers
12226
+ }
12227
+ });
12228
+ };
11925
12229
  export const marketplaceBookingsList = (options) => {
11926
12230
  return (options.client ?? _heyApiClient).get({
11927
12231
  security: [