@osdk/cli 0.30.0-beta.5 → 0.30.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.
Files changed (29) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/build/esm/{chunk-QF7ZE76L.js → chunk-PKT4EXHD.js} +3 -3
  3. package/build/esm/{chunk-QF7ZE76L.js.map → chunk-PKT4EXHD.js.map} +1 -1
  4. package/build/esm/{handleGenerate-2D5KHHGM.js → handleGenerate-ATFOWIRZ.js} +29 -281
  5. package/build/esm/handleGenerate-ATFOWIRZ.js.map +1 -0
  6. package/build/esm/index.js +12 -16
  7. package/build/esm/index.js.map +1 -1
  8. package/build/esm/{siteDeployCommand-6YLGGGEI.js → siteDeployCommand-ILVXSFSP.js} +3 -3
  9. package/build/esm/{siteDeployCommand-6YLGGGEI.js.map → siteDeployCommand-ILVXSFSP.js.map} +1 -1
  10. package/build/esm/{versionDeleteCommand-DM4LX6CQ.js → versionDeleteCommand-SXR67NTA.js} +3 -3
  11. package/build/esm/{versionDeleteCommand-DM4LX6CQ.js.map → versionDeleteCommand-SXR67NTA.js.map} +1 -1
  12. package/build/esm/{versionDeleteCommand-TKG4KWL2.js → versionDeleteCommand-XQHOOQDM.js} +3 -3
  13. package/build/esm/{versionDeleteCommand-TKG4KWL2.js.map → versionDeleteCommand-XQHOOQDM.js.map} +1 -1
  14. package/build/esm/{versionGetCommand-VXQMS5WC.js → versionGetCommand-I735TKTR.js} +3 -3
  15. package/build/esm/{versionGetCommand-VXQMS5WC.js.map → versionGetCommand-I735TKTR.js.map} +1 -1
  16. package/build/esm/{versionInfoCommand-ZYIUCNW4.js → versionInfoCommand-K2OHSWL2.js} +3 -3
  17. package/build/esm/{versionInfoCommand-ZYIUCNW4.js.map → versionInfoCommand-K2OHSWL2.js.map} +1 -1
  18. package/build/esm/{versionListCommand-HLNKYD4F.js → versionListCommand-QQRJWKJF.js} +3 -3
  19. package/build/esm/{versionListCommand-HLNKYD4F.js.map → versionListCommand-QQRJWKJF.js.map} +1 -1
  20. package/build/esm/{versionListCommand-RBFAVV6A.js → versionListCommand-Z3MXL6MV.js} +3 -3
  21. package/build/esm/{versionListCommand-RBFAVV6A.js.map → versionListCommand-Z3MXL6MV.js.map} +1 -1
  22. package/build/esm/{versionSetCommand-2Z34Y3LX.js → versionSetCommand-6DL3DPHY.js} +3 -3
  23. package/build/esm/{versionSetCommand-2Z34Y3LX.js.map → versionSetCommand-6DL3DPHY.js.map} +1 -1
  24. package/build/esm/{versionUnsetCommand-CTKP5I3X.js → versionUnsetCommand-6HQZHQDG.js} +3 -3
  25. package/build/esm/{versionUnsetCommand-CTKP5I3X.js.map → versionUnsetCommand-6HQZHQDG.js.map} +1 -1
  26. package/build/esm/{widgetSetDeployCommand-MVO5GNL6.js → widgetSetDeployCommand-VKDGAVBK.js} +3 -3
  27. package/build/esm/{widgetSetDeployCommand-MVO5GNL6.js.map → widgetSetDeployCommand-VKDGAVBK.js.map} +1 -1
  28. package/package.json +9 -9
  29. package/build/esm/handleGenerate-2D5KHHGM.js.map +0 -1
@@ -54,10 +54,10 @@ var require_fast_deep_equal = __commonJS({
54
54
  // ../cli.cmd.typescript/build/esm/generate/handleGenerate.mjs
55
55
  init_esm_shims();
56
56
 
57
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.41.0/node_modules/@osdk/foundry.ontologies/build/esm/index.js
57
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.42.0/node_modules/@osdk/foundry.ontologies/build/esm/index.js
58
58
  init_esm_shims();
59
59
 
60
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.41.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Action.js
60
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.42.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Action.js
61
61
  init_esm_shims();
62
62
 
63
63
  // ../../node_modules/.pnpm/@osdk+shared.net.platformapi@1.5.0/node_modules/@osdk/shared.net.platformapi/build/esm/index.js
@@ -166,43 +166,43 @@ function parseUrl(baseUrl, endpointPath) {
166
166
  return new URL(`api${endpointPath}`, baseUrl);
167
167
  }
168
168
 
169
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.41.0/node_modules/@osdk/foundry.ontologies/build/esm/public/ActionTypeFullMetadata.js
169
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.42.0/node_modules/@osdk/foundry.ontologies/build/esm/public/ActionTypeFullMetadata.js
170
170
  init_esm_shims();
171
171
 
172
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.41.0/node_modules/@osdk/foundry.ontologies/build/esm/public/ActionTypeV2.js
172
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.42.0/node_modules/@osdk/foundry.ontologies/build/esm/public/ActionTypeV2.js
173
173
  init_esm_shims();
174
174
 
175
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.41.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Attachment.js
175
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.42.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Attachment.js
176
176
  init_esm_shims();
177
177
 
178
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.41.0/node_modules/@osdk/foundry.ontologies/build/esm/public/AttachmentPropertyV2.js
178
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.42.0/node_modules/@osdk/foundry.ontologies/build/esm/public/AttachmentPropertyV2.js
179
179
  init_esm_shims();
180
180
 
181
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.41.0/node_modules/@osdk/foundry.ontologies/build/esm/public/CipherTextProperty.js
181
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.42.0/node_modules/@osdk/foundry.ontologies/build/esm/public/CipherTextProperty.js
182
182
  init_esm_shims();
183
183
 
184
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.41.0/node_modules/@osdk/foundry.ontologies/build/esm/public/LinkedObjectV2.js
184
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.42.0/node_modules/@osdk/foundry.ontologies/build/esm/public/LinkedObjectV2.js
185
185
  init_esm_shims();
186
186
 
187
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.41.0/node_modules/@osdk/foundry.ontologies/build/esm/public/MediaReferenceProperty.js
187
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.42.0/node_modules/@osdk/foundry.ontologies/build/esm/public/MediaReferenceProperty.js
188
188
  init_esm_shims();
189
189
 
190
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.41.0/node_modules/@osdk/foundry.ontologies/build/esm/public/ObjectTypeV2.js
190
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.42.0/node_modules/@osdk/foundry.ontologies/build/esm/public/ObjectTypeV2.js
191
191
  init_esm_shims();
192
192
 
193
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.41.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyInterface.js
193
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.42.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyInterface.js
194
194
  init_esm_shims();
195
195
 
196
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.41.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyObjectSet.js
196
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.42.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyObjectSet.js
197
197
  init_esm_shims();
198
198
 
199
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.41.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyObjectV2.js
199
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.42.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyObjectV2.js
200
200
  init_esm_shims();
201
201
 
202
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.41.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyTransaction.js
202
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.42.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyTransaction.js
203
203
  init_esm_shims();
204
204
 
205
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.41.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyV2.js
205
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.42.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyV2.js
206
206
  var OntologyV2_exports = {};
207
207
  __export(OntologyV2_exports, {
208
208
  get: () => get,
@@ -228,19 +228,19 @@ function loadMetadata($ctx, ...args) {
228
228
  return foundryPlatformFetch($ctx, _loadMetadata, ...args);
229
229
  }
230
230
 
231
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.41.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyValueType.js
231
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.42.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyValueType.js
232
232
  init_esm_shims();
233
233
 
234
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.41.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Query.js
234
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.42.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Query.js
235
235
  init_esm_shims();
236
236
 
237
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.41.0/node_modules/@osdk/foundry.ontologies/build/esm/public/QueryType.js
237
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.42.0/node_modules/@osdk/foundry.ontologies/build/esm/public/QueryType.js
238
238
  init_esm_shims();
239
239
 
240
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.41.0/node_modules/@osdk/foundry.ontologies/build/esm/public/TimeSeriesPropertyV2.js
240
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.42.0/node_modules/@osdk/foundry.ontologies/build/esm/public/TimeSeriesPropertyV2.js
241
241
  init_esm_shims();
242
242
 
243
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.41.0/node_modules/@osdk/foundry.ontologies/build/esm/public/TimeSeriesValueBankProperty.js
243
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.42.0/node_modules/@osdk/foundry.ontologies/build/esm/public/TimeSeriesValueBankProperty.js
244
244
  init_esm_shims();
245
245
 
246
246
  // ../generator/build/esm/index.js
@@ -340,251 +340,6 @@ init_esm_shims();
340
340
 
341
341
  // ../generator-converters/build/esm/wirePropertyV2ToSdkPropertyDefinition.js
342
342
  init_esm_shims();
343
-
344
- // ../generator-converters/build/esm/wirePropertyFormattingToSdkFormatting.js
345
- init_esm_shims();
346
-
347
- // ../generator-converters/build/esm/valueFormatting/convertBooleanValueFormattingRule.js
348
- init_esm_shims();
349
- function convertBooleanFormattingRule(wireFormatting) {
350
- return {
351
- type: "boolean",
352
- valueIfTrue: wireFormatting.valueIfTrue,
353
- valueIfFalse: wireFormatting.valueIfFalse
354
- };
355
- }
356
-
357
- // ../generator-converters/build/esm/valueFormatting/convertDateAndTimestampValueFormattingRule.js
358
- init_esm_shims();
359
-
360
- // ../generator-converters/build/esm/valueFormatting/commonValueFormattingUtils.js
361
- init_esm_shims();
362
- function convertPropertyTypeReferenceOrStringConstant(value) {
363
- switch (value.type) {
364
- case "constant":
365
- return {
366
- type: "constant",
367
- value: value.value
368
- };
369
- case "propertyType":
370
- return {
371
- type: "propertyType",
372
- propertyApiName: value.propertyApiName
373
- };
374
- default:
375
- throw new Error(`Unknown property reference type: ${value.type}`);
376
- }
377
- }
378
-
379
- // ../generator-converters/build/esm/valueFormatting/convertDateAndTimestampValueFormattingRule.js
380
- function convertDateFormattingRule(wireFormatting) {
381
- return {
382
- type: "date",
383
- format: convertDatetimeFormat(wireFormatting.format)
384
- };
385
- }
386
- function convertTimestampFormattingRule(wireFormatting) {
387
- return {
388
- type: "timestamp",
389
- format: convertDatetimeFormat(wireFormatting.format),
390
- displayTimezone: convertDatetimeTimezone(wireFormatting.displayTimezone)
391
- };
392
- }
393
- function convertDatetimeFormat(wireFormat) {
394
- switch (wireFormat.type) {
395
- case "stringFormat":
396
- return {
397
- type: "stringFormat",
398
- pattern: wireFormat.pattern
399
- };
400
- case "localizedFormat":
401
- return {
402
- type: "localizedFormat",
403
- format: wireFormat.format
404
- };
405
- default:
406
- throw new Error(`Unknown datetime format type: ${wireFormat.type}`);
407
- }
408
- }
409
- function convertDatetimeTimezone(wireTimezone) {
410
- switch (wireTimezone.type) {
411
- case "static":
412
- return {
413
- type: "static",
414
- zoneId: convertPropertyTypeReferenceOrStringConstant(wireTimezone.zoneId)
415
- };
416
- case "user":
417
- return {
418
- type: "user"
419
- };
420
- default:
421
- throw new Error(`Unknown timezone type: ${wireTimezone.type}`);
422
- }
423
- }
424
-
425
- // ../generator-converters/build/esm/valueFormatting/convertKnownTypeValueFormattingRule.js
426
- init_esm_shims();
427
- function convertKnownTypeFormattingRule(wireFormatting) {
428
- switch (wireFormatting.knownType) {
429
- case "ARTIFACT_GID":
430
- return {
431
- type: "knownType",
432
- knownType: "ARTIFACT_GID"
433
- };
434
- case "RESOURCE_RID":
435
- return {
436
- type: "knownType",
437
- knownType: "RESOURCE_RID"
438
- };
439
- case "USER_OR_GROUP_ID":
440
- return {
441
- type: "knownType",
442
- knownType: "USER_OR_GROUP_ID"
443
- };
444
- default:
445
- wireFormatting.knownType;
446
- return void 0;
447
- }
448
- }
449
-
450
- // ../generator-converters/build/esm/valueFormatting/convertNumberValueFormattingRule.js
451
- init_esm_shims();
452
- function convertNumberFormattingRule(wireFormatting) {
453
- const numberType = convertNumberFormattingType(wireFormatting.numberType);
454
- if (!numberType) {
455
- return void 0;
456
- }
457
- return {
458
- type: "number",
459
- numberType
460
- };
461
- }
462
- function convertNumberFormatOptions(wireOptions) {
463
- return {
464
- useGrouping: wireOptions.useGrouping,
465
- convertNegativeToParenthesis: wireOptions.convertNegativeToParenthesis,
466
- minimumIntegerDigits: wireOptions.minimumIntegerDigits,
467
- minimumFractionDigits: wireOptions.minimumFractionDigits,
468
- maximumFractionDigits: wireOptions.maximumFractionDigits,
469
- minimumSignificantDigits: wireOptions.minimumSignificantDigits,
470
- maximumSignificantDigits: wireOptions.maximumSignificantDigits,
471
- notation: wireOptions.notation,
472
- roundingMode: wireOptions.roundingMode
473
- };
474
- }
475
- function convertDurationFormatStyle(formatStyle) {
476
- switch (formatStyle.type) {
477
- case "humanReadable":
478
- return {
479
- type: "humanReadable",
480
- showFullUnits: formatStyle.showFullUnits
481
- };
482
- case "timecode":
483
- return {
484
- type: "timecode"
485
- };
486
- default:
487
- throw new Error(`Unknown duration format style: ${formatStyle.type}`);
488
- }
489
- }
490
- function convertNumberFormattingType(wireNumberType) {
491
- switch (wireNumberType.type) {
492
- case "standard":
493
- return {
494
- type: "standard",
495
- baseFormatOptions: convertNumberFormatOptions(wireNumberType.baseFormatOptions)
496
- };
497
- case "fixedValues":
498
- return {
499
- type: "fixedValues",
500
- values: wireNumberType.values
501
- };
502
- case "currency": {
503
- return {
504
- type: "currency",
505
- baseFormatOptions: convertNumberFormatOptions(wireNumberType.baseFormatOptions),
506
- style: wireNumberType.style,
507
- currencyCode: convertPropertyTypeReferenceOrStringConstant(wireNumberType.currencyCode)
508
- };
509
- }
510
- case "standardUnit": {
511
- return {
512
- type: "standardUnit",
513
- baseFormatOptions: convertNumberFormatOptions(wireNumberType.baseFormatOptions),
514
- unit: convertPropertyTypeReferenceOrStringConstant(wireNumberType.unit)
515
- };
516
- }
517
- case "customUnit": {
518
- return {
519
- type: "customUnit",
520
- baseFormatOptions: convertNumberFormatOptions(wireNumberType.baseFormatOptions),
521
- unit: convertPropertyTypeReferenceOrStringConstant(wireNumberType.unit)
522
- };
523
- }
524
- case "affix": {
525
- return {
526
- type: "affix",
527
- baseFormatOptions: convertNumberFormatOptions(wireNumberType.baseFormatOptions),
528
- affix: {
529
- prefix: wireNumberType.affix?.prefix != null ? convertPropertyTypeReferenceOrStringConstant(wireNumberType.affix.prefix) : void 0,
530
- postfix: wireNumberType.affix?.postfix != null ? convertPropertyTypeReferenceOrStringConstant(wireNumberType.affix.postfix) : void 0
531
- }
532
- };
533
- }
534
- case "duration": {
535
- return {
536
- type: "duration",
537
- formatStyle: convertDurationFormatStyle(wireNumberType.formatStyle),
538
- precision: wireNumberType.precision,
539
- baseValue: wireNumberType.baseValue
540
- };
541
- }
542
- case "scale": {
543
- return {
544
- type: "scale",
545
- scaleType: wireNumberType.scaleType,
546
- baseFormatOptions: convertNumberFormatOptions(wireNumberType.baseFormatOptions)
547
- };
548
- }
549
- case "ratio": {
550
- return {
551
- type: "ratio",
552
- ratioType: wireNumberType.ratioType,
553
- baseFormatOptions: convertNumberFormatOptions(wireNumberType.baseFormatOptions)
554
- };
555
- }
556
- default:
557
- throw new Error(`Unknown number format type: ${wireNumberType.type}`);
558
- }
559
- }
560
-
561
- // ../generator-converters/build/esm/wirePropertyFormattingToSdkFormatting.js
562
- function wirePropertyFormattingToSdkFormatting(wireFormatting, log) {
563
- try {
564
- return convertPropertyFormattingInternal(wireFormatting);
565
- } catch (error) {
566
- log?.info(`Failed to convert property formatting rule: ${error}`);
567
- return void 0;
568
- }
569
- }
570
- function convertPropertyFormattingInternal(wireFormatting) {
571
- switch (wireFormatting.type) {
572
- case "date":
573
- return convertDateFormattingRule(wireFormatting);
574
- case "timestamp":
575
- return convertTimestampFormattingRule(wireFormatting);
576
- case "boolean":
577
- return convertBooleanFormattingRule(wireFormatting);
578
- case "knownType":
579
- return convertKnownTypeFormattingRule(wireFormatting);
580
- case "number":
581
- return convertNumberFormattingRule(wireFormatting);
582
- default:
583
- throw new Error(`Unknown formatting type: ${wireFormatting.type}`);
584
- }
585
- }
586
-
587
- // ../generator-converters/build/esm/wirePropertyV2ToSdkPropertyDefinition.js
588
343
  function wirePropertyV2ToSdkPropertyDefinition(input, isNullable = true, log) {
589
344
  const sdkPropDefinition = objectPropertyTypeToSdkPropertyDefinition(input.dataType, log);
590
345
  if (sdkPropDefinition == null) {
@@ -617,8 +372,7 @@ function wirePropertyV2ToSdkPropertyDefinition(input, isNullable = true, log) {
617
372
  description: input.description,
618
373
  type: sdkPropDefinition,
619
374
  nullable: input.nullable == null ? isNullable : input.nullable,
620
- valueTypeApiName: input.valueTypeApiName,
621
- valueFormatting: input.valueFormatting != null ? wirePropertyFormattingToSdkFormatting(input.valueFormatting, log) : void 0
375
+ valueTypeApiName: input.valueTypeApiName
622
376
  };
623
377
  case "array": {
624
378
  return {
@@ -627,8 +381,7 @@ function wirePropertyV2ToSdkPropertyDefinition(input, isNullable = true, log) {
627
381
  description: input.description,
628
382
  type: sdkPropDefinition,
629
383
  nullable: true,
630
- valueTypeApiName: input.valueTypeApiName,
631
- valueFormatting: input.valueFormatting != null ? wirePropertyFormattingToSdkFormatting(input.valueFormatting, log) : void 0
384
+ valueTypeApiName: input.valueTypeApiName
632
385
  };
633
386
  }
634
387
  case "cipherText": {
@@ -17716,9 +17469,6 @@ async function generateOntologyMetadataFile({
17716
17469
  ${ontologyApiNamespace == null ? `
17717
17470
  export const $ontologyRid = "${ontology.ontology.rid}";
17718
17471
  ` : ""}
17719
- ${ontology.raw.branch != null ? `
17720
- export const $branch = "${ontology.raw.branch.rid}";
17721
- ` : ""}
17722
17472
  `));
17723
17473
  }
17724
17474
 
@@ -19034,7 +18784,7 @@ function createSharedClientContext(baseUrl, tokenProvider, userAgent, fetchFn =
19034
18784
 
19035
18785
  // ../cli.cmd.typescript/build/esm/generate/handleGenerate.mjs
19036
18786
  var import_fast_deep_equal2 = __toESM(require_fast_deep_equal(), 1);
19037
- var USER_AGENT = `osdk-cli.cmd.typescript/${"0.30.0-beta.5"}`;
18787
+ var USER_AGENT = `osdk-cli.cmd.typescript/${"0.30.0"}`;
19038
18788
  async function handleGenerate(args) {
19039
18789
  let success = false;
19040
18790
  if (args.ontologyPath) {
@@ -19085,9 +18835,7 @@ async function generateFromStack(args) {
19085
18835
  consola.error(`Could not look up ontology with these credentials. Found ${ontologies.data.length} ontologies.`);
19086
18836
  return false;
19087
18837
  }
19088
- const ontology = await OntologyV2_exports.getFullMetadata(ctx, ontologies.data[0].apiName, {
19089
- branch: args.branch
19090
- });
18838
+ const ontology = await OntologyV2_exports.getFullMetadata(ctx, ontologies.data[0].apiName);
19091
18839
  ontology.actionTypes = sortKeys2(ontology.actionTypes, (x) => {
19092
18840
  return {
19093
18841
  ...x,
@@ -19174,7 +18922,7 @@ async function generateClientSdk(ontology, args) {
19174
18922
  }
19175
18923
  return true;
19176
18924
  }
19177
- await generateClientSdkPackage(args.packageName, args.version, args.beta ? "2.0" : "1.1", args.outDir, ontology, minimalFs, await getDependencyVersions(), "0.30.0-beta.5", args.externalObjects, args.externalInterfaces);
18925
+ await generateClientSdkPackage(args.packageName, args.version, args.beta ? "2.0" : "1.1", args.outDir, ontology, minimalFs, await getDependencyVersions(), "0.30.0", args.externalObjects, args.externalInterfaces);
19178
18926
  return true;
19179
18927
  } catch (e) {
19180
18928
  consola.error("OSDK generation failed", e.message, e.stack);
@@ -19201,8 +18949,8 @@ async function getDependencyVersions() {
19201
18949
  typescriptVersion,
19202
18950
  tslibVersion,
19203
18951
  areTheTypesWrongVersion,
19204
- osdkApiVersion: `^${"2.6.0-beta.13"}`,
19205
- osdkClientVersion: `^${"2.6.0-beta.13"}`,
18952
+ osdkApiVersion: `^${"2.6.0"}`,
18953
+ osdkClientVersion: `^${"2.6.0"}`,
19206
18954
  osdkLegacyClientVersion
19207
18955
  };
19208
18956
  }
@@ -19241,5 +18989,5 @@ function createNormalFs() {
19241
18989
  }
19242
18990
 
19243
18991
  export { getDependencyVersions, handleGenerate, updateVersionsIfTheyExist };
19244
- //# sourceMappingURL=handleGenerate-2D5KHHGM.js.map
19245
- //# sourceMappingURL=handleGenerate-2D5KHHGM.js.map
18992
+ //# sourceMappingURL=handleGenerate-ATFOWIRZ.js.map
18993
+ //# sourceMappingURL=handleGenerate-ATFOWIRZ.js.map