@wildix/wilma-agents-client 1.0.2 → 1.0.3

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.
@@ -260,7 +260,6 @@ const _se = "settings";
260
260
  const _sea = "search";
261
261
  const _sec = "secret";
262
262
  const _seco = "seconds";
263
- const _seq = "sequence";
264
263
  const _ser = "service";
265
264
  const _si = "silent";
266
265
  const _sk = "skills";
@@ -384,7 +383,7 @@ exports.errorTypeRegistries = [
384
383
  exports.Agent$ = [3, n1, _A,
385
384
  0,
386
385
  [_n, _ch, _en, _cA, _cB, _i, _st, _r, _d, _ca, _p, _se, _a, _uA, _uB, _lV, _dBV, _de],
387
- [0, () => exports.AgentChannels$, () => exports.AgentEngine$, 0, () => exports.Actor$, 0, 0, 1, 0, 0, 0, () => exports.AgentSettings$, () => exports.AgentAccess$, 0, () => exports.Actor$, 0, 0, () => AgentDeploymentsList], 8
386
+ [0, () => exports.AgentChannels$, () => exports.AgentEngine$, 0, () => exports.Actor$, 0, 0, 1, 0, 0, 0, () => exports.AgentSettings$, () => exports.AgentAccess$, 0, () => exports.Actor$, 1, 1, () => AgentDeploymentsList], 8
388
387
  ];
389
388
  exports.AgentAccess$ = [3, n1, _AA,
390
389
  0,
@@ -404,7 +403,7 @@ exports.AgentApiKey$ = [3, n1, _AAK,
404
403
  exports.AgentCallCapability$ = [3, n1, _ACC,
405
404
  0,
406
405
  [_aI, _aV, _aD, _a, _va],
407
- [0, 0, 0, () => exports.AgentAccess$, () => AgentToolVariablesList], 1
406
+ [0, 1, 0, () => exports.AgentAccess$, () => AgentToolVariablesList], 1
408
407
  ];
409
408
  exports.AgentChannels$ = [3, n1, _AC,
410
409
  0,
@@ -419,7 +418,7 @@ exports.AgentDefinitionSnapshot$ = [3, n1, _ADS,
419
418
  exports.AgentDelegationCapability$ = [3, n1, _ADC,
420
419
  0,
421
420
  [_i, _n, _d, _aV, _aD, _an],
422
- [0, 0, 0, 0, 0, () => AgentToolAnnotationsList], 1
421
+ [0, 0, 0, 1, 0, () => AgentToolAnnotationsList], 1
423
422
  ];
424
423
  exports.AgentDeployment$ = [3, n1, _AD,
425
424
  0,
@@ -429,12 +428,12 @@ exports.AgentDeployment$ = [3, n1, _AD,
429
428
  exports.AgentDeploymentRoute$ = [3, n1, _ADR,
430
429
  0,
431
430
  [_ve, _pe],
432
- [0, 1], 2
431
+ [1, 1], 2
433
432
  ];
434
433
  exports.AgentHandoverCapability$ = [3, n1, _AHC,
435
434
  0,
436
435
  [_n, _d, _var, _ag, _aV, _aD, _ser, _si, _pi, _an],
437
- [0, 0, 0, 0, 0, 0, 0, 2, () => exports.AgentHandoverPipeline$, () => AgentToolAnnotationsList]
436
+ [0, 0, 0, 0, 1, 0, 0, 2, () => exports.AgentHandoverPipeline$, () => AgentToolAnnotationsList]
438
437
  ];
439
438
  exports.AgentHandoverPipeline$ = [3, n1, _AHP,
440
439
  0,
@@ -454,7 +453,7 @@ exports.AgentHangupPipeline$ = [3, n1, _AHPg,
454
453
  exports.AgentInfo$ = [3, n1, _AI,
455
454
  0,
456
455
  [_i, _n, _st, _ch, _ca, _lV],
457
- [0, 0, 0, 64 | 0, 0, 0], 4
456
+ [0, 0, 0, 64 | 0, 0, 1], 4
458
457
  ];
459
458
  exports.AgentKnowledgeBase$ = [3, n1, _AKB,
460
459
  0,
@@ -558,8 +557,8 @@ exports.AgentVercelSandboxOptions$ = [3, n1, _AVSO,
558
557
  ];
559
558
  exports.AgentVersion$ = [3, n1, _AVg,
560
559
  0,
561
- [_aI, _ve, _seq, _def, _pA, _pB, _bOV, _n, _chan],
562
- [0, 0, 1, () => exports.AgentDefinitionSnapshot$, 0, () => exports.Actor$, 0, 0, 0], 6
560
+ [_aI, _ve, _def, _pA, _pB, _bOV, _n, _chan],
561
+ [0, 1, () => exports.AgentDefinitionSnapshot$, 0, () => exports.Actor$, 1, 0, 0], 5
563
562
  ];
564
563
  exports.AgentVersionChange$ = [3, n1, _AVC,
565
564
  0,
@@ -568,8 +567,8 @@ exports.AgentVersionChange$ = [3, n1, _AVC,
568
567
  ];
569
568
  exports.AgentVersionInfo$ = [3, n1, _AVI,
570
569
  0,
571
- [_aI, _ve, _seq, _pA, _pB, _bOV, _n, _chan, _de],
572
- [0, 0, 1, 0, () => exports.Actor$, 0, 0, 0, 64 | 0], 5
570
+ [_aI, _ve, _pA, _pB, _bOV, _n, _chan, _de],
571
+ [0, 1, 0, () => exports.Actor$, 1, 0, 0, 64 | 0], 4
573
572
  ];
574
573
  exports.AgentWaitCapability$ = [3, n1, _AWC,
575
574
  0,
@@ -609,7 +608,7 @@ exports.ChatChannelSettings$ = [3, n1, _CCS,
609
608
  exports.CompareAgentVersionsInput$ = [3, n1, _CAVI,
610
609
  0,
611
610
  [_aI, _com, _f, _fD, _to, _tD],
612
- [[0, 1], [0, { [_hQ]: _com }], [0, { [_hQ]: _f }], [2, { [_hQ]: _fD }], [0, { [_hQ]: _to }], [2, { [_hQ]: _tD }]], 1
611
+ [[0, 1], [0, { [_hQ]: _com }], [1, { [_hQ]: _f }], [2, { [_hQ]: _fD }], [1, { [_hQ]: _to }], [2, { [_hQ]: _tD }]], 1
613
612
  ];
614
613
  exports.CompareAgentVersionsOutput$ = [3, n1, _CAVO,
615
614
  0,
@@ -699,7 +698,7 @@ exports.GetAgentOutput$ = [3, n1, _GAO,
699
698
  exports.GetAgentVersionInput$ = [3, n1, _GAVI,
700
699
  0,
701
700
  [_aI, _ve, _com],
702
- [[0, 1], [0, 1], [0, { [_hQ]: _com }]], 2
701
+ [[0, 1], [1, 1], [0, { [_hQ]: _com }]], 2
703
702
  ];
704
703
  exports.GetAgentVersionOutput$ = [3, n1, _GAVO,
705
704
  0,
@@ -769,7 +768,7 @@ exports.PublishAgentVersionOutput$ = [3, n1, _PAVO,
769
768
  exports.RestoreAgentVersionToDraftInput$ = [3, n1, _RAVTDI,
770
769
  0,
771
770
  [_aI, _ve, _r, _com],
772
- [[0, 1], [0, 1], 1, [0, { [_hQ]: _com }]], 3
771
+ [[0, 1], [1, 1], 1, [0, { [_hQ]: _com }]], 3
773
772
  ];
774
773
  exports.RestoreAgentVersionToDraftOutput$ = [3, n1, _RAVTDO,
775
774
  0,
@@ -849,7 +848,7 @@ exports.Actor$ = [3, n2, _Ac,
849
848
  exports.AgentSkillReference$ = [3, n3, _ASR,
850
849
  0,
851
850
  [_i, _sV, _a],
852
- [0, 0, () => exports.AgentAccess$], 1
851
+ [0, 1, () => exports.AgentAccess$], 1
853
852
  ];
854
853
  var AgentApiKeysList = [1, n1, _AAKL,
855
854
  0, () => exports.AgentApiKey$
@@ -255,7 +255,6 @@ const _se = "settings";
255
255
  const _sea = "search";
256
256
  const _sec = "secret";
257
257
  const _seco = "seconds";
258
- const _seq = "sequence";
259
258
  const _ser = "service";
260
259
  const _si = "silent";
261
260
  const _sk = "skills";
@@ -379,7 +378,7 @@ export const errorTypeRegistries = [
379
378
  export var Agent$ = [3, n1, _A,
380
379
  0,
381
380
  [_n, _ch, _en, _cA, _cB, _i, _st, _r, _d, _ca, _p, _se, _a, _uA, _uB, _lV, _dBV, _de],
382
- [0, () => AgentChannels$, () => AgentEngine$, 0, () => Actor$, 0, 0, 1, 0, 0, 0, () => AgentSettings$, () => AgentAccess$, 0, () => Actor$, 0, 0, () => AgentDeploymentsList], 8
381
+ [0, () => AgentChannels$, () => AgentEngine$, 0, () => Actor$, 0, 0, 1, 0, 0, 0, () => AgentSettings$, () => AgentAccess$, 0, () => Actor$, 1, 1, () => AgentDeploymentsList], 8
383
382
  ];
384
383
  export var AgentAccess$ = [3, n1, _AA,
385
384
  0,
@@ -399,7 +398,7 @@ export var AgentApiKey$ = [3, n1, _AAK,
399
398
  export var AgentCallCapability$ = [3, n1, _ACC,
400
399
  0,
401
400
  [_aI, _aV, _aD, _a, _va],
402
- [0, 0, 0, () => AgentAccess$, () => AgentToolVariablesList], 1
401
+ [0, 1, 0, () => AgentAccess$, () => AgentToolVariablesList], 1
403
402
  ];
404
403
  export var AgentChannels$ = [3, n1, _AC,
405
404
  0,
@@ -414,7 +413,7 @@ export var AgentDefinitionSnapshot$ = [3, n1, _ADS,
414
413
  export var AgentDelegationCapability$ = [3, n1, _ADC,
415
414
  0,
416
415
  [_i, _n, _d, _aV, _aD, _an],
417
- [0, 0, 0, 0, 0, () => AgentToolAnnotationsList], 1
416
+ [0, 0, 0, 1, 0, () => AgentToolAnnotationsList], 1
418
417
  ];
419
418
  export var AgentDeployment$ = [3, n1, _AD,
420
419
  0,
@@ -424,12 +423,12 @@ export var AgentDeployment$ = [3, n1, _AD,
424
423
  export var AgentDeploymentRoute$ = [3, n1, _ADR,
425
424
  0,
426
425
  [_ve, _pe],
427
- [0, 1], 2
426
+ [1, 1], 2
428
427
  ];
429
428
  export var AgentHandoverCapability$ = [3, n1, _AHC,
430
429
  0,
431
430
  [_n, _d, _var, _ag, _aV, _aD, _ser, _si, _pi, _an],
432
- [0, 0, 0, 0, 0, 0, 0, 2, () => AgentHandoverPipeline$, () => AgentToolAnnotationsList]
431
+ [0, 0, 0, 0, 1, 0, 0, 2, () => AgentHandoverPipeline$, () => AgentToolAnnotationsList]
433
432
  ];
434
433
  export var AgentHandoverPipeline$ = [3, n1, _AHP,
435
434
  0,
@@ -449,7 +448,7 @@ export var AgentHangupPipeline$ = [3, n1, _AHPg,
449
448
  export var AgentInfo$ = [3, n1, _AI,
450
449
  0,
451
450
  [_i, _n, _st, _ch, _ca, _lV],
452
- [0, 0, 0, 64 | 0, 0, 0], 4
451
+ [0, 0, 0, 64 | 0, 0, 1], 4
453
452
  ];
454
453
  export var AgentKnowledgeBase$ = [3, n1, _AKB,
455
454
  0,
@@ -553,8 +552,8 @@ export var AgentVercelSandboxOptions$ = [3, n1, _AVSO,
553
552
  ];
554
553
  export var AgentVersion$ = [3, n1, _AVg,
555
554
  0,
556
- [_aI, _ve, _seq, _def, _pA, _pB, _bOV, _n, _chan],
557
- [0, 0, 1, () => AgentDefinitionSnapshot$, 0, () => Actor$, 0, 0, 0], 6
555
+ [_aI, _ve, _def, _pA, _pB, _bOV, _n, _chan],
556
+ [0, 1, () => AgentDefinitionSnapshot$, 0, () => Actor$, 1, 0, 0], 5
558
557
  ];
559
558
  export var AgentVersionChange$ = [3, n1, _AVC,
560
559
  0,
@@ -563,8 +562,8 @@ export var AgentVersionChange$ = [3, n1, _AVC,
563
562
  ];
564
563
  export var AgentVersionInfo$ = [3, n1, _AVI,
565
564
  0,
566
- [_aI, _ve, _seq, _pA, _pB, _bOV, _n, _chan, _de],
567
- [0, 0, 1, 0, () => Actor$, 0, 0, 0, 64 | 0], 5
565
+ [_aI, _ve, _pA, _pB, _bOV, _n, _chan, _de],
566
+ [0, 1, 0, () => Actor$, 1, 0, 0, 64 | 0], 4
568
567
  ];
569
568
  export var AgentWaitCapability$ = [3, n1, _AWC,
570
569
  0,
@@ -604,7 +603,7 @@ export var ChatChannelSettings$ = [3, n1, _CCS,
604
603
  export var CompareAgentVersionsInput$ = [3, n1, _CAVI,
605
604
  0,
606
605
  [_aI, _com, _f, _fD, _to, _tD],
607
- [[0, 1], [0, { [_hQ]: _com }], [0, { [_hQ]: _f }], [2, { [_hQ]: _fD }], [0, { [_hQ]: _to }], [2, { [_hQ]: _tD }]], 1
606
+ [[0, 1], [0, { [_hQ]: _com }], [1, { [_hQ]: _f }], [2, { [_hQ]: _fD }], [1, { [_hQ]: _to }], [2, { [_hQ]: _tD }]], 1
608
607
  ];
609
608
  export var CompareAgentVersionsOutput$ = [3, n1, _CAVO,
610
609
  0,
@@ -694,7 +693,7 @@ export var GetAgentOutput$ = [3, n1, _GAO,
694
693
  export var GetAgentVersionInput$ = [3, n1, _GAVI,
695
694
  0,
696
695
  [_aI, _ve, _com],
697
- [[0, 1], [0, 1], [0, { [_hQ]: _com }]], 2
696
+ [[0, 1], [1, 1], [0, { [_hQ]: _com }]], 2
698
697
  ];
699
698
  export var GetAgentVersionOutput$ = [3, n1, _GAVO,
700
699
  0,
@@ -764,7 +763,7 @@ export var PublishAgentVersionOutput$ = [3, n1, _PAVO,
764
763
  export var RestoreAgentVersionToDraftInput$ = [3, n1, _RAVTDI,
765
764
  0,
766
765
  [_aI, _ve, _r, _com],
767
- [[0, 1], [0, 1], 1, [0, { [_hQ]: _com }]], 3
766
+ [[0, 1], [1, 1], 1, [0, { [_hQ]: _com }]], 3
768
767
  ];
769
768
  export var RestoreAgentVersionToDraftOutput$ = [3, n1, _RAVTDO,
770
769
  0,
@@ -844,7 +843,7 @@ export var Actor$ = [3, n2, _Ac,
844
843
  export var AgentSkillReference$ = [3, n3, _ASR,
845
844
  0,
846
845
  [_i, _sV, _a],
847
- [0, 0, () => AgentAccess$], 1
846
+ [0, 1, () => AgentAccess$], 1
848
847
  ];
849
848
  var AgentApiKeysList = [1, n1, _AAKL,
850
849
  0, () => AgentApiKey$
@@ -39,9 +39,9 @@ declare const CompareAgentVersionsCommand_base: {
39
39
  * const input = { // CompareAgentVersionsInput
40
40
  * company: "STRING_VALUE",
41
41
  * agentId: "STRING_VALUE", // required
42
- * from: "STRING_VALUE",
42
+ * from: Number("int"),
43
43
  * fromDraft: true || false,
44
- * to: "STRING_VALUE",
44
+ * to: Number("int"),
45
45
  * toDraft: true || false,
46
46
  * };
47
47
  * const command = new CompareAgentVersionsCommand(input);
@@ -104,7 +104,7 @@ declare const CreateAgentCommand_base: {
104
104
  * skills: [ // AgentSkillsList
105
105
  * { // AgentSkillReference
106
106
  * id: "STRING_VALUE", // required
107
- * skillVersion: "STRING_VALUE",
107
+ * skillVersion: Number("int"),
108
108
  * access: { // AgentAccess
109
109
  * visibility: "explicit" || "organization",
110
110
  * grants: [ // AgentGrantPrincipalList
@@ -215,7 +215,7 @@ declare const CreateAgentCommand_base: {
215
215
  * },
216
216
  * agent: { // AgentCallCapability
217
217
  * agentId: "STRING_VALUE", // required
218
- * agentVersion: "STRING_VALUE",
218
+ * agentVersion: Number("int"),
219
219
  * agentDeployment: "STRING_VALUE",
220
220
  * access: {
221
221
  * visibility: "explicit" || "organization",
@@ -246,7 +246,7 @@ declare const CreateAgentCommand_base: {
246
246
  * description: "STRING_VALUE",
247
247
  * variant: "agent" || "service",
248
248
  * agent: "STRING_VALUE",
249
- * agentVersion: "STRING_VALUE",
249
+ * agentVersion: Number("int"),
250
250
  * agentDeployment: "STRING_VALUE",
251
251
  * service: "STRING_VALUE",
252
252
  * silent: true || false,
@@ -275,7 +275,7 @@ declare const CreateAgentCommand_base: {
275
275
  * name: "STRING_VALUE",
276
276
  * description: "STRING_VALUE",
277
277
  * id: "STRING_VALUE", // required
278
- * agentVersion: "STRING_VALUE",
278
+ * agentVersion: Number("int"),
279
279
  * agentDeployment: "STRING_VALUE",
280
280
  * annotations: [
281
281
  * {// Union: only one key present
@@ -439,7 +439,7 @@ declare const CreateAgentCommand_base: {
439
439
  * // skills: [ // AgentSkillsList
440
440
  * // { // AgentSkillReference
441
441
  * // id: "STRING_VALUE", // required
442
- * // skillVersion: "STRING_VALUE",
442
+ * // skillVersion: Number("int"),
443
443
  * // access: { // AgentAccess
444
444
  * // visibility: "explicit" || "organization",
445
445
  * // grants: [ // AgentGrantPrincipalList
@@ -550,7 +550,7 @@ declare const CreateAgentCommand_base: {
550
550
  * // },
551
551
  * // agent: { // AgentCallCapability
552
552
  * // agentId: "STRING_VALUE", // required
553
- * // agentVersion: "STRING_VALUE",
553
+ * // agentVersion: Number("int"),
554
554
  * // agentDeployment: "STRING_VALUE",
555
555
  * // access: {
556
556
  * // visibility: "explicit" || "organization",
@@ -581,7 +581,7 @@ declare const CreateAgentCommand_base: {
581
581
  * // description: "STRING_VALUE",
582
582
  * // variant: "agent" || "service",
583
583
  * // agent: "STRING_VALUE",
584
- * // agentVersion: "STRING_VALUE",
584
+ * // agentVersion: Number("int"),
585
585
  * // agentDeployment: "STRING_VALUE",
586
586
  * // service: "STRING_VALUE",
587
587
  * // silent: true || false,
@@ -610,7 +610,7 @@ declare const CreateAgentCommand_base: {
610
610
  * // name: "STRING_VALUE",
611
611
  * // description: "STRING_VALUE",
612
612
  * // id: "STRING_VALUE", // required
613
- * // agentVersion: "STRING_VALUE",
613
+ * // agentVersion: Number("int"),
614
614
  * // agentDeployment: "STRING_VALUE",
615
615
  * // annotations: [
616
616
  * // {// Union: only one key present
@@ -716,8 +716,8 @@ declare const CreateAgentCommand_base: {
716
716
  * // id: "STRING_VALUE", // required
717
717
  * // status: "draft" || "active", // required
718
718
  * // revision: Number("int"), // required
719
- * // latestVersion: "STRING_VALUE",
720
- * // draftBaseVersion: "STRING_VALUE",
719
+ * // latestVersion: Number("int"),
720
+ * // draftBaseVersion: Number("int"),
721
721
  * // deployments: [ // AgentDeploymentsList
722
722
  * // { // AgentDeployment
723
723
  * // createdAt: "STRING_VALUE", // required
@@ -738,7 +738,7 @@ declare const CreateAgentCommand_base: {
738
738
  * // status: "active" || "paused", // required
739
739
  * // routing: [ // AgentDeploymentRoutesList // required
740
740
  * // { // AgentDeploymentRoute
741
- * // version: "STRING_VALUE", // required
741
+ * // version: Number("int"), // required
742
742
  * // percentage: Number("int"), // required
743
743
  * // },
744
744
  * // ],
@@ -44,7 +44,7 @@ declare const CreateAgentDeploymentCommand_base: {
44
44
  * status: "active" || "paused", // required
45
45
  * routing: [ // AgentDeploymentRoutesList // required
46
46
  * { // AgentDeploymentRoute
47
- * version: "STRING_VALUE", // required
47
+ * version: Number("int"), // required
48
48
  * percentage: Number("int"), // required
49
49
  * },
50
50
  * ],
@@ -71,7 +71,7 @@ declare const CreateAgentDeploymentCommand_base: {
71
71
  * // status: "active" || "paused", // required
72
72
  * // routing: [ // AgentDeploymentRoutesList // required
73
73
  * // { // AgentDeploymentRoute
74
- * // version: "STRING_VALUE", // required
74
+ * // version: Number("int"), // required
75
75
  * // percentage: Number("int"), // required
76
76
  * // },
77
77
  * // ],
@@ -111,7 +111,7 @@ declare const GetAgentCommand_base: {
111
111
  * // skills: [ // AgentSkillsList
112
112
  * // { // AgentSkillReference
113
113
  * // id: "STRING_VALUE", // required
114
- * // skillVersion: "STRING_VALUE",
114
+ * // skillVersion: Number("int"),
115
115
  * // access: { // AgentAccess
116
116
  * // visibility: "explicit" || "organization",
117
117
  * // grants: [ // AgentGrantPrincipalList
@@ -222,7 +222,7 @@ declare const GetAgentCommand_base: {
222
222
  * // },
223
223
  * // agent: { // AgentCallCapability
224
224
  * // agentId: "STRING_VALUE", // required
225
- * // agentVersion: "STRING_VALUE",
225
+ * // agentVersion: Number("int"),
226
226
  * // agentDeployment: "STRING_VALUE",
227
227
  * // access: {
228
228
  * // visibility: "explicit" || "organization",
@@ -253,7 +253,7 @@ declare const GetAgentCommand_base: {
253
253
  * // description: "STRING_VALUE",
254
254
  * // variant: "agent" || "service",
255
255
  * // agent: "STRING_VALUE",
256
- * // agentVersion: "STRING_VALUE",
256
+ * // agentVersion: Number("int"),
257
257
  * // agentDeployment: "STRING_VALUE",
258
258
  * // service: "STRING_VALUE",
259
259
  * // silent: true || false,
@@ -282,7 +282,7 @@ declare const GetAgentCommand_base: {
282
282
  * // name: "STRING_VALUE",
283
283
  * // description: "STRING_VALUE",
284
284
  * // id: "STRING_VALUE", // required
285
- * // agentVersion: "STRING_VALUE",
285
+ * // agentVersion: Number("int"),
286
286
  * // agentDeployment: "STRING_VALUE",
287
287
  * // annotations: [
288
288
  * // {// Union: only one key present
@@ -388,8 +388,8 @@ declare const GetAgentCommand_base: {
388
388
  * // id: "STRING_VALUE", // required
389
389
  * // status: "draft" || "active", // required
390
390
  * // revision: Number("int"), // required
391
- * // latestVersion: "STRING_VALUE",
392
- * // draftBaseVersion: "STRING_VALUE",
391
+ * // latestVersion: Number("int"),
392
+ * // draftBaseVersion: Number("int"),
393
393
  * // deployments: [ // AgentDeploymentsList
394
394
  * // { // AgentDeployment
395
395
  * // createdAt: "STRING_VALUE", // required
@@ -410,7 +410,7 @@ declare const GetAgentCommand_base: {
410
410
  * // status: "active" || "paused", // required
411
411
  * // routing: [ // AgentDeploymentRoutesList // required
412
412
  * // { // AgentDeploymentRoute
413
- * // version: "STRING_VALUE", // required
413
+ * // version: Number("int"), // required
414
414
  * // percentage: Number("int"), // required
415
415
  * // },
416
416
  * // ],
@@ -63,7 +63,7 @@ declare const GetAgentDeploymentCommand_base: {
63
63
  * // status: "active" || "paused", // required
64
64
  * // routing: [ // AgentDeploymentRoutesList // required
65
65
  * // { // AgentDeploymentRoute
66
- * // version: "STRING_VALUE", // required
66
+ * // version: Number("int"), // required
67
67
  * // percentage: Number("int"), // required
68
68
  * // },
69
69
  * // ],
@@ -39,16 +39,15 @@ declare const GetAgentVersionCommand_base: {
39
39
  * const input = { // GetAgentVersionInput
40
40
  * company: "STRING_VALUE",
41
41
  * agentId: "STRING_VALUE", // required
42
- * version: "STRING_VALUE", // required
42
+ * version: Number("int"), // required
43
43
  * };
44
44
  * const command = new GetAgentVersionCommand(input);
45
45
  * const response = await client.send(command);
46
46
  * // { // GetAgentVersionOutput
47
47
  * // version: { // AgentVersion
48
48
  * // agentId: "STRING_VALUE", // required
49
- * // version: "STRING_VALUE", // required
50
- * // sequence: Number("int"), // required
51
- * // basedOnVersion: "STRING_VALUE",
49
+ * // version: Number("int"), // required
50
+ * // basedOnVersion: Number("int"),
52
51
  * // name: "STRING_VALUE",
53
52
  * // changelog: "STRING_VALUE",
54
53
  * // definition: { // AgentDefinitionSnapshot
@@ -119,7 +118,7 @@ declare const GetAgentVersionCommand_base: {
119
118
  * // skills: [ // AgentSkillsList
120
119
  * // { // AgentSkillReference
121
120
  * // id: "STRING_VALUE", // required
122
- * // skillVersion: "STRING_VALUE",
121
+ * // skillVersion: Number("int"),
123
122
  * // access: { // AgentAccess
124
123
  * // visibility: "explicit" || "organization",
125
124
  * // grants: [ // AgentGrantPrincipalList
@@ -230,7 +229,7 @@ declare const GetAgentVersionCommand_base: {
230
229
  * // },
231
230
  * // agent: { // AgentCallCapability
232
231
  * // agentId: "STRING_VALUE", // required
233
- * // agentVersion: "STRING_VALUE",
232
+ * // agentVersion: Number("int"),
234
233
  * // agentDeployment: "STRING_VALUE",
235
234
  * // access: {
236
235
  * // visibility: "explicit" || "organization",
@@ -261,7 +260,7 @@ declare const GetAgentVersionCommand_base: {
261
260
  * // description: "STRING_VALUE",
262
261
  * // variant: "agent" || "service",
263
262
  * // agent: "STRING_VALUE",
264
- * // agentVersion: "STRING_VALUE",
263
+ * // agentVersion: Number("int"),
265
264
  * // agentDeployment: "STRING_VALUE",
266
265
  * // service: "STRING_VALUE",
267
266
  * // silent: true || false,
@@ -290,7 +289,7 @@ declare const GetAgentVersionCommand_base: {
290
289
  * // name: "STRING_VALUE",
291
290
  * // description: "STRING_VALUE",
292
291
  * // id: "STRING_VALUE", // required
293
- * // agentVersion: "STRING_VALUE",
292
+ * // agentVersion: Number("int"),
294
293
  * // agentDeployment: "STRING_VALUE",
295
294
  * // annotations: [
296
295
  * // {// Union: only one key present
@@ -63,7 +63,7 @@ declare const ListAgentDeploymentsCommand_base: {
63
63
  * // status: "active" || "paused", // required
64
64
  * // routing: [ // AgentDeploymentRoutesList // required
65
65
  * // { // AgentDeploymentRoute
66
- * // version: "STRING_VALUE", // required
66
+ * // version: Number("int"), // required
67
67
  * // percentage: Number("int"), // required
68
68
  * // },
69
69
  * // ],
@@ -48,9 +48,8 @@ declare const ListAgentVersionsCommand_base: {
48
48
  * // versions: [ // AgentVersionInfoList // required
49
49
  * // { // AgentVersionInfo
50
50
  * // agentId: "STRING_VALUE", // required
51
- * // version: "STRING_VALUE", // required
52
- * // sequence: Number("int"), // required
53
- * // basedOnVersion: "STRING_VALUE",
51
+ * // version: Number("int"), // required
52
+ * // basedOnVersion: Number("int"),
54
53
  * // name: "STRING_VALUE",
55
54
  * // changelog: "STRING_VALUE",
56
55
  * // publishedAt: "STRING_VALUE", // required
@@ -116,7 +116,7 @@ declare const ListAgentsCommand_base: {
116
116
  * // skills: [ // AgentSkillsList
117
117
  * // { // AgentSkillReference
118
118
  * // id: "STRING_VALUE", // required
119
- * // skillVersion: "STRING_VALUE",
119
+ * // skillVersion: Number("int"),
120
120
  * // access: { // AgentAccess
121
121
  * // visibility: "explicit" || "organization",
122
122
  * // grants: [ // AgentGrantPrincipalList
@@ -227,7 +227,7 @@ declare const ListAgentsCommand_base: {
227
227
  * // },
228
228
  * // agent: { // AgentCallCapability
229
229
  * // agentId: "STRING_VALUE", // required
230
- * // agentVersion: "STRING_VALUE",
230
+ * // agentVersion: Number("int"),
231
231
  * // agentDeployment: "STRING_VALUE",
232
232
  * // access: {
233
233
  * // visibility: "explicit" || "organization",
@@ -258,7 +258,7 @@ declare const ListAgentsCommand_base: {
258
258
  * // description: "STRING_VALUE",
259
259
  * // variant: "agent" || "service",
260
260
  * // agent: "STRING_VALUE",
261
- * // agentVersion: "STRING_VALUE",
261
+ * // agentVersion: Number("int"),
262
262
  * // agentDeployment: "STRING_VALUE",
263
263
  * // service: "STRING_VALUE",
264
264
  * // silent: true || false,
@@ -287,7 +287,7 @@ declare const ListAgentsCommand_base: {
287
287
  * // name: "STRING_VALUE",
288
288
  * // description: "STRING_VALUE",
289
289
  * // id: "STRING_VALUE", // required
290
- * // agentVersion: "STRING_VALUE",
290
+ * // agentVersion: Number("int"),
291
291
  * // agentDeployment: "STRING_VALUE",
292
292
  * // annotations: [
293
293
  * // {// Union: only one key present
@@ -393,8 +393,8 @@ declare const ListAgentsCommand_base: {
393
393
  * // id: "STRING_VALUE", // required
394
394
  * // status: "draft" || "active", // required
395
395
  * // revision: Number("int"), // required
396
- * // latestVersion: "STRING_VALUE",
397
- * // draftBaseVersion: "STRING_VALUE",
396
+ * // latestVersion: Number("int"),
397
+ * // draftBaseVersion: Number("int"),
398
398
  * // deployments: [ // AgentDeploymentsList
399
399
  * // { // AgentDeployment
400
400
  * // createdAt: "STRING_VALUE", // required
@@ -415,7 +415,7 @@ declare const ListAgentsCommand_base: {
415
415
  * // status: "active" || "paused", // required
416
416
  * // routing: [ // AgentDeploymentRoutesList // required
417
417
  * // { // AgentDeploymentRoute
418
- * // version: "STRING_VALUE", // required
418
+ * // version: Number("int"), // required
419
419
  * // percentage: Number("int"), // required
420
420
  * // },
421
421
  * // ],
@@ -52,7 +52,7 @@ declare const ListAgentsNamesCommand_base: {
52
52
  * // channels: [ // ChannelTypeList // required
53
53
  * // "voice" || "chat" || "assistant" || "autonomous",
54
54
  * // ],
55
- * // latestVersion: "STRING_VALUE",
55
+ * // latestVersion: Number("int"),
56
56
  * // },
57
57
  * // ],
58
58
  * // };
@@ -48,9 +48,8 @@ declare const PublishAgentVersionCommand_base: {
48
48
  * // { // PublishAgentVersionOutput
49
49
  * // version: { // AgentVersion
50
50
  * // agentId: "STRING_VALUE", // required
51
- * // version: "STRING_VALUE", // required
52
- * // sequence: Number("int"), // required
53
- * // basedOnVersion: "STRING_VALUE",
51
+ * // version: Number("int"), // required
52
+ * // basedOnVersion: Number("int"),
54
53
  * // name: "STRING_VALUE",
55
54
  * // changelog: "STRING_VALUE",
56
55
  * // definition: { // AgentDefinitionSnapshot
@@ -121,7 +120,7 @@ declare const PublishAgentVersionCommand_base: {
121
120
  * // skills: [ // AgentSkillsList
122
121
  * // { // AgentSkillReference
123
122
  * // id: "STRING_VALUE", // required
124
- * // skillVersion: "STRING_VALUE",
123
+ * // skillVersion: Number("int"),
125
124
  * // access: { // AgentAccess
126
125
  * // visibility: "explicit" || "organization",
127
126
  * // grants: [ // AgentGrantPrincipalList
@@ -232,7 +231,7 @@ declare const PublishAgentVersionCommand_base: {
232
231
  * // },
233
232
  * // agent: { // AgentCallCapability
234
233
  * // agentId: "STRING_VALUE", // required
235
- * // agentVersion: "STRING_VALUE",
234
+ * // agentVersion: Number("int"),
236
235
  * // agentDeployment: "STRING_VALUE",
237
236
  * // access: {
238
237
  * // visibility: "explicit" || "organization",
@@ -263,7 +262,7 @@ declare const PublishAgentVersionCommand_base: {
263
262
  * // description: "STRING_VALUE",
264
263
  * // variant: "agent" || "service",
265
264
  * // agent: "STRING_VALUE",
266
- * // agentVersion: "STRING_VALUE",
265
+ * // agentVersion: Number("int"),
267
266
  * // agentDeployment: "STRING_VALUE",
268
267
  * // service: "STRING_VALUE",
269
268
  * // silent: true || false,
@@ -292,7 +291,7 @@ declare const PublishAgentVersionCommand_base: {
292
291
  * // name: "STRING_VALUE",
293
292
  * // description: "STRING_VALUE",
294
293
  * // id: "STRING_VALUE", // required
295
- * // agentVersion: "STRING_VALUE",
294
+ * // agentVersion: Number("int"),
296
295
  * // agentDeployment: "STRING_VALUE",
297
296
  * // annotations: [
298
297
  * // {// Union: only one key present
@@ -39,7 +39,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
39
39
  * const input = { // RestoreAgentVersionToDraftInput
40
40
  * company: "STRING_VALUE",
41
41
  * agentId: "STRING_VALUE", // required
42
- * version: "STRING_VALUE", // required
42
+ * version: Number("int"), // required
43
43
  * revision: Number("int"), // required
44
44
  * };
45
45
  * const command = new RestoreAgentVersionToDraftCommand(input);
@@ -113,7 +113,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
113
113
  * // skills: [ // AgentSkillsList
114
114
  * // { // AgentSkillReference
115
115
  * // id: "STRING_VALUE", // required
116
- * // skillVersion: "STRING_VALUE",
116
+ * // skillVersion: Number("int"),
117
117
  * // access: { // AgentAccess
118
118
  * // visibility: "explicit" || "organization",
119
119
  * // grants: [ // AgentGrantPrincipalList
@@ -224,7 +224,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
224
224
  * // },
225
225
  * // agent: { // AgentCallCapability
226
226
  * // agentId: "STRING_VALUE", // required
227
- * // agentVersion: "STRING_VALUE",
227
+ * // agentVersion: Number("int"),
228
228
  * // agentDeployment: "STRING_VALUE",
229
229
  * // access: {
230
230
  * // visibility: "explicit" || "organization",
@@ -255,7 +255,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
255
255
  * // description: "STRING_VALUE",
256
256
  * // variant: "agent" || "service",
257
257
  * // agent: "STRING_VALUE",
258
- * // agentVersion: "STRING_VALUE",
258
+ * // agentVersion: Number("int"),
259
259
  * // agentDeployment: "STRING_VALUE",
260
260
  * // service: "STRING_VALUE",
261
261
  * // silent: true || false,
@@ -284,7 +284,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
284
284
  * // name: "STRING_VALUE",
285
285
  * // description: "STRING_VALUE",
286
286
  * // id: "STRING_VALUE", // required
287
- * // agentVersion: "STRING_VALUE",
287
+ * // agentVersion: Number("int"),
288
288
  * // agentDeployment: "STRING_VALUE",
289
289
  * // annotations: [
290
290
  * // {// Union: only one key present
@@ -390,8 +390,8 @@ declare const RestoreAgentVersionToDraftCommand_base: {
390
390
  * // id: "STRING_VALUE", // required
391
391
  * // status: "draft" || "active", // required
392
392
  * // revision: Number("int"), // required
393
- * // latestVersion: "STRING_VALUE",
394
- * // draftBaseVersion: "STRING_VALUE",
393
+ * // latestVersion: Number("int"),
394
+ * // draftBaseVersion: Number("int"),
395
395
  * // deployments: [ // AgentDeploymentsList
396
396
  * // { // AgentDeployment
397
397
  * // createdAt: "STRING_VALUE", // required
@@ -412,7 +412,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
412
412
  * // status: "active" || "paused", // required
413
413
  * // routing: [ // AgentDeploymentRoutesList // required
414
414
  * // { // AgentDeploymentRoute
415
- * // version: "STRING_VALUE", // required
415
+ * // version: Number("int"), // required
416
416
  * // percentage: Number("int"), // required
417
417
  * // },
418
418
  * // ],
@@ -104,7 +104,7 @@ declare const UpdateAgentCommand_base: {
104
104
  * skills: [ // AgentSkillsList
105
105
  * { // AgentSkillReference
106
106
  * id: "STRING_VALUE", // required
107
- * skillVersion: "STRING_VALUE",
107
+ * skillVersion: Number("int"),
108
108
  * access: { // AgentAccess
109
109
  * visibility: "explicit" || "organization",
110
110
  * grants: [ // AgentGrantPrincipalList
@@ -215,7 +215,7 @@ declare const UpdateAgentCommand_base: {
215
215
  * },
216
216
  * agent: { // AgentCallCapability
217
217
  * agentId: "STRING_VALUE", // required
218
- * agentVersion: "STRING_VALUE",
218
+ * agentVersion: Number("int"),
219
219
  * agentDeployment: "STRING_VALUE",
220
220
  * access: {
221
221
  * visibility: "explicit" || "organization",
@@ -246,7 +246,7 @@ declare const UpdateAgentCommand_base: {
246
246
  * description: "STRING_VALUE",
247
247
  * variant: "agent" || "service",
248
248
  * agent: "STRING_VALUE",
249
- * agentVersion: "STRING_VALUE",
249
+ * agentVersion: Number("int"),
250
250
  * agentDeployment: "STRING_VALUE",
251
251
  * service: "STRING_VALUE",
252
252
  * silent: true || false,
@@ -275,7 +275,7 @@ declare const UpdateAgentCommand_base: {
275
275
  * name: "STRING_VALUE",
276
276
  * description: "STRING_VALUE",
277
277
  * id: "STRING_VALUE", // required
278
- * agentVersion: "STRING_VALUE",
278
+ * agentVersion: Number("int"),
279
279
  * agentDeployment: "STRING_VALUE",
280
280
  * annotations: [
281
281
  * {// Union: only one key present
@@ -441,7 +441,7 @@ declare const UpdateAgentCommand_base: {
441
441
  * // skills: [ // AgentSkillsList
442
442
  * // { // AgentSkillReference
443
443
  * // id: "STRING_VALUE", // required
444
- * // skillVersion: "STRING_VALUE",
444
+ * // skillVersion: Number("int"),
445
445
  * // access: { // AgentAccess
446
446
  * // visibility: "explicit" || "organization",
447
447
  * // grants: [ // AgentGrantPrincipalList
@@ -552,7 +552,7 @@ declare const UpdateAgentCommand_base: {
552
552
  * // },
553
553
  * // agent: { // AgentCallCapability
554
554
  * // agentId: "STRING_VALUE", // required
555
- * // agentVersion: "STRING_VALUE",
555
+ * // agentVersion: Number("int"),
556
556
  * // agentDeployment: "STRING_VALUE",
557
557
  * // access: {
558
558
  * // visibility: "explicit" || "organization",
@@ -583,7 +583,7 @@ declare const UpdateAgentCommand_base: {
583
583
  * // description: "STRING_VALUE",
584
584
  * // variant: "agent" || "service",
585
585
  * // agent: "STRING_VALUE",
586
- * // agentVersion: "STRING_VALUE",
586
+ * // agentVersion: Number("int"),
587
587
  * // agentDeployment: "STRING_VALUE",
588
588
  * // service: "STRING_VALUE",
589
589
  * // silent: true || false,
@@ -612,7 +612,7 @@ declare const UpdateAgentCommand_base: {
612
612
  * // name: "STRING_VALUE",
613
613
  * // description: "STRING_VALUE",
614
614
  * // id: "STRING_VALUE", // required
615
- * // agentVersion: "STRING_VALUE",
615
+ * // agentVersion: Number("int"),
616
616
  * // agentDeployment: "STRING_VALUE",
617
617
  * // annotations: [
618
618
  * // {// Union: only one key present
@@ -718,8 +718,8 @@ declare const UpdateAgentCommand_base: {
718
718
  * // id: "STRING_VALUE", // required
719
719
  * // status: "draft" || "active", // required
720
720
  * // revision: Number("int"), // required
721
- * // latestVersion: "STRING_VALUE",
722
- * // draftBaseVersion: "STRING_VALUE",
721
+ * // latestVersion: Number("int"),
722
+ * // draftBaseVersion: Number("int"),
723
723
  * // deployments: [ // AgentDeploymentsList
724
724
  * // { // AgentDeployment
725
725
  * // createdAt: "STRING_VALUE", // required
@@ -740,7 +740,7 @@ declare const UpdateAgentCommand_base: {
740
740
  * // status: "active" || "paused", // required
741
741
  * // routing: [ // AgentDeploymentRoutesList // required
742
742
  * // { // AgentDeploymentRoute
743
- * // version: "STRING_VALUE", // required
743
+ * // version: Number("int"), // required
744
744
  * // percentage: Number("int"), // required
745
745
  * // },
746
746
  * // ],
@@ -44,7 +44,7 @@ declare const UpdateAgentDeploymentCommand_base: {
44
44
  * status: "active" || "paused", // required
45
45
  * routing: [ // AgentDeploymentRoutesList // required
46
46
  * { // AgentDeploymentRoute
47
- * version: "STRING_VALUE", // required
47
+ * version: Number("int"), // required
48
48
  * percentage: Number("int"), // required
49
49
  * },
50
50
  * ],
@@ -72,7 +72,7 @@ declare const UpdateAgentDeploymentCommand_base: {
72
72
  * // status: "active" || "paused", // required
73
73
  * // routing: [ // AgentDeploymentRoutesList // required
74
74
  * // { // AgentDeploymentRoute
75
- * // version: "STRING_VALUE", // required
75
+ * // version: Number("int"), // required
76
76
  * // percentage: Number("int"), // required
77
77
  * // },
78
78
  * // ],
@@ -284,10 +284,10 @@ export interface Actor {
284
284
  */
285
285
  export interface AgentDeploymentRoute {
286
286
  /**
287
- * Immutable published agent version identifier (nanoid).
287
+ * Published agent version number. Monotonic within an agent's version history, starting at 1.
288
288
  * @public
289
289
  */
290
- version: string;
290
+ version: number;
291
291
  /**
292
292
  * Percentage of eligible new sessions routed to this version. Percentages in a deployment must sum to 100.
293
293
  * @public
@@ -437,7 +437,7 @@ export interface AgentCallCapability {
437
437
  * Pin a specific published version of the called agent. Mutually exclusive with agentDeployment.
438
438
  * @public
439
439
  */
440
- agentVersion?: string | undefined;
440
+ agentVersion?: number | undefined;
441
441
  /**
442
442
  * Resolve the called agent through this deployment. When neither agentVersion nor agentDeployment is set, the called agent's 'production' deployment is resolved at invocation time.
443
443
  * @public
@@ -606,7 +606,7 @@ export interface AgentDelegationCapability {
606
606
  * Pin a specific published version of the delegate agent. Mutually exclusive with agentDeployment.
607
607
  * @public
608
608
  */
609
- agentVersion?: string | undefined;
609
+ agentVersion?: number | undefined;
610
610
  /**
611
611
  * Resolve the delegate agent through this deployment. When neither agentVersion nor agentDeployment is set, the delegate's 'production' deployment is resolved at delegation time.
612
612
  * @public
@@ -650,7 +650,7 @@ export interface AgentHandoverCapability {
650
650
  * Pin a specific published version of the target agent when variant = AGENT. Mutually exclusive with agentDeployment.
651
651
  * @public
652
652
  */
653
- agentVersion?: string | undefined;
653
+ agentVersion?: number | undefined;
654
654
  /**
655
655
  * Resolve the target agent through this deployment when variant = AGENT. When neither agentVersion nor agentDeployment is set, the target's 'production' deployment is resolved at handover time.
656
656
  * @public
@@ -1250,7 +1250,7 @@ export interface AgentSkillReference {
1250
1250
  * Pin a specific published skill version. When omitted, latestVersion is resolved.
1251
1251
  * @public
1252
1252
  */
1253
- skillVersion?: string | undefined;
1253
+ skillVersion?: number | undefined;
1254
1254
  /**
1255
1255
  * Override access for this skill on this agent. When omitted, the agent's default access policy applies.
1256
1256
  * @public
@@ -1449,15 +1449,15 @@ export interface Agent {
1449
1449
  */
1450
1450
  revision: number;
1451
1451
  /**
1452
- * Latest published version id; absent while the agent is still a draft.
1452
+ * Latest published version number; absent while the agent is still a draft.
1453
1453
  * @public
1454
1454
  */
1455
- latestVersion?: string | undefined;
1455
+ latestVersion?: number | undefined;
1456
1456
  /**
1457
- * Published version from which the current draft originated. Absent before the first version is published.
1457
+ * Published version number from which the current draft originated. Absent before the first version is published.
1458
1458
  * @public
1459
1459
  */
1460
- draftBaseVersion?: string | undefined;
1460
+ draftBaseVersion?: number | undefined;
1461
1461
  /**
1462
1462
  * Named deployment configurations routing new sessions to published versions.
1463
1463
  * @public
@@ -1551,10 +1551,10 @@ export interface AgentInfo {
1551
1551
  */
1552
1552
  channels: ChannelType[];
1553
1553
  /**
1554
- * Immutable published agent version identifier (nanoid).
1554
+ * Published agent version number. Monotonic within an agent's version history, starting at 1.
1555
1555
  * @public
1556
1556
  */
1557
- latestVersion?: string | undefined;
1557
+ latestVersion?: number | undefined;
1558
1558
  }
1559
1559
  /**
1560
1560
  * @public
@@ -1562,20 +1562,15 @@ export interface AgentInfo {
1562
1562
  export interface AgentVersion {
1563
1563
  agentId: string;
1564
1564
  /**
1565
- * Immutable published agent version identifier (nanoid).
1565
+ * Published agent version number. Monotonic within an agent's version history, starting at 1.
1566
1566
  * @public
1567
1567
  */
1568
- version: string;
1569
- /**
1570
- * Monotonic sequence within the agent's published version history, starting at 1. Used for human-facing labels such as v13; version remains the stable identifier.
1571
- * @public
1572
- */
1573
- sequence: number;
1568
+ version: number;
1574
1569
  /**
1575
1570
  * Published version from which the draft originated. Absent for the first version of a new agent.
1576
1571
  * @public
1577
1572
  */
1578
- basedOnVersion?: string | undefined;
1573
+ basedOnVersion?: number | undefined;
1579
1574
  /**
1580
1575
  * Optional human-readable name supplied at publish time.
1581
1576
  * @public
@@ -1629,16 +1624,15 @@ export interface AgentVersionChange {
1629
1624
  export interface AgentVersionInfo {
1630
1625
  agentId: string;
1631
1626
  /**
1632
- * Immutable published agent version identifier (nanoid).
1627
+ * Published agent version number. Monotonic within an agent's version history, starting at 1.
1633
1628
  * @public
1634
1629
  */
1635
- version: string;
1636
- sequence: number;
1630
+ version: number;
1637
1631
  /**
1638
- * Immutable published agent version identifier (nanoid).
1632
+ * Published agent version number. Monotonic within an agent's version history, starting at 1.
1639
1633
  * @public
1640
1634
  */
1641
- basedOnVersion?: string | undefined;
1635
+ basedOnVersion?: number | undefined;
1642
1636
  name?: string | undefined;
1643
1637
  /**
1644
1638
  * Human-readable description of what changed in a published version.
@@ -1668,20 +1662,20 @@ export interface CompareAgentVersionsInput {
1668
1662
  company?: string | undefined;
1669
1663
  agentId: string;
1670
1664
  /**
1671
- * Base published version id. Omit when fromDraft is true.
1665
+ * Base published version number. Omit when fromDraft is true.
1672
1666
  * @public
1673
1667
  */
1674
- from?: string | undefined;
1668
+ from?: number | undefined;
1675
1669
  /**
1676
1670
  * Compare against the current draft instead of a published version.
1677
1671
  * @public
1678
1672
  */
1679
1673
  fromDraft?: boolean | undefined;
1680
1674
  /**
1681
- * Target published version id. Omit when toDraft is true.
1675
+ * Target published version number. Omit when toDraft is true.
1682
1676
  * @public
1683
1677
  */
1684
- to?: string | undefined;
1678
+ to?: number | undefined;
1685
1679
  /**
1686
1680
  * Compare against the current draft instead of a published version.
1687
1681
  * @public
@@ -1883,10 +1877,10 @@ export interface GetAgentVersionInput {
1883
1877
  company?: string | undefined;
1884
1878
  agentId: string;
1885
1879
  /**
1886
- * Immutable published agent version identifier (nanoid).
1880
+ * Published agent version number. Monotonic within an agent's version history, starting at 1.
1887
1881
  * @public
1888
1882
  */
1889
- version: string;
1883
+ version: number;
1890
1884
  }
1891
1885
  /**
1892
1886
  * @public
@@ -2030,10 +2024,10 @@ export interface RestoreAgentVersionToDraftInput {
2030
2024
  company?: string | undefined;
2031
2025
  agentId: string;
2032
2026
  /**
2033
- * Immutable published agent version identifier (nanoid).
2027
+ * Published agent version number. Monotonic within an agent's version history, starting at 1.
2034
2028
  * @public
2035
2029
  */
2036
- version: string;
2030
+ version: number;
2037
2031
  /**
2038
2032
  * Draft revision this restore is based on (optimistic locking).
2039
2033
  * @public
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wildix/wilma-agents-client",
3
3
  "description": "@wildix/wilma-agents-client client",
4
- "version": "1.0.2",
4
+ "version": "1.0.3",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -54,4 +54,4 @@
54
54
  "react-native": {
55
55
  "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
56
56
  }
57
- }
57
+ }