superposition-sdk 0.91.2__py3-none-any.whl → 0.93.0__py3-none-any.whl

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.

Potentially problematic release.


This version of superposition-sdk might be problematic. Click here for more details.

@@ -2,7 +2,7 @@
2
2
 
3
3
  from types import MappingProxyType
4
4
 
5
- from smithy_core.prelude import BOOLEAN, DOCUMENT, INTEGER, LONG, STRING, UNIT
5
+ from smithy_core.prelude import BOOLEAN, DOCUMENT, INTEGER, STRING, UNIT
6
6
  from smithy_core.schemas import Schema
7
7
  from smithy_core.shapes import ShapeID, ShapeType
8
8
  from smithy_core.traits import Trait
@@ -33,7 +33,7 @@ ADD_MEMBERS_TO_GROUP_INPUT = Schema.collection(
33
33
  "target": STRING,
34
34
  "index": 0,
35
35
  "traits": [
36
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
36
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
37
37
  Trait.new(id=ShapeID("smithy.api#required")),
38
38
 
39
39
  ],
@@ -43,7 +43,6 @@ ADD_MEMBERS_TO_GROUP_INPUT = Schema.collection(
43
43
  "target": STRING,
44
44
  "index": 1,
45
45
  "traits": [
46
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
47
46
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
48
47
  Trait.new(id=ShapeID("smithy.api#required")),
49
48
 
@@ -348,6 +347,9 @@ ADD_MEMBERS_TO_GROUP = Schema(
348
347
  id=ShapeID("io.superposition#AddMembersToGroup"),
349
348
  shape_type=ShapeType.OPERATION,
350
349
  traits=[
350
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
351
+ "Experiment Groups",
352
+ )),
351
353
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
352
354
  "method": "PATCH",
353
355
  "uri": "/experiment-groups/{id}/add-members",
@@ -369,7 +371,7 @@ APPLICABLE_VARIANTS_INPUT = Schema.collection(
369
371
  "target": STRING,
370
372
  "index": 0,
371
373
  "traits": [
372
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
374
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
373
375
  Trait.new(id=ShapeID("smithy.api#required")),
374
376
 
375
377
  ],
@@ -379,7 +381,6 @@ APPLICABLE_VARIANTS_INPUT = Schema.collection(
379
381
  "target": STRING,
380
382
  "index": 1,
381
383
  "traits": [
382
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
383
384
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
384
385
  Trait.new(id=ShapeID("smithy.api#required")),
385
386
 
@@ -514,6 +515,9 @@ APPLICABLE_VARIANTS = Schema(
514
515
  id=ShapeID("io.superposition#ApplicableVariants"),
515
516
  shape_type=ShapeType.OPERATION,
516
517
  traits=[
518
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
519
+ "Experimentation",
520
+ )),
517
521
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
518
522
  "method": "POST",
519
523
  "uri": "/experiments/applicable-variants",
@@ -523,6 +527,77 @@ APPLICABLE_VARIANTS = Schema(
523
527
 
524
528
  )
525
529
 
530
+ AUDIT_ACTION = Schema.collection(
531
+ id=ShapeID("io.superposition#AuditAction"),
532
+ shape_type=ShapeType.ENUM,
533
+ members={
534
+ "INSERT": {
535
+ "target": UNIT,
536
+ "index": 0,
537
+ "traits": [
538
+ Trait.new(id=ShapeID("smithy.api#enumValue"), value="INSERT"),
539
+
540
+ ],
541
+ },
542
+
543
+ "UPDATE": {
544
+ "target": UNIT,
545
+ "index": 1,
546
+ "traits": [
547
+ Trait.new(id=ShapeID("smithy.api#enumValue"), value="UPDATE"),
548
+
549
+ ],
550
+ },
551
+
552
+ "DELETE": {
553
+ "target": UNIT,
554
+ "index": 2,
555
+ "traits": [
556
+ Trait.new(id=ShapeID("smithy.api#enumValue"), value="DELETE"),
557
+
558
+ ],
559
+ },
560
+
561
+ }
562
+ )
563
+
564
+ AUDIT_ACTION_LIST = Schema.collection(
565
+ id=ShapeID("io.superposition#AuditActionList"),
566
+ shape_type=ShapeType.LIST,
567
+ members={
568
+ "member": {
569
+ "target": AUDIT_ACTION,
570
+ "index": 0,
571
+ },
572
+
573
+ }
574
+ )
575
+
576
+ SORT_BY = Schema.collection(
577
+ id=ShapeID("io.superposition#SortBy"),
578
+ shape_type=ShapeType.ENUM,
579
+ members={
580
+ "DESC": {
581
+ "target": UNIT,
582
+ "index": 0,
583
+ "traits": [
584
+ Trait.new(id=ShapeID("smithy.api#enumValue"), value="desc"),
585
+
586
+ ],
587
+ },
588
+
589
+ "ASC": {
590
+ "target": UNIT,
591
+ "index": 1,
592
+ "traits": [
593
+ Trait.new(id=ShapeID("smithy.api#enumValue"), value="asc"),
594
+
595
+ ],
596
+ },
597
+
598
+ }
599
+ )
600
+
526
601
  LIST_AUDIT_LOGS_INPUT = Schema.collection(
527
602
  id=ShapeID("io.superposition#ListAuditLogsInput"),
528
603
 
@@ -535,7 +610,7 @@ LIST_AUDIT_LOGS_INPUT = Schema.collection(
535
610
  "target": STRING,
536
611
  "index": 0,
537
612
  "traits": [
538
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
613
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
539
614
  Trait.new(id=ShapeID("smithy.api#required")),
540
615
 
541
616
  ],
@@ -545,7 +620,6 @@ LIST_AUDIT_LOGS_INPUT = Schema.collection(
545
620
  "target": STRING,
546
621
  "index": 1,
547
622
  "traits": [
548
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
549
623
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
550
624
  Trait.new(id=ShapeID("smithy.api#required")),
551
625
 
@@ -600,7 +674,7 @@ LIST_AUDIT_LOGS_INPUT = Schema.collection(
600
674
  },
601
675
 
602
676
  "tables": {
603
- "target": STRING,
677
+ "target": STRING_LIST,
604
678
  "index": 7,
605
679
  "traits": [
606
680
  Trait.new(id=ShapeID("smithy.api#notProperty")),
@@ -610,7 +684,7 @@ LIST_AUDIT_LOGS_INPUT = Schema.collection(
610
684
  },
611
685
 
612
686
  "action": {
613
- "target": STRING,
687
+ "target": AUDIT_ACTION_LIST,
614
688
  "index": 8,
615
689
  "traits": [
616
690
  Trait.new(id=ShapeID("smithy.api#notProperty")),
@@ -629,6 +703,16 @@ LIST_AUDIT_LOGS_INPUT = Schema.collection(
629
703
  ],
630
704
  },
631
705
 
706
+ "sort_by": {
707
+ "target": SORT_BY,
708
+ "index": 10,
709
+ "traits": [
710
+ Trait.new(id=ShapeID("smithy.api#notProperty")),
711
+ Trait.new(id=ShapeID("smithy.api#httpQuery"), value="sort_by"),
712
+
713
+ ],
714
+ },
715
+
632
716
  }
633
717
  )
634
718
 
@@ -716,6 +800,9 @@ LIST_AUDIT_LOGS = Schema(
716
800
  id=ShapeID("io.superposition#ListAuditLogs"),
717
801
  shape_type=ShapeType.OPERATION,
718
802
  traits=[
803
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
804
+ "Audit & Monitoring",
805
+ )),
719
806
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
720
807
  "method": "GET",
721
808
  "uri": "/audit",
@@ -958,7 +1045,7 @@ BULK_OPERATION_INPUT = Schema.collection(
958
1045
  "target": STRING,
959
1046
  "index": 0,
960
1047
  "traits": [
961
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
1048
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
962
1049
  Trait.new(id=ShapeID("smithy.api#required")),
963
1050
 
964
1051
  ],
@@ -968,7 +1055,6 @@ BULK_OPERATION_INPUT = Schema.collection(
968
1055
  "target": STRING,
969
1056
  "index": 1,
970
1057
  "traits": [
971
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
972
1058
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
973
1059
  Trait.new(id=ShapeID("smithy.api#required")),
974
1060
 
@@ -1147,6 +1233,9 @@ BULK_OPERATION = Schema(
1147
1233
  id=ShapeID("io.superposition#BulkOperation"),
1148
1234
  shape_type=ShapeType.OPERATION,
1149
1235
  traits=[
1236
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
1237
+ "Context Management",
1238
+ )),
1150
1239
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
1151
1240
  "method": "PUT",
1152
1241
  "uri": "/context/bulk-operations",
@@ -1168,7 +1257,7 @@ CONCLUDE_EXPERIMENT_INPUT = Schema.collection(
1168
1257
  "target": STRING,
1169
1258
  "index": 0,
1170
1259
  "traits": [
1171
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
1260
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
1172
1261
  Trait.new(id=ShapeID("smithy.api#required")),
1173
1262
 
1174
1263
  ],
@@ -1178,7 +1267,6 @@ CONCLUDE_EXPERIMENT_INPUT = Schema.collection(
1178
1267
  "target": STRING,
1179
1268
  "index": 1,
1180
1269
  "traits": [
1181
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
1182
1270
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
1183
1271
  Trait.new(id=ShapeID("smithy.api#required")),
1184
1272
 
@@ -1483,6 +1571,9 @@ CONCLUDE_EXPERIMENT = Schema(
1483
1571
  shape_type=ShapeType.OPERATION,
1484
1572
  traits=[
1485
1573
  Trait.new(id=ShapeID("smithy.api#idempotent")),
1574
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
1575
+ "Experimentation",
1576
+ )),
1486
1577
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
1487
1578
  "method": "PATCH",
1488
1579
  "uri": "/experiments/{id}/conclude",
@@ -1521,7 +1612,7 @@ GET_CONFIG_INPUT = Schema.collection(
1521
1612
  "target": STRING,
1522
1613
  "index": 0,
1523
1614
  "traits": [
1524
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
1615
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
1525
1616
  Trait.new(id=ShapeID("smithy.api#required")),
1526
1617
 
1527
1618
  ],
@@ -1531,7 +1622,6 @@ GET_CONFIG_INPUT = Schema.collection(
1531
1622
  "target": STRING,
1532
1623
  "index": 1,
1533
1624
  "traits": [
1534
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
1535
1625
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
1536
1626
  Trait.new(id=ShapeID("smithy.api#required")),
1537
1627
 
@@ -1539,7 +1629,7 @@ GET_CONFIG_INPUT = Schema.collection(
1539
1629
  },
1540
1630
 
1541
1631
  "prefix": {
1542
- "target": STRING,
1632
+ "target": STRING_LIST,
1543
1633
  "index": 2,
1544
1634
  "traits": [
1545
1635
  Trait.new(id=ShapeID("smithy.api#notProperty")),
@@ -1576,6 +1666,7 @@ OVERRIDE_WITH_KEYS = Schema.collection(
1576
1666
  traits=[
1577
1667
  Trait.new(id=ShapeID("smithy.api#length"), value=MappingProxyType({
1578
1668
  "max": 1,
1669
+ "min": 1,
1579
1670
  })),
1580
1671
 
1581
1672
  ],
@@ -1828,6 +1919,9 @@ GET_CONFIG = Schema(
1828
1919
  id=ShapeID("io.superposition#GetConfig"),
1829
1920
  shape_type=ShapeType.OPERATION,
1830
1921
  traits=[
1922
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
1923
+ "Configuration Management",
1924
+ )),
1831
1925
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
1832
1926
  "method": "POST",
1833
1927
  "uri": "/config",
@@ -1849,7 +1943,7 @@ GET_CONFIG_FAST_INPUT = Schema.collection(
1849
1943
  "target": STRING,
1850
1944
  "index": 0,
1851
1945
  "traits": [
1852
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
1946
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
1853
1947
  Trait.new(id=ShapeID("smithy.api#required")),
1854
1948
 
1855
1949
  ],
@@ -1859,7 +1953,6 @@ GET_CONFIG_FAST_INPUT = Schema.collection(
1859
1953
  "target": STRING,
1860
1954
  "index": 1,
1861
1955
  "traits": [
1862
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
1863
1956
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
1864
1957
  Trait.new(id=ShapeID("smithy.api#required")),
1865
1958
 
@@ -1891,6 +1984,7 @@ GET_CONFIG_FAST_OUTPUT = Schema.collection(
1891
1984
  "index": 1,
1892
1985
  "traits": [
1893
1986
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-config-version"),
1987
+ Trait.new(id=ShapeID("smithy.api#notProperty")),
1894
1988
 
1895
1989
  ],
1896
1990
  },
@@ -1921,6 +2015,9 @@ GET_CONFIG_FAST = Schema(
1921
2015
  id=ShapeID("io.superposition#GetConfigFast"),
1922
2016
  shape_type=ShapeType.OPERATION,
1923
2017
  traits=[
2018
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
2019
+ "Configuration Management",
2020
+ )),
1924
2021
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
1925
2022
  "method": "GET",
1926
2023
  "uri": "/config/fast",
@@ -1967,7 +2064,7 @@ GET_RESOLVED_CONFIG_INPUT = Schema.collection(
1967
2064
  "target": STRING,
1968
2065
  "index": 0,
1969
2066
  "traits": [
1970
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
2067
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
1971
2068
  Trait.new(id=ShapeID("smithy.api#required")),
1972
2069
 
1973
2070
  ],
@@ -1977,7 +2074,6 @@ GET_RESOLVED_CONFIG_INPUT = Schema.collection(
1977
2074
  "target": STRING,
1978
2075
  "index": 1,
1979
2076
  "traits": [
1980
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
1981
2077
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
1982
2078
  Trait.new(id=ShapeID("smithy.api#required")),
1983
2079
 
@@ -1985,7 +2081,7 @@ GET_RESOLVED_CONFIG_INPUT = Schema.collection(
1985
2081
  },
1986
2082
 
1987
2083
  "prefix": {
1988
- "target": STRING,
2084
+ "target": STRING_LIST,
1989
2085
  "index": 2,
1990
2086
  "traits": [
1991
2087
  Trait.new(id=ShapeID("smithy.api#notProperty")),
@@ -2098,6 +2194,9 @@ GET_RESOLVED_CONFIG = Schema(
2098
2194
  id=ShapeID("io.superposition#GetResolvedConfig"),
2099
2195
  shape_type=ShapeType.OPERATION,
2100
2196
  traits=[
2197
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
2198
+ "Configuration Management",
2199
+ )),
2101
2200
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
2102
2201
  "method": "POST",
2103
2202
  "uri": "/config/resolve",
@@ -2107,6 +2206,126 @@ GET_RESOLVED_CONFIG = Schema(
2107
2206
 
2108
2207
  )
2109
2208
 
2209
+ GET_VERSION_INPUT = Schema.collection(
2210
+ id=ShapeID("io.superposition#GetVersionInput"),
2211
+
2212
+ traits=[
2213
+ Trait.new(id=ShapeID("smithy.api#input")),
2214
+
2215
+ ],
2216
+ members={
2217
+ "workspace_id": {
2218
+ "target": STRING,
2219
+ "index": 0,
2220
+ "traits": [
2221
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
2222
+ Trait.new(id=ShapeID("smithy.api#required")),
2223
+
2224
+ ],
2225
+ },
2226
+
2227
+ "org_id": {
2228
+ "target": STRING,
2229
+ "index": 1,
2230
+ "traits": [
2231
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
2232
+ Trait.new(id=ShapeID("smithy.api#required")),
2233
+
2234
+ ],
2235
+ },
2236
+
2237
+ "id": {
2238
+ "target": STRING,
2239
+ "index": 2,
2240
+ "traits": [
2241
+ Trait.new(id=ShapeID("smithy.api#required")),
2242
+ Trait.new(id=ShapeID("smithy.api#httpLabel")),
2243
+
2244
+ ],
2245
+ },
2246
+
2247
+ }
2248
+ )
2249
+
2250
+ GET_VERSION_OUTPUT = Schema.collection(
2251
+ id=ShapeID("io.superposition#GetVersionOutput"),
2252
+
2253
+ traits=[
2254
+ Trait.new(id=ShapeID("smithy.synthetic#originalShapeId"), value="io.superposition#GetVersionResponse"),
2255
+ Trait.new(id=ShapeID("smithy.api#output")),
2256
+
2257
+ ],
2258
+ members={
2259
+ "id": {
2260
+ "target": STRING,
2261
+ "index": 0,
2262
+ "traits": [
2263
+ Trait.new(id=ShapeID("smithy.api#required")),
2264
+
2265
+ ],
2266
+ },
2267
+
2268
+ "config": {
2269
+ "target": DOCUMENT,
2270
+ "index": 1,
2271
+ "traits": [
2272
+ Trait.new(id=ShapeID("smithy.api#required")),
2273
+
2274
+ ],
2275
+ },
2276
+
2277
+ "config_hash": {
2278
+ "target": STRING,
2279
+ "index": 2,
2280
+ "traits": [
2281
+ Trait.new(id=ShapeID("smithy.api#required")),
2282
+
2283
+ ],
2284
+ },
2285
+
2286
+ "created_at": {
2287
+ "target": DATE_TIME,
2288
+ "index": 3,
2289
+ "traits": [
2290
+ Trait.new(id=ShapeID("smithy.api#required")),
2291
+
2292
+ ],
2293
+ },
2294
+
2295
+ "description": {
2296
+ "target": STRING,
2297
+ "index": 4,
2298
+ "traits": [
2299
+ Trait.new(id=ShapeID("smithy.api#required")),
2300
+
2301
+ ],
2302
+ },
2303
+
2304
+ "tags": {
2305
+ "target": STRING_LIST,
2306
+ "index": 5,
2307
+ },
2308
+
2309
+ }
2310
+ )
2311
+
2312
+ GET_VERSION = Schema(
2313
+ id=ShapeID("io.superposition#GetVersion"),
2314
+ shape_type=ShapeType.OPERATION,
2315
+ traits=[
2316
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
2317
+ "Configuration Management",
2318
+ )),
2319
+ Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
2320
+ "method": "GET",
2321
+ "uri": "/version/{id}",
2322
+ })),
2323
+ Trait.new(id=ShapeID("smithy.api#readonly")),
2324
+
2325
+ ],
2326
+
2327
+ )
2328
+
2110
2329
  LIST_VERSIONS_INPUT = Schema.collection(
2111
2330
  id=ShapeID("io.superposition#ListVersionsInput"),
2112
2331
 
@@ -2119,7 +2338,7 @@ LIST_VERSIONS_INPUT = Schema.collection(
2119
2338
  "target": STRING,
2120
2339
  "index": 0,
2121
2340
  "traits": [
2122
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
2341
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
2123
2342
  Trait.new(id=ShapeID("smithy.api#required")),
2124
2343
 
2125
2344
  ],
@@ -2129,7 +2348,6 @@ LIST_VERSIONS_INPUT = Schema.collection(
2129
2348
  "target": STRING,
2130
2349
  "index": 1,
2131
2350
  "traits": [
2132
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
2133
2351
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
2134
2352
  Trait.new(id=ShapeID("smithy.api#required")),
2135
2353
 
@@ -2181,18 +2399,9 @@ LIST_VERSIONS_MEMBER = Schema.collection(
2181
2399
  ],
2182
2400
  },
2183
2401
 
2184
- "config_hash": {
2185
- "target": STRING,
2186
- "index": 2,
2187
- "traits": [
2188
- Trait.new(id=ShapeID("smithy.api#required")),
2189
-
2190
- ],
2191
- },
2192
-
2193
2402
  "created_at": {
2194
2403
  "target": DATE_TIME,
2195
- "index": 3,
2404
+ "index": 2,
2196
2405
  "traits": [
2197
2406
  Trait.new(id=ShapeID("smithy.api#required")),
2198
2407
 
@@ -2201,7 +2410,7 @@ LIST_VERSIONS_MEMBER = Schema.collection(
2201
2410
 
2202
2411
  "description": {
2203
2412
  "target": STRING,
2204
- "index": 4,
2413
+ "index": 3,
2205
2414
  "traits": [
2206
2415
  Trait.new(id=ShapeID("smithy.api#required")),
2207
2416
 
@@ -2210,7 +2419,7 @@ LIST_VERSIONS_MEMBER = Schema.collection(
2210
2419
 
2211
2420
  "tags": {
2212
2421
  "target": STRING_LIST,
2213
- "index": 5,
2422
+ "index": 4,
2214
2423
  },
2215
2424
 
2216
2425
  }
@@ -2239,31 +2448,16 @@ LIST_VERSIONS_OUTPUT = Schema.collection(
2239
2448
  "total_pages": {
2240
2449
  "target": INTEGER,
2241
2450
  "index": 0,
2242
- "traits": [
2243
- Trait.new(id=ShapeID("smithy.api#notProperty")),
2244
- Trait.new(id=ShapeID("smithy.api#required")),
2245
-
2246
- ],
2247
2451
  },
2248
2452
 
2249
2453
  "total_items": {
2250
2454
  "target": INTEGER,
2251
2455
  "index": 1,
2252
- "traits": [
2253
- Trait.new(id=ShapeID("smithy.api#notProperty")),
2254
- Trait.new(id=ShapeID("smithy.api#required")),
2255
-
2256
- ],
2257
2456
  },
2258
2457
 
2259
2458
  "data": {
2260
2459
  "target": LIST_VERSIONS_OUT,
2261
2460
  "index": 2,
2262
- "traits": [
2263
- Trait.new(id=ShapeID("smithy.api#notProperty")),
2264
- Trait.new(id=ShapeID("smithy.api#required")),
2265
-
2266
- ],
2267
2461
  },
2268
2462
 
2269
2463
  }
@@ -2273,6 +2467,9 @@ LIST_VERSIONS = Schema(
2273
2467
  id=ShapeID("io.superposition#ListVersions"),
2274
2468
  shape_type=ShapeType.OPERATION,
2275
2469
  traits=[
2470
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
2471
+ "Configuration Management",
2472
+ )),
2276
2473
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
2277
2474
  "method": "GET",
2278
2475
  "uri": "/config/versions",
@@ -2295,7 +2492,7 @@ CREATE_CONTEXT_INPUT = Schema.collection(
2295
2492
  "target": STRING,
2296
2493
  "index": 0,
2297
2494
  "traits": [
2298
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
2495
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
2299
2496
  Trait.new(id=ShapeID("smithy.api#required")),
2300
2497
 
2301
2498
  ],
@@ -2305,7 +2502,6 @@ CREATE_CONTEXT_INPUT = Schema.collection(
2305
2502
  "target": STRING,
2306
2503
  "index": 1,
2307
2504
  "traits": [
2308
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
2309
2505
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
2310
2506
  Trait.new(id=ShapeID("smithy.api#required")),
2311
2507
 
@@ -2434,6 +2630,9 @@ CREATE_CONTEXT = Schema(
2434
2630
  shape_type=ShapeType.OPERATION,
2435
2631
  traits=[
2436
2632
  Trait.new(id=ShapeID("smithy.api#idempotent")),
2633
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
2634
+ "Context Management",
2635
+ )),
2437
2636
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
2438
2637
  "method": "PUT",
2439
2638
  "uri": "/context",
@@ -2455,7 +2654,7 @@ DELETE_CONTEXT_INPUT = Schema.collection(
2455
2654
  "target": STRING,
2456
2655
  "index": 0,
2457
2656
  "traits": [
2458
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
2657
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
2459
2658
  Trait.new(id=ShapeID("smithy.api#required")),
2460
2659
 
2461
2660
  ],
@@ -2465,7 +2664,6 @@ DELETE_CONTEXT_INPUT = Schema.collection(
2465
2664
  "target": STRING,
2466
2665
  "index": 1,
2467
2666
  "traits": [
2468
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
2469
2667
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
2470
2668
  Trait.new(id=ShapeID("smithy.api#required")),
2471
2669
 
@@ -2499,6 +2697,7 @@ DELETE_CONTEXT_OUTPUT = Schema.collection(
2499
2697
  id=ShapeID("io.superposition#DeleteContextOutput"),
2500
2698
 
2501
2699
  traits=[
2700
+ Trait.new(id=ShapeID("smithy.synthetic#originalShapeId"), value="smithy.api#Unit"),
2502
2701
  Trait.new(id=ShapeID("smithy.api#output")),
2503
2702
 
2504
2703
  ],
@@ -2510,6 +2709,9 @@ DELETE_CONTEXT = Schema(
2510
2709
  shape_type=ShapeType.OPERATION,
2511
2710
  traits=[
2512
2711
  Trait.new(id=ShapeID("smithy.api#idempotent")),
2712
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
2713
+ "Context Management",
2714
+ )),
2513
2715
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
2514
2716
  "method": "DELETE",
2515
2717
  "uri": "/context/{id}",
@@ -2532,7 +2734,7 @@ GET_CONTEXT_INPUT = Schema.collection(
2532
2734
  "target": STRING,
2533
2735
  "index": 0,
2534
2736
  "traits": [
2535
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
2737
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
2536
2738
  Trait.new(id=ShapeID("smithy.api#required")),
2537
2739
 
2538
2740
  ],
@@ -2542,7 +2744,6 @@ GET_CONTEXT_INPUT = Schema.collection(
2542
2744
  "target": STRING,
2543
2745
  "index": 1,
2544
2746
  "traits": [
2545
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
2546
2747
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
2547
2748
  Trait.new(id=ShapeID("smithy.api#required")),
2548
2749
 
@@ -2637,10 +2838,14 @@ GET_CONTEXT = Schema(
2637
2838
  id=ShapeID("io.superposition#GetContext"),
2638
2839
  shape_type=ShapeType.OPERATION,
2639
2840
  traits=[
2841
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
2842
+ "Context Management",
2843
+ )),
2640
2844
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
2641
2845
  "method": "GET",
2642
2846
  "uri": "/context/{id}",
2643
2847
  })),
2848
+ Trait.new(id=ShapeID("smithy.api#readonly")),
2644
2849
 
2645
2850
  ],
2646
2851
 
@@ -2658,7 +2863,7 @@ GET_CONTEXT_FROM_CONDITION_INPUT = Schema.collection(
2658
2863
  "target": STRING,
2659
2864
  "index": 0,
2660
2865
  "traits": [
2661
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
2866
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
2662
2867
  Trait.new(id=ShapeID("smithy.api#required")),
2663
2868
 
2664
2869
  ],
@@ -2668,7 +2873,6 @@ GET_CONTEXT_FROM_CONDITION_INPUT = Schema.collection(
2668
2873
  "target": STRING,
2669
2874
  "index": 1,
2670
2875
  "traits": [
2671
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
2672
2876
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
2673
2877
  Trait.new(id=ShapeID("smithy.api#required")),
2674
2878
 
@@ -2763,6 +2967,9 @@ GET_CONTEXT_FROM_CONDITION = Schema(
2763
2967
  id=ShapeID("io.superposition#GetContextFromCondition"),
2764
2968
  shape_type=ShapeType.OPERATION,
2765
2969
  traits=[
2970
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
2971
+ "Context Management",
2972
+ )),
2766
2973
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
2767
2974
  "method": "POST",
2768
2975
  "uri": "/context/get",
@@ -2776,7 +2983,7 @@ DIMENSION_MATCH_STRATEGY = Schema.collection(
2776
2983
  id=ShapeID("io.superposition#DimensionMatchStrategy"),
2777
2984
  shape_type=ShapeType.ENUM,
2778
2985
  members={
2779
- "Exact": {
2986
+ "EXACT": {
2780
2987
  "target": UNIT,
2781
2988
  "index": 0,
2782
2989
  "traits": [
@@ -2785,7 +2992,7 @@ DIMENSION_MATCH_STRATEGY = Schema.collection(
2785
2992
  ],
2786
2993
  },
2787
2994
 
2788
- "Subset": {
2995
+ "SUBSET": {
2789
2996
  "target": UNIT,
2790
2997
  "index": 1,
2791
2998
  "traits": [
@@ -2797,36 +3004,11 @@ DIMENSION_MATCH_STRATEGY = Schema.collection(
2797
3004
  }
2798
3005
  )
2799
3006
 
2800
- SORT_BY = Schema.collection(
2801
- id=ShapeID("io.superposition#SortBy"),
2802
- shape_type=ShapeType.ENUM,
2803
- members={
2804
- "Desc": {
2805
- "target": UNIT,
2806
- "index": 0,
2807
- "traits": [
2808
- Trait.new(id=ShapeID("smithy.api#enumValue"), value="desc"),
2809
-
2810
- ],
2811
- },
2812
-
2813
- "Asc": {
2814
- "target": UNIT,
2815
- "index": 1,
2816
- "traits": [
2817
- Trait.new(id=ShapeID("smithy.api#enumValue"), value="asc"),
2818
-
2819
- ],
2820
- },
2821
-
2822
- }
2823
- )
2824
-
2825
3007
  CONTEXT_FILTER_SORT_ON = Schema.collection(
2826
3008
  id=ShapeID("io.superposition#ContextFilterSortOn"),
2827
3009
  shape_type=ShapeType.ENUM,
2828
3010
  members={
2829
- "LastModifiedAt": {
3011
+ "LAST_MODIFIED_AT": {
2830
3012
  "target": UNIT,
2831
3013
  "index": 0,
2832
3014
  "traits": [
@@ -2835,7 +3017,7 @@ CONTEXT_FILTER_SORT_ON = Schema.collection(
2835
3017
  ],
2836
3018
  },
2837
3019
 
2838
- "CreatedAt": {
3020
+ "CREATED_AT": {
2839
3021
  "target": UNIT,
2840
3022
  "index": 1,
2841
3023
  "traits": [
@@ -2844,7 +3026,7 @@ CONTEXT_FILTER_SORT_ON = Schema.collection(
2844
3026
  ],
2845
3027
  },
2846
3028
 
2847
- "Weight": {
3029
+ "WEIGHT": {
2848
3030
  "target": UNIT,
2849
3031
  "index": 2,
2850
3032
  "traits": [
@@ -2864,59 +3046,55 @@ LIST_CONTEXTS_INPUT = Schema.collection(
2864
3046
 
2865
3047
  ],
2866
3048
  members={
2867
- "workspace_id": {
2868
- "target": STRING,
3049
+ "count": {
3050
+ "target": INTEGER,
2869
3051
  "index": 0,
2870
3052
  "traits": [
2871
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
2872
- Trait.new(id=ShapeID("smithy.api#required")),
3053
+ Trait.new(id=ShapeID("smithy.api#httpQuery"), value="count"),
2873
3054
 
2874
3055
  ],
2875
3056
  },
2876
3057
 
2877
- "org_id": {
2878
- "target": STRING,
3058
+ "page": {
3059
+ "target": INTEGER,
2879
3060
  "index": 1,
2880
3061
  "traits": [
2881
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
2882
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
2883
- Trait.new(id=ShapeID("smithy.api#required")),
3062
+ Trait.new(id=ShapeID("smithy.api#httpQuery"), value="page"),
2884
3063
 
2885
3064
  ],
2886
3065
  },
2887
3066
 
2888
- "page": {
2889
- "target": INTEGER,
2890
- "index": 2,
3067
+ "all": {
3068
+ "target": BOOLEAN,
3069
+ "index": 2,
2891
3070
  "traits": [
2892
- Trait.new(id=ShapeID("smithy.api#notProperty")),
2893
- Trait.new(id=ShapeID("smithy.api#httpQuery"), value="page"),
3071
+ Trait.new(id=ShapeID("smithy.api#httpQuery"), value="all"),
2894
3072
 
2895
3073
  ],
2896
3074
  },
2897
3075
 
2898
- "count": {
2899
- "target": INTEGER,
3076
+ "workspace_id": {
3077
+ "target": STRING,
2900
3078
  "index": 3,
2901
3079
  "traits": [
2902
- Trait.new(id=ShapeID("smithy.api#notProperty")),
2903
- Trait.new(id=ShapeID("smithy.api#httpQuery"), value="count"),
3080
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
3081
+ Trait.new(id=ShapeID("smithy.api#required")),
2904
3082
 
2905
3083
  ],
2906
3084
  },
2907
3085
 
2908
- "all": {
2909
- "target": BOOLEAN,
3086
+ "org_id": {
3087
+ "target": STRING,
2910
3088
  "index": 4,
2911
3089
  "traits": [
2912
- Trait.new(id=ShapeID("smithy.api#notProperty")),
2913
- Trait.new(id=ShapeID("smithy.api#httpQuery"), value="all"),
3090
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
3091
+ Trait.new(id=ShapeID("smithy.api#required")),
2914
3092
 
2915
3093
  ],
2916
3094
  },
2917
3095
 
2918
3096
  "prefix": {
2919
- "target": STRING,
3097
+ "target": STRING_LIST,
2920
3098
  "index": 5,
2921
3099
  "traits": [
2922
3100
  Trait.new(id=ShapeID("smithy.api#notProperty")),
@@ -2946,7 +3124,7 @@ LIST_CONTEXTS_INPUT = Schema.collection(
2946
3124
  },
2947
3125
 
2948
3126
  "created_by": {
2949
- "target": STRING,
3127
+ "target": STRING_LIST,
2950
3128
  "index": 8,
2951
3129
  "traits": [
2952
3130
  Trait.new(id=ShapeID("smithy.api#notProperty")),
@@ -2956,7 +3134,7 @@ LIST_CONTEXTS_INPUT = Schema.collection(
2956
3134
  },
2957
3135
 
2958
3136
  "last_modified_by": {
2959
- "target": STRING,
3137
+ "target": STRING_LIST,
2960
3138
  "index": 9,
2961
3139
  "traits": [
2962
3140
  Trait.new(id=ShapeID("smithy.api#notProperty")),
@@ -3011,28 +3189,16 @@ LIST_CONTEXTS_OUTPUT = Schema.collection(
3011
3189
  "total_pages": {
3012
3190
  "target": INTEGER,
3013
3191
  "index": 0,
3014
- "traits": [
3015
- Trait.new(id=ShapeID("smithy.api#notProperty")),
3016
-
3017
- ],
3018
3192
  },
3019
3193
 
3020
3194
  "total_items": {
3021
3195
  "target": INTEGER,
3022
3196
  "index": 1,
3023
- "traits": [
3024
- Trait.new(id=ShapeID("smithy.api#notProperty")),
3025
-
3026
- ],
3027
3197
  },
3028
3198
 
3029
3199
  "data": {
3030
3200
  "target": LIST_CONTEXT_OUT,
3031
3201
  "index": 2,
3032
- "traits": [
3033
- Trait.new(id=ShapeID("smithy.api#notProperty")),
3034
-
3035
- ],
3036
3202
  },
3037
3203
 
3038
3204
  }
@@ -3042,9 +3208,12 @@ LIST_CONTEXTS = Schema(
3042
3208
  id=ShapeID("io.superposition#ListContexts"),
3043
3209
  shape_type=ShapeType.OPERATION,
3044
3210
  traits=[
3211
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
3212
+ "Context Management",
3213
+ )),
3045
3214
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
3046
3215
  "method": "GET",
3047
- "uri": "/context/list",
3216
+ "uri": "/context",
3048
3217
  })),
3049
3218
  Trait.new(id=ShapeID("smithy.api#readonly")),
3050
3219
 
@@ -3064,7 +3233,7 @@ MOVE_CONTEXT_INPUT = Schema.collection(
3064
3233
  "target": STRING,
3065
3234
  "index": 0,
3066
3235
  "traits": [
3067
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
3236
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
3068
3237
  Trait.new(id=ShapeID("smithy.api#required")),
3069
3238
 
3070
3239
  ],
@@ -3074,7 +3243,6 @@ MOVE_CONTEXT_INPUT = Schema.collection(
3074
3243
  "target": STRING,
3075
3244
  "index": 1,
3076
3245
  "traits": [
3077
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
3078
3246
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
3079
3247
  Trait.new(id=ShapeID("smithy.api#required")),
3080
3248
 
@@ -3193,6 +3361,9 @@ MOVE_CONTEXT = Schema(
3193
3361
  id=ShapeID("io.superposition#MoveContext"),
3194
3362
  shape_type=ShapeType.OPERATION,
3195
3363
  traits=[
3364
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
3365
+ "Context Management",
3366
+ )),
3196
3367
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
3197
3368
  "method": "PUT",
3198
3369
  "uri": "/context/move/{id}",
@@ -3214,7 +3385,7 @@ UPDATE_OVERRIDE_INPUT = Schema.collection(
3214
3385
  "target": STRING,
3215
3386
  "index": 0,
3216
3387
  "traits": [
3217
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
3388
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
3218
3389
  Trait.new(id=ShapeID("smithy.api#required")),
3219
3390
 
3220
3391
  ],
@@ -3224,7 +3395,6 @@ UPDATE_OVERRIDE_INPUT = Schema.collection(
3224
3395
  "target": STRING,
3225
3396
  "index": 1,
3226
3397
  "traits": [
3227
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
3228
3398
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
3229
3399
  Trait.new(id=ShapeID("smithy.api#required")),
3230
3400
 
@@ -3330,6 +3500,9 @@ UPDATE_OVERRIDE = Schema(
3330
3500
  id=ShapeID("io.superposition#UpdateOverride"),
3331
3501
  shape_type=ShapeType.OPERATION,
3332
3502
  traits=[
3503
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
3504
+ "Context Management",
3505
+ )),
3333
3506
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
3334
3507
  "method": "PUT",
3335
3508
  "uri": "/context/overrides",
@@ -3339,6 +3512,75 @@ UPDATE_OVERRIDE = Schema(
3339
3512
 
3340
3513
  )
3341
3514
 
3515
+ VALIDATE_CONTEXT_INPUT = Schema.collection(
3516
+ id=ShapeID("io.superposition#ValidateContextInput"),
3517
+
3518
+ traits=[
3519
+ Trait.new(id=ShapeID("smithy.api#input")),
3520
+
3521
+ ],
3522
+ members={
3523
+ "workspace_id": {
3524
+ "target": STRING,
3525
+ "index": 0,
3526
+ "traits": [
3527
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
3528
+ Trait.new(id=ShapeID("smithy.api#required")),
3529
+
3530
+ ],
3531
+ },
3532
+
3533
+ "org_id": {
3534
+ "target": STRING,
3535
+ "index": 1,
3536
+ "traits": [
3537
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
3538
+ Trait.new(id=ShapeID("smithy.api#required")),
3539
+
3540
+ ],
3541
+ },
3542
+
3543
+ "context": {
3544
+ "target": CONDITION,
3545
+ "index": 2,
3546
+ "traits": [
3547
+ Trait.new(id=ShapeID("smithy.api#notProperty")),
3548
+ Trait.new(id=ShapeID("smithy.api#required")),
3549
+
3550
+ ],
3551
+ },
3552
+
3553
+ }
3554
+ )
3555
+
3556
+ VALIDATE_CONTEXT_OUTPUT = Schema.collection(
3557
+ id=ShapeID("io.superposition#ValidateContextOutput"),
3558
+
3559
+ traits=[
3560
+ Trait.new(id=ShapeID("smithy.synthetic#originalShapeId"), value="smithy.api#Unit"),
3561
+ Trait.new(id=ShapeID("smithy.api#output")),
3562
+
3563
+ ],
3564
+
3565
+ )
3566
+
3567
+ VALIDATE_CONTEXT = Schema(
3568
+ id=ShapeID("io.superposition#ValidateContext"),
3569
+ shape_type=ShapeType.OPERATION,
3570
+ traits=[
3571
+ Trait.new(id=ShapeID("smithy.api#idempotent")),
3572
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
3573
+ "Context Management",
3574
+ )),
3575
+ Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
3576
+ "method": "PUT",
3577
+ "uri": "/context/validate",
3578
+ })),
3579
+
3580
+ ],
3581
+
3582
+ )
3583
+
3342
3584
  WEIGHT_RECOMPUTE_INPUT = Schema.collection(
3343
3585
  id=ShapeID("io.superposition#WeightRecomputeInput"),
3344
3586
 
@@ -3351,7 +3593,7 @@ WEIGHT_RECOMPUTE_INPUT = Schema.collection(
3351
3593
  "target": STRING,
3352
3594
  "index": 0,
3353
3595
  "traits": [
3354
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
3596
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
3355
3597
  Trait.new(id=ShapeID("smithy.api#required")),
3356
3598
 
3357
3599
  ],
@@ -3361,7 +3603,6 @@ WEIGHT_RECOMPUTE_INPUT = Schema.collection(
3361
3603
  "target": STRING,
3362
3604
  "index": 1,
3363
3605
  "traits": [
3364
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
3365
3606
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
3366
3607
  Trait.new(id=ShapeID("smithy.api#required")),
3367
3608
 
@@ -3444,6 +3685,9 @@ WEIGHT_RECOMPUTE = Schema(
3444
3685
  id=ShapeID("io.superposition#WeightRecompute"),
3445
3686
  shape_type=ShapeType.OPERATION,
3446
3687
  traits=[
3688
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
3689
+ "Context Management",
3690
+ )),
3447
3691
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
3448
3692
  "method": "PUT",
3449
3693
  "uri": "/context/weight/recompute",
@@ -3520,7 +3764,7 @@ CREATE_DEFAULT_CONFIG_INPUT = Schema.collection(
3520
3764
  "target": STRING,
3521
3765
  "index": 7,
3522
3766
  "traits": [
3523
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
3767
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
3524
3768
  Trait.new(id=ShapeID("smithy.api#required")),
3525
3769
 
3526
3770
  ],
@@ -3530,7 +3774,6 @@ CREATE_DEFAULT_CONFIG_INPUT = Schema.collection(
3530
3774
  "target": STRING,
3531
3775
  "index": 8,
3532
3776
  "traits": [
3533
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
3534
3777
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
3535
3778
  Trait.new(id=ShapeID("smithy.api#required")),
3536
3779
 
@@ -3647,6 +3890,9 @@ CREATE_DEFAULT_CONFIG = Schema(
3647
3890
  id=ShapeID("io.superposition#CreateDefaultConfig"),
3648
3891
  shape_type=ShapeType.OPERATION,
3649
3892
  traits=[
3893
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
3894
+ "Default Configuration",
3895
+ )),
3650
3896
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
3651
3897
  "method": "POST",
3652
3898
  "uri": "/default-config",
@@ -3668,7 +3914,7 @@ CREATE_DIMENSION_INPUT = Schema.collection(
3668
3914
  "target": STRING,
3669
3915
  "index": 0,
3670
3916
  "traits": [
3671
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
3917
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
3672
3918
  Trait.new(id=ShapeID("smithy.api#required")),
3673
3919
 
3674
3920
  ],
@@ -3678,7 +3924,6 @@ CREATE_DIMENSION_INPUT = Schema.collection(
3678
3924
  "target": STRING,
3679
3925
  "index": 1,
3680
3926
  "traits": [
3681
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
3682
3927
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
3683
3928
  Trait.new(id=ShapeID("smithy.api#required")),
3684
3929
 
@@ -3882,6 +4127,9 @@ CREATE_DIMENSION = Schema(
3882
4127
  id=ShapeID("io.superposition#CreateDimension"),
3883
4128
  shape_type=ShapeType.OPERATION,
3884
4129
  traits=[
4130
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
4131
+ "Dimensions",
4132
+ )),
3885
4133
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
3886
4134
  "method": "POST",
3887
4135
  "uri": "/dimension",
@@ -3904,7 +4152,7 @@ CREATE_EXPERIMENT_INPUT = Schema.collection(
3904
4152
  "target": STRING,
3905
4153
  "index": 0,
3906
4154
  "traits": [
3907
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
4155
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
3908
4156
  Trait.new(id=ShapeID("smithy.api#required")),
3909
4157
 
3910
4158
  ],
@@ -3914,7 +4162,6 @@ CREATE_EXPERIMENT_INPUT = Schema.collection(
3914
4162
  "target": STRING,
3915
4163
  "index": 1,
3916
4164
  "traits": [
3917
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
3918
4165
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
3919
4166
  Trait.new(id=ShapeID("smithy.api#required")),
3920
4167
 
@@ -4156,6 +4403,9 @@ CREATE_EXPERIMENT = Schema(
4156
4403
  id=ShapeID("io.superposition#CreateExperiment"),
4157
4404
  shape_type=ShapeType.OPERATION,
4158
4405
  traits=[
4406
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
4407
+ "Experimentation",
4408
+ )),
4159
4409
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
4160
4410
  "method": "POST",
4161
4411
  "uri": "/experiments",
@@ -4178,7 +4428,7 @@ CREATE_EXPERIMENT_GROUP_INPUT = Schema.collection(
4178
4428
  "target": STRING,
4179
4429
  "index": 0,
4180
4430
  "traits": [
4181
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
4431
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
4182
4432
  Trait.new(id=ShapeID("smithy.api#required")),
4183
4433
 
4184
4434
  ],
@@ -4188,7 +4438,6 @@ CREATE_EXPERIMENT_GROUP_INPUT = Schema.collection(
4188
4438
  "target": STRING,
4189
4439
  "index": 1,
4190
4440
  "traits": [
4191
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
4192
4441
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
4193
4442
  Trait.new(id=ShapeID("smithy.api#required")),
4194
4443
 
@@ -4398,6 +4647,9 @@ CREATE_EXPERIMENT_GROUP = Schema(
4398
4647
  id=ShapeID("io.superposition#CreateExperimentGroup"),
4399
4648
  shape_type=ShapeType.OPERATION,
4400
4649
  traits=[
4650
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
4651
+ "Experiment Groups",
4652
+ )),
4401
4653
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
4402
4654
  "method": "POST",
4403
4655
  "uri": "/experiment-groups",
@@ -4411,7 +4663,7 @@ FUNCTION_TYPES = Schema.collection(
4411
4663
  id=ShapeID("io.superposition#FunctionTypes"),
4412
4664
  shape_type=ShapeType.ENUM,
4413
4665
  members={
4414
- "Validation": {
4666
+ "VALIDATION": {
4415
4667
  "target": UNIT,
4416
4668
  "index": 0,
4417
4669
  "traits": [
@@ -4420,7 +4672,7 @@ FUNCTION_TYPES = Schema.collection(
4420
4672
  ],
4421
4673
  },
4422
4674
 
4423
- "Autocomplete": {
4675
+ "AUTOCOMPLETE": {
4424
4676
  "target": UNIT,
4425
4677
  "index": 1,
4426
4678
  "traits": [
@@ -4445,7 +4697,7 @@ CREATE_FUNCTION_INPUT = Schema.collection(
4445
4697
  "target": STRING,
4446
4698
  "index": 0,
4447
4699
  "traits": [
4448
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
4700
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
4449
4701
  Trait.new(id=ShapeID("smithy.api#required")),
4450
4702
 
4451
4703
  ],
@@ -4455,7 +4707,6 @@ CREATE_FUNCTION_INPUT = Schema.collection(
4455
4707
  "target": STRING,
4456
4708
  "index": 1,
4457
4709
  "traits": [
4458
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
4459
4710
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
4460
4711
  Trait.new(id=ShapeID("smithy.api#required")),
4461
4712
 
@@ -4647,6 +4898,9 @@ CREATE_FUNCTION = Schema(
4647
4898
  id=ShapeID("io.superposition#CreateFunction"),
4648
4899
  shape_type=ShapeType.OPERATION,
4649
4900
  traits=[
4901
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
4902
+ "Functions",
4903
+ )),
4650
4904
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
4651
4905
  "method": "POST",
4652
4906
  "uri": "/function",
@@ -4710,7 +4964,7 @@ ORG_STATUS = Schema.collection(
4710
4964
  id=ShapeID("io.superposition#OrgStatus"),
4711
4965
  shape_type=ShapeType.ENUM,
4712
4966
  members={
4713
- "Active": {
4967
+ "ACTIVE": {
4714
4968
  "target": UNIT,
4715
4969
  "index": 0,
4716
4970
  "traits": [
@@ -4719,7 +4973,7 @@ ORG_STATUS = Schema.collection(
4719
4973
  ],
4720
4974
  },
4721
4975
 
4722
- "Inactive": {
4976
+ "INACTIVE": {
4723
4977
  "target": UNIT,
4724
4978
  "index": 1,
4725
4979
  "traits": [
@@ -4728,7 +4982,7 @@ ORG_STATUS = Schema.collection(
4728
4982
  ],
4729
4983
  },
4730
4984
 
4731
- "PendingKyb": {
4985
+ "PENDING_KYB": {
4732
4986
  "target": UNIT,
4733
4987
  "index": 2,
4734
4988
  "traits": [
@@ -4848,6 +5102,9 @@ CREATE_ORGANISATION = Schema(
4848
5102
  id=ShapeID("io.superposition#CreateOrganisation"),
4849
5103
  shape_type=ShapeType.OPERATION,
4850
5104
  traits=[
5105
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
5106
+ "Organisation Management",
5107
+ )),
4851
5108
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
4852
5109
  "method": "POST",
4853
5110
  "uri": "/superposition/organisations",
@@ -4870,7 +5127,7 @@ CREATE_TYPE_TEMPLATES_INPUT = Schema.collection(
4870
5127
  "target": STRING,
4871
5128
  "index": 0,
4872
5129
  "traits": [
4873
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
5130
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
4874
5131
  Trait.new(id=ShapeID("smithy.api#required")),
4875
5132
 
4876
5133
  ],
@@ -4880,7 +5137,6 @@ CREATE_TYPE_TEMPLATES_INPUT = Schema.collection(
4880
5137
  "target": STRING,
4881
5138
  "index": 1,
4882
5139
  "traits": [
4883
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
4884
5140
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
4885
5141
  Trait.new(id=ShapeID("smithy.api#required")),
4886
5142
 
@@ -5014,6 +5270,9 @@ CREATE_TYPE_TEMPLATES = Schema(
5014
5270
  id=ShapeID("io.superposition#CreateTypeTemplates"),
5015
5271
  shape_type=ShapeType.OPERATION,
5016
5272
  traits=[
5273
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
5274
+ "Type Templates",
5275
+ )),
5017
5276
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
5018
5277
  "method": "POST",
5019
5278
  "uri": "/types",
@@ -5124,7 +5383,7 @@ CREATE_WEBHOOK_INPUT = Schema.collection(
5124
5383
  "target": STRING,
5125
5384
  "index": 0,
5126
5385
  "traits": [
5127
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
5386
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
5128
5387
  Trait.new(id=ShapeID("smithy.api#required")),
5129
5388
 
5130
5389
  ],
@@ -5134,7 +5393,6 @@ CREATE_WEBHOOK_INPUT = Schema.collection(
5134
5393
  "target": STRING,
5135
5394
  "index": 1,
5136
5395
  "traits": [
5137
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
5138
5396
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
5139
5397
  Trait.new(id=ShapeID("smithy.api#required")),
5140
5398
 
@@ -5360,6 +5618,9 @@ CREATE_WEBHOOK = Schema(
5360
5618
  id=ShapeID("io.superposition#CreateWebhook"),
5361
5619
  shape_type=ShapeType.OPERATION,
5362
5620
  traits=[
5621
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
5622
+ "Webhooks",
5623
+ )),
5363
5624
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
5364
5625
  "method": "POST",
5365
5626
  "uri": "/webhook",
@@ -5407,7 +5668,6 @@ CREATE_WORKSPACE_INPUT = Schema.collection(
5407
5668
  "target": STRING,
5408
5669
  "index": 0,
5409
5670
  "traits": [
5410
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
5411
5671
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
5412
5672
  Trait.new(id=ShapeID("smithy.api#required")),
5413
5673
 
@@ -5632,6 +5892,9 @@ CREATE_WORKSPACE = Schema(
5632
5892
  id=ShapeID("io.superposition#CreateWorkspace"),
5633
5893
  shape_type=ShapeType.OPERATION,
5634
5894
  traits=[
5895
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
5896
+ "Workspace Management",
5897
+ )),
5635
5898
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
5636
5899
  "method": "POST",
5637
5900
  "uri": "/workspaces",
@@ -5653,7 +5916,7 @@ DELETE_DEFAULT_CONFIG_INPUT = Schema.collection(
5653
5916
  "target": STRING,
5654
5917
  "index": 0,
5655
5918
  "traits": [
5656
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
5919
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
5657
5920
  Trait.new(id=ShapeID("smithy.api#required")),
5658
5921
 
5659
5922
  ],
@@ -5663,7 +5926,6 @@ DELETE_DEFAULT_CONFIG_INPUT = Schema.collection(
5663
5926
  "target": STRING,
5664
5927
  "index": 1,
5665
5928
  "traits": [
5666
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
5667
5929
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
5668
5930
  Trait.new(id=ShapeID("smithy.api#required")),
5669
5931
 
@@ -5687,6 +5949,7 @@ DELETE_DEFAULT_CONFIG_OUTPUT = Schema.collection(
5687
5949
  id=ShapeID("io.superposition#DeleteDefaultConfigOutput"),
5688
5950
 
5689
5951
  traits=[
5952
+ Trait.new(id=ShapeID("smithy.synthetic#originalShapeId"), value="smithy.api#Unit"),
5690
5953
  Trait.new(id=ShapeID("smithy.api#output")),
5691
5954
 
5692
5955
  ],
@@ -5698,6 +5961,9 @@ DELETE_DEFAULT_CONFIG = Schema(
5698
5961
  shape_type=ShapeType.OPERATION,
5699
5962
  traits=[
5700
5963
  Trait.new(id=ShapeID("smithy.api#idempotent")),
5964
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
5965
+ "Default Configuration",
5966
+ )),
5701
5967
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
5702
5968
  "method": "DELETE",
5703
5969
  "uri": "/default-config/{key}",
@@ -5708,58 +5974,40 @@ DELETE_DEFAULT_CONFIG = Schema(
5708
5974
 
5709
5975
  )
5710
5976
 
5711
- LIST_DEFAULT_CONFIGS_INPUT = Schema.collection(
5712
- id=ShapeID("io.superposition#ListDefaultConfigsInput"),
5977
+ GET_DEFAULT_CONFIG_INPUT = Schema.collection(
5978
+ id=ShapeID("io.superposition#GetDefaultConfigInput"),
5713
5979
 
5714
5980
  traits=[
5715
5981
  Trait.new(id=ShapeID("smithy.api#input")),
5716
5982
 
5717
5983
  ],
5718
5984
  members={
5719
- "count": {
5720
- "target": INTEGER,
5985
+ "workspace_id": {
5986
+ "target": STRING,
5721
5987
  "index": 0,
5722
5988
  "traits": [
5723
- Trait.new(id=ShapeID("smithy.api#httpQuery"), value="count"),
5724
-
5725
- ],
5726
- },
5727
-
5728
- "page": {
5729
- "target": INTEGER,
5730
- "index": 1,
5731
- "traits": [
5732
- Trait.new(id=ShapeID("smithy.api#httpQuery"), value="page"),
5733
-
5734
- ],
5735
- },
5736
-
5737
- "all": {
5738
- "target": BOOLEAN,
5739
- "index": 2,
5740
- "traits": [
5741
- Trait.new(id=ShapeID("smithy.api#httpQuery"), value="all"),
5989
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
5990
+ Trait.new(id=ShapeID("smithy.api#required")),
5742
5991
 
5743
5992
  ],
5744
5993
  },
5745
5994
 
5746
- "workspace_id": {
5995
+ "org_id": {
5747
5996
  "target": STRING,
5748
- "index": 3,
5997
+ "index": 1,
5749
5998
  "traits": [
5750
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
5999
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
5751
6000
  Trait.new(id=ShapeID("smithy.api#required")),
5752
6001
 
5753
6002
  ],
5754
6003
  },
5755
6004
 
5756
- "org_id": {
6005
+ "key": {
5757
6006
  "target": STRING,
5758
- "index": 4,
6007
+ "index": 2,
5759
6008
  "traits": [
5760
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
5761
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
5762
6009
  Trait.new(id=ShapeID("smithy.api#required")),
6010
+ Trait.new(id=ShapeID("smithy.api#httpLabel")),
5763
6011
 
5764
6012
  ],
5765
6013
  },
@@ -5767,9 +6015,14 @@ LIST_DEFAULT_CONFIGS_INPUT = Schema.collection(
5767
6015
  }
5768
6016
  )
5769
6017
 
5770
- DEFAULT_CONFIG_FULL = Schema.collection(
5771
- id=ShapeID("io.superposition#DefaultConfigFull"),
6018
+ GET_DEFAULT_CONFIG_OUTPUT = Schema.collection(
6019
+ id=ShapeID("io.superposition#GetDefaultConfigOutput"),
5772
6020
 
6021
+ traits=[
6022
+ Trait.new(id=ShapeID("smithy.synthetic#originalShapeId"), value="io.superposition#DefaultConfigFull"),
6023
+ Trait.new(id=ShapeID("smithy.api#output")),
6024
+
6025
+ ],
5773
6026
  members={
5774
6027
  "key": {
5775
6028
  "target": STRING,
@@ -5865,51 +6118,16 @@ DEFAULT_CONFIG_FULL = Schema.collection(
5865
6118
  }
5866
6119
  )
5867
6120
 
5868
- LIST_DEFAULT_CONFIG_OUT = Schema.collection(
5869
- id=ShapeID("io.superposition#ListDefaultConfigOut"),
5870
- shape_type=ShapeType.LIST,
5871
- members={
5872
- "member": {
5873
- "target": DEFAULT_CONFIG_FULL,
5874
- "index": 0,
5875
- },
5876
-
5877
- }
5878
- )
5879
-
5880
- LIST_DEFAULT_CONFIGS_OUTPUT = Schema.collection(
5881
- id=ShapeID("io.superposition#ListDefaultConfigsOutput"),
5882
-
5883
- traits=[
5884
- Trait.new(id=ShapeID("smithy.api#output")),
5885
-
5886
- ],
5887
- members={
5888
- "total_pages": {
5889
- "target": INTEGER,
5890
- "index": 0,
5891
- },
5892
-
5893
- "total_items": {
5894
- "target": INTEGER,
5895
- "index": 1,
5896
- },
5897
-
5898
- "data": {
5899
- "target": LIST_DEFAULT_CONFIG_OUT,
5900
- "index": 2,
5901
- },
5902
-
5903
- }
5904
- )
5905
-
5906
- LIST_DEFAULT_CONFIGS = Schema(
5907
- id=ShapeID("io.superposition#ListDefaultConfigs"),
6121
+ GET_DEFAULT_CONFIG = Schema(
6122
+ id=ShapeID("io.superposition#GetDefaultConfig"),
5908
6123
  shape_type=ShapeType.OPERATION,
5909
6124
  traits=[
6125
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
6126
+ "Default Configuration",
6127
+ )),
5910
6128
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
5911
6129
  "method": "GET",
5912
- "uri": "/default-config",
6130
+ "uri": "/default-config/{key}",
5913
6131
  })),
5914
6132
  Trait.new(id=ShapeID("smithy.api#readonly")),
5915
6133
 
@@ -5917,8 +6135,8 @@ LIST_DEFAULT_CONFIGS = Schema(
5917
6135
 
5918
6136
  )
5919
6137
 
5920
- UPDATE_DEFAULT_CONFIG_INPUT = Schema.collection(
5921
- id=ShapeID("io.superposition#UpdateDefaultConfigInput"),
6138
+ LIST_DEFAULT_CONFIGS_INPUT = Schema.collection(
6139
+ id=ShapeID("io.superposition#ListDefaultConfigsInput"),
5922
6140
 
5923
6141
  traits=[
5924
6142
  Trait.new(id=ShapeID("smithy.api#input")),
@@ -5929,7 +6147,7 @@ UPDATE_DEFAULT_CONFIG_INPUT = Schema.collection(
5929
6147
  "target": STRING,
5930
6148
  "index": 0,
5931
6149
  "traits": [
5932
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
6150
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
5933
6151
  Trait.new(id=ShapeID("smithy.api#required")),
5934
6152
 
5935
6153
  ],
@@ -5939,68 +6157,55 @@ UPDATE_DEFAULT_CONFIG_INPUT = Schema.collection(
5939
6157
  "target": STRING,
5940
6158
  "index": 1,
5941
6159
  "traits": [
5942
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
5943
6160
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
5944
6161
  Trait.new(id=ShapeID("smithy.api#required")),
5945
6162
 
5946
6163
  ],
5947
6164
  },
5948
6165
 
5949
- "key": {
5950
- "target": STRING,
6166
+ "count": {
6167
+ "target": INTEGER,
5951
6168
  "index": 2,
5952
6169
  "traits": [
5953
- Trait.new(id=ShapeID("smithy.api#required")),
5954
- Trait.new(id=ShapeID("smithy.api#httpLabel")),
6170
+ Trait.new(id=ShapeID("smithy.api#httpQuery"), value="count"),
5955
6171
 
5956
6172
  ],
5957
6173
  },
5958
6174
 
5959
- "change_reason": {
5960
- "target": STRING,
6175
+ "page": {
6176
+ "target": INTEGER,
5961
6177
  "index": 3,
5962
6178
  "traits": [
5963
- Trait.new(id=ShapeID("smithy.api#required")),
6179
+ Trait.new(id=ShapeID("smithy.api#httpQuery"), value="page"),
5964
6180
 
5965
6181
  ],
5966
6182
  },
5967
6183
 
5968
- "value": {
5969
- "target": DOCUMENT,
6184
+ "all": {
6185
+ "target": BOOLEAN,
5970
6186
  "index": 4,
5971
- },
5972
-
5973
- "schema": {
5974
- "target": OBJECT,
5975
- "index": 5,
5976
- },
6187
+ "traits": [
6188
+ Trait.new(id=ShapeID("smithy.api#httpQuery"), value="all"),
5977
6189
 
5978
- "function_name": {
5979
- "target": STRING,
5980
- "index": 6,
6190
+ ],
5981
6191
  },
5982
6192
 
5983
- "description": {
6193
+ "name": {
5984
6194
  "target": STRING,
5985
- "index": 7,
5986
- },
6195
+ "index": 5,
6196
+ "traits": [
6197
+ Trait.new(id=ShapeID("smithy.api#notProperty")),
6198
+ Trait.new(id=ShapeID("smithy.api#httpQuery"), value="name"),
5987
6199
 
5988
- "autocomplete_function_name": {
5989
- "target": STRING,
5990
- "index": 8,
6200
+ ],
5991
6201
  },
5992
6202
 
5993
6203
  }
5994
6204
  )
5995
6205
 
5996
- UPDATE_DEFAULT_CONFIG_OUTPUT = Schema.collection(
5997
- id=ShapeID("io.superposition#UpdateDefaultConfigOutput"),
5998
-
5999
- traits=[
6000
- Trait.new(id=ShapeID("smithy.synthetic#originalShapeId"), value="io.superposition#DefaultConfigFull"),
6001
- Trait.new(id=ShapeID("smithy.api#output")),
6206
+ DEFAULT_CONFIG_FULL = Schema.collection(
6207
+ id=ShapeID("io.superposition#DefaultConfigFull"),
6002
6208
 
6003
- ],
6004
6209
  members={
6005
6210
  "key": {
6006
6211
  "target": STRING,
@@ -6096,17 +6301,253 @@ UPDATE_DEFAULT_CONFIG_OUTPUT = Schema.collection(
6096
6301
  }
6097
6302
  )
6098
6303
 
6099
- UPDATE_DEFAULT_CONFIG = Schema(
6100
- id=ShapeID("io.superposition#UpdateDefaultConfig"),
6101
- shape_type=ShapeType.OPERATION,
6102
- traits=[
6103
- Trait.new(id=ShapeID("smithy.api#idempotent")),
6104
- Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
6105
- "method": "PUT",
6106
- "uri": "/default-config/{key}",
6107
- })),
6108
-
6109
- ],
6304
+ LIST_DEFAULT_CONFIG_OUT = Schema.collection(
6305
+ id=ShapeID("io.superposition#ListDefaultConfigOut"),
6306
+ shape_type=ShapeType.LIST,
6307
+ members={
6308
+ "member": {
6309
+ "target": DEFAULT_CONFIG_FULL,
6310
+ "index": 0,
6311
+ },
6312
+
6313
+ }
6314
+ )
6315
+
6316
+ LIST_DEFAULT_CONFIGS_OUTPUT = Schema.collection(
6317
+ id=ShapeID("io.superposition#ListDefaultConfigsOutput"),
6318
+
6319
+ traits=[
6320
+ Trait.new(id=ShapeID("smithy.api#output")),
6321
+
6322
+ ],
6323
+ members={
6324
+ "total_pages": {
6325
+ "target": INTEGER,
6326
+ "index": 0,
6327
+ },
6328
+
6329
+ "total_items": {
6330
+ "target": INTEGER,
6331
+ "index": 1,
6332
+ },
6333
+
6334
+ "data": {
6335
+ "target": LIST_DEFAULT_CONFIG_OUT,
6336
+ "index": 2,
6337
+ },
6338
+
6339
+ }
6340
+ )
6341
+
6342
+ LIST_DEFAULT_CONFIGS = Schema(
6343
+ id=ShapeID("io.superposition#ListDefaultConfigs"),
6344
+ shape_type=ShapeType.OPERATION,
6345
+ traits=[
6346
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
6347
+ "Default Configuration",
6348
+ )),
6349
+ Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
6350
+ "method": "GET",
6351
+ "uri": "/default-config",
6352
+ })),
6353
+ Trait.new(id=ShapeID("smithy.api#readonly")),
6354
+
6355
+ ],
6356
+
6357
+ )
6358
+
6359
+ UPDATE_DEFAULT_CONFIG_INPUT = Schema.collection(
6360
+ id=ShapeID("io.superposition#UpdateDefaultConfigInput"),
6361
+
6362
+ traits=[
6363
+ Trait.new(id=ShapeID("smithy.api#input")),
6364
+
6365
+ ],
6366
+ members={
6367
+ "workspace_id": {
6368
+ "target": STRING,
6369
+ "index": 0,
6370
+ "traits": [
6371
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
6372
+ Trait.new(id=ShapeID("smithy.api#required")),
6373
+
6374
+ ],
6375
+ },
6376
+
6377
+ "org_id": {
6378
+ "target": STRING,
6379
+ "index": 1,
6380
+ "traits": [
6381
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
6382
+ Trait.new(id=ShapeID("smithy.api#required")),
6383
+
6384
+ ],
6385
+ },
6386
+
6387
+ "key": {
6388
+ "target": STRING,
6389
+ "index": 2,
6390
+ "traits": [
6391
+ Trait.new(id=ShapeID("smithy.api#required")),
6392
+ Trait.new(id=ShapeID("smithy.api#httpLabel")),
6393
+
6394
+ ],
6395
+ },
6396
+
6397
+ "change_reason": {
6398
+ "target": STRING,
6399
+ "index": 3,
6400
+ "traits": [
6401
+ Trait.new(id=ShapeID("smithy.api#required")),
6402
+
6403
+ ],
6404
+ },
6405
+
6406
+ "value": {
6407
+ "target": DOCUMENT,
6408
+ "index": 4,
6409
+ },
6410
+
6411
+ "schema": {
6412
+ "target": OBJECT,
6413
+ "index": 5,
6414
+ },
6415
+
6416
+ "function_name": {
6417
+ "target": STRING,
6418
+ "index": 6,
6419
+ },
6420
+
6421
+ "description": {
6422
+ "target": STRING,
6423
+ "index": 7,
6424
+ },
6425
+
6426
+ "autocomplete_function_name": {
6427
+ "target": STRING,
6428
+ "index": 8,
6429
+ },
6430
+
6431
+ }
6432
+ )
6433
+
6434
+ UPDATE_DEFAULT_CONFIG_OUTPUT = Schema.collection(
6435
+ id=ShapeID("io.superposition#UpdateDefaultConfigOutput"),
6436
+
6437
+ traits=[
6438
+ Trait.new(id=ShapeID("smithy.synthetic#originalShapeId"), value="io.superposition#DefaultConfigFull"),
6439
+ Trait.new(id=ShapeID("smithy.api#output")),
6440
+
6441
+ ],
6442
+ members={
6443
+ "key": {
6444
+ "target": STRING,
6445
+ "index": 0,
6446
+ "traits": [
6447
+ Trait.new(id=ShapeID("smithy.api#required")),
6448
+
6449
+ ],
6450
+ },
6451
+
6452
+ "value": {
6453
+ "target": DOCUMENT,
6454
+ "index": 1,
6455
+ "traits": [
6456
+ Trait.new(id=ShapeID("smithy.api#required")),
6457
+
6458
+ ],
6459
+ },
6460
+
6461
+ "schema": {
6462
+ "target": OBJECT,
6463
+ "index": 2,
6464
+ "traits": [
6465
+ Trait.new(id=ShapeID("smithy.api#required")),
6466
+
6467
+ ],
6468
+ },
6469
+
6470
+ "description": {
6471
+ "target": STRING,
6472
+ "index": 3,
6473
+ "traits": [
6474
+ Trait.new(id=ShapeID("smithy.api#required")),
6475
+
6476
+ ],
6477
+ },
6478
+
6479
+ "change_reason": {
6480
+ "target": STRING,
6481
+ "index": 4,
6482
+ "traits": [
6483
+ Trait.new(id=ShapeID("smithy.api#required")),
6484
+
6485
+ ],
6486
+ },
6487
+
6488
+ "function_name": {
6489
+ "target": STRING,
6490
+ "index": 5,
6491
+ },
6492
+
6493
+ "autocomplete_function_name": {
6494
+ "target": STRING,
6495
+ "index": 6,
6496
+ },
6497
+
6498
+ "created_at": {
6499
+ "target": DATE_TIME,
6500
+ "index": 7,
6501
+ "traits": [
6502
+ Trait.new(id=ShapeID("smithy.api#required")),
6503
+
6504
+ ],
6505
+ },
6506
+
6507
+ "created_by": {
6508
+ "target": STRING,
6509
+ "index": 8,
6510
+ "traits": [
6511
+ Trait.new(id=ShapeID("smithy.api#required")),
6512
+
6513
+ ],
6514
+ },
6515
+
6516
+ "last_modified_at": {
6517
+ "target": DATE_TIME,
6518
+ "index": 9,
6519
+ "traits": [
6520
+ Trait.new(id=ShapeID("smithy.api#required")),
6521
+
6522
+ ],
6523
+ },
6524
+
6525
+ "last_modified_by": {
6526
+ "target": STRING,
6527
+ "index": 10,
6528
+ "traits": [
6529
+ Trait.new(id=ShapeID("smithy.api#required")),
6530
+
6531
+ ],
6532
+ },
6533
+
6534
+ }
6535
+ )
6536
+
6537
+ UPDATE_DEFAULT_CONFIG = Schema(
6538
+ id=ShapeID("io.superposition#UpdateDefaultConfig"),
6539
+ shape_type=ShapeType.OPERATION,
6540
+ traits=[
6541
+ Trait.new(id=ShapeID("smithy.api#idempotent")),
6542
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
6543
+ "Default Configuration",
6544
+ )),
6545
+ Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
6546
+ "method": "PATCH",
6547
+ "uri": "/default-config/{key}",
6548
+ })),
6549
+
6550
+ ],
6110
6551
 
6111
6552
  )
6112
6553
 
@@ -6122,7 +6563,7 @@ DELETE_DIMENSION_INPUT = Schema.collection(
6122
6563
  "target": STRING,
6123
6564
  "index": 0,
6124
6565
  "traits": [
6125
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
6566
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
6126
6567
  Trait.new(id=ShapeID("smithy.api#required")),
6127
6568
 
6128
6569
  ],
@@ -6132,7 +6573,6 @@ DELETE_DIMENSION_INPUT = Schema.collection(
6132
6573
  "target": STRING,
6133
6574
  "index": 1,
6134
6575
  "traits": [
6135
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
6136
6576
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
6137
6577
  Trait.new(id=ShapeID("smithy.api#required")),
6138
6578
 
@@ -6156,6 +6596,7 @@ DELETE_DIMENSION_OUTPUT = Schema.collection(
6156
6596
  id=ShapeID("io.superposition#DeleteDimensionOutput"),
6157
6597
 
6158
6598
  traits=[
6599
+ Trait.new(id=ShapeID("smithy.synthetic#originalShapeId"), value="smithy.api#Unit"),
6159
6600
  Trait.new(id=ShapeID("smithy.api#output")),
6160
6601
 
6161
6602
  ],
@@ -6167,6 +6608,9 @@ DELETE_DIMENSION = Schema(
6167
6608
  shape_type=ShapeType.OPERATION,
6168
6609
  traits=[
6169
6610
  Trait.new(id=ShapeID("smithy.api#idempotent")),
6611
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
6612
+ "Dimensions",
6613
+ )),
6170
6614
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
6171
6615
  "method": "DELETE",
6172
6616
  "uri": "/dimension/{dimension}",
@@ -6189,7 +6633,7 @@ DELETE_EXPERIMENT_GROUP_INPUT = Schema.collection(
6189
6633
  "target": STRING,
6190
6634
  "index": 0,
6191
6635
  "traits": [
6192
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
6636
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
6193
6637
  Trait.new(id=ShapeID("smithy.api#required")),
6194
6638
 
6195
6639
  ],
@@ -6199,7 +6643,6 @@ DELETE_EXPERIMENT_GROUP_INPUT = Schema.collection(
6199
6643
  "target": STRING,
6200
6644
  "index": 1,
6201
6645
  "traits": [
6202
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
6203
6646
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
6204
6647
  Trait.new(id=ShapeID("smithy.api#required")),
6205
6648
 
@@ -6365,6 +6808,10 @@ DELETE_EXPERIMENT_GROUP = Schema(
6365
6808
  id=ShapeID("io.superposition#DeleteExperimentGroup"),
6366
6809
  shape_type=ShapeType.OPERATION,
6367
6810
  traits=[
6811
+ Trait.new(id=ShapeID("smithy.api#idempotent")),
6812
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
6813
+ "Experiment Groups",
6814
+ )),
6368
6815
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
6369
6816
  "method": "DELETE",
6370
6817
  "uri": "/experiment-groups/{id}",
@@ -6386,7 +6833,7 @@ DELETE_FUNCTION_INPUT = Schema.collection(
6386
6833
  "target": STRING,
6387
6834
  "index": 0,
6388
6835
  "traits": [
6389
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
6836
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
6390
6837
  Trait.new(id=ShapeID("smithy.api#required")),
6391
6838
 
6392
6839
  ],
@@ -6396,7 +6843,6 @@ DELETE_FUNCTION_INPUT = Schema.collection(
6396
6843
  "target": STRING,
6397
6844
  "index": 1,
6398
6845
  "traits": [
6399
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
6400
6846
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
6401
6847
  Trait.new(id=ShapeID("smithy.api#required")),
6402
6848
 
@@ -6420,28 +6866,21 @@ DELETE_FUNCTION_OUTPUT = Schema.collection(
6420
6866
  id=ShapeID("io.superposition#DeleteFunctionOutput"),
6421
6867
 
6422
6868
  traits=[
6869
+ Trait.new(id=ShapeID("smithy.synthetic#originalShapeId"), value="smithy.api#Unit"),
6423
6870
  Trait.new(id=ShapeID("smithy.api#output")),
6424
6871
 
6425
6872
  ],
6426
6873
 
6427
6874
  )
6428
6875
 
6429
- FUNCTION_NOT_FOUND = Schema.collection(
6430
- id=ShapeID("io.superposition#FunctionNotFound"),
6431
-
6432
- traits=[
6433
- Trait.new(id=ShapeID("smithy.api#error"), value="client"),
6434
- Trait.new(id=ShapeID("smithy.api#httpError"), value=404),
6435
-
6436
- ],
6437
-
6438
- )
6439
-
6440
6876
  DELETE_FUNCTION = Schema(
6441
6877
  id=ShapeID("io.superposition#DeleteFunction"),
6442
6878
  shape_type=ShapeType.OPERATION,
6443
6879
  traits=[
6444
6880
  Trait.new(id=ShapeID("smithy.api#idempotent")),
6881
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
6882
+ "Functions",
6883
+ )),
6445
6884
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
6446
6885
  "method": "DELETE",
6447
6886
  "uri": "/function/{function_name}",
@@ -6463,7 +6902,7 @@ DELETE_TYPE_TEMPLATES_INPUT = Schema.collection(
6463
6902
  "target": STRING,
6464
6903
  "index": 0,
6465
6904
  "traits": [
6466
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
6905
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
6467
6906
  Trait.new(id=ShapeID("smithy.api#required")),
6468
6907
 
6469
6908
  ],
@@ -6473,7 +6912,6 @@ DELETE_TYPE_TEMPLATES_INPUT = Schema.collection(
6473
6912
  "target": STRING,
6474
6913
  "index": 1,
6475
6914
  "traits": [
6476
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
6477
6915
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
6478
6916
  Trait.new(id=ShapeID("smithy.api#required")),
6479
6917
 
@@ -6577,22 +7015,14 @@ DELETE_TYPE_TEMPLATES_OUTPUT = Schema.collection(
6577
7015
  }
6578
7016
  )
6579
7017
 
6580
- TYPE_TEMPLATES_NOT_FOUND = Schema.collection(
6581
- id=ShapeID("io.superposition#TypeTemplatesNotFound"),
6582
-
6583
- traits=[
6584
- Trait.new(id=ShapeID("smithy.api#error"), value="client"),
6585
- Trait.new(id=ShapeID("smithy.api#httpError"), value=404),
6586
-
6587
- ],
6588
-
6589
- )
6590
-
6591
7018
  DELETE_TYPE_TEMPLATES = Schema(
6592
7019
  id=ShapeID("io.superposition#DeleteTypeTemplates"),
6593
7020
  shape_type=ShapeType.OPERATION,
6594
7021
  traits=[
6595
7022
  Trait.new(id=ShapeID("smithy.api#idempotent")),
7023
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
7024
+ "Type Templates",
7025
+ )),
6596
7026
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
6597
7027
  "method": "DELETE",
6598
7028
  "uri": "/types/{type_name}",
@@ -6602,8 +7032,8 @@ DELETE_TYPE_TEMPLATES = Schema(
6602
7032
 
6603
7033
  )
6604
7034
 
6605
- GET_DIMENSION_INPUT = Schema.collection(
6606
- id=ShapeID("io.superposition#GetDimensionInput"),
7035
+ DELETE_WEBHOOK_INPUT = Schema.collection(
7036
+ id=ShapeID("io.superposition#DeleteWebhookInput"),
6607
7037
 
6608
7038
  traits=[
6609
7039
  Trait.new(id=ShapeID("smithy.api#input")),
@@ -6614,7 +7044,7 @@ GET_DIMENSION_INPUT = Schema.collection(
6614
7044
  "target": STRING,
6615
7045
  "index": 0,
6616
7046
  "traits": [
6617
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
7047
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
6618
7048
  Trait.new(id=ShapeID("smithy.api#required")),
6619
7049
 
6620
7050
  ],
@@ -6624,14 +7054,13 @@ GET_DIMENSION_INPUT = Schema.collection(
6624
7054
  "target": STRING,
6625
7055
  "index": 1,
6626
7056
  "traits": [
6627
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
6628
7057
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
6629
7058
  Trait.new(id=ShapeID("smithy.api#required")),
6630
7059
 
6631
7060
  ],
6632
7061
  },
6633
7062
 
6634
- "dimension": {
7063
+ "name": {
6635
7064
  "target": STRING,
6636
7065
  "index": 2,
6637
7066
  "traits": [
@@ -6644,7 +7073,77 @@ GET_DIMENSION_INPUT = Schema.collection(
6644
7073
  }
6645
7074
  )
6646
7075
 
6647
- GET_DIMENSION_OUTPUT = Schema.collection(
7076
+ DELETE_WEBHOOK_OUTPUT = Schema.collection(
7077
+ id=ShapeID("io.superposition#DeleteWebhookOutput"),
7078
+
7079
+ traits=[
7080
+ Trait.new(id=ShapeID("smithy.synthetic#originalShapeId"), value="smithy.api#Unit"),
7081
+ Trait.new(id=ShapeID("smithy.api#output")),
7082
+
7083
+ ],
7084
+
7085
+ )
7086
+
7087
+ DELETE_WEBHOOK = Schema(
7088
+ id=ShapeID("io.superposition#DeleteWebhook"),
7089
+ shape_type=ShapeType.OPERATION,
7090
+ traits=[
7091
+ Trait.new(id=ShapeID("smithy.api#idempotent")),
7092
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
7093
+ "Webhooks",
7094
+ )),
7095
+ Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
7096
+ "method": "DELETE",
7097
+ "uri": "/webhook/{name}",
7098
+ "code": 201,
7099
+ })),
7100
+
7101
+ ],
7102
+
7103
+ )
7104
+
7105
+ GET_DIMENSION_INPUT = Schema.collection(
7106
+ id=ShapeID("io.superposition#GetDimensionInput"),
7107
+
7108
+ traits=[
7109
+ Trait.new(id=ShapeID("smithy.api#input")),
7110
+
7111
+ ],
7112
+ members={
7113
+ "workspace_id": {
7114
+ "target": STRING,
7115
+ "index": 0,
7116
+ "traits": [
7117
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
7118
+ Trait.new(id=ShapeID("smithy.api#required")),
7119
+
7120
+ ],
7121
+ },
7122
+
7123
+ "org_id": {
7124
+ "target": STRING,
7125
+ "index": 1,
7126
+ "traits": [
7127
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
7128
+ Trait.new(id=ShapeID("smithy.api#required")),
7129
+
7130
+ ],
7131
+ },
7132
+
7133
+ "dimension": {
7134
+ "target": STRING,
7135
+ "index": 2,
7136
+ "traits": [
7137
+ Trait.new(id=ShapeID("smithy.api#required")),
7138
+ Trait.new(id=ShapeID("smithy.api#httpLabel")),
7139
+
7140
+ ],
7141
+ },
7142
+
7143
+ }
7144
+ )
7145
+
7146
+ GET_DIMENSION_OUTPUT = Schema.collection(
6648
7147
  id=ShapeID("io.superposition#GetDimensionOutput"),
6649
7148
 
6650
7149
  traits=[
@@ -6778,10 +7277,14 @@ GET_DIMENSION = Schema(
6778
7277
  id=ShapeID("io.superposition#GetDimension"),
6779
7278
  shape_type=ShapeType.OPERATION,
6780
7279
  traits=[
7280
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
7281
+ "Dimensions",
7282
+ )),
6781
7283
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
6782
7284
  "method": "GET",
6783
7285
  "uri": "/dimension/{dimension}",
6784
7286
  })),
7287
+ Trait.new(id=ShapeID("smithy.api#readonly")),
6785
7288
 
6786
7289
  ],
6787
7290
 
@@ -6826,7 +7329,7 @@ LIST_DIMENSIONS_INPUT = Schema.collection(
6826
7329
  "target": STRING,
6827
7330
  "index": 3,
6828
7331
  "traits": [
6829
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
7332
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
6830
7333
  Trait.new(id=ShapeID("smithy.api#required")),
6831
7334
 
6832
7335
  ],
@@ -6836,7 +7339,6 @@ LIST_DIMENSIONS_INPUT = Schema.collection(
6836
7339
  "target": STRING,
6837
7340
  "index": 4,
6838
7341
  "traits": [
6839
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
6840
7342
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
6841
7343
  Trait.new(id=ShapeID("smithy.api#required")),
6842
7344
 
@@ -7013,6 +7515,9 @@ LIST_DIMENSIONS = Schema(
7013
7515
  id=ShapeID("io.superposition#ListDimensions"),
7014
7516
  shape_type=ShapeType.OPERATION,
7015
7517
  traits=[
7518
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
7519
+ "Dimensions",
7520
+ )),
7016
7521
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
7017
7522
  "method": "GET",
7018
7523
  "uri": "/dimension",
@@ -7035,7 +7540,7 @@ UPDATE_DIMENSION_INPUT = Schema.collection(
7035
7540
  "target": STRING,
7036
7541
  "index": 0,
7037
7542
  "traits": [
7038
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
7543
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
7039
7544
  Trait.new(id=ShapeID("smithy.api#required")),
7040
7545
 
7041
7546
  ],
@@ -7045,7 +7550,6 @@ UPDATE_DIMENSION_INPUT = Schema.collection(
7045
7550
  "target": STRING,
7046
7551
  "index": 1,
7047
7552
  "traits": [
7048
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
7049
7553
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
7050
7554
  Trait.new(id=ShapeID("smithy.api#required")),
7051
7555
 
@@ -7234,8 +7738,11 @@ UPDATE_DIMENSION = Schema(
7234
7738
  shape_type=ShapeType.OPERATION,
7235
7739
  traits=[
7236
7740
  Trait.new(id=ShapeID("smithy.api#idempotent")),
7741
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
7742
+ "Dimensions",
7743
+ )),
7237
7744
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
7238
- "method": "PUT",
7745
+ "method": "PATCH",
7239
7746
  "uri": "/dimension/{dimension}",
7240
7747
  })),
7241
7748
 
@@ -7255,7 +7762,7 @@ DISCARD_EXPERIMENT_INPUT = Schema.collection(
7255
7762
  "target": STRING,
7256
7763
  "index": 0,
7257
7764
  "traits": [
7258
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
7765
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
7259
7766
  Trait.new(id=ShapeID("smithy.api#required")),
7260
7767
 
7261
7768
  ],
@@ -7265,7 +7772,6 @@ DISCARD_EXPERIMENT_INPUT = Schema.collection(
7265
7772
  "target": STRING,
7266
7773
  "index": 1,
7267
7774
  "traits": [
7268
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
7269
7775
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
7270
7776
  Trait.new(id=ShapeID("smithy.api#required")),
7271
7777
 
@@ -7467,6 +7973,9 @@ DISCARD_EXPERIMENT = Schema(
7467
7973
  shape_type=ShapeType.OPERATION,
7468
7974
  traits=[
7469
7975
  Trait.new(id=ShapeID("smithy.api#idempotent")),
7976
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
7977
+ "Experimentation",
7978
+ )),
7470
7979
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
7471
7980
  "method": "PATCH",
7472
7981
  "uri": "/experiments/{id}/discard",
@@ -7488,7 +7997,7 @@ GET_EXPERIMENT_GROUP_INPUT = Schema.collection(
7488
7997
  "target": STRING,
7489
7998
  "index": 0,
7490
7999
  "traits": [
7491
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
8000
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
7492
8001
  Trait.new(id=ShapeID("smithy.api#required")),
7493
8002
 
7494
8003
  ],
@@ -7498,7 +8007,6 @@ GET_EXPERIMENT_GROUP_INPUT = Schema.collection(
7498
8007
  "target": STRING,
7499
8008
  "index": 1,
7500
8009
  "traits": [
7501
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
7502
8010
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
7503
8011
  Trait.new(id=ShapeID("smithy.api#required")),
7504
8012
 
@@ -7664,6 +8172,9 @@ GET_EXPERIMENT_GROUP = Schema(
7664
8172
  id=ShapeID("io.superposition#GetExperimentGroup"),
7665
8173
  shape_type=ShapeType.OPERATION,
7666
8174
  traits=[
8175
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
8176
+ "Experiment Groups",
8177
+ )),
7667
8178
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
7668
8179
  "method": "GET",
7669
8180
  "uri": "/experiment-groups/{id}",
@@ -7674,11 +8185,23 @@ GET_EXPERIMENT_GROUP = Schema(
7674
8185
 
7675
8186
  )
7676
8187
 
8188
+ GROUP_TYPE_LIST = Schema.collection(
8189
+ id=ShapeID("io.superposition#GroupTypeList"),
8190
+ shape_type=ShapeType.LIST,
8191
+ members={
8192
+ "member": {
8193
+ "target": GROUP_TYPE,
8194
+ "index": 0,
8195
+ },
8196
+
8197
+ }
8198
+ )
8199
+
7677
8200
  EXPERIMENT_GROUP_SORT_ON = Schema.collection(
7678
8201
  id=ShapeID("io.superposition#ExperimentGroupSortOn"),
7679
8202
  shape_type=ShapeType.ENUM,
7680
8203
  members={
7681
- "Name": {
8204
+ "NAME": {
7682
8205
  "target": UNIT,
7683
8206
  "index": 0,
7684
8207
  "traits": [
@@ -7687,7 +8210,7 @@ EXPERIMENT_GROUP_SORT_ON = Schema.collection(
7687
8210
  ],
7688
8211
  },
7689
8212
 
7690
- "CreatedAt": {
8213
+ "CREATED_AT": {
7691
8214
  "target": UNIT,
7692
8215
  "index": 1,
7693
8216
  "traits": [
@@ -7696,7 +8219,7 @@ EXPERIMENT_GROUP_SORT_ON = Schema.collection(
7696
8219
  ],
7697
8220
  },
7698
8221
 
7699
- "LastModifiedAt": {
8222
+ "LAST_MODIFIED_AT": {
7700
8223
  "target": UNIT,
7701
8224
  "index": 2,
7702
8225
  "traits": [
@@ -7716,50 +8239,56 @@ LIST_EXPERIMENT_GROUPS_INPUT = Schema.collection(
7716
8239
 
7717
8240
  ],
7718
8241
  members={
7719
- "workspace_id": {
7720
- "target": STRING,
8242
+ "count": {
8243
+ "target": INTEGER,
7721
8244
  "index": 0,
7722
8245
  "traits": [
7723
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
7724
- Trait.new(id=ShapeID("smithy.api#required")),
8246
+ Trait.new(id=ShapeID("smithy.api#httpQuery"), value="count"),
7725
8247
 
7726
8248
  ],
7727
8249
  },
7728
8250
 
7729
- "org_id": {
7730
- "target": STRING,
8251
+ "page": {
8252
+ "target": INTEGER,
7731
8253
  "index": 1,
7732
8254
  "traits": [
7733
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
7734
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
7735
- Trait.new(id=ShapeID("smithy.api#required")),
8255
+ Trait.new(id=ShapeID("smithy.api#httpQuery"), value="page"),
7736
8256
 
7737
8257
  ],
7738
8258
  },
7739
8259
 
7740
- "page": {
7741
- "target": LONG,
8260
+ "all": {
8261
+ "target": BOOLEAN,
7742
8262
  "index": 2,
7743
8263
  "traits": [
7744
- Trait.new(id=ShapeID("smithy.api#notProperty")),
7745
- Trait.new(id=ShapeID("smithy.api#httpQuery"), value="page"),
8264
+ Trait.new(id=ShapeID("smithy.api#httpQuery"), value="all"),
7746
8265
 
7747
8266
  ],
7748
8267
  },
7749
8268
 
7750
- "count": {
7751
- "target": LONG,
8269
+ "workspace_id": {
8270
+ "target": STRING,
7752
8271
  "index": 3,
7753
8272
  "traits": [
7754
- Trait.new(id=ShapeID("smithy.api#notProperty")),
7755
- Trait.new(id=ShapeID("smithy.api#httpQuery"), value="count"),
8273
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
8274
+ Trait.new(id=ShapeID("smithy.api#required")),
7756
8275
 
7757
8276
  ],
7758
8277
  },
7759
8278
 
7760
- "name": {
8279
+ "org_id": {
7761
8280
  "target": STRING,
7762
8281
  "index": 4,
8282
+ "traits": [
8283
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
8284
+ Trait.new(id=ShapeID("smithy.api#required")),
8285
+
8286
+ ],
8287
+ },
8288
+
8289
+ "name": {
8290
+ "target": STRING,
8291
+ "index": 5,
7763
8292
  "traits": [
7764
8293
  Trait.new(id=ShapeID("smithy.api#httpQuery"), value="name"),
7765
8294
 
@@ -7768,7 +8297,7 @@ LIST_EXPERIMENT_GROUPS_INPUT = Schema.collection(
7768
8297
 
7769
8298
  "created_by": {
7770
8299
  "target": STRING,
7771
- "index": 5,
8300
+ "index": 6,
7772
8301
  "traits": [
7773
8302
  Trait.new(id=ShapeID("smithy.api#httpQuery"), value="created_by"),
7774
8303
 
@@ -7777,7 +8306,7 @@ LIST_EXPERIMENT_GROUPS_INPUT = Schema.collection(
7777
8306
 
7778
8307
  "last_modified_by": {
7779
8308
  "target": STRING,
7780
- "index": 6,
8309
+ "index": 7,
7781
8310
  "traits": [
7782
8311
  Trait.new(id=ShapeID("smithy.api#httpQuery"), value="last_modified_by"),
7783
8312
 
@@ -7786,7 +8315,7 @@ LIST_EXPERIMENT_GROUPS_INPUT = Schema.collection(
7786
8315
 
7787
8316
  "sort_on": {
7788
8317
  "target": EXPERIMENT_GROUP_SORT_ON,
7789
- "index": 7,
8318
+ "index": 8,
7790
8319
  "traits": [
7791
8320
  Trait.new(id=ShapeID("smithy.api#notProperty")),
7792
8321
  Trait.new(id=ShapeID("smithy.api#httpQuery"), value="sort_on"),
@@ -7796,26 +8325,16 @@ LIST_EXPERIMENT_GROUPS_INPUT = Schema.collection(
7796
8325
 
7797
8326
  "sort_by": {
7798
8327
  "target": SORT_BY,
7799
- "index": 8,
7800
- "traits": [
7801
- Trait.new(id=ShapeID("smithy.api#notProperty")),
7802
- Trait.new(id=ShapeID("smithy.api#httpQuery"), value="sort_by"),
7803
-
7804
- ],
7805
- },
7806
-
7807
- "all": {
7808
- "target": BOOLEAN,
7809
8328
  "index": 9,
7810
8329
  "traits": [
7811
8330
  Trait.new(id=ShapeID("smithy.api#notProperty")),
7812
- Trait.new(id=ShapeID("smithy.api#httpQuery"), value="all"),
8331
+ Trait.new(id=ShapeID("smithy.api#httpQuery"), value="sort_by"),
7813
8332
 
7814
8333
  ],
7815
8334
  },
7816
8335
 
7817
8336
  "group_type": {
7818
- "target": GROUP_TYPE,
8337
+ "target": GROUP_TYPE_LIST,
7819
8338
  "index": 10,
7820
8339
  "traits": [
7821
8340
  Trait.new(id=ShapeID("smithy.api#httpQuery"), value="group_type"),
@@ -7979,39 +8498,23 @@ LIST_EXPERIMENT_GROUPS_OUTPUT = Schema.collection(
7979
8498
  id=ShapeID("io.superposition#ListExperimentGroupsOutput"),
7980
8499
 
7981
8500
  traits=[
7982
- Trait.new(id=ShapeID("smithy.synthetic#originalShapeId"), value="io.superposition#ListExperimentGroupsResponse"),
7983
8501
  Trait.new(id=ShapeID("smithy.api#output")),
7984
8502
 
7985
8503
  ],
7986
8504
  members={
7987
8505
  "total_pages": {
7988
- "target": LONG,
8506
+ "target": INTEGER,
7989
8507
  "index": 0,
7990
- "traits": [
7991
- Trait.new(id=ShapeID("smithy.api#notProperty")),
7992
- Trait.new(id=ShapeID("smithy.api#required")),
7993
-
7994
- ],
7995
8508
  },
7996
8509
 
7997
8510
  "total_items": {
7998
- "target": LONG,
8511
+ "target": INTEGER,
7999
8512
  "index": 1,
8000
- "traits": [
8001
- Trait.new(id=ShapeID("smithy.api#notProperty")),
8002
- Trait.new(id=ShapeID("smithy.api#required")),
8003
-
8004
- ],
8005
8513
  },
8006
8514
 
8007
8515
  "data": {
8008
8516
  "target": EXPERIMENT_GROUP_LIST,
8009
8517
  "index": 2,
8010
- "traits": [
8011
- Trait.new(id=ShapeID("smithy.api#notProperty")),
8012
- Trait.new(id=ShapeID("smithy.api#required")),
8013
-
8014
- ],
8015
8518
  },
8016
8519
 
8017
8520
  }
@@ -8021,6 +8524,9 @@ LIST_EXPERIMENT_GROUPS = Schema(
8021
8524
  id=ShapeID("io.superposition#ListExperimentGroups"),
8022
8525
  shape_type=ShapeType.OPERATION,
8023
8526
  traits=[
8527
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
8528
+ "Experiment Groups",
8529
+ )),
8024
8530
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
8025
8531
  "method": "GET",
8026
8532
  "uri": "/experiment-groups",
@@ -8044,7 +8550,7 @@ REMOVE_MEMBERS_FROM_GROUP_INPUT = Schema.collection(
8044
8550
  "target": STRING,
8045
8551
  "index": 0,
8046
8552
  "traits": [
8047
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
8553
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
8048
8554
  Trait.new(id=ShapeID("smithy.api#required")),
8049
8555
 
8050
8556
  ],
@@ -8054,7 +8560,6 @@ REMOVE_MEMBERS_FROM_GROUP_INPUT = Schema.collection(
8054
8560
  "target": STRING,
8055
8561
  "index": 1,
8056
8562
  "traits": [
8057
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
8058
8563
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
8059
8564
  Trait.new(id=ShapeID("smithy.api#required")),
8060
8565
 
@@ -8238,6 +8743,9 @@ REMOVE_MEMBERS_FROM_GROUP = Schema(
8238
8743
  id=ShapeID("io.superposition#RemoveMembersFromGroup"),
8239
8744
  shape_type=ShapeType.OPERATION,
8240
8745
  traits=[
8746
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
8747
+ "Experiment Groups",
8748
+ )),
8241
8749
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
8242
8750
  "method": "PATCH",
8243
8751
  "uri": "/experiment-groups/{id}/remove-members",
@@ -8260,7 +8768,7 @@ UPDATE_EXPERIMENT_GROUP_INPUT = Schema.collection(
8260
8768
  "target": STRING,
8261
8769
  "index": 0,
8262
8770
  "traits": [
8263
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
8771
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
8264
8772
  Trait.new(id=ShapeID("smithy.api#required")),
8265
8773
 
8266
8774
  ],
@@ -8270,7 +8778,6 @@ UPDATE_EXPERIMENT_GROUP_INPUT = Schema.collection(
8270
8778
  "target": STRING,
8271
8779
  "index": 1,
8272
8780
  "traits": [
8273
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
8274
8781
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
8275
8782
  Trait.new(id=ShapeID("smithy.api#required")),
8276
8783
 
@@ -8462,6 +8969,10 @@ UPDATE_EXPERIMENT_GROUP = Schema(
8462
8969
  id=ShapeID("io.superposition#UpdateExperimentGroup"),
8463
8970
  shape_type=ShapeType.OPERATION,
8464
8971
  traits=[
8972
+ Trait.new(id=ShapeID("smithy.api#idempotent")),
8973
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
8974
+ "Experiment Groups",
8975
+ )),
8465
8976
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
8466
8977
  "method": "PATCH",
8467
8978
  "uri": "/experiment-groups/{id}",
@@ -8658,7 +9169,7 @@ GET_EXPERIMENT_INPUT = Schema.collection(
8658
9169
  "target": STRING,
8659
9170
  "index": 0,
8660
9171
  "traits": [
8661
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
9172
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
8662
9173
  Trait.new(id=ShapeID("smithy.api#required")),
8663
9174
 
8664
9175
  ],
@@ -8668,7 +9179,6 @@ GET_EXPERIMENT_INPUT = Schema.collection(
8668
9179
  "target": STRING,
8669
9180
  "index": 1,
8670
9181
  "traits": [
8671
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
8672
9182
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
8673
9183
  Trait.new(id=ShapeID("smithy.api#required")),
8674
9184
 
@@ -8860,6 +9370,9 @@ GET_EXPERIMENT = Schema(
8860
9370
  id=ShapeID("io.superposition#GetExperiment"),
8861
9371
  shape_type=ShapeType.OPERATION,
8862
9372
  traits=[
9373
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
9374
+ "Experimentation",
9375
+ )),
8863
9376
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
8864
9377
  "method": "GET",
8865
9378
  "uri": "/experiments/{id}",
@@ -8874,7 +9387,7 @@ EXPERIMENT_SORT_ON = Schema.collection(
8874
9387
  id=ShapeID("io.superposition#ExperimentSortOn"),
8875
9388
  shape_type=ShapeType.ENUM,
8876
9389
  members={
8877
- "LastModifiedAt": {
9390
+ "LAST_MODIFIED_AT": {
8878
9391
  "target": UNIT,
8879
9392
  "index": 0,
8880
9393
  "traits": [
@@ -8883,7 +9396,7 @@ EXPERIMENT_SORT_ON = Schema.collection(
8883
9396
  ],
8884
9397
  },
8885
9398
 
8886
- "CreatedAt": {
9399
+ "CREATED_AT": {
8887
9400
  "target": UNIT,
8888
9401
  "index": 1,
8889
9402
  "traits": [
@@ -8895,6 +9408,18 @@ EXPERIMENT_SORT_ON = Schema.collection(
8895
9408
  }
8896
9409
  )
8897
9410
 
9411
+ EXPERIMENT_STATUS_TYPE_LIST = Schema.collection(
9412
+ id=ShapeID("io.superposition#ExperimentStatusTypeList"),
9413
+ shape_type=ShapeType.LIST,
9414
+ members={
9415
+ "member": {
9416
+ "target": EXPERIMENT_STATUS_TYPE,
9417
+ "index": 0,
9418
+ },
9419
+
9420
+ }
9421
+ )
9422
+
8898
9423
  LIST_EXPERIMENT_INPUT = Schema.collection(
8899
9424
  id=ShapeID("io.superposition#ListExperimentInput"),
8900
9425
 
@@ -8903,59 +9428,55 @@ LIST_EXPERIMENT_INPUT = Schema.collection(
8903
9428
 
8904
9429
  ],
8905
9430
  members={
8906
- "workspace_id": {
8907
- "target": STRING,
9431
+ "count": {
9432
+ "target": INTEGER,
8908
9433
  "index": 0,
8909
9434
  "traits": [
8910
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
8911
- Trait.new(id=ShapeID("smithy.api#required")),
9435
+ Trait.new(id=ShapeID("smithy.api#httpQuery"), value="count"),
8912
9436
 
8913
9437
  ],
8914
9438
  },
8915
9439
 
8916
- "org_id": {
8917
- "target": STRING,
9440
+ "page": {
9441
+ "target": INTEGER,
8918
9442
  "index": 1,
8919
9443
  "traits": [
8920
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
8921
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
8922
- Trait.new(id=ShapeID("smithy.api#required")),
9444
+ Trait.new(id=ShapeID("smithy.api#httpQuery"), value="page"),
8923
9445
 
8924
9446
  ],
8925
9447
  },
8926
9448
 
8927
- "page": {
8928
- "target": LONG,
9449
+ "all": {
9450
+ "target": BOOLEAN,
8929
9451
  "index": 2,
8930
9452
  "traits": [
8931
- Trait.new(id=ShapeID("smithy.api#notProperty")),
8932
- Trait.new(id=ShapeID("smithy.api#httpQuery"), value="page"),
9453
+ Trait.new(id=ShapeID("smithy.api#httpQuery"), value="all"),
8933
9454
 
8934
9455
  ],
8935
9456
  },
8936
9457
 
8937
- "count": {
8938
- "target": LONG,
9458
+ "workspace_id": {
9459
+ "target": STRING,
8939
9460
  "index": 3,
8940
9461
  "traits": [
8941
- Trait.new(id=ShapeID("smithy.api#notProperty")),
8942
- Trait.new(id=ShapeID("smithy.api#httpQuery"), value="count"),
9462
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
9463
+ Trait.new(id=ShapeID("smithy.api#required")),
8943
9464
 
8944
9465
  ],
8945
9466
  },
8946
9467
 
8947
- "all": {
8948
- "target": BOOLEAN,
9468
+ "org_id": {
9469
+ "target": STRING,
8949
9470
  "index": 4,
8950
9471
  "traits": [
8951
- Trait.new(id=ShapeID("smithy.api#notProperty")),
8952
- Trait.new(id=ShapeID("smithy.api#httpQuery"), value="all"),
9472
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
9473
+ Trait.new(id=ShapeID("smithy.api#required")),
8953
9474
 
8954
9475
  ],
8955
9476
  },
8956
9477
 
8957
9478
  "status": {
8958
- "target": EXPERIMENT_STATUS_TYPE,
9479
+ "target": EXPERIMENT_STATUS_TYPE_LIST,
8959
9480
  "index": 5,
8960
9481
  "traits": [
8961
9482
  Trait.new(id=ShapeID("smithy.api#httpQuery"), value="status"),
@@ -8994,7 +9515,7 @@ LIST_EXPERIMENT_INPUT = Schema.collection(
8994
9515
  },
8995
9516
 
8996
9517
  "experiment_ids": {
8997
- "target": STRING,
9518
+ "target": STRING_LIST,
8998
9519
  "index": 9,
8999
9520
  "traits": [
9000
9521
  Trait.new(id=ShapeID("smithy.api#notProperty")),
@@ -9004,7 +9525,7 @@ LIST_EXPERIMENT_INPUT = Schema.collection(
9004
9525
  },
9005
9526
 
9006
9527
  "experiment_group_ids": {
9007
- "target": STRING,
9528
+ "target": STRING_LIST,
9008
9529
  "index": 10,
9009
9530
  "traits": [
9010
9531
  Trait.new(id=ShapeID("smithy.api#notProperty")),
@@ -9014,7 +9535,7 @@ LIST_EXPERIMENT_INPUT = Schema.collection(
9014
9535
  },
9015
9536
 
9016
9537
  "created_by": {
9017
- "target": STRING,
9538
+ "target": STRING_LIST,
9018
9539
  "index": 11,
9019
9540
  "traits": [
9020
9541
  Trait.new(id=ShapeID("smithy.api#notProperty")),
@@ -9070,39 +9591,23 @@ LIST_EXPERIMENT_OUTPUT = Schema.collection(
9070
9591
  id=ShapeID("io.superposition#ListExperimentOutput"),
9071
9592
 
9072
9593
  traits=[
9073
- Trait.new(id=ShapeID("smithy.synthetic#originalShapeId"), value="io.superposition#ExperimentListResponse"),
9074
9594
  Trait.new(id=ShapeID("smithy.api#output")),
9075
9595
 
9076
9596
  ],
9077
9597
  members={
9078
9598
  "total_pages": {
9079
- "target": LONG,
9599
+ "target": INTEGER,
9080
9600
  "index": 0,
9081
- "traits": [
9082
- Trait.new(id=ShapeID("smithy.api#notProperty")),
9083
- Trait.new(id=ShapeID("smithy.api#required")),
9084
-
9085
- ],
9086
9601
  },
9087
9602
 
9088
9603
  "total_items": {
9089
- "target": LONG,
9604
+ "target": INTEGER,
9090
9605
  "index": 1,
9091
- "traits": [
9092
- Trait.new(id=ShapeID("smithy.api#notProperty")),
9093
- Trait.new(id=ShapeID("smithy.api#required")),
9094
-
9095
- ],
9096
9606
  },
9097
9607
 
9098
9608
  "data": {
9099
9609
  "target": EXPERIMENT_LIST,
9100
9610
  "index": 2,
9101
- "traits": [
9102
- Trait.new(id=ShapeID("smithy.api#notProperty")),
9103
- Trait.new(id=ShapeID("smithy.api#required")),
9104
-
9105
- ],
9106
9611
  },
9107
9612
 
9108
9613
  }
@@ -9112,6 +9617,9 @@ LIST_EXPERIMENT = Schema(
9112
9617
  id=ShapeID("io.superposition#ListExperiment"),
9113
9618
  shape_type=ShapeType.OPERATION,
9114
9619
  traits=[
9620
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
9621
+ "Experimentation",
9622
+ )),
9115
9623
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
9116
9624
  "method": "GET",
9117
9625
  "uri": "/experiments",
@@ -9134,7 +9642,7 @@ PAUSE_EXPERIMENT_INPUT = Schema.collection(
9134
9642
  "target": STRING,
9135
9643
  "index": 0,
9136
9644
  "traits": [
9137
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
9645
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
9138
9646
  Trait.new(id=ShapeID("smithy.api#required")),
9139
9647
 
9140
9648
  ],
@@ -9144,7 +9652,6 @@ PAUSE_EXPERIMENT_INPUT = Schema.collection(
9144
9652
  "target": STRING,
9145
9653
  "index": 1,
9146
9654
  "traits": [
9147
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
9148
9655
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
9149
9656
  Trait.new(id=ShapeID("smithy.api#required")),
9150
9657
 
@@ -9346,6 +9853,9 @@ PAUSE_EXPERIMENT = Schema(
9346
9853
  shape_type=ShapeType.OPERATION,
9347
9854
  traits=[
9348
9855
  Trait.new(id=ShapeID("smithy.api#idempotent")),
9856
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
9857
+ "Experimentation",
9858
+ )),
9349
9859
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
9350
9860
  "method": "PATCH",
9351
9861
  "uri": "/experiments/{id}/pause",
@@ -9367,7 +9877,7 @@ RAMP_EXPERIMENT_INPUT = Schema.collection(
9367
9877
  "target": STRING,
9368
9878
  "index": 0,
9369
9879
  "traits": [
9370
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
9880
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
9371
9881
  Trait.new(id=ShapeID("smithy.api#required")),
9372
9882
 
9373
9883
  ],
@@ -9377,7 +9887,6 @@ RAMP_EXPERIMENT_INPUT = Schema.collection(
9377
9887
  "target": STRING,
9378
9888
  "index": 1,
9379
9889
  "traits": [
9380
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
9381
9890
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
9382
9891
  Trait.new(id=ShapeID("smithy.api#required")),
9383
9892
 
@@ -9588,6 +10097,9 @@ RAMP_EXPERIMENT = Schema(
9588
10097
  shape_type=ShapeType.OPERATION,
9589
10098
  traits=[
9590
10099
  Trait.new(id=ShapeID("smithy.api#idempotent")),
10100
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
10101
+ "Experimentation",
10102
+ )),
9591
10103
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
9592
10104
  "method": "PATCH",
9593
10105
  "uri": "/experiments/{id}/ramp",
@@ -9609,7 +10121,7 @@ RESUME_EXPERIMENT_INPUT = Schema.collection(
9609
10121
  "target": STRING,
9610
10122
  "index": 0,
9611
10123
  "traits": [
9612
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
10124
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
9613
10125
  Trait.new(id=ShapeID("smithy.api#required")),
9614
10126
 
9615
10127
  ],
@@ -9619,7 +10131,6 @@ RESUME_EXPERIMENT_INPUT = Schema.collection(
9619
10131
  "target": STRING,
9620
10132
  "index": 1,
9621
10133
  "traits": [
9622
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
9623
10134
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
9624
10135
  Trait.new(id=ShapeID("smithy.api#required")),
9625
10136
 
@@ -9821,6 +10332,9 @@ RESUME_EXPERIMENT = Schema(
9821
10332
  shape_type=ShapeType.OPERATION,
9822
10333
  traits=[
9823
10334
  Trait.new(id=ShapeID("smithy.api#idempotent")),
10335
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
10336
+ "Experimentation",
10337
+ )),
9824
10338
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
9825
10339
  "method": "PATCH",
9826
10340
  "uri": "/experiments/{id}/resume",
@@ -9880,7 +10394,7 @@ UPDATE_OVERRIDES_EXPERIMENT_INPUT = Schema.collection(
9880
10394
  "target": STRING,
9881
10395
  "index": 0,
9882
10396
  "traits": [
9883
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
10397
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
9884
10398
  Trait.new(id=ShapeID("smithy.api#required")),
9885
10399
 
9886
10400
  ],
@@ -9890,7 +10404,6 @@ UPDATE_OVERRIDES_EXPERIMENT_INPUT = Schema.collection(
9890
10404
  "target": STRING,
9891
10405
  "index": 1,
9892
10406
  "traits": [
9893
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
9894
10407
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
9895
10408
  Trait.new(id=ShapeID("smithy.api#required")),
9896
10409
 
@@ -10116,8 +10629,11 @@ UPDATE_OVERRIDES_EXPERIMENT = Schema(
10116
10629
  id=ShapeID("io.superposition#UpdateOverridesExperiment"),
10117
10630
  shape_type=ShapeType.OPERATION,
10118
10631
  traits=[
10632
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
10633
+ "Experimentation",
10634
+ )),
10119
10635
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
10120
- "method": "PUT",
10636
+ "method": "PATCH",
10121
10637
  "uri": "/experiments/{id}/overrides",
10122
10638
  })),
10123
10639
 
@@ -10137,7 +10653,7 @@ GET_FUNCTION_INPUT = Schema.collection(
10137
10653
  "target": STRING,
10138
10654
  "index": 0,
10139
10655
  "traits": [
10140
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
10656
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
10141
10657
  Trait.new(id=ShapeID("smithy.api#required")),
10142
10658
 
10143
10659
  ],
@@ -10147,7 +10663,6 @@ GET_FUNCTION_INPUT = Schema.collection(
10147
10663
  "target": STRING,
10148
10664
  "index": 1,
10149
10665
  "traits": [
10150
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
10151
10666
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
10152
10667
  Trait.new(id=ShapeID("smithy.api#required")),
10153
10668
 
@@ -10293,6 +10808,9 @@ GET_FUNCTION = Schema(
10293
10808
  id=ShapeID("io.superposition#GetFunction"),
10294
10809
  shape_type=ShapeType.OPERATION,
10295
10810
  traits=[
10811
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
10812
+ "Functions",
10813
+ )),
10296
10814
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
10297
10815
  "method": "GET",
10298
10816
  "uri": "/function/{function_name}",
@@ -10303,6 +10821,18 @@ GET_FUNCTION = Schema(
10303
10821
 
10304
10822
  )
10305
10823
 
10824
+ FUNCTION_TYPES_LIST = Schema.collection(
10825
+ id=ShapeID("io.superposition#FunctionTypesList"),
10826
+ shape_type=ShapeType.LIST,
10827
+ members={
10828
+ "member": {
10829
+ "target": FUNCTION_TYPES,
10830
+ "index": 0,
10831
+ },
10832
+
10833
+ }
10834
+ )
10835
+
10306
10836
  LIST_FUNCTION_INPUT = Schema.collection(
10307
10837
  id=ShapeID("io.superposition#ListFunctionInput"),
10308
10838
 
@@ -10342,7 +10872,7 @@ LIST_FUNCTION_INPUT = Schema.collection(
10342
10872
  "target": STRING,
10343
10873
  "index": 3,
10344
10874
  "traits": [
10345
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
10875
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
10346
10876
  Trait.new(id=ShapeID("smithy.api#required")),
10347
10877
 
10348
10878
  ],
@@ -10352,13 +10882,21 @@ LIST_FUNCTION_INPUT = Schema.collection(
10352
10882
  "target": STRING,
10353
10883
  "index": 4,
10354
10884
  "traits": [
10355
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
10356
10885
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
10357
10886
  Trait.new(id=ShapeID("smithy.api#required")),
10358
10887
 
10359
10888
  ],
10360
10889
  },
10361
10890
 
10891
+ "function_type": {
10892
+ "target": FUNCTION_TYPES_LIST,
10893
+ "index": 5,
10894
+ "traits": [
10895
+ Trait.new(id=ShapeID("smithy.api#httpQuery"), value="function_type"),
10896
+
10897
+ ],
10898
+ },
10899
+
10362
10900
  }
10363
10901
  )
10364
10902
 
@@ -10521,6 +11059,9 @@ LIST_FUNCTION = Schema(
10521
11059
  id=ShapeID("io.superposition#ListFunction"),
10522
11060
  shape_type=ShapeType.OPERATION,
10523
11061
  traits=[
11062
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
11063
+ "Functions",
11064
+ )),
10524
11065
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
10525
11066
  "method": "GET",
10526
11067
  "uri": "/function",
@@ -10543,7 +11084,7 @@ PUBLISH_INPUT = Schema.collection(
10543
11084
  "target": STRING,
10544
11085
  "index": 0,
10545
11086
  "traits": [
10546
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
11087
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
10547
11088
  Trait.new(id=ShapeID("smithy.api#required")),
10548
11089
 
10549
11090
  ],
@@ -10553,7 +11094,6 @@ PUBLISH_INPUT = Schema.collection(
10553
11094
  "target": STRING,
10554
11095
  "index": 1,
10555
11096
  "traits": [
10556
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
10557
11097
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
10558
11098
  Trait.new(id=ShapeID("smithy.api#required")),
10559
11099
 
@@ -10709,6 +11249,9 @@ PUBLISH = Schema(
10709
11249
  shape_type=ShapeType.OPERATION,
10710
11250
  traits=[
10711
11251
  Trait.new(id=ShapeID("smithy.api#idempotent")),
11252
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
11253
+ "Functions",
11254
+ )),
10712
11255
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
10713
11256
  "method": "PATCH",
10714
11257
  "uri": "/function/{function_name}/publish",
@@ -10789,7 +11332,7 @@ TEST_INPUT = Schema.collection(
10789
11332
  "target": STRING,
10790
11333
  "index": 0,
10791
11334
  "traits": [
10792
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
11335
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
10793
11336
  Trait.new(id=ShapeID("smithy.api#required")),
10794
11337
 
10795
11338
  ],
@@ -10799,7 +11342,6 @@ TEST_INPUT = Schema.collection(
10799
11342
  "target": STRING,
10800
11343
  "index": 1,
10801
11344
  "traits": [
10802
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
10803
11345
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
10804
11346
  Trait.new(id=ShapeID("smithy.api#required")),
10805
11347
 
@@ -10888,6 +11430,9 @@ TEST = Schema(
10888
11430
  shape_type=ShapeType.OPERATION,
10889
11431
  traits=[
10890
11432
  Trait.new(id=ShapeID("smithy.api#idempotent")),
11433
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
11434
+ "Functions",
11435
+ )),
10891
11436
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
10892
11437
  "method": "POST",
10893
11438
  "uri": "/function/{function_name}/{stage}/test",
@@ -10910,7 +11455,7 @@ UPDATE_FUNCTION_INPUT = Schema.collection(
10910
11455
  "target": STRING,
10911
11456
  "index": 0,
10912
11457
  "traits": [
10913
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
11458
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
10914
11459
  Trait.new(id=ShapeID("smithy.api#required")),
10915
11460
 
10916
11461
  ],
@@ -10920,7 +11465,6 @@ UPDATE_FUNCTION_INPUT = Schema.collection(
10920
11465
  "target": STRING,
10921
11466
  "index": 1,
10922
11467
  "traits": [
10923
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
10924
11468
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
10925
11469
  Trait.new(id=ShapeID("smithy.api#required")),
10926
11470
 
@@ -11101,6 +11645,9 @@ UPDATE_FUNCTION = Schema(
11101
11645
  shape_type=ShapeType.OPERATION,
11102
11646
  traits=[
11103
11647
  Trait.new(id=ShapeID("smithy.api#idempotent")),
11648
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
11649
+ "Functions",
11650
+ )),
11104
11651
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
11105
11652
  "method": "PATCH",
11106
11653
  "uri": "/function/{function_name}",
@@ -11235,21 +11782,13 @@ GET_ORGANISATION_OUTPUT = Schema.collection(
11235
11782
  }
11236
11783
  )
11237
11784
 
11238
- ORGANISATION_NOT_FOUND = Schema.collection(
11239
- id=ShapeID("io.superposition#OrganisationNotFound"),
11240
-
11241
- traits=[
11242
- Trait.new(id=ShapeID("smithy.api#error"), value="client"),
11243
- Trait.new(id=ShapeID("smithy.api#httpError"), value=404),
11244
-
11245
- ],
11246
-
11247
- )
11248
-
11249
11785
  GET_ORGANISATION = Schema(
11250
11786
  id=ShapeID("io.superposition#GetOrganisation"),
11251
11787
  shape_type=ShapeType.OPERATION,
11252
11788
  traits=[
11789
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
11790
+ "Organisation Management",
11791
+ )),
11253
11792
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
11254
11793
  "method": "GET",
11255
11794
  "uri": "/superposition/organisations/{id}",
@@ -11260,99 +11799,673 @@ GET_ORGANISATION = Schema(
11260
11799
 
11261
11800
  )
11262
11801
 
11263
- GET_TYPE_TEMPLATES_LIST_INPUT = Schema.collection(
11264
- id=ShapeID("io.superposition#GetTypeTemplatesListInput"),
11802
+ GET_TYPE_TEMPLATE_INPUT = Schema.collection(
11803
+ id=ShapeID("io.superposition#GetTypeTemplateInput"),
11265
11804
 
11266
11805
  traits=[
11267
11806
  Trait.new(id=ShapeID("smithy.api#input")),
11268
11807
 
11269
11808
  ],
11270
11809
  members={
11271
- "count": {
11272
- "target": INTEGER,
11810
+ "workspace_id": {
11811
+ "target": STRING,
11812
+ "index": 0,
11813
+ "traits": [
11814
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
11815
+ Trait.new(id=ShapeID("smithy.api#required")),
11816
+
11817
+ ],
11818
+ },
11819
+
11820
+ "org_id": {
11821
+ "target": STRING,
11822
+ "index": 1,
11823
+ "traits": [
11824
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
11825
+ Trait.new(id=ShapeID("smithy.api#required")),
11826
+
11827
+ ],
11828
+ },
11829
+
11830
+ "type_name": {
11831
+ "target": STRING,
11832
+ "index": 2,
11833
+ "traits": [
11834
+ Trait.new(id=ShapeID("smithy.api#required")),
11835
+ Trait.new(id=ShapeID("smithy.api#httpLabel")),
11836
+
11837
+ ],
11838
+ },
11839
+
11840
+ }
11841
+ )
11842
+
11843
+ GET_TYPE_TEMPLATE_OUTPUT = Schema.collection(
11844
+ id=ShapeID("io.superposition#GetTypeTemplateOutput"),
11845
+
11846
+ traits=[
11847
+ Trait.new(id=ShapeID("smithy.synthetic#originalShapeId"), value="io.superposition#TypeTemplatesResponse"),
11848
+ Trait.new(id=ShapeID("smithy.api#output")),
11849
+
11850
+ ],
11851
+ members={
11852
+ "type_name": {
11853
+ "target": STRING,
11854
+ "index": 0,
11855
+ "traits": [
11856
+ Trait.new(id=ShapeID("smithy.api#required")),
11857
+
11858
+ ],
11859
+ },
11860
+
11861
+ "type_schema": {
11862
+ "target": OBJECT,
11863
+ "index": 1,
11864
+ "traits": [
11865
+ Trait.new(id=ShapeID("smithy.api#required")),
11866
+
11867
+ ],
11868
+ },
11869
+
11870
+ "description": {
11871
+ "target": STRING,
11872
+ "index": 2,
11873
+ "traits": [
11874
+ Trait.new(id=ShapeID("smithy.api#required")),
11875
+
11876
+ ],
11877
+ },
11878
+
11879
+ "change_reason": {
11880
+ "target": STRING,
11881
+ "index": 3,
11882
+ "traits": [
11883
+ Trait.new(id=ShapeID("smithy.api#required")),
11884
+
11885
+ ],
11886
+ },
11887
+
11888
+ "created_by": {
11889
+ "target": STRING,
11890
+ "index": 4,
11891
+ "traits": [
11892
+ Trait.new(id=ShapeID("smithy.api#required")),
11893
+
11894
+ ],
11895
+ },
11896
+
11897
+ "created_at": {
11898
+ "target": DATE_TIME,
11899
+ "index": 5,
11900
+ "traits": [
11901
+ Trait.new(id=ShapeID("smithy.api#required")),
11902
+
11903
+ ],
11904
+ },
11905
+
11906
+ "last_modified_at": {
11907
+ "target": DATE_TIME,
11908
+ "index": 6,
11909
+ "traits": [
11910
+ Trait.new(id=ShapeID("smithy.api#required")),
11911
+
11912
+ ],
11913
+ },
11914
+
11915
+ "last_modified_by": {
11916
+ "target": STRING,
11917
+ "index": 7,
11918
+ "traits": [
11919
+ Trait.new(id=ShapeID("smithy.api#required")),
11920
+
11921
+ ],
11922
+ },
11923
+
11924
+ }
11925
+ )
11926
+
11927
+ GET_TYPE_TEMPLATE = Schema(
11928
+ id=ShapeID("io.superposition#GetTypeTemplate"),
11929
+ shape_type=ShapeType.OPERATION,
11930
+ traits=[
11931
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
11932
+ "Type Templates",
11933
+ )),
11934
+ Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
11935
+ "method": "GET",
11936
+ "uri": "/types/{type_name}",
11937
+ })),
11938
+ Trait.new(id=ShapeID("smithy.api#readonly")),
11939
+
11940
+ ],
11941
+
11942
+ )
11943
+
11944
+ GET_TYPE_TEMPLATES_LIST_INPUT = Schema.collection(
11945
+ id=ShapeID("io.superposition#GetTypeTemplatesListInput"),
11946
+
11947
+ traits=[
11948
+ Trait.new(id=ShapeID("smithy.api#input")),
11949
+
11950
+ ],
11951
+ members={
11952
+ "count": {
11953
+ "target": INTEGER,
11954
+ "index": 0,
11955
+ "traits": [
11956
+ Trait.new(id=ShapeID("smithy.api#httpQuery"), value="count"),
11957
+
11958
+ ],
11959
+ },
11960
+
11961
+ "page": {
11962
+ "target": INTEGER,
11963
+ "index": 1,
11964
+ "traits": [
11965
+ Trait.new(id=ShapeID("smithy.api#httpQuery"), value="page"),
11966
+
11967
+ ],
11968
+ },
11969
+
11970
+ "all": {
11971
+ "target": BOOLEAN,
11972
+ "index": 2,
11973
+ "traits": [
11974
+ Trait.new(id=ShapeID("smithy.api#httpQuery"), value="all"),
11975
+
11976
+ ],
11977
+ },
11978
+
11979
+ "workspace_id": {
11980
+ "target": STRING,
11981
+ "index": 3,
11982
+ "traits": [
11983
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
11984
+ Trait.new(id=ShapeID("smithy.api#required")),
11985
+
11986
+ ],
11987
+ },
11988
+
11989
+ "org_id": {
11990
+ "target": STRING,
11991
+ "index": 4,
11992
+ "traits": [
11993
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
11994
+ Trait.new(id=ShapeID("smithy.api#required")),
11995
+
11996
+ ],
11997
+ },
11998
+
11999
+ }
12000
+ )
12001
+
12002
+ TYPE_TEMPLATES_RESPONSE = Schema.collection(
12003
+ id=ShapeID("io.superposition#TypeTemplatesResponse"),
12004
+
12005
+ members={
12006
+ "type_name": {
12007
+ "target": STRING,
12008
+ "index": 0,
12009
+ "traits": [
12010
+ Trait.new(id=ShapeID("smithy.api#required")),
12011
+
12012
+ ],
12013
+ },
12014
+
12015
+ "type_schema": {
12016
+ "target": OBJECT,
12017
+ "index": 1,
12018
+ "traits": [
12019
+ Trait.new(id=ShapeID("smithy.api#required")),
12020
+
12021
+ ],
12022
+ },
12023
+
12024
+ "description": {
12025
+ "target": STRING,
12026
+ "index": 2,
12027
+ "traits": [
12028
+ Trait.new(id=ShapeID("smithy.api#required")),
12029
+
12030
+ ],
12031
+ },
12032
+
12033
+ "change_reason": {
12034
+ "target": STRING,
12035
+ "index": 3,
12036
+ "traits": [
12037
+ Trait.new(id=ShapeID("smithy.api#required")),
12038
+
12039
+ ],
12040
+ },
12041
+
12042
+ "created_by": {
12043
+ "target": STRING,
12044
+ "index": 4,
12045
+ "traits": [
12046
+ Trait.new(id=ShapeID("smithy.api#required")),
12047
+
12048
+ ],
12049
+ },
12050
+
12051
+ "created_at": {
12052
+ "target": DATE_TIME,
12053
+ "index": 5,
12054
+ "traits": [
12055
+ Trait.new(id=ShapeID("smithy.api#required")),
12056
+
12057
+ ],
12058
+ },
12059
+
12060
+ "last_modified_at": {
12061
+ "target": DATE_TIME,
12062
+ "index": 6,
12063
+ "traits": [
12064
+ Trait.new(id=ShapeID("smithy.api#required")),
12065
+
12066
+ ],
12067
+ },
12068
+
12069
+ "last_modified_by": {
12070
+ "target": STRING,
12071
+ "index": 7,
12072
+ "traits": [
12073
+ Trait.new(id=ShapeID("smithy.api#required")),
12074
+
12075
+ ],
12076
+ },
12077
+
12078
+ }
12079
+ )
12080
+
12081
+ TYPE_TEMPLATES_LIST = Schema.collection(
12082
+ id=ShapeID("io.superposition#TypeTemplatesList"),
12083
+ shape_type=ShapeType.LIST,
12084
+ members={
12085
+ "member": {
12086
+ "target": TYPE_TEMPLATES_RESPONSE,
12087
+ "index": 0,
12088
+ },
12089
+
12090
+ }
12091
+ )
12092
+
12093
+ GET_TYPE_TEMPLATES_LIST_OUTPUT = Schema.collection(
12094
+ id=ShapeID("io.superposition#GetTypeTemplatesListOutput"),
12095
+
12096
+ traits=[
12097
+ Trait.new(id=ShapeID("smithy.api#output")),
12098
+
12099
+ ],
12100
+ members={
12101
+ "total_pages": {
12102
+ "target": INTEGER,
12103
+ "index": 0,
12104
+ },
12105
+
12106
+ "total_items": {
12107
+ "target": INTEGER,
12108
+ "index": 1,
12109
+ },
12110
+
12111
+ "data": {
12112
+ "target": TYPE_TEMPLATES_LIST,
12113
+ "index": 2,
12114
+ },
12115
+
12116
+ }
12117
+ )
12118
+
12119
+ GET_TYPE_TEMPLATES_LIST = Schema(
12120
+ id=ShapeID("io.superposition#GetTypeTemplatesList"),
12121
+ shape_type=ShapeType.OPERATION,
12122
+ traits=[
12123
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
12124
+ "Type Templates",
12125
+ )),
12126
+ Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
12127
+ "method": "GET",
12128
+ "uri": "/types",
12129
+ })),
12130
+ Trait.new(id=ShapeID("smithy.api#readonly")),
12131
+
12132
+ ],
12133
+
12134
+ )
12135
+
12136
+ GET_WEBHOOK_INPUT = Schema.collection(
12137
+ id=ShapeID("io.superposition#GetWebhookInput"),
12138
+
12139
+ traits=[
12140
+ Trait.new(id=ShapeID("smithy.api#input")),
12141
+
12142
+ ],
12143
+ members={
12144
+ "workspace_id": {
12145
+ "target": STRING,
12146
+ "index": 0,
12147
+ "traits": [
12148
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
12149
+ Trait.new(id=ShapeID("smithy.api#required")),
12150
+
12151
+ ],
12152
+ },
12153
+
12154
+ "org_id": {
12155
+ "target": STRING,
12156
+ "index": 1,
12157
+ "traits": [
12158
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
12159
+ Trait.new(id=ShapeID("smithy.api#required")),
12160
+
12161
+ ],
12162
+ },
12163
+
12164
+ "name": {
12165
+ "target": STRING,
12166
+ "index": 2,
12167
+ "traits": [
12168
+ Trait.new(id=ShapeID("smithy.api#required")),
12169
+ Trait.new(id=ShapeID("smithy.api#httpLabel")),
12170
+
12171
+ ],
12172
+ },
12173
+
12174
+ }
12175
+ )
12176
+
12177
+ GET_WEBHOOK_OUTPUT = Schema.collection(
12178
+ id=ShapeID("io.superposition#GetWebhookOutput"),
12179
+
12180
+ traits=[
12181
+ Trait.new(id=ShapeID("smithy.synthetic#originalShapeId"), value="io.superposition#WebhookResponse"),
12182
+ Trait.new(id=ShapeID("smithy.api#output")),
12183
+
12184
+ ],
12185
+ members={
12186
+ "name": {
12187
+ "target": STRING,
12188
+ "index": 0,
12189
+ "traits": [
12190
+ Trait.new(id=ShapeID("smithy.api#required")),
12191
+
12192
+ ],
12193
+ },
12194
+
12195
+ "description": {
12196
+ "target": STRING,
12197
+ "index": 1,
12198
+ "traits": [
12199
+ Trait.new(id=ShapeID("smithy.api#required")),
12200
+
12201
+ ],
12202
+ },
12203
+
12204
+ "enabled": {
12205
+ "target": BOOLEAN,
12206
+ "index": 2,
12207
+ "traits": [
12208
+ Trait.new(id=ShapeID("smithy.api#required")),
12209
+
12210
+ ],
12211
+ },
12212
+
12213
+ "url": {
12214
+ "target": STRING,
12215
+ "index": 3,
12216
+ "traits": [
12217
+ Trait.new(id=ShapeID("smithy.api#required")),
12218
+
12219
+ ],
12220
+ },
12221
+
12222
+ "method": {
12223
+ "target": HTTP_METHOD,
12224
+ "index": 4,
12225
+ "traits": [
12226
+ Trait.new(id=ShapeID("smithy.api#required")),
12227
+
12228
+ ],
12229
+ },
12230
+
12231
+ "version": {
12232
+ "target": VERSION,
12233
+ "index": 5,
12234
+ "traits": [
12235
+ Trait.new(id=ShapeID("smithy.api#required")),
12236
+
12237
+ ],
12238
+ },
12239
+
12240
+ "custom_headers": {
12241
+ "target": OBJECT,
12242
+ "index": 6,
12243
+ },
12244
+
12245
+ "events": {
12246
+ "target": EVENTS,
12247
+ "index": 7,
12248
+ "traits": [
12249
+ Trait.new(id=ShapeID("smithy.api#required")),
12250
+
12251
+ ],
12252
+ },
12253
+
12254
+ "max_retries": {
12255
+ "target": INTEGER,
12256
+ "index": 8,
12257
+ "traits": [
12258
+ Trait.new(id=ShapeID("smithy.api#required")),
12259
+
12260
+ ],
12261
+ },
12262
+
12263
+ "last_triggered_at": {
12264
+ "target": DATE_TIME,
12265
+ "index": 9,
12266
+ },
12267
+
12268
+ "change_reason": {
12269
+ "target": STRING,
12270
+ "index": 10,
12271
+ "traits": [
12272
+ Trait.new(id=ShapeID("smithy.api#required")),
12273
+
12274
+ ],
12275
+ },
12276
+
12277
+ "created_by": {
12278
+ "target": STRING,
12279
+ "index": 11,
12280
+ "traits": [
12281
+ Trait.new(id=ShapeID("smithy.api#required")),
12282
+
12283
+ ],
12284
+ },
12285
+
12286
+ "created_at": {
12287
+ "target": DATE_TIME,
12288
+ "index": 12,
12289
+ "traits": [
12290
+ Trait.new(id=ShapeID("smithy.api#required")),
12291
+
12292
+ ],
12293
+ },
12294
+
12295
+ "last_modified_by": {
12296
+ "target": STRING,
12297
+ "index": 13,
12298
+ "traits": [
12299
+ Trait.new(id=ShapeID("smithy.api#required")),
12300
+
12301
+ ],
12302
+ },
12303
+
12304
+ "last_modified_at": {
12305
+ "target": DATE_TIME,
12306
+ "index": 14,
12307
+ "traits": [
12308
+ Trait.new(id=ShapeID("smithy.api#required")),
12309
+
12310
+ ],
12311
+ },
12312
+
12313
+ }
12314
+ )
12315
+
12316
+ GET_WEBHOOK = Schema(
12317
+ id=ShapeID("io.superposition#GetWebhook"),
12318
+ shape_type=ShapeType.OPERATION,
12319
+ traits=[
12320
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
12321
+ "Webhooks",
12322
+ )),
12323
+ Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
12324
+ "method": "GET",
12325
+ "uri": "/webhook/{name}",
12326
+ })),
12327
+ Trait.new(id=ShapeID("smithy.api#readonly")),
12328
+
12329
+ ],
12330
+
12331
+ )
12332
+
12333
+ GET_WEBHOOK_BY_EVENT_INPUT = Schema.collection(
12334
+ id=ShapeID("io.superposition#GetWebhookByEventInput"),
12335
+
12336
+ traits=[
12337
+ Trait.new(id=ShapeID("smithy.api#input")),
12338
+
12339
+ ],
12340
+ members={
12341
+ "workspace_id": {
12342
+ "target": STRING,
12343
+ "index": 0,
12344
+ "traits": [
12345
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
12346
+ Trait.new(id=ShapeID("smithy.api#required")),
12347
+
12348
+ ],
12349
+ },
12350
+
12351
+ "org_id": {
12352
+ "target": STRING,
12353
+ "index": 1,
12354
+ "traits": [
12355
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
12356
+ Trait.new(id=ShapeID("smithy.api#required")),
12357
+
12358
+ ],
12359
+ },
12360
+
12361
+ "event": {
12362
+ "target": STRING,
12363
+ "index": 2,
12364
+ "traits": [
12365
+ Trait.new(id=ShapeID("smithy.api#notProperty")),
12366
+ Trait.new(id=ShapeID("smithy.api#required")),
12367
+ Trait.new(id=ShapeID("smithy.api#httpLabel")),
12368
+
12369
+ ],
12370
+ },
12371
+
12372
+ }
12373
+ )
12374
+
12375
+ GET_WEBHOOK_BY_EVENT_OUTPUT = Schema.collection(
12376
+ id=ShapeID("io.superposition#GetWebhookByEventOutput"),
12377
+
12378
+ traits=[
12379
+ Trait.new(id=ShapeID("smithy.synthetic#originalShapeId"), value="io.superposition#WebhookResponse"),
12380
+ Trait.new(id=ShapeID("smithy.api#output")),
12381
+
12382
+ ],
12383
+ members={
12384
+ "name": {
12385
+ "target": STRING,
11273
12386
  "index": 0,
11274
12387
  "traits": [
11275
- Trait.new(id=ShapeID("smithy.api#httpQuery"), value="count"),
12388
+ Trait.new(id=ShapeID("smithy.api#required")),
11276
12389
 
11277
12390
  ],
11278
12391
  },
11279
12392
 
11280
- "page": {
11281
- "target": INTEGER,
12393
+ "description": {
12394
+ "target": STRING,
11282
12395
  "index": 1,
11283
12396
  "traits": [
11284
- Trait.new(id=ShapeID("smithy.api#httpQuery"), value="page"),
12397
+ Trait.new(id=ShapeID("smithy.api#required")),
11285
12398
 
11286
12399
  ],
11287
12400
  },
11288
12401
 
11289
- "all": {
12402
+ "enabled": {
11290
12403
  "target": BOOLEAN,
11291
12404
  "index": 2,
11292
12405
  "traits": [
11293
- Trait.new(id=ShapeID("smithy.api#httpQuery"), value="all"),
12406
+ Trait.new(id=ShapeID("smithy.api#required")),
11294
12407
 
11295
12408
  ],
11296
12409
  },
11297
12410
 
11298
- "workspace_id": {
12411
+ "url": {
11299
12412
  "target": STRING,
11300
12413
  "index": 3,
11301
12414
  "traits": [
11302
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
11303
12415
  Trait.new(id=ShapeID("smithy.api#required")),
11304
12416
 
11305
12417
  ],
11306
12418
  },
11307
12419
 
11308
- "org_id": {
11309
- "target": STRING,
12420
+ "method": {
12421
+ "target": HTTP_METHOD,
11310
12422
  "index": 4,
11311
12423
  "traits": [
11312
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
11313
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
11314
12424
  Trait.new(id=ShapeID("smithy.api#required")),
11315
12425
 
11316
12426
  ],
11317
12427
  },
11318
12428
 
11319
- }
11320
- )
11321
-
11322
- TYPE_TEMPLATES_RESPONSE = Schema.collection(
11323
- id=ShapeID("io.superposition#TypeTemplatesResponse"),
11324
-
11325
- members={
11326
- "type_name": {
11327
- "target": STRING,
11328
- "index": 0,
12429
+ "version": {
12430
+ "target": VERSION,
12431
+ "index": 5,
11329
12432
  "traits": [
11330
12433
  Trait.new(id=ShapeID("smithy.api#required")),
11331
12434
 
11332
12435
  ],
11333
12436
  },
11334
12437
 
11335
- "type_schema": {
12438
+ "custom_headers": {
11336
12439
  "target": OBJECT,
11337
- "index": 1,
12440
+ "index": 6,
12441
+ },
12442
+
12443
+ "events": {
12444
+ "target": EVENTS,
12445
+ "index": 7,
11338
12446
  "traits": [
11339
12447
  Trait.new(id=ShapeID("smithy.api#required")),
11340
12448
 
11341
12449
  ],
11342
12450
  },
11343
12451
 
11344
- "description": {
11345
- "target": STRING,
11346
- "index": 2,
12452
+ "max_retries": {
12453
+ "target": INTEGER,
12454
+ "index": 8,
11347
12455
  "traits": [
11348
12456
  Trait.new(id=ShapeID("smithy.api#required")),
11349
12457
 
11350
12458
  ],
11351
12459
  },
11352
12460
 
12461
+ "last_triggered_at": {
12462
+ "target": DATE_TIME,
12463
+ "index": 9,
12464
+ },
12465
+
11353
12466
  "change_reason": {
11354
12467
  "target": STRING,
11355
- "index": 3,
12468
+ "index": 10,
11356
12469
  "traits": [
11357
12470
  Trait.new(id=ShapeID("smithy.api#required")),
11358
12471
 
@@ -11361,7 +12474,7 @@ TYPE_TEMPLATES_RESPONSE = Schema.collection(
11361
12474
 
11362
12475
  "created_by": {
11363
12476
  "target": STRING,
11364
- "index": 4,
12477
+ "index": 11,
11365
12478
  "traits": [
11366
12479
  Trait.new(id=ShapeID("smithy.api#required")),
11367
12480
 
@@ -11370,25 +12483,25 @@ TYPE_TEMPLATES_RESPONSE = Schema.collection(
11370
12483
 
11371
12484
  "created_at": {
11372
12485
  "target": DATE_TIME,
11373
- "index": 5,
12486
+ "index": 12,
11374
12487
  "traits": [
11375
12488
  Trait.new(id=ShapeID("smithy.api#required")),
11376
12489
 
11377
12490
  ],
11378
12491
  },
11379
12492
 
11380
- "last_modified_at": {
11381
- "target": DATE_TIME,
11382
- "index": 6,
12493
+ "last_modified_by": {
12494
+ "target": STRING,
12495
+ "index": 13,
11383
12496
  "traits": [
11384
12497
  Trait.new(id=ShapeID("smithy.api#required")),
11385
12498
 
11386
12499
  ],
11387
12500
  },
11388
12501
 
11389
- "last_modified_by": {
11390
- "target": STRING,
11391
- "index": 7,
12502
+ "last_modified_at": {
12503
+ "target": DATE_TIME,
12504
+ "index": 14,
11392
12505
  "traits": [
11393
12506
  Trait.new(id=ShapeID("smithy.api#required")),
11394
12507
 
@@ -11398,90 +12511,43 @@ TYPE_TEMPLATES_RESPONSE = Schema.collection(
11398
12511
  }
11399
12512
  )
11400
12513
 
11401
- TYPE_TEMPLATES_LIST = Schema.collection(
11402
- id=ShapeID("io.superposition#TypeTemplatesList"),
11403
- shape_type=ShapeType.LIST,
11404
- members={
11405
- "member": {
11406
- "target": TYPE_TEMPLATES_RESPONSE,
11407
- "index": 0,
11408
- },
11409
-
11410
- }
11411
- )
11412
-
11413
- GET_TYPE_TEMPLATES_LIST_OUTPUT = Schema.collection(
11414
- id=ShapeID("io.superposition#GetTypeTemplatesListOutput"),
11415
-
11416
- traits=[
11417
- Trait.new(id=ShapeID("smithy.api#output")),
11418
-
11419
- ],
11420
- members={
11421
- "total_pages": {
11422
- "target": INTEGER,
11423
- "index": 0,
11424
- },
11425
-
11426
- "total_items": {
11427
- "target": INTEGER,
11428
- "index": 1,
11429
- },
11430
-
11431
- "data": {
11432
- "target": TYPE_TEMPLATES_LIST,
11433
- "index": 2,
11434
- },
11435
-
11436
- }
11437
- )
11438
-
11439
- GET_TYPE_TEMPLATES_LIST = Schema(
11440
- id=ShapeID("io.superposition#GetTypeTemplatesList"),
12514
+ GET_WEBHOOK_BY_EVENT = Schema(
12515
+ id=ShapeID("io.superposition#GetWebhookByEvent"),
11441
12516
  shape_type=ShapeType.OPERATION,
11442
12517
  traits=[
12518
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
12519
+ "Webhooks",
12520
+ )),
11443
12521
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
11444
12522
  "method": "GET",
11445
- "uri": "/types",
12523
+ "uri": "/webhook/event/{event}",
11446
12524
  })),
11447
- Trait.new(id=ShapeID("smithy.api#readonly")),
11448
12525
 
11449
12526
  ],
11450
12527
 
11451
12528
  )
11452
12529
 
11453
- GET_WEBHOOK_INPUT = Schema.collection(
11454
- id=ShapeID("io.superposition#GetWebhookInput"),
12530
+ GET_WORKSPACE_INPUT = Schema.collection(
12531
+ id=ShapeID("io.superposition#GetWorkspaceInput"),
11455
12532
 
11456
12533
  traits=[
11457
12534
  Trait.new(id=ShapeID("smithy.api#input")),
11458
12535
 
11459
12536
  ],
11460
12537
  members={
11461
- "workspace_id": {
11462
- "target": STRING,
11463
- "index": 0,
11464
- "traits": [
11465
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
11466
- Trait.new(id=ShapeID("smithy.api#required")),
11467
-
11468
- ],
11469
- },
11470
-
11471
12538
  "org_id": {
11472
12539
  "target": STRING,
11473
- "index": 1,
12540
+ "index": 0,
11474
12541
  "traits": [
11475
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
11476
12542
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
11477
12543
  Trait.new(id=ShapeID("smithy.api#required")),
11478
12544
 
11479
12545
  ],
11480
12546
  },
11481
12547
 
11482
- "name": {
12548
+ "workspace_name": {
11483
12549
  "target": STRING,
11484
- "index": 2,
12550
+ "index": 1,
11485
12551
  "traits": [
11486
12552
  Trait.new(id=ShapeID("smithy.api#required")),
11487
12553
  Trait.new(id=ShapeID("smithy.api#httpLabel")),
@@ -11492,16 +12558,16 @@ GET_WEBHOOK_INPUT = Schema.collection(
11492
12558
  }
11493
12559
  )
11494
12560
 
11495
- GET_WEBHOOK_OUTPUT = Schema.collection(
11496
- id=ShapeID("io.superposition#GetWebhookOutput"),
12561
+ GET_WORKSPACE_OUTPUT = Schema.collection(
12562
+ id=ShapeID("io.superposition#GetWorkspaceOutput"),
11497
12563
 
11498
12564
  traits=[
11499
- Trait.new(id=ShapeID("smithy.synthetic#originalShapeId"), value="io.superposition#WebhookResponse"),
12565
+ Trait.new(id=ShapeID("smithy.synthetic#originalShapeId"), value="io.superposition#WorkspaceResponse"),
11500
12566
  Trait.new(id=ShapeID("smithy.api#output")),
11501
12567
 
11502
12568
  ],
11503
12569
  members={
11504
- "name": {
12570
+ "workspace_name": {
11505
12571
  "target": STRING,
11506
12572
  "index": 0,
11507
12573
  "traits": [
@@ -11510,7 +12576,7 @@ GET_WEBHOOK_OUTPUT = Schema.collection(
11510
12576
  ],
11511
12577
  },
11512
12578
 
11513
- "description": {
12579
+ "organisation_id": {
11514
12580
  "target": STRING,
11515
12581
  "index": 1,
11516
12582
  "traits": [
@@ -11519,8 +12585,8 @@ GET_WEBHOOK_OUTPUT = Schema.collection(
11519
12585
  ],
11520
12586
  },
11521
12587
 
11522
- "enabled": {
11523
- "target": BOOLEAN,
12588
+ "organisation_name": {
12589
+ "target": STRING,
11524
12590
  "index": 2,
11525
12591
  "traits": [
11526
12592
  Trait.new(id=ShapeID("smithy.api#required")),
@@ -11528,7 +12594,7 @@ GET_WEBHOOK_OUTPUT = Schema.collection(
11528
12594
  ],
11529
12595
  },
11530
12596
 
11531
- "url": {
12597
+ "workspace_schema_name": {
11532
12598
  "target": STRING,
11533
12599
  "index": 3,
11534
12600
  "traits": [
@@ -11537,8 +12603,8 @@ GET_WEBHOOK_OUTPUT = Schema.collection(
11537
12603
  ],
11538
12604
  },
11539
12605
 
11540
- "method": {
11541
- "target": HTTP_METHOD,
12606
+ "workspace_status": {
12607
+ "target": WORKSPACE_STATUS,
11542
12608
  "index": 4,
11543
12609
  "traits": [
11544
12610
  Trait.new(id=ShapeID("smithy.api#required")),
@@ -11546,8 +12612,8 @@ GET_WEBHOOK_OUTPUT = Schema.collection(
11546
12612
  ],
11547
12613
  },
11548
12614
 
11549
- "version": {
11550
- "target": VERSION,
12615
+ "workspace_admin_email": {
12616
+ "target": STRING,
11551
12617
  "index": 5,
11552
12618
  "traits": [
11553
12619
  Trait.new(id=ShapeID("smithy.api#required")),
@@ -11555,13 +12621,13 @@ GET_WEBHOOK_OUTPUT = Schema.collection(
11555
12621
  ],
11556
12622
  },
11557
12623
 
11558
- "custom_headers": {
11559
- "target": OBJECT,
12624
+ "config_version": {
12625
+ "target": STRING,
11560
12626
  "index": 6,
11561
12627
  },
11562
12628
 
11563
- "events": {
11564
- "target": EVENTS,
12629
+ "created_by": {
12630
+ "target": STRING,
11565
12631
  "index": 7,
11566
12632
  "traits": [
11567
12633
  Trait.new(id=ShapeID("smithy.api#required")),
@@ -11569,8 +12635,8 @@ GET_WEBHOOK_OUTPUT = Schema.collection(
11569
12635
  ],
11570
12636
  },
11571
12637
 
11572
- "max_retries": {
11573
- "target": INTEGER,
12638
+ "last_modified_by": {
12639
+ "target": STRING,
11574
12640
  "index": 8,
11575
12641
  "traits": [
11576
12642
  Trait.new(id=ShapeID("smithy.api#required")),
@@ -11578,31 +12644,31 @@ GET_WEBHOOK_OUTPUT = Schema.collection(
11578
12644
  ],
11579
12645
  },
11580
12646
 
11581
- "last_triggered_at": {
12647
+ "last_modified_at": {
11582
12648
  "target": DATE_TIME,
11583
12649
  "index": 9,
11584
- },
11585
-
11586
- "change_reason": {
11587
- "target": STRING,
11588
- "index": 10,
11589
12650
  "traits": [
11590
12651
  Trait.new(id=ShapeID("smithy.api#required")),
11591
12652
 
11592
12653
  ],
11593
12654
  },
11594
12655
 
11595
- "created_by": {
11596
- "target": STRING,
11597
- "index": 11,
12656
+ "created_at": {
12657
+ "target": DATE_TIME,
12658
+ "index": 10,
11598
12659
  "traits": [
11599
12660
  Trait.new(id=ShapeID("smithy.api#required")),
11600
12661
 
11601
12662
  ],
11602
12663
  },
11603
12664
 
11604
- "created_at": {
11605
- "target": DATE_TIME,
12665
+ "mandatory_dimensions": {
12666
+ "target": LIST_MANDATORY_DIMENSIONS,
12667
+ "index": 11,
12668
+ },
12669
+
12670
+ "strict_mode": {
12671
+ "target": BOOLEAN,
11606
12672
  "index": 12,
11607
12673
  "traits": [
11608
12674
  Trait.new(id=ShapeID("smithy.api#required")),
@@ -11610,18 +12676,23 @@ GET_WEBHOOK_OUTPUT = Schema.collection(
11610
12676
  ],
11611
12677
  },
11612
12678
 
11613
- "last_modified_by": {
11614
- "target": STRING,
12679
+ "metrics": {
12680
+ "target": DOCUMENT,
11615
12681
  "index": 13,
12682
+ },
12683
+
12684
+ "allow_experiment_self_approval": {
12685
+ "target": BOOLEAN,
12686
+ "index": 14,
11616
12687
  "traits": [
11617
12688
  Trait.new(id=ShapeID("smithy.api#required")),
11618
12689
 
11619
12690
  ],
11620
12691
  },
11621
12692
 
11622
- "last_modified_at": {
11623
- "target": DATE_TIME,
11624
- "index": 14,
12693
+ "auto_populate_control": {
12694
+ "target": BOOLEAN,
12695
+ "index": 15,
11625
12696
  "traits": [
11626
12697
  Trait.new(id=ShapeID("smithy.api#required")),
11627
12698
 
@@ -11631,13 +12702,16 @@ GET_WEBHOOK_OUTPUT = Schema.collection(
11631
12702
  }
11632
12703
  )
11633
12704
 
11634
- GET_WEBHOOK = Schema(
11635
- id=ShapeID("io.superposition#GetWebhook"),
12705
+ GET_WORKSPACE = Schema(
12706
+ id=ShapeID("io.superposition#GetWorkspace"),
11636
12707
  shape_type=ShapeType.OPERATION,
11637
12708
  traits=[
12709
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
12710
+ "Workspace Management",
12711
+ )),
11638
12712
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
11639
12713
  "method": "GET",
11640
- "uri": "/webhook/{name}",
12714
+ "uri": "/workspaces/{workspace_name}",
11641
12715
  })),
11642
12716
  Trait.new(id=ShapeID("smithy.api#readonly")),
11643
12717
 
@@ -11824,6 +12898,9 @@ LIST_ORGANISATION = Schema(
11824
12898
  id=ShapeID("io.superposition#ListOrganisation"),
11825
12899
  shape_type=ShapeType.OPERATION,
11826
12900
  traits=[
12901
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
12902
+ "Organisation Management",
12903
+ )),
11827
12904
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
11828
12905
  "method": "GET",
11829
12906
  "uri": "/superposition/organisations",
@@ -11873,7 +12950,7 @@ LIST_WEBHOOK_INPUT = Schema.collection(
11873
12950
  "target": STRING,
11874
12951
  "index": 3,
11875
12952
  "traits": [
11876
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
12953
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
11877
12954
  Trait.new(id=ShapeID("smithy.api#required")),
11878
12955
 
11879
12956
  ],
@@ -11883,7 +12960,6 @@ LIST_WEBHOOK_INPUT = Schema.collection(
11883
12960
  "target": STRING,
11884
12961
  "index": 4,
11885
12962
  "traits": [
11886
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
11887
12963
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
11888
12964
  Trait.new(id=ShapeID("smithy.api#required")),
11889
12965
 
@@ -12043,36 +13119,23 @@ LIST_WEBHOOK_OUTPUT = Schema.collection(
12043
13119
  id=ShapeID("io.superposition#ListWebhookOutput"),
12044
13120
 
12045
13121
  traits=[
12046
- Trait.new(id=ShapeID("smithy.synthetic#originalShapeId"), value="io.superposition#WebhookListResponse"),
12047
13122
  Trait.new(id=ShapeID("smithy.api#output")),
12048
13123
 
12049
13124
  ],
12050
13125
  members={
12051
13126
  "total_pages": {
12052
- "target": LONG,
13127
+ "target": INTEGER,
12053
13128
  "index": 0,
12054
- "traits": [
12055
- Trait.new(id=ShapeID("smithy.api#required")),
12056
-
12057
- ],
12058
13129
  },
12059
13130
 
12060
13131
  "total_items": {
12061
- "target": LONG,
13132
+ "target": INTEGER,
12062
13133
  "index": 1,
12063
- "traits": [
12064
- Trait.new(id=ShapeID("smithy.api#required")),
12065
-
12066
- ],
12067
13134
  },
12068
13135
 
12069
13136
  "data": {
12070
13137
  "target": WEBHOOK_LIST,
12071
13138
  "index": 2,
12072
- "traits": [
12073
- Trait.new(id=ShapeID("smithy.api#required")),
12074
-
12075
- ],
12076
13139
  },
12077
13140
 
12078
13141
  }
@@ -12082,6 +13145,9 @@ LIST_WEBHOOK = Schema(
12082
13145
  id=ShapeID("io.superposition#ListWebhook"),
12083
13146
  shape_type=ShapeType.OPERATION,
12084
13147
  traits=[
13148
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
13149
+ "Webhooks",
13150
+ )),
12085
13151
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
12086
13152
  "method": "GET",
12087
13153
  "uri": "/webhook",
@@ -12131,7 +13197,6 @@ LIST_WORKSPACE_INPUT = Schema.collection(
12131
13197
  "target": STRING,
12132
13198
  "index": 3,
12133
13199
  "traits": [
12134
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
12135
13200
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
12136
13201
  Trait.new(id=ShapeID("smithy.api#required")),
12137
13202
 
@@ -12296,36 +13361,23 @@ LIST_WORKSPACE_OUTPUT = Schema.collection(
12296
13361
  id=ShapeID("io.superposition#ListWorkspaceOutput"),
12297
13362
 
12298
13363
  traits=[
12299
- Trait.new(id=ShapeID("smithy.synthetic#originalShapeId"), value="io.superposition#WorkspaceListResponse"),
12300
13364
  Trait.new(id=ShapeID("smithy.api#output")),
12301
13365
 
12302
13366
  ],
12303
13367
  members={
12304
13368
  "total_pages": {
12305
- "target": LONG,
13369
+ "target": INTEGER,
12306
13370
  "index": 0,
12307
- "traits": [
12308
- Trait.new(id=ShapeID("smithy.api#required")),
12309
-
12310
- ],
12311
13371
  },
12312
13372
 
12313
13373
  "total_items": {
12314
- "target": LONG,
13374
+ "target": INTEGER,
12315
13375
  "index": 1,
12316
- "traits": [
12317
- Trait.new(id=ShapeID("smithy.api#required")),
12318
-
12319
- ],
12320
13376
  },
12321
13377
 
12322
13378
  "data": {
12323
13379
  "target": WORKSPACE_LIST,
12324
13380
  "index": 2,
12325
- "traits": [
12326
- Trait.new(id=ShapeID("smithy.api#required")),
12327
-
12328
- ],
12329
13381
  },
12330
13382
 
12331
13383
  }
@@ -12335,6 +13387,9 @@ LIST_WORKSPACE = Schema(
12335
13387
  id=ShapeID("io.superposition#ListWorkspace"),
12336
13388
  shape_type=ShapeType.OPERATION,
12337
13389
  traits=[
13390
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
13391
+ "Workspace Management",
13392
+ )),
12338
13393
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
12339
13394
  "method": "GET",
12340
13395
  "uri": "/workspaces",
@@ -12358,7 +13413,6 @@ MIGRATE_WORKSPACE_SCHEMA_INPUT = Schema.collection(
12358
13413
  "target": STRING,
12359
13414
  "index": 0,
12360
13415
  "traits": [
12361
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
12362
13416
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
12363
13417
  Trait.new(id=ShapeID("smithy.api#required")),
12364
13418
 
@@ -12526,6 +13580,9 @@ MIGRATE_WORKSPACE_SCHEMA = Schema(
12526
13580
  id=ShapeID("io.superposition#MigrateWorkspaceSchema"),
12527
13581
  shape_type=ShapeType.OPERATION,
12528
13582
  traits=[
13583
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
13584
+ "Workspace Management",
13585
+ )),
12529
13586
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
12530
13587
  "method": "POST",
12531
13588
  "uri": "/workspaces/{workspace_name}/db/migrate",
@@ -12697,8 +13754,11 @@ UPDATE_ORGANISATION = Schema(
12697
13754
  shape_type=ShapeType.OPERATION,
12698
13755
  traits=[
12699
13756
  Trait.new(id=ShapeID("smithy.api#idempotent")),
13757
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
13758
+ "Organisation Management",
13759
+ )),
12700
13760
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
12701
- "method": "PUT",
13761
+ "method": "PATCH",
12702
13762
  "uri": "/superposition/organisations/{id}",
12703
13763
  })),
12704
13764
 
@@ -12719,7 +13779,7 @@ UPDATE_TYPE_TEMPLATES_INPUT = Schema.collection(
12719
13779
  "target": STRING,
12720
13780
  "index": 0,
12721
13781
  "traits": [
12722
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
13782
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
12723
13783
  Trait.new(id=ShapeID("smithy.api#required")),
12724
13784
 
12725
13785
  ],
@@ -12729,7 +13789,6 @@ UPDATE_TYPE_TEMPLATES_INPUT = Schema.collection(
12729
13789
  "target": STRING,
12730
13790
  "index": 1,
12731
13791
  "traits": [
12732
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
12733
13792
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
12734
13793
  Trait.new(id=ShapeID("smithy.api#required")),
12735
13794
 
@@ -12861,8 +13920,11 @@ UPDATE_TYPE_TEMPLATES = Schema(
12861
13920
  shape_type=ShapeType.OPERATION,
12862
13921
  traits=[
12863
13922
  Trait.new(id=ShapeID("smithy.api#idempotent")),
13923
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
13924
+ "Type Templates",
13925
+ )),
12864
13926
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
12865
- "method": "PUT",
13927
+ "method": "PATCH",
12866
13928
  "uri": "/types/{type_name}",
12867
13929
  })),
12868
13930
 
@@ -12882,7 +13944,7 @@ UPDATE_WEBHOOK_INPUT = Schema.collection(
12882
13944
  "target": STRING,
12883
13945
  "index": 0,
12884
13946
  "traits": [
12885
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
13947
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
12886
13948
  Trait.new(id=ShapeID("smithy.api#required")),
12887
13949
 
12888
13950
  ],
@@ -12892,7 +13954,6 @@ UPDATE_WEBHOOK_INPUT = Schema.collection(
12892
13954
  "target": STRING,
12893
13955
  "index": 1,
12894
13956
  "traits": [
12895
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
12896
13957
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
12897
13958
  Trait.new(id=ShapeID("smithy.api#required")),
12898
13959
 
@@ -13115,22 +14176,14 @@ UPDATE_WEBHOOK_OUTPUT = Schema.collection(
13115
14176
  }
13116
14177
  )
13117
14178
 
13118
- WEBHOOK_NOT_FOUND = Schema.collection(
13119
- id=ShapeID("io.superposition#WebhookNotFound"),
13120
-
13121
- traits=[
13122
- Trait.new(id=ShapeID("smithy.api#error"), value="client"),
13123
- Trait.new(id=ShapeID("smithy.api#httpError"), value=404),
13124
-
13125
- ],
13126
-
13127
- )
13128
-
13129
14179
  UPDATE_WEBHOOK = Schema(
13130
14180
  id=ShapeID("io.superposition#UpdateWebhook"),
13131
14181
  shape_type=ShapeType.OPERATION,
13132
14182
  traits=[
13133
14183
  Trait.new(id=ShapeID("smithy.api#idempotent")),
14184
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
14185
+ "Webhooks",
14186
+ )),
13134
14187
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
13135
14188
  "method": "PATCH",
13136
14189
  "uri": "/webhook/{name}",
@@ -13153,7 +14206,6 @@ UPDATE_WORKSPACE_INPUT = Schema.collection(
13153
14206
  "target": STRING,
13154
14207
  "index": 0,
13155
14208
  "traits": [
13156
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
13157
14209
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
13158
14210
  Trait.new(id=ShapeID("smithy.api#required")),
13159
14211
 
@@ -13356,24 +14408,16 @@ UPDATE_WORKSPACE_OUTPUT = Schema.collection(
13356
14408
  }
13357
14409
  )
13358
14410
 
13359
- WORKSPACE_NOT_FOUND = Schema.collection(
13360
- id=ShapeID("io.superposition#WorkspaceNotFound"),
13361
-
13362
- traits=[
13363
- Trait.new(id=ShapeID("smithy.api#error"), value="client"),
13364
- Trait.new(id=ShapeID("smithy.api#httpError"), value=404),
13365
-
13366
- ],
13367
-
13368
- )
13369
-
13370
14411
  UPDATE_WORKSPACE = Schema(
13371
14412
  id=ShapeID("io.superposition#UpdateWorkspace"),
13372
14413
  shape_type=ShapeType.OPERATION,
13373
14414
  traits=[
13374
14415
  Trait.new(id=ShapeID("smithy.api#idempotent")),
14416
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
14417
+ "Workspace Management",
14418
+ )),
13375
14419
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
13376
- "method": "PUT",
14420
+ "method": "PATCH",
13377
14421
  "uri": "/workspaces/{workspace_name}",
13378
14422
  })),
13379
14423