Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .changeset/tall-bugs-retire.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@reflag/rest-api-sdk": patch
---

fix: update to the 3.0.1 API

`notifications` now takes a list of notification destinations instead of a boolean: ['slack', 'linearComment'] etc.
6 changes: 3 additions & 3 deletions packages/rest-api-sdk/src/generated/apis/DefaultApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Reflag API
* Feature flag management API
*
* The version of the OpenAPI document: 3.0.0
* The version of the OpenAPI document: 3.0.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -298,7 +298,7 @@ export interface DefaultApiInterface {
* @param {string} companyId Company ID within your application
* @param {Array<EntityFlagUpdate>} updates List of flag updates to apply
* @param {string} [changeDescription] Description of the change for audit history
* @param {boolean} [notifications] Whether to send notifications about the change (default: true)
* @param {Array<string>} [notifications] Destination list for notifications about the change. Use [] to disable notifications. Omit to use configured defaults.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApiInterface
Expand Down Expand Up @@ -343,7 +343,7 @@ export interface DefaultApiInterface {
* @param {string} userId User ID within your application
* @param {Array<EntityFlagUpdate>} updates List of flag updates to apply
* @param {string} [changeDescription] Description of the change for audit history
* @param {boolean} [notifications] Whether to send notifications about the change (default: true)
* @param {Array<string>} [notifications] Destination list for notifications about the change. Use [] to disable notifications. Omit to use configured defaults.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApiInterface
Expand Down
2 changes: 1 addition & 1 deletion packages/rest-api-sdk/src/generated/models/App.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Reflag API
* Feature flag management API
*
* The version of the OpenAPI document: 3.0.0
* The version of the OpenAPI document: 3.0.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion packages/rest-api-sdk/src/generated/models/AppHeader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Reflag API
* Feature flag management API
*
* The version of the OpenAPI document: 3.0.0
* The version of the OpenAPI document: 3.0.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Reflag API
* Feature flag management API
*
* The version of the OpenAPI document: 3.0.0
* The version of the OpenAPI document: 3.0.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Reflag API
* Feature flag management API
*
* The version of the OpenAPI document: 3.0.0
* The version of the OpenAPI document: 3.0.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Reflag API
* Feature flag management API
*
* The version of the OpenAPI document: 3.0.0
* The version of the OpenAPI document: 3.0.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Reflag API
* Feature flag management API
*
* The version of the OpenAPI document: 3.0.0
* The version of the OpenAPI document: 3.0.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion packages/rest-api-sdk/src/generated/models/EntityFlag.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Reflag API
* Feature flag management API
*
* The version of the OpenAPI document: 3.0.0
* The version of the OpenAPI document: 3.0.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Reflag API
* Feature flag management API
*
* The version of the OpenAPI document: 3.0.0
* The version of the OpenAPI document: 3.0.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Reflag API
* Feature flag management API
*
* The version of the OpenAPI document: 3.0.0
* The version of the OpenAPI document: 3.0.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion packages/rest-api-sdk/src/generated/models/Environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Reflag API
* Feature flag management API
*
* The version of the OpenAPI document: 3.0.0
* The version of the OpenAPI document: 3.0.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Reflag API
* Feature flag management API
*
* The version of the OpenAPI document: 3.0.0
* The version of the OpenAPI document: 3.0.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Reflag API
* Feature flag management API
*
* The version of the OpenAPI document: 3.0.0
* The version of the OpenAPI document: 3.0.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Reflag API
* Feature flag management API
*
* The version of the OpenAPI document: 3.0.0
* The version of the OpenAPI document: 3.0.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Reflag API
* Feature flag management API
*
* The version of the OpenAPI document: 3.0.0
* The version of the OpenAPI document: 3.0.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Reflag API
* Feature flag management API
*
* The version of the OpenAPI document: 3.0.0
* The version of the OpenAPI document: 3.0.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Reflag API
* Feature flag management API
*
* The version of the OpenAPI document: 3.0.0
* The version of the OpenAPI document: 3.0.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion packages/rest-api-sdk/src/generated/models/FlagHeader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Reflag API
* Feature flag management API
*
* The version of the OpenAPI document: 3.0.0
* The version of the OpenAPI document: 3.0.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Reflag API
* Feature flag management API
*
* The version of the OpenAPI document: 3.0.0
* The version of the OpenAPI document: 3.0.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Reflag API
* Feature flag management API
*
* The version of the OpenAPI document: 3.0.0
* The version of the OpenAPI document: 3.0.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Reflag API
* Feature flag management API
*
* The version of the OpenAPI document: 3.0.0
* The version of the OpenAPI document: 3.0.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion packages/rest-api-sdk/src/generated/models/FlagValue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Reflag API
* Feature flag management API
*
* The version of the OpenAPI document: 3.0.0
* The version of the OpenAPI document: 3.0.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Reflag API
* Feature flag management API
*
* The version of the OpenAPI document: 3.0.0
* The version of the OpenAPI document: 3.0.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion packages/rest-api-sdk/src/generated/models/OrgHeader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Reflag API
* Feature flag management API
*
* The version of the OpenAPI document: 3.0.0
* The version of the OpenAPI document: 3.0.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Reflag API
* Feature flag management API
*
* The version of the OpenAPI document: 3.0.0
* The version of the OpenAPI document: 3.0.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Reflag API
* Feature flag management API
*
* The version of the OpenAPI document: 3.0.0
* The version of the OpenAPI document: 3.0.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion packages/rest-api-sdk/src/generated/models/SegmentType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Reflag API
* Feature flag management API
*
* The version of the OpenAPI document: 3.0.0
* The version of the OpenAPI document: 3.0.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion packages/rest-api-sdk/src/generated/models/SortOrder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Reflag API
* Feature flag management API
*
* The version of the OpenAPI document: 3.0.0
* The version of the OpenAPI document: 3.0.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion packages/rest-api-sdk/src/generated/models/StageHeader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Reflag API
* Feature flag management API
*
* The version of the OpenAPI document: 3.0.0
* The version of the OpenAPI document: 3.0.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Reflag API
* Feature flag management API
*
* The version of the OpenAPI document: 3.0.0
* The version of the OpenAPI document: 3.0.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -40,13 +40,24 @@ export interface UpdateEntityFlagsBody {
*/
changeDescription?: string;
/**
* Whether to send notifications about the change (default: true)
* @type {boolean}
* Destination list for notifications about the change. Use [] to disable notifications. Omit to use configured defaults.
* @type {Array<string>}
* @memberof UpdateEntityFlagsBody
*/
notifications?: boolean;
notifications?: Array<UpdateEntityFlagsBodyNotificationsEnum>;
}


/**
* @export
*/
export const UpdateEntityFlagsBodyNotificationsEnum = {
LinearComment: 'linearComment',
Slack: 'slack'
} as const;
export type UpdateEntityFlagsBodyNotificationsEnum = typeof UpdateEntityFlagsBodyNotificationsEnum[keyof typeof UpdateEntityFlagsBodyNotificationsEnum];


/**
* Check if a given object implements the UpdateEntityFlagsBody interface.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Reflag API
* Feature flag management API
*
* The version of the OpenAPI document: 3.0.0
* The version of the OpenAPI document: 3.0.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion packages/rest-api-sdk/src/generated/runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Reflag API
* Feature flag management API
*
* The version of the OpenAPI document: 3.0.0
* The version of the OpenAPI document: 3.0.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Loading