From e4bde8db63b0be0c6d245f5f5f371300c5f3d1f2 Mon Sep 17 00:00:00 2001 From: Kronup <114984107+kronup@users.noreply.github.com> Date: Sat, 2 Sep 2023 12:22:33 +0000 Subject: [PATCH] [code] Features deprecating value items --- docs/Api/AssumptionsApi.md | 34 +++--- docs/Api/DeepContextApi.md | 28 ++--- docs/Api/{ValueItemsApi.md => FeaturesApi.md} | 114 +++++++++--------- docs/Api/TasksApi.md | 88 +++++++------- docs/Model/Assumption.md | 4 +- docs/Model/AssumptionLite.md | 4 +- docs/Model/Candidate.md | 2 +- docs/Model/DeepContextList.md | 4 +- docs/Model/Event.md | 6 +- docs/Model/Feature.md | 31 +++++ docs/Model/FeatureExpanded.md | 33 +++++ docs/Model/FeatureLite.md | 30 +++++ .../{ValueItemsList.md => FeaturesList.md} | 10 +- docs/Model/Minute.md | 2 +- docs/Model/PayloadAssmCreate.md | 2 +- docs/Model/PayloadAssmUpdate.md | 2 +- docs/Model/PayloadFeatureCreate.md | 23 ++++ docs/Model/PayloadFeatureUpdate.md | 23 ++++ docs/Model/PayloadValueItemCreate.md | 23 ---- docs/Model/PayloadValueItemUpdate.md | 23 ---- docs/Model/Subscription.md | 2 +- docs/Model/SubscriptionLite.md | 2 +- docs/Model/SubscriptionNullable.md | 2 +- docs/Model/ValueItem.md | 31 ----- docs/Model/ValueItemExpanded.md | 33 ----- docs/Model/ValueItemLite.md | 30 ----- examples/Api/AssumptionsApi/create.php | 8 +- examples/Api/AssumptionsApi/delete.php | 8 +- examples/Api/AssumptionsApi/experiment.php | 8 +- examples/Api/AssumptionsApi/list.php | 8 +- examples/Api/AssumptionsApi/update.php | 8 +- examples/Api/DeepContextApi/delete.php | 8 +- examples/Api/DeepContextApi/read.php | 10 +- .../advance.php | 18 +-- .../{ValueItemsApi => FeaturesApi}/create.php | 24 ++-- .../{ValueItemsApi => FeaturesApi}/delete.php | 16 +-- .../{ValueItemsApi => FeaturesApi}/list.php | 14 +-- .../{ValueItemsApi => FeaturesApi}/read.php | 18 +-- .../{ValueItemsApi => FeaturesApi}/update.php | 28 ++--- examples/Api/TasksApi/assign.php | 8 +- examples/Api/TasksApi/create.php | 8 +- examples/Api/TasksApi/delete.php | 8 +- examples/Api/TasksApi/discoveryCreate.php | 8 +- examples/Api/TasksApi/discoveryDelete.php | 8 +- examples/Api/TasksApi/discoveryUpdate.php | 8 +- examples/Api/TasksApi/feedbackCreate.php | 8 +- examples/Api/TasksApi/feedbackDelete.php | 8 +- examples/Api/TasksApi/feedbackReply.php | 8 +- examples/Api/TasksApi/feedbackUpdate.php | 8 +- examples/Api/TasksApi/list.php | 8 +- examples/Api/TasksApi/listCandidates.php | 8 +- examples/Api/TasksApi/read.php | 8 +- examples/Api/TasksApi/update.php | 8 +- lib/Api/AssumptionsApi.php | 40 +++--- lib/Api/DeepContextApi.php | 28 ++--- .../{ValueItemsApi.php => FeaturesApi.php} | 102 ++++++++-------- lib/Api/TasksApi.php | 112 ++++++++--------- lib/Model/Assumption.php | 8 +- lib/Model/AssumptionLite.php | 8 +- lib/Model/Candidate.php | 16 +-- lib/Model/DeepContextList.php | 24 ++-- lib/Model/Event.php | 26 ++-- lib/Model/{ValueItem.php => Feature.php} | 52 ++++---- ...ueItemExpanded.php => FeatureExpanded.php} | 52 ++++---- .../{ValueItemLite.php => FeatureLite.php} | 46 +++---- .../{ValueItemsList.php => FeaturesList.php} | 34 +++--- lib/Model/Minute.php | 6 +- lib/Model/PayloadAssmCreate.php | 2 +- lib/Model/PayloadAssmUpdate.php | 2 +- ...temCreate.php => PayloadFeatureCreate.php} | 36 +++--- ...temUpdate.php => PayloadFeatureUpdate.php} | 36 +++--- lib/Model/Subscription.php | 16 +-- lib/Model/SubscriptionLite.php | 16 +-- lib/Model/SubscriptionNullable.php | 16 +-- lib/Sdk/Caller/Api.php | 40 +++--- 75 files changed, 796 insertions(+), 796 deletions(-) rename docs/Api/{ValueItemsApi.md => FeaturesApi.md} (53%) create mode 100644 docs/Model/Feature.md create mode 100644 docs/Model/FeatureExpanded.md create mode 100644 docs/Model/FeatureLite.md rename docs/Model/{ValueItemsList.md => FeaturesList.md} (56%) create mode 100644 docs/Model/PayloadFeatureCreate.md create mode 100644 docs/Model/PayloadFeatureUpdate.md delete mode 100644 docs/Model/PayloadValueItemCreate.md delete mode 100644 docs/Model/PayloadValueItemUpdate.md delete mode 100644 docs/Model/ValueItem.md delete mode 100644 docs/Model/ValueItemExpanded.md delete mode 100644 docs/Model/ValueItemLite.md rename examples/Api/{ValueItemsApi => FeaturesApi}/advance.php (63%) rename examples/Api/{ValueItemsApi => FeaturesApi}/create.php (58%) rename examples/Api/{ValueItemsApi => FeaturesApi}/delete.php (66%) rename examples/Api/{ValueItemsApi => FeaturesApi}/list.php (72%) rename examples/Api/{ValueItemsApi => FeaturesApi}/read.php (64%) rename examples/Api/{ValueItemsApi => FeaturesApi}/update.php (56%) rename lib/Api/{ValueItemsApi.php => FeaturesApi.php} (63%) rename lib/Model/{ValueItem.php => Feature.php} (80%) rename lib/Model/{ValueItemExpanded.php => FeatureExpanded.php} (82%) rename lib/Model/{ValueItemLite.php => FeatureLite.php} (81%) rename lib/Model/{ValueItemsList.php => FeaturesList.php} (73%) rename lib/Model/{PayloadValueItemCreate.php => PayloadFeatureCreate.php} (77%) rename lib/Model/{PayloadValueItemUpdate.php => PayloadFeatureUpdate.php} (77%) diff --git a/docs/Api/AssumptionsApi.md b/docs/Api/AssumptionsApi.md index c0faddf..0e5a125 100644 --- a/docs/Api/AssumptionsApi.md +++ b/docs/Api/AssumptionsApi.md @@ -30,7 +30,7 @@ $sdk->api()->assumptions(); ## `create()` -> Add an assumption to value item +> Add an assumption to feature {: .new-title } @@ -40,7 +40,7 @@ $sdk->api()->assumptions(); ### Request -> **POST** `/teams/{teamId}/channels/{channelId}/items/{itemId}/assms` +> **POST** `/teams/{teamId}/channels/{channelId}/features/{featureId}/assms` ### Type signature @@ -48,7 +48,7 @@ $sdk->api()->assumptions(); (new \Kronup\Sdk())->api()->assumptions()->create( string $team_id, string $channel_id, - string $item_id, + string $feature_id, \Kronup\Model\PayloadAssmCreate $payload_assm_create ): \Kronup\Model\Assumption ``` @@ -59,7 +59,7 @@ Name | Type | Description ------------- | ------------- | ------------- **$team_id** | **string** | Team ID **$channel_id** | **string** | Channel ID - **$item_id** | **string** | Value Item ID + **$feature_id** | **string** | Feature ID **$payload_assm_create** | [**\Kronup\Model\PayloadAssmCreate**](../../Model/PayloadAssmCreate) | ### Return type @@ -73,7 +73,7 @@ Name | Type | Description ## `delete()` -> Delete an assumption from a value item +> Delete an assumption from a feature {: .new-title } @@ -83,7 +83,7 @@ Name | Type | Description ### Request -> **DELETE** `/teams/{teamId}/channels/{channelId}/items/{itemId}/assms/{assmId}` +> **DELETE** `/teams/{teamId}/channels/{channelId}/features/{featureId}/assms/{assmId}` ### Type signature @@ -91,7 +91,7 @@ Name | Type | Description (new \Kronup\Sdk())->api()->assumptions()->delete( string $team_id, string $channel_id, - string $item_id, + string $feature_id, string $assm_id ): bool ``` @@ -102,7 +102,7 @@ Name | Type | Description ------------- | ------------- | ------------- **$team_id** | **string** | Team ID **$channel_id** | **string** | Channel ID - **$item_id** | **string** | Value item ID + **$feature_id** | **string** | Feature ID **$assm_id** | **string** | Assumption ID ### Return type @@ -126,7 +126,7 @@ Name | Type | Description ### Request -> **POST** `/teams/{teamId}/channels/{channelId}/items/{itemId}/assms/{assmId}/exp` +> **POST** `/teams/{teamId}/channels/{channelId}/features/{featureId}/assms/{assmId}/exp` ### Type signature @@ -134,7 +134,7 @@ Name | Type | Description (new \Kronup\Sdk())->api()->assumptions()->experiment( string $team_id, string $channel_id, - string $item_id, + string $feature_id, string $assm_id, \Kronup\Model\PayloadAssmExperiment $payload_assm_experiment ): \Kronup\Model\Assumption @@ -146,7 +146,7 @@ Name | Type | Description ------------- | ------------- | ------------- **$team_id** | **string** | Team ID **$channel_id** | **string** | Channel ID - **$item_id** | **string** | Value item ID + **$feature_id** | **string** | Feature ID **$assm_id** | **string** | Assumption ID **$payload_assm_experiment** | [**\Kronup\Model\PayloadAssmExperiment**](../../Model/PayloadAssmExperiment) | @@ -171,7 +171,7 @@ Name | Type | Description ### Request -> **GET** `/teams/{teamId}/channels/{channelId}/items/{itemId}/assms` +> **GET** `/teams/{teamId}/channels/{channelId}/features/{featureId}/assms` ### Type signature @@ -179,7 +179,7 @@ Name | Type | Description (new \Kronup\Sdk())->api()->assumptions()->list( string $team_id, string $channel_id, - string $item_id, + string $feature_id, [ int $page_number = 1, ] [ int $page_size = 500 ] ): \Kronup\Model\AssumptionsList @@ -191,7 +191,7 @@ Name | Type | Description ------------- | ------------- | ------------- **$team_id** | **string** | Team ID **$channel_id** | **string** | Channel ID - **$item_id** | **string** | Value Item ID + **$feature_id** | **string** | Feature ID **$page_number** | **int** | [default to 1] **$page_size** | **int** | [default to 500] @@ -216,7 +216,7 @@ Name | Type | Description ### Request -> **POST** `/teams/{teamId}/channels/{channelId}/items/{itemId}/assms/{assmId}` +> **POST** `/teams/{teamId}/channels/{channelId}/features/{featureId}/assms/{assmId}` ### Type signature @@ -224,7 +224,7 @@ Name | Type | Description (new \Kronup\Sdk())->api()->assumptions()->update( string $team_id, string $channel_id, - string $item_id, + string $feature_id, string $assm_id, \Kronup\Model\PayloadAssmUpdate $payload_assm_update ): \Kronup\Model\Assumption @@ -236,7 +236,7 @@ Name | Type | Description ------------- | ------------- | ------------- **$team_id** | **string** | Team ID **$channel_id** | **string** | Channel ID - **$item_id** | **string** | Value item ID + **$feature_id** | **string** | Feature ID **$assm_id** | **string** | Assumption ID **$payload_assm_update** | [**\Kronup\Model\PayloadAssmUpdate**](../../Model/PayloadAssmUpdate) | diff --git a/docs/Api/DeepContextApi.md b/docs/Api/DeepContextApi.md index 76627e1..8d9bcf1 100644 --- a/docs/Api/DeepContextApi.md +++ b/docs/Api/DeepContextApi.md @@ -8,9 +8,9 @@ layout: page Method | Description ------------- | ------------- -🔹 [**delete()**](#delete) | Delete value item -🔹 [**read()**](#read) | Fetch expanded value item -🔹 [**search()**](#search) | Search value items +🔹 [**delete()**](#delete) | Delete feature +🔹 [**read()**](#read) | Fetch expanded feature +🔹 [**search()**](#search) | Search features 📚 [Deep Context API Reference](https://api.kronup.com/#tag/Deep-Context) @@ -28,7 +28,7 @@ $sdk->api()->deepContext(); ## `delete()` -> Delete a value item from Deep Context +> Delete a feature from Deep Context {: .new-title } @@ -38,13 +38,13 @@ $sdk->api()->deepContext(); ### Request -> **DELETE** `/deep-context/{itemId}` +> **DELETE** `/deep-context/{featureId}` ### Type signature ```php (new \Kronup\Sdk())->api()->deepContext()->delete( - string $item_id + string $feature_id ): bool ``` @@ -52,7 +52,7 @@ $sdk->api()->deepContext(); Name | Type | Description ------------- | ------------- | ------------- - **$item_id** | **string** | Value item ID + **$feature_id** | **string** | Feature ID ### Return type @@ -65,7 +65,7 @@ Name | Type | Description ## `read()` -> Retrieve value item model +> Retrieve feature model {: .new-title } @@ -75,25 +75,25 @@ Name | Type | Description ### Request -> **GET** `/deep-context/{itemId}` +> **GET** `/deep-context/{featureId}` ### Type signature ```php (new \Kronup\Sdk())->api()->deepContext()->read( - string $item_id -): \Kronup\Model\ValueItemExpanded + string $feature_id +): \Kronup\Model\FeatureExpanded ``` ### Parameters Name | Type | Description ------------- | ------------- | ------------- - **$item_id** | **string** | Value item ID + **$feature_id** | **string** | Feature ID ### Return type -[**\Kronup\Model\ValueItemExpanded**](../../Model/ValueItemExpanded) +[**\Kronup\Model\FeatureExpanded**](../../Model/FeatureExpanded) [🔺 Back to top](#top) @@ -102,7 +102,7 @@ Name | Type | Description ## `search()` -> Get a list of value item models +> Get a list of feature models {: .new-title } diff --git a/docs/Api/ValueItemsApi.md b/docs/Api/FeaturesApi.md similarity index 53% rename from docs/Api/ValueItemsApi.md rename to docs/Api/FeaturesApi.md index 9acf139..151975d 100644 --- a/docs/Api/ValueItemsApi.md +++ b/docs/Api/FeaturesApi.md @@ -1,22 +1,22 @@ --- -title: "Value items" +title: "Features" parent: API layout: page --- -# Api/ValueItemsApi +# Api/FeaturesApi Method | Description ------------- | ------------- -🔹 [**advance()**](#advance) | Advance value item -🔹 [**create()**](#create) | Create value item -🔹 [**delete()**](#delete) | Delete value item -🔹 [**list()**](#list) | List value items -🔹 [**read()**](#read) | Fetch value item -🔹 [**update()**](#update) | Update value item +🔹 [**advance()**](#advance) | Advance feature +🔹 [**create()**](#create) | Create feature +🔹 [**delete()**](#delete) | Delete feature +🔹 [**list()**](#list) | List features +🔹 [**read()**](#read) | Fetch feature +🔹 [**update()**](#update) | Update feature -📚 [Value items API Reference](https://api.kronup.com/#tag/Value-items) +📚 [Features API Reference](https://api.kronup.com/#tag/Features) ## Getting started @@ -25,32 +25,32 @@ Method | Description $sdk = new \Kronup\Sdk(); // API Call -$sdk->api()->valueItems(); +$sdk->api()->features(); ``` ## `advance()` -> Advance a value item +> Advance a feature {: .new-title } > #️⃣ Execute example in terminal > -> [php -f **advance.php**](https://github.com/kronup/kronup-php/blob/main/examples/Api/ValueItemsApi/advance.php){: .btn .mt-4} +> [php -f **advance.php**](https://github.com/kronup/kronup-php/blob/main/examples/Api/FeaturesApi/advance.php){: .btn .mt-4} ### Request -> **PUT** `/teams/{teamId}/channels/{channelId}/items/{itemId}` +> **PUT** `/teams/{teamId}/channels/{channelId}/features/{featureId}` ### Type signature ```php -(new \Kronup\Sdk())->api()->valueItems()->advance( +(new \Kronup\Sdk())->api()->features()->advance( string $team_id, string $channel_id, - string $item_id -): \Kronup\Model\ValueItem + string $feature_id +): \Kronup\Model\Feature ``` ### Parameters @@ -59,11 +59,11 @@ Name | Type | Description ------------- | ------------- | ------------- **$team_id** | **string** | Team ID **$channel_id** | **string** | Channel ID - **$item_id** | **string** | Value item ID + **$feature_id** | **string** | Feature ID ### Return type -[**\Kronup\Model\ValueItem**](../../Model/ValueItem) +[**\Kronup\Model\Feature**](../../Model/Feature) [🔺 Back to top](#top) @@ -72,26 +72,26 @@ Name | Type | Description ## `create()` -> Add a value item to planning +> Add a feature to planning {: .new-title } > #️⃣ Execute example in terminal > -> [php -f **create.php**](https://github.com/kronup/kronup-php/blob/main/examples/Api/ValueItemsApi/create.php){: .btn .mt-4} +> [php -f **create.php**](https://github.com/kronup/kronup-php/blob/main/examples/Api/FeaturesApi/create.php){: .btn .mt-4} ### Request -> **POST** `/teams/{teamId}/channels/{channelId}/items` +> **POST** `/teams/{teamId}/channels/{channelId}/features` ### Type signature ```php -(new \Kronup\Sdk())->api()->valueItems()->create( +(new \Kronup\Sdk())->api()->features()->create( string $team_id, string $channel_id, - \Kronup\Model\PayloadValueItemCreate $payload_value_item_create -): \Kronup\Model\ValueItem + \Kronup\Model\PayloadFeatureCreate $payload_feature_create +): \Kronup\Model\Feature ``` ### Parameters @@ -100,11 +100,11 @@ Name | Type | Description ------------- | ------------- | ------------- **$team_id** | **string** | Team ID **$channel_id** | **string** | Channel ID - **$payload_value_item_create** | [**\Kronup\Model\PayloadValueItemCreate**](../../Model/PayloadValueItemCreate) | + **$payload_feature_create** | [**\Kronup\Model\PayloadFeatureCreate**](../../Model/PayloadFeatureCreate) | ### Return type -[**\Kronup\Model\ValueItem**](../../Model/ValueItem) +[**\Kronup\Model\Feature**](../../Model/Feature) [🔺 Back to top](#top) @@ -113,25 +113,25 @@ Name | Type | Description ## `delete()` -> Delete a value item from the flow +> Delete a feature from the flow {: .new-title } > #️⃣ Execute example in terminal > -> [php -f **delete.php**](https://github.com/kronup/kronup-php/blob/main/examples/Api/ValueItemsApi/delete.php){: .btn .mt-4} +> [php -f **delete.php**](https://github.com/kronup/kronup-php/blob/main/examples/Api/FeaturesApi/delete.php){: .btn .mt-4} ### Request -> **DELETE** `/teams/{teamId}/channels/{channelId}/items/{itemId}` +> **DELETE** `/teams/{teamId}/channels/{channelId}/features/{featureId}` ### Type signature ```php -(new \Kronup\Sdk())->api()->valueItems()->delete( +(new \Kronup\Sdk())->api()->features()->delete( string $team_id, string $channel_id, - string $item_id + string $feature_id ): bool ``` @@ -141,7 +141,7 @@ Name | Type | Description ------------- | ------------- | ------------- **$team_id** | **string** | Team ID **$channel_id** | **string** | Channel ID - **$item_id** | **string** | Value item ID + **$feature_id** | **string** | Feature ID ### Return type @@ -154,28 +154,28 @@ Name | Type | Description ## `list()` -> Get a list of value item models +> Get a list of feature models {: .new-title } > #️⃣ Execute example in terminal > -> [php -f **list.php**](https://github.com/kronup/kronup-php/blob/main/examples/Api/ValueItemsApi/list.php){: .btn .mt-4} +> [php -f **list.php**](https://github.com/kronup/kronup-php/blob/main/examples/Api/FeaturesApi/list.php){: .btn .mt-4} ### Request -> **GET** `/teams/{teamId}/channels/{channelId}/items` +> **GET** `/teams/{teamId}/channels/{channelId}/features` ### Type signature ```php -(new \Kronup\Sdk())->api()->valueItems()->list( +(new \Kronup\Sdk())->api()->features()->list( string $team_id, string $channel_id, [ string $stage, ] [ int $page_number = 1, ] [ int $page_size = 500 ] -): \Kronup\Model\ValueItemsList +): \Kronup\Model\FeaturesList ``` ### Parameters @@ -184,13 +184,13 @@ Name | Type | Description ------------- | ------------- | ------------- **$team_id** | **string** | Team ID **$channel_id** | **string** | Channel ID - **$stage** | **string** | Value item stage + **$stage** | **string** | Feature stage **$page_number** | **int** | [default to 1] **$page_size** | **int** | [default to 500] ### Return type -[**\Kronup\Model\ValueItemsList**](../../Model/ValueItemsList) +[**\Kronup\Model\FeaturesList**](../../Model/FeaturesList) [🔺 Back to top](#top) @@ -199,26 +199,26 @@ Name | Type | Description ## `read()` -> Retrieve value item model +> Retrieve feature model {: .new-title } > #️⃣ Execute example in terminal > -> [php -f **read.php**](https://github.com/kronup/kronup-php/blob/main/examples/Api/ValueItemsApi/read.php){: .btn .mt-4} +> [php -f **read.php**](https://github.com/kronup/kronup-php/blob/main/examples/Api/FeaturesApi/read.php){: .btn .mt-4} ### Request -> **GET** `/teams/{teamId}/channels/{channelId}/items/{itemId}` +> **GET** `/teams/{teamId}/channels/{channelId}/features/{featureId}` ### Type signature ```php -(new \Kronup\Sdk())->api()->valueItems()->read( +(new \Kronup\Sdk())->api()->features()->read( string $team_id, string $channel_id, - string $item_id -): \Kronup\Model\ValueItem + string $feature_id +): \Kronup\Model\Feature ``` ### Parameters @@ -227,11 +227,11 @@ Name | Type | Description ------------- | ------------- | ------------- **$team_id** | **string** | Team ID **$channel_id** | **string** | Channel ID - **$item_id** | **string** | Value item ID + **$feature_id** | **string** | Feature ID ### Return type -[**\Kronup\Model\ValueItem**](../../Model/ValueItem) +[**\Kronup\Model\Feature**](../../Model/Feature) [🔺 Back to top](#top) @@ -240,27 +240,27 @@ Name | Type | Description ## `update()` -> Update value item details +> Update feature details {: .new-title } > #️⃣ Execute example in terminal > -> [php -f **update.php**](https://github.com/kronup/kronup-php/blob/main/examples/Api/ValueItemsApi/update.php){: .btn .mt-4} +> [php -f **update.php**](https://github.com/kronup/kronup-php/blob/main/examples/Api/FeaturesApi/update.php){: .btn .mt-4} ### Request -> **POST** `/teams/{teamId}/channels/{channelId}/items/{itemId}` +> **POST** `/teams/{teamId}/channels/{channelId}/features/{featureId}` ### Type signature ```php -(new \Kronup\Sdk())->api()->valueItems()->update( +(new \Kronup\Sdk())->api()->features()->update( string $team_id, string $channel_id, - string $item_id, - \Kronup\Model\PayloadValueItemUpdate $payload_value_item_update -): \Kronup\Model\ValueItem + string $feature_id, + \Kronup\Model\PayloadFeatureUpdate $payload_feature_update +): \Kronup\Model\Feature ``` ### Parameters @@ -269,12 +269,12 @@ Name | Type | Description ------------- | ------------- | ------------- **$team_id** | **string** | Team ID **$channel_id** | **string** | Channel ID - **$item_id** | **string** | Value item ID - **$payload_value_item_update** | [**\Kronup\Model\PayloadValueItemUpdate**](../../Model/PayloadValueItemUpdate) | + **$feature_id** | **string** | Feature ID + **$payload_feature_update** | [**\Kronup\Model\PayloadFeatureUpdate**](../../Model/PayloadFeatureUpdate) | ### Return type -[**\Kronup\Model\ValueItem**](../../Model/ValueItem) +[**\Kronup\Model\Feature**](../../Model/Feature) [🔺 Back to top](#top) diff --git a/docs/Api/TasksApi.md b/docs/Api/TasksApi.md index 1ae0212..c7bf223 100644 --- a/docs/Api/TasksApi.md +++ b/docs/Api/TasksApi.md @@ -49,7 +49,7 @@ $sdk->api()->tasks(); ### Request -> **PUT** `/teams/{teamId}/channels/{channelId}/items/{itemId}/tasks/{taskId}/users/{userId}` +> **PUT** `/teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}/users/{userId}` ### Type signature @@ -57,7 +57,7 @@ $sdk->api()->tasks(); (new \Kronup\Sdk())->api()->tasks()->assign( string $team_id, string $channel_id, - string $item_id, + string $feature_id, string $task_id, string $user_id ): \Kronup\Model\Task @@ -69,7 +69,7 @@ Name | Type | Description ------------- | ------------- | ------------- **$team_id** | **string** | Team ID **$channel_id** | **string** | Channel ID - **$item_id** | **string** | Value item ID + **$feature_id** | **string** | Feature ID **$task_id** | **string** | Task ID **$user_id** | **string** | User ID @@ -84,7 +84,7 @@ Name | Type | Description ## `create()` -> Add a task to value item +> Add a task to feature {: .new-title } @@ -94,7 +94,7 @@ Name | Type | Description ### Request -> **POST** `/teams/{teamId}/channels/{channelId}/items/{itemId}/tasks` +> **POST** `/teams/{teamId}/channels/{channelId}/features/{featureId}/tasks` ### Type signature @@ -102,7 +102,7 @@ Name | Type | Description (new \Kronup\Sdk())->api()->tasks()->create( string $team_id, string $channel_id, - string $item_id, + string $feature_id, \Kronup\Model\PayloadTaskCreate $payload_task_create ): \Kronup\Model\TaskExpanded ``` @@ -113,7 +113,7 @@ Name | Type | Description ------------- | ------------- | ------------- **$team_id** | **string** | Team ID **$channel_id** | **string** | Channel ID - **$item_id** | **string** | Value Item ID + **$feature_id** | **string** | Feature ID **$payload_task_create** | [**\Kronup\Model\PayloadTaskCreate**](../../Model/PayloadTaskCreate) | ### Return type @@ -127,7 +127,7 @@ Name | Type | Description ## `delete()` -> Delete a task from a value item +> Delete a task from a feature {: .new-title } @@ -137,7 +137,7 @@ Name | Type | Description ### Request -> **DELETE** `/teams/{teamId}/channels/{channelId}/items/{itemId}/tasks/{taskId}` +> **DELETE** `/teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}` ### Type signature @@ -145,7 +145,7 @@ Name | Type | Description (new \Kronup\Sdk())->api()->tasks()->delete( string $team_id, string $channel_id, - string $item_id, + string $feature_id, string $task_id ): bool ``` @@ -156,7 +156,7 @@ Name | Type | Description ------------- | ------------- | ------------- **$team_id** | **string** | Team ID **$channel_id** | **string** | Channel ID - **$item_id** | **string** | Value item ID + **$feature_id** | **string** | Feature ID **$task_id** | **string** | Task ID ### Return type @@ -180,7 +180,7 @@ Name | Type | Description ### Request -> **POST** `/teams/{teamId}/channels/{channelId}/items/{itemId}/tasks/{taskId}/discoveries` +> **POST** `/teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}/discoveries` ### Type signature @@ -188,7 +188,7 @@ Name | Type | Description (new \Kronup\Sdk())->api()->tasks()->discoveryCreate( string $team_id, string $channel_id, - string $item_id, + string $feature_id, string $task_id, \Kronup\Model\PayloadTaskDiscoveryCreate $payload_task_discovery_create ): \Kronup\Model\MinuteDiscovery @@ -200,7 +200,7 @@ Name | Type | Description ------------- | ------------- | ------------- **$team_id** | **string** | Team ID **$channel_id** | **string** | Channel ID - **$item_id** | **string** | Value Item ID + **$feature_id** | **string** | Feature ID **$task_id** | **string** | Task ID **$payload_task_discovery_create** | [**\Kronup\Model\PayloadTaskDiscoveryCreate**](../../Model/PayloadTaskDiscoveryCreate) | @@ -225,7 +225,7 @@ Name | Type | Description ### Request -> **DELETE** `/teams/{teamId}/channels/{channelId}/items/{itemId}/tasks/{taskId}/discoveries/{discoveryId}` +> **DELETE** `/teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}/discoveries/{discoveryId}` ### Type signature @@ -233,7 +233,7 @@ Name | Type | Description (new \Kronup\Sdk())->api()->tasks()->discoveryDelete( string $team_id, string $channel_id, - string $item_id, + string $feature_id, string $task_id, string $discovery_id ): bool @@ -245,7 +245,7 @@ Name | Type | Description ------------- | ------------- | ------------- **$team_id** | **string** | Team ID **$channel_id** | **string** | Channel ID - **$item_id** | **string** | Value Item ID + **$feature_id** | **string** | Feature ID **$task_id** | **string** | Task ID **$discovery_id** | **string** | Discovery ID @@ -270,7 +270,7 @@ Name | Type | Description ### Request -> **POST** `/teams/{teamId}/channels/{channelId}/items/{itemId}/tasks/{taskId}/discoveries/{discoveryId}` +> **POST** `/teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}/discoveries/{discoveryId}` ### Type signature @@ -278,7 +278,7 @@ Name | Type | Description (new \Kronup\Sdk())->api()->tasks()->discoveryUpdate( string $team_id, string $channel_id, - string $item_id, + string $feature_id, string $task_id, string $discovery_id, \Kronup\Model\PayloadTaskDiscoveryUpdate $payload_task_discovery_update @@ -291,7 +291,7 @@ Name | Type | Description ------------- | ------------- | ------------- **$team_id** | **string** | Team ID **$channel_id** | **string** | Channel ID - **$item_id** | **string** | Value Item ID + **$feature_id** | **string** | Feature ID **$task_id** | **string** | Task ID **$discovery_id** | **string** | Discovery ID **$payload_task_discovery_update** | [**\Kronup\Model\PayloadTaskDiscoveryUpdate**](../../Model/PayloadTaskDiscoveryUpdate) | @@ -317,7 +317,7 @@ Name | Type | Description ### Request -> **POST** `/teams/{teamId}/channels/{channelId}/items/{itemId}/tasks/{taskId}/feedback` +> **POST** `/teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}/feedback` ### Type signature @@ -325,7 +325,7 @@ Name | Type | Description (new \Kronup\Sdk())->api()->tasks()->feedbackCreate( string $team_id, string $channel_id, - string $item_id, + string $feature_id, string $task_id, \Kronup\Model\PayloadTaskFeedbackCreate $payload_task_feedback_create ): \Kronup\Model\MinuteFeedback @@ -337,7 +337,7 @@ Name | Type | Description ------------- | ------------- | ------------- **$team_id** | **string** | Team ID **$channel_id** | **string** | Channel ID - **$item_id** | **string** | Value Item ID + **$feature_id** | **string** | Feature ID **$task_id** | **string** | Task ID **$payload_task_feedback_create** | [**\Kronup\Model\PayloadTaskFeedbackCreate**](../../Model/PayloadTaskFeedbackCreate) | @@ -362,7 +362,7 @@ Name | Type | Description ### Request -> **DELETE** `/teams/{teamId}/channels/{channelId}/items/{itemId}/tasks/{taskId}/feedback/{feedbackId}` +> **DELETE** `/teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}/feedback/{feedbackId}` ### Type signature @@ -370,7 +370,7 @@ Name | Type | Description (new \Kronup\Sdk())->api()->tasks()->feedbackDelete( string $team_id, string $channel_id, - string $item_id, + string $feature_id, string $task_id, string $feedback_id ): bool @@ -382,7 +382,7 @@ Name | Type | Description ------------- | ------------- | ------------- **$team_id** | **string** | Team ID **$channel_id** | **string** | Channel ID - **$item_id** | **string** | Value Item ID + **$feature_id** | **string** | Feature ID **$task_id** | **string** | Task ID **$feedback_id** | **string** | Feedback ID @@ -407,7 +407,7 @@ Name | Type | Description ### Request -> **POST** `/teams/{teamId}/channels/{channelId}/items/{itemId}/tasks/{taskId}/feedback/{feedbackId}/reply` +> **POST** `/teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}/feedback/{feedbackId}/reply` ### Type signature @@ -415,7 +415,7 @@ Name | Type | Description (new \Kronup\Sdk())->api()->tasks()->feedbackReply( string $team_id, string $channel_id, - string $item_id, + string $feature_id, string $task_id, string $feedback_id, \Kronup\Model\PayloadTaskFeedbackReply $payload_task_feedback_reply @@ -428,7 +428,7 @@ Name | Type | Description ------------- | ------------- | ------------- **$team_id** | **string** | Team ID **$channel_id** | **string** | Channel ID - **$item_id** | **string** | Value Item ID + **$feature_id** | **string** | Feature ID **$task_id** | **string** | Task ID **$feedback_id** | **string** | Feedback ID **$payload_task_feedback_reply** | [**\Kronup\Model\PayloadTaskFeedbackReply**](../../Model/PayloadTaskFeedbackReply) | @@ -454,7 +454,7 @@ Name | Type | Description ### Request -> **POST** `/teams/{teamId}/channels/{channelId}/items/{itemId}/tasks/{taskId}/feedback/{feedbackId}` +> **POST** `/teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}/feedback/{feedbackId}` ### Type signature @@ -462,7 +462,7 @@ Name | Type | Description (new \Kronup\Sdk())->api()->tasks()->feedbackUpdate( string $team_id, string $channel_id, - string $item_id, + string $feature_id, string $task_id, string $feedback_id, \Kronup\Model\PayloadTaskFeedbackUpdate $payload_task_feedback_update @@ -475,7 +475,7 @@ Name | Type | Description ------------- | ------------- | ------------- **$team_id** | **string** | Team ID **$channel_id** | **string** | Channel ID - **$item_id** | **string** | Value Item ID + **$feature_id** | **string** | Feature ID **$task_id** | **string** | Task ID **$feedback_id** | **string** | Feedback ID **$payload_task_feedback_update** | [**\Kronup\Model\PayloadTaskFeedbackUpdate**](../../Model/PayloadTaskFeedbackUpdate) | @@ -501,7 +501,7 @@ Name | Type | Description ### Request -> **GET** `/teams/{teamId}/channels/{channelId}/items/{itemId}/tasks` +> **GET** `/teams/{teamId}/channels/{channelId}/features/{featureId}/tasks` ### Type signature @@ -509,7 +509,7 @@ Name | Type | Description (new \Kronup\Sdk())->api()->tasks()->list( string $team_id, string $channel_id, - string $item_id, + string $feature_id, [ int $page_number = 1, ] [ int $page_size = 500 ] ): \Kronup\Model\TasksList @@ -521,7 +521,7 @@ Name | Type | Description ------------- | ------------- | ------------- **$team_id** | **string** | Team ID **$channel_id** | **string** | Channel ID - **$item_id** | **string** | Value Item ID + **$feature_id** | **string** | Feature ID **$page_number** | **int** | [default to 1] **$page_size** | **int** | [default to 500] @@ -546,7 +546,7 @@ Name | Type | Description ### Request -> **GET** `/teams/{teamId}/channels/{channelId}/items/{itemId}/tasks/{taskId}/candidates` +> **GET** `/teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}/candidates` ### Type signature @@ -554,7 +554,7 @@ Name | Type | Description (new \Kronup\Sdk())->api()->tasks()->listCandidates( string $team_id, string $channel_id, - string $item_id, + string $feature_id, string $task_id ): \Kronup\Model\TaskCandidatesList ``` @@ -565,7 +565,7 @@ Name | Type | Description ------------- | ------------- | ------------- **$team_id** | **string** | Team ID **$channel_id** | **string** | Channel ID - **$item_id** | **string** | Value item ID + **$feature_id** | **string** | Feature ID **$task_id** | **string** | Task ID ### Return type @@ -589,7 +589,7 @@ Name | Type | Description ### Request -> **GET** `/teams/{teamId}/channels/{channelId}/items/{itemId}/tasks/{taskId}` +> **GET** `/teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}` ### Type signature @@ -597,7 +597,7 @@ Name | Type | Description (new \Kronup\Sdk())->api()->tasks()->read( string $team_id, string $channel_id, - string $item_id, + string $feature_id, string $task_id ): \Kronup\Model\TaskExpanded ``` @@ -608,7 +608,7 @@ Name | Type | Description ------------- | ------------- | ------------- **$team_id** | **string** | Team ID **$channel_id** | **string** | Channel ID - **$item_id** | **string** | Value item ID + **$feature_id** | **string** | Feature ID **$task_id** | **string** | Task ID ### Return type @@ -632,7 +632,7 @@ Name | Type | Description ### Request -> **POST** `/teams/{teamId}/channels/{channelId}/items/{itemId}/tasks/{taskId}` +> **POST** `/teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}` ### Type signature @@ -640,7 +640,7 @@ Name | Type | Description (new \Kronup\Sdk())->api()->tasks()->update( string $team_id, string $channel_id, - string $item_id, + string $feature_id, string $task_id, \Kronup\Model\PayloadTaskUpdate $payload_task_update ): \Kronup\Model\Task @@ -652,7 +652,7 @@ Name | Type | Description ------------- | ------------- | ------------- **$team_id** | **string** | Team ID **$channel_id** | **string** | Channel ID - **$item_id** | **string** | Value item ID + **$feature_id** | **string** | Feature ID **$task_id** | **string** | Task ID **$payload_task_update** | [**\Kronup\Model\PayloadTaskUpdate**](../../Model/PayloadTaskUpdate) | diff --git a/docs/Model/Assumption.md b/docs/Model/Assumption.md index fb44761..35fc053 100644 --- a/docs/Model/Assumption.md +++ b/docs/Model/Assumption.md @@ -10,13 +10,13 @@ layout: page new \Kronup\Model\Assumption(); ``` -Value Item Assumption +Feature Assumption ## Model getters Method name | Return type | Description ------------ | ------------- | ------------- -**getId()** | **string** | Value item ID +**getId()** | **string** | Feature ID **getAuthorUserId()** | **string** | User ID **getHeading()** | **string** | Assumptions are formulated as simple statements that can be proven true or false; avoid questions and opinions. > ❌ What are the features? > > ❌ Does this feature exist? > > ❌ I don't like this feature. > > ✅ This feature exists. **getExperiment()** | [**\Kronup\Model\Experiment**](../Experiment) | diff --git a/docs/Model/AssumptionLite.md b/docs/Model/AssumptionLite.md index b16858f..445ce1c 100644 --- a/docs/Model/AssumptionLite.md +++ b/docs/Model/AssumptionLite.md @@ -10,13 +10,13 @@ layout: page new \Kronup\Model\AssumptionLite(); ``` -Value Item Assumption +Feature Assumption ## Model getters Method name | Return type | Description ------------ | ------------- | ------------- -**getId()** | **string** | Value item ID +**getId()** | **string** | Feature ID **getAuthorUserId()** | **string** | User ID **getExperiment()** | [**\Kronup\Model\ExperimentLite**](../ExperimentLite) | diff --git a/docs/Model/Candidate.md b/docs/Model/Candidate.md index 6957dd7..d5a4eb2 100644 --- a/docs/Model/Candidate.md +++ b/docs/Model/Candidate.md @@ -18,7 +18,7 @@ Method name | Return type | Description ------------ | ------------- | ------------- **getUserId()** | **string** | User ID **getUserName()** | **string** | User name -**getUserItems()** | **int** | Number of value items where this user is executing tasks +**getUserFeatures()** | **int** | Number of features where this user is executing tasks **getYdStress()** | **float** | Forecast stress level based on notion assessments (0 to 100) **getYdPrecision()** | **float** | Percentage of notions assessed for this task (0 to 100) **getYdScore()** | **float** | Yerkes-Dodson score; 40+ is good, 90+ is great diff --git a/docs/Model/DeepContextList.md b/docs/Model/DeepContextList.md index da46d3c..8f07e0a 100644 --- a/docs/Model/DeepContextList.md +++ b/docs/Model/DeepContextList.md @@ -16,6 +16,6 @@ Method name | Return type | Description ------------ | ------------- | ------------- **getPageNumber()** | **int** | Pagination: page number [default to `1`] **getPageSize()** | **int** | Pagination: page size [default to `500`] -**getTotal()** | **int** | Total number of value items -**getItems()** | [**\Kronup\Model\ValueItem[]**](../ValueItem) | Value Items +**getTotal()** | **int** | Total number of features +**getFeatures()** | [**\Kronup\Model\Feature[]**](../Feature) | Features diff --git a/docs/Model/Event.md b/docs/Model/Event.md index 3cb75b0..80590bb 100644 --- a/docs/Model/Event.md +++ b/docs/Model/Event.md @@ -15,14 +15,14 @@ new \Kronup\Model\Event(); Method name | Return type | Description ------------ | ------------- | ------------- **getId()** | **string** | Event ID -**getType()** | **string** | Event type ( `items` `assumptions` `tasks` `self-evaluation` `peer evaluation` ) +**getType()** | **string** | Event type ( `features` `assumptions` `tasks` `self-evaluation` `peer evaluation` ) **getTeamId()** | **string** | Team ID **getChannelId()** | **string** | Channel ID **getNotionId()** | **string** | Notion ID **getPeerUserId()** | **string** | Peers User ID -**getItemId()** | **string** | Item ID +**getFeatureId()** | **string** | Feature ID **getAssmId()** | **string** | Assumption ID **getTaskId()** | **string** | Task ID **getDiff()** | **string[]** | Difference -**getStage()** | **string** | Value Item Stage ( `planning` `validation` `execution` `deep context` ) +**getStage()** | **string** | Feature Stage ( `planning` `validation` `execution` `deep context` ) diff --git a/docs/Model/Feature.md b/docs/Model/Feature.md new file mode 100644 index 0000000..b97eeb9 --- /dev/null +++ b/docs/Model/Feature.md @@ -0,0 +1,31 @@ +--- +title: "Feature" +parent: Model +layout: page +--- + +# Feature + +```php +new \Kronup\Model\Feature(); +``` + +## Model getters + +Method name | Return type | Description +------------ | ------------- | ------------- +**getId()** | **string** | Feature ID +**getTeamId()** | **string** | Team ID +**getChannelId()** | **string** | Channel ID +**getHeading()** | **string** | Feature heading +**getDetails()** | **string** | Feature description +**getAuthorUserId()** | **string** | User ID +**getStage()** | **string** | Feature Stage ( `planning` `validation` `execution` `deep context` ) +**getCanAdvance()** | **bool** | Conditions for Features to advance to the next stage: * `planning` - at least 1 Assumption was added * `validation` - all Assumption experiments were marked as `done` * `execution` - all Tasks were marked as `done` * `deep context` - Features become read-only; they can only be deleted by an Organization owner or administrator [default to `false`] +**getType()** | **string** | Feature Type ( `feature` `bug fix` `routine` ) +**getPriority()** | **float** | Feature Priority [default to `1`] +**getAssumptions()** | [**\Kronup\Model\Assumption[]**](../Assumption) | Assumptions +**getTasks()** | [**\Kronup\Model\Task[]**](../Task) | Tasks +**getCreatedAt()** | **string** | Created timestamp +**getUpdatedAt()** | **string** | Updated timestamp + diff --git a/docs/Model/FeatureExpanded.md b/docs/Model/FeatureExpanded.md new file mode 100644 index 0000000..9fc37a9 --- /dev/null +++ b/docs/Model/FeatureExpanded.md @@ -0,0 +1,33 @@ +--- +title: "Feature - Expanded" +parent: Model +layout: page +--- + +# Feature - Expanded + +```php +new \Kronup\Model\FeatureExpanded(); +``` + +## Model getters + +Method name | Return type | Description +------------ | ------------- | ------------- +**getId()** | **string** | Feature ID +**getTeamId()** | **string** | Team ID +**getChannelId()** | **string** | Channel ID +**getHeading()** | **string** | Feature heading +**getDetails()** | **string** | Feature description +**getAuthorUserId()** | **string** | User ID +**getStage()** | **string** | Feature Stage ( `planning` `validation` `execution` `deep context` ) +**getCanAdvance()** | **bool** | Conditions for Features to advance to the next stage: * `planning` - at least 1 Assumption was added * `validation` - all Assumption experiments were marked as `done` * `execution` - all Tasks were marked as `done` * `deep context` - Features become read-only; they can only be deleted by an Organization owner or administrator [default to `false`] +**getType()** | **string** | Feature Type ( `feature` `bug fix` `routine` ) +**getPriority()** | **float** | Feature Priority [default to `1`] +**getAssumptions()** | [**\Kronup\Model\Assumption[]**](../Assumption) | Assumptions +**getTasks()** | [**\Kronup\Model\TaskExpanded[]**](../TaskExpanded) | Expanded Tasks +**getCreatedAt()** | **string** | Created timestamp +**getUpdatedAt()** | **string** | Updated timestamp +**getTeamName()** | **string** | Team name +**getChannelName()** | **string** | Channel name + diff --git a/docs/Model/FeatureLite.md b/docs/Model/FeatureLite.md new file mode 100644 index 0000000..0443b64 --- /dev/null +++ b/docs/Model/FeatureLite.md @@ -0,0 +1,30 @@ +--- +title: "Feature - Lite" +parent: Model +layout: page +--- + +# Feature - Lite + +```php +new \Kronup\Model\FeatureLite(); +``` + +## Model getters + +Method name | Return type | Description +------------ | ------------- | ------------- +**getId()** | **string** | Feature ID +**getTeamId()** | **string** | Team ID +**getChannelId()** | **string** | Channel ID +**getHeading()** | **string** | Feature heading +**getAuthorUserId()** | **string** | User ID +**getStage()** | **string** | Feature Stage ( `planning` `validation` `execution` `deep context` ) +**getCanAdvance()** | **bool** | Conditions for Features to advance to the next stage: * `planning` - at least 1 Assumption was added * `validation` - all Assumption experiments were marked as `done` * `execution` - all Tasks were marked as `done` * `deep context` - Features become read-only; they can only be deleted by an Organization owner or administrator [default to `false`] +**getType()** | **string** | Feature Type ( `feature` `bug fix` `routine` ) +**getPriority()** | **float** | Feature Priority [default to `1`] +**getAssumptions()** | [**\Kronup\Model\AssumptionLite[]**](../AssumptionLite) | Assumptions - Lite +**getTasks()** | [**\Kronup\Model\Task[]**](../Task) | Tasks +**getCreatedAt()** | **string** | Created timestamp +**getUpdatedAt()** | **string** | Updated timestamp + diff --git a/docs/Model/ValueItemsList.md b/docs/Model/FeaturesList.md similarity index 56% rename from docs/Model/ValueItemsList.md rename to docs/Model/FeaturesList.md index 509f541..1103f86 100644 --- a/docs/Model/ValueItemsList.md +++ b/docs/Model/FeaturesList.md @@ -1,13 +1,13 @@ --- -title: "Value Items List" +title: "Features List" parent: Model layout: page --- -# Value Items List +# Features List ```php -new \Kronup\Model\ValueItemsList(); +new \Kronup\Model\FeaturesList(); ``` ## Model getters @@ -16,6 +16,6 @@ Method name | Return type | Description ------------ | ------------- | ------------- **getPageNumber()** | **int** | Pagination: page number [default to `1`] **getPageSize()** | **int** | Pagination: page size [default to `500`] -**getTotal()** | **int** | Total number of value items -**getItems()** | [**\Kronup\Model\ValueItemLite[]**](../ValueItemLite) | Value Items - Lite version +**getTotal()** | **int** | Total number of features +**getFeatures()** | [**\Kronup\Model\FeatureLite[]**](../FeatureLite) | Features - Lite version diff --git a/docs/Model/Minute.md b/docs/Model/Minute.md index 55685f9..2b879a6 100644 --- a/docs/Model/Minute.md +++ b/docs/Model/Minute.md @@ -18,5 +18,5 @@ Method name | Return type | Description ------------ | ------------- | ------------- **getIteration()** | **float** | Iteration number [default to `1`] **getDiscoveries()** | [**\Kronup\Model\MinuteDiscovery[]**](../MinuteDiscovery) | Discoveries -**getFeedback()** | [**\Kronup\Model\MinuteFeedback[]**](../MinuteFeedback) | Feedback items +**getFeedback()** | [**\Kronup\Model\MinuteFeedback[]**](../MinuteFeedback) | Feedback diff --git a/docs/Model/PayloadAssmCreate.md b/docs/Model/PayloadAssmCreate.md index e7f70a5..69759d4 100644 --- a/docs/Model/PayloadAssmCreate.md +++ b/docs/Model/PayloadAssmCreate.md @@ -10,7 +10,7 @@ layout: page new \Kronup\Model\PayloadAssmCreate(); ``` -Payload object required to create a Value Item assumption +Payload object required to create a Feature assumption ## Payload setters diff --git a/docs/Model/PayloadAssmUpdate.md b/docs/Model/PayloadAssmUpdate.md index 4961b60..e8d4a71 100644 --- a/docs/Model/PayloadAssmUpdate.md +++ b/docs/Model/PayloadAssmUpdate.md @@ -10,7 +10,7 @@ layout: page new \Kronup\Model\PayloadAssmUpdate(); ``` -Payload object required to update a Value Item assumption +Payload object required to update a Feature assumption ## Payload setters diff --git a/docs/Model/PayloadFeatureCreate.md b/docs/Model/PayloadFeatureCreate.md new file mode 100644 index 0000000..b944305 --- /dev/null +++ b/docs/Model/PayloadFeatureCreate.md @@ -0,0 +1,23 @@ +--- +title: "Payload Feature Create" +parent: Model +layout: page +--- + +# Payload Feature Create + +```php +new \Kronup\Model\PayloadFeatureCreate(); +``` + +Payload object required to create a Feature + +## Payload setters + +Method name | Argument type | Description +------------ | ------------- | ------------- +**setHeading()** | **string** | Feature heading +**setDetails()** | **string** | Feature description +**setType()** | **string** | Feature type ( `feature` `bug fix` `routine` ) +**setPriority()** | **float** | Feature priority + diff --git a/docs/Model/PayloadFeatureUpdate.md b/docs/Model/PayloadFeatureUpdate.md new file mode 100644 index 0000000..b5dd4f7 --- /dev/null +++ b/docs/Model/PayloadFeatureUpdate.md @@ -0,0 +1,23 @@ +--- +title: "Payload Feature Update" +parent: Model +layout: page +--- + +# Payload Feature Update + +```php +new \Kronup\Model\PayloadFeatureUpdate(); +``` + +Payload object required to update a Feature + +## Payload setters + +Method name | Argument type | Description +------------ | ------------- | ------------- +**setHeading()** | **string** | Feature heading +**setDetails()** | **string** | Feature description +**setType()** | **string** | Feature type ( `feature` `bug fix` `routine` ) +**setPriority()** | **float** | Feature priority + diff --git a/docs/Model/PayloadValueItemCreate.md b/docs/Model/PayloadValueItemCreate.md deleted file mode 100644 index 55c1959..0000000 --- a/docs/Model/PayloadValueItemCreate.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: "Payload Value Item Create" -parent: Model -layout: page ---- - -# Payload Value Item Create - -```php -new \Kronup\Model\PayloadValueItemCreate(); -``` - -Payload object required to create a Value Item - -## Payload setters - -Method name | Argument type | Description ------------- | ------------- | ------------- -**setHeading()** | **string** | Value item heading -**setDetails()** | **string** | Value item description -**setType()** | **string** | Value item type ( `feature` `bug fix` `routine` ) -**setPriority()** | **float** | Value item priority - diff --git a/docs/Model/PayloadValueItemUpdate.md b/docs/Model/PayloadValueItemUpdate.md deleted file mode 100644 index 5447667..0000000 --- a/docs/Model/PayloadValueItemUpdate.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: "Payload Value Item Update" -parent: Model -layout: page ---- - -# Payload Value Item Update - -```php -new \Kronup\Model\PayloadValueItemUpdate(); -``` - -Payload object required to update a Value Item - -## Payload setters - -Method name | Argument type | Description ------------- | ------------- | ------------- -**setHeading()** | **string** | Value item heading -**setDetails()** | **string** | Value item description -**setType()** | **string** | Value item type ( `feature` `bug fix` `routine` ) -**setPriority()** | **float** | Value item priority - diff --git a/docs/Model/Subscription.md b/docs/Model/Subscription.md index 5617670..5561222 100644 --- a/docs/Model/Subscription.md +++ b/docs/Model/Subscription.md @@ -18,7 +18,7 @@ Method name | Return type | Description **getStatus()** | **string** | ( `on_trial` `active` `past_due` `cancelled` `unpaid` `paused` `expired` ) **getUrl()** | **string** | Update payment method URL **getOrderId()** | **float** | Order ID -**getOrderItemId()** | **float** | Order Item ID +**getOrderFeatureId()** | **float** | Order Feature ID **getProductId()** | **float** | Product ID **getVariantId()** | **float** | Variant ID **getCustomerId()** | **float** | Customer ID diff --git a/docs/Model/SubscriptionLite.md b/docs/Model/SubscriptionLite.md index f657218..3fc7a2e 100644 --- a/docs/Model/SubscriptionLite.md +++ b/docs/Model/SubscriptionLite.md @@ -18,7 +18,7 @@ Method name | Return type | Description **getStatus()** | **string** | ( `on_trial` `active` `past_due` `cancelled` `unpaid` `paused` `expired` ) **getUrl()** | **string** | Update payment method URL **getOrderId()** | **float** | Order ID -**getOrderItemId()** | **float** | Order Item ID +**getOrderFeatureId()** | **float** | Order Feature ID **getProductId()** | **float** | Product ID **getVariantId()** | **float** | Variant ID **getCustomerId()** | **float** | Customer ID diff --git a/docs/Model/SubscriptionNullable.md b/docs/Model/SubscriptionNullable.md index bbdd6f5..5f3ed0a 100644 --- a/docs/Model/SubscriptionNullable.md +++ b/docs/Model/SubscriptionNullable.md @@ -18,7 +18,7 @@ Method name | Return type | Description **getStatus()** | **string** | ( `on_trial` `active` `past_due` `cancelled` `unpaid` `paused` `expired` ) **getUrl()** | **string** | Update payment method URL **getOrderId()** | **float** | Order ID -**getOrderItemId()** | **float** | Order Item ID +**getOrderFeatureId()** | **float** | Order Feature ID **getProductId()** | **float** | Product ID **getVariantId()** | **float** | Variant ID **getCustomerId()** | **float** | Customer ID diff --git a/docs/Model/ValueItem.md b/docs/Model/ValueItem.md deleted file mode 100644 index 22ba466..0000000 --- a/docs/Model/ValueItem.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -title: "Value item" -parent: Model -layout: page ---- - -# Value item - -```php -new \Kronup\Model\ValueItem(); -``` - -## Model getters - -Method name | Return type | Description ------------- | ------------- | ------------- -**getId()** | **string** | Value item ID -**getTeamId()** | **string** | Team ID -**getChannelId()** | **string** | Channel ID -**getHeading()** | **string** | Value item heading -**getDetails()** | **string** | Value item description -**getAuthorUserId()** | **string** | User ID -**getStage()** | **string** | Value Item Stage ( `planning` `validation` `execution` `deep context` ) -**getCanAdvance()** | **bool** | Conditions for Value Items to advance to the next stage: * `planning` - at least 1 Assumption was added * `validation` - all Assumption experiments were marked as `done` * `execution` - all Tasks were marked as `done` * `deep context` - Value Items become read-only; they can only be deleted by an Organization owner or administrator [default to `false`] -**getType()** | **string** | Value Item Type ( `feature` `bug fix` `routine` ) -**getPriority()** | **float** | Value Item Priority [default to `1`] -**getAssumptions()** | [**\Kronup\Model\Assumption[]**](../Assumption) | Assumptions -**getTasks()** | [**\Kronup\Model\Task[]**](../Task) | Tasks -**getCreatedAt()** | **string** | Created timestamp -**getUpdatedAt()** | **string** | Updated timestamp - diff --git a/docs/Model/ValueItemExpanded.md b/docs/Model/ValueItemExpanded.md deleted file mode 100644 index 4f46baa..0000000 --- a/docs/Model/ValueItemExpanded.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: "Value Item - Expanded" -parent: Model -layout: page ---- - -# Value Item - Expanded - -```php -new \Kronup\Model\ValueItemExpanded(); -``` - -## Model getters - -Method name | Return type | Description ------------- | ------------- | ------------- -**getId()** | **string** | Value item ID -**getTeamId()** | **string** | Team ID -**getChannelId()** | **string** | Channel ID -**getHeading()** | **string** | Value item heading -**getDetails()** | **string** | Value item description -**getAuthorUserId()** | **string** | User ID -**getStage()** | **string** | Value Item Stage ( `planning` `validation` `execution` `deep context` ) -**getCanAdvance()** | **bool** | Conditions for Value Items to advance to the next stage: * `planning` - at least 1 Assumption was added * `validation` - all Assumption experiments were marked as `done` * `execution` - all Tasks were marked as `done` * `deep context` - Value Items become read-only; they can only be deleted by an Organization owner or administrator [default to `false`] -**getType()** | **string** | Value Item Type ( `feature` `bug fix` `routine` ) -**getPriority()** | **float** | Value Item Priority [default to `1`] -**getAssumptions()** | [**\Kronup\Model\Assumption[]**](../Assumption) | Assumptions -**getTasks()** | [**\Kronup\Model\TaskExpanded[]**](../TaskExpanded) | Expanded Tasks -**getCreatedAt()** | **string** | Created timestamp -**getUpdatedAt()** | **string** | Updated timestamp -**getTeamName()** | **string** | Team name -**getChannelName()** | **string** | Channel name - diff --git a/docs/Model/ValueItemLite.md b/docs/Model/ValueItemLite.md deleted file mode 100644 index e2ef2e0..0000000 --- a/docs/Model/ValueItemLite.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: "Value Item - Lite" -parent: Model -layout: page ---- - -# Value Item - Lite - -```php -new \Kronup\Model\ValueItemLite(); -``` - -## Model getters - -Method name | Return type | Description ------------- | ------------- | ------------- -**getId()** | **string** | Value item ID -**getTeamId()** | **string** | Team ID -**getChannelId()** | **string** | Channel ID -**getHeading()** | **string** | Value item heading -**getAuthorUserId()** | **string** | User ID -**getStage()** | **string** | Value Item Stage ( `planning` `validation` `execution` `deep context` ) -**getCanAdvance()** | **bool** | Conditions for Value Items to advance to the next stage: * `planning` - at least 1 Assumption was added * `validation` - all Assumption experiments were marked as `done` * `execution` - all Tasks were marked as `done` * `deep context` - Value Items become read-only; they can only be deleted by an Organization owner or administrator [default to `false`] -**getType()** | **string** | Value Item Type ( `feature` `bug fix` `routine` ) -**getPriority()** | **float** | Value Item Priority [default to `1`] -**getAssumptions()** | [**\Kronup\Model\AssumptionLite[]**](../AssumptionLite) | Assumptions - Lite -**getTasks()** | [**\Kronup\Model\Task[]**](../Task) | Tasks -**getCreatedAt()** | **string** | Created timestamp -**getUpdatedAt()** | **string** | Updated timestamp - diff --git a/examples/Api/AssumptionsApi/create.php b/examples/Api/AssumptionsApi/create.php index 239b41a..7dcb1ef 100644 --- a/examples/Api/AssumptionsApi/create.php +++ b/examples/Api/AssumptionsApi/create.php @@ -26,8 +26,8 @@ // Channel ID $arg_channel_id = "fff"; -// Value Item ID -$arg_item_id = "fff"; +// Feature ID +$arg_feature_id = "fff"; $arg_payload_assm_create = (new \Kronup\Model\PayloadAssmCreate()) @@ -36,14 +36,14 @@ try { /** - * POST /teams/{teamId}/channels/{channelId}/items/{itemId}/assms + * POST /teams/{teamId}/channels/{channelId}/features/{featureId}/assms * * @var \Kronup\Model\Assumption $response */ $response = $sdk ->api() ->assumptions() - ->create($arg_team_id, $arg_channel_id, $arg_item_id, $arg_payload_assm_create); + ->create($arg_team_id, $arg_channel_id, $arg_feature_id, $arg_payload_assm_create); var_export($response); } catch (\Kronup\Sdk\ApiException $apiExc) { diff --git a/examples/Api/AssumptionsApi/delete.php b/examples/Api/AssumptionsApi/delete.php index 31a2e0d..1d2c36d 100644 --- a/examples/Api/AssumptionsApi/delete.php +++ b/examples/Api/AssumptionsApi/delete.php @@ -26,22 +26,22 @@ // Channel ID $arg_channel_id = "fff"; -// Value item ID -$arg_item_id = "fff"; +// Feature ID +$arg_feature_id = "fff"; // Assumption ID $arg_assm_id = "fff"; try { /** - * DELETE /teams/{teamId}/channels/{channelId}/items/{itemId}/assms/{assmId} + * DELETE /teams/{teamId}/channels/{channelId}/features/{featureId}/assms/{assmId} * * @var bool $response */ $response = $sdk ->api() ->assumptions() - ->delete($arg_team_id, $arg_channel_id, $arg_item_id, $arg_assm_id); + ->delete($arg_team_id, $arg_channel_id, $arg_feature_id, $arg_assm_id); var_export($response); } catch (\Kronup\Sdk\ApiException $apiExc) { diff --git a/examples/Api/AssumptionsApi/experiment.php b/examples/Api/AssumptionsApi/experiment.php index f117d5d..a3673a5 100644 --- a/examples/Api/AssumptionsApi/experiment.php +++ b/examples/Api/AssumptionsApi/experiment.php @@ -26,8 +26,8 @@ // Channel ID $arg_channel_id = "fff"; -// Value item ID -$arg_item_id = "fff"; +// Feature ID +$arg_feature_id = "fff"; // Assumption ID $arg_assm_id = "fff"; @@ -45,14 +45,14 @@ try { /** - * POST /teams/{teamId}/channels/{channelId}/items/{itemId}/assms/{assmId}/exp + * POST /teams/{teamId}/channels/{channelId}/features/{featureId}/assms/{assmId}/exp * * @var \Kronup\Model\Assumption $response */ $response = $sdk ->api() ->assumptions() - ->experiment($arg_team_id, $arg_channel_id, $arg_item_id, $arg_assm_id, $arg_payload_assm_experiment); + ->experiment($arg_team_id, $arg_channel_id, $arg_feature_id, $arg_assm_id, $arg_payload_assm_experiment); var_export($response); } catch (\Kronup\Sdk\ApiException $apiExc) { diff --git a/examples/Api/AssumptionsApi/list.php b/examples/Api/AssumptionsApi/list.php index 801e843..f7a00da 100644 --- a/examples/Api/AssumptionsApi/list.php +++ b/examples/Api/AssumptionsApi/list.php @@ -26,8 +26,8 @@ // Channel ID $arg_channel_id = "fff"; -// Value Item ID -$arg_item_id = "fff"; +// Feature ID +$arg_feature_id = "fff"; $arg_page_number = 1; @@ -35,14 +35,14 @@ try { /** - * GET /teams/{teamId}/channels/{channelId}/items/{itemId}/assms + * GET /teams/{teamId}/channels/{channelId}/features/{featureId}/assms * * @var \Kronup\Model\AssumptionsList $response */ $response = $sdk ->api() ->assumptions() - ->list($arg_team_id, $arg_channel_id, $arg_item_id, $arg_page_number, $arg_page_size); + ->list($arg_team_id, $arg_channel_id, $arg_feature_id, $arg_page_number, $arg_page_size); var_export($response); } catch (\Kronup\Sdk\ApiException $apiExc) { diff --git a/examples/Api/AssumptionsApi/update.php b/examples/Api/AssumptionsApi/update.php index be8f1aa..b8e6a03 100644 --- a/examples/Api/AssumptionsApi/update.php +++ b/examples/Api/AssumptionsApi/update.php @@ -26,8 +26,8 @@ // Channel ID $arg_channel_id = "fff"; -// Value item ID -$arg_item_id = "fff"; +// Feature ID +$arg_feature_id = "fff"; // Assumption ID $arg_assm_id = "fff"; @@ -39,14 +39,14 @@ try { /** - * POST /teams/{teamId}/channels/{channelId}/items/{itemId}/assms/{assmId} + * POST /teams/{teamId}/channels/{channelId}/features/{featureId}/assms/{assmId} * * @var \Kronup\Model\Assumption $response */ $response = $sdk ->api() ->assumptions() - ->update($arg_team_id, $arg_channel_id, $arg_item_id, $arg_assm_id, $arg_payload_assm_update); + ->update($arg_team_id, $arg_channel_id, $arg_feature_id, $arg_assm_id, $arg_payload_assm_update); var_export($response); } catch (\Kronup\Sdk\ApiException $apiExc) { diff --git a/examples/Api/DeepContextApi/delete.php b/examples/Api/DeepContextApi/delete.php index 5807887..24b6534 100644 --- a/examples/Api/DeepContextApi/delete.php +++ b/examples/Api/DeepContextApi/delete.php @@ -20,19 +20,19 @@ // 🐛 Enable debugging $sdk->config()->setDebug(true); -// Value item ID -$arg_item_id = "fff"; +// Feature ID +$arg_feature_id = "fff"; try { /** - * DELETE /deep-context/{itemId} + * DELETE /deep-context/{featureId} * * @var bool $response */ $response = $sdk ->api() ->deepContext() - ->delete($arg_item_id); + ->delete($arg_feature_id); var_export($response); } catch (\Kronup\Sdk\ApiException $apiExc) { diff --git a/examples/Api/DeepContextApi/read.php b/examples/Api/DeepContextApi/read.php index 3403d5d..14b7c24 100644 --- a/examples/Api/DeepContextApi/read.php +++ b/examples/Api/DeepContextApi/read.php @@ -20,19 +20,19 @@ // 🐛 Enable debugging $sdk->config()->setDebug(true); -// Value item ID -$arg_item_id = "fff"; +// Feature ID +$arg_feature_id = "fff"; try { /** - * GET /deep-context/{itemId} + * GET /deep-context/{featureId} * - * @var \Kronup\Model\ValueItemExpanded $response + * @var \Kronup\Model\FeatureExpanded $response */ $response = $sdk ->api() ->deepContext() - ->read($arg_item_id); + ->read($arg_feature_id); var_export($response); } catch (\Kronup\Sdk\ApiException $apiExc) { diff --git a/examples/Api/ValueItemsApi/advance.php b/examples/Api/FeaturesApi/advance.php similarity index 63% rename from examples/Api/ValueItemsApi/advance.php rename to examples/Api/FeaturesApi/advance.php index 6ebe08a..ea87f82 100644 --- a/examples/Api/ValueItemsApi/advance.php +++ b/examples/Api/FeaturesApi/advance.php @@ -2,7 +2,7 @@ /** * Copyright (c) 2022-2023 kronup.io * - * @link https://php.kronup.io/Api/ValueItemsApi/#advance + * @link https://php.kronup.io/Api/FeaturesApi/#advance * @license MIT * @author Mark Jivko * @@ -26,29 +26,29 @@ // Channel ID $arg_channel_id = "fff"; -// Value item ID -$arg_item_id = "fff"; +// Feature ID +$arg_feature_id = "fff"; try { /** - * PUT /teams/{teamId}/channels/{channelId}/items/{itemId} + * PUT /teams/{teamId}/channels/{channelId}/features/{featureId} * - * @var \Kronup\Model\ValueItem $response + * @var \Kronup\Model\Feature $response */ $response = $sdk ->api() - ->valueItems() - ->advance($arg_team_id, $arg_channel_id, $arg_item_id); + ->features() + ->advance($arg_team_id, $arg_channel_id, $arg_feature_id); var_export($response); } catch (\Kronup\Sdk\ApiException $apiExc) { echo sprintf( - "API Exception when calling api()->valueItems()->advance(): %s\n", + "API Exception when calling api()->features()->advance(): %s\n", var_export($apiExc->getResponseObject(), true) ); } catch (\Exception $exc) { echo sprintf( - "Exception when calling api()->valueItems()->advance(): %s\n", + "Exception when calling api()->features()->advance(): %s\n", $exc->getMessage() ); } \ No newline at end of file diff --git a/examples/Api/ValueItemsApi/create.php b/examples/Api/FeaturesApi/create.php similarity index 58% rename from examples/Api/ValueItemsApi/create.php rename to examples/Api/FeaturesApi/create.php index 0c55caa..e340bd7 100644 --- a/examples/Api/ValueItemsApi/create.php +++ b/examples/Api/FeaturesApi/create.php @@ -2,7 +2,7 @@ /** * Copyright (c) 2022-2023 kronup.io * - * @link https://php.kronup.io/Api/ValueItemsApi/#create + * @link https://php.kronup.io/Api/FeaturesApi/#create * @license MIT * @author Mark Jivko * @@ -26,40 +26,40 @@ // Channel ID $arg_channel_id = "fff"; -$arg_payload_value_item_create = (new \Kronup\Model\PayloadValueItemCreate()) +$arg_payload_feature_create = (new \Kronup\Model\PayloadFeatureCreate()) - // (optional) Value item heading + // (optional) Feature heading ->setHeading('Feature name') - // (optional) Value item description + // (optional) Feature description ->setDetails('Feature description') - // (optional) Value item type + // (optional) Feature type ->setType('feature') - // (optional) Value item priority + // (optional) Feature priority ->setPriority(1); try { /** - * POST /teams/{teamId}/channels/{channelId}/items + * POST /teams/{teamId}/channels/{channelId}/features * - * @var \Kronup\Model\ValueItem $response + * @var \Kronup\Model\Feature $response */ $response = $sdk ->api() - ->valueItems() - ->create($arg_team_id, $arg_channel_id, $arg_payload_value_item_create); + ->features() + ->create($arg_team_id, $arg_channel_id, $arg_payload_feature_create); var_export($response); } catch (\Kronup\Sdk\ApiException $apiExc) { echo sprintf( - "API Exception when calling api()->valueItems()->create(): %s\n", + "API Exception when calling api()->features()->create(): %s\n", var_export($apiExc->getResponseObject(), true) ); } catch (\Exception $exc) { echo sprintf( - "Exception when calling api()->valueItems()->create(): %s\n", + "Exception when calling api()->features()->create(): %s\n", $exc->getMessage() ); } \ No newline at end of file diff --git a/examples/Api/ValueItemsApi/delete.php b/examples/Api/FeaturesApi/delete.php similarity index 66% rename from examples/Api/ValueItemsApi/delete.php rename to examples/Api/FeaturesApi/delete.php index 86e517e..cd0ed8b 100644 --- a/examples/Api/ValueItemsApi/delete.php +++ b/examples/Api/FeaturesApi/delete.php @@ -2,7 +2,7 @@ /** * Copyright (c) 2022-2023 kronup.io * - * @link https://php.kronup.io/Api/ValueItemsApi/#delete + * @link https://php.kronup.io/Api/FeaturesApi/#delete * @license MIT * @author Mark Jivko * @@ -26,29 +26,29 @@ // Channel ID $arg_channel_id = "fff"; -// Value item ID -$arg_item_id = "fff"; +// Feature ID +$arg_feature_id = "fff"; try { /** - * DELETE /teams/{teamId}/channels/{channelId}/items/{itemId} + * DELETE /teams/{teamId}/channels/{channelId}/features/{featureId} * * @var bool $response */ $response = $sdk ->api() - ->valueItems() - ->delete($arg_team_id, $arg_channel_id, $arg_item_id); + ->features() + ->delete($arg_team_id, $arg_channel_id, $arg_feature_id); var_export($response); } catch (\Kronup\Sdk\ApiException $apiExc) { echo sprintf( - "API Exception when calling api()->valueItems()->delete(): %s\n", + "API Exception when calling api()->features()->delete(): %s\n", var_export($apiExc->getResponseObject(), true) ); } catch (\Exception $exc) { echo sprintf( - "Exception when calling api()->valueItems()->delete(): %s\n", + "Exception when calling api()->features()->delete(): %s\n", $exc->getMessage() ); } \ No newline at end of file diff --git a/examples/Api/ValueItemsApi/list.php b/examples/Api/FeaturesApi/list.php similarity index 72% rename from examples/Api/ValueItemsApi/list.php rename to examples/Api/FeaturesApi/list.php index 371a04c..b72bbdf 100644 --- a/examples/Api/ValueItemsApi/list.php +++ b/examples/Api/FeaturesApi/list.php @@ -2,7 +2,7 @@ /** * Copyright (c) 2022-2023 kronup.io * - * @link https://php.kronup.io/Api/ValueItemsApi/#list + * @link https://php.kronup.io/Api/FeaturesApi/#list * @license MIT * @author Mark Jivko * @@ -26,7 +26,7 @@ // Channel ID $arg_channel_id = "fff"; -// Value item stage +// Feature stage $arg_stage = "planning"; $arg_page_number = 1; @@ -35,24 +35,24 @@ try { /** - * GET /teams/{teamId}/channels/{channelId}/items + * GET /teams/{teamId}/channels/{channelId}/features * - * @var \Kronup\Model\ValueItemsList $response + * @var \Kronup\Model\FeaturesList $response */ $response = $sdk ->api() - ->valueItems() + ->features() ->list($arg_team_id, $arg_channel_id, $arg_stage, $arg_page_number, $arg_page_size); var_export($response); } catch (\Kronup\Sdk\ApiException $apiExc) { echo sprintf( - "API Exception when calling api()->valueItems()->list(): %s\n", + "API Exception when calling api()->features()->list(): %s\n", var_export($apiExc->getResponseObject(), true) ); } catch (\Exception $exc) { echo sprintf( - "Exception when calling api()->valueItems()->list(): %s\n", + "Exception when calling api()->features()->list(): %s\n", $exc->getMessage() ); } \ No newline at end of file diff --git a/examples/Api/ValueItemsApi/read.php b/examples/Api/FeaturesApi/read.php similarity index 64% rename from examples/Api/ValueItemsApi/read.php rename to examples/Api/FeaturesApi/read.php index d6b9c1e..0cb091c 100644 --- a/examples/Api/ValueItemsApi/read.php +++ b/examples/Api/FeaturesApi/read.php @@ -2,7 +2,7 @@ /** * Copyright (c) 2022-2023 kronup.io * - * @link https://php.kronup.io/Api/ValueItemsApi/#read + * @link https://php.kronup.io/Api/FeaturesApi/#read * @license MIT * @author Mark Jivko * @@ -26,29 +26,29 @@ // Channel ID $arg_channel_id = "fff"; -// Value item ID -$arg_item_id = "fff"; +// Feature ID +$arg_feature_id = "fff"; try { /** - * GET /teams/{teamId}/channels/{channelId}/items/{itemId} + * GET /teams/{teamId}/channels/{channelId}/features/{featureId} * - * @var \Kronup\Model\ValueItem $response + * @var \Kronup\Model\Feature $response */ $response = $sdk ->api() - ->valueItems() - ->read($arg_team_id, $arg_channel_id, $arg_item_id); + ->features() + ->read($arg_team_id, $arg_channel_id, $arg_feature_id); var_export($response); } catch (\Kronup\Sdk\ApiException $apiExc) { echo sprintf( - "API Exception when calling api()->valueItems()->read(): %s\n", + "API Exception when calling api()->features()->read(): %s\n", var_export($apiExc->getResponseObject(), true) ); } catch (\Exception $exc) { echo sprintf( - "Exception when calling api()->valueItems()->read(): %s\n", + "Exception when calling api()->features()->read(): %s\n", $exc->getMessage() ); } \ No newline at end of file diff --git a/examples/Api/ValueItemsApi/update.php b/examples/Api/FeaturesApi/update.php similarity index 56% rename from examples/Api/ValueItemsApi/update.php rename to examples/Api/FeaturesApi/update.php index 647e310..f699aa7 100644 --- a/examples/Api/ValueItemsApi/update.php +++ b/examples/Api/FeaturesApi/update.php @@ -2,7 +2,7 @@ /** * Copyright (c) 2022-2023 kronup.io * - * @link https://php.kronup.io/Api/ValueItemsApi/#update + * @link https://php.kronup.io/Api/FeaturesApi/#update * @license MIT * @author Mark Jivko * @@ -26,43 +26,43 @@ // Channel ID $arg_channel_id = "fff"; -// Value item ID -$arg_item_id = "fff"; +// Feature ID +$arg_feature_id = "fff"; -$arg_payload_value_item_update = (new \Kronup\Model\PayloadValueItemUpdate()) +$arg_payload_feature_update = (new \Kronup\Model\PayloadFeatureUpdate()) - // (optional) Value item heading + // (optional) Feature heading ->setHeading('Feature name') - // (optional) Value item description + // (optional) Feature description ->setDetails('Feature description') - // (optional) Value item type + // (optional) Feature type ->setType('feature') - // (optional) Value item priority + // (optional) Feature priority ->setPriority(1); try { /** - * POST /teams/{teamId}/channels/{channelId}/items/{itemId} + * POST /teams/{teamId}/channels/{channelId}/features/{featureId} * - * @var \Kronup\Model\ValueItem $response + * @var \Kronup\Model\Feature $response */ $response = $sdk ->api() - ->valueItems() - ->update($arg_team_id, $arg_channel_id, $arg_item_id, $arg_payload_value_item_update); + ->features() + ->update($arg_team_id, $arg_channel_id, $arg_feature_id, $arg_payload_feature_update); var_export($response); } catch (\Kronup\Sdk\ApiException $apiExc) { echo sprintf( - "API Exception when calling api()->valueItems()->update(): %s\n", + "API Exception when calling api()->features()->update(): %s\n", var_export($apiExc->getResponseObject(), true) ); } catch (\Exception $exc) { echo sprintf( - "Exception when calling api()->valueItems()->update(): %s\n", + "Exception when calling api()->features()->update(): %s\n", $exc->getMessage() ); } \ No newline at end of file diff --git a/examples/Api/TasksApi/assign.php b/examples/Api/TasksApi/assign.php index a82c3d1..d43fbde 100644 --- a/examples/Api/TasksApi/assign.php +++ b/examples/Api/TasksApi/assign.php @@ -26,8 +26,8 @@ // Channel ID $arg_channel_id = "fff"; -// Value item ID -$arg_item_id = "fff"; +// Feature ID +$arg_feature_id = "fff"; // Task ID $arg_task_id = "fff"; @@ -37,14 +37,14 @@ try { /** - * PUT /teams/{teamId}/channels/{channelId}/items/{itemId}/tasks/{taskId}/users/{userId} + * PUT /teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}/users/{userId} * * @var \Kronup\Model\Task $response */ $response = $sdk ->api() ->tasks() - ->assign($arg_team_id, $arg_channel_id, $arg_item_id, $arg_task_id, $arg_user_id); + ->assign($arg_team_id, $arg_channel_id, $arg_feature_id, $arg_task_id, $arg_user_id); var_export($response); } catch (\Kronup\Sdk\ApiException $apiExc) { diff --git a/examples/Api/TasksApi/create.php b/examples/Api/TasksApi/create.php index 5f0d3a4..812fe04 100644 --- a/examples/Api/TasksApi/create.php +++ b/examples/Api/TasksApi/create.php @@ -26,8 +26,8 @@ // Channel ID $arg_channel_id = "fff"; -// Value Item ID -$arg_item_id = "fff"; +// Feature ID +$arg_feature_id = "fff"; $arg_payload_task_create = (new \Kronup\Model\PayloadTaskCreate()) @@ -39,14 +39,14 @@ try { /** - * POST /teams/{teamId}/channels/{channelId}/items/{itemId}/tasks + * POST /teams/{teamId}/channels/{channelId}/features/{featureId}/tasks * * @var \Kronup\Model\TaskExpanded $response */ $response = $sdk ->api() ->tasks() - ->create($arg_team_id, $arg_channel_id, $arg_item_id, $arg_payload_task_create); + ->create($arg_team_id, $arg_channel_id, $arg_feature_id, $arg_payload_task_create); var_export($response); } catch (\Kronup\Sdk\ApiException $apiExc) { diff --git a/examples/Api/TasksApi/delete.php b/examples/Api/TasksApi/delete.php index 59625de..7562bea 100644 --- a/examples/Api/TasksApi/delete.php +++ b/examples/Api/TasksApi/delete.php @@ -26,22 +26,22 @@ // Channel ID $arg_channel_id = "fff"; -// Value item ID -$arg_item_id = "fff"; +// Feature ID +$arg_feature_id = "fff"; // Task ID $arg_task_id = "fff"; try { /** - * DELETE /teams/{teamId}/channels/{channelId}/items/{itemId}/tasks/{taskId} + * DELETE /teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId} * * @var bool $response */ $response = $sdk ->api() ->tasks() - ->delete($arg_team_id, $arg_channel_id, $arg_item_id, $arg_task_id); + ->delete($arg_team_id, $arg_channel_id, $arg_feature_id, $arg_task_id); var_export($response); } catch (\Kronup\Sdk\ApiException $apiExc) { diff --git a/examples/Api/TasksApi/discoveryCreate.php b/examples/Api/TasksApi/discoveryCreate.php index 1464e2e..2c70a6a 100644 --- a/examples/Api/TasksApi/discoveryCreate.php +++ b/examples/Api/TasksApi/discoveryCreate.php @@ -26,8 +26,8 @@ // Channel ID $arg_channel_id = "fff"; -// Value Item ID -$arg_item_id = "fff"; +// Feature ID +$arg_feature_id = "fff"; // Task ID $arg_task_id = "fff"; @@ -39,14 +39,14 @@ try { /** - * POST /teams/{teamId}/channels/{channelId}/items/{itemId}/tasks/{taskId}/discoveries + * POST /teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}/discoveries * * @var \Kronup\Model\MinuteDiscovery $response */ $response = $sdk ->api() ->tasks() - ->discoveryCreate($arg_team_id, $arg_channel_id, $arg_item_id, $arg_task_id, $arg_payload_task_discovery_create); + ->discoveryCreate($arg_team_id, $arg_channel_id, $arg_feature_id, $arg_task_id, $arg_payload_task_discovery_create); var_export($response); } catch (\Kronup\Sdk\ApiException $apiExc) { diff --git a/examples/Api/TasksApi/discoveryDelete.php b/examples/Api/TasksApi/discoveryDelete.php index 23240c0..c69266e 100644 --- a/examples/Api/TasksApi/discoveryDelete.php +++ b/examples/Api/TasksApi/discoveryDelete.php @@ -26,8 +26,8 @@ // Channel ID $arg_channel_id = "fff"; -// Value Item ID -$arg_item_id = "fff"; +// Feature ID +$arg_feature_id = "fff"; // Task ID $arg_task_id = "fff"; @@ -37,14 +37,14 @@ try { /** - * DELETE /teams/{teamId}/channels/{channelId}/items/{itemId}/tasks/{taskId}/discoveries/{discoveryId} + * DELETE /teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}/discoveries/{discoveryId} * * @var bool $response */ $response = $sdk ->api() ->tasks() - ->discoveryDelete($arg_team_id, $arg_channel_id, $arg_item_id, $arg_task_id, $arg_discovery_id); + ->discoveryDelete($arg_team_id, $arg_channel_id, $arg_feature_id, $arg_task_id, $arg_discovery_id); var_export($response); } catch (\Kronup\Sdk\ApiException $apiExc) { diff --git a/examples/Api/TasksApi/discoveryUpdate.php b/examples/Api/TasksApi/discoveryUpdate.php index 183e657..fd2ea3f 100644 --- a/examples/Api/TasksApi/discoveryUpdate.php +++ b/examples/Api/TasksApi/discoveryUpdate.php @@ -26,8 +26,8 @@ // Channel ID $arg_channel_id = "fff"; -// Value Item ID -$arg_item_id = "fff"; +// Feature ID +$arg_feature_id = "fff"; // Task ID $arg_task_id = "fff"; @@ -42,14 +42,14 @@ try { /** - * POST /teams/{teamId}/channels/{channelId}/items/{itemId}/tasks/{taskId}/discoveries/{discoveryId} + * POST /teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}/discoveries/{discoveryId} * * @var \Kronup\Model\MinuteDiscovery $response */ $response = $sdk ->api() ->tasks() - ->discoveryUpdate($arg_team_id, $arg_channel_id, $arg_item_id, $arg_task_id, $arg_discovery_id, $arg_payload_task_discovery_update); + ->discoveryUpdate($arg_team_id, $arg_channel_id, $arg_feature_id, $arg_task_id, $arg_discovery_id, $arg_payload_task_discovery_update); var_export($response); } catch (\Kronup\Sdk\ApiException $apiExc) { diff --git a/examples/Api/TasksApi/feedbackCreate.php b/examples/Api/TasksApi/feedbackCreate.php index 45e29e5..dd9464a 100644 --- a/examples/Api/TasksApi/feedbackCreate.php +++ b/examples/Api/TasksApi/feedbackCreate.php @@ -26,8 +26,8 @@ // Channel ID $arg_channel_id = "fff"; -// Value Item ID -$arg_item_id = "fff"; +// Feature ID +$arg_feature_id = "fff"; // Task ID $arg_task_id = "fff"; @@ -42,14 +42,14 @@ try { /** - * POST /teams/{teamId}/channels/{channelId}/items/{itemId}/tasks/{taskId}/feedback + * POST /teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}/feedback * * @var \Kronup\Model\MinuteFeedback $response */ $response = $sdk ->api() ->tasks() - ->feedbackCreate($arg_team_id, $arg_channel_id, $arg_item_id, $arg_task_id, $arg_payload_task_feedback_create); + ->feedbackCreate($arg_team_id, $arg_channel_id, $arg_feature_id, $arg_task_id, $arg_payload_task_feedback_create); var_export($response); } catch (\Kronup\Sdk\ApiException $apiExc) { diff --git a/examples/Api/TasksApi/feedbackDelete.php b/examples/Api/TasksApi/feedbackDelete.php index dabfebb..9e29887 100644 --- a/examples/Api/TasksApi/feedbackDelete.php +++ b/examples/Api/TasksApi/feedbackDelete.php @@ -26,8 +26,8 @@ // Channel ID $arg_channel_id = "fff"; -// Value Item ID -$arg_item_id = "fff"; +// Feature ID +$arg_feature_id = "fff"; // Task ID $arg_task_id = "fff"; @@ -37,14 +37,14 @@ try { /** - * DELETE /teams/{teamId}/channels/{channelId}/items/{itemId}/tasks/{taskId}/feedback/{feedbackId} + * DELETE /teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}/feedback/{feedbackId} * * @var bool $response */ $response = $sdk ->api() ->tasks() - ->feedbackDelete($arg_team_id, $arg_channel_id, $arg_item_id, $arg_task_id, $arg_feedback_id); + ->feedbackDelete($arg_team_id, $arg_channel_id, $arg_feature_id, $arg_task_id, $arg_feedback_id); var_export($response); } catch (\Kronup\Sdk\ApiException $apiExc) { diff --git a/examples/Api/TasksApi/feedbackReply.php b/examples/Api/TasksApi/feedbackReply.php index a21b7ff..583e6b0 100644 --- a/examples/Api/TasksApi/feedbackReply.php +++ b/examples/Api/TasksApi/feedbackReply.php @@ -26,8 +26,8 @@ // Channel ID $arg_channel_id = "fff"; -// Value Item ID -$arg_item_id = "fff"; +// Feature ID +$arg_feature_id = "fff"; // Task ID $arg_task_id = "fff"; @@ -42,14 +42,14 @@ try { /** - * POST /teams/{teamId}/channels/{channelId}/items/{itemId}/tasks/{taskId}/feedback/{feedbackId}/reply + * POST /teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}/feedback/{feedbackId}/reply * * @var \Kronup\Model\MinuteFeedback $response */ $response = $sdk ->api() ->tasks() - ->feedbackReply($arg_team_id, $arg_channel_id, $arg_item_id, $arg_task_id, $arg_feedback_id, $arg_payload_task_feedback_reply); + ->feedbackReply($arg_team_id, $arg_channel_id, $arg_feature_id, $arg_task_id, $arg_feedback_id, $arg_payload_task_feedback_reply); var_export($response); } catch (\Kronup\Sdk\ApiException $apiExc) { diff --git a/examples/Api/TasksApi/feedbackUpdate.php b/examples/Api/TasksApi/feedbackUpdate.php index 8095c3a..fed4267 100644 --- a/examples/Api/TasksApi/feedbackUpdate.php +++ b/examples/Api/TasksApi/feedbackUpdate.php @@ -26,8 +26,8 @@ // Channel ID $arg_channel_id = "fff"; -// Value Item ID -$arg_item_id = "fff"; +// Feature ID +$arg_feature_id = "fff"; // Task ID $arg_task_id = "fff"; @@ -45,14 +45,14 @@ try { /** - * POST /teams/{teamId}/channels/{channelId}/items/{itemId}/tasks/{taskId}/feedback/{feedbackId} + * POST /teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}/feedback/{feedbackId} * * @var \Kronup\Model\MinuteFeedback $response */ $response = $sdk ->api() ->tasks() - ->feedbackUpdate($arg_team_id, $arg_channel_id, $arg_item_id, $arg_task_id, $arg_feedback_id, $arg_payload_task_feedback_update); + ->feedbackUpdate($arg_team_id, $arg_channel_id, $arg_feature_id, $arg_task_id, $arg_feedback_id, $arg_payload_task_feedback_update); var_export($response); } catch (\Kronup\Sdk\ApiException $apiExc) { diff --git a/examples/Api/TasksApi/list.php b/examples/Api/TasksApi/list.php index 18f45bf..62b1e4e 100644 --- a/examples/Api/TasksApi/list.php +++ b/examples/Api/TasksApi/list.php @@ -26,8 +26,8 @@ // Channel ID $arg_channel_id = "fff"; -// Value Item ID -$arg_item_id = "fff"; +// Feature ID +$arg_feature_id = "fff"; $arg_page_number = 1; @@ -35,14 +35,14 @@ try { /** - * GET /teams/{teamId}/channels/{channelId}/items/{itemId}/tasks + * GET /teams/{teamId}/channels/{channelId}/features/{featureId}/tasks * * @var \Kronup\Model\TasksList $response */ $response = $sdk ->api() ->tasks() - ->list($arg_team_id, $arg_channel_id, $arg_item_id, $arg_page_number, $arg_page_size); + ->list($arg_team_id, $arg_channel_id, $arg_feature_id, $arg_page_number, $arg_page_size); var_export($response); } catch (\Kronup\Sdk\ApiException $apiExc) { diff --git a/examples/Api/TasksApi/listCandidates.php b/examples/Api/TasksApi/listCandidates.php index 057222e..9821790 100644 --- a/examples/Api/TasksApi/listCandidates.php +++ b/examples/Api/TasksApi/listCandidates.php @@ -26,22 +26,22 @@ // Channel ID $arg_channel_id = "fff"; -// Value item ID -$arg_item_id = "fff"; +// Feature ID +$arg_feature_id = "fff"; // Task ID $arg_task_id = "fff"; try { /** - * GET /teams/{teamId}/channels/{channelId}/items/{itemId}/tasks/{taskId}/candidates + * GET /teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}/candidates * * @var \Kronup\Model\TaskCandidatesList $response */ $response = $sdk ->api() ->tasks() - ->listCandidates($arg_team_id, $arg_channel_id, $arg_item_id, $arg_task_id); + ->listCandidates($arg_team_id, $arg_channel_id, $arg_feature_id, $arg_task_id); var_export($response); } catch (\Kronup\Sdk\ApiException $apiExc) { diff --git a/examples/Api/TasksApi/read.php b/examples/Api/TasksApi/read.php index dcdf4df..dd32f7a 100644 --- a/examples/Api/TasksApi/read.php +++ b/examples/Api/TasksApi/read.php @@ -26,22 +26,22 @@ // Channel ID $arg_channel_id = "fff"; -// Value item ID -$arg_item_id = "fff"; +// Feature ID +$arg_feature_id = "fff"; // Task ID $arg_task_id = "fff"; try { /** - * GET /teams/{teamId}/channels/{channelId}/items/{itemId}/tasks/{taskId} + * GET /teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId} * * @var \Kronup\Model\TaskExpanded $response */ $response = $sdk ->api() ->tasks() - ->read($arg_team_id, $arg_channel_id, $arg_item_id, $arg_task_id); + ->read($arg_team_id, $arg_channel_id, $arg_feature_id, $arg_task_id); var_export($response); } catch (\Kronup\Sdk\ApiException $apiExc) { diff --git a/examples/Api/TasksApi/update.php b/examples/Api/TasksApi/update.php index 8f84295..65e9284 100644 --- a/examples/Api/TasksApi/update.php +++ b/examples/Api/TasksApi/update.php @@ -26,8 +26,8 @@ // Channel ID $arg_channel_id = "fff"; -// Value item ID -$arg_item_id = "fff"; +// Feature ID +$arg_feature_id = "fff"; // Task ID $arg_task_id = "fff"; @@ -48,14 +48,14 @@ try { /** - * POST /teams/{teamId}/channels/{channelId}/items/{itemId}/tasks/{taskId} + * POST /teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId} * * @var \Kronup\Model\Task $response */ $response = $sdk ->api() ->tasks() - ->update($arg_team_id, $arg_channel_id, $arg_item_id, $arg_task_id, $arg_payload_task_update); + ->update($arg_team_id, $arg_channel_id, $arg_feature_id, $arg_task_id, $arg_payload_task_update); var_export($response); } catch (\Kronup\Sdk\ApiException $apiExc) { diff --git a/lib/Api/AssumptionsApi.php b/lib/Api/AssumptionsApi.php index 975c12d..cb98dcd 100644 --- a/lib/Api/AssumptionsApi.php +++ b/lib/Api/AssumptionsApi.php @@ -33,23 +33,23 @@ class AssumptionsApi extends AbstractApi { * * @param string $team_id Team ID * @param string $channel_id Channel ID - * @param string $item_id Value Item ID + * @param string $feature_id Feature ID * @param \Kronup\Model\PayloadAssmCreate $payload_assm_create * @throws \Kronup\Sdk\ApiException on non-2xx response * @throws \InvalidArgumentException * * @return \Kronup\Model\Assumption */ - public function create($team_id, $channel_id, $item_id, $payload_assm_create) { + public function create($team_id, $channel_id, $feature_id, $payload_assm_create) { $rHeaders = $this->_headerSelector->selectHeaders(["application/json"], ["application/json"]); // Path template - $rPath = "/teams/{teamId}/channels/{channelId}/items/{itemId}/assms"; + $rPath = "/teams/{teamId}/channels/{channelId}/features/{featureId}/assms"; /** @var \Kronup\Model\Assumption $result */ $result = $this->exec( S::createRequest( - $this->_sdk->config(), self::PKG, "POST", S::parse($rPath, ["teamId" => $team_id, "channelId" => $channel_id, "itemId" => $item_id]), $rPath, [], $rHeaders, [], $payload_assm_create + $this->_sdk->config(), self::PKG, "POST", S::parse($rPath, ["teamId" => $team_id, "channelId" => $channel_id, "featureId" => $feature_id]), $rPath, [], $rHeaders, [], $payload_assm_create ), "\Kronup\Model\Assumption" ); @@ -62,23 +62,23 @@ public function create($team_id, $channel_id, $item_id, $payload_assm_create) { * * @param string $team_id Team ID * @param string $channel_id Channel ID - * @param string $item_id Value item ID + * @param string $feature_id Feature ID * @param string $assm_id Assumption ID * @throws \Kronup\Sdk\ApiException on non-2xx response * @throws \InvalidArgumentException * * @return bool */ - public function delete($team_id, $channel_id, $item_id, $assm_id) { + public function delete($team_id, $channel_id, $feature_id, $assm_id) { $rHeaders = $this->_headerSelector->selectHeaders(["application/json"], []); // Path template - $rPath = "/teams/{teamId}/channels/{channelId}/items/{itemId}/assms/{assmId}"; + $rPath = "/teams/{teamId}/channels/{channelId}/features/{featureId}/assms/{assmId}"; /** @var bool $result */ $result = $this->exec( S::createRequest( - $this->_sdk->config(), self::PKG, "DELETE", S::parse($rPath, ["teamId" => $team_id, "channelId" => $channel_id, "itemId" => $item_id, "assmId" => $assm_id]), $rPath, [], $rHeaders, [] + $this->_sdk->config(), self::PKG, "DELETE", S::parse($rPath, ["teamId" => $team_id, "channelId" => $channel_id, "featureId" => $feature_id, "assmId" => $assm_id]), $rPath, [], $rHeaders, [] ), "bool" ); @@ -91,7 +91,7 @@ public function delete($team_id, $channel_id, $item_id, $assm_id) { * * @param string $team_id Team ID * @param string $channel_id Channel ID - * @param string $item_id Value item ID + * @param string $feature_id Feature ID * @param string $assm_id Assumption ID * @param \Kronup\Model\PayloadAssmExperiment $payload_assm_experiment * @throws \Kronup\Sdk\ApiException on non-2xx response @@ -99,16 +99,16 @@ public function delete($team_id, $channel_id, $item_id, $assm_id) { * * @return \Kronup\Model\Assumption */ - public function experiment($team_id, $channel_id, $item_id, $assm_id, $payload_assm_experiment) { + public function experiment($team_id, $channel_id, $feature_id, $assm_id, $payload_assm_experiment) { $rHeaders = $this->_headerSelector->selectHeaders(["application/json"], ["application/json"]); // Path template - $rPath = "/teams/{teamId}/channels/{channelId}/items/{itemId}/assms/{assmId}/exp"; + $rPath = "/teams/{teamId}/channels/{channelId}/features/{featureId}/assms/{assmId}/exp"; /** @var \Kronup\Model\Assumption $result */ $result = $this->exec( S::createRequest( - $this->_sdk->config(), self::PKG, "POST", S::parse($rPath, ["teamId" => $team_id, "channelId" => $channel_id, "itemId" => $item_id, "assmId" => $assm_id]), $rPath, [], $rHeaders, [], $payload_assm_experiment + $this->_sdk->config(), self::PKG, "POST", S::parse($rPath, ["teamId" => $team_id, "channelId" => $channel_id, "featureId" => $feature_id, "assmId" => $assm_id]), $rPath, [], $rHeaders, [], $payload_assm_experiment ), "\Kronup\Model\Assumption" ); @@ -121,7 +121,7 @@ public function experiment($team_id, $channel_id, $item_id, $assm_id, $payload_a * * @param string $team_id Team ID * @param string $channel_id Channel ID - * @param string $item_id Value Item ID + * @param string $feature_id Feature ID * @param int|1 $page_number * @param int|500 $page_size * @throws \Kronup\Sdk\ApiException on non-2xx response @@ -129,7 +129,7 @@ public function experiment($team_id, $channel_id, $item_id, $assm_id, $payload_a * * @return \Kronup\Model\AssumptionsList */ - public function list($team_id, $channel_id, $item_id, $page_number = 1, $page_size = 500) { + public function list($team_id, $channel_id, $feature_id, $page_number = 1, $page_size = 500) { if (isset($page_number) && $page_number < 1) { throw new IAE('Invalid value for "$page_number" when calling AssumptionsApi., must be bigger than or equal to 1.'); } @@ -145,12 +145,12 @@ public function list($team_id, $channel_id, $item_id, $page_number = 1, $page_si $rHeaders = $this->_headerSelector->selectHeaders(["application/json"], []); // Path template - $rPath = "/teams/{teamId}/channels/{channelId}/items/{itemId}/assms"; + $rPath = "/teams/{teamId}/channels/{channelId}/features/{featureId}/assms"; /** @var \Kronup\Model\AssumptionsList $result */ $result = $this->exec( S::createRequest( - $this->_sdk->config(), self::PKG, "GET", S::parse($rPath, ["teamId" => $team_id, "channelId" => $channel_id, "itemId" => $item_id]), $rPath, [ + $this->_sdk->config(), self::PKG, "GET", S::parse($rPath, ["teamId" => $team_id, "channelId" => $channel_id, "featureId" => $feature_id]), $rPath, [ "pageNumber" => S::toQueryValue($page_number), "pageSize" => S::toQueryValue($page_size), ], $rHeaders, [] @@ -166,7 +166,7 @@ public function list($team_id, $channel_id, $item_id, $page_number = 1, $page_si * * @param string $team_id Team ID * @param string $channel_id Channel ID - * @param string $item_id Value item ID + * @param string $feature_id Feature ID * @param string $assm_id Assumption ID * @param \Kronup\Model\PayloadAssmUpdate $payload_assm_update * @throws \Kronup\Sdk\ApiException on non-2xx response @@ -174,16 +174,16 @@ public function list($team_id, $channel_id, $item_id, $page_number = 1, $page_si * * @return \Kronup\Model\Assumption */ - public function update($team_id, $channel_id, $item_id, $assm_id, $payload_assm_update) { + public function update($team_id, $channel_id, $feature_id, $assm_id, $payload_assm_update) { $rHeaders = $this->_headerSelector->selectHeaders(["application/json"], ["application/json"]); // Path template - $rPath = "/teams/{teamId}/channels/{channelId}/items/{itemId}/assms/{assmId}"; + $rPath = "/teams/{teamId}/channels/{channelId}/features/{featureId}/assms/{assmId}"; /** @var \Kronup\Model\Assumption $result */ $result = $this->exec( S::createRequest( - $this->_sdk->config(), self::PKG, "POST", S::parse($rPath, ["teamId" => $team_id, "channelId" => $channel_id, "itemId" => $item_id, "assmId" => $assm_id]), $rPath, [], $rHeaders, [], $payload_assm_update + $this->_sdk->config(), self::PKG, "POST", S::parse($rPath, ["teamId" => $team_id, "channelId" => $channel_id, "featureId" => $feature_id, "assmId" => $assm_id]), $rPath, [], $rHeaders, [], $payload_assm_update ), "\Kronup\Model\Assumption" ); diff --git a/lib/Api/DeepContextApi.php b/lib/Api/DeepContextApi.php index 12c40fc..c04610f 100644 --- a/lib/Api/DeepContextApi.php +++ b/lib/Api/DeepContextApi.php @@ -29,24 +29,24 @@ class DeepContextApi extends AbstractApi { const PKG = "Deep Context"; /** - * Delete value item + * Delete feature * - * @param string $item_id Value item ID + * @param string $feature_id Feature ID * @throws \Kronup\Sdk\ApiException on non-2xx response * @throws \InvalidArgumentException * * @return bool */ - public function delete($item_id) { + public function delete($feature_id) { $rHeaders = $this->_headerSelector->selectHeaders(["application/json"], []); // Path template - $rPath = "/deep-context/{itemId}"; + $rPath = "/deep-context/{featureId}"; /** @var bool $result */ $result = $this->exec( S::createRequest( - $this->_sdk->config(), self::PKG, "DELETE", S::parse($rPath, ["itemId" => $item_id]), $rPath, [], $rHeaders, [] + $this->_sdk->config(), self::PKG, "DELETE", S::parse($rPath, ["featureId" => $feature_id]), $rPath, [], $rHeaders, [] ), "bool" ); @@ -55,33 +55,33 @@ public function delete($item_id) { } /** - * Fetch expanded value item + * Fetch expanded feature * - * @param string $item_id Value item ID + * @param string $feature_id Feature ID * @throws \Kronup\Sdk\ApiException on non-2xx response * @throws \InvalidArgumentException * - * @return \Kronup\Model\ValueItemExpanded + * @return \Kronup\Model\FeatureExpanded */ - public function read($item_id) { + public function read($feature_id) { $rHeaders = $this->_headerSelector->selectHeaders(["application/json"], []); // Path template - $rPath = "/deep-context/{itemId}"; + $rPath = "/deep-context/{featureId}"; - /** @var \Kronup\Model\ValueItemExpanded $result */ + /** @var \Kronup\Model\FeatureExpanded $result */ $result = $this->exec( S::createRequest( - $this->_sdk->config(), self::PKG, "GET", S::parse($rPath, ["itemId" => $item_id]), $rPath, [], $rHeaders, [] + $this->_sdk->config(), self::PKG, "GET", S::parse($rPath, ["featureId" => $feature_id]), $rPath, [], $rHeaders, [] ), - "\Kronup\Model\ValueItemExpanded" + "\Kronup\Model\FeatureExpanded" ); return $result; } /** - * Search value items + * Search features * * @param string|null $search_term Search term * @param int|1 $page_number diff --git a/lib/Api/ValueItemsApi.php b/lib/Api/FeaturesApi.php similarity index 63% rename from lib/Api/ValueItemsApi.php rename to lib/Api/FeaturesApi.php index c140bb1..c430338 100644 --- a/lib/Api/ValueItemsApi.php +++ b/lib/Api/FeaturesApi.php @@ -1,7 +1,7 @@ _headerSelector->selectHeaders(["application/json"], []); // Path template - $rPath = "/teams/{teamId}/channels/{channelId}/items/{itemId}"; + $rPath = "/teams/{teamId}/channels/{channelId}/features/{featureId}"; - /** @var \Kronup\Model\ValueItem $result */ + /** @var \Kronup\Model\Feature $result */ $result = $this->exec( S::createRequest( - $this->_sdk->config(), self::PKG, "PUT", S::parse($rPath, ["teamId" => $team_id, "channelId" => $channel_id, "itemId" => $item_id]), $rPath, [], $rHeaders, [] + $this->_sdk->config(), self::PKG, "PUT", S::parse($rPath, ["teamId" => $team_id, "channelId" => $channel_id, "featureId" => $feature_id]), $rPath, [], $rHeaders, [] ), - "\Kronup\Model\ValueItem" + "\Kronup\Model\Feature" ); return $result; } /** - * Create value item + * Create feature * * @param string $team_id Team ID * @param string $channel_id Channel ID - * @param \Kronup\Model\PayloadValueItemCreate $payload_value_item_create + * @param \Kronup\Model\PayloadFeatureCreate $payload_feature_create * @throws \Kronup\Sdk\ApiException on non-2xx response * @throws \InvalidArgumentException * - * @return \Kronup\Model\ValueItem + * @return \Kronup\Model\Feature */ - public function create($team_id, $channel_id, $payload_value_item_create) { + public function create($team_id, $channel_id, $payload_feature_create) { $rHeaders = $this->_headerSelector->selectHeaders(["application/json"], ["application/json"]); // Path template - $rPath = "/teams/{teamId}/channels/{channelId}/items"; + $rPath = "/teams/{teamId}/channels/{channelId}/features"; - /** @var \Kronup\Model\ValueItem $result */ + /** @var \Kronup\Model\Feature $result */ $result = $this->exec( S::createRequest( - $this->_sdk->config(), self::PKG, "POST", S::parse($rPath, ["teamId" => $team_id, "channelId" => $channel_id]), $rPath, [], $rHeaders, [], $payload_value_item_create + $this->_sdk->config(), self::PKG, "POST", S::parse($rPath, ["teamId" => $team_id, "channelId" => $channel_id]), $rPath, [], $rHeaders, [], $payload_feature_create ), - "\Kronup\Model\ValueItem" + "\Kronup\Model\Feature" ); return $result; } /** - * Delete value item + * Delete feature * * @param string $team_id Team ID * @param string $channel_id Channel ID - * @param string $item_id Value item ID + * @param string $feature_id Feature ID * @throws \Kronup\Sdk\ApiException on non-2xx response * @throws \InvalidArgumentException * * @return bool */ - public function delete($team_id, $channel_id, $item_id) { + public function delete($team_id, $channel_id, $feature_id) { $rHeaders = $this->_headerSelector->selectHeaders(["application/json"], []); // Path template - $rPath = "/teams/{teamId}/channels/{channelId}/items/{itemId}"; + $rPath = "/teams/{teamId}/channels/{channelId}/features/{featureId}"; /** @var bool $result */ $result = $this->exec( S::createRequest( - $this->_sdk->config(), self::PKG, "DELETE", S::parse($rPath, ["teamId" => $team_id, "channelId" => $channel_id, "itemId" => $item_id]), $rPath, [], $rHeaders, [] + $this->_sdk->config(), self::PKG, "DELETE", S::parse($rPath, ["teamId" => $team_id, "channelId" => $channel_id, "featureId" => $feature_id]), $rPath, [], $rHeaders, [] ), "bool" ); @@ -113,37 +113,37 @@ public function delete($team_id, $channel_id, $item_id) { } /** - * List value items + * List features * * @param string $team_id Team ID * @param string $channel_id Channel ID - * @param string|null $stage Value item stage + * @param string|null $stage Feature stage * @param int|1 $page_number * @param int|500 $page_size * @throws \Kronup\Sdk\ApiException on non-2xx response * @throws \InvalidArgumentException * - * @return \Kronup\Model\ValueItemsList + * @return \Kronup\Model\FeaturesList */ public function list($team_id, $channel_id, $stage = null, $page_number = 1, $page_size = 500) { if (isset($page_number) && $page_number < 1) { - throw new IAE('Invalid value for "$page_number" when calling ValueItemsApi., must be bigger than or equal to 1.'); + throw new IAE('Invalid value for "$page_number" when calling FeaturesApi., must be bigger than or equal to 1.'); } if (isset($page_size) && $page_size > 1500) { - throw new IAE('Invalid value for "$page_size" when calling ValueItemsApi., must be smaller than or equal to 1500'); + throw new IAE('Invalid value for "$page_size" when calling FeaturesApi., must be smaller than or equal to 1500'); } if (isset($page_size) && $page_size < 1) { - throw new IAE('Invalid value for "$page_size" when calling ValueItemsApi., must be bigger than or equal to 1.'); + throw new IAE('Invalid value for "$page_size" when calling FeaturesApi., must be bigger than or equal to 1.'); } $rHeaders = $this->_headerSelector->selectHeaders(["application/json"], []); // Path template - $rPath = "/teams/{teamId}/channels/{channelId}/items"; + $rPath = "/teams/{teamId}/channels/{channelId}/features"; - /** @var \Kronup\Model\ValueItemsList $result */ + /** @var \Kronup\Model\FeaturesList $result */ $result = $this->exec( S::createRequest( $this->_sdk->config(), self::PKG, "GET", S::parse($rPath, ["teamId" => $team_id, "channelId" => $channel_id]), $rPath, [ @@ -152,64 +152,64 @@ public function list($team_id, $channel_id, $stage = null, $page_number = 1, $pa "pageSize" => S::toQueryValue($page_size), ], $rHeaders, [] ), - "\Kronup\Model\ValueItemsList" + "\Kronup\Model\FeaturesList" ); return $result; } /** - * Fetch value item + * Fetch feature * * @param string $team_id Team ID * @param string $channel_id Channel ID - * @param string $item_id Value item ID + * @param string $feature_id Feature ID * @throws \Kronup\Sdk\ApiException on non-2xx response * @throws \InvalidArgumentException * - * @return \Kronup\Model\ValueItem + * @return \Kronup\Model\Feature */ - public function read($team_id, $channel_id, $item_id) { + public function read($team_id, $channel_id, $feature_id) { $rHeaders = $this->_headerSelector->selectHeaders(["application/json"], []); // Path template - $rPath = "/teams/{teamId}/channels/{channelId}/items/{itemId}"; + $rPath = "/teams/{teamId}/channels/{channelId}/features/{featureId}"; - /** @var \Kronup\Model\ValueItem $result */ + /** @var \Kronup\Model\Feature $result */ $result = $this->exec( S::createRequest( - $this->_sdk->config(), self::PKG, "GET", S::parse($rPath, ["teamId" => $team_id, "channelId" => $channel_id, "itemId" => $item_id]), $rPath, [], $rHeaders, [] + $this->_sdk->config(), self::PKG, "GET", S::parse($rPath, ["teamId" => $team_id, "channelId" => $channel_id, "featureId" => $feature_id]), $rPath, [], $rHeaders, [] ), - "\Kronup\Model\ValueItem" + "\Kronup\Model\Feature" ); return $result; } /** - * Update value item + * Update feature * * @param string $team_id Team ID * @param string $channel_id Channel ID - * @param string $item_id Value item ID - * @param \Kronup\Model\PayloadValueItemUpdate $payload_value_item_update + * @param string $feature_id Feature ID + * @param \Kronup\Model\PayloadFeatureUpdate $payload_feature_update * @throws \Kronup\Sdk\ApiException on non-2xx response * @throws \InvalidArgumentException * - * @return \Kronup\Model\ValueItem + * @return \Kronup\Model\Feature */ - public function update($team_id, $channel_id, $item_id, $payload_value_item_update) { + public function update($team_id, $channel_id, $feature_id, $payload_feature_update) { $rHeaders = $this->_headerSelector->selectHeaders(["application/json"], ["application/json"]); // Path template - $rPath = "/teams/{teamId}/channels/{channelId}/items/{itemId}"; + $rPath = "/teams/{teamId}/channels/{channelId}/features/{featureId}"; - /** @var \Kronup\Model\ValueItem $result */ + /** @var \Kronup\Model\Feature $result */ $result = $this->exec( S::createRequest( - $this->_sdk->config(), self::PKG, "POST", S::parse($rPath, ["teamId" => $team_id, "channelId" => $channel_id, "itemId" => $item_id]), $rPath, [], $rHeaders, [], $payload_value_item_update + $this->_sdk->config(), self::PKG, "POST", S::parse($rPath, ["teamId" => $team_id, "channelId" => $channel_id, "featureId" => $feature_id]), $rPath, [], $rHeaders, [], $payload_feature_update ), - "\Kronup\Model\ValueItem" + "\Kronup\Model\Feature" ); return $result; diff --git a/lib/Api/TasksApi.php b/lib/Api/TasksApi.php index fa29ef5..4f9a28e 100644 --- a/lib/Api/TasksApi.php +++ b/lib/Api/TasksApi.php @@ -33,7 +33,7 @@ class TasksApi extends AbstractApi { * * @param string $team_id Team ID * @param string $channel_id Channel ID - * @param string $item_id Value item ID + * @param string $feature_id Feature ID * @param string $task_id Task ID * @param string $user_id User ID * @throws \Kronup\Sdk\ApiException on non-2xx response @@ -41,16 +41,16 @@ class TasksApi extends AbstractApi { * * @return \Kronup\Model\Task */ - public function assign($team_id, $channel_id, $item_id, $task_id, $user_id) { + public function assign($team_id, $channel_id, $feature_id, $task_id, $user_id) { $rHeaders = $this->_headerSelector->selectHeaders(["application/json"], []); // Path template - $rPath = "/teams/{teamId}/channels/{channelId}/items/{itemId}/tasks/{taskId}/users/{userId}"; + $rPath = "/teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}/users/{userId}"; /** @var \Kronup\Model\Task $result */ $result = $this->exec( S::createRequest( - $this->_sdk->config(), self::PKG, "PUT", S::parse($rPath, ["teamId" => $team_id, "channelId" => $channel_id, "itemId" => $item_id, "taskId" => $task_id, "userId" => $user_id]), $rPath, [], $rHeaders, [] + $this->_sdk->config(), self::PKG, "PUT", S::parse($rPath, ["teamId" => $team_id, "channelId" => $channel_id, "featureId" => $feature_id, "taskId" => $task_id, "userId" => $user_id]), $rPath, [], $rHeaders, [] ), "\Kronup\Model\Task" ); @@ -63,23 +63,23 @@ public function assign($team_id, $channel_id, $item_id, $task_id, $user_id) { * * @param string $team_id Team ID * @param string $channel_id Channel ID - * @param string $item_id Value Item ID + * @param string $feature_id Feature ID * @param \Kronup\Model\PayloadTaskCreate $payload_task_create * @throws \Kronup\Sdk\ApiException on non-2xx response * @throws \InvalidArgumentException * * @return \Kronup\Model\TaskExpanded */ - public function create($team_id, $channel_id, $item_id, $payload_task_create) { + public function create($team_id, $channel_id, $feature_id, $payload_task_create) { $rHeaders = $this->_headerSelector->selectHeaders(["application/json"], ["application/json"]); // Path template - $rPath = "/teams/{teamId}/channels/{channelId}/items/{itemId}/tasks"; + $rPath = "/teams/{teamId}/channels/{channelId}/features/{featureId}/tasks"; /** @var \Kronup\Model\TaskExpanded $result */ $result = $this->exec( S::createRequest( - $this->_sdk->config(), self::PKG, "POST", S::parse($rPath, ["teamId" => $team_id, "channelId" => $channel_id, "itemId" => $item_id]), $rPath, [], $rHeaders, [], $payload_task_create + $this->_sdk->config(), self::PKG, "POST", S::parse($rPath, ["teamId" => $team_id, "channelId" => $channel_id, "featureId" => $feature_id]), $rPath, [], $rHeaders, [], $payload_task_create ), "\Kronup\Model\TaskExpanded" ); @@ -92,23 +92,23 @@ public function create($team_id, $channel_id, $item_id, $payload_task_create) { * * @param string $team_id Team ID * @param string $channel_id Channel ID - * @param string $item_id Value item ID + * @param string $feature_id Feature ID * @param string $task_id Task ID * @throws \Kronup\Sdk\ApiException on non-2xx response * @throws \InvalidArgumentException * * @return bool */ - public function delete($team_id, $channel_id, $item_id, $task_id) { + public function delete($team_id, $channel_id, $feature_id, $task_id) { $rHeaders = $this->_headerSelector->selectHeaders(["application/json"], []); // Path template - $rPath = "/teams/{teamId}/channels/{channelId}/items/{itemId}/tasks/{taskId}"; + $rPath = "/teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}"; /** @var bool $result */ $result = $this->exec( S::createRequest( - $this->_sdk->config(), self::PKG, "DELETE", S::parse($rPath, ["teamId" => $team_id, "channelId" => $channel_id, "itemId" => $item_id, "taskId" => $task_id]), $rPath, [], $rHeaders, [] + $this->_sdk->config(), self::PKG, "DELETE", S::parse($rPath, ["teamId" => $team_id, "channelId" => $channel_id, "featureId" => $feature_id, "taskId" => $task_id]), $rPath, [], $rHeaders, [] ), "bool" ); @@ -121,7 +121,7 @@ public function delete($team_id, $channel_id, $item_id, $task_id) { * * @param string $team_id Team ID * @param string $channel_id Channel ID - * @param string $item_id Value Item ID + * @param string $feature_id Feature ID * @param string $task_id Task ID * @param \Kronup\Model\PayloadTaskDiscoveryCreate $payload_task_discovery_create * @throws \Kronup\Sdk\ApiException on non-2xx response @@ -129,16 +129,16 @@ public function delete($team_id, $channel_id, $item_id, $task_id) { * * @return \Kronup\Model\MinuteDiscovery */ - public function discoveryCreate($team_id, $channel_id, $item_id, $task_id, $payload_task_discovery_create) { + public function discoveryCreate($team_id, $channel_id, $feature_id, $task_id, $payload_task_discovery_create) { $rHeaders = $this->_headerSelector->selectHeaders(["application/json"], ["application/json"]); // Path template - $rPath = "/teams/{teamId}/channels/{channelId}/items/{itemId}/tasks/{taskId}/discoveries"; + $rPath = "/teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}/discoveries"; /** @var \Kronup\Model\MinuteDiscovery $result */ $result = $this->exec( S::createRequest( - $this->_sdk->config(), self::PKG, "POST", S::parse($rPath, ["teamId" => $team_id, "channelId" => $channel_id, "itemId" => $item_id, "taskId" => $task_id]), $rPath, [], $rHeaders, [], $payload_task_discovery_create + $this->_sdk->config(), self::PKG, "POST", S::parse($rPath, ["teamId" => $team_id, "channelId" => $channel_id, "featureId" => $feature_id, "taskId" => $task_id]), $rPath, [], $rHeaders, [], $payload_task_discovery_create ), "\Kronup\Model\MinuteDiscovery" ); @@ -151,7 +151,7 @@ public function discoveryCreate($team_id, $channel_id, $item_id, $task_id, $payl * * @param string $team_id Team ID * @param string $channel_id Channel ID - * @param string $item_id Value Item ID + * @param string $feature_id Feature ID * @param string $task_id Task ID * @param string $discovery_id Discovery ID * @throws \Kronup\Sdk\ApiException on non-2xx response @@ -159,16 +159,16 @@ public function discoveryCreate($team_id, $channel_id, $item_id, $task_id, $payl * * @return bool */ - public function discoveryDelete($team_id, $channel_id, $item_id, $task_id, $discovery_id) { + public function discoveryDelete($team_id, $channel_id, $feature_id, $task_id, $discovery_id) { $rHeaders = $this->_headerSelector->selectHeaders(["application/json"], []); // Path template - $rPath = "/teams/{teamId}/channels/{channelId}/items/{itemId}/tasks/{taskId}/discoveries/{discoveryId}"; + $rPath = "/teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}/discoveries/{discoveryId}"; /** @var bool $result */ $result = $this->exec( S::createRequest( - $this->_sdk->config(), self::PKG, "DELETE", S::parse($rPath, ["teamId" => $team_id, "channelId" => $channel_id, "itemId" => $item_id, "taskId" => $task_id, "discoveryId" => $discovery_id]), $rPath, [], $rHeaders, [] + $this->_sdk->config(), self::PKG, "DELETE", S::parse($rPath, ["teamId" => $team_id, "channelId" => $channel_id, "featureId" => $feature_id, "taskId" => $task_id, "discoveryId" => $discovery_id]), $rPath, [], $rHeaders, [] ), "bool" ); @@ -181,7 +181,7 @@ public function discoveryDelete($team_id, $channel_id, $item_id, $task_id, $disc * * @param string $team_id Team ID * @param string $channel_id Channel ID - * @param string $item_id Value Item ID + * @param string $feature_id Feature ID * @param string $task_id Task ID * @param string $discovery_id Discovery ID * @param \Kronup\Model\PayloadTaskDiscoveryUpdate $payload_task_discovery_update @@ -190,16 +190,16 @@ public function discoveryDelete($team_id, $channel_id, $item_id, $task_id, $disc * * @return \Kronup\Model\MinuteDiscovery */ - public function discoveryUpdate($team_id, $channel_id, $item_id, $task_id, $discovery_id, $payload_task_discovery_update) { + public function discoveryUpdate($team_id, $channel_id, $feature_id, $task_id, $discovery_id, $payload_task_discovery_update) { $rHeaders = $this->_headerSelector->selectHeaders(["application/json"], ["application/json"]); // Path template - $rPath = "/teams/{teamId}/channels/{channelId}/items/{itemId}/tasks/{taskId}/discoveries/{discoveryId}"; + $rPath = "/teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}/discoveries/{discoveryId}"; /** @var \Kronup\Model\MinuteDiscovery $result */ $result = $this->exec( S::createRequest( - $this->_sdk->config(), self::PKG, "POST", S::parse($rPath, ["teamId" => $team_id, "channelId" => $channel_id, "itemId" => $item_id, "taskId" => $task_id, "discoveryId" => $discovery_id]), $rPath, [], $rHeaders, [], $payload_task_discovery_update + $this->_sdk->config(), self::PKG, "POST", S::parse($rPath, ["teamId" => $team_id, "channelId" => $channel_id, "featureId" => $feature_id, "taskId" => $task_id, "discoveryId" => $discovery_id]), $rPath, [], $rHeaders, [], $payload_task_discovery_update ), "\Kronup\Model\MinuteDiscovery" ); @@ -212,7 +212,7 @@ public function discoveryUpdate($team_id, $channel_id, $item_id, $task_id, $disc * * @param string $team_id Team ID * @param string $channel_id Channel ID - * @param string $item_id Value Item ID + * @param string $feature_id Feature ID * @param string $task_id Task ID * @param \Kronup\Model\PayloadTaskFeedbackCreate $payload_task_feedback_create * @throws \Kronup\Sdk\ApiException on non-2xx response @@ -220,16 +220,16 @@ public function discoveryUpdate($team_id, $channel_id, $item_id, $task_id, $disc * * @return \Kronup\Model\MinuteFeedback */ - public function feedbackCreate($team_id, $channel_id, $item_id, $task_id, $payload_task_feedback_create) { + public function feedbackCreate($team_id, $channel_id, $feature_id, $task_id, $payload_task_feedback_create) { $rHeaders = $this->_headerSelector->selectHeaders(["application/json"], ["application/json"]); // Path template - $rPath = "/teams/{teamId}/channels/{channelId}/items/{itemId}/tasks/{taskId}/feedback"; + $rPath = "/teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}/feedback"; /** @var \Kronup\Model\MinuteFeedback $result */ $result = $this->exec( S::createRequest( - $this->_sdk->config(), self::PKG, "POST", S::parse($rPath, ["teamId" => $team_id, "channelId" => $channel_id, "itemId" => $item_id, "taskId" => $task_id]), $rPath, [], $rHeaders, [], $payload_task_feedback_create + $this->_sdk->config(), self::PKG, "POST", S::parse($rPath, ["teamId" => $team_id, "channelId" => $channel_id, "featureId" => $feature_id, "taskId" => $task_id]), $rPath, [], $rHeaders, [], $payload_task_feedback_create ), "\Kronup\Model\MinuteFeedback" ); @@ -242,7 +242,7 @@ public function feedbackCreate($team_id, $channel_id, $item_id, $task_id, $paylo * * @param string $team_id Team ID * @param string $channel_id Channel ID - * @param string $item_id Value Item ID + * @param string $feature_id Feature ID * @param string $task_id Task ID * @param string $feedback_id Feedback ID * @throws \Kronup\Sdk\ApiException on non-2xx response @@ -250,16 +250,16 @@ public function feedbackCreate($team_id, $channel_id, $item_id, $task_id, $paylo * * @return bool */ - public function feedbackDelete($team_id, $channel_id, $item_id, $task_id, $feedback_id) { + public function feedbackDelete($team_id, $channel_id, $feature_id, $task_id, $feedback_id) { $rHeaders = $this->_headerSelector->selectHeaders(["application/json"], []); // Path template - $rPath = "/teams/{teamId}/channels/{channelId}/items/{itemId}/tasks/{taskId}/feedback/{feedbackId}"; + $rPath = "/teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}/feedback/{feedbackId}"; /** @var bool $result */ $result = $this->exec( S::createRequest( - $this->_sdk->config(), self::PKG, "DELETE", S::parse($rPath, ["teamId" => $team_id, "channelId" => $channel_id, "itemId" => $item_id, "taskId" => $task_id, "feedbackId" => $feedback_id]), $rPath, [], $rHeaders, [] + $this->_sdk->config(), self::PKG, "DELETE", S::parse($rPath, ["teamId" => $team_id, "channelId" => $channel_id, "featureId" => $feature_id, "taskId" => $task_id, "feedbackId" => $feedback_id]), $rPath, [], $rHeaders, [] ), "bool" ); @@ -272,7 +272,7 @@ public function feedbackDelete($team_id, $channel_id, $item_id, $task_id, $feedb * * @param string $team_id Team ID * @param string $channel_id Channel ID - * @param string $item_id Value Item ID + * @param string $feature_id Feature ID * @param string $task_id Task ID * @param string $feedback_id Feedback ID * @param \Kronup\Model\PayloadTaskFeedbackReply $payload_task_feedback_reply @@ -281,16 +281,16 @@ public function feedbackDelete($team_id, $channel_id, $item_id, $task_id, $feedb * * @return \Kronup\Model\MinuteFeedback */ - public function feedbackReply($team_id, $channel_id, $item_id, $task_id, $feedback_id, $payload_task_feedback_reply) { + public function feedbackReply($team_id, $channel_id, $feature_id, $task_id, $feedback_id, $payload_task_feedback_reply) { $rHeaders = $this->_headerSelector->selectHeaders(["application/json"], ["application/json"]); // Path template - $rPath = "/teams/{teamId}/channels/{channelId}/items/{itemId}/tasks/{taskId}/feedback/{feedbackId}/reply"; + $rPath = "/teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}/feedback/{feedbackId}/reply"; /** @var \Kronup\Model\MinuteFeedback $result */ $result = $this->exec( S::createRequest( - $this->_sdk->config(), self::PKG, "POST", S::parse($rPath, ["teamId" => $team_id, "channelId" => $channel_id, "itemId" => $item_id, "taskId" => $task_id, "feedbackId" => $feedback_id]), $rPath, [], $rHeaders, [], $payload_task_feedback_reply + $this->_sdk->config(), self::PKG, "POST", S::parse($rPath, ["teamId" => $team_id, "channelId" => $channel_id, "featureId" => $feature_id, "taskId" => $task_id, "feedbackId" => $feedback_id]), $rPath, [], $rHeaders, [], $payload_task_feedback_reply ), "\Kronup\Model\MinuteFeedback" ); @@ -303,7 +303,7 @@ public function feedbackReply($team_id, $channel_id, $item_id, $task_id, $feedba * * @param string $team_id Team ID * @param string $channel_id Channel ID - * @param string $item_id Value Item ID + * @param string $feature_id Feature ID * @param string $task_id Task ID * @param string $feedback_id Feedback ID * @param \Kronup\Model\PayloadTaskFeedbackUpdate $payload_task_feedback_update @@ -312,16 +312,16 @@ public function feedbackReply($team_id, $channel_id, $item_id, $task_id, $feedba * * @return \Kronup\Model\MinuteFeedback */ - public function feedbackUpdate($team_id, $channel_id, $item_id, $task_id, $feedback_id, $payload_task_feedback_update) { + public function feedbackUpdate($team_id, $channel_id, $feature_id, $task_id, $feedback_id, $payload_task_feedback_update) { $rHeaders = $this->_headerSelector->selectHeaders(["application/json"], ["application/json"]); // Path template - $rPath = "/teams/{teamId}/channels/{channelId}/items/{itemId}/tasks/{taskId}/feedback/{feedbackId}"; + $rPath = "/teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}/feedback/{feedbackId}"; /** @var \Kronup\Model\MinuteFeedback $result */ $result = $this->exec( S::createRequest( - $this->_sdk->config(), self::PKG, "POST", S::parse($rPath, ["teamId" => $team_id, "channelId" => $channel_id, "itemId" => $item_id, "taskId" => $task_id, "feedbackId" => $feedback_id]), $rPath, [], $rHeaders, [], $payload_task_feedback_update + $this->_sdk->config(), self::PKG, "POST", S::parse($rPath, ["teamId" => $team_id, "channelId" => $channel_id, "featureId" => $feature_id, "taskId" => $task_id, "feedbackId" => $feedback_id]), $rPath, [], $rHeaders, [], $payload_task_feedback_update ), "\Kronup\Model\MinuteFeedback" ); @@ -334,7 +334,7 @@ public function feedbackUpdate($team_id, $channel_id, $item_id, $task_id, $feedb * * @param string $team_id Team ID * @param string $channel_id Channel ID - * @param string $item_id Value Item ID + * @param string $feature_id Feature ID * @param int|1 $page_number * @param int|500 $page_size * @throws \Kronup\Sdk\ApiException on non-2xx response @@ -342,7 +342,7 @@ public function feedbackUpdate($team_id, $channel_id, $item_id, $task_id, $feedb * * @return \Kronup\Model\TasksList */ - public function list($team_id, $channel_id, $item_id, $page_number = 1, $page_size = 500) { + public function list($team_id, $channel_id, $feature_id, $page_number = 1, $page_size = 500) { if (isset($page_number) && $page_number < 1) { throw new IAE('Invalid value for "$page_number" when calling TasksApi., must be bigger than or equal to 1.'); } @@ -358,12 +358,12 @@ public function list($team_id, $channel_id, $item_id, $page_number = 1, $page_si $rHeaders = $this->_headerSelector->selectHeaders(["application/json"], []); // Path template - $rPath = "/teams/{teamId}/channels/{channelId}/items/{itemId}/tasks"; + $rPath = "/teams/{teamId}/channels/{channelId}/features/{featureId}/tasks"; /** @var \Kronup\Model\TasksList $result */ $result = $this->exec( S::createRequest( - $this->_sdk->config(), self::PKG, "GET", S::parse($rPath, ["teamId" => $team_id, "channelId" => $channel_id, "itemId" => $item_id]), $rPath, [ + $this->_sdk->config(), self::PKG, "GET", S::parse($rPath, ["teamId" => $team_id, "channelId" => $channel_id, "featureId" => $feature_id]), $rPath, [ "pageNumber" => S::toQueryValue($page_number), "pageSize" => S::toQueryValue($page_size), ], $rHeaders, [] @@ -379,23 +379,23 @@ public function list($team_id, $channel_id, $item_id, $page_number = 1, $page_si * * @param string $team_id Team ID * @param string $channel_id Channel ID - * @param string $item_id Value item ID + * @param string $feature_id Feature ID * @param string $task_id Task ID * @throws \Kronup\Sdk\ApiException on non-2xx response * @throws \InvalidArgumentException * * @return \Kronup\Model\TaskCandidatesList */ - public function listCandidates($team_id, $channel_id, $item_id, $task_id) { + public function listCandidates($team_id, $channel_id, $feature_id, $task_id) { $rHeaders = $this->_headerSelector->selectHeaders(["application/json"], []); // Path template - $rPath = "/teams/{teamId}/channels/{channelId}/items/{itemId}/tasks/{taskId}/candidates"; + $rPath = "/teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}/candidates"; /** @var \Kronup\Model\TaskCandidatesList $result */ $result = $this->exec( S::createRequest( - $this->_sdk->config(), self::PKG, "GET", S::parse($rPath, ["teamId" => $team_id, "channelId" => $channel_id, "itemId" => $item_id, "taskId" => $task_id]), $rPath, [], $rHeaders, [] + $this->_sdk->config(), self::PKG, "GET", S::parse($rPath, ["teamId" => $team_id, "channelId" => $channel_id, "featureId" => $feature_id, "taskId" => $task_id]), $rPath, [], $rHeaders, [] ), "\Kronup\Model\TaskCandidatesList" ); @@ -408,23 +408,23 @@ public function listCandidates($team_id, $channel_id, $item_id, $task_id) { * * @param string $team_id Team ID * @param string $channel_id Channel ID - * @param string $item_id Value item ID + * @param string $feature_id Feature ID * @param string $task_id Task ID * @throws \Kronup\Sdk\ApiException on non-2xx response * @throws \InvalidArgumentException * * @return \Kronup\Model\TaskExpanded */ - public function read($team_id, $channel_id, $item_id, $task_id) { + public function read($team_id, $channel_id, $feature_id, $task_id) { $rHeaders = $this->_headerSelector->selectHeaders(["application/json"], []); // Path template - $rPath = "/teams/{teamId}/channels/{channelId}/items/{itemId}/tasks/{taskId}"; + $rPath = "/teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}"; /** @var \Kronup\Model\TaskExpanded $result */ $result = $this->exec( S::createRequest( - $this->_sdk->config(), self::PKG, "GET", S::parse($rPath, ["teamId" => $team_id, "channelId" => $channel_id, "itemId" => $item_id, "taskId" => $task_id]), $rPath, [], $rHeaders, [] + $this->_sdk->config(), self::PKG, "GET", S::parse($rPath, ["teamId" => $team_id, "channelId" => $channel_id, "featureId" => $feature_id, "taskId" => $task_id]), $rPath, [], $rHeaders, [] ), "\Kronup\Model\TaskExpanded" ); @@ -437,7 +437,7 @@ public function read($team_id, $channel_id, $item_id, $task_id) { * * @param string $team_id Team ID * @param string $channel_id Channel ID - * @param string $item_id Value item ID + * @param string $feature_id Feature ID * @param string $task_id Task ID * @param \Kronup\Model\PayloadTaskUpdate $payload_task_update * @throws \Kronup\Sdk\ApiException on non-2xx response @@ -445,16 +445,16 @@ public function read($team_id, $channel_id, $item_id, $task_id) { * * @return \Kronup\Model\Task */ - public function update($team_id, $channel_id, $item_id, $task_id, $payload_task_update) { + public function update($team_id, $channel_id, $feature_id, $task_id, $payload_task_update) { $rHeaders = $this->_headerSelector->selectHeaders(["application/json"], ["application/json"]); // Path template - $rPath = "/teams/{teamId}/channels/{channelId}/items/{itemId}/tasks/{taskId}"; + $rPath = "/teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}"; /** @var \Kronup\Model\Task $result */ $result = $this->exec( S::createRequest( - $this->_sdk->config(), self::PKG, "POST", S::parse($rPath, ["teamId" => $team_id, "channelId" => $channel_id, "itemId" => $item_id, "taskId" => $task_id]), $rPath, [], $rHeaders, [], $payload_task_update + $this->_sdk->config(), self::PKG, "POST", S::parse($rPath, ["teamId" => $team_id, "channelId" => $channel_id, "featureId" => $feature_id, "taskId" => $task_id]), $rPath, [], $rHeaders, [], $payload_task_update ), "\Kronup\Model\Task" ); diff --git a/lib/Model/Assumption.php b/lib/Model/Assumption.php index 0ed7da2..d1d5935 100644 --- a/lib/Model/Assumption.php +++ b/lib/Model/Assumption.php @@ -19,7 +19,7 @@ /** * Assumption Model * - * Value Item Assumption + * Feature Assumption */ class Assumption extends AbstractModel { @@ -45,7 +45,7 @@ public function __construct(array $data = []) { /** - * Get id - Value item ID + * Get id - Feature ID * * @return string|null */ @@ -54,9 +54,9 @@ public function getId(): ?string { } /** - * Set id - Value item ID + * Set id - Feature ID * - * @param string|null $id Value item ID + * @param string|null $id Feature ID * @throws \InvalidArgumentException * @return $this */ diff --git a/lib/Model/AssumptionLite.php b/lib/Model/AssumptionLite.php index 1e1d629..56c193a 100644 --- a/lib/Model/AssumptionLite.php +++ b/lib/Model/AssumptionLite.php @@ -19,7 +19,7 @@ /** * AssumptionLite Model * - * Value Item Assumption + * Feature Assumption */ class AssumptionLite extends AbstractModel { @@ -44,7 +44,7 @@ public function __construct(array $data = []) { /** - * Get id - Value item ID + * Get id - Feature ID * * @return string|null */ @@ -53,9 +53,9 @@ public function getId(): ?string { } /** - * Set id - Value item ID + * Set id - Feature ID * - * @param string|null $id Value item ID + * @param string|null $id Feature ID * @throws \InvalidArgumentException * @return $this */ diff --git a/lib/Model/Candidate.php b/lib/Model/Candidate.php index 85b48e8..9c750f6 100644 --- a/lib/Model/Candidate.php +++ b/lib/Model/Candidate.php @@ -28,7 +28,7 @@ class Candidate extends AbstractModel { protected static $_definition = [ "userId" => ["userId", "string", null, "getUserId", "setUserId", null, ["r" => 0]], "userName" => ["userName", "string", null, "getUserName", "setUserName", null, ["r" => 0, "nl" => 3, "xl" => 64]], - "userItems" => ["userItems", "int", null, "getUserItems", "setUserItems", null, ["r" => 0, "n" => [0]]], + "userFeatures" => ["userFeatures", "int", null, "getUserFeatures", "setUserFeatures", null, ["r" => 0, "n" => [0]]], "ydStress" => ["ydStress", "float", null, "getYdStress", "setYdStress", null, ["r" => 0, "n" => [0], "x" => [100]]], "ydPrecision" => ["ydPrecision", "float", null, "getYdPrecision", "setYdPrecision", null, ["r" => 0, "n" => [0], "x" => [100]]], "ydScore" => ["ydScore", "float", null, "getYdScore", "setYdScore", null, ["r" => 0, "n" => [0], "x" => [100]]] @@ -87,23 +87,23 @@ public function setUserName($user_name) { } /** - * Get userItems - Number of value items where this user is executing tasks + * Get userFeatures - Number of features where this user is executing tasks * * @return int|null */ - public function getUserItems(): ?int { - return $this->_data["userItems"]; + public function getUserFeatures(): ?int { + return $this->_data["userFeatures"]; } /** - * Set userItems - Number of value items where this user is executing tasks + * Set userFeatures - Number of features where this user is executing tasks * - * @param int|null $user_items Number of value items where this user is executing tasks + * @param int|null $user_features Number of features where this user is executing tasks * @throws \InvalidArgumentException * @return $this */ - public function setUserItems($user_items) { - return $this->_set("userItems", $user_items); + public function setUserFeatures($user_features) { + return $this->_set("userFeatures", $user_features); } /** diff --git a/lib/Model/DeepContextList.php b/lib/Model/DeepContextList.php index cf19fb4..cfce17d 100644 --- a/lib/Model/DeepContextList.php +++ b/lib/Model/DeepContextList.php @@ -27,7 +27,7 @@ class DeepContextList extends AbstractModel { "pageNumber" => ["pageNumber", "int", null, "getPageNumber", "setPageNumber", 1, ["r" => 0, "n" => [1]]], "pageSize" => ["pageSize", "int", null, "getPageSize", "setPageSize", 500, ["r" => 0, "n" => [1], "x" => [1500]]], "total" => ["total", "int", null, "getTotal", "setTotal", null, ["r" => 0]], - "items" => ["items", "\Kronup\Model\ValueItem[]", null, "getItems", "setItems", null, ["r" => 0, "c" => 1]] + "features" => ["features", "\Kronup\Model\Feature[]", null, "getFeatures", "setFeatures", null, ["r" => 0, "c" => 1]] ]; /** @@ -83,7 +83,7 @@ public function setPageSize($page_size) { } /** - * Get total - Total number of value items + * Get total - Total number of features * * @return int|null */ @@ -92,9 +92,9 @@ public function getTotal(): ?int { } /** - * Set total - Total number of value items + * Set total - Total number of features * - * @param int|null $total Total number of value items + * @param int|null $total Total number of features * @throws \InvalidArgumentException * @return $this */ @@ -103,22 +103,22 @@ public function setTotal($total) { } /** - * Get items - Value Items + * Get features - Features * - * @return \Kronup\Model\ValueItem[]|null + * @return \Kronup\Model\Feature[]|null */ - public function getItems(): ?array { - return $this->_data["items"]; + public function getFeatures(): ?array { + return $this->_data["features"]; } /** - * Set items - Value Items + * Set features - Features * - * @param \Kronup\Model\ValueItem[]|null $items Value Items + * @param \Kronup\Model\Feature[]|null $features Features * @throws \InvalidArgumentException * @return $this */ - public function setItems(?array $items) { - return $this->_set("items", $items); + public function setFeatures(?array $features) { + return $this->_set("features", $features); } } diff --git a/lib/Model/Event.php b/lib/Model/Event.php index ccdd375..7f13b1c 100644 --- a/lib/Model/Event.php +++ b/lib/Model/Event.php @@ -22,7 +22,7 @@ class Event extends AbstractModel { public const _D = null; - public const TYPE_ITEMS = 'items'; + public const TYPE_FEATURES = 'features'; public const TYPE_ASSUMPTIONS = 'assumptions'; public const TYPE_TASKS = 'tasks'; public const TYPE_SELF_EVALUATION = 'self-evaluation'; @@ -39,7 +39,7 @@ class Event extends AbstractModel { "channelId" => ["channelId", "string", null, "getChannelId", "setChannelId", null, ["r" => 0]], "notionId" => ["notionId", "string", null, "getNotionId", "setNotionId", null, ["r" => 0]], "peerUserId" => ["peerUserId", "string", null, "getPeerUserId", "setPeerUserId", null, ["r" => 0]], - "itemId" => ["itemId", "string", null, "getItemId", "setItemId", null, ["r" => 0]], + "featureId" => ["featureId", "string", null, "getFeatureId", "setFeatureId", null, ["r" => 0]], "assmId" => ["assmId", "string", null, "getAssmId", "setAssmId", null, ["r" => 0]], "taskId" => ["taskId", "string", null, "getTaskId", "setTaskId", null, ["r" => 0]], "diff" => ["diff", "string[]", null, "getDiff", "setDiff", null, ["r" => 0, "c" => 1]], @@ -64,7 +64,7 @@ public function __construct(array $data = []) { */ public function getTypeAllowableValues(): array { return [ - self::TYPE_ITEMS, + self::TYPE_FEATURES, self::TYPE_ASSUMPTIONS, self::TYPE_TASKS, self::TYPE_SELF_EVALUATION, @@ -206,23 +206,23 @@ public function setPeerUserId($peer_user_id) { } /** - * Get itemId - Item ID + * Get featureId - Feature ID * * @return string|null */ - public function getItemId(): ?string { - return $this->_data["itemId"]; + public function getFeatureId(): ?string { + return $this->_data["featureId"]; } /** - * Set itemId - Item ID + * Set featureId - Feature ID * - * @param string|null $item_id Item ID + * @param string|null $feature_id Feature ID * @throws \InvalidArgumentException * @return $this */ - public function setItemId($item_id) { - return $this->_set("itemId", $item_id); + public function setFeatureId($feature_id) { + return $this->_set("featureId", $feature_id); } /** @@ -286,7 +286,7 @@ public function setDiff(?array $diff) { } /** - * Get stage - Value Item Stage + * Get stage - Feature Stage * * @return string|null */ @@ -295,9 +295,9 @@ public function getStage(): ?string { } /** - * Set stage - Value Item Stage + * Set stage - Feature Stage * - * @param string|null $stage Value Item Stage + * @param string|null $stage Feature Stage * @throws \InvalidArgumentException * @return $this */ diff --git a/lib/Model/ValueItem.php b/lib/Model/Feature.php similarity index 80% rename from lib/Model/ValueItem.php rename to lib/Model/Feature.php index b1fa40d..8cf4d9d 100644 --- a/lib/Model/ValueItem.php +++ b/lib/Model/Feature.php @@ -1,7 +1,7 @@ ["id", "string", null, "getId", "setId", null, ["r" => 0]], "teamId" => ["teamId", "string", null, "getTeamId", "setTeamId", null, ["r" => 0]], @@ -48,7 +48,7 @@ class ValueItem extends AbstractModel { ]; /** - * ValueItem + * Feature * * @param mixed[] $data Model data */ @@ -85,7 +85,7 @@ public function getTypeAllowableValues(): array { } /** - * Get id - Value item ID + * Get id - Feature ID * * @return string|null */ @@ -94,9 +94,9 @@ public function getId(): ?string { } /** - * Set id - Value item ID + * Set id - Feature ID * - * @param string|null $id Value item ID + * @param string|null $id Feature ID * @throws \InvalidArgumentException * @return $this */ @@ -145,7 +145,7 @@ public function setChannelId($channel_id) { } /** - * Get heading - Value item heading + * Get heading - Feature heading * * @return string|null */ @@ -154,9 +154,9 @@ public function getHeading(): ?string { } /** - * Set heading - Value item heading + * Set heading - Feature heading * - * @param string|null $heading Value item heading + * @param string|null $heading Feature heading * @throws \InvalidArgumentException * @return $this */ @@ -165,7 +165,7 @@ public function setHeading($heading) { } /** - * Get details - Value item description + * Get details - Feature description * * @return string|null */ @@ -174,9 +174,9 @@ public function getDetails(): ?string { } /** - * Set details - Value item description + * Set details - Feature description * - * @param string|null $details Value item description + * @param string|null $details Feature description * @throws \InvalidArgumentException * @return $this */ @@ -205,7 +205,7 @@ public function setAuthorUserId($author_user_id) { } /** - * Get stage - Value Item Stage + * Get stage - Feature Stage * * @return string|null */ @@ -214,9 +214,9 @@ public function getStage(): ?string { } /** - * Set stage - Value Item Stage + * Set stage - Feature Stage * - * @param string|null $stage Value Item Stage + * @param string|null $stage Feature Stage * @throws \InvalidArgumentException * @return $this */ @@ -225,7 +225,7 @@ public function setStage($stage) { } /** - * Get canAdvance - Conditions for Value Items to advance to the next stage: * `planning` - at least 1 Assumption was added * `validation` - all Assumption experiments were marked as `done` * `execution` - all Tasks were marked as `done` * `deep context` - Value Items become read-only; they can only be deleted by an Organization owner or administrator + * Get canAdvance - Conditions for Features to advance to the next stage: * `planning` - at least 1 Assumption was added * `validation` - all Assumption experiments were marked as `done` * `execution` - all Tasks were marked as `done` * `deep context` - Features become read-only; they can only be deleted by an Organization owner or administrator * * @return bool|null */ @@ -234,9 +234,9 @@ public function getCanAdvance(): ?bool { } /** - * Set canAdvance - Conditions for Value Items to advance to the next stage: * `planning` - at least 1 Assumption was added * `validation` - all Assumption experiments were marked as `done` * `execution` - all Tasks were marked as `done` * `deep context` - Value Items become read-only; they can only be deleted by an Organization owner or administrator + * Set canAdvance - Conditions for Features to advance to the next stage: * `planning` - at least 1 Assumption was added * `validation` - all Assumption experiments were marked as `done` * `execution` - all Tasks were marked as `done` * `deep context` - Features become read-only; they can only be deleted by an Organization owner or administrator * - * @param bool|null $can_advance Conditions for Value Items to advance to the next stage: * `planning` - at least 1 Assumption was added * `validation` - all Assumption experiments were marked as `done` * `execution` - all Tasks were marked as `done` * `deep context` - Value Items become read-only; they can only be deleted by an Organization owner or administrator + * @param bool|null $can_advance Conditions for Features to advance to the next stage: * `planning` - at least 1 Assumption was added * `validation` - all Assumption experiments were marked as `done` * `execution` - all Tasks were marked as `done` * `deep context` - Features become read-only; they can only be deleted by an Organization owner or administrator * @throws \InvalidArgumentException * @return $this */ @@ -245,7 +245,7 @@ public function setCanAdvance($can_advance) { } /** - * Get type - Value Item Type + * Get type - Feature Type * * @return string|null */ @@ -254,9 +254,9 @@ public function getType(): ?string { } /** - * Set type - Value Item Type + * Set type - Feature Type * - * @param string|null $type Value Item Type + * @param string|null $type Feature Type * @throws \InvalidArgumentException * @return $this */ @@ -265,7 +265,7 @@ public function setType($type) { } /** - * Get priority - Value Item Priority + * Get priority - Feature Priority * * @return float|null */ @@ -274,9 +274,9 @@ public function getPriority(): ?float { } /** - * Set priority - Value Item Priority + * Set priority - Feature Priority * - * @param float|null $priority Value Item Priority + * @param float|null $priority Feature Priority * @throws \InvalidArgumentException * @return $this */ diff --git a/lib/Model/ValueItemExpanded.php b/lib/Model/FeatureExpanded.php similarity index 82% rename from lib/Model/ValueItemExpanded.php rename to lib/Model/FeatureExpanded.php index 50d7b4f..941aea3 100644 --- a/lib/Model/ValueItemExpanded.php +++ b/lib/Model/FeatureExpanded.php @@ -1,7 +1,7 @@ ["id", "string", null, "getId", "setId", null, ["r" => 0]], "teamId" => ["teamId", "string", null, "getTeamId", "setTeamId", null, ["r" => 0]], @@ -50,7 +50,7 @@ class ValueItemExpanded extends AbstractModel { ]; /** - * ValueItemExpanded + * FeatureExpanded * * @param mixed[] $data Model data */ @@ -87,7 +87,7 @@ public function getTypeAllowableValues(): array { } /** - * Get id - Value item ID + * Get id - Feature ID * * @return string|null */ @@ -96,9 +96,9 @@ public function getId(): ?string { } /** - * Set id - Value item ID + * Set id - Feature ID * - * @param string|null $id Value item ID + * @param string|null $id Feature ID * @throws \InvalidArgumentException * @return $this */ @@ -147,7 +147,7 @@ public function setChannelId($channel_id) { } /** - * Get heading - Value item heading + * Get heading - Feature heading * * @return string|null */ @@ -156,9 +156,9 @@ public function getHeading(): ?string { } /** - * Set heading - Value item heading + * Set heading - Feature heading * - * @param string|null $heading Value item heading + * @param string|null $heading Feature heading * @throws \InvalidArgumentException * @return $this */ @@ -167,7 +167,7 @@ public function setHeading($heading) { } /** - * Get details - Value item description + * Get details - Feature description * * @return string|null */ @@ -176,9 +176,9 @@ public function getDetails(): ?string { } /** - * Set details - Value item description + * Set details - Feature description * - * @param string|null $details Value item description + * @param string|null $details Feature description * @throws \InvalidArgumentException * @return $this */ @@ -207,7 +207,7 @@ public function setAuthorUserId($author_user_id) { } /** - * Get stage - Value Item Stage + * Get stage - Feature Stage * * @return string|null */ @@ -216,9 +216,9 @@ public function getStage(): ?string { } /** - * Set stage - Value Item Stage + * Set stage - Feature Stage * - * @param string|null $stage Value Item Stage + * @param string|null $stage Feature Stage * @throws \InvalidArgumentException * @return $this */ @@ -227,7 +227,7 @@ public function setStage($stage) { } /** - * Get canAdvance - Conditions for Value Items to advance to the next stage: * `planning` - at least 1 Assumption was added * `validation` - all Assumption experiments were marked as `done` * `execution` - all Tasks were marked as `done` * `deep context` - Value Items become read-only; they can only be deleted by an Organization owner or administrator + * Get canAdvance - Conditions for Features to advance to the next stage: * `planning` - at least 1 Assumption was added * `validation` - all Assumption experiments were marked as `done` * `execution` - all Tasks were marked as `done` * `deep context` - Features become read-only; they can only be deleted by an Organization owner or administrator * * @return bool|null */ @@ -236,9 +236,9 @@ public function getCanAdvance(): ?bool { } /** - * Set canAdvance - Conditions for Value Items to advance to the next stage: * `planning` - at least 1 Assumption was added * `validation` - all Assumption experiments were marked as `done` * `execution` - all Tasks were marked as `done` * `deep context` - Value Items become read-only; they can only be deleted by an Organization owner or administrator + * Set canAdvance - Conditions for Features to advance to the next stage: * `planning` - at least 1 Assumption was added * `validation` - all Assumption experiments were marked as `done` * `execution` - all Tasks were marked as `done` * `deep context` - Features become read-only; they can only be deleted by an Organization owner or administrator * - * @param bool|null $can_advance Conditions for Value Items to advance to the next stage: * `planning` - at least 1 Assumption was added * `validation` - all Assumption experiments were marked as `done` * `execution` - all Tasks were marked as `done` * `deep context` - Value Items become read-only; they can only be deleted by an Organization owner or administrator + * @param bool|null $can_advance Conditions for Features to advance to the next stage: * `planning` - at least 1 Assumption was added * `validation` - all Assumption experiments were marked as `done` * `execution` - all Tasks were marked as `done` * `deep context` - Features become read-only; they can only be deleted by an Organization owner or administrator * @throws \InvalidArgumentException * @return $this */ @@ -247,7 +247,7 @@ public function setCanAdvance($can_advance) { } /** - * Get type - Value Item Type + * Get type - Feature Type * * @return string|null */ @@ -256,9 +256,9 @@ public function getType(): ?string { } /** - * Set type - Value Item Type + * Set type - Feature Type * - * @param string|null $type Value Item Type + * @param string|null $type Feature Type * @throws \InvalidArgumentException * @return $this */ @@ -267,7 +267,7 @@ public function setType($type) { } /** - * Get priority - Value Item Priority + * Get priority - Feature Priority * * @return float|null */ @@ -276,9 +276,9 @@ public function getPriority(): ?float { } /** - * Set priority - Value Item Priority + * Set priority - Feature Priority * - * @param float|null $priority Value Item Priority + * @param float|null $priority Feature Priority * @throws \InvalidArgumentException * @return $this */ diff --git a/lib/Model/ValueItemLite.php b/lib/Model/FeatureLite.php similarity index 81% rename from lib/Model/ValueItemLite.php rename to lib/Model/FeatureLite.php index 3c29d3b..363523e 100644 --- a/lib/Model/ValueItemLite.php +++ b/lib/Model/FeatureLite.php @@ -1,7 +1,7 @@ ["id", "string", null, "getId", "setId", null, ["r" => 0]], "teamId" => ["teamId", "string", null, "getTeamId", "setTeamId", null, ["r" => 0]], @@ -47,7 +47,7 @@ class ValueItemLite extends AbstractModel { ]; /** - * ValueItemLite + * FeatureLite * * @param mixed[] $data Model data */ @@ -84,7 +84,7 @@ public function getTypeAllowableValues(): array { } /** - * Get id - Value item ID + * Get id - Feature ID * * @return string|null */ @@ -93,9 +93,9 @@ public function getId(): ?string { } /** - * Set id - Value item ID + * Set id - Feature ID * - * @param string|null $id Value item ID + * @param string|null $id Feature ID * @throws \InvalidArgumentException * @return $this */ @@ -144,7 +144,7 @@ public function setChannelId($channel_id) { } /** - * Get heading - Value item heading + * Get heading - Feature heading * * @return string|null */ @@ -153,9 +153,9 @@ public function getHeading(): ?string { } /** - * Set heading - Value item heading + * Set heading - Feature heading * - * @param string|null $heading Value item heading + * @param string|null $heading Feature heading * @throws \InvalidArgumentException * @return $this */ @@ -184,7 +184,7 @@ public function setAuthorUserId($author_user_id) { } /** - * Get stage - Value Item Stage + * Get stage - Feature Stage * * @return string|null */ @@ -193,9 +193,9 @@ public function getStage(): ?string { } /** - * Set stage - Value Item Stage + * Set stage - Feature Stage * - * @param string|null $stage Value Item Stage + * @param string|null $stage Feature Stage * @throws \InvalidArgumentException * @return $this */ @@ -204,7 +204,7 @@ public function setStage($stage) { } /** - * Get canAdvance - Conditions for Value Items to advance to the next stage: * `planning` - at least 1 Assumption was added * `validation` - all Assumption experiments were marked as `done` * `execution` - all Tasks were marked as `done` * `deep context` - Value Items become read-only; they can only be deleted by an Organization owner or administrator + * Get canAdvance - Conditions for Features to advance to the next stage: * `planning` - at least 1 Assumption was added * `validation` - all Assumption experiments were marked as `done` * `execution` - all Tasks were marked as `done` * `deep context` - Features become read-only; they can only be deleted by an Organization owner or administrator * * @return bool|null */ @@ -213,9 +213,9 @@ public function getCanAdvance(): ?bool { } /** - * Set canAdvance - Conditions for Value Items to advance to the next stage: * `planning` - at least 1 Assumption was added * `validation` - all Assumption experiments were marked as `done` * `execution` - all Tasks were marked as `done` * `deep context` - Value Items become read-only; they can only be deleted by an Organization owner or administrator + * Set canAdvance - Conditions for Features to advance to the next stage: * `planning` - at least 1 Assumption was added * `validation` - all Assumption experiments were marked as `done` * `execution` - all Tasks were marked as `done` * `deep context` - Features become read-only; they can only be deleted by an Organization owner or administrator * - * @param bool|null $can_advance Conditions for Value Items to advance to the next stage: * `planning` - at least 1 Assumption was added * `validation` - all Assumption experiments were marked as `done` * `execution` - all Tasks were marked as `done` * `deep context` - Value Items become read-only; they can only be deleted by an Organization owner or administrator + * @param bool|null $can_advance Conditions for Features to advance to the next stage: * `planning` - at least 1 Assumption was added * `validation` - all Assumption experiments were marked as `done` * `execution` - all Tasks were marked as `done` * `deep context` - Features become read-only; they can only be deleted by an Organization owner or administrator * @throws \InvalidArgumentException * @return $this */ @@ -224,7 +224,7 @@ public function setCanAdvance($can_advance) { } /** - * Get type - Value Item Type + * Get type - Feature Type * * @return string|null */ @@ -233,9 +233,9 @@ public function getType(): ?string { } /** - * Set type - Value Item Type + * Set type - Feature Type * - * @param string|null $type Value Item Type + * @param string|null $type Feature Type * @throws \InvalidArgumentException * @return $this */ @@ -244,7 +244,7 @@ public function setType($type) { } /** - * Get priority - Value Item Priority + * Get priority - Feature Priority * * @return float|null */ @@ -253,9 +253,9 @@ public function getPriority(): ?float { } /** - * Set priority - Value Item Priority + * Set priority - Feature Priority * - * @param float|null $priority Value Item Priority + * @param float|null $priority Feature Priority * @throws \InvalidArgumentException * @return $this */ diff --git a/lib/Model/ValueItemsList.php b/lib/Model/FeaturesList.php similarity index 73% rename from lib/Model/ValueItemsList.php rename to lib/Model/FeaturesList.php index 6aed992..bff5172 100644 --- a/lib/Model/ValueItemsList.php +++ b/lib/Model/FeaturesList.php @@ -1,7 +1,7 @@ ["pageNumber", "int", null, "getPageNumber", "setPageNumber", 1, ["r" => 0, "n" => [1]]], "pageSize" => ["pageSize", "int", null, "getPageSize", "setPageSize", 500, ["r" => 0, "n" => [1], "x" => [1500]]], "total" => ["total", "int", null, "getTotal", "setTotal", null, ["r" => 0]], - "items" => ["items", "\Kronup\Model\ValueItemLite[]", null, "getItems", "setItems", null, ["r" => 0, "c" => 1]] + "features" => ["features", "\Kronup\Model\FeatureLite[]", null, "getFeatures", "setFeatures", null, ["r" => 0, "c" => 1]] ]; /** - * ValueItemsList + * FeaturesList * * @param mixed[] $data Model data */ @@ -83,7 +83,7 @@ public function setPageSize($page_size) { } /** - * Get total - Total number of value items + * Get total - Total number of features * * @return int|null */ @@ -92,9 +92,9 @@ public function getTotal(): ?int { } /** - * Set total - Total number of value items + * Set total - Total number of features * - * @param int|null $total Total number of value items + * @param int|null $total Total number of features * @throws \InvalidArgumentException * @return $this */ @@ -103,22 +103,22 @@ public function setTotal($total) { } /** - * Get items - Value Items - Lite version + * Get features - Features - Lite version * - * @return \Kronup\Model\ValueItemLite[]|null + * @return \Kronup\Model\FeatureLite[]|null */ - public function getItems(): ?array { - return $this->_data["items"]; + public function getFeatures(): ?array { + return $this->_data["features"]; } /** - * Set items - Value Items - Lite version + * Set features - Features - Lite version * - * @param \Kronup\Model\ValueItemLite[]|null $items Value Items - Lite version + * @param \Kronup\Model\FeatureLite[]|null $features Features - Lite version * @throws \InvalidArgumentException * @return $this */ - public function setItems(?array $items) { - return $this->_set("items", $items); + public function setFeatures(?array $features) { + return $this->_set("features", $features); } } diff --git a/lib/Model/Minute.php b/lib/Model/Minute.php index b30aaac..5083103 100644 --- a/lib/Model/Minute.php +++ b/lib/Model/Minute.php @@ -84,7 +84,7 @@ public function setDiscoveries(?array $discoveries) { } /** - * Get feedback - Feedback items + * Get feedback - Feedback * * @return \Kronup\Model\MinuteFeedback[]|null */ @@ -93,9 +93,9 @@ public function getFeedback(): ?array { } /** - * Set feedback - Feedback items + * Set feedback - Feedback * - * @param \Kronup\Model\MinuteFeedback[]|null $feedback Feedback items + * @param \Kronup\Model\MinuteFeedback[]|null $feedback Feedback * @throws \InvalidArgumentException * @return $this */ diff --git a/lib/Model/PayloadAssmCreate.php b/lib/Model/PayloadAssmCreate.php index 747ebcf..8e2ee01 100644 --- a/lib/Model/PayloadAssmCreate.php +++ b/lib/Model/PayloadAssmCreate.php @@ -19,7 +19,7 @@ /** * Payload_Assm_Create Model * - * Payload object required to create a Value Item assumption + * Payload object required to create a Feature assumption */ class PayloadAssmCreate extends AbstractModel { diff --git a/lib/Model/PayloadAssmUpdate.php b/lib/Model/PayloadAssmUpdate.php index 51c13f0..afe69bc 100644 --- a/lib/Model/PayloadAssmUpdate.php +++ b/lib/Model/PayloadAssmUpdate.php @@ -19,7 +19,7 @@ /** * Payload_Assm_Update Model * - * Payload object required to update a Value Item assumption + * Payload object required to update a Feature assumption */ class PayloadAssmUpdate extends AbstractModel { diff --git a/lib/Model/PayloadValueItemCreate.php b/lib/Model/PayloadFeatureCreate.php similarity index 77% rename from lib/Model/PayloadValueItemCreate.php rename to lib/Model/PayloadFeatureCreate.php index 03f7736..9d36aa7 100644 --- a/lib/Model/PayloadValueItemCreate.php +++ b/lib/Model/PayloadFeatureCreate.php @@ -1,7 +1,7 @@ ["heading", "string", null, "getHeading", "setHeading", null, ["r" => 0, "nl" => 1, "xl" => 200]], "details" => ["details", "string", null, "getDetails", "setDetails", null, ["r" => 0, "nl" => 1, "xl" => 2048]], @@ -36,7 +36,7 @@ class PayloadValueItemCreate extends AbstractModel { ]; /** - * PayloadValueItemCreate + * PayloadFeatureCreate * * @param mixed[] $data Model data */ @@ -60,7 +60,7 @@ public function getTypeAllowableValues(): array { } /** - * Get heading - Value item heading + * Get heading - Feature heading * * @return string|null */ @@ -69,9 +69,9 @@ public function getHeading(): ?string { } /** - * Set heading - Value item heading + * Set heading - Feature heading * - * @param string|null $heading Value item heading + * @param string|null $heading Feature heading * @throws \InvalidArgumentException * @return $this */ @@ -80,7 +80,7 @@ public function setHeading($heading) { } /** - * Get details - Value item description + * Get details - Feature description * * @return string|null */ @@ -89,9 +89,9 @@ public function getDetails(): ?string { } /** - * Set details - Value item description + * Set details - Feature description * - * @param string|null $details Value item description + * @param string|null $details Feature description * @throws \InvalidArgumentException * @return $this */ @@ -100,7 +100,7 @@ public function setDetails($details) { } /** - * Get type - Value item type + * Get type - Feature type * * @return string|null */ @@ -109,9 +109,9 @@ public function getType(): ?string { } /** - * Set type - Value item type + * Set type - Feature type * - * @param string|null $type Value item type + * @param string|null $type Feature type * @throws \InvalidArgumentException * @return $this */ @@ -120,7 +120,7 @@ public function setType($type) { } /** - * Get priority - Value item priority + * Get priority - Feature priority * * @return float|null */ @@ -129,9 +129,9 @@ public function getPriority(): ?float { } /** - * Set priority - Value item priority + * Set priority - Feature priority * - * @param float|null $priority Value item priority + * @param float|null $priority Feature priority * @throws \InvalidArgumentException * @return $this */ diff --git a/lib/Model/PayloadValueItemUpdate.php b/lib/Model/PayloadFeatureUpdate.php similarity index 77% rename from lib/Model/PayloadValueItemUpdate.php rename to lib/Model/PayloadFeatureUpdate.php index af2a523..1fed17f 100644 --- a/lib/Model/PayloadValueItemUpdate.php +++ b/lib/Model/PayloadFeatureUpdate.php @@ -1,7 +1,7 @@ ["heading", "string", null, "getHeading", "setHeading", null, ["r" => 0, "nl" => 1, "xl" => 200]], "details" => ["details", "string", null, "getDetails", "setDetails", null, ["r" => 0, "nl" => 1, "xl" => 2048]], @@ -36,7 +36,7 @@ class PayloadValueItemUpdate extends AbstractModel { ]; /** - * PayloadValueItemUpdate + * PayloadFeatureUpdate * * @param mixed[] $data Model data */ @@ -60,7 +60,7 @@ public function getTypeAllowableValues(): array { } /** - * Get heading - Value item heading + * Get heading - Feature heading * * @return string|null */ @@ -69,9 +69,9 @@ public function getHeading(): ?string { } /** - * Set heading - Value item heading + * Set heading - Feature heading * - * @param string|null $heading Value item heading + * @param string|null $heading Feature heading * @throws \InvalidArgumentException * @return $this */ @@ -80,7 +80,7 @@ public function setHeading($heading) { } /** - * Get details - Value item description + * Get details - Feature description * * @return string|null */ @@ -89,9 +89,9 @@ public function getDetails(): ?string { } /** - * Set details - Value item description + * Set details - Feature description * - * @param string|null $details Value item description + * @param string|null $details Feature description * @throws \InvalidArgumentException * @return $this */ @@ -100,7 +100,7 @@ public function setDetails($details) { } /** - * Get type - Value item type + * Get type - Feature type * * @return string|null */ @@ -109,9 +109,9 @@ public function getType(): ?string { } /** - * Set type - Value item type + * Set type - Feature type * - * @param string|null $type Value item type + * @param string|null $type Feature type * @throws \InvalidArgumentException * @return $this */ @@ -120,7 +120,7 @@ public function setType($type) { } /** - * Get priority - Value item priority + * Get priority - Feature priority * * @return float|null */ @@ -129,9 +129,9 @@ public function getPriority(): ?float { } /** - * Set priority - Value item priority + * Set priority - Feature priority * - * @param float|null $priority Value item priority + * @param float|null $priority Feature priority * @throws \InvalidArgumentException * @return $this */ diff --git a/lib/Model/Subscription.php b/lib/Model/Subscription.php index 53bcdd8..03de449 100644 --- a/lib/Model/Subscription.php +++ b/lib/Model/Subscription.php @@ -35,7 +35,7 @@ class Subscription extends AbstractModel { "status" => ["status", "string", null, "getStatus", "setStatus", null, ["r" => 0, "e" => 1]], "url" => ["url", "string", null, "getUrl", "setUrl", null, ["r" => 0]], "orderId" => ["orderId", "float", null, "getOrderId", "setOrderId", null, ["r" => 0, "n" => [1]]], - "orderItemId" => ["orderItemId", "float", null, "getOrderItemId", "setOrderItemId", null, ["r" => 0, "n" => [1]]], + "orderFeatureId" => ["orderFeatureId", "float", null, "getOrderFeatureId", "setOrderFeatureId", null, ["r" => 0, "n" => [1]]], "productId" => ["productId", "float", null, "getProductId", "setProductId", null, ["r" => 0, "n" => [1]]], "variantId" => ["variantId", "float", null, "getVariantId", "setVariantId", null, ["r" => 0, "n" => [1]]], "customerId" => ["customerId", "float", null, "getCustomerId", "setCustomerId", null, ["r" => 0, "n" => [1]]], @@ -159,23 +159,23 @@ public function setOrderId($order_id) { } /** - * Get orderItemId - Order Item ID + * Get orderFeatureId - Order Feature ID * * @return float|null */ - public function getOrderItemId(): ?float { - return $this->_data["orderItemId"]; + public function getOrderFeatureId(): ?float { + return $this->_data["orderFeatureId"]; } /** - * Set orderItemId - Order Item ID + * Set orderFeatureId - Order Feature ID * - * @param float|null $order_item_id Order Item ID + * @param float|null $order_feature_id Order Feature ID * @throws \InvalidArgumentException * @return $this */ - public function setOrderItemId($order_item_id) { - return $this->_set("orderItemId", $order_item_id); + public function setOrderFeatureId($order_feature_id) { + return $this->_set("orderFeatureId", $order_feature_id); } /** diff --git a/lib/Model/SubscriptionLite.php b/lib/Model/SubscriptionLite.php index af4fe1c..e6db59a 100644 --- a/lib/Model/SubscriptionLite.php +++ b/lib/Model/SubscriptionLite.php @@ -35,7 +35,7 @@ class SubscriptionLite extends AbstractModel { "status" => ["status", "string", null, "getStatus", "setStatus", null, ["r" => 0, "e" => 1]], "url" => ["url", "string", null, "getUrl", "setUrl", null, ["r" => 0]], "orderId" => ["orderId", "float", null, "getOrderId", "setOrderId", null, ["r" => 0, "n" => [1]]], - "orderItemId" => ["orderItemId", "float", null, "getOrderItemId", "setOrderItemId", null, ["r" => 0, "n" => [1]]], + "orderFeatureId" => ["orderFeatureId", "float", null, "getOrderFeatureId", "setOrderFeatureId", null, ["r" => 0, "n" => [1]]], "productId" => ["productId", "float", null, "getProductId", "setProductId", null, ["r" => 0, "n" => [1]]], "variantId" => ["variantId", "float", null, "getVariantId", "setVariantId", null, ["r" => 0, "n" => [1]]], "customerId" => ["customerId", "float", null, "getCustomerId", "setCustomerId", null, ["r" => 0, "n" => [1]]], @@ -158,23 +158,23 @@ public function setOrderId($order_id) { } /** - * Get orderItemId - Order Item ID + * Get orderFeatureId - Order Feature ID * * @return float|null */ - public function getOrderItemId(): ?float { - return $this->_data["orderItemId"]; + public function getOrderFeatureId(): ?float { + return $this->_data["orderFeatureId"]; } /** - * Set orderItemId - Order Item ID + * Set orderFeatureId - Order Feature ID * - * @param float|null $order_item_id Order Item ID + * @param float|null $order_feature_id Order Feature ID * @throws \InvalidArgumentException * @return $this */ - public function setOrderItemId($order_item_id) { - return $this->_set("orderItemId", $order_item_id); + public function setOrderFeatureId($order_feature_id) { + return $this->_set("orderFeatureId", $order_feature_id); } /** diff --git a/lib/Model/SubscriptionNullable.php b/lib/Model/SubscriptionNullable.php index 90a12ae..0bce2a0 100644 --- a/lib/Model/SubscriptionNullable.php +++ b/lib/Model/SubscriptionNullable.php @@ -35,7 +35,7 @@ class SubscriptionNullable extends AbstractModel { "status" => ["status", "string", null, "getStatus", "setStatus", null, ["r" => 0, "e" => 1]], "url" => ["url", "string", null, "getUrl", "setUrl", null, ["r" => 0]], "orderId" => ["orderId", "float", null, "getOrderId", "setOrderId", null, ["r" => 0, "n" => [1]]], - "orderItemId" => ["orderItemId", "float", null, "getOrderItemId", "setOrderItemId", null, ["r" => 0, "n" => [1]]], + "orderFeatureId" => ["orderFeatureId", "float", null, "getOrderFeatureId", "setOrderFeatureId", null, ["r" => 0, "n" => [1]]], "productId" => ["productId", "float", null, "getProductId", "setProductId", null, ["r" => 0, "n" => [1]]], "variantId" => ["variantId", "float", null, "getVariantId", "setVariantId", null, ["r" => 0, "n" => [1]]], "customerId" => ["customerId", "float", null, "getCustomerId", "setCustomerId", null, ["r" => 0, "n" => [1]]], @@ -159,23 +159,23 @@ public function setOrderId($order_id) { } /** - * Get orderItemId - Order Item ID + * Get orderFeatureId - Order Feature ID * * @return float|null */ - public function getOrderItemId(): ?float { - return $this->_data["orderItemId"]; + public function getOrderFeatureId(): ?float { + return $this->_data["orderFeatureId"]; } /** - * Set orderItemId - Order Item ID + * Set orderFeatureId - Order Feature ID * - * @param float|null $order_item_id Order Item ID + * @param float|null $order_feature_id Order Feature ID * @throws \InvalidArgumentException * @return $this */ - public function setOrderItemId($order_item_id) { - return $this->_set("orderItemId", $order_item_id); + public function setOrderFeatureId($order_feature_id) { + return $this->_set("orderFeatureId", $order_feature_id); } /** diff --git a/lib/Sdk/Caller/Api.php b/lib/Sdk/Caller/Api.php index 6a2896c..ef75946 100644 --- a/lib/Sdk/Caller/Api.php +++ b/lib/Sdk/Caller/Api.php @@ -69,6 +69,13 @@ class Api { */ protected $_experiencesApi = null; + /** + * Features API + * + * @var \Kronup\Api\FeaturesApi + */ + protected $_featuresApi = null; + /** * Invitations API * @@ -118,13 +125,6 @@ class Api { */ protected $_usersApi = null; - /** - * ValueItems API - * - * @var \Kronup\Api\ValueItemsApi - */ - protected $_valueItemsApi = null; - /** * SDK * @@ -212,6 +212,19 @@ public function experiences(): A\ExperiencesApi { return $this->_experiencesApi; } + /** + * Features API + * + * @return \Kronup\Api\FeaturesApi + */ + public function features(): A\FeaturesApi { + if (null === $this->_featuresApi) { + $this->_featuresApi = new A\FeaturesApi($this->_sdk); + } + + return $this->_featuresApi; + } + /** * Invitations API * @@ -302,17 +315,4 @@ public function users(): A\UsersApi { return $this->_usersApi; } - - /** - * ValueItems API - * - * @return \Kronup\Api\ValueItemsApi - */ - public function valueItems(): A\ValueItemsApi { - if (null === $this->_valueItemsApi) { - $this->_valueItemsApi = new A\ValueItemsApi($this->_sdk); - } - - return $this->_valueItemsApi; - } }