@sasjs/api 0.45.0 → 0.46.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/build/browser.js CHANGED
@@ -1,4 +1,4 @@
1
- /* @sasjs/api 0.45.0 - the SASjs Server API, for a service worker. https://github.com/sasjs/api */
1
+ /* @sasjs/api 0.46.0 - the SASjs Server API, for a service worker. https://github.com/sasjs/api */
2
2
  "use strict";
3
3
  var SASjsApi = (() => {
4
4
  var __defProp = Object.defineProperty;
@@ -4070,6 +4070,13 @@ var SASjsApi = (() => {
4070
4070
  decision: "in",
4071
4071
  reason: "the job path a deployed service runs through"
4072
4072
  },
4073
+ {
4074
+ path: "/jobDefinitions/definitions/{}",
4075
+ family: "viya-jobs",
4076
+ decision: "in",
4077
+ source: "capture",
4078
+ reason: "the definition itself, which the client reads through the link a folder listing handed it - the URL arrives as data, so no literal in the adapter states it"
4079
+ },
4073
4080
  {
4074
4081
  path: "/jobExecution/jobs",
4075
4082
  family: "viya-jobs",
@@ -4395,6 +4402,33 @@ var SASjsApi = (() => {
4395
4402
  },
4396
4403
  shape: void 0
4397
4404
  },
4405
+ {
4406
+ id: "GET /compute/sessions/{}/variables/{}",
4407
+ method: "GET",
4408
+ path: "/compute/sessions/{}/variables/{}",
4409
+ steps: ["compute/execute-script"],
4410
+ statuses: [200],
4411
+ queries: [],
4412
+ request: {
4413
+ queries: [],
4414
+ body: void 0
4415
+ },
4416
+ shape: {
4417
+ links: [
4418
+ {
4419
+ href: "string",
4420
+ method: "string",
4421
+ rel: "string",
4422
+ type: "string",
4423
+ uri: "string"
4424
+ }
4425
+ ],
4426
+ name: "string",
4427
+ scope: "string",
4428
+ value: "string",
4429
+ version: "number"
4430
+ }
4431
+ },
4398
4432
  {
4399
4433
  id: "POST /files/files",
4400
4434
  method: "POST",
@@ -4548,7 +4582,7 @@ var SASjsApi = (() => {
4548
4582
  id: "GET /files/files/{}/content",
4549
4583
  method: "GET",
4550
4584
  path: "/files/files/{}/content",
4551
- steps: ["files/content"],
4585
+ steps: ["files/content", "jobs/execute"],
4552
4586
  statuses: [200],
4553
4587
  queries: [],
4554
4588
  request: {
@@ -4609,7 +4643,7 @@ var SASjsApi = (() => {
4609
4643
  id: "POST /folders/folders",
4610
4644
  method: "POST",
4611
4645
  path: "/folders/folders",
4612
- steps: ["folders/create"],
4646
+ steps: ["folders/create", "jobs/folder-create"],
4613
4647
  statuses: [201],
4614
4648
  queries: ["parentFolderUri"],
4615
4649
  request: {
@@ -4645,7 +4679,7 @@ var SASjsApi = (() => {
4645
4679
  id: "GET /folders/folders/{}",
4646
4680
  method: "GET",
4647
4681
  path: "/folders/folders/{}",
4648
- steps: ["folders/delete"],
4682
+ steps: ["folders/delete", "jobs/folders/delete"],
4649
4683
  statuses: [200],
4650
4684
  queries: [],
4651
4685
  request: {
@@ -4682,7 +4716,7 @@ var SASjsApi = (() => {
4682
4716
  id: "PATCH /folders/folders/{}",
4683
4717
  method: "PATCH",
4684
4718
  path: "/folders/folders/{}",
4685
- steps: ["folders/delete"],
4719
+ steps: ["folders/delete", "jobs/folders/delete"],
4686
4720
  statuses: [200],
4687
4721
  queries: [],
4688
4722
  request: {
@@ -4722,8 +4756,8 @@ var SASjsApi = (() => {
4722
4756
  steps: [
4723
4757
  "files/content",
4724
4758
  "files/replace",
4725
- "folders/create",
4726
- "folders/members"
4759
+ "folders/members",
4760
+ "jobs/execute"
4727
4761
  ],
4728
4762
  statuses: [200],
4729
4763
  queries: ["limit"],
@@ -4786,7 +4820,13 @@ var SASjsApi = (() => {
4786
4820
  "folders/create",
4787
4821
  "folders/delete",
4788
4822
  "folders/item",
4789
- "folders/members"
4823
+ "folders/members",
4824
+ "folders/missing",
4825
+ "folders/unauthorized",
4826
+ "jobs/definition",
4827
+ "jobs/execute",
4828
+ "jobs/folder-create",
4829
+ "jobs/folders/delete"
4790
4830
  ],
4791
4831
  statuses: [200, 401, 404],
4792
4832
  queries: ["path"],
@@ -4821,7 +4861,7 @@ var SASjsApi = (() => {
4821
4861
  id: "GET /folders/folders/@myRecycleBin",
4822
4862
  method: "GET",
4823
4863
  path: "/folders/folders/@myRecycleBin",
4824
- steps: ["folders/delete"],
4864
+ steps: ["folders/delete", "jobs/folders/delete"],
4825
4865
  statuses: [200],
4826
4866
  queries: [],
4827
4867
  request: {
@@ -4894,6 +4934,348 @@ var SASjsApi = (() => {
4894
4934
  version: "number"
4895
4935
  }
4896
4936
  },
4937
+ {
4938
+ id: "POST /jobDefinitions/definitions",
4939
+ method: "POST",
4940
+ path: "/jobDefinitions/definitions",
4941
+ steps: ["jobs/definition"],
4942
+ statuses: [201],
4943
+ queries: ["parentFolderUri"],
4944
+ request: {
4945
+ queries: ["parentFolderUri"],
4946
+ body: {
4947
+ code: "string",
4948
+ name: "string",
4949
+ parameters: [
4950
+ {
4951
+ defaultValue: "string",
4952
+ name: "string",
4953
+ type: "string"
4954
+ }
4955
+ ],
4956
+ type: "string"
4957
+ }
4958
+ },
4959
+ shape: {
4960
+ code: "string",
4961
+ createdBy: "string",
4962
+ creationTimeStamp: "string",
4963
+ id: "string",
4964
+ links: [
4965
+ {
4966
+ href: "string",
4967
+ method: "string",
4968
+ rel: "string",
4969
+ type: "string",
4970
+ uri: "string"
4971
+ }
4972
+ ],
4973
+ modifiedBy: "string",
4974
+ modifiedTimeStamp: "string",
4975
+ name: "string",
4976
+ parameters: [
4977
+ {
4978
+ defaultValue: "string",
4979
+ name: "string",
4980
+ required: "boolean",
4981
+ type: "string",
4982
+ version: "number"
4983
+ }
4984
+ ],
4985
+ type: "string",
4986
+ version: "number"
4987
+ }
4988
+ },
4989
+ {
4990
+ id: "GET /jobDefinitions/definitions/{}",
4991
+ method: "GET",
4992
+ path: "/jobDefinitions/definitions/{}",
4993
+ steps: ["jobs/execute"],
4994
+ statuses: [200],
4995
+ queries: [],
4996
+ request: {
4997
+ queries: [],
4998
+ body: void 0
4999
+ },
5000
+ shape: {
5001
+ code: "string",
5002
+ createdBy: "string",
5003
+ creationTimeStamp: "string",
5004
+ id: "string",
5005
+ links: [
5006
+ {
5007
+ href: "string",
5008
+ method: "string",
5009
+ rel: "string",
5010
+ type: "string",
5011
+ uri: "string"
5012
+ }
5013
+ ],
5014
+ modifiedBy: "string",
5015
+ modifiedTimeStamp: "string",
5016
+ name: "string",
5017
+ parameters: [
5018
+ {
5019
+ defaultValue: "string",
5020
+ name: "string",
5021
+ required: "boolean",
5022
+ type: "string",
5023
+ version: "number"
5024
+ }
5025
+ ],
5026
+ type: "string",
5027
+ version: "number"
5028
+ }
5029
+ },
5030
+ {
5031
+ id: "POST /jobExecution/jobs",
5032
+ method: "POST",
5033
+ path: "/jobExecution/jobs",
5034
+ steps: ["jobs/execute"],
5035
+ statuses: [201],
5036
+ queries: ["_action"],
5037
+ request: {
5038
+ queries: ["_action"],
5039
+ body: {
5040
+ arguments: {
5041
+ _DEBUG: "string",
5042
+ _OMITJSONLISTING: "string",
5043
+ _OMITJSONLOG: "string",
5044
+ _OMITTEXTLISTING: "string",
5045
+ _OMITTEXTLOG: "string",
5046
+ _contextName: "string",
5047
+ _omitSessionResults: "string",
5048
+ _program: "string",
5049
+ _webin_file_count: "string"
5050
+ },
5051
+ description: "string",
5052
+ jobDefinition: {
5053
+ code: "string",
5054
+ createdBy: "string",
5055
+ creationTimeStamp: "string",
5056
+ id: "string",
5057
+ links: [
5058
+ {
5059
+ href: "string",
5060
+ method: "string",
5061
+ rel: "string",
5062
+ type: "string",
5063
+ uri: "string"
5064
+ }
5065
+ ],
5066
+ modifiedBy: "string",
5067
+ modifiedTimeStamp: "string",
5068
+ name: "string",
5069
+ parameters: [
5070
+ {
5071
+ defaultValue: "string",
5072
+ name: "string",
5073
+ required: "boolean",
5074
+ type: "string",
5075
+ version: "number"
5076
+ }
5077
+ ],
5078
+ type: "string",
5079
+ version: "number"
5080
+ },
5081
+ name: "string"
5082
+ }
5083
+ },
5084
+ shape: {
5085
+ createdBy: "string",
5086
+ creationTimeStamp: "string",
5087
+ elapsedTime: "number",
5088
+ heartbeatInterval: "number",
5089
+ heartbeatTimeStamp: "string",
5090
+ id: "string",
5091
+ jobRequest: {
5092
+ arguments: {
5093
+ _DEBUG: "string",
5094
+ _OMITJSONLISTING: "string",
5095
+ _OMITJSONLOG: "string",
5096
+ _OMITTEXTLISTING: "string",
5097
+ _OMITTEXTLOG: "string",
5098
+ _addjesbeginendmacros: "string",
5099
+ _contextName: "string",
5100
+ _omitSessionResults: "string",
5101
+ _program: "string",
5102
+ _webin_file_count: "string"
5103
+ },
5104
+ createdByApplication: "string",
5105
+ description: "string",
5106
+ jobDefinition: {
5107
+ code: "string",
5108
+ createdBy: "string",
5109
+ creationTimeStamp: "string",
5110
+ id: "string",
5111
+ links: ["object"],
5112
+ modifiedBy: "string",
5113
+ modifiedTimeStamp: "string",
5114
+ name: "string",
5115
+ parameters: ["object"],
5116
+ type: "string",
5117
+ version: "number"
5118
+ },
5119
+ name: "string",
5120
+ properties: "array",
5121
+ version: "number"
5122
+ },
5123
+ links: [
5124
+ {
5125
+ href: "string",
5126
+ method: "string",
5127
+ rel: "string",
5128
+ type: "string",
5129
+ uri: "string"
5130
+ }
5131
+ ],
5132
+ modifiedBy: "string",
5133
+ modifiedTimeStamp: "string",
5134
+ results: {},
5135
+ state: "string",
5136
+ submittedByApplication: "string",
5137
+ version: "number"
5138
+ }
5139
+ },
5140
+ {
5141
+ id: "GET /jobExecution/jobs/{}",
5142
+ method: "GET",
5143
+ path: "/jobExecution/jobs/{}",
5144
+ steps: ["jobs/execute"],
5145
+ statuses: [200],
5146
+ queries: [],
5147
+ request: {
5148
+ queries: [],
5149
+ body: void 0
5150
+ },
5151
+ shape: {
5152
+ createdBy: "string",
5153
+ creationTimeStamp: "string",
5154
+ elapsedTime: "number",
5155
+ endTimeStamp: "string",
5156
+ heartbeatInterval: "number",
5157
+ heartbeatTimeStamp: "string",
5158
+ id: "string",
5159
+ jobRequest: {
5160
+ arguments: {
5161
+ _DEBUG: "string",
5162
+ _OMITJSONLISTING: "string",
5163
+ _OMITJSONLOG: "string",
5164
+ _OMITTEXTLISTING: "string",
5165
+ _OMITTEXTLOG: "string",
5166
+ _addjesbeginendmacros: "string",
5167
+ _contextName: "string",
5168
+ _omitSessionResults: "string",
5169
+ _program: "string",
5170
+ _webin_file_count: "string"
5171
+ },
5172
+ createdByApplication: "string",
5173
+ description: "string",
5174
+ jobDefinition: {
5175
+ code: "string",
5176
+ createdBy: "string",
5177
+ creationTimeStamp: "string",
5178
+ id: "string",
5179
+ links: ["object"],
5180
+ modifiedBy: "string",
5181
+ modifiedTimeStamp: "string",
5182
+ name: "string",
5183
+ parameters: ["object"],
5184
+ type: "string",
5185
+ version: "number"
5186
+ },
5187
+ name: "string",
5188
+ properties: "array",
5189
+ version: "number"
5190
+ },
5191
+ links: [
5192
+ {
5193
+ href: "string",
5194
+ method: "string",
5195
+ rel: "string",
5196
+ type: "string",
5197
+ uri: "string"
5198
+ }
5199
+ ],
5200
+ logLocation: "string",
5201
+ modifiedBy: "string",
5202
+ modifiedTimeStamp: "string",
5203
+ results: {
5204
+ COMPUTE_CONTEXT: "string",
5205
+ COMPUTE_JOB: "string",
5206
+ COMPUTE_SESSION: "string",
5207
+ "{}.log": "string",
5208
+ "{}.log.txt": "string"
5209
+ },
5210
+ state: "string",
5211
+ submittedByApplication: "string",
5212
+ version: "number"
5213
+ }
5214
+ },
5215
+ {
5216
+ id: "GET /jobExecution/jobs/{}/state",
5217
+ method: "GET",
5218
+ path: "/jobExecution/jobs/{}/state",
5219
+ steps: ["jobs/execute"],
5220
+ statuses: [200],
5221
+ queries: ["_action", "wait"],
5222
+ request: {
5223
+ queries: ["_action", "wait"],
5224
+ body: void 0
5225
+ },
5226
+ shape: void 0
5227
+ },
5228
+ {
5229
+ id: "GET /launcher/contexts",
5230
+ method: "GET",
5231
+ path: "/launcher/contexts",
5232
+ steps: ["compute/launcher-contexts"],
5233
+ statuses: [200],
5234
+ queries: ["limit"],
5235
+ request: {
5236
+ queries: ["limit"],
5237
+ body: void 0
5238
+ },
5239
+ shape: {
5240
+ accept: "string",
5241
+ count: "number",
5242
+ items: [
5243
+ {
5244
+ createdBy: "string",
5245
+ creationTimeStamp: "string",
5246
+ description: "string",
5247
+ id: "string",
5248
+ links: [
5249
+ {
5250
+ href: "string",
5251
+ method: "string",
5252
+ rel: "string",
5253
+ type: "string",
5254
+ uri: "string"
5255
+ }
5256
+ ],
5257
+ modifiedBy: "string",
5258
+ modifiedTimeStamp: "string",
5259
+ name: "string",
5260
+ type: "string",
5261
+ version: "number"
5262
+ }
5263
+ ],
5264
+ limit: "number",
5265
+ links: [
5266
+ {
5267
+ href: "string",
5268
+ method: "string",
5269
+ rel: "string",
5270
+ type: "string",
5271
+ uri: "string"
5272
+ }
5273
+ ],
5274
+ name: "string",
5275
+ start: "number",
5276
+ version: "number"
5277
+ }
5278
+ },
4897
5279
  {
4898
5280
  id: "POST /SASLogon/oauth/token",
4899
5281
  method: "POST",
@@ -4931,7 +5313,45 @@ var SASjsApi = (() => {
4931
5313
  queries: ["limit"],
4932
5314
  body: void 0
4933
5315
  },
4934
- shape: void 0
5316
+ shape: {
5317
+ accept: "string",
5318
+ count: "number",
5319
+ items: [
5320
+ {
5321
+ description: "string",
5322
+ iconUri: "string",
5323
+ label: "string",
5324
+ links: [
5325
+ {
5326
+ href: "string",
5327
+ method: "string",
5328
+ rel: "string",
5329
+ type: "string",
5330
+ uri: "string"
5331
+ }
5332
+ ],
5333
+ mediaType: "string",
5334
+ name: "string",
5335
+ resourceUri: "string",
5336
+ tags: ["string"],
5337
+ version: "number"
5338
+ }
5339
+ ],
5340
+ limit: "number",
5341
+ links: [
5342
+ {
5343
+ href: "string",
5344
+ itemType: "string",
5345
+ method: "string",
5346
+ rel: "string",
5347
+ type: "string",
5348
+ uri: "string"
5349
+ }
5350
+ ],
5351
+ name: "string",
5352
+ start: "number",
5353
+ version: "number"
5354
+ }
4935
5355
  }
4936
5356
  ];
4937
5357
 
@@ -4967,28 +5387,6 @@ var SASjsApi = (() => {
4967
5387
  {
4968
5388
  path: "/SASLogon/oauth/authorize",
4969
5389
  reason: "no capture: the authorisation-code step needs a browser; the pass uses the password grant"
4970
- },
4971
- // Compute operations the scripted passes do not reach.
4972
- {
4973
- path: "/compute/sessions/{}/variables/{}",
4974
- reason: "no capture: the adapter reads a session variable only to report a submitted job's pid (`printPid`), which the pass does not set"
4975
- },
4976
- {
4977
- path: "/launcher/contexts",
4978
- reason: "no capture: the fallback list, asked for only when the compute context list fails; a healthy estate never reaches it"
4979
- },
4980
- // The job path needs something deployed to run.
4981
- {
4982
- path: "/jobDefinitions/definitions",
4983
- reason: "no capture: needs a job definition on the estate. The next pass deploys a service pack under its own app folder and reads the definition back"
4984
- },
4985
- {
4986
- path: "/jobExecution/jobs",
4987
- reason: "no capture: needs a deployed service to submit. The next pass deploys a service pack under its own app folder"
4988
- },
4989
- {
4990
- path: "/jobExecution/jobs/{}",
4991
- reason: "no capture: follows a submission, so it arrives with the same pass as POST /jobExecution/jobs"
4992
5390
  }
4993
5391
  ];
4994
5392
 
@@ -5024,6 +5422,7 @@ var SASjsApi = (() => {
5024
5422
 
5025
5423
  // src/viya/overlay.ts
5026
5424
  var NEEDS_AUTH = "The token endpoint is answered by the host that mounts the emulator, which owns the token port.";
5425
+ var NEEDS_JOBS = "The emulator answers the compute and content families; the job definitions a deploy creates and the executions a run submits are not modelled yet.";
5027
5426
  var VIYA_OVERLAY = {
5028
5427
  // answered here
5029
5428
  "POST /folders/folders": { implemented: true },
@@ -5049,6 +5448,32 @@ var SASjsApi = (() => {
5049
5448
  "PATCH /files/files/{}": { implemented: true },
5050
5449
  "GET /files/files/{}/content": { implemented: true },
5051
5450
  "PUT /files/files/{}/content": { implemented: true },
5451
+ // declined: the job family needs a job service
5452
+ //
5453
+ // A capture describes what the estate answers on the deploy-and-run path, and
5454
+ // the emulator does not answer that path yet: a client that deploys a service
5455
+ // pack against an emulated estate stops here, with a reason rather than a 404.
5456
+ "POST /jobDefinitions/definitions": {
5457
+ implemented: false,
5458
+ reason: NEEDS_JOBS
5459
+ },
5460
+ "GET /jobDefinitions/definitions/{}": {
5461
+ implemented: false,
5462
+ reason: NEEDS_JOBS
5463
+ },
5464
+ "POST /jobExecution/jobs": { implemented: false, reason: NEEDS_JOBS },
5465
+ "GET /jobExecution/jobs/{}": { implemented: false, reason: NEEDS_JOBS },
5466
+ "GET /jobExecution/jobs/{}/state": { implemented: false, reason: NEEDS_JOBS },
5467
+ // declined: contexts come from the seed, not from the launcher
5468
+ "GET /launcher/contexts": {
5469
+ implemented: false,
5470
+ reason: "The emulator answers compute contexts from its seed; the launcher list a client falls back to is not modelled, and nothing on the emulated path asks for it."
5471
+ },
5472
+ // declined: session variables are not modelled
5473
+ "GET /compute/sessions/{}/variables/{}": {
5474
+ implemented: false,
5475
+ reason: "The emulator does not model session variables; the client reads these only to log the pid of a job it is about to submit (SYSJOBID), and any name it asks for is refused here rather than answered with a value the emulator did not run."
5476
+ },
5052
5477
  // declined: the host owns the token port
5053
5478
  "POST /SASLogon/oauth/token": { implemented: false, reason: NEEDS_AUTH },
5054
5479
  // declared, not captured: the webout an application's service returns
@@ -6210,6 +6635,28 @@ var SASjsApi = (() => {
6210
6635
  expected: 200,
6211
6636
  shape: void 0
6212
6637
  },
6638
+ {
6639
+ route: "GET /compute/sessions/{}/variables/{}",
6640
+ step: "compute/execute-script",
6641
+ queries: [],
6642
+ statuses: [200],
6643
+ expected: 200,
6644
+ shape: {
6645
+ links: [
6646
+ {
6647
+ href: "string",
6648
+ method: "string",
6649
+ rel: "string",
6650
+ type: "string",
6651
+ uri: "string"
6652
+ }
6653
+ ],
6654
+ name: "string",
6655
+ scope: "string",
6656
+ value: "string",
6657
+ version: "number"
6658
+ }
6659
+ },
6213
6660
  {
6214
6661
  route: "POST /files/files",
6215
6662
  step: "files/create",
@@ -6618,6 +7065,264 @@ var SASjsApi = (() => {
6618
7065
  version: "number"
6619
7066
  }
6620
7067
  },
7068
+ {
7069
+ route: "POST /jobDefinitions/definitions",
7070
+ step: "jobs/definition",
7071
+ queries: ["parentFolderUri"],
7072
+ statuses: [201],
7073
+ expected: 201,
7074
+ shape: {
7075
+ code: "string",
7076
+ createdBy: "string",
7077
+ creationTimeStamp: "string",
7078
+ id: "string",
7079
+ links: [
7080
+ {
7081
+ href: "string",
7082
+ method: "string",
7083
+ rel: "string",
7084
+ type: "string",
7085
+ uri: "string"
7086
+ }
7087
+ ],
7088
+ modifiedBy: "string",
7089
+ modifiedTimeStamp: "string",
7090
+ name: "string",
7091
+ parameters: [
7092
+ {
7093
+ defaultValue: "string",
7094
+ name: "string",
7095
+ required: "boolean",
7096
+ type: "string",
7097
+ version: "number"
7098
+ }
7099
+ ],
7100
+ type: "string",
7101
+ version: "number"
7102
+ }
7103
+ },
7104
+ {
7105
+ route: "GET /jobDefinitions/definitions/{}",
7106
+ step: "jobs/execute",
7107
+ queries: [],
7108
+ statuses: [200],
7109
+ expected: 200,
7110
+ shape: {
7111
+ code: "string",
7112
+ createdBy: "string",
7113
+ creationTimeStamp: "string",
7114
+ id: "string",
7115
+ links: [
7116
+ {
7117
+ href: "string",
7118
+ method: "string",
7119
+ rel: "string",
7120
+ type: "string",
7121
+ uri: "string"
7122
+ }
7123
+ ],
7124
+ modifiedBy: "string",
7125
+ modifiedTimeStamp: "string",
7126
+ name: "string",
7127
+ parameters: [
7128
+ {
7129
+ defaultValue: "string",
7130
+ name: "string",
7131
+ required: "boolean",
7132
+ type: "string",
7133
+ version: "number"
7134
+ }
7135
+ ],
7136
+ type: "string",
7137
+ version: "number"
7138
+ }
7139
+ },
7140
+ {
7141
+ route: "POST /jobExecution/jobs",
7142
+ step: "jobs/execute",
7143
+ queries: ["_action"],
7144
+ statuses: [201],
7145
+ expected: 201,
7146
+ shape: {
7147
+ createdBy: "string",
7148
+ creationTimeStamp: "string",
7149
+ elapsedTime: "number",
7150
+ heartbeatInterval: "number",
7151
+ heartbeatTimeStamp: "string",
7152
+ id: "string",
7153
+ jobRequest: {
7154
+ arguments: {
7155
+ _DEBUG: "string",
7156
+ _OMITJSONLISTING: "string",
7157
+ _OMITJSONLOG: "string",
7158
+ _OMITTEXTLISTING: "string",
7159
+ _OMITTEXTLOG: "string",
7160
+ _addjesbeginendmacros: "string",
7161
+ _contextName: "string",
7162
+ _omitSessionResults: "string",
7163
+ _program: "string",
7164
+ _webin_file_count: "string"
7165
+ },
7166
+ createdByApplication: "string",
7167
+ description: "string",
7168
+ jobDefinition: {
7169
+ code: "string",
7170
+ createdBy: "string",
7171
+ creationTimeStamp: "string",
7172
+ id: "string",
7173
+ links: ["object"],
7174
+ modifiedBy: "string",
7175
+ modifiedTimeStamp: "string",
7176
+ name: "string",
7177
+ parameters: ["object"],
7178
+ type: "string",
7179
+ version: "number"
7180
+ },
7181
+ name: "string",
7182
+ properties: "array",
7183
+ version: "number"
7184
+ },
7185
+ links: [
7186
+ {
7187
+ href: "string",
7188
+ method: "string",
7189
+ rel: "string",
7190
+ type: "string",
7191
+ uri: "string"
7192
+ }
7193
+ ],
7194
+ modifiedBy: "string",
7195
+ modifiedTimeStamp: "string",
7196
+ results: {},
7197
+ state: "string",
7198
+ submittedByApplication: "string",
7199
+ version: "number"
7200
+ }
7201
+ },
7202
+ {
7203
+ route: "GET /jobExecution/jobs/{}",
7204
+ step: "jobs/execute",
7205
+ queries: [],
7206
+ statuses: [200],
7207
+ expected: 200,
7208
+ shape: {
7209
+ createdBy: "string",
7210
+ creationTimeStamp: "string",
7211
+ elapsedTime: "number",
7212
+ endTimeStamp: "string",
7213
+ heartbeatInterval: "number",
7214
+ heartbeatTimeStamp: "string",
7215
+ id: "string",
7216
+ jobRequest: {
7217
+ arguments: {
7218
+ _DEBUG: "string",
7219
+ _OMITJSONLISTING: "string",
7220
+ _OMITJSONLOG: "string",
7221
+ _OMITTEXTLISTING: "string",
7222
+ _OMITTEXTLOG: "string",
7223
+ _addjesbeginendmacros: "string",
7224
+ _contextName: "string",
7225
+ _omitSessionResults: "string",
7226
+ _program: "string",
7227
+ _webin_file_count: "string"
7228
+ },
7229
+ createdByApplication: "string",
7230
+ description: "string",
7231
+ jobDefinition: {
7232
+ code: "string",
7233
+ createdBy: "string",
7234
+ creationTimeStamp: "string",
7235
+ id: "string",
7236
+ links: ["object"],
7237
+ modifiedBy: "string",
7238
+ modifiedTimeStamp: "string",
7239
+ name: "string",
7240
+ parameters: ["object"],
7241
+ type: "string",
7242
+ version: "number"
7243
+ },
7244
+ name: "string",
7245
+ properties: "array",
7246
+ version: "number"
7247
+ },
7248
+ links: [
7249
+ {
7250
+ href: "string",
7251
+ method: "string",
7252
+ rel: "string",
7253
+ type: "string",
7254
+ uri: "string"
7255
+ }
7256
+ ],
7257
+ logLocation: "string",
7258
+ modifiedBy: "string",
7259
+ modifiedTimeStamp: "string",
7260
+ results: {
7261
+ COMPUTE_CONTEXT: "string",
7262
+ COMPUTE_JOB: "string",
7263
+ COMPUTE_SESSION: "string",
7264
+ "{}.log": "string",
7265
+ "{}.log.txt": "string"
7266
+ },
7267
+ state: "string",
7268
+ submittedByApplication: "string",
7269
+ version: "number"
7270
+ }
7271
+ },
7272
+ {
7273
+ route: "GET /jobExecution/jobs/{}/state",
7274
+ step: "jobs/execute",
7275
+ queries: ["_action", "wait"],
7276
+ statuses: [200],
7277
+ expected: 200,
7278
+ shape: void 0
7279
+ },
7280
+ {
7281
+ route: "GET /launcher/contexts",
7282
+ step: "compute/launcher-contexts",
7283
+ queries: ["limit"],
7284
+ statuses: [200],
7285
+ expected: 200,
7286
+ shape: {
7287
+ accept: "string",
7288
+ count: "number",
7289
+ items: [
7290
+ {
7291
+ createdBy: "string",
7292
+ creationTimeStamp: "string",
7293
+ description: "string",
7294
+ id: "string",
7295
+ links: [
7296
+ {
7297
+ href: "string",
7298
+ method: "string",
7299
+ rel: "string",
7300
+ type: "string",
7301
+ uri: "string"
7302
+ }
7303
+ ],
7304
+ modifiedBy: "string",
7305
+ modifiedTimeStamp: "string",
7306
+ name: "string",
7307
+ type: "string",
7308
+ version: "number"
7309
+ }
7310
+ ],
7311
+ limit: "number",
7312
+ links: [
7313
+ {
7314
+ href: "string",
7315
+ method: "string",
7316
+ rel: "string",
7317
+ type: "string",
7318
+ uri: "string"
7319
+ }
7320
+ ],
7321
+ name: "string",
7322
+ start: "number",
7323
+ version: "number"
7324
+ }
7325
+ },
6621
7326
  {
6622
7327
  route: "POST /SASLogon/oauth/token",
6623
7328
  step: "auth/token-refresh",
@@ -6643,7 +7348,45 @@ var SASjsApi = (() => {
6643
7348
  queries: ["limit"],
6644
7349
  statuses: [200],
6645
7350
  expected: 200,
6646
- shape: void 0
7351
+ shape: {
7352
+ accept: "string",
7353
+ count: "number",
7354
+ items: [
7355
+ {
7356
+ description: "string",
7357
+ iconUri: "string",
7358
+ label: "string",
7359
+ links: [
7360
+ {
7361
+ href: "string",
7362
+ method: "string",
7363
+ rel: "string",
7364
+ type: "string",
7365
+ uri: "string"
7366
+ }
7367
+ ],
7368
+ mediaType: "string",
7369
+ name: "string",
7370
+ resourceUri: "string",
7371
+ tags: ["string"],
7372
+ version: "number"
7373
+ }
7374
+ ],
7375
+ limit: "number",
7376
+ links: [
7377
+ {
7378
+ href: "string",
7379
+ itemType: "string",
7380
+ method: "string",
7381
+ rel: "string",
7382
+ type: "string",
7383
+ uri: "string"
7384
+ }
7385
+ ],
7386
+ name: "string",
7387
+ start: "number",
7388
+ version: "number"
7389
+ }
6647
7390
  }
6648
7391
  ];
6649
7392