@globus/sdk 5.6.0 → 5.8.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/index.js CHANGED
@@ -38,6 +38,7 @@ __export(index_exports, {
38
38
  groups: () => groups_exports2,
39
39
  info: () => info_exports,
40
40
  logger: () => logger_exports,
41
+ request: () => serviceRequest,
41
42
  search: () => search_exports,
42
43
  timer: () => timer_exports,
43
44
  transfer: () => transfer_exports,
@@ -71,7 +72,7 @@ function toString(info2) {
71
72
  }
72
73
 
73
74
  // src/core/info/version.ts
74
- var VERSION = "5.6.0";
75
+ var VERSION = "5.8.0";
75
76
 
76
77
  // src/core/info/index.ts
77
78
  var VERSION2 = VERSION;
@@ -2628,6 +2629,7 @@ __export(flows_exports, {
2628
2629
  getAll: () => getAll10,
2629
2630
  remove: () => remove8,
2630
2631
  run: () => run,
2632
+ update: () => update6,
2631
2633
  validate: () => validate2
2632
2634
  });
2633
2635
  var getAll10 = function(options, sdkOptions) {
@@ -2701,13 +2703,28 @@ var create8 = function(options, sdkOptions) {
2701
2703
  );
2702
2704
  };
2703
2705
  var deploy = create8;
2706
+ var update6 = function(flow_id, options, sdkOptions) {
2707
+ return serviceRequest(
2708
+ {
2709
+ service: ID2,
2710
+ scope: SCOPES2.MANAGE_FLOWS,
2711
+ path: `/flows/${flow_id}`,
2712
+ method: "PUT" /* PUT */
2713
+ },
2714
+ options,
2715
+ sdkOptions
2716
+ );
2717
+ };
2704
2718
 
2705
2719
  // src/services/flows/service/runs.ts
2706
2720
  var runs_exports = {};
2707
2721
  __export(runs_exports, {
2708
2722
  cancel: () => cancel3,
2709
2723
  getAll: () => getAll11,
2710
- getLog: () => getLog
2724
+ getDefinition: () => getDefinition,
2725
+ getLog: () => getLog,
2726
+ remove: () => remove9,
2727
+ update: () => update7
2711
2728
  });
2712
2729
  var getAll11 = function(options = {}, sdkOptions) {
2713
2730
  return serviceRequest(
@@ -2743,6 +2760,42 @@ var getLog = function(run_id, options, sdkOptions) {
2743
2760
  sdkOptions
2744
2761
  );
2745
2762
  };
2763
+ var update7 = function(run_id, options, sdkOptions) {
2764
+ return serviceRequest(
2765
+ {
2766
+ service: ID2,
2767
+ scope: SCOPES2.RUN_MANAGE,
2768
+ path: `/runs/${run_id}`,
2769
+ method: "PUT" /* PUT */
2770
+ },
2771
+ options,
2772
+ sdkOptions
2773
+ );
2774
+ };
2775
+ var remove9 = function(run_id, options, sdkOptions) {
2776
+ return serviceRequest(
2777
+ {
2778
+ service: ID2,
2779
+ scope: SCOPES2.RUN_MANAGE,
2780
+ path: `/runs/${run_id}/release`,
2781
+ method: "POST" /* POST */
2782
+ },
2783
+ options,
2784
+ sdkOptions
2785
+ );
2786
+ };
2787
+ var getDefinition = function(run_id, options, sdkOptions) {
2788
+ return serviceRequest(
2789
+ {
2790
+ service: ID2,
2791
+ scope: SCOPES2.RUN_MANAGE,
2792
+ path: `/runs/${run_id}/definition`,
2793
+ method: "GET" /* GET */
2794
+ },
2795
+ options,
2796
+ sdkOptions
2797
+ );
2798
+ };
2746
2799
 
2747
2800
  // src/services/flows/index.ts
2748
2801
  var CONFIG5 = config_exports2;
@@ -2769,9 +2822,9 @@ __export(collections_exports, {
2769
2822
  get: () => get16,
2770
2823
  getAll: () => getAll12,
2771
2824
  patch: () => patch,
2772
- remove: () => remove9,
2825
+ remove: () => remove10,
2773
2826
  resetOwnerString: () => resetOwnerString,
2774
- update: () => update6,
2827
+ update: () => update8,
2775
2828
  updateOwnerString: () => updateOwnerString
2776
2829
  });
2777
2830
  var getAll12 = function(configuration, options, sdkOptions) {
@@ -2796,7 +2849,7 @@ var get16 = function(configuration, collection_id, options, sdkOptions) {
2796
2849
  sdkOptions
2797
2850
  );
2798
2851
  };
2799
- var remove9 = function(configuration, collection_id, options, sdkOptions) {
2852
+ var remove10 = function(configuration, collection_id, options, sdkOptions) {
2800
2853
  return serviceRequest(
2801
2854
  {
2802
2855
  service: configuration,
@@ -2820,7 +2873,7 @@ var create9 = function(configuration, options, sdkOptions) {
2820
2873
  sdkOptions
2821
2874
  );
2822
2875
  };
2823
- var update6 = function(configuration, collection_id, options, sdkOptions) {
2876
+ var update8 = function(configuration, collection_id, options, sdkOptions) {
2824
2877
  return serviceRequest(
2825
2878
  {
2826
2879
  service: configuration,
@@ -2875,7 +2928,7 @@ __export(endpoint_exports3, {
2875
2928
  get: () => get17,
2876
2929
  patch: () => patch2,
2877
2930
  resetOwnerString: () => resetOwnerString2,
2878
- update: () => update7,
2931
+ update: () => update9,
2879
2932
  updateOwner: () => updateOwner,
2880
2933
  updateOwnerString: () => updateOwnerString2,
2881
2934
  updateSubscriptionId: () => updateSubscriptionId
@@ -2891,7 +2944,7 @@ var get17 = function(configuration, options, sdkOptions) {
2891
2944
  sdkOptions
2892
2945
  );
2893
2946
  };
2894
- var update7 = function(configuration, options, sdkOptions) {
2947
+ var update9 = function(configuration, options, sdkOptions) {
2895
2948
  return serviceRequest(
2896
2949
  {
2897
2950
  service: configuration,
@@ -2968,8 +3021,8 @@ var resetOwnerString2 = function(configuration, options, sdkOptions) {
2968
3021
  var https_exports = {};
2969
3022
  __export(https_exports, {
2970
3023
  get: () => get18,
2971
- remove: () => remove10,
2972
- update: () => update8
3024
+ remove: () => remove11,
3025
+ update: () => update10
2973
3026
  });
2974
3027
  var get18 = function(configuration, path, options, sdkOptions) {
2975
3028
  return serviceRequest(
@@ -2982,7 +3035,7 @@ var get18 = function(configuration, path, options, sdkOptions) {
2982
3035
  sdkOptions
2983
3036
  );
2984
3037
  };
2985
- var remove10 = function(configuration, path, options, sdkOptions) {
3038
+ var remove11 = function(configuration, path, options, sdkOptions) {
2986
3039
  return serviceRequest(
2987
3040
  {
2988
3041
  service: configuration,
@@ -2994,7 +3047,7 @@ var remove10 = function(configuration, path, options, sdkOptions) {
2994
3047
  sdkOptions
2995
3048
  );
2996
3049
  };
2997
- var update8 = function(configuration, path, options, sdkOptions) {
3050
+ var update10 = function(configuration, path, options, sdkOptions) {
2998
3051
  return serviceRequest(
2999
3052
  {
3000
3053
  service: configuration,
@@ -3014,8 +3067,8 @@ __export(nodes_exports, {
3014
3067
  get: () => get19,
3015
3068
  getAll: () => getAll13,
3016
3069
  patch: () => patch3,
3017
- remove: () => remove11,
3018
- update: () => update9
3070
+ remove: () => remove12,
3071
+ update: () => update11
3019
3072
  });
3020
3073
  var getAll13 = function(configuration, options, sdkOptions) {
3021
3074
  return serviceRequest(
@@ -3039,7 +3092,7 @@ var get19 = function(configuration, node_id, options, sdkOptions) {
3039
3092
  sdkOptions
3040
3093
  );
3041
3094
  };
3042
- var remove11 = function(configuration, node_id, options, sdkOptions) {
3095
+ var remove12 = function(configuration, node_id, options, sdkOptions) {
3043
3096
  return serviceRequest(
3044
3097
  {
3045
3098
  service: configuration,
@@ -3063,7 +3116,7 @@ var create10 = function(configuration, options, sdkOptions) {
3063
3116
  sdkOptions
3064
3117
  );
3065
3118
  };
3066
- var update9 = function(configuration, node_id, options, sdkOptions) {
3119
+ var update11 = function(configuration, node_id, options, sdkOptions) {
3067
3120
  return serviceRequest(
3068
3121
  {
3069
3122
  service: configuration,
@@ -3094,7 +3147,7 @@ __export(roles_exports2, {
3094
3147
  create: () => create11,
3095
3148
  get: () => get20,
3096
3149
  getAll: () => getAll14,
3097
- remove: () => remove12
3150
+ remove: () => remove13
3098
3151
  });
3099
3152
  var getAll14 = function(configuration, options, sdkOptions) {
3100
3153
  return serviceRequest(
@@ -3118,7 +3171,7 @@ var get20 = function(configuration, role_id, options, sdkOptions) {
3118
3171
  sdkOptions
3119
3172
  );
3120
3173
  };
3121
- var remove12 = function(configuration, role_id, options, sdkOptions) {
3174
+ var remove13 = function(configuration, role_id, options, sdkOptions) {
3122
3175
  return serviceRequest(
3123
3176
  {
3124
3177
  service: configuration,
@@ -3150,8 +3203,8 @@ __export(storage_gateways_exports, {
3150
3203
  get: () => get21,
3151
3204
  getAll: () => getAll15,
3152
3205
  patch: () => patch4,
3153
- remove: () => remove13,
3154
- update: () => update10
3206
+ remove: () => remove14,
3207
+ update: () => update12
3155
3208
  });
3156
3209
  var getAll15 = function(configuration, options, sdkOptions) {
3157
3210
  return serviceRequest(
@@ -3175,7 +3228,7 @@ var get21 = function(configuration, storage_gateway_id, options, sdkOptions) {
3175
3228
  sdkOptions
3176
3229
  );
3177
3230
  };
3178
- var remove13 = function(configuration, storage_gateway_id, options, sdkOptions) {
3231
+ var remove14 = function(configuration, storage_gateway_id, options, sdkOptions) {
3179
3232
  return serviceRequest(
3180
3233
  {
3181
3234
  service: configuration,
@@ -3199,7 +3252,7 @@ var create12 = function(configuration, options, sdkOptions) {
3199
3252
  sdkOptions
3200
3253
  );
3201
3254
  };
3202
- var update10 = function(configuration, storage_gateway_id, options, sdkOptions) {
3255
+ var update12 = function(configuration, storage_gateway_id, options, sdkOptions) {
3203
3256
  return serviceRequest(
3204
3257
  {
3205
3258
  service: configuration,
@@ -3231,8 +3284,8 @@ __export(user_credentials_exports, {
3231
3284
  get: () => get22,
3232
3285
  getAll: () => getAll16,
3233
3286
  patch: () => patch5,
3234
- remove: () => remove14,
3235
- update: () => update11
3287
+ remove: () => remove15,
3288
+ update: () => update13
3236
3289
  });
3237
3290
  var getAll16 = function(configuration, options, sdkOptions) {
3238
3291
  return serviceRequest(
@@ -3256,7 +3309,7 @@ var get22 = function(configuration, user_credential_id, options, sdkOptions) {
3256
3309
  sdkOptions
3257
3310
  );
3258
3311
  };
3259
- var remove14 = function(configuration, user_credential_id, options, sdkOptions) {
3312
+ var remove15 = function(configuration, user_credential_id, options, sdkOptions) {
3260
3313
  return serviceRequest(
3261
3314
  {
3262
3315
  service: configuration,
@@ -3280,7 +3333,7 @@ var create13 = function(configuration, options, sdkOptions) {
3280
3333
  sdkOptions
3281
3334
  );
3282
3335
  };
3283
- var update11 = function(configuration, user_credential_id, options, sdkOptions) {
3336
+ var update13 = function(configuration, user_credential_id, options, sdkOptions) {
3284
3337
  return serviceRequest(
3285
3338
  {
3286
3339
  service: configuration,
@@ -3491,6 +3544,7 @@ function urlFor(identifier, segments, sdkOptions) {
3491
3544
  groups,
3492
3545
  info,
3493
3546
  logger,
3547
+ request,
3494
3548
  search,
3495
3549
  timer,
3496
3550
  transfer,