@envsync-cloud/envsync-ts-sdk 0.1.2 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +239 -81
- package/dist/index.d.ts +239 -81
- package/dist/index.global.js +308 -104
- package/dist/index.js +314 -104
- package/dist/index.mjs +311 -104
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -378,9 +378,9 @@ var AccessService = class {
|
|
|
378
378
|
this.httpRequest = httpRequest;
|
|
379
379
|
}
|
|
380
380
|
/**
|
|
381
|
-
*
|
|
381
|
+
* Initiate CLI Login
|
|
382
382
|
* Generate authentication URL for CLI login
|
|
383
|
-
* @returns LoginUrlResponse CLI login
|
|
383
|
+
* @returns LoginUrlResponse CLI login initiated successfully.
|
|
384
384
|
* @throws ApiError
|
|
385
385
|
*/
|
|
386
386
|
createCliLogin() {
|
|
@@ -392,26 +392,6 @@ var AccessService = class {
|
|
|
392
392
|
}
|
|
393
393
|
});
|
|
394
394
|
}
|
|
395
|
-
/**
|
|
396
|
-
* CLI Login Callback
|
|
397
|
-
* Handle CLI login callback from Auth0
|
|
398
|
-
* @param code
|
|
399
|
-
* @returns void
|
|
400
|
-
* @throws ApiError
|
|
401
|
-
*/
|
|
402
|
-
callbackCliLogin(code) {
|
|
403
|
-
return this.httpRequest.request({
|
|
404
|
-
method: "GET",
|
|
405
|
-
url: "/api/access/cli/callback",
|
|
406
|
-
query: {
|
|
407
|
-
"code": code
|
|
408
|
-
},
|
|
409
|
-
errors: {
|
|
410
|
-
302: `Redirect with authentication token`,
|
|
411
|
-
500: `Internal server error`
|
|
412
|
-
}
|
|
413
|
-
});
|
|
414
|
-
}
|
|
415
395
|
/**
|
|
416
396
|
* Create Web Login URL
|
|
417
397
|
* Generate authentication URL for web login
|
|
@@ -483,6 +463,125 @@ var AccessService = class {
|
|
|
483
463
|
}
|
|
484
464
|
};
|
|
485
465
|
|
|
466
|
+
// src/services/ApiKeysService.ts
|
|
467
|
+
var ApiKeysService = class {
|
|
468
|
+
constructor(httpRequest) {
|
|
469
|
+
this.httpRequest = httpRequest;
|
|
470
|
+
}
|
|
471
|
+
/**
|
|
472
|
+
* Create API Key
|
|
473
|
+
* Create a new API key for the organization
|
|
474
|
+
* @param requestBody
|
|
475
|
+
* @returns ApiKeyResponse API key created successfully
|
|
476
|
+
* @throws ApiError
|
|
477
|
+
*/
|
|
478
|
+
createApiKey(requestBody) {
|
|
479
|
+
return this.httpRequest.request({
|
|
480
|
+
method: "POST",
|
|
481
|
+
url: "/api/api_key",
|
|
482
|
+
body: requestBody,
|
|
483
|
+
mediaType: "application/json",
|
|
484
|
+
errors: {
|
|
485
|
+
500: `Internal server error`
|
|
486
|
+
}
|
|
487
|
+
});
|
|
488
|
+
}
|
|
489
|
+
/**
|
|
490
|
+
* Get All API Keys
|
|
491
|
+
* Retrieve all API keys for the organization
|
|
492
|
+
* @returns ApiKeysResponse API keys retrieved successfully
|
|
493
|
+
* @throws ApiError
|
|
494
|
+
*/
|
|
495
|
+
getAllApiKeys() {
|
|
496
|
+
return this.httpRequest.request({
|
|
497
|
+
method: "GET",
|
|
498
|
+
url: "/api/api_key",
|
|
499
|
+
errors: {
|
|
500
|
+
500: `Internal server error`
|
|
501
|
+
}
|
|
502
|
+
});
|
|
503
|
+
}
|
|
504
|
+
/**
|
|
505
|
+
* Get API Key
|
|
506
|
+
* Retrieve a specific API key
|
|
507
|
+
* @param id
|
|
508
|
+
* @returns ApiKeyResponse API key retrieved successfully
|
|
509
|
+
* @throws ApiError
|
|
510
|
+
*/
|
|
511
|
+
getApiKey(id) {
|
|
512
|
+
return this.httpRequest.request({
|
|
513
|
+
method: "GET",
|
|
514
|
+
url: "/api/api_key/{id}",
|
|
515
|
+
path: {
|
|
516
|
+
"id": id
|
|
517
|
+
},
|
|
518
|
+
errors: {
|
|
519
|
+
500: `Internal server error`
|
|
520
|
+
}
|
|
521
|
+
});
|
|
522
|
+
}
|
|
523
|
+
/**
|
|
524
|
+
* Update API Key
|
|
525
|
+
* Update an existing API key
|
|
526
|
+
* @param id
|
|
527
|
+
* @param requestBody
|
|
528
|
+
* @returns ApiKeyResponse API key updated successfully
|
|
529
|
+
* @throws ApiError
|
|
530
|
+
*/
|
|
531
|
+
updateApiKey(id, requestBody) {
|
|
532
|
+
return this.httpRequest.request({
|
|
533
|
+
method: "PUT",
|
|
534
|
+
url: "/api/api_key/{id}",
|
|
535
|
+
path: {
|
|
536
|
+
"id": id
|
|
537
|
+
},
|
|
538
|
+
body: requestBody,
|
|
539
|
+
mediaType: "application/json",
|
|
540
|
+
errors: {
|
|
541
|
+
500: `Internal server error`
|
|
542
|
+
}
|
|
543
|
+
});
|
|
544
|
+
}
|
|
545
|
+
/**
|
|
546
|
+
* Delete API Key
|
|
547
|
+
* Delete an existing API key
|
|
548
|
+
* @param id
|
|
549
|
+
* @returns ApiKeyResponse API key deleted successfully
|
|
550
|
+
* @throws ApiError
|
|
551
|
+
*/
|
|
552
|
+
deleteApiKey(id) {
|
|
553
|
+
return this.httpRequest.request({
|
|
554
|
+
method: "DELETE",
|
|
555
|
+
url: "/api/api_key/{id}",
|
|
556
|
+
path: {
|
|
557
|
+
"id": id
|
|
558
|
+
},
|
|
559
|
+
errors: {
|
|
560
|
+
500: `Internal server error`
|
|
561
|
+
}
|
|
562
|
+
});
|
|
563
|
+
}
|
|
564
|
+
/**
|
|
565
|
+
* Regenerate API Key
|
|
566
|
+
* Generate a new value for an existing API key
|
|
567
|
+
* @param id
|
|
568
|
+
* @returns RegenerateApiKeyResponse API key regenerated successfully
|
|
569
|
+
* @throws ApiError
|
|
570
|
+
*/
|
|
571
|
+
regenerateApiKey(id) {
|
|
572
|
+
return this.httpRequest.request({
|
|
573
|
+
method: "GET",
|
|
574
|
+
url: "/api/api_key/{id}/regenerate",
|
|
575
|
+
path: {
|
|
576
|
+
"id": id
|
|
577
|
+
},
|
|
578
|
+
errors: {
|
|
579
|
+
500: `Internal server error`
|
|
580
|
+
}
|
|
581
|
+
});
|
|
582
|
+
}
|
|
583
|
+
};
|
|
584
|
+
|
|
486
585
|
// src/services/ApplicationsService.ts
|
|
487
586
|
var ApplicationsService = class {
|
|
488
587
|
constructor(httpRequest) {
|
|
@@ -596,7 +695,7 @@ var AuditLogsService = class {
|
|
|
596
695
|
* @returns GetAuditLogsResponse Audit logs retrieved successfully
|
|
597
696
|
* @throws ApiError
|
|
598
697
|
*/
|
|
599
|
-
getAuditLogs(page = 1, perPage = 20) {
|
|
698
|
+
getAuditLogs(page = "1", perPage = "20") {
|
|
600
699
|
return this.httpRequest.request({
|
|
601
700
|
method: "GET",
|
|
602
701
|
url: "/api/audit_log",
|
|
@@ -653,24 +752,6 @@ var EnvironmentTypesService = class {
|
|
|
653
752
|
}
|
|
654
753
|
});
|
|
655
754
|
}
|
|
656
|
-
/**
|
|
657
|
-
* Create Environment Type
|
|
658
|
-
* Create a new environment type
|
|
659
|
-
* @param requestBody
|
|
660
|
-
* @returns EnvTypeResponse Environment type created successfully
|
|
661
|
-
* @throws ApiError
|
|
662
|
-
*/
|
|
663
|
-
createEnvType(requestBody) {
|
|
664
|
-
return this.httpRequest.request({
|
|
665
|
-
method: "POST",
|
|
666
|
-
url: "/api/env_type",
|
|
667
|
-
body: requestBody,
|
|
668
|
-
mediaType: "application/json",
|
|
669
|
-
errors: {
|
|
670
|
-
500: `Internal server error`
|
|
671
|
-
}
|
|
672
|
-
});
|
|
673
|
-
}
|
|
674
755
|
/**
|
|
675
756
|
* Get Environment Type
|
|
676
757
|
* Retrieve a specific environment type
|
|
@@ -690,47 +771,6 @@ var EnvironmentTypesService = class {
|
|
|
690
771
|
}
|
|
691
772
|
});
|
|
692
773
|
}
|
|
693
|
-
/**
|
|
694
|
-
* Update Environment Type
|
|
695
|
-
* Update an existing environment type
|
|
696
|
-
* @param id
|
|
697
|
-
* @param requestBody
|
|
698
|
-
* @returns EnvTypeResponse Environment type updated successfully
|
|
699
|
-
* @throws ApiError
|
|
700
|
-
*/
|
|
701
|
-
updateEnvType(id, requestBody) {
|
|
702
|
-
return this.httpRequest.request({
|
|
703
|
-
method: "PATCH",
|
|
704
|
-
url: "/api/env_type/{id}",
|
|
705
|
-
path: {
|
|
706
|
-
"id": id
|
|
707
|
-
},
|
|
708
|
-
body: requestBody,
|
|
709
|
-
mediaType: "application/json",
|
|
710
|
-
errors: {
|
|
711
|
-
500: `Internal server error`
|
|
712
|
-
}
|
|
713
|
-
});
|
|
714
|
-
}
|
|
715
|
-
/**
|
|
716
|
-
* Delete Environment Type
|
|
717
|
-
* Delete an existing environment type
|
|
718
|
-
* @param id
|
|
719
|
-
* @returns DeleteEnvTypeRequest Environment type deleted successfully
|
|
720
|
-
* @throws ApiError
|
|
721
|
-
*/
|
|
722
|
-
deleteEnvType(id) {
|
|
723
|
-
return this.httpRequest.request({
|
|
724
|
-
method: "DELETE",
|
|
725
|
-
url: "/api/env_type/{id}",
|
|
726
|
-
path: {
|
|
727
|
-
"id": id
|
|
728
|
-
},
|
|
729
|
-
errors: {
|
|
730
|
-
500: `Internal server error`
|
|
731
|
-
}
|
|
732
|
-
});
|
|
733
|
-
}
|
|
734
774
|
};
|
|
735
775
|
|
|
736
776
|
// src/services/EnvironmentVariablesService.ts
|
|
@@ -797,20 +837,16 @@ var EnvironmentVariablesService = class {
|
|
|
797
837
|
});
|
|
798
838
|
}
|
|
799
839
|
/**
|
|
800
|
-
*
|
|
801
|
-
*
|
|
802
|
-
* @param key
|
|
840
|
+
* Create Environment Variable
|
|
841
|
+
* Create a new environment variable
|
|
803
842
|
* @param requestBody
|
|
804
|
-
* @returns EnvResponse Environment variable
|
|
843
|
+
* @returns EnvResponse Environment variable created successfully
|
|
805
844
|
* @throws ApiError
|
|
806
845
|
*/
|
|
807
|
-
|
|
846
|
+
createEnv(requestBody) {
|
|
808
847
|
return this.httpRequest.request({
|
|
809
|
-
method: "
|
|
810
|
-
url: "/api/env/
|
|
811
|
-
path: {
|
|
812
|
-
"key": key
|
|
813
|
-
},
|
|
848
|
+
method: "PUT",
|
|
849
|
+
url: "/api/env/single",
|
|
814
850
|
body: requestBody,
|
|
815
851
|
mediaType: "application/json",
|
|
816
852
|
errors: {
|
|
@@ -819,16 +855,16 @@ var EnvironmentVariablesService = class {
|
|
|
819
855
|
});
|
|
820
856
|
}
|
|
821
857
|
/**
|
|
822
|
-
* Create Environment
|
|
823
|
-
* Create a
|
|
858
|
+
* Batch Create Environment Variables
|
|
859
|
+
* Create multiple environment variables in a single request
|
|
824
860
|
* @param requestBody
|
|
825
|
-
* @returns
|
|
861
|
+
* @returns EnvsResponse Environment variables created successfully
|
|
826
862
|
* @throws ApiError
|
|
827
863
|
*/
|
|
828
|
-
|
|
864
|
+
batchCreateEnvs(requestBody) {
|
|
829
865
|
return this.httpRequest.request({
|
|
830
866
|
method: "PUT",
|
|
831
|
-
url: "/api/env/
|
|
867
|
+
url: "/api/env/batch",
|
|
832
868
|
body: requestBody,
|
|
833
869
|
mediaType: "application/json",
|
|
834
870
|
errors: {
|
|
@@ -837,15 +873,15 @@ var EnvironmentVariablesService = class {
|
|
|
837
873
|
});
|
|
838
874
|
}
|
|
839
875
|
/**
|
|
840
|
-
* Batch
|
|
841
|
-
*
|
|
876
|
+
* Batch Update Environment Variables
|
|
877
|
+
* Update multiple environment variables in a single request
|
|
842
878
|
* @param requestBody
|
|
843
|
-
* @returns EnvsResponse Environment variables
|
|
879
|
+
* @returns EnvsResponse Environment variables updated successfully
|
|
844
880
|
* @throws ApiError
|
|
845
881
|
*/
|
|
846
|
-
|
|
882
|
+
batchUpdateEnvs(requestBody) {
|
|
847
883
|
return this.httpRequest.request({
|
|
848
|
-
method: "
|
|
884
|
+
method: "PATCH",
|
|
849
885
|
url: "/api/env/batch",
|
|
850
886
|
body: requestBody,
|
|
851
887
|
mediaType: "application/json",
|
|
@@ -854,6 +890,53 @@ var EnvironmentVariablesService = class {
|
|
|
854
890
|
}
|
|
855
891
|
});
|
|
856
892
|
}
|
|
893
|
+
/**
|
|
894
|
+
* Update Environment Variable
|
|
895
|
+
* Update an existing environment variable
|
|
896
|
+
* @param key
|
|
897
|
+
* @param requestBody
|
|
898
|
+
* @returns EnvResponse Environment variable updated successfully
|
|
899
|
+
* @throws ApiError
|
|
900
|
+
*/
|
|
901
|
+
updateEnv(key, requestBody) {
|
|
902
|
+
return this.httpRequest.request({
|
|
903
|
+
method: "PATCH",
|
|
904
|
+
url: "/api/env/i/{key}",
|
|
905
|
+
path: {
|
|
906
|
+
"key": key
|
|
907
|
+
},
|
|
908
|
+
body: requestBody,
|
|
909
|
+
mediaType: "application/json",
|
|
910
|
+
errors: {
|
|
911
|
+
500: `Internal server error`
|
|
912
|
+
}
|
|
913
|
+
});
|
|
914
|
+
}
|
|
915
|
+
};
|
|
916
|
+
|
|
917
|
+
// src/services/FileUploadService.ts
|
|
918
|
+
var FileUploadService = class {
|
|
919
|
+
constructor(httpRequest) {
|
|
920
|
+
this.httpRequest = httpRequest;
|
|
921
|
+
}
|
|
922
|
+
/**
|
|
923
|
+
* Upload File
|
|
924
|
+
* Upload a file to the server. The file should be less than 5MB in size.
|
|
925
|
+
* @param formData
|
|
926
|
+
* @returns UploadFileResponse File uploaded successfully
|
|
927
|
+
* @throws ApiError
|
|
928
|
+
*/
|
|
929
|
+
uploadFile(formData) {
|
|
930
|
+
return this.httpRequest.request({
|
|
931
|
+
method: "POST",
|
|
932
|
+
url: "/api/upload/file",
|
|
933
|
+
formData,
|
|
934
|
+
mediaType: "multipart/form-data",
|
|
935
|
+
errors: {
|
|
936
|
+
500: `Internal server error`
|
|
937
|
+
}
|
|
938
|
+
});
|
|
939
|
+
}
|
|
857
940
|
};
|
|
858
941
|
|
|
859
942
|
// src/services/OnboardingService.ts
|
|
@@ -1084,6 +1167,121 @@ var OrganizationsService = class {
|
|
|
1084
1167
|
}
|
|
1085
1168
|
};
|
|
1086
1169
|
|
|
1170
|
+
// src/services/RolesService.ts
|
|
1171
|
+
var RolesService = class {
|
|
1172
|
+
constructor(httpRequest) {
|
|
1173
|
+
this.httpRequest = httpRequest;
|
|
1174
|
+
}
|
|
1175
|
+
/**
|
|
1176
|
+
* Get All Roles
|
|
1177
|
+
* Retrieve all roles in the organization
|
|
1178
|
+
* @returns RolesResponse Roles retrieved successfully
|
|
1179
|
+
* @throws ApiError
|
|
1180
|
+
*/
|
|
1181
|
+
getAllRoles() {
|
|
1182
|
+
return this.httpRequest.request({
|
|
1183
|
+
method: "GET",
|
|
1184
|
+
url: "/api/role",
|
|
1185
|
+
errors: {
|
|
1186
|
+
500: `Internal server error`
|
|
1187
|
+
}
|
|
1188
|
+
});
|
|
1189
|
+
}
|
|
1190
|
+
/**
|
|
1191
|
+
* Create Role
|
|
1192
|
+
* Create a new role in the organization
|
|
1193
|
+
* @param requestBody
|
|
1194
|
+
* @returns RoleResponse Role created successfully
|
|
1195
|
+
* @throws ApiError
|
|
1196
|
+
*/
|
|
1197
|
+
createRole(requestBody) {
|
|
1198
|
+
return this.httpRequest.request({
|
|
1199
|
+
method: "POST",
|
|
1200
|
+
url: "/api/role",
|
|
1201
|
+
body: requestBody,
|
|
1202
|
+
mediaType: "application/json",
|
|
1203
|
+
errors: {
|
|
1204
|
+
500: `Internal server error`
|
|
1205
|
+
}
|
|
1206
|
+
});
|
|
1207
|
+
}
|
|
1208
|
+
/**
|
|
1209
|
+
* Get Role Statistics
|
|
1210
|
+
* Retrieve statistics about roles in the organization
|
|
1211
|
+
* @returns RoleStatsResponse Role statistics retrieved successfully
|
|
1212
|
+
* @throws ApiError
|
|
1213
|
+
*/
|
|
1214
|
+
getRoleStats() {
|
|
1215
|
+
return this.httpRequest.request({
|
|
1216
|
+
method: "GET",
|
|
1217
|
+
url: "/api/role/stats",
|
|
1218
|
+
errors: {
|
|
1219
|
+
500: `Internal server error`
|
|
1220
|
+
}
|
|
1221
|
+
});
|
|
1222
|
+
}
|
|
1223
|
+
/**
|
|
1224
|
+
* Get Role
|
|
1225
|
+
* Retrieve a specific role by ID
|
|
1226
|
+
* @param id
|
|
1227
|
+
* @returns RoleResponse Role retrieved successfully
|
|
1228
|
+
* @throws ApiError
|
|
1229
|
+
*/
|
|
1230
|
+
getRole(id) {
|
|
1231
|
+
return this.httpRequest.request({
|
|
1232
|
+
method: "GET",
|
|
1233
|
+
url: "/api/role/{id}",
|
|
1234
|
+
path: {
|
|
1235
|
+
"id": id
|
|
1236
|
+
},
|
|
1237
|
+
errors: {
|
|
1238
|
+
500: `Internal server error`
|
|
1239
|
+
}
|
|
1240
|
+
});
|
|
1241
|
+
}
|
|
1242
|
+
/**
|
|
1243
|
+
* Update Role
|
|
1244
|
+
* Update an existing role
|
|
1245
|
+
* @param id
|
|
1246
|
+
* @param requestBody
|
|
1247
|
+
* @returns RoleResponse Role updated successfully
|
|
1248
|
+
* @throws ApiError
|
|
1249
|
+
*/
|
|
1250
|
+
updateRole(id, requestBody) {
|
|
1251
|
+
return this.httpRequest.request({
|
|
1252
|
+
method: "PATCH",
|
|
1253
|
+
url: "/api/role/{id}",
|
|
1254
|
+
path: {
|
|
1255
|
+
"id": id
|
|
1256
|
+
},
|
|
1257
|
+
body: requestBody,
|
|
1258
|
+
mediaType: "application/json",
|
|
1259
|
+
errors: {
|
|
1260
|
+
500: `Internal server error`
|
|
1261
|
+
}
|
|
1262
|
+
});
|
|
1263
|
+
}
|
|
1264
|
+
/**
|
|
1265
|
+
* Delete Role
|
|
1266
|
+
* Delete an existing role (non-master roles only)
|
|
1267
|
+
* @param id
|
|
1268
|
+
* @returns RoleResponse Role deleted successfully
|
|
1269
|
+
* @throws ApiError
|
|
1270
|
+
*/
|
|
1271
|
+
deleteRole(id) {
|
|
1272
|
+
return this.httpRequest.request({
|
|
1273
|
+
method: "DELETE",
|
|
1274
|
+
url: "/api/role/{id}",
|
|
1275
|
+
path: {
|
|
1276
|
+
"id": id
|
|
1277
|
+
},
|
|
1278
|
+
errors: {
|
|
1279
|
+
500: `Internal server error`
|
|
1280
|
+
}
|
|
1281
|
+
});
|
|
1282
|
+
}
|
|
1283
|
+
};
|
|
1284
|
+
|
|
1087
1285
|
// src/services/UsersService.ts
|
|
1088
1286
|
var UsersService = class {
|
|
1089
1287
|
constructor(httpRequest) {
|
|
@@ -1213,19 +1411,22 @@ var UsersService = class {
|
|
|
1213
1411
|
// src/EnvSyncAPISDK.ts
|
|
1214
1412
|
var EnvSyncAPISDK = class {
|
|
1215
1413
|
access;
|
|
1414
|
+
apiKeys;
|
|
1216
1415
|
applications;
|
|
1217
1416
|
auditLogs;
|
|
1218
1417
|
authentication;
|
|
1219
1418
|
environmentTypes;
|
|
1220
1419
|
environmentVariables;
|
|
1420
|
+
fileUpload;
|
|
1221
1421
|
onboarding;
|
|
1222
1422
|
organizations;
|
|
1423
|
+
roles;
|
|
1223
1424
|
users;
|
|
1224
1425
|
request;
|
|
1225
1426
|
constructor(config, HttpRequest = FetchHttpRequest) {
|
|
1226
1427
|
this.request = new HttpRequest({
|
|
1227
1428
|
BASE: config?.BASE ?? "http://localhost:8600",
|
|
1228
|
-
VERSION: config?.VERSION ?? "0.
|
|
1429
|
+
VERSION: config?.VERSION ?? "0.2.2",
|
|
1229
1430
|
WITH_CREDENTIALS: config?.WITH_CREDENTIALS ?? false,
|
|
1230
1431
|
CREDENTIALS: config?.CREDENTIALS ?? "include",
|
|
1231
1432
|
TOKEN: config?.TOKEN,
|
|
@@ -1235,13 +1436,16 @@ var EnvSyncAPISDK = class {
|
|
|
1235
1436
|
ENCODE_PATH: config?.ENCODE_PATH
|
|
1236
1437
|
});
|
|
1237
1438
|
this.access = new AccessService(this.request);
|
|
1439
|
+
this.apiKeys = new ApiKeysService(this.request);
|
|
1238
1440
|
this.applications = new ApplicationsService(this.request);
|
|
1239
1441
|
this.auditLogs = new AuditLogsService(this.request);
|
|
1240
1442
|
this.authentication = new AuthenticationService(this.request);
|
|
1241
1443
|
this.environmentTypes = new EnvironmentTypesService(this.request);
|
|
1242
1444
|
this.environmentVariables = new EnvironmentVariablesService(this.request);
|
|
1445
|
+
this.fileUpload = new FileUploadService(this.request);
|
|
1243
1446
|
this.onboarding = new OnboardingService(this.request);
|
|
1244
1447
|
this.organizations = new OrganizationsService(this.request);
|
|
1448
|
+
this.roles = new RolesService(this.request);
|
|
1245
1449
|
this.users = new UsersService(this.request);
|
|
1246
1450
|
}
|
|
1247
1451
|
};
|
|
@@ -1249,7 +1453,7 @@ var EnvSyncAPISDK = class {
|
|
|
1249
1453
|
// src/core/OpenAPI.ts
|
|
1250
1454
|
var OpenAPI = {
|
|
1251
1455
|
BASE: "http://localhost:8600",
|
|
1252
|
-
VERSION: "0.
|
|
1456
|
+
VERSION: "0.2.2",
|
|
1253
1457
|
WITH_CREDENTIALS: false,
|
|
1254
1458
|
CREDENTIALS: "include",
|
|
1255
1459
|
TOKEN: void 0,
|
|
@@ -1261,6 +1465,7 @@ var OpenAPI = {
|
|
|
1261
1465
|
export {
|
|
1262
1466
|
AccessService,
|
|
1263
1467
|
ApiError,
|
|
1468
|
+
ApiKeysService,
|
|
1264
1469
|
ApplicationsService,
|
|
1265
1470
|
AuditLogsService,
|
|
1266
1471
|
AuthenticationService,
|
|
@@ -1270,8 +1475,10 @@ export {
|
|
|
1270
1475
|
EnvSyncAPISDK,
|
|
1271
1476
|
EnvironmentTypesService,
|
|
1272
1477
|
EnvironmentVariablesService,
|
|
1478
|
+
FileUploadService,
|
|
1273
1479
|
OnboardingService,
|
|
1274
1480
|
OpenAPI,
|
|
1275
1481
|
OrganizationsService,
|
|
1482
|
+
RolesService,
|
|
1276
1483
|
UsersService
|
|
1277
1484
|
};
|