@epilot/entity-client 4.21.0-rc.3 → 4.21.0
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/client.d.ts +0 -0
- package/dist/client.js +0 -0
- package/dist/definition.d.ts +0 -0
- package/dist/definition.js +1 -1
- package/dist/index.d.ts +0 -0
- package/dist/index.js +0 -0
- package/dist/openapi-runtime.json +140 -1
- package/dist/openapi.d.ts +392 -9
- package/dist/openapi.json +416 -10
- package/dist/schema-model.d.ts +0 -0
- package/dist/schema-model.js +0 -0
- package/package.json +2 -3
package/dist/openapi.d.ts
CHANGED
|
@@ -54,6 +54,7 @@ declare namespace Components {
|
|
|
54
54
|
*/
|
|
55
55
|
Schemas.EntitySlug[];
|
|
56
56
|
export type SavedViewIdPathParam = /* Generated uuid for a saved view */ Schemas.SavedViewId /* uuid */;
|
|
57
|
+
export type TaxonomyClassificationSlugPathParam = string;
|
|
57
58
|
export type TaxonomySlugPathParam = string;
|
|
58
59
|
export type TaxonomySlugQueryParam = string;
|
|
59
60
|
}
|
|
@@ -67,6 +68,7 @@ declare namespace Components {
|
|
|
67
68
|
*/
|
|
68
69
|
Parameters.EntitySlugPathPriceParam;
|
|
69
70
|
TaxonomySlugPathParam?: Parameters.TaxonomySlugPathParam;
|
|
71
|
+
TaxonomyClassificationSlugPathParam?: Parameters.TaxonomyClassificationSlugPathParam;
|
|
70
72
|
SavedViewIdPathParam?: Parameters.SavedViewIdPathParam;
|
|
71
73
|
ActivityIdPathParam?: Parameters.ActivityIdPathParam;
|
|
72
74
|
}
|
|
@@ -4290,6 +4292,12 @@ declare namespace Components {
|
|
|
4290
4292
|
hint_tooltip_placement?: string;
|
|
4291
4293
|
};
|
|
4292
4294
|
id?: ClassificationId /* uuid */;
|
|
4295
|
+
/**
|
|
4296
|
+
* URL-friendly identifier for the classification
|
|
4297
|
+
* example:
|
|
4298
|
+
* wallbox-pv
|
|
4299
|
+
*/
|
|
4300
|
+
slug?: string;
|
|
4293
4301
|
parents?: ClassificationId /* uuid */[];
|
|
4294
4302
|
created_at?: string; // date-time
|
|
4295
4303
|
updated_at?: string; // date-time
|
|
@@ -5550,7 +5558,7 @@ declare namespace Components {
|
|
|
5550
5558
|
suggestions?: string[];
|
|
5551
5559
|
}
|
|
5552
5560
|
export interface Taxonomy {
|
|
5553
|
-
slug
|
|
5561
|
+
slug?: /**
|
|
5554
5562
|
* URL-friendly name for taxonomy
|
|
5555
5563
|
* example:
|
|
5556
5564
|
* purpose
|
|
@@ -5561,18 +5569,58 @@ declare namespace Components {
|
|
|
5561
5569
|
* example:
|
|
5562
5570
|
* Purpose
|
|
5563
5571
|
*/
|
|
5564
|
-
name
|
|
5572
|
+
name?: string;
|
|
5565
5573
|
/**
|
|
5566
|
-
* Plural name of a Taxonomy e.g. Purposes, Product Categories, Folders, Tags
|
|
5574
|
+
* Plural name of a Taxonomy e.g. Purposes, Product Categories, Folders, Tags. Defaults to name is not provided.
|
|
5567
5575
|
* example:
|
|
5568
5576
|
* Purposes
|
|
5569
5577
|
*/
|
|
5570
5578
|
plural?: string;
|
|
5579
|
+
/**
|
|
5580
|
+
* Kind of taxonomy e.g. system or user_defined. By default, it's empty, which means 'user_defined'
|
|
5581
|
+
* example:
|
|
5582
|
+
* system
|
|
5583
|
+
*/
|
|
5584
|
+
kind?: "system" | "user_defined";
|
|
5585
|
+
/**
|
|
5586
|
+
* Icon name for the taxonomy (from epilot360/icons icon set)
|
|
5587
|
+
* example:
|
|
5588
|
+
* purpose
|
|
5589
|
+
*/
|
|
5590
|
+
icon?: string;
|
|
5591
|
+
/**
|
|
5592
|
+
* HEX Color code for the taxonomy
|
|
5593
|
+
* example:
|
|
5594
|
+
* #FF5733
|
|
5595
|
+
*/
|
|
5596
|
+
color?: string;
|
|
5571
5597
|
created_at?: string; // date-time
|
|
5572
5598
|
updated_at?: string; // date-time
|
|
5599
|
+
/**
|
|
5600
|
+
* Date when the taxonomy was soft-deleted (enabled: false)
|
|
5601
|
+
*/
|
|
5602
|
+
deleted_at?: string; // date-time
|
|
5603
|
+
/**
|
|
5604
|
+
* User ID of the creator
|
|
5605
|
+
* example:
|
|
5606
|
+
* 10598
|
|
5607
|
+
*/
|
|
5608
|
+
created_by?: string;
|
|
5609
|
+
/**
|
|
5610
|
+
* Whether the taxonomy is enabled or not
|
|
5611
|
+
* example:
|
|
5612
|
+
* true
|
|
5613
|
+
*/
|
|
5614
|
+
enabled?: boolean;
|
|
5573
5615
|
}
|
|
5574
5616
|
export interface TaxonomyClassification {
|
|
5575
5617
|
id?: ClassificationId /* uuid */;
|
|
5618
|
+
/**
|
|
5619
|
+
* URL-friendly identifier for the classification
|
|
5620
|
+
* example:
|
|
5621
|
+
* wallbox-pv
|
|
5622
|
+
*/
|
|
5623
|
+
slug?: string;
|
|
5576
5624
|
/**
|
|
5577
5625
|
* example:
|
|
5578
5626
|
* Wallbox PV
|
|
@@ -6052,6 +6100,64 @@ declare namespace Paths {
|
|
|
6052
6100
|
export type $201 = /* A saved entity view */ Components.Schemas.SavedViewItem;
|
|
6053
6101
|
}
|
|
6054
6102
|
}
|
|
6103
|
+
namespace CreateTaxonomy {
|
|
6104
|
+
/**
|
|
6105
|
+
* example:
|
|
6106
|
+
* {
|
|
6107
|
+
* "slug": "product-category",
|
|
6108
|
+
* "name": "Product Category",
|
|
6109
|
+
* "plural": "Product Categories",
|
|
6110
|
+
* "icon": "product-hub",
|
|
6111
|
+
* "color": "#FF5733"
|
|
6112
|
+
* }
|
|
6113
|
+
*/
|
|
6114
|
+
export interface RequestBody {
|
|
6115
|
+
slug: /**
|
|
6116
|
+
* URL-friendly name for taxonomy
|
|
6117
|
+
* example:
|
|
6118
|
+
* purpose
|
|
6119
|
+
*/
|
|
6120
|
+
Components.Schemas.TaxonomySlug;
|
|
6121
|
+
/**
|
|
6122
|
+
* A human friendly name of a Taxonomy e.g. Purpose, Product Category, Folder, Tag
|
|
6123
|
+
* example:
|
|
6124
|
+
* Purpose
|
|
6125
|
+
*/
|
|
6126
|
+
name: string;
|
|
6127
|
+
/**
|
|
6128
|
+
* Plural name of a Taxonomy e.g. Purposes, Product Categories, Folders, Tags. Defaults to name is not provided.
|
|
6129
|
+
* example:
|
|
6130
|
+
* Purposes
|
|
6131
|
+
*/
|
|
6132
|
+
plural?: string;
|
|
6133
|
+
/**
|
|
6134
|
+
* Icon name for the taxonomy (from epilot360/icons icon set)
|
|
6135
|
+
* example:
|
|
6136
|
+
* purpose
|
|
6137
|
+
*/
|
|
6138
|
+
icon?: string;
|
|
6139
|
+
/**
|
|
6140
|
+
* HEX Color code for the taxonomy
|
|
6141
|
+
* example:
|
|
6142
|
+
* #FF5733
|
|
6143
|
+
*/
|
|
6144
|
+
color?: string;
|
|
6145
|
+
}
|
|
6146
|
+
namespace Responses {
|
|
6147
|
+
export type $201 = Components.Schemas.Taxonomy;
|
|
6148
|
+
export interface $409 {
|
|
6149
|
+
}
|
|
6150
|
+
}
|
|
6151
|
+
}
|
|
6152
|
+
namespace CreateTaxonomyClassification {
|
|
6153
|
+
namespace Parameters {
|
|
6154
|
+
export type TaxonomySlug = string;
|
|
6155
|
+
}
|
|
6156
|
+
export interface PathParameters {
|
|
6157
|
+
taxonomySlug: Parameters.TaxonomySlug;
|
|
6158
|
+
}
|
|
6159
|
+
export type RequestBody = Components.Schemas.TaxonomyClassification;
|
|
6160
|
+
}
|
|
6055
6161
|
namespace DeleteEntity {
|
|
6056
6162
|
namespace Parameters {
|
|
6057
6163
|
export type ActivityId = /**
|
|
@@ -6143,6 +6249,36 @@ declare namespace Paths {
|
|
|
6143
6249
|
}
|
|
6144
6250
|
}
|
|
6145
6251
|
}
|
|
6252
|
+
namespace DeleteTaxonomy {
|
|
6253
|
+
namespace Parameters {
|
|
6254
|
+
export type Permanent = boolean;
|
|
6255
|
+
export type TaxonomySlug = string;
|
|
6256
|
+
}
|
|
6257
|
+
export interface PathParameters {
|
|
6258
|
+
taxonomySlug: Parameters.TaxonomySlug;
|
|
6259
|
+
}
|
|
6260
|
+
export interface QueryParameters {
|
|
6261
|
+
permanent?: Parameters.Permanent;
|
|
6262
|
+
}
|
|
6263
|
+
namespace Responses {
|
|
6264
|
+
export interface $204 {
|
|
6265
|
+
}
|
|
6266
|
+
}
|
|
6267
|
+
}
|
|
6268
|
+
namespace DeleteTaxonomyClassification {
|
|
6269
|
+
namespace Parameters {
|
|
6270
|
+
export type ClassificationId = Components.Schemas.ClassificationId /* uuid */;
|
|
6271
|
+
export type Permanent = boolean;
|
|
6272
|
+
export type TaxonomySlug = string;
|
|
6273
|
+
}
|
|
6274
|
+
export interface PathParameters {
|
|
6275
|
+
taxonomySlug: Parameters.TaxonomySlug;
|
|
6276
|
+
classificationId: Parameters.ClassificationId;
|
|
6277
|
+
}
|
|
6278
|
+
export interface QueryParameters {
|
|
6279
|
+
permanent?: Parameters.Permanent;
|
|
6280
|
+
}
|
|
6281
|
+
}
|
|
6146
6282
|
namespace ExportEntities {
|
|
6147
6283
|
namespace Parameters {
|
|
6148
6284
|
export type IsTemplate = /* Pass 'true' to generate import template */ Components.Schemas.IsTemplate;
|
|
@@ -6679,6 +6815,21 @@ declare namespace Paths {
|
|
|
6679
6815
|
export type $200 = Components.Schemas.Taxonomy;
|
|
6680
6816
|
}
|
|
6681
6817
|
}
|
|
6818
|
+
namespace GetTaxonomyClassification {
|
|
6819
|
+
namespace Parameters {
|
|
6820
|
+
export type TaxonomyClassificationSlug = string;
|
|
6821
|
+
export type TaxonomySlug = string;
|
|
6822
|
+
}
|
|
6823
|
+
export interface PathParameters {
|
|
6824
|
+
taxonomySlug: Parameters.TaxonomySlug;
|
|
6825
|
+
taxonomyClassificationSlug: Parameters.TaxonomyClassificationSlug;
|
|
6826
|
+
}
|
|
6827
|
+
namespace Responses {
|
|
6828
|
+
export type $200 = Components.Schemas.TaxonomyClassification;
|
|
6829
|
+
export interface $404 {
|
|
6830
|
+
}
|
|
6831
|
+
}
|
|
6832
|
+
}
|
|
6682
6833
|
namespace ImportEntities {
|
|
6683
6834
|
namespace Parameters {
|
|
6684
6835
|
export type JobId = /**
|
|
@@ -6743,6 +6894,12 @@ declare namespace Paths {
|
|
|
6743
6894
|
}
|
|
6744
6895
|
}
|
|
6745
6896
|
namespace ListTaxonomies {
|
|
6897
|
+
namespace Parameters {
|
|
6898
|
+
export type IncludeDisabled = boolean;
|
|
6899
|
+
}
|
|
6900
|
+
export interface QueryParameters {
|
|
6901
|
+
include_disabled?: Parameters.IncludeDisabled;
|
|
6902
|
+
}
|
|
6746
6903
|
namespace Responses {
|
|
6747
6904
|
export interface $200 {
|
|
6748
6905
|
results?: Components.Schemas.Taxonomy[];
|
|
@@ -7115,6 +7272,68 @@ declare namespace Paths {
|
|
|
7115
7272
|
export type $200 = /* A saved entity view */ Components.Schemas.SavedViewItem;
|
|
7116
7273
|
}
|
|
7117
7274
|
}
|
|
7275
|
+
namespace UpdateTaxonomy {
|
|
7276
|
+
namespace Parameters {
|
|
7277
|
+
export type TaxonomySlug = string;
|
|
7278
|
+
}
|
|
7279
|
+
export interface PathParameters {
|
|
7280
|
+
taxonomySlug: Parameters.TaxonomySlug;
|
|
7281
|
+
}
|
|
7282
|
+
/**
|
|
7283
|
+
* example:
|
|
7284
|
+
* {
|
|
7285
|
+
* "name": "Product Category",
|
|
7286
|
+
* "plural": "Product Categories",
|
|
7287
|
+
* "icon": "product-hub",
|
|
7288
|
+
* "color": "#FF5733",
|
|
7289
|
+
* "enabled": true
|
|
7290
|
+
* }
|
|
7291
|
+
*/
|
|
7292
|
+
export interface RequestBody {
|
|
7293
|
+
/**
|
|
7294
|
+
* A human friendly name of a Taxonomy e.g. Purpose, Product Category, Folder, Tag
|
|
7295
|
+
* example:
|
|
7296
|
+
* Purpose
|
|
7297
|
+
*/
|
|
7298
|
+
name?: string;
|
|
7299
|
+
/**
|
|
7300
|
+
* Plural name of a Taxonomy e.g. Purposes, Product Categories, Folders, Tags. Defaults to name is not provided.
|
|
7301
|
+
* example:
|
|
7302
|
+
* Purposes
|
|
7303
|
+
*/
|
|
7304
|
+
plural?: string;
|
|
7305
|
+
/**
|
|
7306
|
+
* Icon name for the taxonomy (from epilot360/icons icon set)
|
|
7307
|
+
* example:
|
|
7308
|
+
* purpose
|
|
7309
|
+
*/
|
|
7310
|
+
icon?: string;
|
|
7311
|
+
/**
|
|
7312
|
+
* HEX Color code for the taxonomy
|
|
7313
|
+
* example:
|
|
7314
|
+
* #FF5733
|
|
7315
|
+
*/
|
|
7316
|
+
color?: string;
|
|
7317
|
+
/**
|
|
7318
|
+
* Whether the taxonomy is enabled or not
|
|
7319
|
+
* example:
|
|
7320
|
+
* true
|
|
7321
|
+
*/
|
|
7322
|
+
enabled?: boolean;
|
|
7323
|
+
}
|
|
7324
|
+
namespace Responses {
|
|
7325
|
+
export type $200 = Components.Schemas.Taxonomy;
|
|
7326
|
+
}
|
|
7327
|
+
}
|
|
7328
|
+
namespace UpdateTaxonomyClassification {
|
|
7329
|
+
namespace Parameters {
|
|
7330
|
+
export type TaxonomySlug = string;
|
|
7331
|
+
}
|
|
7332
|
+
export interface PathParameters {
|
|
7333
|
+
taxonomySlug: Parameters.TaxonomySlug;
|
|
7334
|
+
}
|
|
7335
|
+
export type RequestBody = Components.Schemas.TaxonomyClassification;
|
|
7336
|
+
}
|
|
7118
7337
|
namespace UpsertEntity {
|
|
7119
7338
|
namespace Parameters {
|
|
7120
7339
|
export type ActivityId = /**
|
|
@@ -7944,10 +8163,30 @@ export interface OperationMethods {
|
|
|
7944
8163
|
* List taxonomies in an organisation
|
|
7945
8164
|
*/
|
|
7946
8165
|
'listTaxonomies'(
|
|
7947
|
-
parameters?: Parameters<
|
|
8166
|
+
parameters?: Parameters<Paths.ListTaxonomies.QueryParameters> | null,
|
|
8167
|
+
data?: any,
|
|
8168
|
+
config?: AxiosRequestConfig
|
|
8169
|
+
): OperationResponse<Paths.ListTaxonomies.Responses.$200>
|
|
8170
|
+
/**
|
|
8171
|
+
* listTaxonomies - listTaxonomies
|
|
8172
|
+
*
|
|
8173
|
+
* List taxonomies in an organization
|
|
8174
|
+
*/
|
|
8175
|
+
'listTaxonomies'(
|
|
8176
|
+
parameters?: Parameters<Paths.ListTaxonomies.QueryParameters> | null,
|
|
7948
8177
|
data?: any,
|
|
7949
8178
|
config?: AxiosRequestConfig
|
|
7950
8179
|
): OperationResponse<Paths.ListTaxonomies.Responses.$200>
|
|
8180
|
+
/**
|
|
8181
|
+
* createTaxonomy - createTaxonomy
|
|
8182
|
+
*
|
|
8183
|
+
* Create a new taxonomy
|
|
8184
|
+
*/
|
|
8185
|
+
'createTaxonomy'(
|
|
8186
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
8187
|
+
data?: Paths.CreateTaxonomy.RequestBody,
|
|
8188
|
+
config?: AxiosRequestConfig
|
|
8189
|
+
): OperationResponse<Paths.CreateTaxonomy.Responses.$201>
|
|
7951
8190
|
/**
|
|
7952
8191
|
* getTaxonomy - getTaxonomy
|
|
7953
8192
|
*
|
|
@@ -7958,6 +8197,26 @@ export interface OperationMethods {
|
|
|
7958
8197
|
data?: any,
|
|
7959
8198
|
config?: AxiosRequestConfig
|
|
7960
8199
|
): OperationResponse<Paths.GetTaxonomy.Responses.$200>
|
|
8200
|
+
/**
|
|
8201
|
+
* updateTaxonomy - updateTaxonomy
|
|
8202
|
+
*
|
|
8203
|
+
* Update a taxonomy
|
|
8204
|
+
*/
|
|
8205
|
+
'updateTaxonomy'(
|
|
8206
|
+
parameters?: Parameters<Paths.UpdateTaxonomy.PathParameters> | null,
|
|
8207
|
+
data?: Paths.UpdateTaxonomy.RequestBody,
|
|
8208
|
+
config?: AxiosRequestConfig
|
|
8209
|
+
): OperationResponse<Paths.UpdateTaxonomy.Responses.$200>
|
|
8210
|
+
/**
|
|
8211
|
+
* deleteTaxonomy - deleteTaxonomy
|
|
8212
|
+
*
|
|
8213
|
+
* Delete a taxonomy
|
|
8214
|
+
*/
|
|
8215
|
+
'deleteTaxonomy'(
|
|
8216
|
+
parameters?: Parameters<Paths.DeleteTaxonomy.PathParameters & Paths.DeleteTaxonomy.QueryParameters> | null,
|
|
8217
|
+
data?: any,
|
|
8218
|
+
config?: AxiosRequestConfig
|
|
8219
|
+
): OperationResponse<Paths.DeleteTaxonomy.Responses.$204>
|
|
7961
8220
|
/**
|
|
7962
8221
|
* taxonomyAutocomplete - taxonomyAutocomplete
|
|
7963
8222
|
*
|
|
@@ -7971,7 +8230,7 @@ export interface OperationMethods {
|
|
|
7971
8230
|
/**
|
|
7972
8231
|
* taxonomiesClassificationsSearch - taxonomiesClassificationsSearch
|
|
7973
8232
|
*
|
|
7974
|
-
* List taxonomy classifications in an
|
|
8233
|
+
* List taxonomy classifications in an organization based on taxonomy slug
|
|
7975
8234
|
*/
|
|
7976
8235
|
'taxonomiesClassificationsSearch'(
|
|
7977
8236
|
parameters?: Parameters<Paths.TaxonomiesClassificationsSearch.QueryParameters> | null,
|
|
@@ -7981,13 +8240,53 @@ export interface OperationMethods {
|
|
|
7981
8240
|
/**
|
|
7982
8241
|
* updateClassificationsForTaxonomy - updateClassificationsForTaxonomy
|
|
7983
8242
|
*
|
|
7984
|
-
* Update
|
|
8243
|
+
* Update the classifications for a taxonomy
|
|
7985
8244
|
*/
|
|
7986
8245
|
'updateClassificationsForTaxonomy'(
|
|
7987
8246
|
parameters?: Parameters<Paths.UpdateClassificationsForTaxonomy.PathParameters> | null,
|
|
7988
8247
|
data?: Paths.UpdateClassificationsForTaxonomy.RequestBody,
|
|
7989
8248
|
config?: AxiosRequestConfig
|
|
7990
8249
|
): OperationResponse<Paths.UpdateClassificationsForTaxonomy.Responses.$200>
|
|
8250
|
+
/**
|
|
8251
|
+
* getTaxonomyClassification - getTaxonomyClassification
|
|
8252
|
+
*
|
|
8253
|
+
* Gets the classification of a taxonomy
|
|
8254
|
+
*/
|
|
8255
|
+
'getTaxonomyClassification'(
|
|
8256
|
+
parameters?: Parameters<Paths.GetTaxonomyClassification.PathParameters> | null,
|
|
8257
|
+
data?: any,
|
|
8258
|
+
config?: AxiosRequestConfig
|
|
8259
|
+
): OperationResponse<Paths.GetTaxonomyClassification.Responses.$200>
|
|
8260
|
+
/**
|
|
8261
|
+
* updateTaxonomyClassification - updateTaxonomyClassification
|
|
8262
|
+
*
|
|
8263
|
+
* Update a classification for a taxonomy
|
|
8264
|
+
*/
|
|
8265
|
+
'updateTaxonomyClassification'(
|
|
8266
|
+
parameters?: Parameters<Paths.UpdateTaxonomyClassification.PathParameters> | null,
|
|
8267
|
+
data?: Paths.UpdateTaxonomyClassification.RequestBody,
|
|
8268
|
+
config?: AxiosRequestConfig
|
|
8269
|
+
): OperationResponse<any>
|
|
8270
|
+
/**
|
|
8271
|
+
* createTaxonomyClassification - createTaxonomyClassification
|
|
8272
|
+
*
|
|
8273
|
+
* Create a new classification for a taxonomy
|
|
8274
|
+
*/
|
|
8275
|
+
'createTaxonomyClassification'(
|
|
8276
|
+
parameters?: Parameters<Paths.CreateTaxonomyClassification.PathParameters> | null,
|
|
8277
|
+
data?: Paths.CreateTaxonomyClassification.RequestBody,
|
|
8278
|
+
config?: AxiosRequestConfig
|
|
8279
|
+
): OperationResponse<any>
|
|
8280
|
+
/**
|
|
8281
|
+
* deleteTaxonomyClassification - deleteTaxonomyClassification
|
|
8282
|
+
*
|
|
8283
|
+
* Delete a classification for a taxonomy
|
|
8284
|
+
*/
|
|
8285
|
+
'deleteTaxonomyClassification'(
|
|
8286
|
+
parameters?: Parameters<Paths.DeleteTaxonomyClassification.PathParameters & Paths.DeleteTaxonomyClassification.QueryParameters> | null,
|
|
8287
|
+
data?: any,
|
|
8288
|
+
config?: AxiosRequestConfig
|
|
8289
|
+
): OperationResponse<any>
|
|
7991
8290
|
}
|
|
7992
8291
|
|
|
7993
8292
|
export interface PathsDictionary {
|
|
@@ -8659,11 +8958,33 @@ export interface PathsDictionary {
|
|
|
8659
8958
|
* List taxonomies in an organisation
|
|
8660
8959
|
*/
|
|
8661
8960
|
'get'(
|
|
8662
|
-
parameters?: Parameters<
|
|
8961
|
+
parameters?: Parameters<Paths.ListTaxonomies.QueryParameters> | null,
|
|
8663
8962
|
data?: any,
|
|
8664
8963
|
config?: AxiosRequestConfig
|
|
8665
8964
|
): OperationResponse<Paths.ListTaxonomies.Responses.$200>
|
|
8666
8965
|
}
|
|
8966
|
+
['/v1/entity/taxonomies']: {
|
|
8967
|
+
/**
|
|
8968
|
+
* listTaxonomies - listTaxonomies
|
|
8969
|
+
*
|
|
8970
|
+
* List taxonomies in an organization
|
|
8971
|
+
*/
|
|
8972
|
+
'get'(
|
|
8973
|
+
parameters?: Parameters<Paths.ListTaxonomies.QueryParameters> | null,
|
|
8974
|
+
data?: any,
|
|
8975
|
+
config?: AxiosRequestConfig
|
|
8976
|
+
): OperationResponse<Paths.ListTaxonomies.Responses.$200>
|
|
8977
|
+
/**
|
|
8978
|
+
* createTaxonomy - createTaxonomy
|
|
8979
|
+
*
|
|
8980
|
+
* Create a new taxonomy
|
|
8981
|
+
*/
|
|
8982
|
+
'post'(
|
|
8983
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
8984
|
+
data?: Paths.CreateTaxonomy.RequestBody,
|
|
8985
|
+
config?: AxiosRequestConfig
|
|
8986
|
+
): OperationResponse<Paths.CreateTaxonomy.Responses.$201>
|
|
8987
|
+
}
|
|
8667
8988
|
['/v1/entity/taxonomies/{taxonomySlug}']: {
|
|
8668
8989
|
/**
|
|
8669
8990
|
* getTaxonomy - getTaxonomy
|
|
@@ -8675,6 +8996,26 @@ export interface PathsDictionary {
|
|
|
8675
8996
|
data?: any,
|
|
8676
8997
|
config?: AxiosRequestConfig
|
|
8677
8998
|
): OperationResponse<Paths.GetTaxonomy.Responses.$200>
|
|
8999
|
+
/**
|
|
9000
|
+
* updateTaxonomy - updateTaxonomy
|
|
9001
|
+
*
|
|
9002
|
+
* Update a taxonomy
|
|
9003
|
+
*/
|
|
9004
|
+
'put'(
|
|
9005
|
+
parameters?: Parameters<Paths.UpdateTaxonomy.PathParameters> | null,
|
|
9006
|
+
data?: Paths.UpdateTaxonomy.RequestBody,
|
|
9007
|
+
config?: AxiosRequestConfig
|
|
9008
|
+
): OperationResponse<Paths.UpdateTaxonomy.Responses.$200>
|
|
9009
|
+
/**
|
|
9010
|
+
* deleteTaxonomy - deleteTaxonomy
|
|
9011
|
+
*
|
|
9012
|
+
* Delete a taxonomy
|
|
9013
|
+
*/
|
|
9014
|
+
'delete'(
|
|
9015
|
+
parameters?: Parameters<Paths.DeleteTaxonomy.PathParameters & Paths.DeleteTaxonomy.QueryParameters> | null,
|
|
9016
|
+
data?: any,
|
|
9017
|
+
config?: AxiosRequestConfig
|
|
9018
|
+
): OperationResponse<Paths.DeleteTaxonomy.Responses.$204>
|
|
8678
9019
|
}
|
|
8679
9020
|
['/v1/entity/taxonomies/{taxonomySlug}:autocomplete']: {
|
|
8680
9021
|
/**
|
|
@@ -8692,7 +9033,7 @@ export interface PathsDictionary {
|
|
|
8692
9033
|
/**
|
|
8693
9034
|
* taxonomiesClassificationsSearch - taxonomiesClassificationsSearch
|
|
8694
9035
|
*
|
|
8695
|
-
* List taxonomy classifications in an
|
|
9036
|
+
* List taxonomy classifications in an organization based on taxonomy slug
|
|
8696
9037
|
*/
|
|
8697
9038
|
'post'(
|
|
8698
9039
|
parameters?: Parameters<Paths.TaxonomiesClassificationsSearch.QueryParameters> | null,
|
|
@@ -8704,7 +9045,7 @@ export interface PathsDictionary {
|
|
|
8704
9045
|
/**
|
|
8705
9046
|
* updateClassificationsForTaxonomy - updateClassificationsForTaxonomy
|
|
8706
9047
|
*
|
|
8707
|
-
* Update
|
|
9048
|
+
* Update the classifications for a taxonomy
|
|
8708
9049
|
*/
|
|
8709
9050
|
'post'(
|
|
8710
9051
|
parameters?: Parameters<Paths.UpdateClassificationsForTaxonomy.PathParameters> | null,
|
|
@@ -8712,6 +9053,48 @@ export interface PathsDictionary {
|
|
|
8712
9053
|
config?: AxiosRequestConfig
|
|
8713
9054
|
): OperationResponse<Paths.UpdateClassificationsForTaxonomy.Responses.$200>
|
|
8714
9055
|
}
|
|
9056
|
+
['/v2/entity/taxonomies/{taxonomySlug}/classifications/{classificationSlug}']: {
|
|
9057
|
+
/**
|
|
9058
|
+
* getTaxonomyClassification - getTaxonomyClassification
|
|
9059
|
+
*
|
|
9060
|
+
* Gets the classification of a taxonomy
|
|
9061
|
+
*/
|
|
9062
|
+
'get'(
|
|
9063
|
+
parameters?: Parameters<Paths.GetTaxonomyClassification.PathParameters> | null,
|
|
9064
|
+
data?: any,
|
|
9065
|
+
config?: AxiosRequestConfig
|
|
9066
|
+
): OperationResponse<Paths.GetTaxonomyClassification.Responses.$200>
|
|
9067
|
+
/**
|
|
9068
|
+
* createTaxonomyClassification - createTaxonomyClassification
|
|
9069
|
+
*
|
|
9070
|
+
* Create a new classification for a taxonomy
|
|
9071
|
+
*/
|
|
9072
|
+
'post'(
|
|
9073
|
+
parameters?: Parameters<Paths.CreateTaxonomyClassification.PathParameters> | null,
|
|
9074
|
+
data?: Paths.CreateTaxonomyClassification.RequestBody,
|
|
9075
|
+
config?: AxiosRequestConfig
|
|
9076
|
+
): OperationResponse<any>
|
|
9077
|
+
/**
|
|
9078
|
+
* updateTaxonomyClassification - updateTaxonomyClassification
|
|
9079
|
+
*
|
|
9080
|
+
* Update a classification for a taxonomy
|
|
9081
|
+
*/
|
|
9082
|
+
'put'(
|
|
9083
|
+
parameters?: Parameters<Paths.UpdateTaxonomyClassification.PathParameters> | null,
|
|
9084
|
+
data?: Paths.UpdateTaxonomyClassification.RequestBody,
|
|
9085
|
+
config?: AxiosRequestConfig
|
|
9086
|
+
): OperationResponse<any>
|
|
9087
|
+
/**
|
|
9088
|
+
* deleteTaxonomyClassification - deleteTaxonomyClassification
|
|
9089
|
+
*
|
|
9090
|
+
* Delete a classification for a taxonomy
|
|
9091
|
+
*/
|
|
9092
|
+
'delete'(
|
|
9093
|
+
parameters?: Parameters<Paths.DeleteTaxonomyClassification.PathParameters & Paths.DeleteTaxonomyClassification.QueryParameters> | null,
|
|
9094
|
+
data?: any,
|
|
9095
|
+
config?: AxiosRequestConfig
|
|
9096
|
+
): OperationResponse<any>
|
|
9097
|
+
}
|
|
8715
9098
|
}
|
|
8716
9099
|
|
|
8717
9100
|
export type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|