Comparing version 2.2.7 to 2.2.8
import BaseClient from "./BaseClient"; | ||
import { Callback, ClientOptions, DefaultResponse, FilteringParameters } from "./models"; | ||
import { CreateDomainRequest, CreateServerRequest, CreateSignatureRequest, DomainDetails, Domains, Server, Servers, SignatureDetails, Signatures, TemplatesPush, TemplatesPushRequest, UpdateDomainRequest, UpdateServerRequest, UpdateSignatureRequest } from "./models"; | ||
import { CreateDomainRequest, CreateServerRequest, CreateSignatureRequest, DomainDetails, Domains, Server, ServerFilteringParameters, Servers, SignatureDetails, Signatures, TemplatesPush, TemplatesPushRequest, UpdateDomainRequest, UpdateServerRequest, UpdateSignatureRequest } from "./models"; | ||
export default class AccountClient extends BaseClient { | ||
@@ -18,3 +18,3 @@ /** | ||
*/ | ||
getServers(filter?: FilteringParameters, callback?: Callback<Servers>): Promise<Servers>; | ||
getServers(filter?: ServerFilteringParameters, callback?: Callback<Servers>): Promise<Servers>; | ||
/** | ||
@@ -21,0 +21,0 @@ * Retrieve a single server by ID. |
@@ -15,2 +15,3 @@ "use strict"; | ||
var models_1 = require("./models"); | ||
var models_2 = require("./models"); | ||
var AccountClient = /** @class */ (function (_super) { | ||
@@ -34,3 +35,3 @@ __extends(AccountClient, _super); | ||
AccountClient.prototype.getServers = function (filter, callback) { | ||
if (filter === void 0) { filter = new models_1.FilteringParameters(); } | ||
if (filter === void 0) { filter = new models_2.ServerFilteringParameters(); } | ||
this.setDefaultPaginationValues(filter); | ||
@@ -37,0 +38,0 @@ return this.processRequestWithoutBody(models_1.ClientOptions.HttpMethod.GET, "/servers", filter, callback); |
@@ -28,3 +28,3 @@ import { FilteringParameters } from "../client/FilteringParameters"; | ||
* Describes filtering parameters that can be used when retrieving bounces. | ||
* When pagination parameters are not specified, default values provided by [[DefaultPaginationFilterValues]] are set. | ||
* When pagination parameters are not specified, default values are set. | ||
*/ | ||
@@ -31,0 +31,0 @@ export declare class BounceFilteringParameters extends FilteringParameters { |
@@ -41,3 +41,3 @@ "use strict"; | ||
* Describes filtering parameters that can be used when retrieving bounces. | ||
* When pagination parameters are not specified, default values provided by [[DefaultPaginationFilterValues]] are set. | ||
* When pagination parameters are not specified, default values are set. | ||
*/ | ||
@@ -44,0 +44,0 @@ var BounceFilteringParameters = /** @class */ (function (_super) { |
import { Hash } from "./SupportingTypes"; | ||
/** | ||
* Describes default filtering parameters that can be used. | ||
* When pagination parameters are not specified, default values provided by [[DefaultPaginationFilterValues]] are set. | ||
* When pagination parameters are not specified, default values are set. | ||
*/ | ||
@@ -6,0 +6,0 @@ export declare class FilteringParameters implements Hash<any> { |
@@ -5,3 +5,3 @@ "use strict"; | ||
* Describes default filtering parameters that can be used. | ||
* When pagination parameters are not specified, default values provided by [[DefaultPaginationFilterValues]] are set. | ||
* When pagination parameters are not specified, default values are set. | ||
*/ | ||
@@ -8,0 +8,0 @@ var FilteringParameters = /** @class */ (function () { |
@@ -17,2 +17,3 @@ export * from "./client/ClientOptions"; | ||
export * from "./server/Servers"; | ||
export * from "./server/ServerFilteringParameters"; | ||
export * from "./domains/Domain"; | ||
@@ -19,0 +20,0 @@ export * from "./senders/Signature"; |
@@ -14,2 +14,3 @@ "use strict"; | ||
__export(require("./server/Server")); | ||
__export(require("./server/ServerFilteringParameters")); | ||
__export(require("./domains/Domain")); | ||
@@ -16,0 +17,0 @@ __export(require("./senders/Signature")); |
@@ -17,3 +17,3 @@ import { FilteringParameters } from "../client/FilteringParameters"; | ||
* Describes filtering parameters that can be used when retrieving outbound messages. | ||
* When pagination parameters are not specified, default values provided by [[DefaultPaginationFilterValues]] are set. | ||
* When pagination parameters are not specified, default values are set. | ||
*/ | ||
@@ -32,3 +32,3 @@ export declare class OutboundMessagesFilteringParameters extends FilteringParameters { | ||
* Describes filtering parameters that can be used when retrieving inbound messages. | ||
* When pagination parameters are not specified, default values provided by [[DefaultPaginationFilterValues]] are set. | ||
* When pagination parameters are not specified, default values are set. | ||
*/ | ||
@@ -48,3 +48,3 @@ export declare class InboundMessagesFilteringParameters extends FilteringParameters { | ||
* Describes filtering parameters that can be used when retrieving tracked outbound messages. | ||
* When pagination parameters are not specified, default values provided by [[DefaultPaginationFilterValues]] are set. | ||
* When pagination parameters are not specified, default values are set. | ||
*/ | ||
@@ -51,0 +51,0 @@ export declare class OutboundMessageTrackingFilteringParameters extends FilteringParameters { |
@@ -31,3 +31,3 @@ "use strict"; | ||
* Describes filtering parameters that can be used when retrieving outbound messages. | ||
* When pagination parameters are not specified, default values provided by [[DefaultPaginationFilterValues]] are set. | ||
* When pagination parameters are not specified, default values are set. | ||
*/ | ||
@@ -54,3 +54,3 @@ var OutboundMessagesFilteringParameters = /** @class */ (function (_super) { | ||
* Describes filtering parameters that can be used when retrieving inbound messages. | ||
* When pagination parameters are not specified, default values provided by [[DefaultPaginationFilterValues]] are set. | ||
* When pagination parameters are not specified, default values are set. | ||
*/ | ||
@@ -78,3 +78,3 @@ var InboundMessagesFilteringParameters = /** @class */ (function (_super) { | ||
* Describes filtering parameters that can be used when retrieving tracked outbound messages. | ||
* When pagination parameters are not specified, default values provided by [[DefaultPaginationFilterValues]] are set. | ||
* When pagination parameters are not specified, default values are set. | ||
*/ | ||
@@ -81,0 +81,0 @@ var OutboundMessageTrackingFilteringParameters = /** @class */ (function (_super) { |
@@ -96,3 +96,3 @@ import { FilteringParameters } from "../client/FilteringParameters"; | ||
* Describes filtering parameters that can be used when retrieving templates. | ||
* When pagination parameters are not specified, default values provided by [[DefaultPaginationFilterValues]] are set. | ||
* When pagination parameters are not specified, default values are set. | ||
*/ | ||
@@ -99,0 +99,0 @@ export declare class TemplateFilteringParameters extends FilteringParameters { |
@@ -87,3 +87,3 @@ "use strict"; | ||
* Describes filtering parameters that can be used when retrieving templates. | ||
* When pagination parameters are not specified, default values provided by [[DefaultPaginationFilterValues]] are set. | ||
* When pagination parameters are not specified, default values are set. | ||
*/ | ||
@@ -90,0 +90,0 @@ var TemplateFilteringParameters = /** @class */ (function (_super) { |
import { FilteringParameters } from "../client/FilteringParameters"; | ||
/** | ||
* Describes filtering parameters that can be used when retrieving tags. | ||
* When pagination parameters are not specified, default values provided by [[DefaultPaginationFilterValues]] are set. | ||
* When pagination parameters are not specified, default values are set. | ||
*/ | ||
@@ -6,0 +6,0 @@ export declare class TagTriggerFilteringParameters extends FilteringParameters { |
@@ -16,3 +16,3 @@ "use strict"; | ||
* Describes filtering parameters that can be used when retrieving tags. | ||
* When pagination parameters are not specified, default values provided by [[DefaultPaginationFilterValues]] are set. | ||
* When pagination parameters are not specified, default values are set. | ||
*/ | ||
@@ -19,0 +19,0 @@ var TagTriggerFilteringParameters = /** @class */ (function (_super) { |
@@ -12,3 +12,3 @@ { | ||
], | ||
"version": "2.2.7", | ||
"version": "2.2.8", | ||
"author": "Igor Balos", | ||
@@ -15,0 +15,0 @@ "contributors": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
245431
122
4301