superposition-sdk 0.91.1__py3-none-any.whl → 0.92.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,31 @@ APPLICABLE_VARIANTS = Schema(
523
527
 
524
528
  )
525
529
 
530
+ SORT_BY = Schema.collection(
531
+ id=ShapeID("io.superposition#SortBy"),
532
+ shape_type=ShapeType.ENUM,
533
+ members={
534
+ "Desc": {
535
+ "target": UNIT,
536
+ "index": 0,
537
+ "traits": [
538
+ Trait.new(id=ShapeID("smithy.api#enumValue"), value="desc"),
539
+
540
+ ],
541
+ },
542
+
543
+ "Asc": {
544
+ "target": UNIT,
545
+ "index": 1,
546
+ "traits": [
547
+ Trait.new(id=ShapeID("smithy.api#enumValue"), value="asc"),
548
+
549
+ ],
550
+ },
551
+
552
+ }
553
+ )
554
+
526
555
  LIST_AUDIT_LOGS_INPUT = Schema.collection(
527
556
  id=ShapeID("io.superposition#ListAuditLogsInput"),
528
557
 
@@ -535,7 +564,7 @@ LIST_AUDIT_LOGS_INPUT = Schema.collection(
535
564
  "target": STRING,
536
565
  "index": 0,
537
566
  "traits": [
538
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
567
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
539
568
  Trait.new(id=ShapeID("smithy.api#required")),
540
569
 
541
570
  ],
@@ -545,7 +574,6 @@ LIST_AUDIT_LOGS_INPUT = Schema.collection(
545
574
  "target": STRING,
546
575
  "index": 1,
547
576
  "traits": [
548
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
549
577
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
550
578
  Trait.new(id=ShapeID("smithy.api#required")),
551
579
 
@@ -629,6 +657,16 @@ LIST_AUDIT_LOGS_INPUT = Schema.collection(
629
657
  ],
630
658
  },
631
659
 
660
+ "sort_by": {
661
+ "target": SORT_BY,
662
+ "index": 10,
663
+ "traits": [
664
+ Trait.new(id=ShapeID("smithy.api#notProperty")),
665
+ Trait.new(id=ShapeID("smithy.api#httpQuery"), value="sort_by"),
666
+
667
+ ],
668
+ },
669
+
632
670
  }
633
671
  )
634
672
 
@@ -716,6 +754,9 @@ LIST_AUDIT_LOGS = Schema(
716
754
  id=ShapeID("io.superposition#ListAuditLogs"),
717
755
  shape_type=ShapeType.OPERATION,
718
756
  traits=[
757
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
758
+ "Audit & Monitoring",
759
+ )),
719
760
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
720
761
  "method": "GET",
721
762
  "uri": "/audit",
@@ -958,7 +999,7 @@ BULK_OPERATION_INPUT = Schema.collection(
958
999
  "target": STRING,
959
1000
  "index": 0,
960
1001
  "traits": [
961
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
1002
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
962
1003
  Trait.new(id=ShapeID("smithy.api#required")),
963
1004
 
964
1005
  ],
@@ -968,7 +1009,6 @@ BULK_OPERATION_INPUT = Schema.collection(
968
1009
  "target": STRING,
969
1010
  "index": 1,
970
1011
  "traits": [
971
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
972
1012
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
973
1013
  Trait.new(id=ShapeID("smithy.api#required")),
974
1014
 
@@ -1147,6 +1187,9 @@ BULK_OPERATION = Schema(
1147
1187
  id=ShapeID("io.superposition#BulkOperation"),
1148
1188
  shape_type=ShapeType.OPERATION,
1149
1189
  traits=[
1190
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
1191
+ "Context Management",
1192
+ )),
1150
1193
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
1151
1194
  "method": "PUT",
1152
1195
  "uri": "/context/bulk-operations",
@@ -1168,7 +1211,7 @@ CONCLUDE_EXPERIMENT_INPUT = Schema.collection(
1168
1211
  "target": STRING,
1169
1212
  "index": 0,
1170
1213
  "traits": [
1171
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
1214
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
1172
1215
  Trait.new(id=ShapeID("smithy.api#required")),
1173
1216
 
1174
1217
  ],
@@ -1178,7 +1221,6 @@ CONCLUDE_EXPERIMENT_INPUT = Schema.collection(
1178
1221
  "target": STRING,
1179
1222
  "index": 1,
1180
1223
  "traits": [
1181
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
1182
1224
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
1183
1225
  Trait.new(id=ShapeID("smithy.api#required")),
1184
1226
 
@@ -1483,6 +1525,9 @@ CONCLUDE_EXPERIMENT = Schema(
1483
1525
  shape_type=ShapeType.OPERATION,
1484
1526
  traits=[
1485
1527
  Trait.new(id=ShapeID("smithy.api#idempotent")),
1528
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
1529
+ "Experimentation",
1530
+ )),
1486
1531
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
1487
1532
  "method": "PATCH",
1488
1533
  "uri": "/experiments/{id}/conclude",
@@ -1521,7 +1566,7 @@ GET_CONFIG_INPUT = Schema.collection(
1521
1566
  "target": STRING,
1522
1567
  "index": 0,
1523
1568
  "traits": [
1524
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
1569
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
1525
1570
  Trait.new(id=ShapeID("smithy.api#required")),
1526
1571
 
1527
1572
  ],
@@ -1531,7 +1576,6 @@ GET_CONFIG_INPUT = Schema.collection(
1531
1576
  "target": STRING,
1532
1577
  "index": 1,
1533
1578
  "traits": [
1534
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
1535
1579
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
1536
1580
  Trait.new(id=ShapeID("smithy.api#required")),
1537
1581
 
@@ -1576,6 +1620,7 @@ OVERRIDE_WITH_KEYS = Schema.collection(
1576
1620
  traits=[
1577
1621
  Trait.new(id=ShapeID("smithy.api#length"), value=MappingProxyType({
1578
1622
  "max": 1,
1623
+ "min": 1,
1579
1624
  })),
1580
1625
 
1581
1626
  ],
@@ -1828,6 +1873,9 @@ GET_CONFIG = Schema(
1828
1873
  id=ShapeID("io.superposition#GetConfig"),
1829
1874
  shape_type=ShapeType.OPERATION,
1830
1875
  traits=[
1876
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
1877
+ "Configuration Management",
1878
+ )),
1831
1879
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
1832
1880
  "method": "POST",
1833
1881
  "uri": "/config",
@@ -1849,7 +1897,7 @@ GET_CONFIG_FAST_INPUT = Schema.collection(
1849
1897
  "target": STRING,
1850
1898
  "index": 0,
1851
1899
  "traits": [
1852
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
1900
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
1853
1901
  Trait.new(id=ShapeID("smithy.api#required")),
1854
1902
 
1855
1903
  ],
@@ -1859,7 +1907,6 @@ GET_CONFIG_FAST_INPUT = Schema.collection(
1859
1907
  "target": STRING,
1860
1908
  "index": 1,
1861
1909
  "traits": [
1862
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
1863
1910
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
1864
1911
  Trait.new(id=ShapeID("smithy.api#required")),
1865
1912
 
@@ -1891,6 +1938,7 @@ GET_CONFIG_FAST_OUTPUT = Schema.collection(
1891
1938
  "index": 1,
1892
1939
  "traits": [
1893
1940
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-config-version"),
1941
+ Trait.new(id=ShapeID("smithy.api#notProperty")),
1894
1942
 
1895
1943
  ],
1896
1944
  },
@@ -1921,6 +1969,9 @@ GET_CONFIG_FAST = Schema(
1921
1969
  id=ShapeID("io.superposition#GetConfigFast"),
1922
1970
  shape_type=ShapeType.OPERATION,
1923
1971
  traits=[
1972
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
1973
+ "Configuration Management",
1974
+ )),
1924
1975
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
1925
1976
  "method": "GET",
1926
1977
  "uri": "/config/fast",
@@ -1967,7 +2018,7 @@ GET_RESOLVED_CONFIG_INPUT = Schema.collection(
1967
2018
  "target": STRING,
1968
2019
  "index": 0,
1969
2020
  "traits": [
1970
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
2021
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
1971
2022
  Trait.new(id=ShapeID("smithy.api#required")),
1972
2023
 
1973
2024
  ],
@@ -1977,7 +2028,6 @@ GET_RESOLVED_CONFIG_INPUT = Schema.collection(
1977
2028
  "target": STRING,
1978
2029
  "index": 1,
1979
2030
  "traits": [
1980
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
1981
2031
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
1982
2032
  Trait.new(id=ShapeID("smithy.api#required")),
1983
2033
 
@@ -2098,6 +2148,9 @@ GET_RESOLVED_CONFIG = Schema(
2098
2148
  id=ShapeID("io.superposition#GetResolvedConfig"),
2099
2149
  shape_type=ShapeType.OPERATION,
2100
2150
  traits=[
2151
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
2152
+ "Configuration Management",
2153
+ )),
2101
2154
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
2102
2155
  "method": "POST",
2103
2156
  "uri": "/config/resolve",
@@ -2107,6 +2160,126 @@ GET_RESOLVED_CONFIG = Schema(
2107
2160
 
2108
2161
  )
2109
2162
 
2163
+ GET_VERSION_INPUT = Schema.collection(
2164
+ id=ShapeID("io.superposition#GetVersionInput"),
2165
+
2166
+ traits=[
2167
+ Trait.new(id=ShapeID("smithy.api#input")),
2168
+
2169
+ ],
2170
+ members={
2171
+ "workspace_id": {
2172
+ "target": STRING,
2173
+ "index": 0,
2174
+ "traits": [
2175
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
2176
+ Trait.new(id=ShapeID("smithy.api#required")),
2177
+
2178
+ ],
2179
+ },
2180
+
2181
+ "org_id": {
2182
+ "target": STRING,
2183
+ "index": 1,
2184
+ "traits": [
2185
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
2186
+ Trait.new(id=ShapeID("smithy.api#required")),
2187
+
2188
+ ],
2189
+ },
2190
+
2191
+ "id": {
2192
+ "target": STRING,
2193
+ "index": 2,
2194
+ "traits": [
2195
+ Trait.new(id=ShapeID("smithy.api#required")),
2196
+ Trait.new(id=ShapeID("smithy.api#httpLabel")),
2197
+
2198
+ ],
2199
+ },
2200
+
2201
+ }
2202
+ )
2203
+
2204
+ GET_VERSION_OUTPUT = Schema.collection(
2205
+ id=ShapeID("io.superposition#GetVersionOutput"),
2206
+
2207
+ traits=[
2208
+ Trait.new(id=ShapeID("smithy.synthetic#originalShapeId"), value="io.superposition#GetVersionResponse"),
2209
+ Trait.new(id=ShapeID("smithy.api#output")),
2210
+
2211
+ ],
2212
+ members={
2213
+ "id": {
2214
+ "target": STRING,
2215
+ "index": 0,
2216
+ "traits": [
2217
+ Trait.new(id=ShapeID("smithy.api#required")),
2218
+
2219
+ ],
2220
+ },
2221
+
2222
+ "config": {
2223
+ "target": DOCUMENT,
2224
+ "index": 1,
2225
+ "traits": [
2226
+ Trait.new(id=ShapeID("smithy.api#required")),
2227
+
2228
+ ],
2229
+ },
2230
+
2231
+ "config_hash": {
2232
+ "target": STRING,
2233
+ "index": 2,
2234
+ "traits": [
2235
+ Trait.new(id=ShapeID("smithy.api#required")),
2236
+
2237
+ ],
2238
+ },
2239
+
2240
+ "created_at": {
2241
+ "target": DATE_TIME,
2242
+ "index": 3,
2243
+ "traits": [
2244
+ Trait.new(id=ShapeID("smithy.api#required")),
2245
+
2246
+ ],
2247
+ },
2248
+
2249
+ "description": {
2250
+ "target": STRING,
2251
+ "index": 4,
2252
+ "traits": [
2253
+ Trait.new(id=ShapeID("smithy.api#required")),
2254
+
2255
+ ],
2256
+ },
2257
+
2258
+ "tags": {
2259
+ "target": STRING_LIST,
2260
+ "index": 5,
2261
+ },
2262
+
2263
+ }
2264
+ )
2265
+
2266
+ GET_VERSION = Schema(
2267
+ id=ShapeID("io.superposition#GetVersion"),
2268
+ shape_type=ShapeType.OPERATION,
2269
+ traits=[
2270
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
2271
+ "Configuration Management",
2272
+ )),
2273
+ Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
2274
+ "method": "GET",
2275
+ "uri": "/version/{id}",
2276
+ })),
2277
+ Trait.new(id=ShapeID("smithy.api#readonly")),
2278
+
2279
+ ],
2280
+
2281
+ )
2282
+
2110
2283
  LIST_VERSIONS_INPUT = Schema.collection(
2111
2284
  id=ShapeID("io.superposition#ListVersionsInput"),
2112
2285
 
@@ -2119,7 +2292,7 @@ LIST_VERSIONS_INPUT = Schema.collection(
2119
2292
  "target": STRING,
2120
2293
  "index": 0,
2121
2294
  "traits": [
2122
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
2295
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
2123
2296
  Trait.new(id=ShapeID("smithy.api#required")),
2124
2297
 
2125
2298
  ],
@@ -2129,7 +2302,6 @@ LIST_VERSIONS_INPUT = Schema.collection(
2129
2302
  "target": STRING,
2130
2303
  "index": 1,
2131
2304
  "traits": [
2132
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
2133
2305
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
2134
2306
  Trait.new(id=ShapeID("smithy.api#required")),
2135
2307
 
@@ -2181,18 +2353,9 @@ LIST_VERSIONS_MEMBER = Schema.collection(
2181
2353
  ],
2182
2354
  },
2183
2355
 
2184
- "config_hash": {
2185
- "target": STRING,
2186
- "index": 2,
2187
- "traits": [
2188
- Trait.new(id=ShapeID("smithy.api#required")),
2189
-
2190
- ],
2191
- },
2192
-
2193
2356
  "created_at": {
2194
2357
  "target": DATE_TIME,
2195
- "index": 3,
2358
+ "index": 2,
2196
2359
  "traits": [
2197
2360
  Trait.new(id=ShapeID("smithy.api#required")),
2198
2361
 
@@ -2201,7 +2364,7 @@ LIST_VERSIONS_MEMBER = Schema.collection(
2201
2364
 
2202
2365
  "description": {
2203
2366
  "target": STRING,
2204
- "index": 4,
2367
+ "index": 3,
2205
2368
  "traits": [
2206
2369
  Trait.new(id=ShapeID("smithy.api#required")),
2207
2370
 
@@ -2210,7 +2373,7 @@ LIST_VERSIONS_MEMBER = Schema.collection(
2210
2373
 
2211
2374
  "tags": {
2212
2375
  "target": STRING_LIST,
2213
- "index": 5,
2376
+ "index": 4,
2214
2377
  },
2215
2378
 
2216
2379
  }
@@ -2239,31 +2402,16 @@ LIST_VERSIONS_OUTPUT = Schema.collection(
2239
2402
  "total_pages": {
2240
2403
  "target": INTEGER,
2241
2404
  "index": 0,
2242
- "traits": [
2243
- Trait.new(id=ShapeID("smithy.api#notProperty")),
2244
- Trait.new(id=ShapeID("smithy.api#required")),
2245
-
2246
- ],
2247
2405
  },
2248
2406
 
2249
2407
  "total_items": {
2250
2408
  "target": INTEGER,
2251
2409
  "index": 1,
2252
- "traits": [
2253
- Trait.new(id=ShapeID("smithy.api#notProperty")),
2254
- Trait.new(id=ShapeID("smithy.api#required")),
2255
-
2256
- ],
2257
2410
  },
2258
2411
 
2259
2412
  "data": {
2260
2413
  "target": LIST_VERSIONS_OUT,
2261
2414
  "index": 2,
2262
- "traits": [
2263
- Trait.new(id=ShapeID("smithy.api#notProperty")),
2264
- Trait.new(id=ShapeID("smithy.api#required")),
2265
-
2266
- ],
2267
2415
  },
2268
2416
 
2269
2417
  }
@@ -2273,6 +2421,9 @@ LIST_VERSIONS = Schema(
2273
2421
  id=ShapeID("io.superposition#ListVersions"),
2274
2422
  shape_type=ShapeType.OPERATION,
2275
2423
  traits=[
2424
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
2425
+ "Configuration Management",
2426
+ )),
2276
2427
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
2277
2428
  "method": "GET",
2278
2429
  "uri": "/config/versions",
@@ -2295,7 +2446,7 @@ CREATE_CONTEXT_INPUT = Schema.collection(
2295
2446
  "target": STRING,
2296
2447
  "index": 0,
2297
2448
  "traits": [
2298
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
2449
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
2299
2450
  Trait.new(id=ShapeID("smithy.api#required")),
2300
2451
 
2301
2452
  ],
@@ -2305,7 +2456,6 @@ CREATE_CONTEXT_INPUT = Schema.collection(
2305
2456
  "target": STRING,
2306
2457
  "index": 1,
2307
2458
  "traits": [
2308
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
2309
2459
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
2310
2460
  Trait.new(id=ShapeID("smithy.api#required")),
2311
2461
 
@@ -2434,6 +2584,9 @@ CREATE_CONTEXT = Schema(
2434
2584
  shape_type=ShapeType.OPERATION,
2435
2585
  traits=[
2436
2586
  Trait.new(id=ShapeID("smithy.api#idempotent")),
2587
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
2588
+ "Context Management",
2589
+ )),
2437
2590
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
2438
2591
  "method": "PUT",
2439
2592
  "uri": "/context",
@@ -2455,7 +2608,7 @@ DELETE_CONTEXT_INPUT = Schema.collection(
2455
2608
  "target": STRING,
2456
2609
  "index": 0,
2457
2610
  "traits": [
2458
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
2611
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
2459
2612
  Trait.new(id=ShapeID("smithy.api#required")),
2460
2613
 
2461
2614
  ],
@@ -2465,7 +2618,6 @@ DELETE_CONTEXT_INPUT = Schema.collection(
2465
2618
  "target": STRING,
2466
2619
  "index": 1,
2467
2620
  "traits": [
2468
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
2469
2621
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
2470
2622
  Trait.new(id=ShapeID("smithy.api#required")),
2471
2623
 
@@ -2499,6 +2651,7 @@ DELETE_CONTEXT_OUTPUT = Schema.collection(
2499
2651
  id=ShapeID("io.superposition#DeleteContextOutput"),
2500
2652
 
2501
2653
  traits=[
2654
+ Trait.new(id=ShapeID("smithy.synthetic#originalShapeId"), value="smithy.api#Unit"),
2502
2655
  Trait.new(id=ShapeID("smithy.api#output")),
2503
2656
 
2504
2657
  ],
@@ -2510,6 +2663,9 @@ DELETE_CONTEXT = Schema(
2510
2663
  shape_type=ShapeType.OPERATION,
2511
2664
  traits=[
2512
2665
  Trait.new(id=ShapeID("smithy.api#idempotent")),
2666
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
2667
+ "Context Management",
2668
+ )),
2513
2669
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
2514
2670
  "method": "DELETE",
2515
2671
  "uri": "/context/{id}",
@@ -2532,7 +2688,7 @@ GET_CONTEXT_INPUT = Schema.collection(
2532
2688
  "target": STRING,
2533
2689
  "index": 0,
2534
2690
  "traits": [
2535
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
2691
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
2536
2692
  Trait.new(id=ShapeID("smithy.api#required")),
2537
2693
 
2538
2694
  ],
@@ -2542,7 +2698,6 @@ GET_CONTEXT_INPUT = Schema.collection(
2542
2698
  "target": STRING,
2543
2699
  "index": 1,
2544
2700
  "traits": [
2545
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
2546
2701
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
2547
2702
  Trait.new(id=ShapeID("smithy.api#required")),
2548
2703
 
@@ -2637,10 +2792,14 @@ GET_CONTEXT = Schema(
2637
2792
  id=ShapeID("io.superposition#GetContext"),
2638
2793
  shape_type=ShapeType.OPERATION,
2639
2794
  traits=[
2795
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
2796
+ "Context Management",
2797
+ )),
2640
2798
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
2641
2799
  "method": "GET",
2642
2800
  "uri": "/context/{id}",
2643
2801
  })),
2802
+ Trait.new(id=ShapeID("smithy.api#readonly")),
2644
2803
 
2645
2804
  ],
2646
2805
 
@@ -2658,7 +2817,7 @@ GET_CONTEXT_FROM_CONDITION_INPUT = Schema.collection(
2658
2817
  "target": STRING,
2659
2818
  "index": 0,
2660
2819
  "traits": [
2661
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
2820
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
2662
2821
  Trait.new(id=ShapeID("smithy.api#required")),
2663
2822
 
2664
2823
  ],
@@ -2668,7 +2827,6 @@ GET_CONTEXT_FROM_CONDITION_INPUT = Schema.collection(
2668
2827
  "target": STRING,
2669
2828
  "index": 1,
2670
2829
  "traits": [
2671
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
2672
2830
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
2673
2831
  Trait.new(id=ShapeID("smithy.api#required")),
2674
2832
 
@@ -2763,6 +2921,9 @@ GET_CONTEXT_FROM_CONDITION = Schema(
2763
2921
  id=ShapeID("io.superposition#GetContextFromCondition"),
2764
2922
  shape_type=ShapeType.OPERATION,
2765
2923
  traits=[
2924
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
2925
+ "Context Management",
2926
+ )),
2766
2927
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
2767
2928
  "method": "POST",
2768
2929
  "uri": "/context/get",
@@ -2797,31 +2958,6 @@ DIMENSION_MATCH_STRATEGY = Schema.collection(
2797
2958
  }
2798
2959
  )
2799
2960
 
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
2961
  CONTEXT_FILTER_SORT_ON = Schema.collection(
2826
2962
  id=ShapeID("io.superposition#ContextFilterSortOn"),
2827
2963
  shape_type=ShapeType.ENUM,
@@ -2864,53 +3000,49 @@ LIST_CONTEXTS_INPUT = Schema.collection(
2864
3000
 
2865
3001
  ],
2866
3002
  members={
2867
- "workspace_id": {
2868
- "target": STRING,
3003
+ "count": {
3004
+ "target": INTEGER,
2869
3005
  "index": 0,
2870
3006
  "traits": [
2871
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
2872
- Trait.new(id=ShapeID("smithy.api#required")),
3007
+ Trait.new(id=ShapeID("smithy.api#httpQuery"), value="count"),
2873
3008
 
2874
3009
  ],
2875
3010
  },
2876
3011
 
2877
- "org_id": {
2878
- "target": STRING,
3012
+ "page": {
3013
+ "target": INTEGER,
2879
3014
  "index": 1,
2880
3015
  "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")),
3016
+ Trait.new(id=ShapeID("smithy.api#httpQuery"), value="page"),
2884
3017
 
2885
3018
  ],
2886
3019
  },
2887
3020
 
2888
- "page": {
2889
- "target": INTEGER,
3021
+ "all": {
3022
+ "target": BOOLEAN,
2890
3023
  "index": 2,
2891
3024
  "traits": [
2892
- Trait.new(id=ShapeID("smithy.api#notProperty")),
2893
- Trait.new(id=ShapeID("smithy.api#httpQuery"), value="page"),
3025
+ Trait.new(id=ShapeID("smithy.api#httpQuery"), value="all"),
2894
3026
 
2895
3027
  ],
2896
3028
  },
2897
3029
 
2898
- "count": {
2899
- "target": INTEGER,
3030
+ "workspace_id": {
3031
+ "target": STRING,
2900
3032
  "index": 3,
2901
3033
  "traits": [
2902
- Trait.new(id=ShapeID("smithy.api#notProperty")),
2903
- Trait.new(id=ShapeID("smithy.api#httpQuery"), value="count"),
3034
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
3035
+ Trait.new(id=ShapeID("smithy.api#required")),
2904
3036
 
2905
3037
  ],
2906
3038
  },
2907
3039
 
2908
- "all": {
2909
- "target": BOOLEAN,
3040
+ "org_id": {
3041
+ "target": STRING,
2910
3042
  "index": 4,
2911
3043
  "traits": [
2912
- Trait.new(id=ShapeID("smithy.api#notProperty")),
2913
- Trait.new(id=ShapeID("smithy.api#httpQuery"), value="all"),
3044
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
3045
+ Trait.new(id=ShapeID("smithy.api#required")),
2914
3046
 
2915
3047
  ],
2916
3048
  },
@@ -3011,28 +3143,16 @@ LIST_CONTEXTS_OUTPUT = Schema.collection(
3011
3143
  "total_pages": {
3012
3144
  "target": INTEGER,
3013
3145
  "index": 0,
3014
- "traits": [
3015
- Trait.new(id=ShapeID("smithy.api#notProperty")),
3016
-
3017
- ],
3018
3146
  },
3019
3147
 
3020
3148
  "total_items": {
3021
3149
  "target": INTEGER,
3022
3150
  "index": 1,
3023
- "traits": [
3024
- Trait.new(id=ShapeID("smithy.api#notProperty")),
3025
-
3026
- ],
3027
3151
  },
3028
3152
 
3029
3153
  "data": {
3030
3154
  "target": LIST_CONTEXT_OUT,
3031
3155
  "index": 2,
3032
- "traits": [
3033
- Trait.new(id=ShapeID("smithy.api#notProperty")),
3034
-
3035
- ],
3036
3156
  },
3037
3157
 
3038
3158
  }
@@ -3042,9 +3162,12 @@ LIST_CONTEXTS = Schema(
3042
3162
  id=ShapeID("io.superposition#ListContexts"),
3043
3163
  shape_type=ShapeType.OPERATION,
3044
3164
  traits=[
3165
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
3166
+ "Context Management",
3167
+ )),
3045
3168
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
3046
3169
  "method": "GET",
3047
- "uri": "/context/list",
3170
+ "uri": "/context",
3048
3171
  })),
3049
3172
  Trait.new(id=ShapeID("smithy.api#readonly")),
3050
3173
 
@@ -3064,7 +3187,7 @@ MOVE_CONTEXT_INPUT = Schema.collection(
3064
3187
  "target": STRING,
3065
3188
  "index": 0,
3066
3189
  "traits": [
3067
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
3190
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
3068
3191
  Trait.new(id=ShapeID("smithy.api#required")),
3069
3192
 
3070
3193
  ],
@@ -3074,7 +3197,6 @@ MOVE_CONTEXT_INPUT = Schema.collection(
3074
3197
  "target": STRING,
3075
3198
  "index": 1,
3076
3199
  "traits": [
3077
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
3078
3200
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
3079
3201
  Trait.new(id=ShapeID("smithy.api#required")),
3080
3202
 
@@ -3193,6 +3315,9 @@ MOVE_CONTEXT = Schema(
3193
3315
  id=ShapeID("io.superposition#MoveContext"),
3194
3316
  shape_type=ShapeType.OPERATION,
3195
3317
  traits=[
3318
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
3319
+ "Context Management",
3320
+ )),
3196
3321
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
3197
3322
  "method": "PUT",
3198
3323
  "uri": "/context/move/{id}",
@@ -3214,7 +3339,7 @@ UPDATE_OVERRIDE_INPUT = Schema.collection(
3214
3339
  "target": STRING,
3215
3340
  "index": 0,
3216
3341
  "traits": [
3217
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
3342
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
3218
3343
  Trait.new(id=ShapeID("smithy.api#required")),
3219
3344
 
3220
3345
  ],
@@ -3224,7 +3349,6 @@ UPDATE_OVERRIDE_INPUT = Schema.collection(
3224
3349
  "target": STRING,
3225
3350
  "index": 1,
3226
3351
  "traits": [
3227
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
3228
3352
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
3229
3353
  Trait.new(id=ShapeID("smithy.api#required")),
3230
3354
 
@@ -3330,6 +3454,9 @@ UPDATE_OVERRIDE = Schema(
3330
3454
  id=ShapeID("io.superposition#UpdateOverride"),
3331
3455
  shape_type=ShapeType.OPERATION,
3332
3456
  traits=[
3457
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
3458
+ "Context Management",
3459
+ )),
3333
3460
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
3334
3461
  "method": "PUT",
3335
3462
  "uri": "/context/overrides",
@@ -3339,8 +3466,8 @@ UPDATE_OVERRIDE = Schema(
3339
3466
 
3340
3467
  )
3341
3468
 
3342
- WEIGHT_RECOMPUTE_INPUT = Schema.collection(
3343
- id=ShapeID("io.superposition#WeightRecomputeInput"),
3469
+ VALIDATE_CONTEXT_INPUT = Schema.collection(
3470
+ id=ShapeID("io.superposition#ValidateContextInput"),
3344
3471
 
3345
3472
  traits=[
3346
3473
  Trait.new(id=ShapeID("smithy.api#input")),
@@ -3351,7 +3478,7 @@ WEIGHT_RECOMPUTE_INPUT = Schema.collection(
3351
3478
  "target": STRING,
3352
3479
  "index": 0,
3353
3480
  "traits": [
3354
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
3481
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
3355
3482
  Trait.new(id=ShapeID("smithy.api#required")),
3356
3483
 
3357
3484
  ],
@@ -3361,18 +3488,86 @@ WEIGHT_RECOMPUTE_INPUT = Schema.collection(
3361
3488
  "target": STRING,
3362
3489
  "index": 1,
3363
3490
  "traits": [
3364
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
3365
3491
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
3366
3492
  Trait.new(id=ShapeID("smithy.api#required")),
3367
3493
 
3368
3494
  ],
3369
3495
  },
3370
3496
 
3371
- "config_tags": {
3372
- "target": STRING,
3497
+ "context": {
3498
+ "target": CONDITION,
3373
3499
  "index": 2,
3374
3500
  "traits": [
3375
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-config-tags"),
3501
+ Trait.new(id=ShapeID("smithy.api#notProperty")),
3502
+ Trait.new(id=ShapeID("smithy.api#required")),
3503
+
3504
+ ],
3505
+ },
3506
+
3507
+ }
3508
+ )
3509
+
3510
+ VALIDATE_CONTEXT_OUTPUT = Schema.collection(
3511
+ id=ShapeID("io.superposition#ValidateContextOutput"),
3512
+
3513
+ traits=[
3514
+ Trait.new(id=ShapeID("smithy.synthetic#originalShapeId"), value="smithy.api#Unit"),
3515
+ Trait.new(id=ShapeID("smithy.api#output")),
3516
+
3517
+ ],
3518
+
3519
+ )
3520
+
3521
+ VALIDATE_CONTEXT = Schema(
3522
+ id=ShapeID("io.superposition#ValidateContext"),
3523
+ shape_type=ShapeType.OPERATION,
3524
+ traits=[
3525
+ Trait.new(id=ShapeID("smithy.api#idempotent")),
3526
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
3527
+ "Context Management",
3528
+ )),
3529
+ Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
3530
+ "method": "PUT",
3531
+ "uri": "/context/validate",
3532
+ })),
3533
+
3534
+ ],
3535
+
3536
+ )
3537
+
3538
+ WEIGHT_RECOMPUTE_INPUT = Schema.collection(
3539
+ id=ShapeID("io.superposition#WeightRecomputeInput"),
3540
+
3541
+ traits=[
3542
+ Trait.new(id=ShapeID("smithy.api#input")),
3543
+
3544
+ ],
3545
+ members={
3546
+ "workspace_id": {
3547
+ "target": STRING,
3548
+ "index": 0,
3549
+ "traits": [
3550
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
3551
+ Trait.new(id=ShapeID("smithy.api#required")),
3552
+
3553
+ ],
3554
+ },
3555
+
3556
+ "org_id": {
3557
+ "target": STRING,
3558
+ "index": 1,
3559
+ "traits": [
3560
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
3561
+ Trait.new(id=ShapeID("smithy.api#required")),
3562
+
3563
+ ],
3564
+ },
3565
+
3566
+ "config_tags": {
3567
+ "target": STRING,
3568
+ "index": 2,
3569
+ "traits": [
3570
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-config-tags"),
3376
3571
  Trait.new(id=ShapeID("smithy.api#notProperty")),
3377
3572
 
3378
3573
  ],
@@ -3444,6 +3639,9 @@ WEIGHT_RECOMPUTE = Schema(
3444
3639
  id=ShapeID("io.superposition#WeightRecompute"),
3445
3640
  shape_type=ShapeType.OPERATION,
3446
3641
  traits=[
3642
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
3643
+ "Context Management",
3644
+ )),
3447
3645
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
3448
3646
  "method": "PUT",
3449
3647
  "uri": "/context/weight/recompute",
@@ -3520,7 +3718,7 @@ CREATE_DEFAULT_CONFIG_INPUT = Schema.collection(
3520
3718
  "target": STRING,
3521
3719
  "index": 7,
3522
3720
  "traits": [
3523
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
3721
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
3524
3722
  Trait.new(id=ShapeID("smithy.api#required")),
3525
3723
 
3526
3724
  ],
@@ -3530,7 +3728,6 @@ CREATE_DEFAULT_CONFIG_INPUT = Schema.collection(
3530
3728
  "target": STRING,
3531
3729
  "index": 8,
3532
3730
  "traits": [
3533
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
3534
3731
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
3535
3732
  Trait.new(id=ShapeID("smithy.api#required")),
3536
3733
 
@@ -3647,6 +3844,9 @@ CREATE_DEFAULT_CONFIG = Schema(
3647
3844
  id=ShapeID("io.superposition#CreateDefaultConfig"),
3648
3845
  shape_type=ShapeType.OPERATION,
3649
3846
  traits=[
3847
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
3848
+ "Default Configuration",
3849
+ )),
3650
3850
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
3651
3851
  "method": "POST",
3652
3852
  "uri": "/default-config",
@@ -3668,7 +3868,7 @@ CREATE_DIMENSION_INPUT = Schema.collection(
3668
3868
  "target": STRING,
3669
3869
  "index": 0,
3670
3870
  "traits": [
3671
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
3871
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
3672
3872
  Trait.new(id=ShapeID("smithy.api#required")),
3673
3873
 
3674
3874
  ],
@@ -3678,7 +3878,6 @@ CREATE_DIMENSION_INPUT = Schema.collection(
3678
3878
  "target": STRING,
3679
3879
  "index": 1,
3680
3880
  "traits": [
3681
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
3682
3881
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
3683
3882
  Trait.new(id=ShapeID("smithy.api#required")),
3684
3883
 
@@ -3882,6 +4081,9 @@ CREATE_DIMENSION = Schema(
3882
4081
  id=ShapeID("io.superposition#CreateDimension"),
3883
4082
  shape_type=ShapeType.OPERATION,
3884
4083
  traits=[
4084
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
4085
+ "Dimensions",
4086
+ )),
3885
4087
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
3886
4088
  "method": "POST",
3887
4089
  "uri": "/dimension",
@@ -3904,7 +4106,7 @@ CREATE_EXPERIMENT_INPUT = Schema.collection(
3904
4106
  "target": STRING,
3905
4107
  "index": 0,
3906
4108
  "traits": [
3907
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
4109
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
3908
4110
  Trait.new(id=ShapeID("smithy.api#required")),
3909
4111
 
3910
4112
  ],
@@ -3914,7 +4116,6 @@ CREATE_EXPERIMENT_INPUT = Schema.collection(
3914
4116
  "target": STRING,
3915
4117
  "index": 1,
3916
4118
  "traits": [
3917
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
3918
4119
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
3919
4120
  Trait.new(id=ShapeID("smithy.api#required")),
3920
4121
 
@@ -4156,6 +4357,9 @@ CREATE_EXPERIMENT = Schema(
4156
4357
  id=ShapeID("io.superposition#CreateExperiment"),
4157
4358
  shape_type=ShapeType.OPERATION,
4158
4359
  traits=[
4360
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
4361
+ "Experimentation",
4362
+ )),
4159
4363
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
4160
4364
  "method": "POST",
4161
4365
  "uri": "/experiments",
@@ -4178,7 +4382,7 @@ CREATE_EXPERIMENT_GROUP_INPUT = Schema.collection(
4178
4382
  "target": STRING,
4179
4383
  "index": 0,
4180
4384
  "traits": [
4181
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
4385
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
4182
4386
  Trait.new(id=ShapeID("smithy.api#required")),
4183
4387
 
4184
4388
  ],
@@ -4188,7 +4392,6 @@ CREATE_EXPERIMENT_GROUP_INPUT = Schema.collection(
4188
4392
  "target": STRING,
4189
4393
  "index": 1,
4190
4394
  "traits": [
4191
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
4192
4395
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
4193
4396
  Trait.new(id=ShapeID("smithy.api#required")),
4194
4397
 
@@ -4398,6 +4601,9 @@ CREATE_EXPERIMENT_GROUP = Schema(
4398
4601
  id=ShapeID("io.superposition#CreateExperimentGroup"),
4399
4602
  shape_type=ShapeType.OPERATION,
4400
4603
  traits=[
4604
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
4605
+ "Experiment Groups",
4606
+ )),
4401
4607
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
4402
4608
  "method": "POST",
4403
4609
  "uri": "/experiment-groups",
@@ -4445,7 +4651,7 @@ CREATE_FUNCTION_INPUT = Schema.collection(
4445
4651
  "target": STRING,
4446
4652
  "index": 0,
4447
4653
  "traits": [
4448
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
4654
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
4449
4655
  Trait.new(id=ShapeID("smithy.api#required")),
4450
4656
 
4451
4657
  ],
@@ -4455,7 +4661,6 @@ CREATE_FUNCTION_INPUT = Schema.collection(
4455
4661
  "target": STRING,
4456
4662
  "index": 1,
4457
4663
  "traits": [
4458
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
4459
4664
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
4460
4665
  Trait.new(id=ShapeID("smithy.api#required")),
4461
4666
 
@@ -4647,6 +4852,9 @@ CREATE_FUNCTION = Schema(
4647
4852
  id=ShapeID("io.superposition#CreateFunction"),
4648
4853
  shape_type=ShapeType.OPERATION,
4649
4854
  traits=[
4855
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
4856
+ "Functions",
4857
+ )),
4650
4858
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
4651
4859
  "method": "POST",
4652
4860
  "uri": "/function",
@@ -4848,6 +5056,9 @@ CREATE_ORGANISATION = Schema(
4848
5056
  id=ShapeID("io.superposition#CreateOrganisation"),
4849
5057
  shape_type=ShapeType.OPERATION,
4850
5058
  traits=[
5059
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
5060
+ "Organisation Management",
5061
+ )),
4851
5062
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
4852
5063
  "method": "POST",
4853
5064
  "uri": "/superposition/organisations",
@@ -4870,7 +5081,7 @@ CREATE_TYPE_TEMPLATES_INPUT = Schema.collection(
4870
5081
  "target": STRING,
4871
5082
  "index": 0,
4872
5083
  "traits": [
4873
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
5084
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
4874
5085
  Trait.new(id=ShapeID("smithy.api#required")),
4875
5086
 
4876
5087
  ],
@@ -4880,7 +5091,6 @@ CREATE_TYPE_TEMPLATES_INPUT = Schema.collection(
4880
5091
  "target": STRING,
4881
5092
  "index": 1,
4882
5093
  "traits": [
4883
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
4884
5094
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
4885
5095
  Trait.new(id=ShapeID("smithy.api#required")),
4886
5096
 
@@ -5014,6 +5224,9 @@ CREATE_TYPE_TEMPLATES = Schema(
5014
5224
  id=ShapeID("io.superposition#CreateTypeTemplates"),
5015
5225
  shape_type=ShapeType.OPERATION,
5016
5226
  traits=[
5227
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
5228
+ "Type Templates",
5229
+ )),
5017
5230
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
5018
5231
  "method": "POST",
5019
5232
  "uri": "/types",
@@ -5124,7 +5337,7 @@ CREATE_WEBHOOK_INPUT = Schema.collection(
5124
5337
  "target": STRING,
5125
5338
  "index": 0,
5126
5339
  "traits": [
5127
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
5340
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
5128
5341
  Trait.new(id=ShapeID("smithy.api#required")),
5129
5342
 
5130
5343
  ],
@@ -5134,7 +5347,6 @@ CREATE_WEBHOOK_INPUT = Schema.collection(
5134
5347
  "target": STRING,
5135
5348
  "index": 1,
5136
5349
  "traits": [
5137
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
5138
5350
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
5139
5351
  Trait.new(id=ShapeID("smithy.api#required")),
5140
5352
 
@@ -5360,6 +5572,9 @@ CREATE_WEBHOOK = Schema(
5360
5572
  id=ShapeID("io.superposition#CreateWebhook"),
5361
5573
  shape_type=ShapeType.OPERATION,
5362
5574
  traits=[
5575
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
5576
+ "Webhooks",
5577
+ )),
5363
5578
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
5364
5579
  "method": "POST",
5365
5580
  "uri": "/webhook",
@@ -5407,7 +5622,6 @@ CREATE_WORKSPACE_INPUT = Schema.collection(
5407
5622
  "target": STRING,
5408
5623
  "index": 0,
5409
5624
  "traits": [
5410
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
5411
5625
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
5412
5626
  Trait.new(id=ShapeID("smithy.api#required")),
5413
5627
 
@@ -5632,6 +5846,9 @@ CREATE_WORKSPACE = Schema(
5632
5846
  id=ShapeID("io.superposition#CreateWorkspace"),
5633
5847
  shape_type=ShapeType.OPERATION,
5634
5848
  traits=[
5849
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
5850
+ "Workspace Management",
5851
+ )),
5635
5852
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
5636
5853
  "method": "POST",
5637
5854
  "uri": "/workspaces",
@@ -5653,7 +5870,7 @@ DELETE_DEFAULT_CONFIG_INPUT = Schema.collection(
5653
5870
  "target": STRING,
5654
5871
  "index": 0,
5655
5872
  "traits": [
5656
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
5873
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
5657
5874
  Trait.new(id=ShapeID("smithy.api#required")),
5658
5875
 
5659
5876
  ],
@@ -5663,7 +5880,6 @@ DELETE_DEFAULT_CONFIG_INPUT = Schema.collection(
5663
5880
  "target": STRING,
5664
5881
  "index": 1,
5665
5882
  "traits": [
5666
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
5667
5883
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
5668
5884
  Trait.new(id=ShapeID("smithy.api#required")),
5669
5885
 
@@ -5687,6 +5903,7 @@ DELETE_DEFAULT_CONFIG_OUTPUT = Schema.collection(
5687
5903
  id=ShapeID("io.superposition#DeleteDefaultConfigOutput"),
5688
5904
 
5689
5905
  traits=[
5906
+ Trait.new(id=ShapeID("smithy.synthetic#originalShapeId"), value="smithy.api#Unit"),
5690
5907
  Trait.new(id=ShapeID("smithy.api#output")),
5691
5908
 
5692
5909
  ],
@@ -5698,6 +5915,9 @@ DELETE_DEFAULT_CONFIG = Schema(
5698
5915
  shape_type=ShapeType.OPERATION,
5699
5916
  traits=[
5700
5917
  Trait.new(id=ShapeID("smithy.api#idempotent")),
5918
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
5919
+ "Default Configuration",
5920
+ )),
5701
5921
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
5702
5922
  "method": "DELETE",
5703
5923
  "uri": "/default-config/{key}",
@@ -5708,62 +5928,232 @@ DELETE_DEFAULT_CONFIG = Schema(
5708
5928
 
5709
5929
  )
5710
5930
 
5711
- LIST_DEFAULT_CONFIGS_INPUT = Schema.collection(
5712
- id=ShapeID("io.superposition#ListDefaultConfigsInput"),
5931
+ GET_DEFAULT_CONFIG_INPUT = Schema.collection(
5932
+ id=ShapeID("io.superposition#GetDefaultConfigInput"),
5713
5933
 
5714
5934
  traits=[
5715
5935
  Trait.new(id=ShapeID("smithy.api#input")),
5716
5936
 
5717
5937
  ],
5718
5938
  members={
5719
- "count": {
5720
- "target": INTEGER,
5939
+ "workspace_id": {
5940
+ "target": STRING,
5721
5941
  "index": 0,
5722
5942
  "traits": [
5723
- Trait.new(id=ShapeID("smithy.api#httpQuery"), value="count"),
5943
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
5944
+ Trait.new(id=ShapeID("smithy.api#required")),
5724
5945
 
5725
5946
  ],
5726
5947
  },
5727
5948
 
5728
- "page": {
5729
- "target": INTEGER,
5949
+ "org_id": {
5950
+ "target": STRING,
5730
5951
  "index": 1,
5731
5952
  "traits": [
5732
- Trait.new(id=ShapeID("smithy.api#httpQuery"), value="page"),
5953
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
5954
+ Trait.new(id=ShapeID("smithy.api#required")),
5733
5955
 
5734
5956
  ],
5735
5957
  },
5736
5958
 
5737
- "all": {
5738
- "target": BOOLEAN,
5959
+ "key": {
5960
+ "target": STRING,
5739
5961
  "index": 2,
5740
5962
  "traits": [
5741
- Trait.new(id=ShapeID("smithy.api#httpQuery"), value="all"),
5963
+ Trait.new(id=ShapeID("smithy.api#required")),
5964
+ Trait.new(id=ShapeID("smithy.api#httpLabel")),
5742
5965
 
5743
5966
  ],
5744
5967
  },
5745
5968
 
5746
- "workspace_id": {
5969
+ }
5970
+ )
5971
+
5972
+ GET_DEFAULT_CONFIG_OUTPUT = Schema.collection(
5973
+ id=ShapeID("io.superposition#GetDefaultConfigOutput"),
5974
+
5975
+ traits=[
5976
+ Trait.new(id=ShapeID("smithy.synthetic#originalShapeId"), value="io.superposition#DefaultConfigFull"),
5977
+ Trait.new(id=ShapeID("smithy.api#output")),
5978
+
5979
+ ],
5980
+ members={
5981
+ "key": {
5982
+ "target": STRING,
5983
+ "index": 0,
5984
+ "traits": [
5985
+ Trait.new(id=ShapeID("smithy.api#required")),
5986
+
5987
+ ],
5988
+ },
5989
+
5990
+ "value": {
5991
+ "target": DOCUMENT,
5992
+ "index": 1,
5993
+ "traits": [
5994
+ Trait.new(id=ShapeID("smithy.api#required")),
5995
+
5996
+ ],
5997
+ },
5998
+
5999
+ "schema": {
6000
+ "target": OBJECT,
6001
+ "index": 2,
6002
+ "traits": [
6003
+ Trait.new(id=ShapeID("smithy.api#required")),
6004
+
6005
+ ],
6006
+ },
6007
+
6008
+ "description": {
5747
6009
  "target": STRING,
5748
6010
  "index": 3,
5749
6011
  "traits": [
5750
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
5751
6012
  Trait.new(id=ShapeID("smithy.api#required")),
5752
6013
 
5753
6014
  ],
5754
6015
  },
5755
6016
 
5756
- "org_id": {
6017
+ "change_reason": {
5757
6018
  "target": STRING,
5758
6019
  "index": 4,
5759
6020
  "traits": [
5760
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
6021
+ Trait.new(id=ShapeID("smithy.api#required")),
6022
+
6023
+ ],
6024
+ },
6025
+
6026
+ "function_name": {
6027
+ "target": STRING,
6028
+ "index": 5,
6029
+ },
6030
+
6031
+ "autocomplete_function_name": {
6032
+ "target": STRING,
6033
+ "index": 6,
6034
+ },
6035
+
6036
+ "created_at": {
6037
+ "target": DATE_TIME,
6038
+ "index": 7,
6039
+ "traits": [
6040
+ Trait.new(id=ShapeID("smithy.api#required")),
6041
+
6042
+ ],
6043
+ },
6044
+
6045
+ "created_by": {
6046
+ "target": STRING,
6047
+ "index": 8,
6048
+ "traits": [
6049
+ Trait.new(id=ShapeID("smithy.api#required")),
6050
+
6051
+ ],
6052
+ },
6053
+
6054
+ "last_modified_at": {
6055
+ "target": DATE_TIME,
6056
+ "index": 9,
6057
+ "traits": [
6058
+ Trait.new(id=ShapeID("smithy.api#required")),
6059
+
6060
+ ],
6061
+ },
6062
+
6063
+ "last_modified_by": {
6064
+ "target": STRING,
6065
+ "index": 10,
6066
+ "traits": [
6067
+ Trait.new(id=ShapeID("smithy.api#required")),
6068
+
6069
+ ],
6070
+ },
6071
+
6072
+ }
6073
+ )
6074
+
6075
+ GET_DEFAULT_CONFIG = Schema(
6076
+ id=ShapeID("io.superposition#GetDefaultConfig"),
6077
+ shape_type=ShapeType.OPERATION,
6078
+ traits=[
6079
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
6080
+ "Default Configuration",
6081
+ )),
6082
+ Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
6083
+ "method": "GET",
6084
+ "uri": "/default-config/{key}",
6085
+ })),
6086
+ Trait.new(id=ShapeID("smithy.api#readonly")),
6087
+
6088
+ ],
6089
+
6090
+ )
6091
+
6092
+ LIST_DEFAULT_CONFIGS_INPUT = Schema.collection(
6093
+ id=ShapeID("io.superposition#ListDefaultConfigsInput"),
6094
+
6095
+ traits=[
6096
+ Trait.new(id=ShapeID("smithy.api#input")),
6097
+
6098
+ ],
6099
+ members={
6100
+ "workspace_id": {
6101
+ "target": STRING,
6102
+ "index": 0,
6103
+ "traits": [
6104
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
6105
+ Trait.new(id=ShapeID("smithy.api#required")),
6106
+
6107
+ ],
6108
+ },
6109
+
6110
+ "org_id": {
6111
+ "target": STRING,
6112
+ "index": 1,
6113
+ "traits": [
5761
6114
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
5762
6115
  Trait.new(id=ShapeID("smithy.api#required")),
5763
6116
 
5764
6117
  ],
5765
6118
  },
5766
6119
 
6120
+ "count": {
6121
+ "target": INTEGER,
6122
+ "index": 2,
6123
+ "traits": [
6124
+ Trait.new(id=ShapeID("smithy.api#httpQuery"), value="count"),
6125
+
6126
+ ],
6127
+ },
6128
+
6129
+ "page": {
6130
+ "target": INTEGER,
6131
+ "index": 3,
6132
+ "traits": [
6133
+ Trait.new(id=ShapeID("smithy.api#httpQuery"), value="page"),
6134
+
6135
+ ],
6136
+ },
6137
+
6138
+ "all": {
6139
+ "target": BOOLEAN,
6140
+ "index": 4,
6141
+ "traits": [
6142
+ Trait.new(id=ShapeID("smithy.api#httpQuery"), value="all"),
6143
+
6144
+ ],
6145
+ },
6146
+
6147
+ "name": {
6148
+ "target": STRING,
6149
+ "index": 5,
6150
+ "traits": [
6151
+ Trait.new(id=ShapeID("smithy.api#notProperty")),
6152
+ Trait.new(id=ShapeID("smithy.api#httpQuery"), value="name"),
6153
+
6154
+ ],
6155
+ },
6156
+
5767
6157
  }
5768
6158
  )
5769
6159
 
@@ -5907,6 +6297,9 @@ LIST_DEFAULT_CONFIGS = Schema(
5907
6297
  id=ShapeID("io.superposition#ListDefaultConfigs"),
5908
6298
  shape_type=ShapeType.OPERATION,
5909
6299
  traits=[
6300
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
6301
+ "Default Configuration",
6302
+ )),
5910
6303
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
5911
6304
  "method": "GET",
5912
6305
  "uri": "/default-config",
@@ -5929,7 +6322,7 @@ UPDATE_DEFAULT_CONFIG_INPUT = Schema.collection(
5929
6322
  "target": STRING,
5930
6323
  "index": 0,
5931
6324
  "traits": [
5932
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
6325
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
5933
6326
  Trait.new(id=ShapeID("smithy.api#required")),
5934
6327
 
5935
6328
  ],
@@ -5939,7 +6332,6 @@ UPDATE_DEFAULT_CONFIG_INPUT = Schema.collection(
5939
6332
  "target": STRING,
5940
6333
  "index": 1,
5941
6334
  "traits": [
5942
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
5943
6335
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
5944
6336
  Trait.new(id=ShapeID("smithy.api#required")),
5945
6337
 
@@ -6101,8 +6493,11 @@ UPDATE_DEFAULT_CONFIG = Schema(
6101
6493
  shape_type=ShapeType.OPERATION,
6102
6494
  traits=[
6103
6495
  Trait.new(id=ShapeID("smithy.api#idempotent")),
6496
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
6497
+ "Default Configuration",
6498
+ )),
6104
6499
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
6105
- "method": "PUT",
6500
+ "method": "PATCH",
6106
6501
  "uri": "/default-config/{key}",
6107
6502
  })),
6108
6503
 
@@ -6122,7 +6517,7 @@ DELETE_DIMENSION_INPUT = Schema.collection(
6122
6517
  "target": STRING,
6123
6518
  "index": 0,
6124
6519
  "traits": [
6125
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
6520
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
6126
6521
  Trait.new(id=ShapeID("smithy.api#required")),
6127
6522
 
6128
6523
  ],
@@ -6132,7 +6527,6 @@ DELETE_DIMENSION_INPUT = Schema.collection(
6132
6527
  "target": STRING,
6133
6528
  "index": 1,
6134
6529
  "traits": [
6135
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
6136
6530
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
6137
6531
  Trait.new(id=ShapeID("smithy.api#required")),
6138
6532
 
@@ -6156,6 +6550,7 @@ DELETE_DIMENSION_OUTPUT = Schema.collection(
6156
6550
  id=ShapeID("io.superposition#DeleteDimensionOutput"),
6157
6551
 
6158
6552
  traits=[
6553
+ Trait.new(id=ShapeID("smithy.synthetic#originalShapeId"), value="smithy.api#Unit"),
6159
6554
  Trait.new(id=ShapeID("smithy.api#output")),
6160
6555
 
6161
6556
  ],
@@ -6167,6 +6562,9 @@ DELETE_DIMENSION = Schema(
6167
6562
  shape_type=ShapeType.OPERATION,
6168
6563
  traits=[
6169
6564
  Trait.new(id=ShapeID("smithy.api#idempotent")),
6565
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
6566
+ "Dimensions",
6567
+ )),
6170
6568
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
6171
6569
  "method": "DELETE",
6172
6570
  "uri": "/dimension/{dimension}",
@@ -6189,7 +6587,7 @@ DELETE_EXPERIMENT_GROUP_INPUT = Schema.collection(
6189
6587
  "target": STRING,
6190
6588
  "index": 0,
6191
6589
  "traits": [
6192
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
6590
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
6193
6591
  Trait.new(id=ShapeID("smithy.api#required")),
6194
6592
 
6195
6593
  ],
@@ -6199,7 +6597,6 @@ DELETE_EXPERIMENT_GROUP_INPUT = Schema.collection(
6199
6597
  "target": STRING,
6200
6598
  "index": 1,
6201
6599
  "traits": [
6202
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
6203
6600
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
6204
6601
  Trait.new(id=ShapeID("smithy.api#required")),
6205
6602
 
@@ -6365,6 +6762,10 @@ DELETE_EXPERIMENT_GROUP = Schema(
6365
6762
  id=ShapeID("io.superposition#DeleteExperimentGroup"),
6366
6763
  shape_type=ShapeType.OPERATION,
6367
6764
  traits=[
6765
+ Trait.new(id=ShapeID("smithy.api#idempotent")),
6766
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
6767
+ "Experiment Groups",
6768
+ )),
6368
6769
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
6369
6770
  "method": "DELETE",
6370
6771
  "uri": "/experiment-groups/{id}",
@@ -6386,7 +6787,7 @@ DELETE_FUNCTION_INPUT = Schema.collection(
6386
6787
  "target": STRING,
6387
6788
  "index": 0,
6388
6789
  "traits": [
6389
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
6790
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
6390
6791
  Trait.new(id=ShapeID("smithy.api#required")),
6391
6792
 
6392
6793
  ],
@@ -6396,7 +6797,6 @@ DELETE_FUNCTION_INPUT = Schema.collection(
6396
6797
  "target": STRING,
6397
6798
  "index": 1,
6398
6799
  "traits": [
6399
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
6400
6800
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
6401
6801
  Trait.new(id=ShapeID("smithy.api#required")),
6402
6802
 
@@ -6420,28 +6820,21 @@ DELETE_FUNCTION_OUTPUT = Schema.collection(
6420
6820
  id=ShapeID("io.superposition#DeleteFunctionOutput"),
6421
6821
 
6422
6822
  traits=[
6823
+ Trait.new(id=ShapeID("smithy.synthetic#originalShapeId"), value="smithy.api#Unit"),
6423
6824
  Trait.new(id=ShapeID("smithy.api#output")),
6424
6825
 
6425
6826
  ],
6426
6827
 
6427
6828
  )
6428
6829
 
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
- DELETE_FUNCTION = Schema(
6441
- id=ShapeID("io.superposition#DeleteFunction"),
6442
- shape_type=ShapeType.OPERATION,
6830
+ DELETE_FUNCTION = Schema(
6831
+ id=ShapeID("io.superposition#DeleteFunction"),
6832
+ shape_type=ShapeType.OPERATION,
6443
6833
  traits=[
6444
6834
  Trait.new(id=ShapeID("smithy.api#idempotent")),
6835
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
6836
+ "Functions",
6837
+ )),
6445
6838
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
6446
6839
  "method": "DELETE",
6447
6840
  "uri": "/function/{function_name}",
@@ -6463,7 +6856,7 @@ DELETE_TYPE_TEMPLATES_INPUT = Schema.collection(
6463
6856
  "target": STRING,
6464
6857
  "index": 0,
6465
6858
  "traits": [
6466
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
6859
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
6467
6860
  Trait.new(id=ShapeID("smithy.api#required")),
6468
6861
 
6469
6862
  ],
@@ -6473,7 +6866,6 @@ DELETE_TYPE_TEMPLATES_INPUT = Schema.collection(
6473
6866
  "target": STRING,
6474
6867
  "index": 1,
6475
6868
  "traits": [
6476
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
6477
6869
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
6478
6870
  Trait.new(id=ShapeID("smithy.api#required")),
6479
6871
 
@@ -6577,25 +6969,87 @@ DELETE_TYPE_TEMPLATES_OUTPUT = Schema.collection(
6577
6969
  }
6578
6970
  )
6579
6971
 
6580
- TYPE_TEMPLATES_NOT_FOUND = Schema.collection(
6581
- id=ShapeID("io.superposition#TypeTemplatesNotFound"),
6972
+ DELETE_TYPE_TEMPLATES = Schema(
6973
+ id=ShapeID("io.superposition#DeleteTypeTemplates"),
6974
+ shape_type=ShapeType.OPERATION,
6975
+ traits=[
6976
+ Trait.new(id=ShapeID("smithy.api#idempotent")),
6977
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
6978
+ "Type Templates",
6979
+ )),
6980
+ Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
6981
+ "method": "DELETE",
6982
+ "uri": "/types/{type_name}",
6983
+ })),
6984
+
6985
+ ],
6986
+
6987
+ )
6988
+
6989
+ DELETE_WEBHOOK_INPUT = Schema.collection(
6990
+ id=ShapeID("io.superposition#DeleteWebhookInput"),
6582
6991
 
6583
6992
  traits=[
6584
- Trait.new(id=ShapeID("smithy.api#error"), value="client"),
6585
- Trait.new(id=ShapeID("smithy.api#httpError"), value=404),
6993
+ Trait.new(id=ShapeID("smithy.api#input")),
6586
6994
 
6587
6995
  ],
6996
+ members={
6997
+ "workspace_id": {
6998
+ "target": STRING,
6999
+ "index": 0,
7000
+ "traits": [
7001
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
7002
+ Trait.new(id=ShapeID("smithy.api#required")),
7003
+
7004
+ ],
7005
+ },
7006
+
7007
+ "org_id": {
7008
+ "target": STRING,
7009
+ "index": 1,
7010
+ "traits": [
7011
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
7012
+ Trait.new(id=ShapeID("smithy.api#required")),
7013
+
7014
+ ],
7015
+ },
7016
+
7017
+ "name": {
7018
+ "target": STRING,
7019
+ "index": 2,
7020
+ "traits": [
7021
+ Trait.new(id=ShapeID("smithy.api#required")),
7022
+ Trait.new(id=ShapeID("smithy.api#httpLabel")),
7023
+
7024
+ ],
7025
+ },
6588
7026
 
7027
+ }
6589
7028
  )
6590
7029
 
6591
- DELETE_TYPE_TEMPLATES = Schema(
6592
- id=ShapeID("io.superposition#DeleteTypeTemplates"),
7030
+ DELETE_WEBHOOK_OUTPUT = Schema.collection(
7031
+ id=ShapeID("io.superposition#DeleteWebhookOutput"),
7032
+
7033
+ traits=[
7034
+ Trait.new(id=ShapeID("smithy.synthetic#originalShapeId"), value="smithy.api#Unit"),
7035
+ Trait.new(id=ShapeID("smithy.api#output")),
7036
+
7037
+ ],
7038
+
7039
+ )
7040
+
7041
+ DELETE_WEBHOOK = Schema(
7042
+ id=ShapeID("io.superposition#DeleteWebhook"),
6593
7043
  shape_type=ShapeType.OPERATION,
6594
7044
  traits=[
6595
7045
  Trait.new(id=ShapeID("smithy.api#idempotent")),
7046
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
7047
+ "Webhooks",
7048
+ )),
6596
7049
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
6597
7050
  "method": "DELETE",
6598
- "uri": "/types/{type_name}",
7051
+ "uri": "/webhook/{name}",
7052
+ "code": 201,
6599
7053
  })),
6600
7054
 
6601
7055
  ],
@@ -6614,7 +7068,7 @@ GET_DIMENSION_INPUT = Schema.collection(
6614
7068
  "target": STRING,
6615
7069
  "index": 0,
6616
7070
  "traits": [
6617
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
7071
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
6618
7072
  Trait.new(id=ShapeID("smithy.api#required")),
6619
7073
 
6620
7074
  ],
@@ -6624,7 +7078,6 @@ GET_DIMENSION_INPUT = Schema.collection(
6624
7078
  "target": STRING,
6625
7079
  "index": 1,
6626
7080
  "traits": [
6627
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
6628
7081
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
6629
7082
  Trait.new(id=ShapeID("smithy.api#required")),
6630
7083
 
@@ -6778,10 +7231,14 @@ GET_DIMENSION = Schema(
6778
7231
  id=ShapeID("io.superposition#GetDimension"),
6779
7232
  shape_type=ShapeType.OPERATION,
6780
7233
  traits=[
7234
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
7235
+ "Dimensions",
7236
+ )),
6781
7237
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
6782
7238
  "method": "GET",
6783
7239
  "uri": "/dimension/{dimension}",
6784
7240
  })),
7241
+ Trait.new(id=ShapeID("smithy.api#readonly")),
6785
7242
 
6786
7243
  ],
6787
7244
 
@@ -6826,7 +7283,7 @@ LIST_DIMENSIONS_INPUT = Schema.collection(
6826
7283
  "target": STRING,
6827
7284
  "index": 3,
6828
7285
  "traits": [
6829
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
7286
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
6830
7287
  Trait.new(id=ShapeID("smithy.api#required")),
6831
7288
 
6832
7289
  ],
@@ -6836,7 +7293,6 @@ LIST_DIMENSIONS_INPUT = Schema.collection(
6836
7293
  "target": STRING,
6837
7294
  "index": 4,
6838
7295
  "traits": [
6839
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
6840
7296
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
6841
7297
  Trait.new(id=ShapeID("smithy.api#required")),
6842
7298
 
@@ -7013,6 +7469,9 @@ LIST_DIMENSIONS = Schema(
7013
7469
  id=ShapeID("io.superposition#ListDimensions"),
7014
7470
  shape_type=ShapeType.OPERATION,
7015
7471
  traits=[
7472
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
7473
+ "Dimensions",
7474
+ )),
7016
7475
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
7017
7476
  "method": "GET",
7018
7477
  "uri": "/dimension",
@@ -7035,7 +7494,7 @@ UPDATE_DIMENSION_INPUT = Schema.collection(
7035
7494
  "target": STRING,
7036
7495
  "index": 0,
7037
7496
  "traits": [
7038
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
7497
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
7039
7498
  Trait.new(id=ShapeID("smithy.api#required")),
7040
7499
 
7041
7500
  ],
@@ -7045,7 +7504,6 @@ UPDATE_DIMENSION_INPUT = Schema.collection(
7045
7504
  "target": STRING,
7046
7505
  "index": 1,
7047
7506
  "traits": [
7048
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
7049
7507
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
7050
7508
  Trait.new(id=ShapeID("smithy.api#required")),
7051
7509
 
@@ -7234,8 +7692,11 @@ UPDATE_DIMENSION = Schema(
7234
7692
  shape_type=ShapeType.OPERATION,
7235
7693
  traits=[
7236
7694
  Trait.new(id=ShapeID("smithy.api#idempotent")),
7695
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
7696
+ "Dimensions",
7697
+ )),
7237
7698
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
7238
- "method": "PUT",
7699
+ "method": "PATCH",
7239
7700
  "uri": "/dimension/{dimension}",
7240
7701
  })),
7241
7702
 
@@ -7255,7 +7716,7 @@ DISCARD_EXPERIMENT_INPUT = Schema.collection(
7255
7716
  "target": STRING,
7256
7717
  "index": 0,
7257
7718
  "traits": [
7258
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
7719
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
7259
7720
  Trait.new(id=ShapeID("smithy.api#required")),
7260
7721
 
7261
7722
  ],
@@ -7265,7 +7726,6 @@ DISCARD_EXPERIMENT_INPUT = Schema.collection(
7265
7726
  "target": STRING,
7266
7727
  "index": 1,
7267
7728
  "traits": [
7268
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
7269
7729
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
7270
7730
  Trait.new(id=ShapeID("smithy.api#required")),
7271
7731
 
@@ -7467,6 +7927,9 @@ DISCARD_EXPERIMENT = Schema(
7467
7927
  shape_type=ShapeType.OPERATION,
7468
7928
  traits=[
7469
7929
  Trait.new(id=ShapeID("smithy.api#idempotent")),
7930
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
7931
+ "Experimentation",
7932
+ )),
7470
7933
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
7471
7934
  "method": "PATCH",
7472
7935
  "uri": "/experiments/{id}/discard",
@@ -7488,7 +7951,7 @@ GET_EXPERIMENT_GROUP_INPUT = Schema.collection(
7488
7951
  "target": STRING,
7489
7952
  "index": 0,
7490
7953
  "traits": [
7491
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
7954
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
7492
7955
  Trait.new(id=ShapeID("smithy.api#required")),
7493
7956
 
7494
7957
  ],
@@ -7498,7 +7961,6 @@ GET_EXPERIMENT_GROUP_INPUT = Schema.collection(
7498
7961
  "target": STRING,
7499
7962
  "index": 1,
7500
7963
  "traits": [
7501
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
7502
7964
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
7503
7965
  Trait.new(id=ShapeID("smithy.api#required")),
7504
7966
 
@@ -7664,6 +8126,9 @@ GET_EXPERIMENT_GROUP = Schema(
7664
8126
  id=ShapeID("io.superposition#GetExperimentGroup"),
7665
8127
  shape_type=ShapeType.OPERATION,
7666
8128
  traits=[
8129
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
8130
+ "Experiment Groups",
8131
+ )),
7667
8132
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
7668
8133
  "method": "GET",
7669
8134
  "uri": "/experiment-groups/{id}",
@@ -7716,50 +8181,56 @@ LIST_EXPERIMENT_GROUPS_INPUT = Schema.collection(
7716
8181
 
7717
8182
  ],
7718
8183
  members={
7719
- "workspace_id": {
7720
- "target": STRING,
8184
+ "count": {
8185
+ "target": INTEGER,
7721
8186
  "index": 0,
7722
8187
  "traits": [
7723
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
7724
- Trait.new(id=ShapeID("smithy.api#required")),
8188
+ Trait.new(id=ShapeID("smithy.api#httpQuery"), value="count"),
7725
8189
 
7726
8190
  ],
7727
8191
  },
7728
8192
 
7729
- "org_id": {
7730
- "target": STRING,
8193
+ "page": {
8194
+ "target": INTEGER,
7731
8195
  "index": 1,
7732
8196
  "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")),
8197
+ Trait.new(id=ShapeID("smithy.api#httpQuery"), value="page"),
7736
8198
 
7737
8199
  ],
7738
8200
  },
7739
8201
 
7740
- "page": {
7741
- "target": LONG,
8202
+ "all": {
8203
+ "target": BOOLEAN,
7742
8204
  "index": 2,
7743
8205
  "traits": [
7744
- Trait.new(id=ShapeID("smithy.api#notProperty")),
7745
- Trait.new(id=ShapeID("smithy.api#httpQuery"), value="page"),
8206
+ Trait.new(id=ShapeID("smithy.api#httpQuery"), value="all"),
7746
8207
 
7747
8208
  ],
7748
8209
  },
7749
8210
 
7750
- "count": {
7751
- "target": LONG,
8211
+ "workspace_id": {
8212
+ "target": STRING,
7752
8213
  "index": 3,
7753
8214
  "traits": [
7754
- Trait.new(id=ShapeID("smithy.api#notProperty")),
7755
- Trait.new(id=ShapeID("smithy.api#httpQuery"), value="count"),
8215
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
8216
+ Trait.new(id=ShapeID("smithy.api#required")),
7756
8217
 
7757
8218
  ],
7758
8219
  },
7759
8220
 
7760
- "name": {
8221
+ "org_id": {
7761
8222
  "target": STRING,
7762
8223
  "index": 4,
8224
+ "traits": [
8225
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
8226
+ Trait.new(id=ShapeID("smithy.api#required")),
8227
+
8228
+ ],
8229
+ },
8230
+
8231
+ "name": {
8232
+ "target": STRING,
8233
+ "index": 5,
7763
8234
  "traits": [
7764
8235
  Trait.new(id=ShapeID("smithy.api#httpQuery"), value="name"),
7765
8236
 
@@ -7768,7 +8239,7 @@ LIST_EXPERIMENT_GROUPS_INPUT = Schema.collection(
7768
8239
 
7769
8240
  "created_by": {
7770
8241
  "target": STRING,
7771
- "index": 5,
8242
+ "index": 6,
7772
8243
  "traits": [
7773
8244
  Trait.new(id=ShapeID("smithy.api#httpQuery"), value="created_by"),
7774
8245
 
@@ -7777,7 +8248,7 @@ LIST_EXPERIMENT_GROUPS_INPUT = Schema.collection(
7777
8248
 
7778
8249
  "last_modified_by": {
7779
8250
  "target": STRING,
7780
- "index": 6,
8251
+ "index": 7,
7781
8252
  "traits": [
7782
8253
  Trait.new(id=ShapeID("smithy.api#httpQuery"), value="last_modified_by"),
7783
8254
 
@@ -7786,7 +8257,7 @@ LIST_EXPERIMENT_GROUPS_INPUT = Schema.collection(
7786
8257
 
7787
8258
  "sort_on": {
7788
8259
  "target": EXPERIMENT_GROUP_SORT_ON,
7789
- "index": 7,
8260
+ "index": 8,
7790
8261
  "traits": [
7791
8262
  Trait.new(id=ShapeID("smithy.api#notProperty")),
7792
8263
  Trait.new(id=ShapeID("smithy.api#httpQuery"), value="sort_on"),
@@ -7796,20 +8267,10 @@ LIST_EXPERIMENT_GROUPS_INPUT = Schema.collection(
7796
8267
 
7797
8268
  "sort_by": {
7798
8269
  "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
8270
  "index": 9,
7810
8271
  "traits": [
7811
8272
  Trait.new(id=ShapeID("smithy.api#notProperty")),
7812
- Trait.new(id=ShapeID("smithy.api#httpQuery"), value="all"),
8273
+ Trait.new(id=ShapeID("smithy.api#httpQuery"), value="sort_by"),
7813
8274
 
7814
8275
  ],
7815
8276
  },
@@ -7979,39 +8440,23 @@ LIST_EXPERIMENT_GROUPS_OUTPUT = Schema.collection(
7979
8440
  id=ShapeID("io.superposition#ListExperimentGroupsOutput"),
7980
8441
 
7981
8442
  traits=[
7982
- Trait.new(id=ShapeID("smithy.synthetic#originalShapeId"), value="io.superposition#ListExperimentGroupsResponse"),
7983
8443
  Trait.new(id=ShapeID("smithy.api#output")),
7984
8444
 
7985
8445
  ],
7986
8446
  members={
7987
8447
  "total_pages": {
7988
- "target": LONG,
8448
+ "target": INTEGER,
7989
8449
  "index": 0,
7990
- "traits": [
7991
- Trait.new(id=ShapeID("smithy.api#notProperty")),
7992
- Trait.new(id=ShapeID("smithy.api#required")),
7993
-
7994
- ],
7995
8450
  },
7996
8451
 
7997
8452
  "total_items": {
7998
- "target": LONG,
8453
+ "target": INTEGER,
7999
8454
  "index": 1,
8000
- "traits": [
8001
- Trait.new(id=ShapeID("smithy.api#notProperty")),
8002
- Trait.new(id=ShapeID("smithy.api#required")),
8003
-
8004
- ],
8005
8455
  },
8006
8456
 
8007
8457
  "data": {
8008
8458
  "target": EXPERIMENT_GROUP_LIST,
8009
8459
  "index": 2,
8010
- "traits": [
8011
- Trait.new(id=ShapeID("smithy.api#notProperty")),
8012
- Trait.new(id=ShapeID("smithy.api#required")),
8013
-
8014
- ],
8015
8460
  },
8016
8461
 
8017
8462
  }
@@ -8021,6 +8466,9 @@ LIST_EXPERIMENT_GROUPS = Schema(
8021
8466
  id=ShapeID("io.superposition#ListExperimentGroups"),
8022
8467
  shape_type=ShapeType.OPERATION,
8023
8468
  traits=[
8469
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
8470
+ "Experiment Groups",
8471
+ )),
8024
8472
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
8025
8473
  "method": "GET",
8026
8474
  "uri": "/experiment-groups",
@@ -8044,7 +8492,7 @@ REMOVE_MEMBERS_FROM_GROUP_INPUT = Schema.collection(
8044
8492
  "target": STRING,
8045
8493
  "index": 0,
8046
8494
  "traits": [
8047
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
8495
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
8048
8496
  Trait.new(id=ShapeID("smithy.api#required")),
8049
8497
 
8050
8498
  ],
@@ -8054,7 +8502,6 @@ REMOVE_MEMBERS_FROM_GROUP_INPUT = Schema.collection(
8054
8502
  "target": STRING,
8055
8503
  "index": 1,
8056
8504
  "traits": [
8057
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
8058
8505
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
8059
8506
  Trait.new(id=ShapeID("smithy.api#required")),
8060
8507
 
@@ -8238,6 +8685,9 @@ REMOVE_MEMBERS_FROM_GROUP = Schema(
8238
8685
  id=ShapeID("io.superposition#RemoveMembersFromGroup"),
8239
8686
  shape_type=ShapeType.OPERATION,
8240
8687
  traits=[
8688
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
8689
+ "Experiment Groups",
8690
+ )),
8241
8691
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
8242
8692
  "method": "PATCH",
8243
8693
  "uri": "/experiment-groups/{id}/remove-members",
@@ -8260,7 +8710,7 @@ UPDATE_EXPERIMENT_GROUP_INPUT = Schema.collection(
8260
8710
  "target": STRING,
8261
8711
  "index": 0,
8262
8712
  "traits": [
8263
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
8713
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
8264
8714
  Trait.new(id=ShapeID("smithy.api#required")),
8265
8715
 
8266
8716
  ],
@@ -8270,7 +8720,6 @@ UPDATE_EXPERIMENT_GROUP_INPUT = Schema.collection(
8270
8720
  "target": STRING,
8271
8721
  "index": 1,
8272
8722
  "traits": [
8273
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
8274
8723
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
8275
8724
  Trait.new(id=ShapeID("smithy.api#required")),
8276
8725
 
@@ -8462,6 +8911,10 @@ UPDATE_EXPERIMENT_GROUP = Schema(
8462
8911
  id=ShapeID("io.superposition#UpdateExperimentGroup"),
8463
8912
  shape_type=ShapeType.OPERATION,
8464
8913
  traits=[
8914
+ Trait.new(id=ShapeID("smithy.api#idempotent")),
8915
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
8916
+ "Experiment Groups",
8917
+ )),
8465
8918
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
8466
8919
  "method": "PATCH",
8467
8920
  "uri": "/experiment-groups/{id}",
@@ -8658,7 +9111,7 @@ GET_EXPERIMENT_INPUT = Schema.collection(
8658
9111
  "target": STRING,
8659
9112
  "index": 0,
8660
9113
  "traits": [
8661
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
9114
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
8662
9115
  Trait.new(id=ShapeID("smithy.api#required")),
8663
9116
 
8664
9117
  ],
@@ -8668,7 +9121,6 @@ GET_EXPERIMENT_INPUT = Schema.collection(
8668
9121
  "target": STRING,
8669
9122
  "index": 1,
8670
9123
  "traits": [
8671
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
8672
9124
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
8673
9125
  Trait.new(id=ShapeID("smithy.api#required")),
8674
9126
 
@@ -8860,6 +9312,9 @@ GET_EXPERIMENT = Schema(
8860
9312
  id=ShapeID("io.superposition#GetExperiment"),
8861
9313
  shape_type=ShapeType.OPERATION,
8862
9314
  traits=[
9315
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
9316
+ "Experimentation",
9317
+ )),
8863
9318
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
8864
9319
  "method": "GET",
8865
9320
  "uri": "/experiments/{id}",
@@ -8903,53 +9358,49 @@ LIST_EXPERIMENT_INPUT = Schema.collection(
8903
9358
 
8904
9359
  ],
8905
9360
  members={
8906
- "workspace_id": {
8907
- "target": STRING,
9361
+ "count": {
9362
+ "target": INTEGER,
8908
9363
  "index": 0,
8909
9364
  "traits": [
8910
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
8911
- Trait.new(id=ShapeID("smithy.api#required")),
9365
+ Trait.new(id=ShapeID("smithy.api#httpQuery"), value="count"),
8912
9366
 
8913
9367
  ],
8914
9368
  },
8915
9369
 
8916
- "org_id": {
8917
- "target": STRING,
9370
+ "page": {
9371
+ "target": INTEGER,
8918
9372
  "index": 1,
8919
9373
  "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")),
9374
+ Trait.new(id=ShapeID("smithy.api#httpQuery"), value="page"),
8923
9375
 
8924
9376
  ],
8925
9377
  },
8926
9378
 
8927
- "page": {
8928
- "target": LONG,
9379
+ "all": {
9380
+ "target": BOOLEAN,
8929
9381
  "index": 2,
8930
9382
  "traits": [
8931
- Trait.new(id=ShapeID("smithy.api#notProperty")),
8932
- Trait.new(id=ShapeID("smithy.api#httpQuery"), value="page"),
9383
+ Trait.new(id=ShapeID("smithy.api#httpQuery"), value="all"),
8933
9384
 
8934
9385
  ],
8935
9386
  },
8936
9387
 
8937
- "count": {
8938
- "target": LONG,
9388
+ "workspace_id": {
9389
+ "target": STRING,
8939
9390
  "index": 3,
8940
9391
  "traits": [
8941
- Trait.new(id=ShapeID("smithy.api#notProperty")),
8942
- Trait.new(id=ShapeID("smithy.api#httpQuery"), value="count"),
9392
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
9393
+ Trait.new(id=ShapeID("smithy.api#required")),
8943
9394
 
8944
9395
  ],
8945
9396
  },
8946
9397
 
8947
- "all": {
8948
- "target": BOOLEAN,
9398
+ "org_id": {
9399
+ "target": STRING,
8949
9400
  "index": 4,
8950
9401
  "traits": [
8951
- Trait.new(id=ShapeID("smithy.api#notProperty")),
8952
- Trait.new(id=ShapeID("smithy.api#httpQuery"), value="all"),
9402
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
9403
+ Trait.new(id=ShapeID("smithy.api#required")),
8953
9404
 
8954
9405
  ],
8955
9406
  },
@@ -9070,39 +9521,23 @@ LIST_EXPERIMENT_OUTPUT = Schema.collection(
9070
9521
  id=ShapeID("io.superposition#ListExperimentOutput"),
9071
9522
 
9072
9523
  traits=[
9073
- Trait.new(id=ShapeID("smithy.synthetic#originalShapeId"), value="io.superposition#ExperimentListResponse"),
9074
9524
  Trait.new(id=ShapeID("smithy.api#output")),
9075
9525
 
9076
9526
  ],
9077
9527
  members={
9078
9528
  "total_pages": {
9079
- "target": LONG,
9529
+ "target": INTEGER,
9080
9530
  "index": 0,
9081
- "traits": [
9082
- Trait.new(id=ShapeID("smithy.api#notProperty")),
9083
- Trait.new(id=ShapeID("smithy.api#required")),
9084
-
9085
- ],
9086
9531
  },
9087
9532
 
9088
9533
  "total_items": {
9089
- "target": LONG,
9534
+ "target": INTEGER,
9090
9535
  "index": 1,
9091
- "traits": [
9092
- Trait.new(id=ShapeID("smithy.api#notProperty")),
9093
- Trait.new(id=ShapeID("smithy.api#required")),
9094
-
9095
- ],
9096
9536
  },
9097
9537
 
9098
9538
  "data": {
9099
9539
  "target": EXPERIMENT_LIST,
9100
9540
  "index": 2,
9101
- "traits": [
9102
- Trait.new(id=ShapeID("smithy.api#notProperty")),
9103
- Trait.new(id=ShapeID("smithy.api#required")),
9104
-
9105
- ],
9106
9541
  },
9107
9542
 
9108
9543
  }
@@ -9112,6 +9547,9 @@ LIST_EXPERIMENT = Schema(
9112
9547
  id=ShapeID("io.superposition#ListExperiment"),
9113
9548
  shape_type=ShapeType.OPERATION,
9114
9549
  traits=[
9550
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
9551
+ "Experimentation",
9552
+ )),
9115
9553
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
9116
9554
  "method": "GET",
9117
9555
  "uri": "/experiments",
@@ -9134,7 +9572,7 @@ PAUSE_EXPERIMENT_INPUT = Schema.collection(
9134
9572
  "target": STRING,
9135
9573
  "index": 0,
9136
9574
  "traits": [
9137
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
9575
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
9138
9576
  Trait.new(id=ShapeID("smithy.api#required")),
9139
9577
 
9140
9578
  ],
@@ -9144,7 +9582,6 @@ PAUSE_EXPERIMENT_INPUT = Schema.collection(
9144
9582
  "target": STRING,
9145
9583
  "index": 1,
9146
9584
  "traits": [
9147
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
9148
9585
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
9149
9586
  Trait.new(id=ShapeID("smithy.api#required")),
9150
9587
 
@@ -9346,6 +9783,9 @@ PAUSE_EXPERIMENT = Schema(
9346
9783
  shape_type=ShapeType.OPERATION,
9347
9784
  traits=[
9348
9785
  Trait.new(id=ShapeID("smithy.api#idempotent")),
9786
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
9787
+ "Experimentation",
9788
+ )),
9349
9789
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
9350
9790
  "method": "PATCH",
9351
9791
  "uri": "/experiments/{id}/pause",
@@ -9367,7 +9807,7 @@ RAMP_EXPERIMENT_INPUT = Schema.collection(
9367
9807
  "target": STRING,
9368
9808
  "index": 0,
9369
9809
  "traits": [
9370
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
9810
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
9371
9811
  Trait.new(id=ShapeID("smithy.api#required")),
9372
9812
 
9373
9813
  ],
@@ -9377,7 +9817,6 @@ RAMP_EXPERIMENT_INPUT = Schema.collection(
9377
9817
  "target": STRING,
9378
9818
  "index": 1,
9379
9819
  "traits": [
9380
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
9381
9820
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
9382
9821
  Trait.new(id=ShapeID("smithy.api#required")),
9383
9822
 
@@ -9588,6 +10027,9 @@ RAMP_EXPERIMENT = Schema(
9588
10027
  shape_type=ShapeType.OPERATION,
9589
10028
  traits=[
9590
10029
  Trait.new(id=ShapeID("smithy.api#idempotent")),
10030
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
10031
+ "Experimentation",
10032
+ )),
9591
10033
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
9592
10034
  "method": "PATCH",
9593
10035
  "uri": "/experiments/{id}/ramp",
@@ -9609,7 +10051,7 @@ RESUME_EXPERIMENT_INPUT = Schema.collection(
9609
10051
  "target": STRING,
9610
10052
  "index": 0,
9611
10053
  "traits": [
9612
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
10054
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
9613
10055
  Trait.new(id=ShapeID("smithy.api#required")),
9614
10056
 
9615
10057
  ],
@@ -9619,7 +10061,6 @@ RESUME_EXPERIMENT_INPUT = Schema.collection(
9619
10061
  "target": STRING,
9620
10062
  "index": 1,
9621
10063
  "traits": [
9622
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
9623
10064
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
9624
10065
  Trait.new(id=ShapeID("smithy.api#required")),
9625
10066
 
@@ -9821,6 +10262,9 @@ RESUME_EXPERIMENT = Schema(
9821
10262
  shape_type=ShapeType.OPERATION,
9822
10263
  traits=[
9823
10264
  Trait.new(id=ShapeID("smithy.api#idempotent")),
10265
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
10266
+ "Experimentation",
10267
+ )),
9824
10268
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
9825
10269
  "method": "PATCH",
9826
10270
  "uri": "/experiments/{id}/resume",
@@ -9880,7 +10324,7 @@ UPDATE_OVERRIDES_EXPERIMENT_INPUT = Schema.collection(
9880
10324
  "target": STRING,
9881
10325
  "index": 0,
9882
10326
  "traits": [
9883
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
10327
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
9884
10328
  Trait.new(id=ShapeID("smithy.api#required")),
9885
10329
 
9886
10330
  ],
@@ -9890,7 +10334,6 @@ UPDATE_OVERRIDES_EXPERIMENT_INPUT = Schema.collection(
9890
10334
  "target": STRING,
9891
10335
  "index": 1,
9892
10336
  "traits": [
9893
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
9894
10337
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
9895
10338
  Trait.new(id=ShapeID("smithy.api#required")),
9896
10339
 
@@ -10116,8 +10559,11 @@ UPDATE_OVERRIDES_EXPERIMENT = Schema(
10116
10559
  id=ShapeID("io.superposition#UpdateOverridesExperiment"),
10117
10560
  shape_type=ShapeType.OPERATION,
10118
10561
  traits=[
10562
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
10563
+ "Experimentation",
10564
+ )),
10119
10565
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
10120
- "method": "PUT",
10566
+ "method": "PATCH",
10121
10567
  "uri": "/experiments/{id}/overrides",
10122
10568
  })),
10123
10569
 
@@ -10137,7 +10583,7 @@ GET_FUNCTION_INPUT = Schema.collection(
10137
10583
  "target": STRING,
10138
10584
  "index": 0,
10139
10585
  "traits": [
10140
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
10586
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
10141
10587
  Trait.new(id=ShapeID("smithy.api#required")),
10142
10588
 
10143
10589
  ],
@@ -10147,7 +10593,6 @@ GET_FUNCTION_INPUT = Schema.collection(
10147
10593
  "target": STRING,
10148
10594
  "index": 1,
10149
10595
  "traits": [
10150
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
10151
10596
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
10152
10597
  Trait.new(id=ShapeID("smithy.api#required")),
10153
10598
 
@@ -10293,6 +10738,9 @@ GET_FUNCTION = Schema(
10293
10738
  id=ShapeID("io.superposition#GetFunction"),
10294
10739
  shape_type=ShapeType.OPERATION,
10295
10740
  traits=[
10741
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
10742
+ "Functions",
10743
+ )),
10296
10744
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
10297
10745
  "method": "GET",
10298
10746
  "uri": "/function/{function_name}",
@@ -10342,7 +10790,7 @@ LIST_FUNCTION_INPUT = Schema.collection(
10342
10790
  "target": STRING,
10343
10791
  "index": 3,
10344
10792
  "traits": [
10345
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
10793
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
10346
10794
  Trait.new(id=ShapeID("smithy.api#required")),
10347
10795
 
10348
10796
  ],
@@ -10352,7 +10800,6 @@ LIST_FUNCTION_INPUT = Schema.collection(
10352
10800
  "target": STRING,
10353
10801
  "index": 4,
10354
10802
  "traits": [
10355
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
10356
10803
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
10357
10804
  Trait.new(id=ShapeID("smithy.api#required")),
10358
10805
 
@@ -10521,6 +10968,9 @@ LIST_FUNCTION = Schema(
10521
10968
  id=ShapeID("io.superposition#ListFunction"),
10522
10969
  shape_type=ShapeType.OPERATION,
10523
10970
  traits=[
10971
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
10972
+ "Functions",
10973
+ )),
10524
10974
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
10525
10975
  "method": "GET",
10526
10976
  "uri": "/function",
@@ -10543,7 +10993,7 @@ PUBLISH_INPUT = Schema.collection(
10543
10993
  "target": STRING,
10544
10994
  "index": 0,
10545
10995
  "traits": [
10546
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
10996
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
10547
10997
  Trait.new(id=ShapeID("smithy.api#required")),
10548
10998
 
10549
10999
  ],
@@ -10553,7 +11003,6 @@ PUBLISH_INPUT = Schema.collection(
10553
11003
  "target": STRING,
10554
11004
  "index": 1,
10555
11005
  "traits": [
10556
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
10557
11006
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
10558
11007
  Trait.new(id=ShapeID("smithy.api#required")),
10559
11008
 
@@ -10709,6 +11158,9 @@ PUBLISH = Schema(
10709
11158
  shape_type=ShapeType.OPERATION,
10710
11159
  traits=[
10711
11160
  Trait.new(id=ShapeID("smithy.api#idempotent")),
11161
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
11162
+ "Functions",
11163
+ )),
10712
11164
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
10713
11165
  "method": "PATCH",
10714
11166
  "uri": "/function/{function_name}/publish",
@@ -10789,7 +11241,7 @@ TEST_INPUT = Schema.collection(
10789
11241
  "target": STRING,
10790
11242
  "index": 0,
10791
11243
  "traits": [
10792
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
11244
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
10793
11245
  Trait.new(id=ShapeID("smithy.api#required")),
10794
11246
 
10795
11247
  ],
@@ -10799,7 +11251,6 @@ TEST_INPUT = Schema.collection(
10799
11251
  "target": STRING,
10800
11252
  "index": 1,
10801
11253
  "traits": [
10802
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
10803
11254
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
10804
11255
  Trait.new(id=ShapeID("smithy.api#required")),
10805
11256
 
@@ -10888,6 +11339,9 @@ TEST = Schema(
10888
11339
  shape_type=ShapeType.OPERATION,
10889
11340
  traits=[
10890
11341
  Trait.new(id=ShapeID("smithy.api#idempotent")),
11342
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
11343
+ "Functions",
11344
+ )),
10891
11345
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
10892
11346
  "method": "POST",
10893
11347
  "uri": "/function/{function_name}/{stage}/test",
@@ -10910,7 +11364,7 @@ UPDATE_FUNCTION_INPUT = Schema.collection(
10910
11364
  "target": STRING,
10911
11365
  "index": 0,
10912
11366
  "traits": [
10913
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
11367
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
10914
11368
  Trait.new(id=ShapeID("smithy.api#required")),
10915
11369
 
10916
11370
  ],
@@ -10920,7 +11374,6 @@ UPDATE_FUNCTION_INPUT = Schema.collection(
10920
11374
  "target": STRING,
10921
11375
  "index": 1,
10922
11376
  "traits": [
10923
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
10924
11377
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
10925
11378
  Trait.new(id=ShapeID("smithy.api#required")),
10926
11379
 
@@ -11101,6 +11554,9 @@ UPDATE_FUNCTION = Schema(
11101
11554
  shape_type=ShapeType.OPERATION,
11102
11555
  traits=[
11103
11556
  Trait.new(id=ShapeID("smithy.api#idempotent")),
11557
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
11558
+ "Functions",
11559
+ )),
11104
11560
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
11105
11561
  "method": "PATCH",
11106
11562
  "uri": "/function/{function_name}",
@@ -11235,21 +11691,13 @@ GET_ORGANISATION_OUTPUT = Schema.collection(
11235
11691
  }
11236
11692
  )
11237
11693
 
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
11694
  GET_ORGANISATION = Schema(
11250
11695
  id=ShapeID("io.superposition#GetOrganisation"),
11251
11696
  shape_type=ShapeType.OPERATION,
11252
11697
  traits=[
11698
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
11699
+ "Organisation Management",
11700
+ )),
11253
11701
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
11254
11702
  "method": "GET",
11255
11703
  "uri": "/superposition/organisations/{id}",
@@ -11260,58 +11708,40 @@ GET_ORGANISATION = Schema(
11260
11708
 
11261
11709
  )
11262
11710
 
11263
- GET_TYPE_TEMPLATES_LIST_INPUT = Schema.collection(
11264
- id=ShapeID("io.superposition#GetTypeTemplatesListInput"),
11711
+ GET_TYPE_TEMPLATE_INPUT = Schema.collection(
11712
+ id=ShapeID("io.superposition#GetTypeTemplateInput"),
11265
11713
 
11266
11714
  traits=[
11267
11715
  Trait.new(id=ShapeID("smithy.api#input")),
11268
11716
 
11269
11717
  ],
11270
11718
  members={
11271
- "count": {
11272
- "target": INTEGER,
11719
+ "workspace_id": {
11720
+ "target": STRING,
11273
11721
  "index": 0,
11274
11722
  "traits": [
11275
- Trait.new(id=ShapeID("smithy.api#httpQuery"), value="count"),
11276
-
11277
- ],
11278
- },
11279
-
11280
- "page": {
11281
- "target": INTEGER,
11282
- "index": 1,
11283
- "traits": [
11284
- Trait.new(id=ShapeID("smithy.api#httpQuery"), value="page"),
11285
-
11286
- ],
11287
- },
11288
-
11289
- "all": {
11290
- "target": BOOLEAN,
11291
- "index": 2,
11292
- "traits": [
11293
- Trait.new(id=ShapeID("smithy.api#httpQuery"), value="all"),
11723
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
11724
+ Trait.new(id=ShapeID("smithy.api#required")),
11294
11725
 
11295
11726
  ],
11296
11727
  },
11297
11728
 
11298
- "workspace_id": {
11729
+ "org_id": {
11299
11730
  "target": STRING,
11300
- "index": 3,
11731
+ "index": 1,
11301
11732
  "traits": [
11302
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
11733
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
11303
11734
  Trait.new(id=ShapeID("smithy.api#required")),
11304
11735
 
11305
11736
  ],
11306
11737
  },
11307
11738
 
11308
- "org_id": {
11739
+ "type_name": {
11309
11740
  "target": STRING,
11310
- "index": 4,
11741
+ "index": 2,
11311
11742
  "traits": [
11312
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
11313
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
11314
11743
  Trait.new(id=ShapeID("smithy.api#required")),
11744
+ Trait.new(id=ShapeID("smithy.api#httpLabel")),
11315
11745
 
11316
11746
  ],
11317
11747
  },
@@ -11319,9 +11749,14 @@ GET_TYPE_TEMPLATES_LIST_INPUT = Schema.collection(
11319
11749
  }
11320
11750
  )
11321
11751
 
11322
- TYPE_TEMPLATES_RESPONSE = Schema.collection(
11323
- id=ShapeID("io.superposition#TypeTemplatesResponse"),
11752
+ GET_TYPE_TEMPLATE_OUTPUT = Schema.collection(
11753
+ id=ShapeID("io.superposition#GetTypeTemplateOutput"),
11754
+
11755
+ traits=[
11756
+ Trait.new(id=ShapeID("smithy.synthetic#originalShapeId"), value="io.superposition#TypeTemplatesResponse"),
11757
+ Trait.new(id=ShapeID("smithy.api#output")),
11324
11758
 
11759
+ ],
11325
11760
  members={
11326
11761
  "type_name": {
11327
11762
  "target": STRING,
@@ -11398,13 +11833,167 @@ TYPE_TEMPLATES_RESPONSE = Schema.collection(
11398
11833
  }
11399
11834
  )
11400
11835
 
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,
11836
+ GET_TYPE_TEMPLATE = Schema(
11837
+ id=ShapeID("io.superposition#GetTypeTemplate"),
11838
+ shape_type=ShapeType.OPERATION,
11839
+ traits=[
11840
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
11841
+ "Type Templates",
11842
+ )),
11843
+ Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
11844
+ "method": "GET",
11845
+ "uri": "/types/{type_name}",
11846
+ })),
11847
+ Trait.new(id=ShapeID("smithy.api#readonly")),
11848
+
11849
+ ],
11850
+
11851
+ )
11852
+
11853
+ GET_TYPE_TEMPLATES_LIST_INPUT = Schema.collection(
11854
+ id=ShapeID("io.superposition#GetTypeTemplatesListInput"),
11855
+
11856
+ traits=[
11857
+ Trait.new(id=ShapeID("smithy.api#input")),
11858
+
11859
+ ],
11860
+ members={
11861
+ "count": {
11862
+ "target": INTEGER,
11863
+ "index": 0,
11864
+ "traits": [
11865
+ Trait.new(id=ShapeID("smithy.api#httpQuery"), value="count"),
11866
+
11867
+ ],
11868
+ },
11869
+
11870
+ "page": {
11871
+ "target": INTEGER,
11872
+ "index": 1,
11873
+ "traits": [
11874
+ Trait.new(id=ShapeID("smithy.api#httpQuery"), value="page"),
11875
+
11876
+ ],
11877
+ },
11878
+
11879
+ "all": {
11880
+ "target": BOOLEAN,
11881
+ "index": 2,
11882
+ "traits": [
11883
+ Trait.new(id=ShapeID("smithy.api#httpQuery"), value="all"),
11884
+
11885
+ ],
11886
+ },
11887
+
11888
+ "workspace_id": {
11889
+ "target": STRING,
11890
+ "index": 3,
11891
+ "traits": [
11892
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
11893
+ Trait.new(id=ShapeID("smithy.api#required")),
11894
+
11895
+ ],
11896
+ },
11897
+
11898
+ "org_id": {
11899
+ "target": STRING,
11900
+ "index": 4,
11901
+ "traits": [
11902
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
11903
+ Trait.new(id=ShapeID("smithy.api#required")),
11904
+
11905
+ ],
11906
+ },
11907
+
11908
+ }
11909
+ )
11910
+
11911
+ TYPE_TEMPLATES_RESPONSE = Schema.collection(
11912
+ id=ShapeID("io.superposition#TypeTemplatesResponse"),
11913
+
11914
+ members={
11915
+ "type_name": {
11916
+ "target": STRING,
11917
+ "index": 0,
11918
+ "traits": [
11919
+ Trait.new(id=ShapeID("smithy.api#required")),
11920
+
11921
+ ],
11922
+ },
11923
+
11924
+ "type_schema": {
11925
+ "target": OBJECT,
11926
+ "index": 1,
11927
+ "traits": [
11928
+ Trait.new(id=ShapeID("smithy.api#required")),
11929
+
11930
+ ],
11931
+ },
11932
+
11933
+ "description": {
11934
+ "target": STRING,
11935
+ "index": 2,
11936
+ "traits": [
11937
+ Trait.new(id=ShapeID("smithy.api#required")),
11938
+
11939
+ ],
11940
+ },
11941
+
11942
+ "change_reason": {
11943
+ "target": STRING,
11944
+ "index": 3,
11945
+ "traits": [
11946
+ Trait.new(id=ShapeID("smithy.api#required")),
11947
+
11948
+ ],
11949
+ },
11950
+
11951
+ "created_by": {
11952
+ "target": STRING,
11953
+ "index": 4,
11954
+ "traits": [
11955
+ Trait.new(id=ShapeID("smithy.api#required")),
11956
+
11957
+ ],
11958
+ },
11959
+
11960
+ "created_at": {
11961
+ "target": DATE_TIME,
11962
+ "index": 5,
11963
+ "traits": [
11964
+ Trait.new(id=ShapeID("smithy.api#required")),
11965
+
11966
+ ],
11967
+ },
11968
+
11969
+ "last_modified_at": {
11970
+ "target": DATE_TIME,
11971
+ "index": 6,
11972
+ "traits": [
11973
+ Trait.new(id=ShapeID("smithy.api#required")),
11974
+
11975
+ ],
11976
+ },
11977
+
11978
+ "last_modified_by": {
11979
+ "target": STRING,
11980
+ "index": 7,
11981
+ "traits": [
11982
+ Trait.new(id=ShapeID("smithy.api#required")),
11983
+
11984
+ ],
11985
+ },
11986
+
11987
+ }
11988
+ )
11989
+
11990
+ TYPE_TEMPLATES_LIST = Schema.collection(
11991
+ id=ShapeID("io.superposition#TypeTemplatesList"),
11992
+ shape_type=ShapeType.LIST,
11993
+ members={
11994
+ "member": {
11995
+ "target": TYPE_TEMPLATES_RESPONSE,
11996
+ "index": 0,
11408
11997
  },
11409
11998
 
11410
11999
  }
@@ -11428,21 +12017,221 @@ GET_TYPE_TEMPLATES_LIST_OUTPUT = Schema.collection(
11428
12017
  "index": 1,
11429
12018
  },
11430
12019
 
11431
- "data": {
11432
- "target": TYPE_TEMPLATES_LIST,
11433
- "index": 2,
12020
+ "data": {
12021
+ "target": TYPE_TEMPLATES_LIST,
12022
+ "index": 2,
12023
+ },
12024
+
12025
+ }
12026
+ )
12027
+
12028
+ GET_TYPE_TEMPLATES_LIST = Schema(
12029
+ id=ShapeID("io.superposition#GetTypeTemplatesList"),
12030
+ shape_type=ShapeType.OPERATION,
12031
+ traits=[
12032
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
12033
+ "Type Templates",
12034
+ )),
12035
+ Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
12036
+ "method": "GET",
12037
+ "uri": "/types",
12038
+ })),
12039
+ Trait.new(id=ShapeID("smithy.api#readonly")),
12040
+
12041
+ ],
12042
+
12043
+ )
12044
+
12045
+ GET_WEBHOOK_INPUT = Schema.collection(
12046
+ id=ShapeID("io.superposition#GetWebhookInput"),
12047
+
12048
+ traits=[
12049
+ Trait.new(id=ShapeID("smithy.api#input")),
12050
+
12051
+ ],
12052
+ members={
12053
+ "workspace_id": {
12054
+ "target": STRING,
12055
+ "index": 0,
12056
+ "traits": [
12057
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
12058
+ Trait.new(id=ShapeID("smithy.api#required")),
12059
+
12060
+ ],
12061
+ },
12062
+
12063
+ "org_id": {
12064
+ "target": STRING,
12065
+ "index": 1,
12066
+ "traits": [
12067
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
12068
+ Trait.new(id=ShapeID("smithy.api#required")),
12069
+
12070
+ ],
12071
+ },
12072
+
12073
+ "name": {
12074
+ "target": STRING,
12075
+ "index": 2,
12076
+ "traits": [
12077
+ Trait.new(id=ShapeID("smithy.api#required")),
12078
+ Trait.new(id=ShapeID("smithy.api#httpLabel")),
12079
+
12080
+ ],
12081
+ },
12082
+
12083
+ }
12084
+ )
12085
+
12086
+ GET_WEBHOOK_OUTPUT = Schema.collection(
12087
+ id=ShapeID("io.superposition#GetWebhookOutput"),
12088
+
12089
+ traits=[
12090
+ Trait.new(id=ShapeID("smithy.synthetic#originalShapeId"), value="io.superposition#WebhookResponse"),
12091
+ Trait.new(id=ShapeID("smithy.api#output")),
12092
+
12093
+ ],
12094
+ members={
12095
+ "name": {
12096
+ "target": STRING,
12097
+ "index": 0,
12098
+ "traits": [
12099
+ Trait.new(id=ShapeID("smithy.api#required")),
12100
+
12101
+ ],
12102
+ },
12103
+
12104
+ "description": {
12105
+ "target": STRING,
12106
+ "index": 1,
12107
+ "traits": [
12108
+ Trait.new(id=ShapeID("smithy.api#required")),
12109
+
12110
+ ],
12111
+ },
12112
+
12113
+ "enabled": {
12114
+ "target": BOOLEAN,
12115
+ "index": 2,
12116
+ "traits": [
12117
+ Trait.new(id=ShapeID("smithy.api#required")),
12118
+
12119
+ ],
12120
+ },
12121
+
12122
+ "url": {
12123
+ "target": STRING,
12124
+ "index": 3,
12125
+ "traits": [
12126
+ Trait.new(id=ShapeID("smithy.api#required")),
12127
+
12128
+ ],
12129
+ },
12130
+
12131
+ "method": {
12132
+ "target": HTTP_METHOD,
12133
+ "index": 4,
12134
+ "traits": [
12135
+ Trait.new(id=ShapeID("smithy.api#required")),
12136
+
12137
+ ],
12138
+ },
12139
+
12140
+ "version": {
12141
+ "target": VERSION,
12142
+ "index": 5,
12143
+ "traits": [
12144
+ Trait.new(id=ShapeID("smithy.api#required")),
12145
+
12146
+ ],
12147
+ },
12148
+
12149
+ "custom_headers": {
12150
+ "target": OBJECT,
12151
+ "index": 6,
12152
+ },
12153
+
12154
+ "events": {
12155
+ "target": EVENTS,
12156
+ "index": 7,
12157
+ "traits": [
12158
+ Trait.new(id=ShapeID("smithy.api#required")),
12159
+
12160
+ ],
12161
+ },
12162
+
12163
+ "max_retries": {
12164
+ "target": INTEGER,
12165
+ "index": 8,
12166
+ "traits": [
12167
+ Trait.new(id=ShapeID("smithy.api#required")),
12168
+
12169
+ ],
12170
+ },
12171
+
12172
+ "last_triggered_at": {
12173
+ "target": DATE_TIME,
12174
+ "index": 9,
12175
+ },
12176
+
12177
+ "change_reason": {
12178
+ "target": STRING,
12179
+ "index": 10,
12180
+ "traits": [
12181
+ Trait.new(id=ShapeID("smithy.api#required")),
12182
+
12183
+ ],
12184
+ },
12185
+
12186
+ "created_by": {
12187
+ "target": STRING,
12188
+ "index": 11,
12189
+ "traits": [
12190
+ Trait.new(id=ShapeID("smithy.api#required")),
12191
+
12192
+ ],
12193
+ },
12194
+
12195
+ "created_at": {
12196
+ "target": DATE_TIME,
12197
+ "index": 12,
12198
+ "traits": [
12199
+ Trait.new(id=ShapeID("smithy.api#required")),
12200
+
12201
+ ],
12202
+ },
12203
+
12204
+ "last_modified_by": {
12205
+ "target": STRING,
12206
+ "index": 13,
12207
+ "traits": [
12208
+ Trait.new(id=ShapeID("smithy.api#required")),
12209
+
12210
+ ],
12211
+ },
12212
+
12213
+ "last_modified_at": {
12214
+ "target": DATE_TIME,
12215
+ "index": 14,
12216
+ "traits": [
12217
+ Trait.new(id=ShapeID("smithy.api#required")),
12218
+
12219
+ ],
11434
12220
  },
11435
12221
 
11436
12222
  }
11437
12223
  )
11438
12224
 
11439
- GET_TYPE_TEMPLATES_LIST = Schema(
11440
- id=ShapeID("io.superposition#GetTypeTemplatesList"),
12225
+ GET_WEBHOOK = Schema(
12226
+ id=ShapeID("io.superposition#GetWebhook"),
11441
12227
  shape_type=ShapeType.OPERATION,
11442
12228
  traits=[
12229
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
12230
+ "Webhooks",
12231
+ )),
11443
12232
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
11444
12233
  "method": "GET",
11445
- "uri": "/types",
12234
+ "uri": "/webhook/{name}",
11446
12235
  })),
11447
12236
  Trait.new(id=ShapeID("smithy.api#readonly")),
11448
12237
 
@@ -11450,8 +12239,8 @@ GET_TYPE_TEMPLATES_LIST = Schema(
11450
12239
 
11451
12240
  )
11452
12241
 
11453
- GET_WEBHOOK_INPUT = Schema.collection(
11454
- id=ShapeID("io.superposition#GetWebhookInput"),
12242
+ GET_WEBHOOK_BY_EVENT_INPUT = Schema.collection(
12243
+ id=ShapeID("io.superposition#GetWebhookByEventInput"),
11455
12244
 
11456
12245
  traits=[
11457
12246
  Trait.new(id=ShapeID("smithy.api#input")),
@@ -11462,7 +12251,7 @@ GET_WEBHOOK_INPUT = Schema.collection(
11462
12251
  "target": STRING,
11463
12252
  "index": 0,
11464
12253
  "traits": [
11465
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
12254
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
11466
12255
  Trait.new(id=ShapeID("smithy.api#required")),
11467
12256
 
11468
12257
  ],
@@ -11472,17 +12261,17 @@ GET_WEBHOOK_INPUT = Schema.collection(
11472
12261
  "target": STRING,
11473
12262
  "index": 1,
11474
12263
  "traits": [
11475
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
11476
12264
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
11477
12265
  Trait.new(id=ShapeID("smithy.api#required")),
11478
12266
 
11479
12267
  ],
11480
12268
  },
11481
12269
 
11482
- "name": {
12270
+ "event": {
11483
12271
  "target": STRING,
11484
12272
  "index": 2,
11485
12273
  "traits": [
12274
+ Trait.new(id=ShapeID("smithy.api#notProperty")),
11486
12275
  Trait.new(id=ShapeID("smithy.api#required")),
11487
12276
  Trait.new(id=ShapeID("smithy.api#httpLabel")),
11488
12277
 
@@ -11492,8 +12281,8 @@ GET_WEBHOOK_INPUT = Schema.collection(
11492
12281
  }
11493
12282
  )
11494
12283
 
11495
- GET_WEBHOOK_OUTPUT = Schema.collection(
11496
- id=ShapeID("io.superposition#GetWebhookOutput"),
12284
+ GET_WEBHOOK_BY_EVENT_OUTPUT = Schema.collection(
12285
+ id=ShapeID("io.superposition#GetWebhookByEventOutput"),
11497
12286
 
11498
12287
  traits=[
11499
12288
  Trait.new(id=ShapeID("smithy.synthetic#originalShapeId"), value="io.superposition#WebhookResponse"),
@@ -11631,13 +12420,207 @@ GET_WEBHOOK_OUTPUT = Schema.collection(
11631
12420
  }
11632
12421
  )
11633
12422
 
11634
- GET_WEBHOOK = Schema(
11635
- id=ShapeID("io.superposition#GetWebhook"),
12423
+ GET_WEBHOOK_BY_EVENT = Schema(
12424
+ id=ShapeID("io.superposition#GetWebhookByEvent"),
11636
12425
  shape_type=ShapeType.OPERATION,
11637
12426
  traits=[
12427
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
12428
+ "Webhooks",
12429
+ )),
11638
12430
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
11639
12431
  "method": "GET",
11640
- "uri": "/webhook/{name}",
12432
+ "uri": "/webhook/event/{event}",
12433
+ })),
12434
+
12435
+ ],
12436
+
12437
+ )
12438
+
12439
+ GET_WORKSPACE_INPUT = Schema.collection(
12440
+ id=ShapeID("io.superposition#GetWorkspaceInput"),
12441
+
12442
+ traits=[
12443
+ Trait.new(id=ShapeID("smithy.api#input")),
12444
+
12445
+ ],
12446
+ members={
12447
+ "org_id": {
12448
+ "target": STRING,
12449
+ "index": 0,
12450
+ "traits": [
12451
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
12452
+ Trait.new(id=ShapeID("smithy.api#required")),
12453
+
12454
+ ],
12455
+ },
12456
+
12457
+ "workspace_name": {
12458
+ "target": STRING,
12459
+ "index": 1,
12460
+ "traits": [
12461
+ Trait.new(id=ShapeID("smithy.api#required")),
12462
+ Trait.new(id=ShapeID("smithy.api#httpLabel")),
12463
+
12464
+ ],
12465
+ },
12466
+
12467
+ }
12468
+ )
12469
+
12470
+ GET_WORKSPACE_OUTPUT = Schema.collection(
12471
+ id=ShapeID("io.superposition#GetWorkspaceOutput"),
12472
+
12473
+ traits=[
12474
+ Trait.new(id=ShapeID("smithy.synthetic#originalShapeId"), value="io.superposition#WorkspaceResponse"),
12475
+ Trait.new(id=ShapeID("smithy.api#output")),
12476
+
12477
+ ],
12478
+ members={
12479
+ "workspace_name": {
12480
+ "target": STRING,
12481
+ "index": 0,
12482
+ "traits": [
12483
+ Trait.new(id=ShapeID("smithy.api#required")),
12484
+
12485
+ ],
12486
+ },
12487
+
12488
+ "organisation_id": {
12489
+ "target": STRING,
12490
+ "index": 1,
12491
+ "traits": [
12492
+ Trait.new(id=ShapeID("smithy.api#required")),
12493
+
12494
+ ],
12495
+ },
12496
+
12497
+ "organisation_name": {
12498
+ "target": STRING,
12499
+ "index": 2,
12500
+ "traits": [
12501
+ Trait.new(id=ShapeID("smithy.api#required")),
12502
+
12503
+ ],
12504
+ },
12505
+
12506
+ "workspace_schema_name": {
12507
+ "target": STRING,
12508
+ "index": 3,
12509
+ "traits": [
12510
+ Trait.new(id=ShapeID("smithy.api#required")),
12511
+
12512
+ ],
12513
+ },
12514
+
12515
+ "workspace_status": {
12516
+ "target": WORKSPACE_STATUS,
12517
+ "index": 4,
12518
+ "traits": [
12519
+ Trait.new(id=ShapeID("smithy.api#required")),
12520
+
12521
+ ],
12522
+ },
12523
+
12524
+ "workspace_admin_email": {
12525
+ "target": STRING,
12526
+ "index": 5,
12527
+ "traits": [
12528
+ Trait.new(id=ShapeID("smithy.api#required")),
12529
+
12530
+ ],
12531
+ },
12532
+
12533
+ "config_version": {
12534
+ "target": STRING,
12535
+ "index": 6,
12536
+ },
12537
+
12538
+ "created_by": {
12539
+ "target": STRING,
12540
+ "index": 7,
12541
+ "traits": [
12542
+ Trait.new(id=ShapeID("smithy.api#required")),
12543
+
12544
+ ],
12545
+ },
12546
+
12547
+ "last_modified_by": {
12548
+ "target": STRING,
12549
+ "index": 8,
12550
+ "traits": [
12551
+ Trait.new(id=ShapeID("smithy.api#required")),
12552
+
12553
+ ],
12554
+ },
12555
+
12556
+ "last_modified_at": {
12557
+ "target": DATE_TIME,
12558
+ "index": 9,
12559
+ "traits": [
12560
+ Trait.new(id=ShapeID("smithy.api#required")),
12561
+
12562
+ ],
12563
+ },
12564
+
12565
+ "created_at": {
12566
+ "target": DATE_TIME,
12567
+ "index": 10,
12568
+ "traits": [
12569
+ Trait.new(id=ShapeID("smithy.api#required")),
12570
+
12571
+ ],
12572
+ },
12573
+
12574
+ "mandatory_dimensions": {
12575
+ "target": LIST_MANDATORY_DIMENSIONS,
12576
+ "index": 11,
12577
+ },
12578
+
12579
+ "strict_mode": {
12580
+ "target": BOOLEAN,
12581
+ "index": 12,
12582
+ "traits": [
12583
+ Trait.new(id=ShapeID("smithy.api#required")),
12584
+
12585
+ ],
12586
+ },
12587
+
12588
+ "metrics": {
12589
+ "target": DOCUMENT,
12590
+ "index": 13,
12591
+ },
12592
+
12593
+ "allow_experiment_self_approval": {
12594
+ "target": BOOLEAN,
12595
+ "index": 14,
12596
+ "traits": [
12597
+ Trait.new(id=ShapeID("smithy.api#required")),
12598
+
12599
+ ],
12600
+ },
12601
+
12602
+ "auto_populate_control": {
12603
+ "target": BOOLEAN,
12604
+ "index": 15,
12605
+ "traits": [
12606
+ Trait.new(id=ShapeID("smithy.api#required")),
12607
+
12608
+ ],
12609
+ },
12610
+
12611
+ }
12612
+ )
12613
+
12614
+ GET_WORKSPACE = Schema(
12615
+ id=ShapeID("io.superposition#GetWorkspace"),
12616
+ shape_type=ShapeType.OPERATION,
12617
+ traits=[
12618
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
12619
+ "Workspace Management",
12620
+ )),
12621
+ Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
12622
+ "method": "GET",
12623
+ "uri": "/workspaces/{workspace_name}",
11641
12624
  })),
11642
12625
  Trait.new(id=ShapeID("smithy.api#readonly")),
11643
12626
 
@@ -11824,6 +12807,9 @@ LIST_ORGANISATION = Schema(
11824
12807
  id=ShapeID("io.superposition#ListOrganisation"),
11825
12808
  shape_type=ShapeType.OPERATION,
11826
12809
  traits=[
12810
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
12811
+ "Organisation Management",
12812
+ )),
11827
12813
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
11828
12814
  "method": "GET",
11829
12815
  "uri": "/superposition/organisations",
@@ -11873,7 +12859,7 @@ LIST_WEBHOOK_INPUT = Schema.collection(
11873
12859
  "target": STRING,
11874
12860
  "index": 3,
11875
12861
  "traits": [
11876
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
12862
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
11877
12863
  Trait.new(id=ShapeID("smithy.api#required")),
11878
12864
 
11879
12865
  ],
@@ -11883,7 +12869,6 @@ LIST_WEBHOOK_INPUT = Schema.collection(
11883
12869
  "target": STRING,
11884
12870
  "index": 4,
11885
12871
  "traits": [
11886
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
11887
12872
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
11888
12873
  Trait.new(id=ShapeID("smithy.api#required")),
11889
12874
 
@@ -12043,36 +13028,23 @@ LIST_WEBHOOK_OUTPUT = Schema.collection(
12043
13028
  id=ShapeID("io.superposition#ListWebhookOutput"),
12044
13029
 
12045
13030
  traits=[
12046
- Trait.new(id=ShapeID("smithy.synthetic#originalShapeId"), value="io.superposition#WebhookListResponse"),
12047
13031
  Trait.new(id=ShapeID("smithy.api#output")),
12048
13032
 
12049
13033
  ],
12050
13034
  members={
12051
13035
  "total_pages": {
12052
- "target": LONG,
13036
+ "target": INTEGER,
12053
13037
  "index": 0,
12054
- "traits": [
12055
- Trait.new(id=ShapeID("smithy.api#required")),
12056
-
12057
- ],
12058
13038
  },
12059
13039
 
12060
13040
  "total_items": {
12061
- "target": LONG,
13041
+ "target": INTEGER,
12062
13042
  "index": 1,
12063
- "traits": [
12064
- Trait.new(id=ShapeID("smithy.api#required")),
12065
-
12066
- ],
12067
13043
  },
12068
13044
 
12069
13045
  "data": {
12070
13046
  "target": WEBHOOK_LIST,
12071
13047
  "index": 2,
12072
- "traits": [
12073
- Trait.new(id=ShapeID("smithy.api#required")),
12074
-
12075
- ],
12076
13048
  },
12077
13049
 
12078
13050
  }
@@ -12082,6 +13054,9 @@ LIST_WEBHOOK = Schema(
12082
13054
  id=ShapeID("io.superposition#ListWebhook"),
12083
13055
  shape_type=ShapeType.OPERATION,
12084
13056
  traits=[
13057
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
13058
+ "Webhooks",
13059
+ )),
12085
13060
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
12086
13061
  "method": "GET",
12087
13062
  "uri": "/webhook",
@@ -12131,7 +13106,6 @@ LIST_WORKSPACE_INPUT = Schema.collection(
12131
13106
  "target": STRING,
12132
13107
  "index": 3,
12133
13108
  "traits": [
12134
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
12135
13109
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
12136
13110
  Trait.new(id=ShapeID("smithy.api#required")),
12137
13111
 
@@ -12296,36 +13270,23 @@ LIST_WORKSPACE_OUTPUT = Schema.collection(
12296
13270
  id=ShapeID("io.superposition#ListWorkspaceOutput"),
12297
13271
 
12298
13272
  traits=[
12299
- Trait.new(id=ShapeID("smithy.synthetic#originalShapeId"), value="io.superposition#WorkspaceListResponse"),
12300
13273
  Trait.new(id=ShapeID("smithy.api#output")),
12301
13274
 
12302
13275
  ],
12303
13276
  members={
12304
13277
  "total_pages": {
12305
- "target": LONG,
13278
+ "target": INTEGER,
12306
13279
  "index": 0,
12307
- "traits": [
12308
- Trait.new(id=ShapeID("smithy.api#required")),
12309
-
12310
- ],
12311
13280
  },
12312
13281
 
12313
13282
  "total_items": {
12314
- "target": LONG,
13283
+ "target": INTEGER,
12315
13284
  "index": 1,
12316
- "traits": [
12317
- Trait.new(id=ShapeID("smithy.api#required")),
12318
-
12319
- ],
12320
13285
  },
12321
13286
 
12322
13287
  "data": {
12323
13288
  "target": WORKSPACE_LIST,
12324
13289
  "index": 2,
12325
- "traits": [
12326
- Trait.new(id=ShapeID("smithy.api#required")),
12327
-
12328
- ],
12329
13290
  },
12330
13291
 
12331
13292
  }
@@ -12335,6 +13296,9 @@ LIST_WORKSPACE = Schema(
12335
13296
  id=ShapeID("io.superposition#ListWorkspace"),
12336
13297
  shape_type=ShapeType.OPERATION,
12337
13298
  traits=[
13299
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
13300
+ "Workspace Management",
13301
+ )),
12338
13302
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
12339
13303
  "method": "GET",
12340
13304
  "uri": "/workspaces",
@@ -12358,7 +13322,6 @@ MIGRATE_WORKSPACE_SCHEMA_INPUT = Schema.collection(
12358
13322
  "target": STRING,
12359
13323
  "index": 0,
12360
13324
  "traits": [
12361
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
12362
13325
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
12363
13326
  Trait.new(id=ShapeID("smithy.api#required")),
12364
13327
 
@@ -12526,6 +13489,9 @@ MIGRATE_WORKSPACE_SCHEMA = Schema(
12526
13489
  id=ShapeID("io.superposition#MigrateWorkspaceSchema"),
12527
13490
  shape_type=ShapeType.OPERATION,
12528
13491
  traits=[
13492
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
13493
+ "Workspace Management",
13494
+ )),
12529
13495
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
12530
13496
  "method": "POST",
12531
13497
  "uri": "/workspaces/{workspace_name}/db/migrate",
@@ -12697,8 +13663,11 @@ UPDATE_ORGANISATION = Schema(
12697
13663
  shape_type=ShapeType.OPERATION,
12698
13664
  traits=[
12699
13665
  Trait.new(id=ShapeID("smithy.api#idempotent")),
13666
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
13667
+ "Organisation Management",
13668
+ )),
12700
13669
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
12701
- "method": "PUT",
13670
+ "method": "PATCH",
12702
13671
  "uri": "/superposition/organisations/{id}",
12703
13672
  })),
12704
13673
 
@@ -12719,7 +13688,7 @@ UPDATE_TYPE_TEMPLATES_INPUT = Schema.collection(
12719
13688
  "target": STRING,
12720
13689
  "index": 0,
12721
13690
  "traits": [
12722
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
13691
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
12723
13692
  Trait.new(id=ShapeID("smithy.api#required")),
12724
13693
 
12725
13694
  ],
@@ -12729,7 +13698,6 @@ UPDATE_TYPE_TEMPLATES_INPUT = Schema.collection(
12729
13698
  "target": STRING,
12730
13699
  "index": 1,
12731
13700
  "traits": [
12732
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
12733
13701
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
12734
13702
  Trait.new(id=ShapeID("smithy.api#required")),
12735
13703
 
@@ -12861,8 +13829,11 @@ UPDATE_TYPE_TEMPLATES = Schema(
12861
13829
  shape_type=ShapeType.OPERATION,
12862
13830
  traits=[
12863
13831
  Trait.new(id=ShapeID("smithy.api#idempotent")),
13832
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
13833
+ "Type Templates",
13834
+ )),
12864
13835
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
12865
- "method": "PUT",
13836
+ "method": "PATCH",
12866
13837
  "uri": "/types/{type_name}",
12867
13838
  })),
12868
13839
 
@@ -12882,7 +13853,7 @@ UPDATE_WEBHOOK_INPUT = Schema.collection(
12882
13853
  "target": STRING,
12883
13854
  "index": 0,
12884
13855
  "traits": [
12885
- Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-tenant"),
13856
+ Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-workspace"),
12886
13857
  Trait.new(id=ShapeID("smithy.api#required")),
12887
13858
 
12888
13859
  ],
@@ -12892,7 +13863,6 @@ UPDATE_WEBHOOK_INPUT = Schema.collection(
12892
13863
  "target": STRING,
12893
13864
  "index": 1,
12894
13865
  "traits": [
12895
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
12896
13866
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
12897
13867
  Trait.new(id=ShapeID("smithy.api#required")),
12898
13868
 
@@ -13115,22 +14085,14 @@ UPDATE_WEBHOOK_OUTPUT = Schema.collection(
13115
14085
  }
13116
14086
  )
13117
14087
 
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
14088
  UPDATE_WEBHOOK = Schema(
13130
14089
  id=ShapeID("io.superposition#UpdateWebhook"),
13131
14090
  shape_type=ShapeType.OPERATION,
13132
14091
  traits=[
13133
14092
  Trait.new(id=ShapeID("smithy.api#idempotent")),
14093
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
14094
+ "Webhooks",
14095
+ )),
13134
14096
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
13135
14097
  "method": "PATCH",
13136
14098
  "uri": "/webhook/{name}",
@@ -13153,7 +14115,6 @@ UPDATE_WORKSPACE_INPUT = Schema.collection(
13153
14115
  "target": STRING,
13154
14116
  "index": 0,
13155
14117
  "traits": [
13156
- Trait.new(id=ShapeID("smithy.api#default"), value="juspay"),
13157
14118
  Trait.new(id=ShapeID("smithy.api#httpHeader"), value="x-org-id"),
13158
14119
  Trait.new(id=ShapeID("smithy.api#required")),
13159
14120
 
@@ -13356,24 +14317,16 @@ UPDATE_WORKSPACE_OUTPUT = Schema.collection(
13356
14317
  }
13357
14318
  )
13358
14319
 
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
14320
  UPDATE_WORKSPACE = Schema(
13371
14321
  id=ShapeID("io.superposition#UpdateWorkspace"),
13372
14322
  shape_type=ShapeType.OPERATION,
13373
14323
  traits=[
13374
14324
  Trait.new(id=ShapeID("smithy.api#idempotent")),
14325
+ Trait.new(id=ShapeID("smithy.api#tags"), value=(
14326
+ "Workspace Management",
14327
+ )),
13375
14328
  Trait.new(id=ShapeID("smithy.api#http"), value=MappingProxyType({
13376
- "method": "PUT",
14329
+ "method": "PATCH",
13377
14330
  "uri": "/workspaces/{workspace_name}",
13378
14331
  })),
13379
14332