@epilot/entity-client 4.25.0-alpha.0 → 4.25.1
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/definition.js +1 -1
- package/dist/openapi-runtime.json +34 -0
- package/dist/openapi.d.ts +276 -7
- package/dist/openapi.json +116 -6
- package/package.json +1 -1
- package/package/dist/client.d.ts +0 -3
- package/package/dist/client.js +0 -37
- package/package/dist/definition.d.ts +0 -3
- package/package/dist/definition.js +0 -1
- package/package/dist/index.d.ts +0 -4
- package/package/dist/index.js +0 -19
- package/package/dist/openapi-runtime.json +0 -1059
- package/package/dist/openapi.d.ts +0 -9689
- package/package/dist/openapi.json +0 -6476
- package/package/dist/schema-model.d.ts +0 -11
- package/package/dist/schema-model.js +0 -13
package/dist/openapi.json
CHANGED
|
@@ -1717,7 +1717,7 @@
|
|
|
1717
1717
|
"required": false,
|
|
1718
1718
|
"schema": {
|
|
1719
1719
|
"type": "integer",
|
|
1720
|
-
"default":
|
|
1720
|
+
"default": 80,
|
|
1721
1721
|
"minimum": 1,
|
|
1722
1722
|
"maximum": 250
|
|
1723
1723
|
}
|
|
@@ -2472,7 +2472,7 @@
|
|
|
2472
2472
|
"put": {
|
|
2473
2473
|
"operationId": "putSchemaAttribute",
|
|
2474
2474
|
"summary": "putSchemaAttribute",
|
|
2475
|
-
"description": "
|
|
2475
|
+
"description": "Updates an attribute in the schema",
|
|
2476
2476
|
"tags": [
|
|
2477
2477
|
"Schemas"
|
|
2478
2478
|
],
|
|
@@ -2545,6 +2545,49 @@
|
|
|
2545
2545
|
}
|
|
2546
2546
|
}
|
|
2547
2547
|
},
|
|
2548
|
+
"/v1/entity/schemas/attribute/{slug}": {
|
|
2549
|
+
"post": {
|
|
2550
|
+
"operationId": "createSchemaAttribute",
|
|
2551
|
+
"summary": "createSchemaAttribute",
|
|
2552
|
+
"description": "Adds an attribute to the schema",
|
|
2553
|
+
"tags": [
|
|
2554
|
+
"Schemas"
|
|
2555
|
+
],
|
|
2556
|
+
"parameters": [
|
|
2557
|
+
{
|
|
2558
|
+
"name": "slug",
|
|
2559
|
+
"description": "Schema Slug",
|
|
2560
|
+
"in": "path",
|
|
2561
|
+
"required": true,
|
|
2562
|
+
"schema": {
|
|
2563
|
+
"type": "string",
|
|
2564
|
+
"example": "contact"
|
|
2565
|
+
}
|
|
2566
|
+
}
|
|
2567
|
+
],
|
|
2568
|
+
"requestBody": {
|
|
2569
|
+
"content": {
|
|
2570
|
+
"application/json": {
|
|
2571
|
+
"schema": {
|
|
2572
|
+
"$ref": "#/components/schemas/Attribute"
|
|
2573
|
+
}
|
|
2574
|
+
}
|
|
2575
|
+
}
|
|
2576
|
+
},
|
|
2577
|
+
"responses": {
|
|
2578
|
+
"200": {
|
|
2579
|
+
"description": "Success",
|
|
2580
|
+
"content": {
|
|
2581
|
+
"application/json": {
|
|
2582
|
+
"schema": {
|
|
2583
|
+
"$ref": "#/components/schemas/AttributeWithCompositeID"
|
|
2584
|
+
}
|
|
2585
|
+
}
|
|
2586
|
+
}
|
|
2587
|
+
}
|
|
2588
|
+
}
|
|
2589
|
+
}
|
|
2590
|
+
},
|
|
2548
2591
|
"/v1/entity/schemas/capabilities/{composite_id}": {
|
|
2549
2592
|
"get": {
|
|
2550
2593
|
"operationId": "getSchemaCapability",
|
|
@@ -2654,6 +2697,49 @@
|
|
|
2654
2697
|
}
|
|
2655
2698
|
}
|
|
2656
2699
|
}
|
|
2700
|
+
},
|
|
2701
|
+
"/v1/entity/schemas/capability/{slug}": {
|
|
2702
|
+
"post": {
|
|
2703
|
+
"operationId": "createSchemaCapability",
|
|
2704
|
+
"summary": "createSchemaCapability",
|
|
2705
|
+
"description": "Adds a capability to the schema",
|
|
2706
|
+
"tags": [
|
|
2707
|
+
"Schemas"
|
|
2708
|
+
],
|
|
2709
|
+
"parameters": [
|
|
2710
|
+
{
|
|
2711
|
+
"name": "slug",
|
|
2712
|
+
"description": "Schema Slug",
|
|
2713
|
+
"in": "path",
|
|
2714
|
+
"required": true,
|
|
2715
|
+
"schema": {
|
|
2716
|
+
"type": "string",
|
|
2717
|
+
"example": "contact"
|
|
2718
|
+
}
|
|
2719
|
+
}
|
|
2720
|
+
],
|
|
2721
|
+
"requestBody": {
|
|
2722
|
+
"content": {
|
|
2723
|
+
"application/json": {
|
|
2724
|
+
"schema": {
|
|
2725
|
+
"$ref": "#/components/schemas/EntityCapability"
|
|
2726
|
+
}
|
|
2727
|
+
}
|
|
2728
|
+
}
|
|
2729
|
+
},
|
|
2730
|
+
"responses": {
|
|
2731
|
+
"200": {
|
|
2732
|
+
"description": "Success",
|
|
2733
|
+
"content": {
|
|
2734
|
+
"application/json": {
|
|
2735
|
+
"schema": {
|
|
2736
|
+
"$ref": "#/components/schemas/EntityCapabilityWithCompositeID"
|
|
2737
|
+
}
|
|
2738
|
+
}
|
|
2739
|
+
}
|
|
2740
|
+
}
|
|
2741
|
+
}
|
|
2742
|
+
}
|
|
2657
2743
|
}
|
|
2658
2744
|
},
|
|
2659
2745
|
"components": {
|
|
@@ -3145,6 +3231,11 @@
|
|
|
3145
3231
|
"BaseAttribute": {
|
|
3146
3232
|
"type": "object",
|
|
3147
3233
|
"properties": {
|
|
3234
|
+
"id": {
|
|
3235
|
+
"type": "string",
|
|
3236
|
+
"description": "ID for the entity attribute",
|
|
3237
|
+
"example": "d5839b94-ba20-4225-a78e-76951d352bd6"
|
|
3238
|
+
},
|
|
3148
3239
|
"name": {
|
|
3149
3240
|
"type": "string"
|
|
3150
3241
|
},
|
|
@@ -3272,6 +3363,7 @@
|
|
|
3272
3363
|
}
|
|
3273
3364
|
},
|
|
3274
3365
|
"required": [
|
|
3366
|
+
"id",
|
|
3275
3367
|
"name",
|
|
3276
3368
|
"label"
|
|
3277
3369
|
]
|
|
@@ -4308,6 +4400,11 @@
|
|
|
4308
4400
|
"description": "Capabilities the Entity has. Turn features on/off for entities.",
|
|
4309
4401
|
"type": "object",
|
|
4310
4402
|
"properties": {
|
|
4403
|
+
"id": {
|
|
4404
|
+
"type": "string",
|
|
4405
|
+
"description": "ID for the entity capability",
|
|
4406
|
+
"example": "d5839b94-ba20-4225-a78e-76951d352bd6"
|
|
4407
|
+
},
|
|
4311
4408
|
"name": {
|
|
4312
4409
|
"type": "string",
|
|
4313
4410
|
"description": "Unique name for the capability",
|
|
@@ -4423,6 +4520,7 @@
|
|
|
4423
4520
|
}
|
|
4424
4521
|
},
|
|
4425
4522
|
"required": [
|
|
4523
|
+
"id",
|
|
4426
4524
|
"name"
|
|
4427
4525
|
]
|
|
4428
4526
|
},
|
|
@@ -4962,7 +5060,6 @@
|
|
|
4962
5060
|
},
|
|
4963
5061
|
"RelationItem": {
|
|
4964
5062
|
"type": "object",
|
|
4965
|
-
"additionalProperties": false,
|
|
4966
5063
|
"properties": {
|
|
4967
5064
|
"entity_id": {
|
|
4968
5065
|
"$ref": "#/components/schemas/EntityId"
|
|
@@ -5000,8 +5097,15 @@
|
|
|
5000
5097
|
"type": "boolean",
|
|
5001
5098
|
"default": false,
|
|
5002
5099
|
"description": "Adds a `_score` number field to results that can be used to rank by match score"
|
|
5003
|
-
}
|
|
5100
|
+
},
|
|
5101
|
+
"sort": {},
|
|
5102
|
+
"from": {},
|
|
5103
|
+
"size": {},
|
|
5104
|
+
"hydrate": {},
|
|
5105
|
+
"fields": {},
|
|
5106
|
+
"aggs": {}
|
|
5004
5107
|
},
|
|
5108
|
+
"additionalProperties": false,
|
|
5005
5109
|
"required": [
|
|
5006
5110
|
"q"
|
|
5007
5111
|
]
|
|
@@ -5023,8 +5127,15 @@
|
|
|
5023
5127
|
"type": "boolean",
|
|
5024
5128
|
"default": false,
|
|
5025
5129
|
"description": "Allow running the listing without any schema filter. This is disabled by default to prevent security and performance issues if done by an accident."
|
|
5026
|
-
}
|
|
5130
|
+
},
|
|
5131
|
+
"sort": {},
|
|
5132
|
+
"from": {},
|
|
5133
|
+
"size": {},
|
|
5134
|
+
"hydrate": {},
|
|
5135
|
+
"fields": {},
|
|
5136
|
+
"aggs": {}
|
|
5027
5137
|
},
|
|
5138
|
+
"additionalProperties": false,
|
|
5028
5139
|
"required": [
|
|
5029
5140
|
"filter"
|
|
5030
5141
|
]
|
|
@@ -5207,7 +5318,6 @@
|
|
|
5207
5318
|
},
|
|
5208
5319
|
"EntitySearchOptions": {
|
|
5209
5320
|
"type": "object",
|
|
5210
|
-
"additionalProperties": false,
|
|
5211
5321
|
"properties": {
|
|
5212
5322
|
"sort": {
|
|
5213
5323
|
"type": "string",
|
package/package.json
CHANGED
package/package/dist/client.d.ts
DELETED
package/package/dist/client.js
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.createClient = exports.getClient = void 0;
|
|
18
|
-
var lambda_powertools_correlation_ids_1 = __importDefault(require("@dazn/lambda-powertools-correlation-ids"));
|
|
19
|
-
var openapi_client_axios_1 = __importDefault(require("openapi-client-axios"));
|
|
20
|
-
var definition_1 = __importDefault(require("./definition"));
|
|
21
|
-
var client;
|
|
22
|
-
var getClient = function () {
|
|
23
|
-
if (!client) {
|
|
24
|
-
client = (0, exports.createClient)();
|
|
25
|
-
}
|
|
26
|
-
return client;
|
|
27
|
-
};
|
|
28
|
-
exports.getClient = getClient;
|
|
29
|
-
var createClient = function () {
|
|
30
|
-
var _a;
|
|
31
|
-
var api = new openapi_client_axios_1.default({ definition: definition_1.default, quick: true });
|
|
32
|
-
var apiClient = api.initSync();
|
|
33
|
-
apiClient.defaults.headers.common = __assign(__assign({}, ((_a = apiClient.defaults.headers.common) !== null && _a !== void 0 ? _a : {})), (lambda_powertools_correlation_ids_1.default.get() || {}));
|
|
34
|
-
return apiClient;
|
|
35
|
-
};
|
|
36
|
-
exports.createClient = createClient;
|
|
37
|
-
//# sourceMappingURL=client.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(()=>{"use strict";var e={914:function(e,t,a){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var n=r(a(240));t.default=n.default},240:e=>{e.exports=JSON.parse('{"openapi":"3.0.2","info":{"title":"","version":""},"paths":{"/v1/entity/schemas":{"get":{"operationId":"listSchemas","parameters":[{"in":"query","name":"unpublished"}]}},"/v1/entity/schemas/{slug}":{"get":{"operationId":"getSchema","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"in":"query","name":"id"}]},"put":{"operationId":"putSchema","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"in":"query","name":"draft"}],"requestBody":{"content":{"application/json":{}}}},"delete":{"operationId":"deleteSchema","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"}]}},"/v1/entity/schemas/{slug}/versions":{"get":{"operationId":"getSchemaVersions","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"in":"query","name":"versions_from"},{"in":"query","name":"versions_size"},{"in":"query","name":"drafts_from"},{"in":"query","name":"drafts_size"},{"in":"query","name":"fields","required":false,"style":"form","explode":false}]}},"/v1/entity/schemas/blueprints":{"get":{"operationId":"listSchemaBlueprints"}},"/v1/entity/schemas/{slug}/taxonomy/{taxonomySlug}":{"get":{"operationId":"listTaxonomyClassificationsForSchema","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/TaxonomySlugPathParam"},{"in":"query","name":"query"},{"in":"query","name":"size"}]}},"/v1/entity:search":{"post":{"operationId":"searchEntities","requestBody":{"content":{"application/json":{}}}}},"/v1/entity/{slug}":{"post":{"operationId":"createEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"}],"requestBody":{"content":{"application/json":{}}}}},"/v1/entity/{slug}:validate":{"post":{"operationId":"validateEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathPriceParam"}],"requestBody":{"content":{"application/json":{}}}}},"/v1/entity/{slug}:upsert":{"patch":{"operationId":"upsertEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"},{"$ref":"#/components/parameters/DryRunQueryParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"}],"requestBody":{"content":{"application/json":{}}}}},"/v2/entity/{slug}/{id}":{"get":{"operationId":"getEntityV2","parameters":[{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/HydrateEntitiesQueryParam"},{"in":"query","name":"fields","style":"form","explode":false}]}},"/v1/entity/{slug}/{id}":{"get":{"operationId":"getEntity","parameters":[{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/HydrateEntitiesQueryParam"}]},"put":{"operationId":"updateEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"}],"requestBody":{"content":{"application/json":{}}}},"patch":{"operationId":"patchEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"},{"$ref":"#/components/parameters/DryRunQueryParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"}],"requestBody":{"content":{"application/json":{}},"required":true}},"delete":{"operationId":"deleteEntity","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"}]}},"/v1/entity:autocomplete":{"get":{"operationId":"autocomplete","parameters":[{"name":"input","in":"query"},{"name":"attribute","in":"query","required":true},{"name":"slug","in":"query"},{"name":"size","in":"query"}]}},"/v1/entity/activity":{"post":{"operationId":"createActivity","parameters":[{"in":"query","name":"entities","style":"form","explode":false}],"requestBody":{"content":{"application/json":{}}}}},"/v1/entity/activity/{id}":{"get":{"operationId":"getActivity","parameters":[{"$ref":"#/components/parameters/ActivityIdPathParam"},{"in":"query","name":"operations_size"},{"in":"query","name":"operations_from"}]}},"/v1/entity/activity/{id}:attach":{"post":{"operationId":"attachActivity","parameters":[{"$ref":"#/components/parameters/ActivityIdPathParam"},{"in":"query","name":"entities","style":"form","explode":false}]}},"/v1/entity/{slug}/{id}/activity":{"get":{"operationId":"getEntityActivityFeed","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"in":"query","name":"after"},{"in":"query","name":"before"},{"$ref":"#/components/parameters/FromPageQueryParam"},{"in":"query","name":"size"},{"in":"query","name":"type"},{"in":"query","name":"include_relations"}]}},"/v1/entity/{slug}/{id}/relations":{"get":{"operationId":"getRelations","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/HydrateEntitiesQueryParam"},{"$ref":"#/components/parameters/IncludeReverseQueryParam"},{"$ref":"#/components/parameters/FromPageQueryParam"},{"in":"query","name":"size","required":false},{"$ref":"#/components/parameters/IncludeSchemasQueryParam"},{"$ref":"#/components/parameters/ExcludeSchemasQueryParam"}]},"post":{"operationId":"addRelations","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"}],"requestBody":{"content":{"application/json":{}}}}},"/v2/entity/{slug}/{id}/relations":{"get":{"operationId":"getRelationsV2","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/HydrateEntitiesQueryParam"},{"in":"query","name":"query"},{"$ref":"#/components/parameters/IncludeReverseQueryParam"},{"$ref":"#/components/parameters/FromPageQueryParam"},{"in":"query","name":"size"},{"in":"query","name":"fields"}]}},"/v3/entity/{slug}/{id}/relations":{"get":{"operationId":"getRelationsV3","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/HydrateEntitiesQueryParam"},{"$ref":"#/components/parameters/IncludeReverseDeprecatedQueryParam"},{"$ref":"#/components/parameters/FromPageQueryParam"},{"in":"query","name":"size","required":false},{"$ref":"#/components/parameters/IncludeSchemasQueryParam"},{"$ref":"#/components/parameters/ExcludeSchemasQueryParam"},{"$ref":"#/components/parameters/EntityRelationsModeQueryParam"}]}},"/v2/entity/{slug}/{id}/relations/count":{"get":{"operationId":"getRelatedEntitiesCount","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"$ref":"#/components/parameters/ExcludeSchemasQueryParam"}]}},"/v1/entity/{slug}/{id}/relations/{attribute}/{entity_id}":{"put":{"operationId":"updateRelation","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"in":"path","name":"attribute","required":true},{"in":"path","name":"entity_id","required":true},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"}],"requestBody":{"content":{"application/json":{}}}},"delete":{"operationId":"deleteRelation","parameters":[{"$ref":"#/components/parameters/EntitySlugPathParam"},{"$ref":"#/components/parameters/EntityIdPathParam"},{"in":"path","name":"attribute","required":true},{"in":"path","name":"entity_id","required":true},{"$ref":"#/components/parameters/AsyncOperationQueryParam"},{"$ref":"#/components/parameters/ActivityIdQueryParam"}]}},"/v1/entity:export":{"post":{"operationId":"exportEntities","parameters":[{"in":"query","name":"job_id"},{"in":"query","name":"is_template"},{"in":"query","name":"language"}],"requestBody":{"content":{"application/json":{}}}}},"/v1/entity:import":{"post":{"operationId":"importEntities","parameters":[{"in":"query","name":"job_id"}],"requestBody":{"content":{"application/json":{}}}}},"/v1/entity/views":{"get":{"operationId":"listSavedViews","parameters":[{"in":"query","name":"slug","required":false},{"in":"query","name":"sort","required":false},{"in":"query","name":"from","required":false},{"in":"query","name":"size","required":false},{"in":"query","name":"fields","required":false}]}},"/v1/entity/view":{"post":{"operationId":"createSavedView","requestBody":{"content":{"application/json":{}}}}},"/v1/entity/view/{id}":{"get":{"operationId":"getSavedView","parameters":[{"$ref":"#/components/parameters/SavedViewIdPathParam"}]},"put":{"operationId":"updateSavedView","parameters":[{"$ref":"#/components/parameters/SavedViewIdPathParam"}],"requestBody":{"content":{"application/json":{}}}},"delete":{"operationId":"deleteSavedView","parameters":[{"$ref":"#/components/parameters/SavedViewIdPathParam"}]}},"/v1/entity/views/favorites":{"get":{"operationId":"listFavoriteViewsForUser"}},"/v1/entity/listTaxonomies":{"get":{"deprecated":true,"operationId":"listTaxonomies","parameters":[{"in":"query","name":"include_disabled"}]}},"/v1/entity/taxonomies":{"get":{"operationId":"listTaxonomies","parameters":[{"in":"query","name":"include_disabled"}]},"post":{"operationId":"createTaxonomy","requestBody":{"content":{"application/json":{}}}}},"/v1/entity/taxonomies/{taxonomySlug}":{"get":{"operationId":"getTaxonomy","parameters":[{"$ref":"#/components/parameters/TaxonomySlugPathParam"}]},"put":{"operationId":"updateTaxonomy","parameters":[{"$ref":"#/components/parameters/TaxonomySlugPathParam"}],"requestBody":{"content":{"application/json":{}}}},"delete":{"operationId":"deleteTaxonomy","parameters":[{"$ref":"#/components/parameters/TaxonomySlugPathParam"},{"in":"query","name":"permanent"}]}},"/v1/entity/taxonomies/{taxonomySlug}:autocomplete":{"get":{"operationId":"taxonomyAutocomplete","parameters":[{"$ref":"#/components/parameters/TaxonomySlugPathParam"},{"in":"query","name":"query"},{"in":"query","name":"size"}]}},"/v1/entity/taxonomies/classifications:search":{"post":{"operationId":"taxonomiesClassificationsSearch","parameters":[{"$ref":"#/components/parameters/TaxonomySlugQueryParamOptional"},{"in":"query","name":"query"}],"requestBody":{"content":{"application/json":{}}}}},"/v1/entity/taxonomies/{taxonomySlug}/classifications":{"post":{"operationId":"updateClassificationsForTaxonomy","parameters":[{"$ref":"#/components/parameters/TaxonomySlugPathParam"}],"requestBody":{"content":{"application/json":{}}}}},"/v2/entity/taxonomies/{taxonomySlug}/classifications":{"post":{"operationId":"createTaxonomyClassification","parameters":[{"$ref":"#/components/parameters/TaxonomySlugPathParam"}],"requestBody":{"content":{"application/json":{}}}}},"/v2/entity/taxonomies/{taxonomySlug}/classifications/{classificationSlug}":{"put":{"operationId":"updateTaxonomyClassification","parameters":[{"$ref":"#/components/parameters/TaxonomySlugPathParam"},{"$ref":"#/components/parameters/TaxonomyClassificationSlugPathParam"}],"requestBody":{"content":{"application/json":{}}}},"delete":{"operationId":"deleteTaxonomyClassification","parameters":[{"$ref":"#/components/parameters/TaxonomySlugPathParam"},{"$ref":"#/components/parameters/TaxonomyClassificationSlugPathParam"},{"in":"query","name":"permanent"}]}},"/v1/entity/schemas/attributes/{composite_id}":{"get":{"operationId":"getSchemaAttribute","parameters":[{"name":"composite_id","in":"path","required":true}]},"put":{"operationId":"putSchemaAttribute","parameters":[{"name":"composite_id","in":"path","required":true}],"requestBody":{"content":{"application/json":{}}}},"delete":{"operationId":"deleteSchemaAttribute","parameters":[{"name":"composite_id","in":"path","required":true}]}},"/v1/entity/schemas/capabilities/{composite_id}":{"get":{"operationId":"getSchemaCapability","parameters":[{"name":"composite_id","in":"path","required":true}]},"put":{"operationId":"putSchemaCapability","parameters":[{"name":"composite_id","in":"path","required":true}],"requestBody":{"content":{"application/json":{}}}},"delete":{"operationId":"deleteSchemaCapability","parameters":[{"name":"composite_id","in":"path","required":true}]}}},"components":{"parameters":{"EntityIdPathParam":{"name":"id","in":"path","required":true},"EntitySlugPathParam":{"name":"slug","in":"path","required":true},"EntitySlugPathPriceParam":{"name":"slug","in":"path","required":true},"TaxonomySlugPathParam":{"name":"taxonomySlug","in":"path","required":true},"TaxonomySlugQueryParamOptional":{"name":"taxonomySlug","in":"query"},"TaxonomyClassificationSlugPathParam":{"name":"classificationSlug","in":"path","required":true},"SavedViewIdPathParam":{"name":"id","in":"path","required":true},"AsyncOperationQueryParam":{"name":"async","in":"query","required":false},"HydrateEntitiesQueryParam":{"name":"hydrate","in":"query"},"ActivityIdQueryParam":{"name":"activity_id","in":"query","required":false},"ActivityIdPathParam":{"name":"id","in":"path","required":true},"FromPageQueryParam":{"name":"from","in":"query"},"IncludeReverseDeprecatedQueryParam":{"name":"include_reverse","in":"query","deprecated":true},"IncludeReverseQueryParam":{"name":"include_reverse","in":"query"},"IncludeSchemasQueryParam":{"name":"include_schemas","in":"query","required":false,"style":"form","explode":false},"ExcludeSchemasQueryParam":{"name":"exclude_schemas","in":"query","required":false,"style":"form","explode":false},"EntityRelationsModeQueryParam":{"name":"mode","in":"query","required":false},"DryRunQueryParam":{"name":"dry_run","in":"query","required":false}}},"servers":[{"url":"https://entity.sls.epilot.io"}]}')}},t={},a=function a(r){var n=t[r];if(void 0!==n)return n.exports;var o=t[r]={exports:{}};return e[r].call(o.exports,o,o.exports,a),o.exports}(914),r=exports;for(var n in a)r[n]=a[n];a.__esModule&&Object.defineProperty(r,"__esModule",{value:!0})})();
|
package/package/dist/index.d.ts
DELETED
package/package/dist/index.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./client"), exports);
|
|
18
|
-
__exportStar(require("./schema-model"), exports);
|
|
19
|
-
//# sourceMappingURL=index.js.map
|