@globus/sdk 4.0.0 → 4.1.0
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/cjs/core/authorization/index.js +1 -1
- package/dist/cjs/core/authorization/index.js.map +1 -1
- package/dist/cjs/core/info/index.js +1 -1
- package/dist/cjs/core/info/index.js.map +1 -1
- package/dist/cjs/index.js +120 -38
- package/dist/cjs/index.js.map +4 -4
- package/dist/cjs/services/globus-connect-server/client.js +117 -37
- package/dist/cjs/services/globus-connect-server/client.js.map +4 -4
- package/dist/esm/core/info/version.d.ts +1 -1
- package/dist/esm/core/info/version.js +1 -1
- package/dist/esm/package.json +1 -1
- package/dist/esm/services/globus-connect-server/client.d.ts +205 -0
- package/dist/esm/services/globus-connect-server/client.d.ts.map +1 -1
- package/dist/esm/services/globus-connect-server/client.js +9 -0
- package/dist/esm/services/globus-connect-server/client.js.map +1 -1
- package/dist/esm/services/globus-connect-server/index.d.ts +1 -0
- package/dist/esm/services/globus-connect-server/index.d.ts.map +1 -1
- package/dist/esm/services/globus-connect-server/index.js +1 -0
- package/dist/esm/services/globus-connect-server/index.js.map +1 -1
- package/dist/esm/services/globus-connect-server/service/nodes.d.ts +59 -0
- package/dist/esm/services/globus-connect-server/service/nodes.d.ts.map +1 -0
- package/dist/esm/services/globus-connect-server/service/nodes.js +67 -0
- package/dist/esm/services/globus-connect-server/service/nodes.js.map +1 -0
- package/dist/umd/globus.production.js +2 -2
- package/dist/umd/globus.production.js.map +4 -4
- package/package.json +1 -1
|
@@ -52,7 +52,7 @@ function toString(info2) {
|
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
// src/core/info/version.ts
|
|
55
|
-
var VERSION = "
|
|
55
|
+
var VERSION = "4.0.0";
|
|
56
56
|
|
|
57
57
|
// src/core/info/index.ts
|
|
58
58
|
var VERSION2 = VERSION;
|
|
@@ -533,8 +533,80 @@ var update2 = function(configuration, path, options, sdkOptions) {
|
|
|
533
533
|
);
|
|
534
534
|
};
|
|
535
535
|
|
|
536
|
-
// src/services/globus-connect-server/service/
|
|
536
|
+
// src/services/globus-connect-server/service/nodes.ts
|
|
537
537
|
var getAll = function(configuration, options, sdkOptions) {
|
|
538
|
+
return serviceRequest(
|
|
539
|
+
{
|
|
540
|
+
service: configuration,
|
|
541
|
+
scope: getRequiredScopes(configuration),
|
|
542
|
+
path: `/api/nodes`
|
|
543
|
+
},
|
|
544
|
+
options,
|
|
545
|
+
sdkOptions
|
|
546
|
+
);
|
|
547
|
+
};
|
|
548
|
+
var get3 = function(configuration, node_id, options, sdkOptions) {
|
|
549
|
+
return serviceRequest(
|
|
550
|
+
{
|
|
551
|
+
service: configuration,
|
|
552
|
+
scope: getRequiredScopes(configuration),
|
|
553
|
+
path: `/api/nodes/${node_id}`
|
|
554
|
+
},
|
|
555
|
+
options,
|
|
556
|
+
sdkOptions
|
|
557
|
+
);
|
|
558
|
+
};
|
|
559
|
+
var remove2 = function(configuration, node_id, options, sdkOptions) {
|
|
560
|
+
return serviceRequest(
|
|
561
|
+
{
|
|
562
|
+
service: configuration,
|
|
563
|
+
scope: getRequiredScopes(configuration),
|
|
564
|
+
path: `/api/nodes/${node_id}`,
|
|
565
|
+
method: "DELETE" /* DELETE */
|
|
566
|
+
},
|
|
567
|
+
options,
|
|
568
|
+
sdkOptions
|
|
569
|
+
);
|
|
570
|
+
};
|
|
571
|
+
var create = function(configuration, options, sdkOptions) {
|
|
572
|
+
return serviceRequest(
|
|
573
|
+
{
|
|
574
|
+
service: configuration,
|
|
575
|
+
scope: getRequiredScopes(configuration),
|
|
576
|
+
path: `/api/nodes`,
|
|
577
|
+
method: "POST" /* POST */
|
|
578
|
+
},
|
|
579
|
+
options,
|
|
580
|
+
sdkOptions
|
|
581
|
+
);
|
|
582
|
+
};
|
|
583
|
+
var update3 = function(configuration, node_id, options, sdkOptions) {
|
|
584
|
+
return serviceRequest(
|
|
585
|
+
{
|
|
586
|
+
service: configuration,
|
|
587
|
+
scope: getRequiredScopes(configuration),
|
|
588
|
+
path: `/api/nodes/${node_id}`,
|
|
589
|
+
method: "PUT" /* PUT */
|
|
590
|
+
},
|
|
591
|
+
options,
|
|
592
|
+
sdkOptions
|
|
593
|
+
);
|
|
594
|
+
};
|
|
595
|
+
var patch2 = function(configuration, node_id, options, sdkOptions) {
|
|
596
|
+
return serviceRequest(
|
|
597
|
+
{
|
|
598
|
+
service: configuration,
|
|
599
|
+
scope: getRequiredScopes(configuration),
|
|
600
|
+
path: `/api/nodes/${node_id}`,
|
|
601
|
+
method: "PATCH" /* PATCH */
|
|
602
|
+
},
|
|
603
|
+
options,
|
|
604
|
+
sdkOptions
|
|
605
|
+
);
|
|
606
|
+
};
|
|
607
|
+
|
|
608
|
+
// src/services/globus-connect-server/service/roles.ts
|
|
609
|
+
var getAll2 = function(configuration, options, sdkOptions) {
|
|
538
610
|
return serviceRequest(
|
|
539
611
|
{
|
|
540
612
|
service: configuration,
|
|
@@ -545,7 +617,7 @@ var getAll = function(configuration, options, sdkOptions) {
|
|
|
545
617
|
sdkOptions
|
|
546
618
|
);
|
|
547
619
|
};
|
|
548
|
-
var
|
|
620
|
+
var get4 = function(configuration, role_id, options, sdkOptions) {
|
|
549
621
|
return serviceRequest(
|
|
550
622
|
{
|
|
551
623
|
service: configuration,
|
|
@@ -556,7 +628,7 @@ var get3 = function(configuration, role_id, options, sdkOptions) {
|
|
|
556
628
|
sdkOptions
|
|
557
629
|
);
|
|
558
630
|
};
|
|
559
|
-
var
|
|
631
|
+
var remove3 = function(configuration, role_id, options, sdkOptions) {
|
|
560
632
|
return serviceRequest(
|
|
561
633
|
{
|
|
562
634
|
service: configuration,
|
|
@@ -568,7 +640,7 @@ var remove2 = function(configuration, role_id, options, sdkOptions) {
|
|
|
568
640
|
sdkOptions
|
|
569
641
|
);
|
|
570
642
|
};
|
|
571
|
-
var
|
|
643
|
+
var create2 = function(configuration, options, sdkOptions) {
|
|
572
644
|
return serviceRequest(
|
|
573
645
|
{
|
|
574
646
|
service: configuration,
|
|
@@ -582,7 +654,7 @@ var create = function(configuration, options, sdkOptions) {
|
|
|
582
654
|
};
|
|
583
655
|
|
|
584
656
|
// src/services/globus-connect-server/service/storage-gateways.ts
|
|
585
|
-
var
|
|
657
|
+
var getAll3 = function(configuration, options, sdkOptions) {
|
|
586
658
|
return serviceRequest(
|
|
587
659
|
{
|
|
588
660
|
service: configuration,
|
|
@@ -593,7 +665,7 @@ var getAll2 = function(configuration, options, sdkOptions) {
|
|
|
593
665
|
sdkOptions
|
|
594
666
|
);
|
|
595
667
|
};
|
|
596
|
-
var
|
|
668
|
+
var get5 = function(configuration, storage_gateway_id, options, sdkOptions) {
|
|
597
669
|
return serviceRequest(
|
|
598
670
|
{
|
|
599
671
|
service: configuration,
|
|
@@ -604,7 +676,7 @@ var get4 = function(configuration, storage_gateway_id, options, sdkOptions) {
|
|
|
604
676
|
sdkOptions
|
|
605
677
|
);
|
|
606
678
|
};
|
|
607
|
-
var
|
|
679
|
+
var remove4 = function(configuration, storage_gateway_id, options, sdkOptions) {
|
|
608
680
|
return serviceRequest(
|
|
609
681
|
{
|
|
610
682
|
service: configuration,
|
|
@@ -616,7 +688,7 @@ var remove3 = function(configuration, storage_gateway_id, options, sdkOptions) {
|
|
|
616
688
|
sdkOptions
|
|
617
689
|
);
|
|
618
690
|
};
|
|
619
|
-
var
|
|
691
|
+
var create3 = function(configuration, options, sdkOptions) {
|
|
620
692
|
return serviceRequest(
|
|
621
693
|
{
|
|
622
694
|
service: configuration,
|
|
@@ -628,7 +700,7 @@ var create2 = function(configuration, options, sdkOptions) {
|
|
|
628
700
|
sdkOptions
|
|
629
701
|
);
|
|
630
702
|
};
|
|
631
|
-
var
|
|
703
|
+
var update4 = function(configuration, storage_gateway_id, options, sdkOptions) {
|
|
632
704
|
return serviceRequest(
|
|
633
705
|
{
|
|
634
706
|
service: configuration,
|
|
@@ -640,7 +712,7 @@ var update3 = function(configuration, storage_gateway_id, options, sdkOptions) {
|
|
|
640
712
|
sdkOptions
|
|
641
713
|
);
|
|
642
714
|
};
|
|
643
|
-
var
|
|
715
|
+
var patch3 = function(configuration, storage_gateway_id, options, sdkOptions) {
|
|
644
716
|
return serviceRequest(
|
|
645
717
|
{
|
|
646
718
|
service: configuration,
|
|
@@ -654,7 +726,7 @@ var patch2 = function(configuration, storage_gateway_id, options, sdkOptions) {
|
|
|
654
726
|
};
|
|
655
727
|
|
|
656
728
|
// src/services/globus-connect-server/service/user-credentials.ts
|
|
657
|
-
var
|
|
729
|
+
var getAll4 = function(configuration, options, sdkOptions) {
|
|
658
730
|
return serviceRequest(
|
|
659
731
|
{
|
|
660
732
|
service: configuration,
|
|
@@ -665,7 +737,7 @@ var getAll3 = function(configuration, options, sdkOptions) {
|
|
|
665
737
|
sdkOptions
|
|
666
738
|
);
|
|
667
739
|
};
|
|
668
|
-
var
|
|
740
|
+
var get6 = function(configuration, user_credential_id, options, sdkOptions) {
|
|
669
741
|
return serviceRequest(
|
|
670
742
|
{
|
|
671
743
|
service: configuration,
|
|
@@ -676,7 +748,7 @@ var get5 = function(configuration, user_credential_id, options, sdkOptions) {
|
|
|
676
748
|
sdkOptions
|
|
677
749
|
);
|
|
678
750
|
};
|
|
679
|
-
var
|
|
751
|
+
var remove5 = function(configuration, user_credential_id, options, sdkOptions) {
|
|
680
752
|
return serviceRequest(
|
|
681
753
|
{
|
|
682
754
|
service: configuration,
|
|
@@ -688,7 +760,7 @@ var remove4 = function(configuration, user_credential_id, options, sdkOptions) {
|
|
|
688
760
|
sdkOptions
|
|
689
761
|
);
|
|
690
762
|
};
|
|
691
|
-
var
|
|
763
|
+
var create4 = function(configuration, options, sdkOptions) {
|
|
692
764
|
return serviceRequest(
|
|
693
765
|
{
|
|
694
766
|
service: configuration,
|
|
@@ -700,7 +772,7 @@ var create3 = function(configuration, options, sdkOptions) {
|
|
|
700
772
|
sdkOptions
|
|
701
773
|
);
|
|
702
774
|
};
|
|
703
|
-
var
|
|
775
|
+
var update5 = function(configuration, user_credential_id, options, sdkOptions) {
|
|
704
776
|
return serviceRequest(
|
|
705
777
|
{
|
|
706
778
|
service: configuration,
|
|
@@ -712,7 +784,7 @@ var update4 = function(configuration, user_credential_id, options, sdkOptions) {
|
|
|
712
784
|
sdkOptions
|
|
713
785
|
);
|
|
714
786
|
};
|
|
715
|
-
var
|
|
787
|
+
var patch4 = function(configuration, user_credential_id, options, sdkOptions) {
|
|
716
788
|
return serviceRequest(
|
|
717
789
|
{
|
|
718
790
|
service: configuration,
|
|
@@ -748,7 +820,7 @@ function getRequiredScopes(configuration) {
|
|
|
748
820
|
}
|
|
749
821
|
|
|
750
822
|
// src/services/globus-connect-server/service/collections.ts
|
|
751
|
-
var
|
|
823
|
+
var getAll5 = function(configuration, options, sdkOptions) {
|
|
752
824
|
return serviceRequest(
|
|
753
825
|
{
|
|
754
826
|
service: configuration,
|
|
@@ -759,7 +831,7 @@ var getAll4 = function(configuration, options, sdkOptions) {
|
|
|
759
831
|
sdkOptions
|
|
760
832
|
);
|
|
761
833
|
};
|
|
762
|
-
var
|
|
834
|
+
var get7 = function(configuration, collection_id, options, sdkOptions) {
|
|
763
835
|
return serviceRequest(
|
|
764
836
|
{
|
|
765
837
|
service: configuration,
|
|
@@ -770,7 +842,7 @@ var get6 = function(configuration, collection_id, options, sdkOptions) {
|
|
|
770
842
|
sdkOptions
|
|
771
843
|
);
|
|
772
844
|
};
|
|
773
|
-
var
|
|
845
|
+
var remove6 = function(configuration, collection_id, options, sdkOptions) {
|
|
774
846
|
return serviceRequest(
|
|
775
847
|
{
|
|
776
848
|
service: configuration,
|
|
@@ -782,7 +854,7 @@ var remove5 = function(configuration, collection_id, options, sdkOptions) {
|
|
|
782
854
|
sdkOptions
|
|
783
855
|
);
|
|
784
856
|
};
|
|
785
|
-
var
|
|
857
|
+
var create5 = function(configuration, options, sdkOptions) {
|
|
786
858
|
return serviceRequest(
|
|
787
859
|
{
|
|
788
860
|
service: configuration,
|
|
@@ -794,7 +866,7 @@ var create4 = function(configuration, options, sdkOptions) {
|
|
|
794
866
|
sdkOptions
|
|
795
867
|
);
|
|
796
868
|
};
|
|
797
|
-
var
|
|
869
|
+
var update6 = function(configuration, collection_id, options, sdkOptions) {
|
|
798
870
|
return serviceRequest(
|
|
799
871
|
{
|
|
800
872
|
service: configuration,
|
|
@@ -806,7 +878,7 @@ var update5 = function(configuration, collection_id, options, sdkOptions) {
|
|
|
806
878
|
sdkOptions
|
|
807
879
|
);
|
|
808
880
|
};
|
|
809
|
-
var
|
|
881
|
+
var patch5 = function(configuration, collection_id, options, sdkOptions) {
|
|
810
882
|
return serviceRequest(
|
|
811
883
|
{
|
|
812
884
|
service: configuration,
|
|
@@ -865,16 +937,32 @@ function getClient(configuration) {
|
|
|
865
937
|
info: bind(info, configuration)
|
|
866
938
|
},
|
|
867
939
|
collections: {
|
|
940
|
+
get: bind(get7, configuration),
|
|
941
|
+
getAll: bind(getAll5, configuration),
|
|
942
|
+
create: bind(create5, configuration),
|
|
943
|
+
remove: bind(remove6, configuration),
|
|
944
|
+
update: bind(update6, configuration),
|
|
945
|
+
patch: bind(patch5, configuration),
|
|
946
|
+
updateOwnerString: bind(updateOwnerString2, configuration),
|
|
947
|
+
resetOwnerString: bind(resetOwnerString2, configuration)
|
|
948
|
+
},
|
|
949
|
+
nodes: {
|
|
950
|
+
get: bind(get3, configuration),
|
|
951
|
+
getAll: bind(getAll, configuration),
|
|
952
|
+
create: bind(create, configuration),
|
|
953
|
+
remove: bind(remove2, configuration),
|
|
954
|
+
update: bind(update3, configuration),
|
|
955
|
+
patch: bind(patch2, configuration)
|
|
956
|
+
},
|
|
957
|
+
userCredentials: {
|
|
868
958
|
get: bind(get6, configuration),
|
|
869
959
|
getAll: bind(getAll4, configuration),
|
|
870
960
|
create: bind(create4, configuration),
|
|
871
961
|
remove: bind(remove5, configuration),
|
|
872
962
|
update: bind(update5, configuration),
|
|
873
|
-
patch: bind(patch4, configuration)
|
|
874
|
-
updateOwnerString: bind(updateOwnerString2, configuration),
|
|
875
|
-
resetOwnerString: bind(resetOwnerString2, configuration)
|
|
963
|
+
patch: bind(patch4, configuration)
|
|
876
964
|
},
|
|
877
|
-
|
|
965
|
+
storageGateways: {
|
|
878
966
|
get: bind(get5, configuration),
|
|
879
967
|
getAll: bind(getAll3, configuration),
|
|
880
968
|
create: bind(create3, configuration),
|
|
@@ -882,19 +970,11 @@ function getClient(configuration) {
|
|
|
882
970
|
update: bind(update4, configuration),
|
|
883
971
|
patch: bind(patch3, configuration)
|
|
884
972
|
},
|
|
885
|
-
|
|
973
|
+
roles: {
|
|
886
974
|
get: bind(get4, configuration),
|
|
887
975
|
getAll: bind(getAll2, configuration),
|
|
888
976
|
create: bind(create2, configuration),
|
|
889
|
-
remove: bind(remove3, configuration)
|
|
890
|
-
update: bind(update3, configuration),
|
|
891
|
-
patch: bind(patch2, configuration)
|
|
892
|
-
},
|
|
893
|
-
roles: {
|
|
894
|
-
get: bind(get3, configuration),
|
|
895
|
-
getAll: bind(getAll, configuration),
|
|
896
|
-
create: bind(create, configuration),
|
|
897
|
-
remove: bind(remove2, configuration)
|
|
977
|
+
remove: bind(remove3, configuration)
|
|
898
978
|
},
|
|
899
979
|
https: {
|
|
900
980
|
get: bind(get2, configuration),
|