waldur-js-client 8.0.7-dev.3 → 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.d.ts +71 -1
- package/dist/sdk.gen.js +304 -0
- package/dist/types.gen.d.ts +287 -3
- package/package.json +1 -1
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: [
|
package/dist/types.gen.d.ts
CHANGED
|
@@ -1437,12 +1437,57 @@ export type AttachmentRequest = {
|
|
|
1437
1437
|
issue: string;
|
|
1438
1438
|
file: Blob | File;
|
|
1439
1439
|
};
|
|
1440
|
+
export type Attribute = {
|
|
1441
|
+
readonly url: string;
|
|
1442
|
+
readonly uuid: string;
|
|
1443
|
+
key: string;
|
|
1444
|
+
readonly created: string;
|
|
1445
|
+
title: string;
|
|
1446
|
+
section: string;
|
|
1447
|
+
readonly section_title: string;
|
|
1448
|
+
type: AttributeTypeEnum;
|
|
1449
|
+
/**
|
|
1450
|
+
* A value must be provided for the attribute.
|
|
1451
|
+
*/
|
|
1452
|
+
required?: boolean;
|
|
1453
|
+
default?: unknown;
|
|
1454
|
+
};
|
|
1455
|
+
export type AttributeOption = {
|
|
1456
|
+
readonly url: string;
|
|
1457
|
+
readonly uuid: string;
|
|
1458
|
+
readonly id: number;
|
|
1459
|
+
key: string;
|
|
1460
|
+
title: string;
|
|
1461
|
+
attribute: string;
|
|
1462
|
+
readonly attribute_title: string;
|
|
1463
|
+
/**
|
|
1464
|
+
* Return True if this option is the default for its attribute.
|
|
1465
|
+
*/
|
|
1466
|
+
readonly is_default: boolean;
|
|
1467
|
+
};
|
|
1468
|
+
export type AttributeOptionRequest = {
|
|
1469
|
+
key: string;
|
|
1470
|
+
title: string;
|
|
1471
|
+
attribute: string;
|
|
1472
|
+
};
|
|
1473
|
+
export type AttributeRequest = {
|
|
1474
|
+
key: string;
|
|
1475
|
+
title: string;
|
|
1476
|
+
section: string;
|
|
1477
|
+
type: AttributeTypeEnum;
|
|
1478
|
+
/**
|
|
1479
|
+
* A value must be provided for the attribute.
|
|
1480
|
+
*/
|
|
1481
|
+
required?: boolean;
|
|
1482
|
+
default?: unknown;
|
|
1483
|
+
};
|
|
1440
1484
|
export type AttributeSourceDetail = {
|
|
1441
1485
|
source: string;
|
|
1442
1486
|
timestamp: string;
|
|
1443
1487
|
age_days: number;
|
|
1444
1488
|
is_stale: boolean;
|
|
1445
1489
|
};
|
|
1490
|
+
export type AttributeTypeEnum = 'boolean' | 'string' | 'text' | 'integer' | 'choice' | 'list';
|
|
1446
1491
|
export type AuthMethodEnum = 'api_token' | 'personal_access_token' | 'basic';
|
|
1447
1492
|
export type AuthResult = {
|
|
1448
1493
|
readonly uuid: string;
|
|
@@ -10049,9 +10094,10 @@ export type NestedAgentServiceRequest = {
|
|
|
10049
10094
|
statistics?: unknown;
|
|
10050
10095
|
};
|
|
10051
10096
|
export type NestedAttribute = {
|
|
10097
|
+
readonly uuid?: string;
|
|
10052
10098
|
key?: string;
|
|
10053
10099
|
title?: string;
|
|
10054
|
-
type?:
|
|
10100
|
+
type?: AttributeTypeEnum;
|
|
10055
10101
|
options?: Array<NestedAttributeOption>;
|
|
10056
10102
|
/**
|
|
10057
10103
|
* A value must be provided for the attribute.
|
|
@@ -10060,8 +10106,13 @@ export type NestedAttribute = {
|
|
|
10060
10106
|
default?: unknown;
|
|
10061
10107
|
};
|
|
10062
10108
|
export type NestedAttributeOption = {
|
|
10109
|
+
readonly uuid?: string;
|
|
10063
10110
|
key?: string;
|
|
10064
10111
|
title?: string;
|
|
10112
|
+
/**
|
|
10113
|
+
* Return True if this option is the default for its attribute.
|
|
10114
|
+
*/
|
|
10115
|
+
readonly is_default?: boolean;
|
|
10065
10116
|
};
|
|
10066
10117
|
export type NestedAttributeOptionRequest = {
|
|
10067
10118
|
key: string;
|
|
@@ -10070,7 +10121,7 @@ export type NestedAttributeOptionRequest = {
|
|
|
10070
10121
|
export type NestedAttributeRequest = {
|
|
10071
10122
|
key: string;
|
|
10072
10123
|
title: string;
|
|
10073
|
-
type:
|
|
10124
|
+
type: AttributeTypeEnum;
|
|
10074
10125
|
options: Array<NestedAttributeOptionRequest>;
|
|
10075
10126
|
/**
|
|
10076
10127
|
* A value must be provided for the attribute.
|
|
@@ -10078,7 +10129,6 @@ export type NestedAttributeRequest = {
|
|
|
10078
10129
|
required?: boolean;
|
|
10079
10130
|
default?: unknown;
|
|
10080
10131
|
};
|
|
10081
|
-
export type NestedAttributeTypeEnum = 'boolean' | 'string' | 'text' | 'integer' | 'choice' | 'list';
|
|
10082
10132
|
export type NestedCampaign = {
|
|
10083
10133
|
readonly uuid?: string;
|
|
10084
10134
|
name?: string;
|
|
@@ -15012,6 +15062,22 @@ export type PatchedAssignmentItemRequest = {
|
|
|
15012
15062
|
*/
|
|
15013
15063
|
decline_reason?: string;
|
|
15014
15064
|
};
|
|
15065
|
+
export type PatchedAttributeOptionRequest = {
|
|
15066
|
+
key?: string;
|
|
15067
|
+
title?: string;
|
|
15068
|
+
attribute?: string;
|
|
15069
|
+
};
|
|
15070
|
+
export type PatchedAttributeRequest = {
|
|
15071
|
+
key?: string;
|
|
15072
|
+
title?: string;
|
|
15073
|
+
section?: string;
|
|
15074
|
+
type?: AttributeTypeEnum;
|
|
15075
|
+
/**
|
|
15076
|
+
* A value must be provided for the attribute.
|
|
15077
|
+
*/
|
|
15078
|
+
required?: boolean;
|
|
15079
|
+
default?: unknown;
|
|
15080
|
+
};
|
|
15015
15081
|
export type PatchedAwsInstanceRequest = {
|
|
15016
15082
|
name?: string;
|
|
15017
15083
|
description?: string;
|
|
@@ -39867,6 +39933,224 @@ export type ManagedRancherClusterResourcesAddNodeResponses = {
|
|
|
39867
39933
|
200: RancherNode;
|
|
39868
39934
|
};
|
|
39869
39935
|
export type ManagedRancherClusterResourcesAddNodeResponse = ManagedRancherClusterResourcesAddNodeResponses[keyof ManagedRancherClusterResourcesAddNodeResponses];
|
|
39936
|
+
export type MarketplaceAttributeOptionsListData = {
|
|
39937
|
+
body?: never;
|
|
39938
|
+
path?: never;
|
|
39939
|
+
query?: {
|
|
39940
|
+
/**
|
|
39941
|
+
* Attribute URL
|
|
39942
|
+
*/
|
|
39943
|
+
attribute?: string;
|
|
39944
|
+
/**
|
|
39945
|
+
* A page number within the paginated result set.
|
|
39946
|
+
*/
|
|
39947
|
+
page?: number;
|
|
39948
|
+
/**
|
|
39949
|
+
* Number of results to return per page.
|
|
39950
|
+
*/
|
|
39951
|
+
page_size?: number;
|
|
39952
|
+
};
|
|
39953
|
+
url: '/api/marketplace-attribute-options/';
|
|
39954
|
+
};
|
|
39955
|
+
export type MarketplaceAttributeOptionsListResponses = {
|
|
39956
|
+
200: Array<AttributeOption>;
|
|
39957
|
+
};
|
|
39958
|
+
export type MarketplaceAttributeOptionsListResponse = MarketplaceAttributeOptionsListResponses[keyof MarketplaceAttributeOptionsListResponses];
|
|
39959
|
+
export type MarketplaceAttributeOptionsCountData = {
|
|
39960
|
+
body?: never;
|
|
39961
|
+
path?: never;
|
|
39962
|
+
query?: {
|
|
39963
|
+
/**
|
|
39964
|
+
* Attribute URL
|
|
39965
|
+
*/
|
|
39966
|
+
attribute?: string;
|
|
39967
|
+
/**
|
|
39968
|
+
* A page number within the paginated result set.
|
|
39969
|
+
*/
|
|
39970
|
+
page?: number;
|
|
39971
|
+
/**
|
|
39972
|
+
* Number of results to return per page.
|
|
39973
|
+
*/
|
|
39974
|
+
page_size?: number;
|
|
39975
|
+
};
|
|
39976
|
+
url: '/api/marketplace-attribute-options/';
|
|
39977
|
+
};
|
|
39978
|
+
export type MarketplaceAttributeOptionsCountResponses = {
|
|
39979
|
+
/**
|
|
39980
|
+
* No response body
|
|
39981
|
+
*/
|
|
39982
|
+
200: unknown;
|
|
39983
|
+
};
|
|
39984
|
+
export type MarketplaceAttributeOptionsCreateData = {
|
|
39985
|
+
body: AttributeOptionRequest;
|
|
39986
|
+
path?: never;
|
|
39987
|
+
query?: never;
|
|
39988
|
+
url: '/api/marketplace-attribute-options/';
|
|
39989
|
+
};
|
|
39990
|
+
export type MarketplaceAttributeOptionsCreateResponses = {
|
|
39991
|
+
201: AttributeOption;
|
|
39992
|
+
};
|
|
39993
|
+
export type MarketplaceAttributeOptionsCreateResponse = MarketplaceAttributeOptionsCreateResponses[keyof MarketplaceAttributeOptionsCreateResponses];
|
|
39994
|
+
export type MarketplaceAttributeOptionsDestroyData = {
|
|
39995
|
+
body?: never;
|
|
39996
|
+
path: {
|
|
39997
|
+
uuid: string;
|
|
39998
|
+
};
|
|
39999
|
+
query?: never;
|
|
40000
|
+
url: '/api/marketplace-attribute-options/{uuid}/';
|
|
40001
|
+
};
|
|
40002
|
+
export type MarketplaceAttributeOptionsDestroyResponses = {
|
|
40003
|
+
/**
|
|
40004
|
+
* No response body
|
|
40005
|
+
*/
|
|
40006
|
+
204: void;
|
|
40007
|
+
};
|
|
40008
|
+
export type MarketplaceAttributeOptionsDestroyResponse = MarketplaceAttributeOptionsDestroyResponses[keyof MarketplaceAttributeOptionsDestroyResponses];
|
|
40009
|
+
export type MarketplaceAttributeOptionsRetrieveData = {
|
|
40010
|
+
body?: never;
|
|
40011
|
+
path: {
|
|
40012
|
+
uuid: string;
|
|
40013
|
+
};
|
|
40014
|
+
query?: never;
|
|
40015
|
+
url: '/api/marketplace-attribute-options/{uuid}/';
|
|
40016
|
+
};
|
|
40017
|
+
export type MarketplaceAttributeOptionsRetrieveResponses = {
|
|
40018
|
+
200: AttributeOption;
|
|
40019
|
+
};
|
|
40020
|
+
export type MarketplaceAttributeOptionsRetrieveResponse = MarketplaceAttributeOptionsRetrieveResponses[keyof MarketplaceAttributeOptionsRetrieveResponses];
|
|
40021
|
+
export type MarketplaceAttributeOptionsPartialUpdateData = {
|
|
40022
|
+
body?: PatchedAttributeOptionRequest;
|
|
40023
|
+
path: {
|
|
40024
|
+
uuid: string;
|
|
40025
|
+
};
|
|
40026
|
+
query?: never;
|
|
40027
|
+
url: '/api/marketplace-attribute-options/{uuid}/';
|
|
40028
|
+
};
|
|
40029
|
+
export type MarketplaceAttributeOptionsPartialUpdateResponses = {
|
|
40030
|
+
200: AttributeOption;
|
|
40031
|
+
};
|
|
40032
|
+
export type MarketplaceAttributeOptionsPartialUpdateResponse = MarketplaceAttributeOptionsPartialUpdateResponses[keyof MarketplaceAttributeOptionsPartialUpdateResponses];
|
|
40033
|
+
export type MarketplaceAttributeOptionsUpdateData = {
|
|
40034
|
+
body: AttributeOptionRequest;
|
|
40035
|
+
path: {
|
|
40036
|
+
uuid: string;
|
|
40037
|
+
};
|
|
40038
|
+
query?: never;
|
|
40039
|
+
url: '/api/marketplace-attribute-options/{uuid}/';
|
|
40040
|
+
};
|
|
40041
|
+
export type MarketplaceAttributeOptionsUpdateResponses = {
|
|
40042
|
+
200: AttributeOption;
|
|
40043
|
+
};
|
|
40044
|
+
export type MarketplaceAttributeOptionsUpdateResponse = MarketplaceAttributeOptionsUpdateResponses[keyof MarketplaceAttributeOptionsUpdateResponses];
|
|
40045
|
+
export type MarketplaceAttributesListData = {
|
|
40046
|
+
body?: never;
|
|
40047
|
+
path?: never;
|
|
40048
|
+
query?: {
|
|
40049
|
+
/**
|
|
40050
|
+
* A page number within the paginated result set.
|
|
40051
|
+
*/
|
|
40052
|
+
page?: number;
|
|
40053
|
+
/**
|
|
40054
|
+
* Number of results to return per page.
|
|
40055
|
+
*/
|
|
40056
|
+
page_size?: number;
|
|
40057
|
+
/**
|
|
40058
|
+
* Section URL
|
|
40059
|
+
*/
|
|
40060
|
+
section?: string;
|
|
40061
|
+
};
|
|
40062
|
+
url: '/api/marketplace-attributes/';
|
|
40063
|
+
};
|
|
40064
|
+
export type MarketplaceAttributesListResponses = {
|
|
40065
|
+
200: Array<Attribute>;
|
|
40066
|
+
};
|
|
40067
|
+
export type MarketplaceAttributesListResponse = MarketplaceAttributesListResponses[keyof MarketplaceAttributesListResponses];
|
|
40068
|
+
export type MarketplaceAttributesCountData = {
|
|
40069
|
+
body?: never;
|
|
40070
|
+
path?: never;
|
|
40071
|
+
query?: {
|
|
40072
|
+
/**
|
|
40073
|
+
* A page number within the paginated result set.
|
|
40074
|
+
*/
|
|
40075
|
+
page?: number;
|
|
40076
|
+
/**
|
|
40077
|
+
* Number of results to return per page.
|
|
40078
|
+
*/
|
|
40079
|
+
page_size?: number;
|
|
40080
|
+
/**
|
|
40081
|
+
* Section URL
|
|
40082
|
+
*/
|
|
40083
|
+
section?: string;
|
|
40084
|
+
};
|
|
40085
|
+
url: '/api/marketplace-attributes/';
|
|
40086
|
+
};
|
|
40087
|
+
export type MarketplaceAttributesCountResponses = {
|
|
40088
|
+
/**
|
|
40089
|
+
* No response body
|
|
40090
|
+
*/
|
|
40091
|
+
200: unknown;
|
|
40092
|
+
};
|
|
40093
|
+
export type MarketplaceAttributesCreateData = {
|
|
40094
|
+
body: AttributeRequest;
|
|
40095
|
+
path?: never;
|
|
40096
|
+
query?: never;
|
|
40097
|
+
url: '/api/marketplace-attributes/';
|
|
40098
|
+
};
|
|
40099
|
+
export type MarketplaceAttributesCreateResponses = {
|
|
40100
|
+
201: Attribute;
|
|
40101
|
+
};
|
|
40102
|
+
export type MarketplaceAttributesCreateResponse = MarketplaceAttributesCreateResponses[keyof MarketplaceAttributesCreateResponses];
|
|
40103
|
+
export type MarketplaceAttributesDestroyData = {
|
|
40104
|
+
body?: never;
|
|
40105
|
+
path: {
|
|
40106
|
+
uuid: string;
|
|
40107
|
+
};
|
|
40108
|
+
query?: never;
|
|
40109
|
+
url: '/api/marketplace-attributes/{uuid}/';
|
|
40110
|
+
};
|
|
40111
|
+
export type MarketplaceAttributesDestroyResponses = {
|
|
40112
|
+
/**
|
|
40113
|
+
* No response body
|
|
40114
|
+
*/
|
|
40115
|
+
204: void;
|
|
40116
|
+
};
|
|
40117
|
+
export type MarketplaceAttributesDestroyResponse = MarketplaceAttributesDestroyResponses[keyof MarketplaceAttributesDestroyResponses];
|
|
40118
|
+
export type MarketplaceAttributesRetrieveData = {
|
|
40119
|
+
body?: never;
|
|
40120
|
+
path: {
|
|
40121
|
+
uuid: string;
|
|
40122
|
+
};
|
|
40123
|
+
query?: never;
|
|
40124
|
+
url: '/api/marketplace-attributes/{uuid}/';
|
|
40125
|
+
};
|
|
40126
|
+
export type MarketplaceAttributesRetrieveResponses = {
|
|
40127
|
+
200: Attribute;
|
|
40128
|
+
};
|
|
40129
|
+
export type MarketplaceAttributesRetrieveResponse = MarketplaceAttributesRetrieveResponses[keyof MarketplaceAttributesRetrieveResponses];
|
|
40130
|
+
export type MarketplaceAttributesPartialUpdateData = {
|
|
40131
|
+
body?: PatchedAttributeRequest;
|
|
40132
|
+
path: {
|
|
40133
|
+
uuid: string;
|
|
40134
|
+
};
|
|
40135
|
+
query?: never;
|
|
40136
|
+
url: '/api/marketplace-attributes/{uuid}/';
|
|
40137
|
+
};
|
|
40138
|
+
export type MarketplaceAttributesPartialUpdateResponses = {
|
|
40139
|
+
200: Attribute;
|
|
40140
|
+
};
|
|
40141
|
+
export type MarketplaceAttributesPartialUpdateResponse = MarketplaceAttributesPartialUpdateResponses[keyof MarketplaceAttributesPartialUpdateResponses];
|
|
40142
|
+
export type MarketplaceAttributesUpdateData = {
|
|
40143
|
+
body: AttributeRequest;
|
|
40144
|
+
path: {
|
|
40145
|
+
uuid: string;
|
|
40146
|
+
};
|
|
40147
|
+
query?: never;
|
|
40148
|
+
url: '/api/marketplace-attributes/{uuid}/';
|
|
40149
|
+
};
|
|
40150
|
+
export type MarketplaceAttributesUpdateResponses = {
|
|
40151
|
+
200: Attribute;
|
|
40152
|
+
};
|
|
40153
|
+
export type MarketplaceAttributesUpdateResponse = MarketplaceAttributesUpdateResponses[keyof MarketplaceAttributesUpdateResponses];
|
|
39870
40154
|
export type MarketplaceBookingsListData = {
|
|
39871
40155
|
body?: never;
|
|
39872
40156
|
path: {
|