Skip to content

Commit

Permalink
Merge pull request #107 from n-mcnally/patch-1
Browse files Browse the repository at this point in the history
fix "Plaform" typo in data model
  • Loading branch information
ibalosh authored May 24, 2022
2 parents bf98432 + 13c97ca commit bc41ab6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/client/ServerClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import {

ClickCounts,
ClickLocationCounts,
ClickPlaformUsageCounts,
ClickPlatformUsageCounts,
CreateInboundRuleRequest,
CreateMessageStreamRequest,
CreateSuppressionsRequest,
Expand Down Expand Up @@ -565,7 +565,7 @@ export default class ServerClient extends BaseClient {
* @returns A promise that will complete when the API responds (or an error occurs).
*/
public getClickPlatformUsage(filter: StatisticsFilteringParameters = new StatisticsFilteringParameters(),
callback?: Callback<ClickPlaformUsageCounts>): Promise<ClickPlaformUsageCounts> {
callback?: Callback<ClickPlatformUsageCounts>): Promise<ClickPlatformUsageCounts> {
return this.processRequestWithoutBody(ClientOptions.HttpMethod.GET, "/stats/outbound/clicks/platforms", filter, callback);
}

Expand Down Expand Up @@ -728,7 +728,7 @@ export default class ServerClient extends BaseClient {
}

/**
* Unrchive a message stream on the associated server.
* Unarchive a message stream on the associated server.
*
* @param options - Configuration options to be used when creating message stream on the server.
* @param callback - If the callback is provided, it will be passed to the resulting promise as a continuation.
Expand Down
2 changes: 1 addition & 1 deletion src/client/models/stats/Stats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export interface BrowserUsageCounts {
[key: string]: any;
}

export interface ClickPlaformUsageCounts {
export interface ClickPlatformUsageCounts {
Days: [{
Date: string;
Desktop: number;
Expand Down

0 comments on commit bc41ab6

Please sign in to comment.