Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix imports for 'request' and 'http' #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion api/accountApi.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// <reference types="node" />
import http = require('http');
import * as http from 'http';
import { GetAccount } from '../model/getAccount';
import { Authentication, Interceptor } from '../model/models';
import { ApiKeyAuth } from '../model/models';
Expand Down
4 changes: 2 additions & 2 deletions api/accountApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
* Do not edit the class manually.
*/

import localVarRequest = require('request');
import http = require('http');
import * as localVarRequest from 'request';
import * as http from 'http';

/* tslint:disable:no-unused-locals */
import { GetAccount } from '../model/getAccount';
Expand Down
2 changes: 1 addition & 1 deletion api/attributesApi.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// <reference types="node" />
import http = require('http');
import * as http from 'http';
import { CreateAttribute } from '../model/createAttribute';
import { GetAttributes } from '../model/getAttributes';
import { UpdateAttribute } from '../model/updateAttribute';
Expand Down
4 changes: 2 additions & 2 deletions api/attributesApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
* Do not edit the class manually.
*/

import localVarRequest = require('request');
import http = require('http');
import * as localVarRequest from 'request';
import * as http from 'http';

/* tslint:disable:no-unused-locals */
import { CreateAttribute } from '../model/createAttribute';
Expand Down
2 changes: 1 addition & 1 deletion api/contactsApi.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// <reference types="node" />
import http = require('http');
import * as http from 'http';
import { AddContactToList } from '../model/addContactToList';
import { CreateAttribute } from '../model/createAttribute';
import { CreateContact } from '../model/createContact';
Expand Down
4 changes: 2 additions & 2 deletions api/contactsApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
* Do not edit the class manually.
*/

import localVarRequest = require('request');
import http = require('http');
import * as localVarRequest from 'request';
import * as http from 'http';

/* tslint:disable:no-unused-locals */
import { AddContactToList } from '../model/addContactToList';
Expand Down
2 changes: 1 addition & 1 deletion api/emailCampaignsApi.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// <reference types="node" />
import http = require('http');
import * as http from 'http';
import { AbTestCampaignResult } from '../model/abTestCampaignResult';
import { CreateEmailCampaign } from '../model/createEmailCampaign';
import { CreateModel } from '../model/createModel';
Expand Down
4 changes: 2 additions & 2 deletions api/emailCampaignsApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
* Do not edit the class manually.
*/

import localVarRequest = require('request');
import http = require('http');
import * as localVarRequest from 'request';
import * as http from 'http';

/* tslint:disable:no-unused-locals */
import { AbTestCampaignResult } from '../model/abTestCampaignResult';
Expand Down
2 changes: 1 addition & 1 deletion api/foldersApi.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// <reference types="node" />
import http = require('http');
import * as http from 'http';
import { CreateModel } from '../model/createModel';
import { CreateUpdateFolder } from '../model/createUpdateFolder';
import { GetFolder } from '../model/getFolder';
Expand Down
4 changes: 2 additions & 2 deletions api/foldersApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
* Do not edit the class manually.
*/

import localVarRequest = require('request');
import http = require('http');
import * as localVarRequest from 'request';
import * as http from 'http';

/* tslint:disable:no-unused-locals */
import { CreateModel } from '../model/createModel';
Expand Down
2 changes: 1 addition & 1 deletion api/listsApi.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// <reference types="node" />
import http = require('http');
import * as http from 'http';
import { AddContactToList } from '../model/addContactToList';
import { CreateList } from '../model/createList';
import { CreateModel } from '../model/createModel';
Expand Down
4 changes: 2 additions & 2 deletions api/listsApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
* Do not edit the class manually.
*/

import localVarRequest = require('request');
import http = require('http');
import * as localVarRequest from 'request';
import * as http from 'http';

/* tslint:disable:no-unused-locals */
import { AddContactToList } from '../model/addContactToList';
Expand Down
2 changes: 1 addition & 1 deletion api/processApi.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// <reference types="node" />
import http = require('http');
import * as http from 'http';
import { GetProcess } from '../model/getProcess';
import { GetProcesses } from '../model/getProcesses';
import { Authentication, Interceptor } from '../model/models';
Expand Down
4 changes: 2 additions & 2 deletions api/processApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
* Do not edit the class manually.
*/

import localVarRequest = require('request');
import http = require('http');
import * as localVarRequest from 'request';
import * as http from 'http';

/* tslint:disable:no-unused-locals */
import { ErrorModel } from '../model/errorModel';
Expand Down
2 changes: 1 addition & 1 deletion api/resellerApi.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// <reference types="node" />
import http = require('http');
import * as http from 'http';
import { AddChildDomain } from '../model/addChildDomain';
import { AddCredits } from '../model/addCredits';
import { CreateChild } from '../model/createChild';
Expand Down
4 changes: 2 additions & 2 deletions api/resellerApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
* Do not edit the class manually.
*/

import localVarRequest = require('request');
import http = require('http');
import * as localVarRequest from 'request';
import * as http from 'http';

/* tslint:disable:no-unused-locals */
import { AddChildDomain } from '../model/addChildDomain';
Expand Down
2 changes: 1 addition & 1 deletion api/sMSCampaignsApi.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// <reference types="node" />
import http = require('http');
import * as http from 'http';
import { CreateModel } from '../model/createModel';
import { CreateSmsCampaign } from '../model/createSmsCampaign';
import { CreatedProcessId } from '../model/createdProcessId';
Expand Down
4 changes: 2 additions & 2 deletions api/sMSCampaignsApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
* Do not edit the class manually.
*/

import localVarRequest = require('request');
import http = require('http');
import * as localVarRequest from 'request';
import * as http from 'http';

/* tslint:disable:no-unused-locals */
import { CreateModel } from '../model/createModel';
Expand Down
2 changes: 1 addition & 1 deletion api/sendersApi.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// <reference types="node" />
import http = require('http');
import * as http from 'http';
import { CreateSender } from '../model/createSender';
import { CreateSenderModel } from '../model/createSenderModel';
import { GetIps } from '../model/getIps';
Expand Down
4 changes: 2 additions & 2 deletions api/sendersApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
* Do not edit the class manually.
*/

import localVarRequest = require('request');
import http = require('http');
import * as localVarRequest from 'request';
import * as http from 'http';

/* tslint:disable:no-unused-locals */
import { CreateSender } from '../model/createSender';
Expand Down
2 changes: 1 addition & 1 deletion api/transactionalEmailsApi.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// <reference types="node" />
import http = require('http');
import * as http from 'http';
import { BlockDomain } from '../model/blockDomain';
import { CreateModel } from '../model/createModel';
import { CreateSmtpEmail } from '../model/createSmtpEmail';
Expand Down
4 changes: 2 additions & 2 deletions api/transactionalEmailsApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
* Do not edit the class manually.
*/

import localVarRequest = require('request');
import http = require('http');
import * as localVarRequest from 'request';
import * as http from 'http';

/* tslint:disable:no-unused-locals */
import { BlockDomain } from '../model/blockDomain';
Expand Down
2 changes: 1 addition & 1 deletion api/transactionalSMSApi.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// <reference types="node" />
import http = require('http');
import * as http from 'http';
import { GetSmsEventReport } from '../model/getSmsEventReport';
import { GetTransacAggregatedSmsReport } from '../model/getTransacAggregatedSmsReport';
import { GetTransacSmsReport } from '../model/getTransacSmsReport';
Expand Down
4 changes: 2 additions & 2 deletions api/transactionalSMSApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
* Do not edit the class manually.
*/

import localVarRequest = require('request');
import http = require('http');
import * as localVarRequest from 'request';
import * as http from 'http';

/* tslint:disable:no-unused-locals */
import { ErrorModel } from '../model/errorModel';
Expand Down
2 changes: 1 addition & 1 deletion api/webhooksApi.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// <reference types="node" />
import http = require('http');
import * as http from 'http';
import { CreateModel } from '../model/createModel';
import { CreateWebhook } from '../model/createWebhook';
import { GetWebhook } from '../model/getWebhook';
Expand Down
4 changes: 2 additions & 2 deletions api/webhooksApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
* Do not edit the class manually.
*/

import localVarRequest = require('request');
import http = require('http');
import * as localVarRequest from 'request';
import * as http from 'http';

/* tslint:disable:no-unused-locals */
import { CreateModel } from '../model/createModel';
Expand Down
2 changes: 1 addition & 1 deletion model/models.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ export * from './updateSmtpTemplate';
export * from './updateSmtpTemplateSender';
export * from './updateWebhook';
export * from './uploadImageToGallery';
import localVarRequest = require('request');
import * as localVarRequest from 'request';
export declare class ObjectSerializer {
static findCorrectType(data: any, expectedType: string): any;
static serialize(data: any, type: string): any;
Expand Down
2 changes: 1 addition & 1 deletion model/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ export * from './updateSmtpTemplateSender';
export * from './updateWebhook';
export * from './uploadImageToGallery';

import localVarRequest = require('request');
import * as localVarRequest from 'request';

import { AbTestCampaignResult } from './abTestCampaignResult';
import { AbTestCampaignResultClickedLinks } from './abTestCampaignResultClickedLinks';
Expand Down