-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug fix release with small improvements for Salesforce and Hubspot Pl…
…ugin Preparation for 0.2.1 Feature: New internal function for plugins to allow multipart uploads via `Prepare-MultipartUpload` Feature: Addition for Hubspot to load single or multiple properties by name in `Get-Property` Feature: New function for Hubspot to allow the loading of a pipeline Feature: New function for Hubspot to load "owners" Fix: Invoking hubspot has not used the correct headers which is now fixed Fix: Better error handling dependent from PS version in `Import-ErrorForResponseBody`^ Fix: Improved input file handling for Salesforce plugin Fix: The get messages boilerplate was outdated and has now been updated
- Loading branch information
Showing
9 changed files
with
175 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
AptecoPSFramework/plugins/Hubspot/Public/Hubspot/Get-Owner.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
|
||
function Get-Owner { | ||
|
||
[CmdletBinding()] | ||
param ( | ||
# [Parameter(Mandatory=$true)][String]$Object | ||
#,[Parameter(Mandatory=$false)][String[]]$PropertyName = "" | ||
#,[Parameter(Mandatory=$false)][Switch]$Archived = $false | ||
#,[Parameter(Mandatory=$false)][Switch]$IncludeObjectName = $false # Include the object name like "contacts" | ||
|
||
) | ||
|
||
begin { | ||
|
||
} | ||
process { | ||
|
||
$owners = @( Invoke-Hubspot -Object "crm" -Path "owners" -Method GET ) | ||
$owners.results | ||
|
||
} | ||
|
||
end { | ||
|
||
} | ||
|
||
} |
26 changes: 26 additions & 0 deletions
26
AptecoPSFramework/plugins/Hubspot/Public/Hubspot/Get-Pipeline.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
|
||
function Get-Pipeline { | ||
|
||
[CmdletBinding()] | ||
param ( | ||
[Parameter(Mandatory=$true)][String]$Object | ||
#,[Parameter(Mandatory=$false)][String[]]$PropertyName = "" | ||
#,[Parameter(Mandatory=$false)][Switch]$Archived = $false | ||
#,[Parameter(Mandatory=$false)][Switch]$IncludeObjectName = $false # Include the object name like "contacts" | ||
|
||
) | ||
|
||
begin { | ||
|
||
} | ||
process { | ||
|
||
$pipelines = @( Invoke-Hubspot -Object "crm" -Path "pipelines/$( $Object )" -Method GET ) | ||
$pipelines.results | ||
} | ||
|
||
end { | ||
|
||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.