lib/purecloudplatformclientv2/api/architect_api.rb in purecloudplatformclientv2-18.0.0 vs lib/purecloudplatformclientv2/api/architect_api.rb in purecloudplatformclientv2-19.0.0
- old
+ new
@@ -3228,10 +3228,12 @@
# @option opts [String] :editable_by Editable by
# @option opts [String] :locked_by Locked by
# @option opts [String] :secure Secure
# @option opts [BOOLEAN] :deleted Include deleted (default to false)
# @option opts [BOOLEAN] :include_schemas Include variable schemas (default to false)
+ # @option opts [String] :published_after Published after
+ # @option opts [String] :published_before Published before
# @return [FlowEntityListing]
def get_flows(type, opts = {})
data, _status_code, _headers = get_flows_with_http_info(type, opts)
return data
end
@@ -3252,10 +3254,12 @@
# @option opts [String] :editable_by Editable by
# @option opts [String] :locked_by Locked by
# @option opts [String] :secure Secure
# @option opts [BOOLEAN] :deleted Include deleted
# @option opts [BOOLEAN] :include_schemas Include variable schemas
+ # @option opts [String] :published_after Published after
+ # @option opts [String] :published_before Published before
# @return [Array<(FlowEntityListing, Fixnum, Hash)>] FlowEntityListing data, response status code and response headers
def get_flows_with_http_info(type, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: ArchitectApi.get_flows ..."
end
@@ -3359,10 +3363,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
# resource path
local_var_path = "/api/v2/flows".sub('{format}','json')
# query parameters
query_params = {}
@@ -3379,9 +3395,11 @@
query_params[:'editableBy'] = opts[:'editable_by'] if opts[:'editable_by']
query_params[:'lockedBy'] = opts[:'locked_by'] if opts[:'locked_by']
query_params[:'secure'] = opts[:'secure'] if opts[:'secure']
query_params[:'deleted'] = opts[:'deleted'] if opts[:'deleted']
query_params[:'includeSchemas'] = opts[:'include_schemas'] if opts[:'include_schemas']
+ query_params[:'publishedAfter'] = opts[:'published_after'] if opts[:'published_after']
+ query_params[:'publishedBefore'] = opts[:'published_before'] if opts[:'published_before']
# header parameters
header_params = {}
# HTTP header 'Accept' (if needed)