Skip to content

Commit b932842

Browse files
authored
Merge pull request #7 from sendinblue/feature_syntax-error-fix
Syntax error fix for unexpected token -
2 parents dd4b03c + cfeb2e2 commit b932842

14 files changed

+201
-401
lines changed

docs/AccountApi.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,8 @@ var SendinBlueApi = require('sendin_blue_api');
1919
var defaultClient = SendinBlueApi.ApiClient.instance;
2020

2121
// Configure API key authorization: api-key
22-
var api-key = defaultClient.authentications['api-key'];
23-
api-key.apiKey = 'YOUR API KEY';
24-
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
25-
//api-key.apiKeyPrefix = 'Token';
22+
var apiKey = defaultClient.authentications['api-key'];
23+
apiKey.apiKey = 'YOUR API KEY';
2624

2725
var apiInstance = new SendinBlueApi.AccountApi();
2826
apiInstance.getAccount().then(function(data) {

docs/AttributesApi.md

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,8 @@ var SendinBlueApi = require('sendin_blue_api');
2121
var defaultClient = SendinBlueApi.ApiClient.instance;
2222

2323
// Configure API key authorization: api-key
24-
var api-key = defaultClient.authentications['api-key'];
25-
api-key.apiKey = 'YOUR API KEY';
26-
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
27-
//api-key.apiKeyPrefix = 'Token';
24+
var apiKey = defaultClient.authentications['api-key'];
25+
apiKey.apiKey = 'YOUR API KEY';
2826

2927
var apiInstance = new SendinBlueApi.AttributesApi();
3028

@@ -69,10 +67,8 @@ var SendinBlueApi = require('sendin_blue_api');
6967
var defaultClient = SendinBlueApi.ApiClient.instance;
7068

7169
// Configure API key authorization: api-key
72-
var api-key = defaultClient.authentications['api-key'];
73-
api-key.apiKey = 'YOUR API KEY';
74-
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
75-
//api-key.apiKeyPrefix = 'Token';
70+
var apiKey = defaultClient.authentications['api-key'];
71+
apiKey.apiKey = 'YOUR API KEY';
7672

7773
var apiInstance = new SendinBlueApi.AttributesApi();
7874

@@ -117,10 +113,8 @@ var SendinBlueApi = require('sendin_blue_api');
117113
var defaultClient = SendinBlueApi.ApiClient.instance;
118114

119115
// Configure API key authorization: api-key
120-
var api-key = defaultClient.authentications['api-key'];
121-
api-key.apiKey = 'YOUR API KEY';
122-
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
123-
//api-key.apiKeyPrefix = 'Token';
116+
var apiKey = defaultClient.authentications['api-key'];
117+
apiKey.apiKey = 'YOUR API KEY';
124118

125119
var apiInstance = new SendinBlueApi.AttributesApi();
126120
apiInstance.getAttributes().then(function(data) {

docs/ContactsApi.md

Lines changed: 48 additions & 96 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,8 @@ var SendinBlueApi = require('sendin_blue_api');
4242
var defaultClient = SendinBlueApi.ApiClient.instance;
4343

4444
// Configure API key authorization: api-key
45-
var api-key = defaultClient.authentications['api-key'];
46-
api-key.apiKey = 'YOUR API KEY';
47-
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
48-
//api-key.apiKeyPrefix = 'Token';
45+
var apiKey = defaultClient.authentications['api-key'];
46+
apiKey.apiKey = 'YOUR API KEY';
4947

5048
var apiInstance = new SendinBlueApi.ContactsApi();
5149

@@ -93,10 +91,8 @@ var SendinBlueApi = require('sendin_blue_api');
9391
var defaultClient = SendinBlueApi.ApiClient.instance;
9492

9593
// Configure API key authorization: api-key
96-
var api-key = defaultClient.authentications['api-key'];
97-
api-key.apiKey = 'YOUR API KEY';
98-
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
99-
//api-key.apiKeyPrefix = 'Token';
94+
var apiKey = defaultClient.authentications['api-key'];
95+
apiKey.apiKey = 'YOUR API KEY';
10096

10197
var apiInstance = new SendinBlueApi.ContactsApi();
10298

@@ -141,10 +137,8 @@ var SendinBlueApi = require('sendin_blue_api');
141137
var defaultClient = SendinBlueApi.ApiClient.instance;
142138

143139
// Configure API key authorization: api-key
144-
var api-key = defaultClient.authentications['api-key'];
145-
api-key.apiKey = 'YOUR API KEY';
146-
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
147-
//api-key.apiKeyPrefix = 'Token';
140+
var apiKey = defaultClient.authentications['api-key'];
141+
apiKey.apiKey = 'YOUR API KEY';
148142

149143
var apiInstance = new SendinBlueApi.ContactsApi();
150144

@@ -189,10 +183,8 @@ var SendinBlueApi = require('sendin_blue_api');
189183
var defaultClient = SendinBlueApi.ApiClient.instance;
190184

191185
// Configure API key authorization: api-key
192-
var api-key = defaultClient.authentications['api-key'];
193-
api-key.apiKey = 'YOUR API KEY';
194-
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
195-
//api-key.apiKeyPrefix = 'Token';
186+
var apiKey = defaultClient.authentications['api-key'];
187+
apiKey.apiKey = 'YOUR API KEY';
196188

197189
var apiInstance = new SendinBlueApi.ContactsApi();
198190

@@ -237,10 +229,8 @@ var SendinBlueApi = require('sendin_blue_api');
237229
var defaultClient = SendinBlueApi.ApiClient.instance;
238230

239231
// Configure API key authorization: api-key
240-
var api-key = defaultClient.authentications['api-key'];
241-
api-key.apiKey = 'YOUR API KEY';
242-
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
243-
//api-key.apiKeyPrefix = 'Token';
232+
var apiKey = defaultClient.authentications['api-key'];
233+
apiKey.apiKey = 'YOUR API KEY';
244234

245235
var apiInstance = new SendinBlueApi.ContactsApi();
246236

@@ -285,10 +275,8 @@ var SendinBlueApi = require('sendin_blue_api');
285275
var defaultClient = SendinBlueApi.ApiClient.instance;
286276

287277
// Configure API key authorization: api-key
288-
var api-key = defaultClient.authentications['api-key'];
289-
api-key.apiKey = 'YOUR API KEY';
290-
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
291-
//api-key.apiKeyPrefix = 'Token';
278+
var apiKey = defaultClient.authentications['api-key'];
279+
apiKey.apiKey = 'YOUR API KEY';
292280

293281
var apiInstance = new SendinBlueApi.ContactsApi();
294282

@@ -333,10 +321,8 @@ var SendinBlueApi = require('sendin_blue_api');
333321
var defaultClient = SendinBlueApi.ApiClient.instance;
334322

335323
// Configure API key authorization: api-key
336-
var api-key = defaultClient.authentications['api-key'];
337-
api-key.apiKey = 'YOUR API KEY';
338-
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
339-
//api-key.apiKeyPrefix = 'Token';
324+
var apiKey = defaultClient.authentications['api-key'];
325+
apiKey.apiKey = 'YOUR API KEY';
340326

341327
var apiInstance = new SendinBlueApi.ContactsApi();
342328

@@ -381,10 +367,8 @@ var SendinBlueApi = require('sendin_blue_api');
381367
var defaultClient = SendinBlueApi.ApiClient.instance;
382368

383369
// Configure API key authorization: api-key
384-
var api-key = defaultClient.authentications['api-key'];
385-
api-key.apiKey = 'YOUR API KEY';
386-
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
387-
//api-key.apiKeyPrefix = 'Token';
370+
var apiKey = defaultClient.authentications['api-key'];
371+
apiKey.apiKey = 'YOUR API KEY';
388372

389373
var apiInstance = new SendinBlueApi.ContactsApi();
390374

@@ -429,10 +413,8 @@ var SendinBlueApi = require('sendin_blue_api');
429413
var defaultClient = SendinBlueApi.ApiClient.instance;
430414

431415
// Configure API key authorization: api-key
432-
var api-key = defaultClient.authentications['api-key'];
433-
api-key.apiKey = 'YOUR API KEY';
434-
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
435-
//api-key.apiKeyPrefix = 'Token';
416+
var apiKey = defaultClient.authentications['api-key'];
417+
apiKey.apiKey = 'YOUR API KEY';
436418

437419
var apiInstance = new SendinBlueApi.ContactsApi();
438420
apiInstance.getAttributes().then(function(data) {
@@ -471,10 +453,8 @@ var SendinBlueApi = require('sendin_blue_api');
471453
var defaultClient = SendinBlueApi.ApiClient.instance;
472454

473455
// Configure API key authorization: api-key
474-
var api-key = defaultClient.authentications['api-key'];
475-
api-key.apiKey = 'YOUR API KEY';
476-
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
477-
//api-key.apiKeyPrefix = 'Token';
456+
var apiKey = defaultClient.authentications['api-key'];
457+
apiKey.apiKey = 'YOUR API KEY';
478458

479459
var apiInstance = new SendinBlueApi.ContactsApi();
480460

@@ -519,10 +499,8 @@ var SendinBlueApi = require('sendin_blue_api');
519499
var defaultClient = SendinBlueApi.ApiClient.instance;
520500

521501
// Configure API key authorization: api-key
522-
var api-key = defaultClient.authentications['api-key'];
523-
api-key.apiKey = 'YOUR API KEY';
524-
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
525-
//api-key.apiKeyPrefix = 'Token';
502+
var apiKey = defaultClient.authentications['api-key'];
503+
apiKey.apiKey = 'YOUR API KEY';
526504

527505
var apiInstance = new SendinBlueApi.ContactsApi();
528506

@@ -567,10 +545,8 @@ var SendinBlueApi = require('sendin_blue_api');
567545
var defaultClient = SendinBlueApi.ApiClient.instance;
568546

569547
// Configure API key authorization: api-key
570-
var api-key = defaultClient.authentications['api-key'];
571-
api-key.apiKey = 'YOUR API KEY';
572-
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
573-
//api-key.apiKeyPrefix = 'Token';
548+
var apiKey = defaultClient.authentications['api-key'];
549+
apiKey.apiKey = 'YOUR API KEY';
574550

575551
var apiInstance = new SendinBlueApi.ContactsApi();
576552

@@ -618,10 +594,8 @@ var SendinBlueApi = require('sendin_blue_api');
618594
var defaultClient = SendinBlueApi.ApiClient.instance;
619595

620596
// Configure API key authorization: api-key
621-
var api-key = defaultClient.authentications['api-key'];
622-
api-key.apiKey = 'YOUR API KEY';
623-
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
624-
//api-key.apiKeyPrefix = 'Token';
597+
var apiKey = defaultClient.authentications['api-key'];
598+
apiKey.apiKey = 'YOUR API KEY';
625599

626600
var apiInstance = new SendinBlueApi.ContactsApi();
627601

@@ -674,10 +648,8 @@ var SendinBlueApi = require('sendin_blue_api');
674648
var defaultClient = SendinBlueApi.ApiClient.instance;
675649

676650
// Configure API key authorization: api-key
677-
var api-key = defaultClient.authentications['api-key'];
678-
api-key.apiKey = 'YOUR API KEY';
679-
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
680-
//api-key.apiKeyPrefix = 'Token';
651+
var apiKey = defaultClient.authentications['api-key'];
652+
apiKey.apiKey = 'YOUR API KEY';
681653

682654
var apiInstance = new SendinBlueApi.ContactsApi();
683655

@@ -722,10 +694,8 @@ var SendinBlueApi = require('sendin_blue_api');
722694
var defaultClient = SendinBlueApi.ApiClient.instance;
723695

724696
// Configure API key authorization: api-key
725-
var api-key = defaultClient.authentications['api-key'];
726-
api-key.apiKey = 'YOUR API KEY';
727-
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
728-
//api-key.apiKeyPrefix = 'Token';
697+
var apiKey = defaultClient.authentications['api-key'];
698+
apiKey.apiKey = 'YOUR API KEY';
729699

730700
var apiInstance = new SendinBlueApi.ContactsApi();
731701

@@ -776,10 +746,8 @@ var SendinBlueApi = require('sendin_blue_api');
776746
var defaultClient = SendinBlueApi.ApiClient.instance;
777747

778748
// Configure API key authorization: api-key
779-
var api-key = defaultClient.authentications['api-key'];
780-
api-key.apiKey = 'YOUR API KEY';
781-
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
782-
//api-key.apiKeyPrefix = 'Token';
749+
var apiKey = defaultClient.authentications['api-key'];
750+
apiKey.apiKey = 'YOUR API KEY';
783751

784752
var apiInstance = new SendinBlueApi.ContactsApi();
785753

@@ -827,10 +795,8 @@ var SendinBlueApi = require('sendin_blue_api');
827795
var defaultClient = SendinBlueApi.ApiClient.instance;
828796

829797
// Configure API key authorization: api-key
830-
var api-key = defaultClient.authentications['api-key'];
831-
api-key.apiKey = 'YOUR API KEY';
832-
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
833-
//api-key.apiKeyPrefix = 'Token';
798+
var apiKey = defaultClient.authentications['api-key'];
799+
apiKey.apiKey = 'YOUR API KEY';
834800

835801
var apiInstance = new SendinBlueApi.ContactsApi();
836802

@@ -875,10 +841,8 @@ var SendinBlueApi = require('sendin_blue_api');
875841
var defaultClient = SendinBlueApi.ApiClient.instance;
876842

877843
// Configure API key authorization: api-key
878-
var api-key = defaultClient.authentications['api-key'];
879-
api-key.apiKey = 'YOUR API KEY';
880-
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
881-
//api-key.apiKeyPrefix = 'Token';
844+
var apiKey = defaultClient.authentications['api-key'];
845+
apiKey.apiKey = 'YOUR API KEY';
882846

883847
var apiInstance = new SendinBlueApi.ContactsApi();
884848

@@ -928,10 +892,8 @@ var SendinBlueApi = require('sendin_blue_api');
928892
var defaultClient = SendinBlueApi.ApiClient.instance;
929893

930894
// Configure API key authorization: api-key
931-
var api-key = defaultClient.authentications['api-key'];
932-
api-key.apiKey = 'YOUR API KEY';
933-
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
934-
//api-key.apiKeyPrefix = 'Token';
895+
var apiKey = defaultClient.authentications['api-key'];
896+
apiKey.apiKey = 'YOUR API KEY';
935897

936898
var apiInstance = new SendinBlueApi.ContactsApi();
937899

@@ -976,10 +938,8 @@ var SendinBlueApi = require('sendin_blue_api');
976938
var defaultClient = SendinBlueApi.ApiClient.instance;
977939

978940
// Configure API key authorization: api-key
979-
var api-key = defaultClient.authentications['api-key'];
980-
api-key.apiKey = 'YOUR API KEY';
981-
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
982-
//api-key.apiKeyPrefix = 'Token';
941+
var apiKey = defaultClient.authentications['api-key'];
942+
apiKey.apiKey = 'YOUR API KEY';
983943

984944
var apiInstance = new SendinBlueApi.ContactsApi();
985945

@@ -1029,10 +989,8 @@ var SendinBlueApi = require('sendin_blue_api');
1029989
var defaultClient = SendinBlueApi.ApiClient.instance;
1030990

1031991
// Configure API key authorization: api-key
1032-
var api-key = defaultClient.authentications['api-key'];
1033-
api-key.apiKey = 'YOUR API KEY';
1034-
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
1035-
//api-key.apiKeyPrefix = 'Token';
992+
var apiKey = defaultClient.authentications['api-key'];
993+
apiKey.apiKey = 'YOUR API KEY';
1036994

1037995
var apiInstance = new SendinBlueApi.ContactsApi();
1038996

@@ -1077,10 +1035,8 @@ var SendinBlueApi = require('sendin_blue_api');
10771035
var defaultClient = SendinBlueApi.ApiClient.instance;
10781036

10791037
// Configure API key authorization: api-key
1080-
var api-key = defaultClient.authentications['api-key'];
1081-
api-key.apiKey = 'YOUR API KEY';
1082-
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
1083-
//api-key.apiKeyPrefix = 'Token';
1038+
var apiKey = defaultClient.authentications['api-key'];
1039+
apiKey.apiKey = 'YOUR API KEY';
10841040

10851041
var apiInstance = new SendinBlueApi.ContactsApi();
10861042

@@ -1128,10 +1084,8 @@ var SendinBlueApi = require('sendin_blue_api');
11281084
var defaultClient = SendinBlueApi.ApiClient.instance;
11291085

11301086
// Configure API key authorization: api-key
1131-
var api-key = defaultClient.authentications['api-key'];
1132-
api-key.apiKey = 'YOUR API KEY';
1133-
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
1134-
//api-key.apiKeyPrefix = 'Token';
1087+
var apiKey = defaultClient.authentications['api-key'];
1088+
apiKey.apiKey = 'YOUR API KEY';
11351089

11361090
var apiInstance = new SendinBlueApi.ContactsApi();
11371091

@@ -1179,10 +1133,8 @@ var SendinBlueApi = require('sendin_blue_api');
11791133
var defaultClient = SendinBlueApi.ApiClient.instance;
11801134

11811135
// Configure API key authorization: api-key
1182-
var api-key = defaultClient.authentications['api-key'];
1183-
api-key.apiKey = 'YOUR API KEY';
1184-
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
1185-
//api-key.apiKeyPrefix = 'Token';
1136+
var apiKey = defaultClient.authentications['api-key'];
1137+
apiKey.apiKey = 'YOUR API KEY';
11861138

11871139
var apiInstance = new SendinBlueApi.ContactsApi();
11881140

0 commit comments

Comments
 (0)