@cloudfleet/sdk 0.0.1-cdcf1a9 → 0.0.1-d73ddc5

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 (68) hide show
  1. package/dist/client/client.gen.d.ts +3 -0
  2. package/dist/client/client.gen.d.ts.map +1 -0
  3. package/dist/client/client.gen.js +205 -0
  4. package/dist/client/client.gen.js.map +1 -0
  5. package/dist/client/index.d.ts +9 -0
  6. package/dist/client/index.d.ts.map +1 -0
  7. package/dist/client/index.js +7 -0
  8. package/dist/client/index.js.map +1 -0
  9. package/dist/client/types.gen.d.ts +125 -0
  10. package/dist/client/types.gen.d.ts.map +1 -0
  11. package/dist/client/types.gen.js +3 -0
  12. package/dist/client/types.gen.js.map +1 -0
  13. package/dist/client/utils.gen.d.ts +34 -0
  14. package/dist/client/utils.gen.d.ts.map +1 -0
  15. package/dist/client/utils.gen.js +231 -0
  16. package/dist/client/utils.gen.js.map +1 -0
  17. package/dist/client.gen.d.ts +4 -4
  18. package/dist/client.gen.d.ts.map +1 -1
  19. package/dist/client.gen.js +1 -1
  20. package/dist/client.gen.js.map +1 -1
  21. package/dist/core/auth.gen.d.ts +19 -0
  22. package/dist/core/auth.gen.d.ts.map +1 -0
  23. package/dist/core/auth.gen.js +15 -0
  24. package/dist/core/auth.gen.js.map +1 -0
  25. package/dist/core/bodySerializer.gen.d.ts +18 -0
  26. package/dist/core/bodySerializer.gen.d.ts.map +1 -0
  27. package/dist/core/bodySerializer.gen.js +58 -0
  28. package/dist/core/bodySerializer.gen.js.map +1 -0
  29. package/dist/core/params.gen.d.ts +34 -0
  30. package/dist/core/params.gen.d.ts.map +1 -0
  31. package/dist/core/params.gen.js +89 -0
  32. package/dist/core/params.gen.js.map +1 -0
  33. package/dist/core/pathSerializer.gen.d.ts +34 -0
  34. package/dist/core/pathSerializer.gen.d.ts.map +1 -0
  35. package/dist/core/pathSerializer.gen.js +115 -0
  36. package/dist/core/pathSerializer.gen.js.map +1 -0
  37. package/dist/core/queryKeySerializer.gen.d.ts +19 -0
  38. package/dist/core/queryKeySerializer.gen.d.ts.map +1 -0
  39. package/dist/core/queryKeySerializer.gen.js +100 -0
  40. package/dist/core/queryKeySerializer.gen.js.map +1 -0
  41. package/dist/core/serverSentEvents.gen.d.ts +72 -0
  42. package/dist/core/serverSentEvents.gen.d.ts.map +1 -0
  43. package/dist/core/serverSentEvents.gen.js +136 -0
  44. package/dist/core/serverSentEvents.gen.js.map +1 -0
  45. package/dist/core/types.gen.d.ts +79 -0
  46. package/dist/core/types.gen.d.ts.map +1 -0
  47. package/dist/core/types.gen.js +3 -0
  48. package/dist/core/types.gen.js.map +1 -0
  49. package/dist/core/utils.gen.d.ts +20 -0
  50. package/dist/core/utils.gen.d.ts.map +1 -0
  51. package/dist/core/utils.gen.js +88 -0
  52. package/dist/core/utils.gen.js.map +1 -0
  53. package/dist/schemas.gen.d.ts +64 -104
  54. package/dist/schemas.gen.d.ts.map +1 -1
  55. package/dist/schemas.gen.js +64 -113
  56. package/dist/schemas.gen.js.map +1 -1
  57. package/dist/sdk.gen.d.ts +57 -64
  58. package/dist/sdk.gen.d.ts.map +1 -1
  59. package/dist/sdk.gen.js +69 -69
  60. package/dist/sdk.gen.js.map +1 -1
  61. package/dist/services/kubernetes/api.d.ts +12 -12
  62. package/dist/types.gen.d.ts +33 -37
  63. package/dist/types.gen.d.ts.map +1 -1
  64. package/dist/zod.gen.d.ts +2688 -2077
  65. package/dist/zod.gen.d.ts.map +1 -1
  66. package/dist/zod.gen.js +639 -215
  67. package/dist/zod.gen.js.map +1 -1
  68. package/package.json +5 -6
@@ -0,0 +1,88 @@
1
+ // This file is auto-generated by @hey-api/openapi-ts
2
+ import { serializeArrayParam, serializeObjectParam, serializePrimitiveParam, } from './pathSerializer.gen';
3
+ export const PATH_PARAM_RE = /\{[^{}]+\}/g;
4
+ export const defaultPathSerializer = ({ path, url: _url }) => {
5
+ let url = _url;
6
+ const matches = _url.match(PATH_PARAM_RE);
7
+ if (matches) {
8
+ for (const match of matches) {
9
+ let explode = false;
10
+ let name = match.substring(1, match.length - 1);
11
+ let style = 'simple';
12
+ if (name.endsWith('*')) {
13
+ explode = true;
14
+ name = name.substring(0, name.length - 1);
15
+ }
16
+ if (name.startsWith('.')) {
17
+ name = name.substring(1);
18
+ style = 'label';
19
+ }
20
+ else if (name.startsWith(';')) {
21
+ name = name.substring(1);
22
+ style = 'matrix';
23
+ }
24
+ const value = path[name];
25
+ if (value === undefined || value === null) {
26
+ continue;
27
+ }
28
+ if (Array.isArray(value)) {
29
+ url = url.replace(match, serializeArrayParam({ explode, name, style, value }));
30
+ continue;
31
+ }
32
+ if (typeof value === 'object') {
33
+ url = url.replace(match, serializeObjectParam({
34
+ explode,
35
+ name,
36
+ style,
37
+ value: value,
38
+ valueOnly: true,
39
+ }));
40
+ continue;
41
+ }
42
+ if (style === 'matrix') {
43
+ url = url.replace(match, `;${serializePrimitiveParam({
44
+ name,
45
+ value: value,
46
+ })}`);
47
+ continue;
48
+ }
49
+ const replaceValue = encodeURIComponent(style === 'label' ? `.${value}` : value);
50
+ url = url.replace(match, replaceValue);
51
+ }
52
+ }
53
+ return url;
54
+ };
55
+ export const getUrl = ({ baseUrl, path, query, querySerializer, url: _url, }) => {
56
+ const pathUrl = _url.startsWith('/') ? _url : `/${_url}`;
57
+ let url = (baseUrl ?? '') + pathUrl;
58
+ if (path) {
59
+ url = defaultPathSerializer({ path, url });
60
+ }
61
+ let search = query ? querySerializer(query) : '';
62
+ if (search.startsWith('?')) {
63
+ search = search.substring(1);
64
+ }
65
+ if (search) {
66
+ url += `?${search}`;
67
+ }
68
+ return url;
69
+ };
70
+ export function getValidRequestBody(options) {
71
+ const hasBody = options.body !== undefined;
72
+ const isSerializedBody = hasBody && options.bodySerializer;
73
+ if (isSerializedBody) {
74
+ if ('serializedBody' in options) {
75
+ const hasSerializedBody = options.serializedBody !== undefined && options.serializedBody !== '';
76
+ return hasSerializedBody ? options.serializedBody : null;
77
+ }
78
+ // not all clients implement a serializedBody property (i.e. client-axios)
79
+ return options.body !== '' ? options.body : null;
80
+ }
81
+ // plain/text body
82
+ if (hasBody) {
83
+ return options.body;
84
+ }
85
+ // no body was provided
86
+ return undefined;
87
+ }
88
+ //# sourceMappingURL=utils.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.gen.js","sourceRoot":"","sources":["../../src/core/utils.gen.ts"],"names":[],"mappings":"AAAA,qDAAqD;AAGrD,OAAO,EAEL,mBAAmB,EACnB,oBAAoB,EACpB,uBAAuB,GACxB,MAAM,sBAAsB,CAAC;AAO9B,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAC;AAE3C,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,EAAkB,EAAE,EAAE;IAC3E,IAAI,GAAG,GAAG,IAAI,CAAC;IACf,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;IAC1C,IAAI,OAAO,EAAE,CAAC;QACZ,KAAK,MAAM,KAAK,IAAI,OAAO,EAAE,CAAC;YAC5B,IAAI,OAAO,GAAG,KAAK,CAAC;YACpB,IAAI,IAAI,GAAG,KAAK,CAAC,SAAS,CAAC,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;YAChD,IAAI,KAAK,GAAwB,QAAQ,CAAC;YAE1C,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;gBACvB,OAAO,GAAG,IAAI,CAAC;gBACf,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;YAC5C,CAAC;YAED,IAAI,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC;gBACzB,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;gBACzB,KAAK,GAAG,OAAO,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,cAAc,CAAC,CAAC,CAAC,IAAI,CAAC;QAC3D,CAAC;QAED,0EAA0E;QAC1E,OAAO,OAAO,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC;IACnD,CAAC;IAED,kBAAkB;IAClB,IAAI,OAAO,EAAE,CAAC;QACZ,OAAO,OAAO,CAAC,IAAI,CAAC;IACtB,CAAC;IAED,uBAAuB;IACvB,OAAO,SAAS,CAAC;AACnB,CAAC"}
@@ -280,19 +280,19 @@ export declare const ClusterCreateInputSchema: {
280
280
  readonly description: "Name of the cluster.";
281
281
  readonly example: "production-cluster";
282
282
  };
283
- readonly region: {
284
- readonly type: "string";
285
- readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\". This field can not be updated after creation.";
286
- readonly default: "staging";
287
- readonly example: "northamerica-central-1";
288
- readonly enum: readonly ["staging", "northamerica-central-1"];
289
- };
290
283
  readonly tier: {
291
284
  readonly type: "string";
292
285
  readonly description: "Tier of the cluster.";
293
286
  readonly example: "pro";
294
287
  readonly enum: readonly ["basic", "pro"];
295
288
  };
289
+ readonly region: {
290
+ readonly type: "string";
291
+ readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\", \"europe-central-1a\", \"northamerica-central-1a\". This field can not be updated after creation.";
292
+ readonly default: "staging";
293
+ readonly example: "northamerica-central-1a";
294
+ readonly enum: readonly ["staging", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a"];
295
+ };
296
296
  readonly version_channel: {
297
297
  readonly type: "string";
298
298
  readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
@@ -346,8 +346,13 @@ export declare const ClusterJoinInformationSchema: {
346
346
  readonly description: "Containerd version of the cluster.";
347
347
  readonly example: "1.7.19";
348
348
  };
349
+ readonly nvidia_driver: {
350
+ readonly type: "string";
351
+ readonly description: "NVIDIA driver version of the cluster.";
352
+ readonly example: "565.0.0";
353
+ };
349
354
  };
350
- readonly required: readonly ["kubernetes", "tailscale", "containerd"];
355
+ readonly required: readonly ["kubernetes", "tailscale", "containerd", "nvidia_driver"];
351
356
  readonly additionalProperties: false;
352
357
  readonly description: "Versions of the different components of the cluster.";
353
358
  };
@@ -389,19 +394,19 @@ export declare const ClusterSchema: {
389
394
  readonly description: "Name of the cluster.";
390
395
  readonly example: "production-cluster";
391
396
  };
392
- readonly region: {
393
- readonly type: "string";
394
- readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\". This field can not be updated after creation.";
395
- readonly default: "staging";
396
- readonly example: "northamerica-central-1";
397
- readonly enum: readonly ["staging", "northamerica-central-1"];
398
- };
399
397
  readonly tier: {
400
398
  readonly type: "string";
401
399
  readonly description: "Tier of the cluster.";
402
400
  readonly example: "pro";
403
401
  readonly enum: readonly ["basic", "pro"];
404
402
  };
403
+ readonly region: {
404
+ readonly type: "string";
405
+ readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\", \"europe-central-1a\", \"northamerica-central-1a\". This field can not be updated after creation.";
406
+ readonly default: "staging";
407
+ readonly example: "northamerica-central-1a";
408
+ readonly enum: readonly ["staging", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a"];
409
+ };
405
410
  readonly version_channel: {
406
411
  readonly type: "string";
407
412
  readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
@@ -419,7 +424,7 @@ export declare const ClusterSchema: {
419
424
  readonly type: "string";
420
425
  readonly description: "Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.";
421
426
  readonly example: "active";
422
- readonly enum: readonly ["active", "deleted", "creating", "deployed", "failed", "updating"];
427
+ readonly enum: readonly ["active", "disabled", "deleted", "creating", "deployed", "failed", "updating"];
423
428
  };
424
429
  readonly endpoint: {
425
430
  readonly anyOf: readonly [{
@@ -472,6 +477,12 @@ export declare const ClusterUpdateInputSchema: {
472
477
  readonly description: "Name of the cluster.";
473
478
  readonly example: "production-cluster";
474
479
  };
480
+ readonly tier: {
481
+ readonly type: "string";
482
+ readonly description: "Tier of the cluster.";
483
+ readonly example: "pro";
484
+ readonly enum: readonly ["basic", "pro"];
485
+ };
475
486
  readonly version_channel: {
476
487
  readonly type: "string";
477
488
  readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
@@ -479,6 +490,7 @@ export declare const ClusterUpdateInputSchema: {
479
490
  readonly example: "1.29.x-cfke.x";
480
491
  };
481
492
  };
493
+ readonly required: readonly ["tier"];
482
494
  readonly additionalProperties: false;
483
495
  };
484
496
  export declare const FleetCreateInputSchema: {
@@ -514,31 +526,19 @@ export declare const FleetCreateInputSchema: {
514
526
  readonly additionalProperties: false;
515
527
  };
516
528
  readonly hetzner: {
517
- readonly oneOf: readonly [{
518
- readonly type: "object";
519
- readonly properties: {
520
- readonly enabled: {
521
- readonly type: "boolean";
522
- readonly default: true;
523
- };
524
- readonly apiKey: {
525
- readonly type: "string";
526
- };
529
+ readonly type: "object";
530
+ readonly properties: {
531
+ readonly enabled: {
532
+ readonly type: "boolean";
533
+ readonly default: true;
527
534
  };
528
- readonly additionalProperties: false;
529
- }, {
530
- readonly type: "object";
531
- readonly properties: {
532
- readonly apiKey: {
533
- readonly type: "string";
534
- };
535
- readonly enabled: {
536
- readonly type: "boolean";
537
- readonly default: true;
538
- };
535
+ readonly apiKey: {
536
+ readonly type: "string";
537
+ readonly description: "Hetzner Cloud API key with read / write access";
539
538
  };
540
- readonly additionalProperties: false;
541
- }];
539
+ };
540
+ readonly required: readonly ["apiKey"];
541
+ readonly additionalProperties: false;
542
542
  };
543
543
  readonly aws: {
544
544
  readonly type: "object";
@@ -563,13 +563,8 @@ export declare const FleetCreateInputSchema: {
563
563
  readonly description: "Unique identifier of the kubernetes fleet.";
564
564
  readonly example: "new-clouds-fleet";
565
565
  };
566
- readonly type: {
567
- readonly type: "string";
568
- readonly description: "Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.";
569
- readonly enum: readonly ["managed", "connected"];
570
- };
571
566
  };
572
- readonly required: readonly ["id", "type"];
567
+ readonly required: readonly ["id"];
573
568
  readonly additionalProperties: false;
574
569
  };
575
570
  export declare const FleetSchema: {
@@ -605,31 +600,19 @@ export declare const FleetSchema: {
605
600
  readonly additionalProperties: false;
606
601
  };
607
602
  readonly hetzner: {
608
- readonly oneOf: readonly [{
609
- readonly type: "object";
610
- readonly properties: {
611
- readonly enabled: {
612
- readonly type: "boolean";
613
- readonly default: true;
614
- };
615
- readonly apiKey: {
616
- readonly type: "string";
617
- };
603
+ readonly type: "object";
604
+ readonly properties: {
605
+ readonly enabled: {
606
+ readonly type: "boolean";
607
+ readonly default: true;
618
608
  };
619
- readonly additionalProperties: false;
620
- }, {
621
- readonly type: "object";
622
- readonly properties: {
623
- readonly apiKey: {
624
- readonly type: "string";
625
- };
626
- readonly enabled: {
627
- readonly type: "boolean";
628
- readonly default: true;
629
- };
609
+ readonly apiKey: {
610
+ readonly type: "string";
611
+ readonly description: "Hetzner Cloud API key with read / write access";
630
612
  };
631
- readonly additionalProperties: false;
632
- }];
613
+ };
614
+ readonly required: readonly ["apiKey"];
615
+ readonly additionalProperties: false;
633
616
  };
634
617
  readonly aws: {
635
618
  readonly type: "object";
@@ -654,13 +637,8 @@ export declare const FleetSchema: {
654
637
  readonly description: "Unique identifier of the kubernetes fleet.";
655
638
  readonly example: "new-clouds-fleet";
656
639
  };
657
- readonly type: {
658
- readonly type: "string";
659
- readonly description: "Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.";
660
- readonly enum: readonly ["managed", "connected"];
661
- };
662
640
  };
663
- readonly required: readonly ["id", "type"];
641
+ readonly required: readonly ["id"];
664
642
  readonly additionalProperties: false;
665
643
  };
666
644
  export declare const FleetUpdateInputSchema: {
@@ -696,31 +674,19 @@ export declare const FleetUpdateInputSchema: {
696
674
  readonly additionalProperties: false;
697
675
  };
698
676
  readonly hetzner: {
699
- readonly oneOf: readonly [{
700
- readonly type: "object";
701
- readonly properties: {
702
- readonly enabled: {
703
- readonly type: "boolean";
704
- readonly default: true;
705
- };
706
- readonly apiKey: {
707
- readonly type: "string";
708
- };
677
+ readonly type: "object";
678
+ readonly properties: {
679
+ readonly enabled: {
680
+ readonly type: "boolean";
681
+ readonly default: true;
709
682
  };
710
- readonly additionalProperties: false;
711
- }, {
712
- readonly type: "object";
713
- readonly properties: {
714
- readonly apiKey: {
715
- readonly type: "string";
716
- };
717
- readonly enabled: {
718
- readonly type: "boolean";
719
- readonly default: true;
720
- };
683
+ readonly apiKey: {
684
+ readonly type: "string";
685
+ readonly description: "Hetzner Cloud API key with read / write access";
721
686
  };
722
- readonly additionalProperties: false;
723
- }];
687
+ };
688
+ readonly required: readonly ["apiKey"];
689
+ readonly additionalProperties: false;
724
690
  };
725
691
  readonly aws: {
726
692
  readonly type: "object";
@@ -1290,12 +1256,6 @@ export declare const OrganizationSchema: {
1290
1256
  readonly description: "Maximum number of fleets that can be created per cluster.";
1291
1257
  readonly example: 999;
1292
1258
  };
1293
- readonly managed_fleets_cpu_max: {
1294
- readonly type: "integer";
1295
- readonly minimum: 0;
1296
- readonly description: "Maximum number of CPU cores per managed fleet.";
1297
- readonly example: 999;
1298
- };
1299
1259
  readonly cluster_tiers: {
1300
1260
  readonly type: "array";
1301
1261
  readonly items: {
@@ -1337,7 +1297,7 @@ export declare const OrganizationSchema: {
1337
1297
  readonly description: "List of CFKE control plane versions available for the organization.";
1338
1298
  };
1339
1299
  };
1340
- readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "managed_fleets_cpu_max", "cluster_tiers", "regions", "versions"];
1300
+ readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions"];
1341
1301
  readonly additionalProperties: false;
1342
1302
  readonly description: "For security reasons, platform quota is controlled by Cloudfleet and can be updated only by Cloudfleet administrators. Please open a support ticket if you need to change the platform quota.";
1343
1303
  };
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.gen.d.ts","sourceRoot":"","sources":["../src/schemas.gen.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqFvB,CAAC;AAEX,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2DvB,CAAC;AAEX,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwCzB,CAAC;AAEX,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkEd,CAAC;AAEX,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;CAgBzB,CAA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