@shopvirge/shopvirge-client 0.2.10 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/index.d.ts +524 -112
  2. package/dist/index.js +474 -98
  3. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -126,7 +126,7 @@ var OpenAPI = {
126
126
  PASSWORD: void 0,
127
127
  TOKEN: void 0,
128
128
  USERNAME: void 0,
129
- VERSION: "0.2.10",
129
+ VERSION: "0.3.2",
130
130
  WITH_CREDENTIALS: false,
131
131
  interceptors: {
132
132
  request: new Interceptors(),
@@ -147,6 +147,7 @@ var $AccountCreate = {
147
147
  title: "Name"
148
148
  },
149
149
  details: {
150
+ additionalProperties: true,
150
151
  type: "object",
151
152
  title: "Details"
152
153
  }
@@ -167,6 +168,7 @@ var $AccountSchema = {
167
168
  title: "Name"
168
169
  },
169
170
  details: {
171
+ additionalProperties: true,
170
172
  type: "object",
171
173
  title: "Details"
172
174
  },
@@ -192,6 +194,7 @@ var $AccountUpdate = {
192
194
  title: "Name"
193
195
  },
194
196
  details: {
197
+ additionalProperties: true,
195
198
  type: "object",
196
199
  title: "Details"
197
200
  }
@@ -255,6 +258,7 @@ var $AdminAccountSchema = {
255
258
  details: {
256
259
  anyOf: [
257
260
  {
261
+ additionalProperties: true,
258
262
  type: "object"
259
263
  },
260
264
  {
@@ -291,6 +295,120 @@ var $AdminAccountSchema = {
291
295
  required: ["id"],
292
296
  title: "AdminAccountSchema"
293
297
  };
298
+ var $ApiKeyCreate = {
299
+ properties: {
300
+ name: {
301
+ type: "string",
302
+ title: "Name"
303
+ }
304
+ },
305
+ type: "object",
306
+ required: ["name"],
307
+ title: "ApiKeyCreate"
308
+ };
309
+ var $ApiKeyCreated = {
310
+ properties: {
311
+ id: {
312
+ type: "string",
313
+ format: "uuid",
314
+ title: "Id"
315
+ },
316
+ name: {
317
+ type: "string",
318
+ title: "Name"
319
+ },
320
+ prefix: {
321
+ type: "string",
322
+ title: "Prefix"
323
+ },
324
+ created_at: {
325
+ type: "string",
326
+ format: "date-time",
327
+ title: "Created At"
328
+ },
329
+ last_used_at: {
330
+ anyOf: [
331
+ {
332
+ type: "string",
333
+ format: "date-time"
334
+ },
335
+ {
336
+ type: "null"
337
+ }
338
+ ],
339
+ title: "Last Used At"
340
+ },
341
+ revoked_at: {
342
+ anyOf: [
343
+ {
344
+ type: "string",
345
+ format: "date-time"
346
+ },
347
+ {
348
+ type: "null"
349
+ }
350
+ ],
351
+ title: "Revoked At"
352
+ },
353
+ plaintext: {
354
+ type: "string",
355
+ title: "Plaintext"
356
+ }
357
+ },
358
+ type: "object",
359
+ required: ["id", "name", "prefix", "created_at", "plaintext"],
360
+ title: "ApiKeyCreated",
361
+ description: "Response from minting a key. ``plaintext`` is shown ONCE \u2014 never again."
362
+ };
363
+ var $ApiKeyRead = {
364
+ properties: {
365
+ id: {
366
+ type: "string",
367
+ format: "uuid",
368
+ title: "Id"
369
+ },
370
+ name: {
371
+ type: "string",
372
+ title: "Name"
373
+ },
374
+ prefix: {
375
+ type: "string",
376
+ title: "Prefix"
377
+ },
378
+ created_at: {
379
+ type: "string",
380
+ format: "date-time",
381
+ title: "Created At"
382
+ },
383
+ last_used_at: {
384
+ anyOf: [
385
+ {
386
+ type: "string",
387
+ format: "date-time"
388
+ },
389
+ {
390
+ type: "null"
391
+ }
392
+ ],
393
+ title: "Last Used At"
394
+ },
395
+ revoked_at: {
396
+ anyOf: [
397
+ {
398
+ type: "string",
399
+ format: "date-time"
400
+ },
401
+ {
402
+ type: "null"
403
+ }
404
+ ],
405
+ title: "Revoked At"
406
+ }
407
+ },
408
+ type: "object",
409
+ required: ["id", "name", "prefix", "created_at"],
410
+ title: "ApiKeyRead"
411
+ };
294
412
  var $AttributeCreate = {
295
413
  properties: {
296
414
  name: {
@@ -605,7 +723,7 @@ var $Body_login_access_token_login_access_token_post = {
605
723
  anyOf: [
606
724
  {
607
725
  type: "string",
608
- pattern: "password"
726
+ pattern: "^password$"
609
727
  },
610
728
  {
611
729
  type: "null"
@@ -619,6 +737,7 @@ var $Body_login_access_token_login_access_token_post = {
619
737
  },
620
738
  password: {
621
739
  type: "string",
740
+ format: "password",
622
741
  title: "Password"
623
742
  },
624
743
  scope: {
@@ -646,6 +765,7 @@ var $Body_login_access_token_login_access_token_post = {
646
765
  type: "null"
647
766
  }
648
767
  ],
768
+ format: "password",
649
769
  title: "Client Secret"
650
770
  }
651
771
  },
@@ -741,6 +861,7 @@ var $CategoryCreate = {
741
861
  main_image: {
742
862
  anyOf: [
743
863
  {
864
+ additionalProperties: true,
744
865
  type: "object"
745
866
  },
746
867
  {
@@ -755,6 +876,7 @@ var $CategoryCreate = {
755
876
  alt1_image: {
756
877
  anyOf: [
757
878
  {
879
+ additionalProperties: true,
758
880
  type: "object"
759
881
  },
760
882
  {
@@ -769,6 +891,7 @@ var $CategoryCreate = {
769
891
  alt2_image: {
770
892
  anyOf: [
771
893
  {
894
+ additionalProperties: true,
772
895
  type: "object"
773
896
  },
774
897
  {
@@ -842,6 +965,7 @@ var $CategorySchema = {
842
965
  main_image: {
843
966
  anyOf: [
844
967
  {
968
+ additionalProperties: true,
845
969
  type: "object"
846
970
  },
847
971
  {
@@ -856,6 +980,7 @@ var $CategorySchema = {
856
980
  alt1_image: {
857
981
  anyOf: [
858
982
  {
983
+ additionalProperties: true,
859
984
  type: "object"
860
985
  },
861
986
  {
@@ -870,6 +995,7 @@ var $CategorySchema = {
870
995
  alt2_image: {
871
996
  anyOf: [
872
997
  {
998
+ additionalProperties: true,
873
999
  type: "object"
874
1000
  },
875
1001
  {
@@ -997,6 +1123,7 @@ var $CategoryUpdate = {
997
1123
  main_image: {
998
1124
  anyOf: [
999
1125
  {
1126
+ additionalProperties: true,
1000
1127
  type: "object"
1001
1128
  },
1002
1129
  {
@@ -1011,6 +1138,7 @@ var $CategoryUpdate = {
1011
1138
  alt1_image: {
1012
1139
  anyOf: [
1013
1140
  {
1141
+ additionalProperties: true,
1014
1142
  type: "object"
1015
1143
  },
1016
1144
  {
@@ -1025,6 +1153,7 @@ var $CategoryUpdate = {
1025
1153
  alt2_image: {
1026
1154
  anyOf: [
1027
1155
  {
1156
+ additionalProperties: true,
1028
1157
  type: "object"
1029
1158
  },
1030
1159
  {
@@ -1262,7 +1391,7 @@ var $ConfigurationLanguageFields = {
1262
1391
  required: ["language_name", "menu_items", "static_texts"],
1263
1392
  title: "ConfigurationLanguageFields"
1264
1393
  };
1265
- var $ConfigurationLanguages_Input = {
1394
+ var $ConfigurationLanguages = {
1266
1395
  properties: {
1267
1396
  main: {
1268
1397
  $ref: "#/components/schemas/ConfigurationLanguageFields"
@@ -1292,63 +1421,73 @@ var $ConfigurationLanguages_Input = {
1292
1421
  required: ["main"],
1293
1422
  title: "ConfigurationLanguages"
1294
1423
  };
1295
- var $ConfigurationLanguages_Output = {
1424
+ var $ConfigurationLegal = {
1296
1425
  properties: {
1297
- main: {
1298
- $ref: "#/components/schemas/ConfigurationLanguageFields"
1299
- },
1300
- alt1: {
1426
+ kvk_number: {
1301
1427
  anyOf: [
1302
1428
  {
1303
- $ref: "#/components/schemas/ConfigurationLanguageFields"
1429
+ type: "string"
1304
1430
  },
1305
1431
  {
1306
1432
  type: "null"
1307
1433
  }
1308
- ]
1434
+ ],
1435
+ title: "Kvk Number"
1309
1436
  },
1310
- alt2: {
1437
+ btw_number: {
1311
1438
  anyOf: [
1312
1439
  {
1313
- $ref: "#/components/schemas/ConfigurationLanguageFields"
1440
+ type: "string"
1314
1441
  },
1315
1442
  {
1316
1443
  type: "null"
1317
1444
  }
1318
- ]
1445
+ ],
1446
+ title: "Btw Number"
1319
1447
  }
1320
1448
  },
1321
1449
  type: "object",
1322
- required: ["main"],
1323
- title: "ConfigurationLanguages"
1450
+ title: "ConfigurationLegal"
1324
1451
  };
1325
- var $ConfigurationLegal = {
1452
+ var $ConfigurationOrderStatusMails = {
1326
1453
  properties: {
1327
- kvk_number: {
1454
+ owner_notification_enabled: {
1455
+ type: "boolean",
1456
+ title: "Owner Notification Enabled",
1457
+ default: true
1458
+ },
1459
+ owner_notification_email: {
1328
1460
  anyOf: [
1329
1461
  {
1330
- type: "string"
1462
+ type: "string",
1463
+ format: "email"
1331
1464
  },
1332
1465
  {
1333
1466
  type: "null"
1334
1467
  }
1335
1468
  ],
1336
- title: "Kvk Number"
1469
+ title: "Owner Notification Email"
1337
1470
  },
1338
- btw_number: {
1471
+ copy_enabled: {
1472
+ type: "boolean",
1473
+ title: "Copy Enabled",
1474
+ default: false
1475
+ },
1476
+ copy_email: {
1339
1477
  anyOf: [
1340
1478
  {
1341
- type: "string"
1479
+ type: "string",
1480
+ format: "email"
1342
1481
  },
1343
1482
  {
1344
1483
  type: "null"
1345
1484
  }
1346
1485
  ],
1347
- title: "Btw Number"
1486
+ title: "Copy Email"
1348
1487
  }
1349
1488
  },
1350
1489
  type: "object",
1351
- title: "ConfigurationLegal"
1490
+ title: "ConfigurationOrderStatusMails"
1352
1491
  };
1353
1492
  var $ConfigurationShipping_Input = {
1354
1493
  properties: {
@@ -1368,7 +1507,8 @@ var $ConfigurationShipping_Input = {
1368
1507
  type: "number"
1369
1508
  },
1370
1509
  {
1371
- type: "string"
1510
+ type: "string",
1511
+ pattern: "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
1372
1512
  }
1373
1513
  ],
1374
1514
  title: "Fixed Fee",
@@ -1390,7 +1530,8 @@ var $ConfigurationShipping_Input = {
1390
1530
  type: "number"
1391
1531
  },
1392
1532
  {
1393
- type: "string"
1533
+ type: "string",
1534
+ pattern: "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
1394
1535
  }
1395
1536
  ],
1396
1537
  title: "Free Shipping Above Amount",
@@ -1415,7 +1556,7 @@ var $ConfigurationShipping_Output = {
1415
1556
  fixed_fee: {
1416
1557
  type: "number",
1417
1558
  title: "Fixed Fee",
1418
- default: "0"
1559
+ default: 0
1419
1560
  },
1420
1561
  vat_calculation_enabled: {
1421
1562
  type: "boolean",
@@ -1430,7 +1571,7 @@ var $ConfigurationShipping_Output = {
1430
1571
  free_shipping_above_amount: {
1431
1572
  type: "number",
1432
1573
  title: "Free Shipping Above Amount",
1433
- default: "0"
1574
+ default: 0
1434
1575
  }
1435
1576
  },
1436
1577
  type: "object",
@@ -1478,7 +1619,7 @@ var $ConfigurationV1_Input = {
1478
1619
  default: 75
1479
1620
  },
1480
1621
  languages: {
1481
- $ref: "#/components/schemas/ConfigurationLanguages-Input"
1622
+ $ref: "#/components/schemas/ConfigurationLanguages"
1482
1623
  },
1483
1624
  google_analytics_id: {
1484
1625
  anyOf: [
@@ -1516,6 +1657,16 @@ var $ConfigurationV1_Input = {
1516
1657
  type: "null"
1517
1658
  }
1518
1659
  ]
1660
+ },
1661
+ order_status_mails: {
1662
+ anyOf: [
1663
+ {
1664
+ $ref: "#/components/schemas/ConfigurationOrderStatusMails"
1665
+ },
1666
+ {
1667
+ type: "null"
1668
+ }
1669
+ ]
1519
1670
  }
1520
1671
  },
1521
1672
  type: "object",
@@ -1571,7 +1722,7 @@ var $ConfigurationV1_Output = {
1571
1722
  default: 75
1572
1723
  },
1573
1724
  languages: {
1574
- $ref: "#/components/schemas/ConfigurationLanguages-Output"
1725
+ $ref: "#/components/schemas/ConfigurationLanguages"
1575
1726
  },
1576
1727
  google_analytics_id: {
1577
1728
  anyOf: [
@@ -1609,6 +1760,16 @@ var $ConfigurationV1_Output = {
1609
1760
  type: "null"
1610
1761
  }
1611
1762
  ]
1763
+ },
1764
+ order_status_mails: {
1765
+ anyOf: [
1766
+ {
1767
+ $ref: "#/components/schemas/ConfigurationOrderStatusMails"
1768
+ },
1769
+ {
1770
+ type: "null"
1771
+ }
1772
+ ]
1612
1773
  }
1613
1774
  },
1614
1775
  type: "object",
@@ -2099,6 +2260,28 @@ var $Msg = {
2099
2260
  required: ["msg"],
2100
2261
  title: "Msg"
2101
2262
  };
2263
+ var $MyShopsResponse = {
2264
+ properties: {
2265
+ shops: {
2266
+ items: {
2267
+ $ref: "#/components/schemas/ShopSchema"
2268
+ },
2269
+ type: "array",
2270
+ title: "Shops"
2271
+ },
2272
+ is_admin: {
2273
+ type: "boolean",
2274
+ title: "Is Admin"
2275
+ },
2276
+ can_write: {
2277
+ type: "boolean",
2278
+ title: "Can Write"
2279
+ }
2280
+ },
2281
+ type: "object",
2282
+ required: ["shops", "is_admin", "can_write"],
2283
+ title: "MyShopsResponse"
2284
+ };
2102
2285
  var $OrderBase = {
2103
2286
  properties: {
2104
2287
  account_id: {
@@ -2119,7 +2302,8 @@ var $OrderBase = {
2119
2302
  type: "number"
2120
2303
  },
2121
2304
  {
2122
- type: "string"
2305
+ type: "string",
2306
+ pattern: "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
2123
2307
  },
2124
2308
  {
2125
2309
  type: "null"
@@ -2166,7 +2350,8 @@ var $OrderBase = {
2166
2350
  type: "number"
2167
2351
  },
2168
2352
  {
2169
- type: "string"
2353
+ type: "string",
2354
+ pattern: "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
2170
2355
  },
2171
2356
  {
2172
2357
  type: "null"
@@ -2199,7 +2384,8 @@ var $OrderCreate = {
2199
2384
  type: "number"
2200
2385
  },
2201
2386
  {
2202
- type: "string"
2387
+ type: "string",
2388
+ pattern: "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
2203
2389
  },
2204
2390
  {
2205
2391
  type: "null"
@@ -2246,7 +2432,8 @@ var $OrderCreate = {
2246
2432
  type: "number"
2247
2433
  },
2248
2434
  {
2249
- type: "string"
2435
+ type: "string",
2436
+ pattern: "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
2250
2437
  },
2251
2438
  {
2252
2439
  type: "null"
@@ -2435,7 +2622,8 @@ var $OrderItem_Input = {
2435
2622
  type: "number"
2436
2623
  },
2437
2624
  {
2438
- type: "string"
2625
+ type: "string",
2626
+ pattern: "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
2439
2627
  }
2440
2628
  ],
2441
2629
  title: "Price"
@@ -2690,7 +2878,8 @@ var $OrderUpdate = {
2690
2878
  type: "number"
2691
2879
  },
2692
2880
  {
2693
- type: "string"
2881
+ type: "string",
2882
+ pattern: "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
2694
2883
  },
2695
2884
  {
2696
2885
  type: "null"
@@ -2737,7 +2926,8 @@ var $OrderUpdate = {
2737
2926
  type: "number"
2738
2927
  },
2739
2928
  {
2740
- type: "string"
2929
+ type: "string",
2930
+ pattern: "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
2741
2931
  },
2742
2932
  {
2743
2933
  type: "null"
@@ -3035,7 +3225,8 @@ var $ProductCreate = {
3035
3225
  type: "number"
3036
3226
  },
3037
3227
  {
3038
- type: "string"
3228
+ type: "string",
3229
+ pattern: "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
3039
3230
  },
3040
3231
  {
3041
3232
  type: "null"
@@ -3049,7 +3240,8 @@ var $ProductCreate = {
3049
3240
  type: "number"
3050
3241
  },
3051
3242
  {
3052
- type: "string"
3243
+ type: "string",
3244
+ pattern: "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
3053
3245
  },
3054
3246
  {
3055
3247
  type: "null"
@@ -3063,7 +3255,8 @@ var $ProductCreate = {
3063
3255
  type: "number"
3064
3256
  },
3065
3257
  {
3066
- type: "string"
3258
+ type: "string",
3259
+ pattern: "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
3067
3260
  },
3068
3261
  {
3069
3262
  type: "null"
@@ -3108,7 +3301,8 @@ var $ProductCreate = {
3108
3301
  type: "number"
3109
3302
  },
3110
3303
  {
3111
- type: "string"
3304
+ type: "string",
3305
+ pattern: "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
3112
3306
  },
3113
3307
  {
3114
3308
  type: "null"
@@ -3166,6 +3360,7 @@ var $ProductCreate = {
3166
3360
  image_1: {
3167
3361
  anyOf: [
3168
3362
  {
3363
+ additionalProperties: true,
3169
3364
  type: "object"
3170
3365
  },
3171
3366
  {
@@ -3180,6 +3375,7 @@ var $ProductCreate = {
3180
3375
  image_2: {
3181
3376
  anyOf: [
3182
3377
  {
3378
+ additionalProperties: true,
3183
3379
  type: "object"
3184
3380
  },
3185
3381
  {
@@ -3194,6 +3390,7 @@ var $ProductCreate = {
3194
3390
  image_3: {
3195
3391
  anyOf: [
3196
3392
  {
3393
+ additionalProperties: true,
3197
3394
  type: "object"
3198
3395
  },
3199
3396
  {
@@ -3208,6 +3405,7 @@ var $ProductCreate = {
3208
3405
  image_4: {
3209
3406
  anyOf: [
3210
3407
  {
3408
+ additionalProperties: true,
3211
3409
  type: "object"
3212
3410
  },
3213
3411
  {
@@ -3222,6 +3420,7 @@ var $ProductCreate = {
3222
3420
  image_5: {
3223
3421
  anyOf: [
3224
3422
  {
3423
+ additionalProperties: true,
3225
3424
  type: "object"
3226
3425
  },
3227
3426
  {
@@ -3236,6 +3435,7 @@ var $ProductCreate = {
3236
3435
  image_6: {
3237
3436
  anyOf: [
3238
3437
  {
3438
+ additionalProperties: true,
3239
3439
  type: "object"
3240
3440
  },
3241
3441
  {
@@ -3700,7 +3900,8 @@ var $ProductUpdate = {
3700
3900
  type: "number"
3701
3901
  },
3702
3902
  {
3703
- type: "string"
3903
+ type: "string",
3904
+ pattern: "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
3704
3905
  },
3705
3906
  {
3706
3907
  type: "null"
@@ -3714,7 +3915,8 @@ var $ProductUpdate = {
3714
3915
  type: "number"
3715
3916
  },
3716
3917
  {
3717
- type: "string"
3918
+ type: "string",
3919
+ pattern: "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
3718
3920
  },
3719
3921
  {
3720
3922
  type: "null"
@@ -3728,7 +3930,8 @@ var $ProductUpdate = {
3728
3930
  type: "number"
3729
3931
  },
3730
3932
  {
3731
- type: "string"
3933
+ type: "string",
3934
+ pattern: "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
3732
3935
  },
3733
3936
  {
3734
3937
  type: "null"
@@ -3773,7 +3976,8 @@ var $ProductUpdate = {
3773
3976
  type: "number"
3774
3977
  },
3775
3978
  {
3776
- type: "string"
3979
+ type: "string",
3980
+ pattern: "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
3777
3981
  },
3778
3982
  {
3779
3983
  type: "null"
@@ -3831,6 +4035,7 @@ var $ProductUpdate = {
3831
4035
  image_1: {
3832
4036
  anyOf: [
3833
4037
  {
4038
+ additionalProperties: true,
3834
4039
  type: "object"
3835
4040
  },
3836
4041
  {
@@ -3845,6 +4050,7 @@ var $ProductUpdate = {
3845
4050
  image_2: {
3846
4051
  anyOf: [
3847
4052
  {
4053
+ additionalProperties: true,
3848
4054
  type: "object"
3849
4055
  },
3850
4056
  {
@@ -3859,6 +4065,7 @@ var $ProductUpdate = {
3859
4065
  image_3: {
3860
4066
  anyOf: [
3861
4067
  {
4068
+ additionalProperties: true,
3862
4069
  type: "object"
3863
4070
  },
3864
4071
  {
@@ -3873,6 +4080,7 @@ var $ProductUpdate = {
3873
4080
  image_4: {
3874
4081
  anyOf: [
3875
4082
  {
4083
+ additionalProperties: true,
3876
4084
  type: "object"
3877
4085
  },
3878
4086
  {
@@ -3887,6 +4095,7 @@ var $ProductUpdate = {
3887
4095
  image_5: {
3888
4096
  anyOf: [
3889
4097
  {
4098
+ additionalProperties: true,
3890
4099
  type: "object"
3891
4100
  },
3892
4101
  {
@@ -3901,6 +4110,7 @@ var $ProductUpdate = {
3901
4110
  image_6: {
3902
4111
  anyOf: [
3903
4112
  {
4113
+ additionalProperties: true,
3904
4114
  type: "object"
3905
4115
  },
3906
4116
  {
@@ -4103,6 +4313,7 @@ var $ProductWithDefaultPrice = {
4103
4313
  image_1: {
4104
4314
  anyOf: [
4105
4315
  {
4316
+ additionalProperties: true,
4106
4317
  type: "object"
4107
4318
  },
4108
4319
  {
@@ -4117,6 +4328,7 @@ var $ProductWithDefaultPrice = {
4117
4328
  image_2: {
4118
4329
  anyOf: [
4119
4330
  {
4331
+ additionalProperties: true,
4120
4332
  type: "object"
4121
4333
  },
4122
4334
  {
@@ -4131,6 +4343,7 @@ var $ProductWithDefaultPrice = {
4131
4343
  image_3: {
4132
4344
  anyOf: [
4133
4345
  {
4346
+ additionalProperties: true,
4134
4347
  type: "object"
4135
4348
  },
4136
4349
  {
@@ -4145,6 +4358,7 @@ var $ProductWithDefaultPrice = {
4145
4358
  image_4: {
4146
4359
  anyOf: [
4147
4360
  {
4361
+ additionalProperties: true,
4148
4362
  type: "object"
4149
4363
  },
4150
4364
  {
@@ -4159,6 +4373,7 @@ var $ProductWithDefaultPrice = {
4159
4373
  image_5: {
4160
4374
  anyOf: [
4161
4375
  {
4376
+ additionalProperties: true,
4162
4377
  type: "object"
4163
4378
  },
4164
4379
  {
@@ -4173,6 +4388,7 @@ var $ProductWithDefaultPrice = {
4173
4388
  image_6: {
4174
4389
  anyOf: [
4175
4390
  {
4391
+ additionalProperties: true,
4176
4392
  type: "object"
4177
4393
  },
4178
4394
  {
@@ -4390,6 +4606,7 @@ var $ProductWithDetailsAndPrices = {
4390
4606
  image_1: {
4391
4607
  anyOf: [
4392
4608
  {
4609
+ additionalProperties: true,
4393
4610
  type: "object"
4394
4611
  },
4395
4612
  {
@@ -4404,6 +4621,7 @@ var $ProductWithDetailsAndPrices = {
4404
4621
  image_2: {
4405
4622
  anyOf: [
4406
4623
  {
4624
+ additionalProperties: true,
4407
4625
  type: "object"
4408
4626
  },
4409
4627
  {
@@ -4418,6 +4636,7 @@ var $ProductWithDetailsAndPrices = {
4418
4636
  image_3: {
4419
4637
  anyOf: [
4420
4638
  {
4639
+ additionalProperties: true,
4421
4640
  type: "object"
4422
4641
  },
4423
4642
  {
@@ -4432,6 +4651,7 @@ var $ProductWithDetailsAndPrices = {
4432
4651
  image_4: {
4433
4652
  anyOf: [
4434
4653
  {
4654
+ additionalProperties: true,
4435
4655
  type: "object"
4436
4656
  },
4437
4657
  {
@@ -4446,6 +4666,7 @@ var $ProductWithDetailsAndPrices = {
4446
4666
  image_5: {
4447
4667
  anyOf: [
4448
4668
  {
4669
+ additionalProperties: true,
4449
4670
  type: "object"
4450
4671
  },
4451
4672
  {
@@ -4460,6 +4681,7 @@ var $ProductWithDetailsAndPrices = {
4460
4681
  image_6: {
4461
4682
  anyOf: [
4462
4683
  {
4684
+ additionalProperties: true,
4463
4685
  type: "object"
4464
4686
  },
4465
4687
  {
@@ -4510,6 +4732,7 @@ var $ProductWithDetailsAndPrices = {
4510
4732
  },
4511
4733
  prices: {
4512
4734
  items: {
4735
+ additionalProperties: true,
4513
4736
  type: "object"
4514
4737
  },
4515
4738
  type: "array",
@@ -4755,7 +4978,8 @@ var $ShopCreate = {
4755
4978
  type: "number"
4756
4979
  },
4757
4980
  {
4758
- type: "string"
4981
+ type: "string",
4982
+ pattern: "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
4759
4983
  }
4760
4984
  ],
4761
4985
  title: "Vat Standard"
@@ -4766,7 +4990,8 @@ var $ShopCreate = {
4766
4990
  type: "number"
4767
4991
  },
4768
4992
  {
4769
- type: "string"
4993
+ type: "string",
4994
+ pattern: "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
4770
4995
  }
4771
4996
  ],
4772
4997
  title: "Vat Lower 1"
@@ -4777,7 +5002,8 @@ var $ShopCreate = {
4777
5002
  type: "number"
4778
5003
  },
4779
5004
  {
4780
- type: "string"
5005
+ type: "string",
5006
+ pattern: "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
4781
5007
  }
4782
5008
  ],
4783
5009
  title: "Vat Lower 2"
@@ -4788,7 +5014,8 @@ var $ShopCreate = {
4788
5014
  type: "number"
4789
5015
  },
4790
5016
  {
4791
- type: "string"
5017
+ type: "string",
5018
+ pattern: "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
4792
5019
  }
4793
5020
  ],
4794
5021
  title: "Vat Lower 3"
@@ -4799,7 +5026,8 @@ var $ShopCreate = {
4799
5026
  type: "number"
4800
5027
  },
4801
5028
  {
4802
- type: "string"
5029
+ type: "string",
5030
+ pattern: "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
4803
5031
  }
4804
5032
  ],
4805
5033
  title: "Vat Special"
@@ -4810,7 +5038,8 @@ var $ShopCreate = {
4810
5038
  type: "number"
4811
5039
  },
4812
5040
  {
4813
- type: "string"
5041
+ type: "string",
5042
+ pattern: "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
4814
5043
  }
4815
5044
  ],
4816
5045
  title: "Vat Zero"
@@ -5039,7 +5268,8 @@ var $ShopUpdate = {
5039
5268
  type: "number"
5040
5269
  },
5041
5270
  {
5042
- type: "string"
5271
+ type: "string",
5272
+ pattern: "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
5043
5273
  }
5044
5274
  ],
5045
5275
  title: "Vat Standard"
@@ -5050,7 +5280,8 @@ var $ShopUpdate = {
5050
5280
  type: "number"
5051
5281
  },
5052
5282
  {
5053
- type: "string"
5283
+ type: "string",
5284
+ pattern: "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
5054
5285
  }
5055
5286
  ],
5056
5287
  title: "Vat Lower 1"
@@ -5061,7 +5292,8 @@ var $ShopUpdate = {
5061
5292
  type: "number"
5062
5293
  },
5063
5294
  {
5064
- type: "string"
5295
+ type: "string",
5296
+ pattern: "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
5065
5297
  }
5066
5298
  ],
5067
5299
  title: "Vat Lower 2"
@@ -5072,7 +5304,8 @@ var $ShopUpdate = {
5072
5304
  type: "number"
5073
5305
  },
5074
5306
  {
5075
- type: "string"
5307
+ type: "string",
5308
+ pattern: "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
5076
5309
  }
5077
5310
  ],
5078
5311
  title: "Vat Lower 3"
@@ -5083,7 +5316,8 @@ var $ShopUpdate = {
5083
5316
  type: "number"
5084
5317
  },
5085
5318
  {
5086
- type: "string"
5319
+ type: "string",
5320
+ pattern: "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
5087
5321
  }
5088
5322
  ],
5089
5323
  title: "Vat Special"
@@ -5094,7 +5328,8 @@ var $ShopUpdate = {
5094
5328
  type: "number"
5095
5329
  },
5096
5330
  {
5097
- type: "string"
5331
+ type: "string",
5332
+ pattern: "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
5098
5333
  }
5099
5334
  ],
5100
5335
  title: "Vat Zero"
@@ -5233,6 +5468,7 @@ var $SyncStripeResponse = {
5233
5468
  title: "Stripe Synced At"
5234
5469
  },
5235
5470
  stripe_customer: {
5471
+ additionalProperties: true,
5236
5472
  type: "object",
5237
5473
  title: "Stripe Customer"
5238
5474
  }
@@ -6251,6 +6487,12 @@ var createShopsPost = (data) => {
6251
6487
  }
6252
6488
  });
6253
6489
  };
6490
+ var listMyShops = () => {
6491
+ return request(OpenAPI, {
6492
+ method: "GET",
6493
+ url: "/shops/my-shops"
6494
+ });
6495
+ };
6254
6496
  var getCacheStatusShopsCacheStatusIdGet = (data) => {
6255
6497
  return request(OpenAPI, {
6256
6498
  method: "GET",
@@ -6572,13 +6814,16 @@ var calculateShippingCalculatePost = (data) => {
6572
6814
  }
6573
6815
  });
6574
6816
  };
6575
- var getMultiShopsShopIdCategoriesGet = (data) => {
6817
+ var listCategories = (data) => {
6576
6818
  return request(OpenAPI, {
6577
6819
  method: "GET",
6578
6820
  url: "/shops/{shop_id}/categories/",
6579
6821
  path: {
6580
6822
  shop_id: data.shopId
6581
6823
  },
6824
+ headers: {
6825
+ "X-API-Key": data.xApiKey
6826
+ },
6582
6827
  query: {
6583
6828
  skip: data.skip,
6584
6829
  limit: data.limit,
@@ -6590,13 +6835,16 @@ var getMultiShopsShopIdCategoriesGet = (data) => {
6590
6835
  }
6591
6836
  });
6592
6837
  };
6593
- var createShopsShopIdCategoriesPost = (data) => {
6838
+ var createCategory = (data) => {
6594
6839
  return request(OpenAPI, {
6595
6840
  method: "POST",
6596
6841
  url: "/shops/{shop_id}/categories/",
6597
6842
  path: {
6598
6843
  shop_id: data.shopId
6599
6844
  },
6845
+ headers: {
6846
+ "X-API-Key": data.xApiKey
6847
+ },
6600
6848
  body: data.requestBody,
6601
6849
  mediaType: "application/json",
6602
6850
  errors: {
@@ -6604,7 +6852,7 @@ var createShopsShopIdCategoriesPost = (data) => {
6604
6852
  }
6605
6853
  });
6606
6854
  };
6607
- var getByIdShopsShopIdCategoriesCategoryIdGet = (data) => {
6855
+ var getCategory = (data) => {
6608
6856
  return request(OpenAPI, {
6609
6857
  method: "GET",
6610
6858
  url: "/shops/{shop_id}/categories/{category_id}",
@@ -6612,12 +6860,15 @@ var getByIdShopsShopIdCategoriesCategoryIdGet = (data) => {
6612
6860
  shop_id: data.shopId,
6613
6861
  category_id: data.categoryId
6614
6862
  },
6863
+ headers: {
6864
+ "X-API-Key": data.xApiKey
6865
+ },
6615
6866
  errors: {
6616
6867
  422: "Validation Error"
6617
6868
  }
6618
6869
  });
6619
6870
  };
6620
- var updateShopsShopIdCategoriesCategoryIdPut = (data) => {
6871
+ var updateCategory = (data) => {
6621
6872
  return request(OpenAPI, {
6622
6873
  method: "PUT",
6623
6874
  url: "/shops/{shop_id}/categories/{category_id}",
@@ -6625,6 +6876,9 @@ var updateShopsShopIdCategoriesCategoryIdPut = (data) => {
6625
6876
  category_id: data.categoryId,
6626
6877
  shop_id: data.shopId
6627
6878
  },
6879
+ headers: {
6880
+ "X-API-Key": data.xApiKey
6881
+ },
6628
6882
  body: data.requestBody,
6629
6883
  mediaType: "application/json",
6630
6884
  errors: {
@@ -6632,7 +6886,7 @@ var updateShopsShopIdCategoriesCategoryIdPut = (data) => {
6632
6886
  }
6633
6887
  });
6634
6888
  };
6635
- var deleteShopsShopIdCategoriesCategoryIdDelete = (data) => {
6889
+ var deleteCategory = (data) => {
6636
6890
  return request(OpenAPI, {
6637
6891
  method: "DELETE",
6638
6892
  url: "/shops/{shop_id}/categories/{category_id}",
@@ -6640,6 +6894,9 @@ var deleteShopsShopIdCategoriesCategoryIdDelete = (data) => {
6640
6894
  category_id: data.categoryId,
6641
6895
  shop_id: data.shopId
6642
6896
  },
6897
+ headers: {
6898
+ "X-API-Key": data.xApiKey
6899
+ },
6643
6900
  errors: {
6644
6901
  422: "Validation Error"
6645
6902
  }
@@ -6653,6 +6910,9 @@ var getByNameShopsShopIdCategoriesNameNameGet = (data) => {
6653
6910
  name: data.name,
6654
6911
  shop_id: data.shopId
6655
6912
  },
6913
+ headers: {
6914
+ "X-API-Key": data.xApiKey
6915
+ },
6656
6916
  errors: {
6657
6917
  422: "Validation Error"
6658
6918
  }
@@ -6666,6 +6926,9 @@ var swapShopsShopIdCategoriesCategoryIdSwapPut = (data) => {
6666
6926
  shop_id: data.shopId,
6667
6927
  category_id: data.categoryId
6668
6928
  },
6929
+ headers: {
6930
+ "X-API-Key": data.xApiKey
6931
+ },
6669
6932
  query: {
6670
6933
  move_up: data.moveUp
6671
6934
  },
@@ -6682,6 +6945,9 @@ var getAvailableAttributesShopsShopIdCategoriesCategoryIdAvailableAttributesGet
6682
6945
  shop_id: data.shopId,
6683
6946
  category_id: data.categoryId
6684
6947
  },
6948
+ query: {
6949
+ option_id: data.optionId
6950
+ },
6685
6951
  errors: {
6686
6952
  422: "Validation Error"
6687
6953
  }
@@ -6778,13 +7044,16 @@ var getSignedUploadUrlShopsShopIdImagesSignedUrlImageNameGet = (data) => {
6778
7044
  }
6779
7045
  });
6780
7046
  };
6781
- var getMultiShopsShopIdProductsGet = (data) => {
7047
+ var listProducts = (data) => {
6782
7048
  return request(OpenAPI, {
6783
7049
  method: "GET",
6784
7050
  url: "/shops/{shop_id}/products/",
6785
7051
  path: {
6786
7052
  shop_id: data.shopId
6787
7053
  },
7054
+ headers: {
7055
+ "X-API-Key": data.xApiKey
7056
+ },
6788
7057
  query: {
6789
7058
  stock_status: data.stockStatus,
6790
7059
  skip: data.skip,
@@ -6797,13 +7066,16 @@ var getMultiShopsShopIdProductsGet = (data) => {
6797
7066
  }
6798
7067
  });
6799
7068
  };
6800
- var createShopsShopIdProductsPost = (data) => {
7069
+ var createProduct = (data) => {
6801
7070
  return request(OpenAPI, {
6802
7071
  method: "POST",
6803
7072
  url: "/shops/{shop_id}/products/",
6804
7073
  path: {
6805
7074
  shop_id: data.shopId
6806
7075
  },
7076
+ headers: {
7077
+ "X-API-Key": data.xApiKey
7078
+ },
6807
7079
  body: data.requestBody,
6808
7080
  mediaType: "application/json",
6809
7081
  errors: {
@@ -6818,6 +7090,9 @@ var getMultiWithAttributesShopsShopIdProductsWithAttributesGet = (data) => {
6818
7090
  path: {
6819
7091
  shop_id: data.shopId
6820
7092
  },
7093
+ headers: {
7094
+ "X-API-Key": data.xApiKey
7095
+ },
6821
7096
  query: {
6822
7097
  option_id: data.optionId,
6823
7098
  attribute_id: data.attributeId,
@@ -6834,7 +7109,7 @@ var getMultiWithAttributesShopsShopIdProductsWithAttributesGet = (data) => {
6834
7109
  }
6835
7110
  });
6836
7111
  };
6837
- var updateShopsShopIdProductsProductIdPut = (data) => {
7112
+ var updateProduct = (data) => {
6838
7113
  return request(OpenAPI, {
6839
7114
  method: "PUT",
6840
7115
  url: "/shops/{shop_id}/products/{product_id}",
@@ -6842,6 +7117,9 @@ var updateShopsShopIdProductsProductIdPut = (data) => {
6842
7117
  product_id: data.productId,
6843
7118
  shop_id: data.shopId
6844
7119
  },
7120
+ headers: {
7121
+ "X-API-Key": data.xApiKey
7122
+ },
6845
7123
  body: data.requestBody,
6846
7124
  mediaType: "application/json",
6847
7125
  errors: {
@@ -6849,7 +7127,7 @@ var updateShopsShopIdProductsProductIdPut = (data) => {
6849
7127
  }
6850
7128
  });
6851
7129
  };
6852
- var deleteShopsShopIdProductsProductIdDelete = (data) => {
7130
+ var deleteProduct = (data) => {
6853
7131
  return request(OpenAPI, {
6854
7132
  method: "DELETE",
6855
7133
  url: "/shops/{shop_id}/products/{product_id}",
@@ -6857,12 +7135,15 @@ var deleteShopsShopIdProductsProductIdDelete = (data) => {
6857
7135
  product_id: data.productId,
6858
7136
  shop_id: data.shopId
6859
7137
  },
7138
+ headers: {
7139
+ "X-API-Key": data.xApiKey
7140
+ },
6860
7141
  errors: {
6861
7142
  422: "Validation Error"
6862
7143
  }
6863
7144
  });
6864
7145
  };
6865
- var getByIdShopsShopIdProductsProductIdGet = (data) => {
7146
+ var getProduct = (data) => {
6866
7147
  return request(OpenAPI, {
6867
7148
  method: "GET",
6868
7149
  url: "/shops/{shop_id}/products/{product_id}",
@@ -6883,6 +7164,9 @@ var swapShopsShopIdProductsProductIdSwapPut = (data) => {
6883
7164
  shop_id: data.shopId,
6884
7165
  product_id: data.productId
6885
7166
  },
7167
+ headers: {
7168
+ "X-API-Key": data.xApiKey
7169
+ },
6886
7170
  query: {
6887
7171
  move_up: data.moveUp
6888
7172
  },
@@ -6981,13 +7265,16 @@ var deleteShopsShopIdProductsToTagsProductToTagIdDelete = (data) => {
6981
7265
  }
6982
7266
  });
6983
7267
  };
6984
- var getMultiShopsShopIdTagsGet = (data) => {
7268
+ var listTags = (data) => {
6985
7269
  return request(OpenAPI, {
6986
7270
  method: "GET",
6987
7271
  url: "/shops/{shop_id}/tags/",
6988
7272
  path: {
6989
7273
  shop_id: data.shopId
6990
7274
  },
7275
+ headers: {
7276
+ "X-API-Key": data.xApiKey
7277
+ },
6991
7278
  query: {
6992
7279
  skip: data.skip,
6993
7280
  limit: data.limit,
@@ -6999,13 +7286,16 @@ var getMultiShopsShopIdTagsGet = (data) => {
6999
7286
  }
7000
7287
  });
7001
7288
  };
7002
- var createShopsShopIdTagsPost = (data) => {
7289
+ var createTag = (data) => {
7003
7290
  return request(OpenAPI, {
7004
7291
  method: "POST",
7005
7292
  url: "/shops/{shop_id}/tags/",
7006
7293
  path: {
7007
7294
  shop_id: data.shopId
7008
7295
  },
7296
+ headers: {
7297
+ "X-API-Key": data.xApiKey
7298
+ },
7009
7299
  body: data.requestBody,
7010
7300
  mediaType: "application/json",
7011
7301
  errors: {
@@ -7013,7 +7303,7 @@ var createShopsShopIdTagsPost = (data) => {
7013
7303
  }
7014
7304
  });
7015
7305
  };
7016
- var getByIdShopsShopIdTagsTagIdGet = (data) => {
7306
+ var getTag = (data) => {
7017
7307
  return request(OpenAPI, {
7018
7308
  method: "GET",
7019
7309
  url: "/shops/{shop_id}/tags/{tag_id}",
@@ -7021,12 +7311,15 @@ var getByIdShopsShopIdTagsTagIdGet = (data) => {
7021
7311
  tag_id: data.tagId,
7022
7312
  shop_id: data.shopId
7023
7313
  },
7314
+ headers: {
7315
+ "X-API-Key": data.xApiKey
7316
+ },
7024
7317
  errors: {
7025
7318
  422: "Validation Error"
7026
7319
  }
7027
7320
  });
7028
7321
  };
7029
- var updateShopsShopIdTagsTagIdPut = (data) => {
7322
+ var updateTag = (data) => {
7030
7323
  return request(OpenAPI, {
7031
7324
  method: "PUT",
7032
7325
  url: "/shops/{shop_id}/tags/{tag_id}",
@@ -7034,6 +7327,9 @@ var updateShopsShopIdTagsTagIdPut = (data) => {
7034
7327
  tag_id: data.tagId,
7035
7328
  shop_id: data.shopId
7036
7329
  },
7330
+ headers: {
7331
+ "X-API-Key": data.xApiKey
7332
+ },
7037
7333
  body: data.requestBody,
7038
7334
  mediaType: "application/json",
7039
7335
  errors: {
@@ -7041,7 +7337,7 @@ var updateShopsShopIdTagsTagIdPut = (data) => {
7041
7337
  }
7042
7338
  });
7043
7339
  };
7044
- var deleteShopsShopIdTagsTagIdDelete = (data) => {
7340
+ var deleteTag = (data) => {
7045
7341
  return request(OpenAPI, {
7046
7342
  method: "DELETE",
7047
7343
  url: "/shops/{shop_id}/tags/{tag_id}",
@@ -7049,6 +7345,9 @@ var deleteShopsShopIdTagsTagIdDelete = (data) => {
7049
7345
  tag_id: data.tagId,
7050
7346
  shop_id: data.shopId
7051
7347
  },
7348
+ headers: {
7349
+ "X-API-Key": data.xApiKey
7350
+ },
7052
7351
  errors: {
7053
7352
  422: "Validation Error"
7054
7353
  }
@@ -7062,6 +7361,9 @@ var getByNameShopsShopIdTagsNameNameGet = (data) => {
7062
7361
  name: data.name,
7063
7362
  shop_id: data.shopId
7064
7363
  },
7364
+ headers: {
7365
+ "X-API-Key": data.xApiKey
7366
+ },
7065
7367
  errors: {
7066
7368
  422: "Validation Error"
7067
7369
  }
@@ -7075,6 +7377,9 @@ var getByIdWithOptionsDirectShopsShopIdAttributesAttributeIdWithOptionsGet = (da
7075
7377
  attribute_id: data.attributeId,
7076
7378
  shop_id: data.shopId
7077
7379
  },
7380
+ headers: {
7381
+ "X-API-Key": data.xApiKey
7382
+ },
7078
7383
  errors: {
7079
7384
  422: "Validation Error"
7080
7385
  }
@@ -7087,6 +7392,9 @@ var getWithOptionsShopsShopIdAttributesWithOptionsGet = (data) => {
7087
7392
  path: {
7088
7393
  shop_id: data.shopId
7089
7394
  },
7395
+ headers: {
7396
+ "X-API-Key": data.xApiKey
7397
+ },
7090
7398
  query: {
7091
7399
  skip: data.skip,
7092
7400
  limit: data.limit,
@@ -7098,13 +7406,16 @@ var getWithOptionsShopsShopIdAttributesWithOptionsGet = (data) => {
7098
7406
  }
7099
7407
  });
7100
7408
  };
7101
- var getMultiShopsShopIdAttributesGet = (data) => {
7409
+ var listAttributes = (data) => {
7102
7410
  return request(OpenAPI, {
7103
7411
  method: "GET",
7104
7412
  url: "/shops/{shop_id}/attributes/",
7105
7413
  path: {
7106
7414
  shop_id: data.shopId
7107
7415
  },
7416
+ headers: {
7417
+ "X-API-Key": data.xApiKey
7418
+ },
7108
7419
  query: {
7109
7420
  skip: data.skip,
7110
7421
  limit: data.limit,
@@ -7116,13 +7427,16 @@ var getMultiShopsShopIdAttributesGet = (data) => {
7116
7427
  }
7117
7428
  });
7118
7429
  };
7119
- var createShopsShopIdAttributesPost = (data) => {
7430
+ var createAttribute = (data) => {
7120
7431
  return request(OpenAPI, {
7121
7432
  method: "POST",
7122
7433
  url: "/shops/{shop_id}/attributes/",
7123
7434
  path: {
7124
7435
  shop_id: data.shopId
7125
7436
  },
7437
+ headers: {
7438
+ "X-API-Key": data.xApiKey
7439
+ },
7126
7440
  body: data.requestBody,
7127
7441
  mediaType: "application/json",
7128
7442
  errors: {
@@ -7138,12 +7452,15 @@ var getByIdWithOptionsShopsShopIdAttributesIdAttributeIdWithOptionsGet = (data)
7138
7452
  attribute_id: data.attributeId,
7139
7453
  shop_id: data.shopId
7140
7454
  },
7455
+ headers: {
7456
+ "X-API-Key": data.xApiKey
7457
+ },
7141
7458
  errors: {
7142
7459
  422: "Validation Error"
7143
7460
  }
7144
7461
  });
7145
7462
  };
7146
- var getByIdShopsShopIdAttributesIdAttributeIdGet = (data) => {
7463
+ var getAttribute = (data) => {
7147
7464
  return request(OpenAPI, {
7148
7465
  method: "GET",
7149
7466
  url: "/shops/{shop_id}/attributes/id/{attribute_id}",
@@ -7151,6 +7468,9 @@ var getByIdShopsShopIdAttributesIdAttributeIdGet = (data) => {
7151
7468
  attribute_id: data.attributeId,
7152
7469
  shop_id: data.shopId
7153
7470
  },
7471
+ headers: {
7472
+ "X-API-Key": data.xApiKey
7473
+ },
7154
7474
  errors: {
7155
7475
  422: "Validation Error"
7156
7476
  }
@@ -7164,12 +7484,15 @@ var getByNameShopsShopIdAttributesNameNameGet = (data) => {
7164
7484
  name: data.name,
7165
7485
  shop_id: data.shopId
7166
7486
  },
7487
+ headers: {
7488
+ "X-API-Key": data.xApiKey
7489
+ },
7167
7490
  errors: {
7168
7491
  422: "Validation Error"
7169
7492
  }
7170
7493
  });
7171
7494
  };
7172
- var updateShopsShopIdAttributesAttributeIdPut = (data) => {
7495
+ var updateAttribute = (data) => {
7173
7496
  return request(OpenAPI, {
7174
7497
  method: "PUT",
7175
7498
  url: "/shops/{shop_id}/attributes/{attribute_id}",
@@ -7177,6 +7500,9 @@ var updateShopsShopIdAttributesAttributeIdPut = (data) => {
7177
7500
  attribute_id: data.attributeId,
7178
7501
  shop_id: data.shopId
7179
7502
  },
7503
+ headers: {
7504
+ "X-API-Key": data.xApiKey
7505
+ },
7180
7506
  body: data.requestBody,
7181
7507
  mediaType: "application/json",
7182
7508
  errors: {
@@ -7184,7 +7510,7 @@ var updateShopsShopIdAttributesAttributeIdPut = (data) => {
7184
7510
  }
7185
7511
  });
7186
7512
  };
7187
- var deleteShopsShopIdAttributesAttributeIdDelete = (data) => {
7513
+ var deleteAttribute = (data) => {
7188
7514
  return request(OpenAPI, {
7189
7515
  method: "DELETE",
7190
7516
  url: "/shops/{shop_id}/attributes/{attribute_id}",
@@ -7192,6 +7518,48 @@ var deleteShopsShopIdAttributesAttributeIdDelete = (data) => {
7192
7518
  attribute_id: data.attributeId,
7193
7519
  shop_id: data.shopId
7194
7520
  },
7521
+ headers: {
7522
+ "X-API-Key": data.xApiKey
7523
+ },
7524
+ errors: {
7525
+ 422: "Validation Error"
7526
+ }
7527
+ });
7528
+ };
7529
+ var mintShopsShopIdApiKeysPost = (data) => {
7530
+ return request(OpenAPI, {
7531
+ method: "POST",
7532
+ url: "/shops/{shop_id}/api-keys/",
7533
+ path: {
7534
+ shop_id: data.shopId
7535
+ },
7536
+ body: data.requestBody,
7537
+ mediaType: "application/json",
7538
+ errors: {
7539
+ 422: "Validation Error"
7540
+ }
7541
+ });
7542
+ };
7543
+ var listKeysShopsShopIdApiKeysGet = (data) => {
7544
+ return request(OpenAPI, {
7545
+ method: "GET",
7546
+ url: "/shops/{shop_id}/api-keys/",
7547
+ path: {
7548
+ shop_id: data.shopId
7549
+ },
7550
+ errors: {
7551
+ 422: "Validation Error"
7552
+ }
7553
+ });
7554
+ };
7555
+ var revokeShopsShopIdApiKeysKeyIdDelete = (data) => {
7556
+ return request(OpenAPI, {
7557
+ method: "DELETE",
7558
+ url: "/shops/{shop_id}/api-keys/{key_id}",
7559
+ path: {
7560
+ shop_id: data.shopId,
7561
+ key_id: data.keyId
7562
+ },
7195
7563
  errors: {
7196
7564
  422: "Validation Error"
7197
7565
  }
@@ -7649,6 +8017,9 @@ export {
7649
8017
  $AccountSchema,
7650
8018
  $AccountUpdate,
7651
8019
  $AdminAccountSchema,
8020
+ $ApiKeyCreate,
8021
+ $ApiKeyCreated,
8022
+ $ApiKeyRead,
7652
8023
  $AttributeCreate,
7653
8024
  $AttributeOptionCreate,
7654
8025
  $AttributeOptionSchema,
@@ -7672,9 +8043,9 @@ export {
7672
8043
  $ConfigurationLanguageFieldMenuItems,
7673
8044
  $ConfigurationLanguageFieldStaticTexts,
7674
8045
  $ConfigurationLanguageFields,
7675
- $ConfigurationLanguages_Input,
7676
- $ConfigurationLanguages_Output,
8046
+ $ConfigurationLanguages,
7677
8047
  $ConfigurationLegal,
8048
+ $ConfigurationOrderStatusMails,
7678
8049
  $ConfigurationShipping_Input,
7679
8050
  $ConfigurationShipping_Output,
7680
8051
  $ConfigurationV1_Input,
@@ -7693,6 +8064,7 @@ export {
7693
8064
  $LicenseUpdate,
7694
8065
  $LinkStripeBody,
7695
8066
  $Msg,
8067
+ $MyShopsResponse,
7696
8068
  $OrderBase,
7697
8069
  $OrderCreate,
7698
8070
  $OrderCreated,
@@ -7750,6 +8122,8 @@ export {
7750
8122
  calculateShippingCalculatePost,
7751
8123
  cancelSubscriptionShopsShopIdStripeSubscriptionSubscriptionIdDelete,
7752
8124
  checkOrdersCheckIdsGet,
8125
+ createAttribute,
8126
+ createCategory,
7753
8127
  createEarlyAccessPost,
7754
8128
  createFaqPost,
7755
8129
  createLicensesPost,
@@ -7757,46 +8131,41 @@ export {
7757
8131
  createOptionV2ShopsShopIdAttributeOptionsPost,
7758
8132
  createOrdersPost,
7759
8133
  createPaymentIntentShopsShopIdStripePost,
8134
+ createProduct,
7760
8135
  createShopsPost,
7761
8136
  createShopsShopIdAccountsPost,
7762
- createShopsShopIdAttributesPost,
7763
- createShopsShopIdCategoriesPost,
7764
- createShopsShopIdProductsPost,
7765
8137
  createShopsShopIdProductsToTagsPost,
7766
- createShopsShopIdTagsPost,
7767
8138
  createSubscriptionIntentShopsShopIdStripeSubscriptionPost,
8139
+ createTag,
7768
8140
  createUsersPost,
8141
+ deleteAttribute,
8142
+ deleteCategory,
7769
8143
  deleteFaqFaqIdDelete,
7770
8144
  deleteImageShopsShopIdCategoriesImagesDeleteIdPut,
7771
8145
  deleteLicensesIdDelete,
7772
8146
  deleteOptionShopsShopIdAttributesAttributeIdOptionsOptionIdDelete,
7773
8147
  deleteOptionV2ShopsShopIdAttributeOptionsOptionIdDelete,
7774
8148
  deleteOrdersOrderIdDelete,
8149
+ deleteProduct,
7775
8150
  deleteShopsShopIdAccountsAccountIdDelete,
7776
- deleteShopsShopIdAttributesAttributeIdDelete,
7777
- deleteShopsShopIdCategoriesCategoryIdDelete,
7778
8151
  deleteShopsShopIdDelete,
7779
- deleteShopsShopIdProductsProductIdDelete,
7780
8152
  deleteShopsShopIdProductsToTagsProductToTagIdDelete,
7781
- deleteShopsShopIdTagsTagIdDelete,
8153
+ deleteTag,
7782
8154
  deleteTemporaryImagesImagesDeleteTempPost,
7783
8155
  editLicensesIdPut,
7784
8156
  formInfoRequestFormPost,
7785
8157
  formTestFormsPost,
7786
8158
  getAccountAdminAccountsIdGet,
7787
8159
  getAllowedIpsShopsAllowedIpsIdGet,
8160
+ getAttribute,
7788
8161
  getAvailableAttributesShopsShopIdCategoriesCategoryIdAvailableAttributesGet,
7789
8162
  getByIdFaqIdGet,
7790
8163
  getByIdLicensesIdGet,
7791
8164
  getByIdOrdersIdGet,
7792
8165
  getByIdShopsIdGet,
7793
8166
  getByIdShopsShopIdAccountsIdGet,
7794
- getByIdShopsShopIdAttributesIdAttributeIdGet,
7795
- getByIdShopsShopIdCategoriesCategoryIdGet,
7796
8167
  getByIdShopsShopIdCategoriesImagesIdGet,
7797
- getByIdShopsShopIdProductsProductIdGet,
7798
8168
  getByIdShopsShopIdProductsToTagsIdGet,
7799
- getByIdShopsShopIdTagsTagIdGet,
7800
8169
  getByIdUsersUserIdGet,
7801
8170
  getByIdWithAttributesShopsShopIdProductsProductIdWithAttributesGet,
7802
8171
  getByIdWithOptionsDirectShopsShopIdAttributesAttributeIdWithOptionsGet,
@@ -7807,6 +8176,7 @@ export {
7807
8176
  getByNameShopsShopIdTagsNameNameGet,
7808
8177
  getCacheStatusShopsCacheStatusIdGet,
7809
8178
  getCartProductsShopsShopIdPricesPost,
8179
+ getCategory,
7810
8180
  getCategoryProductsShopsShopIdCategoriesCategoryIdProductsGet,
7811
8181
  getConfigShopsConfigIdGet,
7812
8182
  getFormsFormsGet,
@@ -7818,30 +8188,35 @@ export {
7818
8188
  getMultiOrdersGet,
7819
8189
  getMultiShopsGet,
7820
8190
  getMultiShopsShopIdAccountsGet,
7821
- getMultiShopsShopIdAttributesGet,
7822
- getMultiShopsShopIdCategoriesGet,
7823
8191
  getMultiShopsShopIdCategoriesImagesGet,
7824
- getMultiShopsShopIdProductsGet,
7825
8192
  getMultiShopsShopIdProductsToTagsGet,
7826
- getMultiShopsShopIdTagsGet,
7827
8193
  getMultiUsersGet,
7828
8194
  getMultiWithAttributesShopsShopIdProductsWithAttributesGet,
7829
8195
  getOptionShopsShopIdAttributesAttributeIdOptionsOptionIdGet,
7830
8196
  getOptionV2ShopsShopIdAttributeOptionsOptionIdGet,
7831
8197
  getOrderProductsInStockOrdersStockOrderIdGet,
8198
+ getProduct,
7832
8199
  getProductsShopsShopIdPricesGet,
7833
8200
  getRelationIdShopsShopIdProductsToTagsGetRelationIdGet,
7834
8201
  getSignedDownloadLinkDownloadsFileNameGet,
7835
8202
  getSignedUploadUrlShopsShopIdImagesSignedUrlImageNameGet,
7836
8203
  getSignedUrlImagesSignedUrlImageNameGet,
7837
8204
  getStripeCustomerAdminAccountsIdStripeCustomerGet,
8205
+ getTag,
7838
8206
  getUserMeUsersMeGet,
7839
8207
  getWithOptionsShopsShopIdAttributesWithOptionsGet,
7840
8208
  linkStripeAdminAccountsIdLinkStripePost,
7841
8209
  listAccountsAdminAccountsGet,
8210
+ listAttributes,
8211
+ listCategories,
8212
+ listKeysShopsShopIdApiKeysGet,
8213
+ listMyShops,
7842
8214
  listOptionsForShopShopsShopIdAttributeOptionsGet,
7843
8215
  listOptionsShopsShopIdAttributesAttributeIdOptionsGet,
8216
+ listProducts,
8217
+ listTags,
7844
8218
  loginAccessTokenLoginAccessTokenPost,
8219
+ mintShopsShopIdApiKeysPost,
7845
8220
  moveImagesImagesMovePost,
7846
8221
  newFormFormsFormKeyPost,
7847
8222
  patchOrdersOrderIdPatch,
@@ -7855,6 +8230,7 @@ export {
7855
8230
  recoverPasswordPasswordRecoveryEmailPost,
7856
8231
  removeIpShopsAllowedIpsIdRemovePost,
7857
8232
  resetPasswordResetPasswordPost,
8233
+ revokeShopsShopIdApiKeysKeyIdDelete,
7858
8234
  sendDownloadLinkViaEmailDownloadsSendPost,
7859
8235
  showAllCompleteOrdersPerShopOrdersShopShopIdCompleteGet,
7860
8236
  showAllPendingOrdersPerShopOrdersShopShopIdPendingGet,
@@ -7863,17 +8239,17 @@ export {
7863
8239
  syncStripeAdminAccountsIdSyncStripePost,
7864
8240
  testTokenLoginTestTokenPost,
7865
8241
  triggerErrorSentryGet,
8242
+ updateAttribute,
8243
+ updateCategory,
7866
8244
  updateConfigShopsConfigIdPut,
7867
8245
  updateFaqFaqIdPut,
7868
8246
  updateOptionV2ShopsShopIdAttributeOptionsOptionIdPut,
7869
8247
  updateOrdersOrderIdPut,
8248
+ updateProduct,
7870
8249
  updateShopsShopIdAccountsAccountIdPut,
7871
- updateShopsShopIdAttributesAttributeIdPut,
7872
- updateShopsShopIdCategoriesCategoryIdPut,
7873
- updateShopsShopIdProductsProductIdPut,
7874
8250
  updateShopsShopIdProductsToTagsProductToTagIdPut,
7875
8251
  updateShopsShopIdPut,
7876
- updateShopsShopIdTagsTagIdPut,
8252
+ updateTag,
7877
8253
  updateUserMeUsersMePut,
7878
8254
  updateUsersUserIdPut
7879
8255
  };