@shopware/api-client 1.1.2 → 1.2.1
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.
- package/README.md +2 -2
- package/api-types/adminApiTypes.d.ts +1 -1
- package/api-types/storeApiSchema.json +1372 -377
- package/api-types/storeApiSchema.overrides.json +346 -0
- package/api-types/storeApiTypes.d.ts +916 -393
- package/api-types/storeApiTypes.overrides.ts +2 -117
- package/dist/index.cjs +7 -5
- package/dist/index.d.cts +1022 -496
- package/dist/index.d.mts +1022 -496
- package/dist/index.d.ts +1022 -496
- package/dist/index.mjs +7 -5
- package/package.json +8 -7
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"name": "MIT",
|
|
8
8
|
"url": "https://github.com/shopware/shopware/blob/trunk/LICENSE"
|
|
9
9
|
},
|
|
10
|
-
"version": "6.6.
|
|
10
|
+
"version": "6.6.8.0"
|
|
11
11
|
},
|
|
12
12
|
"servers": [{ "url": "https://demo-frontends.shopware.store/store-api" }],
|
|
13
13
|
"components": {
|
|
@@ -1842,7 +1842,10 @@
|
|
|
1842
1842
|
"slot": { "type": "string" },
|
|
1843
1843
|
"locked": { "type": "boolean" },
|
|
1844
1844
|
"config": { "type": "object" },
|
|
1845
|
-
"customFields": {
|
|
1845
|
+
"customFields": {
|
|
1846
|
+
"type": "object",
|
|
1847
|
+
"properties": { "_uniqueIdentifier": { "type": "string" } }
|
|
1848
|
+
},
|
|
1846
1849
|
"data": { "type": "object", "readOnly": true },
|
|
1847
1850
|
"blockId": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
1848
1851
|
"fieldConfig": { "type": "object" },
|
|
@@ -1860,7 +1863,54 @@
|
|
|
1860
1863
|
"format": "date-time",
|
|
1861
1864
|
"readOnly": true
|
|
1862
1865
|
},
|
|
1863
|
-
"translated": {
|
|
1866
|
+
"translated": {
|
|
1867
|
+
"type": "object",
|
|
1868
|
+
"properties": {
|
|
1869
|
+
"config": {
|
|
1870
|
+
"type": "object",
|
|
1871
|
+
"properties": {
|
|
1872
|
+
"content": {
|
|
1873
|
+
"type": "object",
|
|
1874
|
+
"properties": { "value": { "type": "string" } }
|
|
1875
|
+
}
|
|
1876
|
+
}
|
|
1877
|
+
}
|
|
1878
|
+
}
|
|
1879
|
+
},
|
|
1880
|
+
"extensions": {
|
|
1881
|
+
"properties": {
|
|
1882
|
+
"swagCmsExtensionsForm": {
|
|
1883
|
+
"properties": {
|
|
1884
|
+
"links": {
|
|
1885
|
+
"type": "object",
|
|
1886
|
+
"properties": {
|
|
1887
|
+
"related": {
|
|
1888
|
+
"type": "string",
|
|
1889
|
+
"format": "uri-reference",
|
|
1890
|
+
"example": "/cms-slot/ac5ca6960137c6b8a97c90c11b71d4bb/swagCmsExtensionsForm"
|
|
1891
|
+
}
|
|
1892
|
+
}
|
|
1893
|
+
},
|
|
1894
|
+
"data": {
|
|
1895
|
+
"type": "object",
|
|
1896
|
+
"properties": {
|
|
1897
|
+
"type": {
|
|
1898
|
+
"type": "string",
|
|
1899
|
+
"example": "swag_cms_extensions_form"
|
|
1900
|
+
},
|
|
1901
|
+
"id": {
|
|
1902
|
+
"type": "string",
|
|
1903
|
+
"pattern": "^[0-9a-f]{32}$",
|
|
1904
|
+
"example": "0654ad514da002e9d77fa24ee33acd95"
|
|
1905
|
+
}
|
|
1906
|
+
}
|
|
1907
|
+
}
|
|
1908
|
+
},
|
|
1909
|
+
"type": "object"
|
|
1910
|
+
}
|
|
1911
|
+
},
|
|
1912
|
+
"type": "object"
|
|
1913
|
+
},
|
|
1864
1914
|
"block": { "$ref": "#/components/schemas/CmsBlock" }
|
|
1865
1915
|
},
|
|
1866
1916
|
"type": "object"
|
|
@@ -2347,10 +2397,8 @@
|
|
|
2347
2397
|
"salutationId": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
2348
2398
|
"firstName": { "type": "string" },
|
|
2349
2399
|
"lastName": { "type": "string" },
|
|
2350
|
-
"company": { "type": "string" },
|
|
2351
2400
|
"email": { "type": "string" },
|
|
2352
2401
|
"title": { "type": "string" },
|
|
2353
|
-
"vatIds": { "type": "array", "items": { "type": "string" } },
|
|
2354
2402
|
"affiliateCode": { "type": "string" },
|
|
2355
2403
|
"campaignCode": { "type": "string" },
|
|
2356
2404
|
"active": { "type": "boolean" },
|
|
@@ -2391,7 +2439,6 @@
|
|
|
2391
2439
|
"items": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
2392
2440
|
"readOnly": true
|
|
2393
2441
|
},
|
|
2394
|
-
"accountType": { "type": "string" },
|
|
2395
2442
|
"createdById": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
2396
2443
|
"updatedById": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
2397
2444
|
"defaultPaymentMethodId": {
|
|
@@ -2471,7 +2518,27 @@
|
|
|
2471
2518
|
},
|
|
2472
2519
|
"apiAlias": { "type": "string", "enum": ["customer"] }
|
|
2473
2520
|
},
|
|
2474
|
-
"type": "object"
|
|
2521
|
+
"type": "object",
|
|
2522
|
+
"oneOf": [
|
|
2523
|
+
{
|
|
2524
|
+
"required": ["accountType"],
|
|
2525
|
+
"properties": {
|
|
2526
|
+
"accountType": { "type": "string", "enum": ["private"] }
|
|
2527
|
+
}
|
|
2528
|
+
},
|
|
2529
|
+
{
|
|
2530
|
+
"required": ["accountType", "vatIds", "company"],
|
|
2531
|
+
"properties": {
|
|
2532
|
+
"accountType": { "type": "string", "enum": ["business"] },
|
|
2533
|
+
"vatIds": {
|
|
2534
|
+
"type": "array",
|
|
2535
|
+
"items": { "type": "string" },
|
|
2536
|
+
"minItems": 1
|
|
2537
|
+
},
|
|
2538
|
+
"company": { "type": "string" }
|
|
2539
|
+
}
|
|
2540
|
+
}
|
|
2541
|
+
]
|
|
2475
2542
|
},
|
|
2476
2543
|
"CustomerAddress": {
|
|
2477
2544
|
"description": "Added since version: 6.0.0.0",
|
|
@@ -2886,7 +2953,6 @@
|
|
|
2886
2953
|
"id": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
2887
2954
|
"name": { "type": "string" },
|
|
2888
2955
|
"url": { "type": "string" },
|
|
2889
|
-
"startAsBroadcast": { "type": "boolean" },
|
|
2890
2956
|
"customFields": { "type": "object" },
|
|
2891
2957
|
"createdAt": {
|
|
2892
2958
|
"type": "string",
|
|
@@ -3521,6 +3587,42 @@
|
|
|
3521
3587
|
"readOnly": true
|
|
3522
3588
|
},
|
|
3523
3589
|
"translated": { "type": "object" },
|
|
3590
|
+
"extensions": {
|
|
3591
|
+
"properties": {
|
|
3592
|
+
"swagCmsExtensionsForms": {
|
|
3593
|
+
"properties": {
|
|
3594
|
+
"links": {
|
|
3595
|
+
"type": "object",
|
|
3596
|
+
"properties": {
|
|
3597
|
+
"related": {
|
|
3598
|
+
"type": "string",
|
|
3599
|
+
"format": "uri-reference",
|
|
3600
|
+
"example": "/mail-template/901aa1bf1715ad482f037eaa8b9cdc3a/swagCmsExtensionsForms"
|
|
3601
|
+
}
|
|
3602
|
+
}
|
|
3603
|
+
},
|
|
3604
|
+
"data": {
|
|
3605
|
+
"type": "array",
|
|
3606
|
+
"items": {
|
|
3607
|
+
"type": "object",
|
|
3608
|
+
"properties": {
|
|
3609
|
+
"type": {
|
|
3610
|
+
"type": "string",
|
|
3611
|
+
"example": "swag_cms_extensions_form"
|
|
3612
|
+
},
|
|
3613
|
+
"id": {
|
|
3614
|
+
"type": "string",
|
|
3615
|
+
"example": "a08561237fe1e2a012502c820a08405d"
|
|
3616
|
+
}
|
|
3617
|
+
}
|
|
3618
|
+
}
|
|
3619
|
+
}
|
|
3620
|
+
},
|
|
3621
|
+
"type": "object"
|
|
3622
|
+
}
|
|
3623
|
+
},
|
|
3624
|
+
"type": "object"
|
|
3625
|
+
},
|
|
3524
3626
|
"mailTemplateType": {
|
|
3525
3627
|
"$ref": "#/components/schemas/MailTemplateType"
|
|
3526
3628
|
},
|
|
@@ -3643,14 +3745,14 @@
|
|
|
3643
3745
|
],
|
|
3644
3746
|
"properties": {
|
|
3645
3747
|
"id": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
3646
|
-
"mimeType": { "type": "string"
|
|
3748
|
+
"mimeType": { "type": "string" },
|
|
3647
3749
|
"fileExtension": { "type": "string", "readOnly": true },
|
|
3648
3750
|
"uploadedAt": {
|
|
3649
3751
|
"type": "string",
|
|
3650
3752
|
"format": "date-time",
|
|
3651
3753
|
"readOnly": true
|
|
3652
3754
|
},
|
|
3653
|
-
"fileName": { "type": "string"
|
|
3755
|
+
"fileName": { "type": "string" },
|
|
3654
3756
|
"fileSize": {
|
|
3655
3757
|
"type": "integer",
|
|
3656
3758
|
"format": "int64",
|
|
@@ -4151,6 +4253,32 @@
|
|
|
4151
4253
|
}
|
|
4152
4254
|
},
|
|
4153
4255
|
"type": "object"
|
|
4256
|
+
},
|
|
4257
|
+
"quote": {
|
|
4258
|
+
"properties": {
|
|
4259
|
+
"links": {
|
|
4260
|
+
"type": "object",
|
|
4261
|
+
"properties": {
|
|
4262
|
+
"related": {
|
|
4263
|
+
"type": "string",
|
|
4264
|
+
"format": "uri-reference",
|
|
4265
|
+
"example": "/order/a240fa27925a635b08dc28c9e4f9216d/quote"
|
|
4266
|
+
}
|
|
4267
|
+
}
|
|
4268
|
+
},
|
|
4269
|
+
"data": {
|
|
4270
|
+
"type": "object",
|
|
4271
|
+
"properties": {
|
|
4272
|
+
"type": { "type": "string", "example": "quote" },
|
|
4273
|
+
"id": {
|
|
4274
|
+
"type": "string",
|
|
4275
|
+
"pattern": "^[0-9a-f]{32}$",
|
|
4276
|
+
"example": "7a674c327bfa07f7c1204fb38ca6ef3b"
|
|
4277
|
+
}
|
|
4278
|
+
}
|
|
4279
|
+
}
|
|
4280
|
+
},
|
|
4281
|
+
"type": "object"
|
|
4154
4282
|
}
|
|
4155
4283
|
},
|
|
4156
4284
|
"type": "object"
|
|
@@ -6154,7 +6282,8 @@
|
|
|
6154
6282
|
}
|
|
6155
6283
|
},
|
|
6156
6284
|
"type": "object"
|
|
6157
|
-
}
|
|
6285
|
+
},
|
|
6286
|
+
{ "$ref": "#/components/schemas/DiscountLineItemPayload" }
|
|
6158
6287
|
]
|
|
6159
6288
|
},
|
|
6160
6289
|
"Product": {
|
|
@@ -7107,122 +7236,479 @@
|
|
|
7107
7236
|
},
|
|
7108
7237
|
"type": "object"
|
|
7109
7238
|
},
|
|
7110
|
-
"
|
|
7239
|
+
"QuoteJsonApi": {
|
|
7111
7240
|
"description": "Added since version: 6.5.3.0",
|
|
7112
|
-
"
|
|
7113
|
-
"
|
|
7114
|
-
|
|
7115
|
-
"currencyId",
|
|
7116
|
-
"languageId",
|
|
7117
|
-
"salesChannelId",
|
|
7118
|
-
"customerId"
|
|
7119
|
-
],
|
|
7120
|
-
"properties": {
|
|
7121
|
-
"id": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
7122
|
-
"versionId": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
7123
|
-
"stateId": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
7124
|
-
"userId": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
7125
|
-
"currencyId": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
7126
|
-
"languageId": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
7127
|
-
"salesChannelId": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
7128
|
-
"createdById": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
7129
|
-
"updatedById": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
7130
|
-
"customerId": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
7131
|
-
"orderId": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
7132
|
-
"orderVersionId": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
7133
|
-
"quoteNumber": { "type": "string" },
|
|
7134
|
-
"expirationDate": { "type": "string", "format": "date-time" },
|
|
7135
|
-
"sentAt": { "type": "string", "format": "date-time" },
|
|
7136
|
-
"price": {
|
|
7241
|
+
"allOf": [
|
|
7242
|
+
{ "$ref": "#/components/schemas/resource" },
|
|
7243
|
+
{
|
|
7137
7244
|
"required": [
|
|
7138
|
-
"
|
|
7139
|
-
"
|
|
7140
|
-
"
|
|
7141
|
-
"
|
|
7142
|
-
"
|
|
7245
|
+
"id",
|
|
7246
|
+
"stateId",
|
|
7247
|
+
"currencyId",
|
|
7248
|
+
"languageId",
|
|
7249
|
+
"salesChannelId",
|
|
7250
|
+
"customerId"
|
|
7143
7251
|
],
|
|
7144
7252
|
"properties": {
|
|
7145
|
-
"
|
|
7146
|
-
"
|
|
7147
|
-
"
|
|
7148
|
-
"
|
|
7149
|
-
"
|
|
7150
|
-
"
|
|
7151
|
-
"
|
|
7152
|
-
|
|
7153
|
-
|
|
7154
|
-
|
|
7155
|
-
|
|
7156
|
-
|
|
7157
|
-
|
|
7158
|
-
"
|
|
7159
|
-
"
|
|
7160
|
-
|
|
7161
|
-
|
|
7162
|
-
|
|
7163
|
-
"
|
|
7164
|
-
"
|
|
7253
|
+
"id": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
7254
|
+
"versionId": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
7255
|
+
"stateId": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
7256
|
+
"userId": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
7257
|
+
"currencyId": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
7258
|
+
"languageId": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
7259
|
+
"salesChannelId": {
|
|
7260
|
+
"type": "string",
|
|
7261
|
+
"pattern": "^[0-9a-f]{32}$"
|
|
7262
|
+
},
|
|
7263
|
+
"createdById": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
7264
|
+
"updatedById": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
7265
|
+
"customerId": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
7266
|
+
"orderId": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
7267
|
+
"orderVersionId": {
|
|
7268
|
+
"type": "string",
|
|
7269
|
+
"pattern": "^[0-9a-f]{32}$"
|
|
7270
|
+
},
|
|
7271
|
+
"quoteNumber": { "type": "string" },
|
|
7272
|
+
"expirationDate": { "type": "string", "format": "date-time" },
|
|
7273
|
+
"sentAt": { "type": "string", "format": "date-time" },
|
|
7274
|
+
"price": {
|
|
7275
|
+
"required": [
|
|
7276
|
+
"netPrice",
|
|
7277
|
+
"totalPrice",
|
|
7278
|
+
"positionPrice",
|
|
7279
|
+
"rawTotal",
|
|
7280
|
+
"taxStatus"
|
|
7281
|
+
],
|
|
7165
7282
|
"properties": {
|
|
7166
|
-
"
|
|
7167
|
-
"
|
|
7168
|
-
"
|
|
7283
|
+
"netPrice": { "type": "number", "format": "float" },
|
|
7284
|
+
"totalPrice": { "type": "number", "format": "float" },
|
|
7285
|
+
"calculatedTaxes": { "type": "object" },
|
|
7286
|
+
"taxRules": { "type": "object" },
|
|
7287
|
+
"positionPrice": { "type": "number", "format": "float" },
|
|
7288
|
+
"rawTotal": { "type": "number", "format": "float" },
|
|
7289
|
+
"taxStatus": { "type": "string" }
|
|
7169
7290
|
},
|
|
7170
7291
|
"type": "object"
|
|
7171
7292
|
},
|
|
7172
|
-
"
|
|
7293
|
+
"shippingCosts": {
|
|
7294
|
+
"required": ["unitPrice", "totalPrice", "quantity"],
|
|
7173
7295
|
"properties": {
|
|
7174
|
-
"
|
|
7296
|
+
"unitPrice": { "type": "number", "format": "float" },
|
|
7297
|
+
"totalPrice": { "type": "number", "format": "float" },
|
|
7298
|
+
"quantity": { "type": "integer", "format": "int64" },
|
|
7299
|
+
"calculatedTaxes": { "type": "object" },
|
|
7300
|
+
"taxRules": { "type": "object" },
|
|
7301
|
+
"referencePrice": { "type": "object" },
|
|
7302
|
+
"listPrice": {
|
|
7303
|
+
"properties": {
|
|
7304
|
+
"price": { "type": "number", "format": "float" },
|
|
7305
|
+
"discount": { "type": "number", "format": "float" },
|
|
7306
|
+
"percentage": { "type": "number", "format": "float" }
|
|
7307
|
+
},
|
|
7308
|
+
"type": "object"
|
|
7309
|
+
},
|
|
7310
|
+
"regulationPrice": {
|
|
7311
|
+
"properties": {
|
|
7312
|
+
"price": { "type": "number", "format": "float" }
|
|
7313
|
+
},
|
|
7314
|
+
"type": "object"
|
|
7315
|
+
}
|
|
7175
7316
|
},
|
|
7176
7317
|
"type": "object"
|
|
7177
|
-
}
|
|
7178
|
-
|
|
7179
|
-
|
|
7180
|
-
|
|
7181
|
-
|
|
7182
|
-
|
|
7183
|
-
|
|
7184
|
-
|
|
7185
|
-
|
|
7186
|
-
|
|
7187
|
-
|
|
7188
|
-
|
|
7189
|
-
|
|
7190
|
-
|
|
7191
|
-
|
|
7192
|
-
|
|
7193
|
-
|
|
7194
|
-
|
|
7195
|
-
|
|
7196
|
-
|
|
7197
|
-
|
|
7198
|
-
|
|
7199
|
-
|
|
7200
|
-
|
|
7201
|
-
|
|
7202
|
-
|
|
7203
|
-
|
|
7204
|
-
|
|
7205
|
-
|
|
7206
|
-
|
|
7207
|
-
|
|
7208
|
-
|
|
7209
|
-
|
|
7210
|
-
|
|
7211
|
-
|
|
7212
|
-
|
|
7213
|
-
|
|
7214
|
-
|
|
7215
|
-
|
|
7216
|
-
|
|
7217
|
-
|
|
7218
|
-
|
|
7219
|
-
|
|
7220
|
-
|
|
7221
|
-
|
|
7222
|
-
|
|
7223
|
-
|
|
7224
|
-
|
|
7225
|
-
|
|
7318
|
+
},
|
|
7319
|
+
"discount": {
|
|
7320
|
+
"properties": {
|
|
7321
|
+
"type": { "type": "string" },
|
|
7322
|
+
"value": { "type": "number", "format": "float" }
|
|
7323
|
+
},
|
|
7324
|
+
"type": "object"
|
|
7325
|
+
},
|
|
7326
|
+
"taxStatus": { "type": "string", "readOnly": true },
|
|
7327
|
+
"amountTotal": {
|
|
7328
|
+
"type": "number",
|
|
7329
|
+
"format": "float",
|
|
7330
|
+
"readOnly": true
|
|
7331
|
+
},
|
|
7332
|
+
"amountNet": {
|
|
7333
|
+
"type": "number",
|
|
7334
|
+
"format": "float",
|
|
7335
|
+
"readOnly": true
|
|
7336
|
+
},
|
|
7337
|
+
"subtotalNet": { "type": "number", "format": "float" },
|
|
7338
|
+
"totalDiscount": { "type": "number", "format": "float" },
|
|
7339
|
+
"customFields": { "type": "object" },
|
|
7340
|
+
"createdAt": {
|
|
7341
|
+
"type": "string",
|
|
7342
|
+
"format": "date-time",
|
|
7343
|
+
"readOnly": true
|
|
7344
|
+
},
|
|
7345
|
+
"updatedAt": {
|
|
7346
|
+
"type": "string",
|
|
7347
|
+
"format": "date-time",
|
|
7348
|
+
"readOnly": true
|
|
7349
|
+
},
|
|
7350
|
+
"relationships": {
|
|
7351
|
+
"properties": {
|
|
7352
|
+
"stateMachineState": {
|
|
7353
|
+
"properties": {
|
|
7354
|
+
"links": {
|
|
7355
|
+
"type": "object",
|
|
7356
|
+
"properties": {
|
|
7357
|
+
"related": {
|
|
7358
|
+
"type": "string",
|
|
7359
|
+
"format": "uri-reference",
|
|
7360
|
+
"example": "/quote/c48e929b2b1eabba2ba036884433345e/stateMachineState"
|
|
7361
|
+
}
|
|
7362
|
+
}
|
|
7363
|
+
},
|
|
7364
|
+
"data": {
|
|
7365
|
+
"type": "object",
|
|
7366
|
+
"properties": {
|
|
7367
|
+
"type": {
|
|
7368
|
+
"type": "string",
|
|
7369
|
+
"example": "state_machine_state"
|
|
7370
|
+
},
|
|
7371
|
+
"id": {
|
|
7372
|
+
"type": "string",
|
|
7373
|
+
"pattern": "^[0-9a-f]{32}$",
|
|
7374
|
+
"example": "1ab22d393154f21e3be76aca3ec3ee31"
|
|
7375
|
+
}
|
|
7376
|
+
}
|
|
7377
|
+
}
|
|
7378
|
+
},
|
|
7379
|
+
"type": "object"
|
|
7380
|
+
},
|
|
7381
|
+
"currency": {
|
|
7382
|
+
"properties": {
|
|
7383
|
+
"links": {
|
|
7384
|
+
"type": "object",
|
|
7385
|
+
"properties": {
|
|
7386
|
+
"related": {
|
|
7387
|
+
"type": "string",
|
|
7388
|
+
"format": "uri-reference",
|
|
7389
|
+
"example": "/quote/c48e929b2b1eabba2ba036884433345e/currency"
|
|
7390
|
+
}
|
|
7391
|
+
}
|
|
7392
|
+
},
|
|
7393
|
+
"data": {
|
|
7394
|
+
"type": "object",
|
|
7395
|
+
"properties": {
|
|
7396
|
+
"type": { "type": "string", "example": "currency" },
|
|
7397
|
+
"id": {
|
|
7398
|
+
"type": "string",
|
|
7399
|
+
"pattern": "^[0-9a-f]{32}$",
|
|
7400
|
+
"example": "1af0389838508d7016a9841eb6273962"
|
|
7401
|
+
}
|
|
7402
|
+
}
|
|
7403
|
+
}
|
|
7404
|
+
},
|
|
7405
|
+
"type": "object"
|
|
7406
|
+
},
|
|
7407
|
+
"language": {
|
|
7408
|
+
"properties": {
|
|
7409
|
+
"links": {
|
|
7410
|
+
"type": "object",
|
|
7411
|
+
"properties": {
|
|
7412
|
+
"related": {
|
|
7413
|
+
"type": "string",
|
|
7414
|
+
"format": "uri-reference",
|
|
7415
|
+
"example": "/quote/c48e929b2b1eabba2ba036884433345e/language"
|
|
7416
|
+
}
|
|
7417
|
+
}
|
|
7418
|
+
},
|
|
7419
|
+
"data": {
|
|
7420
|
+
"type": "object",
|
|
7421
|
+
"properties": {
|
|
7422
|
+
"type": { "type": "string", "example": "language" },
|
|
7423
|
+
"id": {
|
|
7424
|
+
"type": "string",
|
|
7425
|
+
"pattern": "^[0-9a-f]{32}$",
|
|
7426
|
+
"example": "8512ae7d57b1396273f76fe6ed341a23"
|
|
7427
|
+
}
|
|
7428
|
+
}
|
|
7429
|
+
}
|
|
7430
|
+
},
|
|
7431
|
+
"type": "object"
|
|
7432
|
+
},
|
|
7433
|
+
"lineItems": {
|
|
7434
|
+
"properties": {
|
|
7435
|
+
"links": {
|
|
7436
|
+
"type": "object",
|
|
7437
|
+
"properties": {
|
|
7438
|
+
"related": {
|
|
7439
|
+
"type": "string",
|
|
7440
|
+
"format": "uri-reference",
|
|
7441
|
+
"example": "/quote/c48e929b2b1eabba2ba036884433345e/lineItems"
|
|
7442
|
+
}
|
|
7443
|
+
}
|
|
7444
|
+
},
|
|
7445
|
+
"data": {
|
|
7446
|
+
"type": "array",
|
|
7447
|
+
"items": {
|
|
7448
|
+
"type": "object",
|
|
7449
|
+
"properties": {
|
|
7450
|
+
"type": {
|
|
7451
|
+
"type": "string",
|
|
7452
|
+
"example": "quote_line_item"
|
|
7453
|
+
},
|
|
7454
|
+
"id": {
|
|
7455
|
+
"type": "string",
|
|
7456
|
+
"example": "a042af1aa9f3853fe3cd7dabc065568f"
|
|
7457
|
+
}
|
|
7458
|
+
}
|
|
7459
|
+
}
|
|
7460
|
+
}
|
|
7461
|
+
},
|
|
7462
|
+
"type": "object"
|
|
7463
|
+
},
|
|
7464
|
+
"deliveries": {
|
|
7465
|
+
"properties": {
|
|
7466
|
+
"links": {
|
|
7467
|
+
"type": "object",
|
|
7468
|
+
"properties": {
|
|
7469
|
+
"related": {
|
|
7470
|
+
"type": "string",
|
|
7471
|
+
"format": "uri-reference",
|
|
7472
|
+
"example": "/quote/c48e929b2b1eabba2ba036884433345e/deliveries"
|
|
7473
|
+
}
|
|
7474
|
+
}
|
|
7475
|
+
},
|
|
7476
|
+
"data": {
|
|
7477
|
+
"type": "array",
|
|
7478
|
+
"items": {
|
|
7479
|
+
"type": "object",
|
|
7480
|
+
"properties": {
|
|
7481
|
+
"type": {
|
|
7482
|
+
"type": "string",
|
|
7483
|
+
"example": "quote_delivery"
|
|
7484
|
+
},
|
|
7485
|
+
"id": {
|
|
7486
|
+
"type": "string",
|
|
7487
|
+
"example": "6fc31b6b9cd717cc0dcb81152308f8af"
|
|
7488
|
+
}
|
|
7489
|
+
}
|
|
7490
|
+
}
|
|
7491
|
+
}
|
|
7492
|
+
},
|
|
7493
|
+
"type": "object"
|
|
7494
|
+
},
|
|
7495
|
+
"transactions": {
|
|
7496
|
+
"properties": {
|
|
7497
|
+
"links": {
|
|
7498
|
+
"type": "object",
|
|
7499
|
+
"properties": {
|
|
7500
|
+
"related": {
|
|
7501
|
+
"type": "string",
|
|
7502
|
+
"format": "uri-reference",
|
|
7503
|
+
"example": "/quote/c48e929b2b1eabba2ba036884433345e/transactions"
|
|
7504
|
+
}
|
|
7505
|
+
}
|
|
7506
|
+
},
|
|
7507
|
+
"data": {
|
|
7508
|
+
"type": "array",
|
|
7509
|
+
"items": {
|
|
7510
|
+
"type": "object",
|
|
7511
|
+
"properties": {
|
|
7512
|
+
"type": {
|
|
7513
|
+
"type": "string",
|
|
7514
|
+
"example": "quote_transaction"
|
|
7515
|
+
},
|
|
7516
|
+
"id": {
|
|
7517
|
+
"type": "string",
|
|
7518
|
+
"example": "c15b977dd99332ca8623fbdfb86827e8"
|
|
7519
|
+
}
|
|
7520
|
+
}
|
|
7521
|
+
}
|
|
7522
|
+
}
|
|
7523
|
+
},
|
|
7524
|
+
"type": "object"
|
|
7525
|
+
},
|
|
7526
|
+
"comments": {
|
|
7527
|
+
"properties": {
|
|
7528
|
+
"links": {
|
|
7529
|
+
"type": "object",
|
|
7530
|
+
"properties": {
|
|
7531
|
+
"related": {
|
|
7532
|
+
"type": "string",
|
|
7533
|
+
"format": "uri-reference",
|
|
7534
|
+
"example": "/quote/c48e929b2b1eabba2ba036884433345e/comments"
|
|
7535
|
+
}
|
|
7536
|
+
}
|
|
7537
|
+
},
|
|
7538
|
+
"data": {
|
|
7539
|
+
"type": "array",
|
|
7540
|
+
"items": {
|
|
7541
|
+
"type": "object",
|
|
7542
|
+
"properties": {
|
|
7543
|
+
"type": {
|
|
7544
|
+
"type": "string",
|
|
7545
|
+
"example": "quote_comment"
|
|
7546
|
+
},
|
|
7547
|
+
"id": {
|
|
7548
|
+
"type": "string",
|
|
7549
|
+
"example": "a5d491060952aa8ad5fdee071be752de"
|
|
7550
|
+
}
|
|
7551
|
+
}
|
|
7552
|
+
}
|
|
7553
|
+
}
|
|
7554
|
+
},
|
|
7555
|
+
"type": "object"
|
|
7556
|
+
},
|
|
7557
|
+
"documents": {
|
|
7558
|
+
"properties": {
|
|
7559
|
+
"links": {
|
|
7560
|
+
"type": "object",
|
|
7561
|
+
"properties": {
|
|
7562
|
+
"related": {
|
|
7563
|
+
"type": "string",
|
|
7564
|
+
"format": "uri-reference",
|
|
7565
|
+
"example": "/quote/c48e929b2b1eabba2ba036884433345e/documents"
|
|
7566
|
+
}
|
|
7567
|
+
}
|
|
7568
|
+
},
|
|
7569
|
+
"data": {
|
|
7570
|
+
"type": "array",
|
|
7571
|
+
"items": {
|
|
7572
|
+
"type": "object",
|
|
7573
|
+
"properties": {
|
|
7574
|
+
"type": {
|
|
7575
|
+
"type": "string",
|
|
7576
|
+
"example": "quote_document"
|
|
7577
|
+
},
|
|
7578
|
+
"id": {
|
|
7579
|
+
"type": "string",
|
|
7580
|
+
"example": "21f64da1e5792c8295b964d159a14491"
|
|
7581
|
+
}
|
|
7582
|
+
}
|
|
7583
|
+
}
|
|
7584
|
+
}
|
|
7585
|
+
},
|
|
7586
|
+
"type": "object"
|
|
7587
|
+
}
|
|
7588
|
+
},
|
|
7589
|
+
"type": "object"
|
|
7590
|
+
}
|
|
7591
|
+
},
|
|
7592
|
+
"type": "object"
|
|
7593
|
+
}
|
|
7594
|
+
]
|
|
7595
|
+
},
|
|
7596
|
+
"Quote": {
|
|
7597
|
+
"description": "Added since version: 6.5.3.0",
|
|
7598
|
+
"required": [
|
|
7599
|
+
"id",
|
|
7600
|
+
"stateId",
|
|
7601
|
+
"currencyId",
|
|
7602
|
+
"languageId",
|
|
7603
|
+
"salesChannelId",
|
|
7604
|
+
"customerId"
|
|
7605
|
+
],
|
|
7606
|
+
"properties": {
|
|
7607
|
+
"id": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
7608
|
+
"versionId": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
7609
|
+
"stateId": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
7610
|
+
"userId": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
7611
|
+
"currencyId": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
7612
|
+
"languageId": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
7613
|
+
"salesChannelId": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
7614
|
+
"createdById": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
7615
|
+
"updatedById": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
7616
|
+
"customerId": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
7617
|
+
"orderId": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
7618
|
+
"orderVersionId": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
7619
|
+
"quoteNumber": { "type": "string" },
|
|
7620
|
+
"expirationDate": { "type": "string", "format": "date-time" },
|
|
7621
|
+
"sentAt": { "type": "string", "format": "date-time" },
|
|
7622
|
+
"price": {
|
|
7623
|
+
"required": [
|
|
7624
|
+
"netPrice",
|
|
7625
|
+
"totalPrice",
|
|
7626
|
+
"positionPrice",
|
|
7627
|
+
"rawTotal",
|
|
7628
|
+
"taxStatus"
|
|
7629
|
+
],
|
|
7630
|
+
"properties": {
|
|
7631
|
+
"netPrice": { "type": "number", "format": "float" },
|
|
7632
|
+
"totalPrice": { "type": "number", "format": "float" },
|
|
7633
|
+
"calculatedTaxes": { "type": "object" },
|
|
7634
|
+
"taxRules": { "type": "object" },
|
|
7635
|
+
"positionPrice": { "type": "number", "format": "float" },
|
|
7636
|
+
"rawTotal": { "type": "number", "format": "float" },
|
|
7637
|
+
"taxStatus": { "type": "string" }
|
|
7638
|
+
},
|
|
7639
|
+
"type": "object"
|
|
7640
|
+
},
|
|
7641
|
+
"shippingCosts": {
|
|
7642
|
+
"required": ["unitPrice", "totalPrice", "quantity"],
|
|
7643
|
+
"properties": {
|
|
7644
|
+
"unitPrice": { "type": "number", "format": "float" },
|
|
7645
|
+
"totalPrice": { "type": "number", "format": "float" },
|
|
7646
|
+
"quantity": { "type": "integer", "format": "int64" },
|
|
7647
|
+
"calculatedTaxes": { "type": "object" },
|
|
7648
|
+
"taxRules": { "type": "object" },
|
|
7649
|
+
"referencePrice": { "type": "object" },
|
|
7650
|
+
"listPrice": {
|
|
7651
|
+
"properties": {
|
|
7652
|
+
"price": { "type": "number", "format": "float" },
|
|
7653
|
+
"discount": { "type": "number", "format": "float" },
|
|
7654
|
+
"percentage": { "type": "number", "format": "float" }
|
|
7655
|
+
},
|
|
7656
|
+
"type": "object"
|
|
7657
|
+
},
|
|
7658
|
+
"regulationPrice": {
|
|
7659
|
+
"properties": {
|
|
7660
|
+
"price": { "type": "number", "format": "float" }
|
|
7661
|
+
},
|
|
7662
|
+
"type": "object"
|
|
7663
|
+
}
|
|
7664
|
+
},
|
|
7665
|
+
"type": "object"
|
|
7666
|
+
},
|
|
7667
|
+
"discount": {
|
|
7668
|
+
"properties": {
|
|
7669
|
+
"type": { "type": "string" },
|
|
7670
|
+
"value": { "type": "number", "format": "float" }
|
|
7671
|
+
},
|
|
7672
|
+
"type": "object"
|
|
7673
|
+
},
|
|
7674
|
+
"taxStatus": { "type": "string", "readOnly": true },
|
|
7675
|
+
"amountTotal": {
|
|
7676
|
+
"type": "number",
|
|
7677
|
+
"format": "float",
|
|
7678
|
+
"readOnly": true
|
|
7679
|
+
},
|
|
7680
|
+
"amountNet": {
|
|
7681
|
+
"type": "number",
|
|
7682
|
+
"format": "float",
|
|
7683
|
+
"readOnly": true
|
|
7684
|
+
},
|
|
7685
|
+
"subtotalNet": { "type": "number", "format": "float" },
|
|
7686
|
+
"totalDiscount": { "type": "number", "format": "float" },
|
|
7687
|
+
"customFields": { "type": "object" },
|
|
7688
|
+
"createdAt": {
|
|
7689
|
+
"type": "string",
|
|
7690
|
+
"format": "date-time",
|
|
7691
|
+
"readOnly": true
|
|
7692
|
+
},
|
|
7693
|
+
"updatedAt": {
|
|
7694
|
+
"type": "string",
|
|
7695
|
+
"format": "date-time",
|
|
7696
|
+
"readOnly": true
|
|
7697
|
+
},
|
|
7698
|
+
"stateMachineState": {
|
|
7699
|
+
"$ref": "#/components/schemas/StateMachineState"
|
|
7700
|
+
},
|
|
7701
|
+
"currency": { "$ref": "#/components/schemas/Currency" },
|
|
7702
|
+
"language": { "$ref": "#/components/schemas/Language" },
|
|
7703
|
+
"lineItems": {
|
|
7704
|
+
"type": "array",
|
|
7705
|
+
"items": { "$ref": "#/components/schemas/QuoteLineItem" }
|
|
7706
|
+
},
|
|
7707
|
+
"deliveries": {
|
|
7708
|
+
"type": "array",
|
|
7709
|
+
"items": { "$ref": "#/components/schemas/QuoteDelivery" }
|
|
7710
|
+
},
|
|
7711
|
+
"transactions": {
|
|
7226
7712
|
"type": "array",
|
|
7227
7713
|
"items": { "$ref": "#/components/schemas/QuoteTransaction" }
|
|
7228
7714
|
},
|
|
@@ -7517,7 +8003,11 @@
|
|
|
7517
8003
|
"type": "array",
|
|
7518
8004
|
"items": { "$ref": "#/components/schemas/QuoteLineItem" }
|
|
7519
8005
|
},
|
|
7520
|
-
"cover": { "$ref": "#/components/schemas/Media" }
|
|
8006
|
+
"cover": { "$ref": "#/components/schemas/Media" },
|
|
8007
|
+
"deliveryPositions": {
|
|
8008
|
+
"type": "array",
|
|
8009
|
+
"items": { "$ref": "#/components/schemas/QuoteDeliveryPosition" }
|
|
8010
|
+
}
|
|
7521
8011
|
},
|
|
7522
8012
|
"type": "object"
|
|
7523
8013
|
},
|
|
@@ -7621,6 +8111,37 @@
|
|
|
7621
8111
|
}
|
|
7622
8112
|
},
|
|
7623
8113
|
"type": "object"
|
|
8114
|
+
},
|
|
8115
|
+
"swagCmsExtensionsBlockRules": {
|
|
8116
|
+
"properties": {
|
|
8117
|
+
"links": {
|
|
8118
|
+
"type": "object",
|
|
8119
|
+
"properties": {
|
|
8120
|
+
"related": {
|
|
8121
|
+
"type": "string",
|
|
8122
|
+
"format": "uri-reference",
|
|
8123
|
+
"example": "/rule/ab7a485ebe75b6dd7243ad719f23c7de/swagCmsExtensionsBlockRules"
|
|
8124
|
+
}
|
|
8125
|
+
}
|
|
8126
|
+
},
|
|
8127
|
+
"data": {
|
|
8128
|
+
"type": "array",
|
|
8129
|
+
"items": {
|
|
8130
|
+
"type": "object",
|
|
8131
|
+
"properties": {
|
|
8132
|
+
"type": {
|
|
8133
|
+
"type": "string",
|
|
8134
|
+
"example": "swag_cms_extensions_block_rule"
|
|
8135
|
+
},
|
|
8136
|
+
"id": {
|
|
8137
|
+
"type": "string",
|
|
8138
|
+
"example": "ce0b9f43f8947576ee10c93d4d69a4c4"
|
|
8139
|
+
}
|
|
8140
|
+
}
|
|
8141
|
+
}
|
|
8142
|
+
}
|
|
8143
|
+
},
|
|
8144
|
+
"type": "object"
|
|
7624
8145
|
}
|
|
7625
8146
|
},
|
|
7626
8147
|
"type": "object"
|
|
@@ -8454,6 +8975,22 @@
|
|
|
8454
8975
|
},
|
|
8455
8976
|
"type": "object"
|
|
8456
8977
|
},
|
|
8978
|
+
"SpatialSceneGroup": {
|
|
8979
|
+
"properties": {
|
|
8980
|
+
"id": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
8981
|
+
"createdAt": {
|
|
8982
|
+
"type": "string",
|
|
8983
|
+
"format": "date-time",
|
|
8984
|
+
"readOnly": true
|
|
8985
|
+
},
|
|
8986
|
+
"updatedAt": {
|
|
8987
|
+
"type": "string",
|
|
8988
|
+
"format": "date-time",
|
|
8989
|
+
"readOnly": true
|
|
8990
|
+
}
|
|
8991
|
+
},
|
|
8992
|
+
"type": "object"
|
|
8993
|
+
},
|
|
8457
8994
|
"SpatialSceneLight": {
|
|
8458
8995
|
"properties": {
|
|
8459
8996
|
"id": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
@@ -8470,6 +9007,22 @@
|
|
|
8470
9007
|
},
|
|
8471
9008
|
"type": "object"
|
|
8472
9009
|
},
|
|
9010
|
+
"SpatialSceneMaterial": {
|
|
9011
|
+
"properties": {
|
|
9012
|
+
"id": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
9013
|
+
"createdAt": {
|
|
9014
|
+
"type": "string",
|
|
9015
|
+
"format": "date-time",
|
|
9016
|
+
"readOnly": true
|
|
9017
|
+
},
|
|
9018
|
+
"updatedAt": {
|
|
9019
|
+
"type": "string",
|
|
9020
|
+
"format": "date-time",
|
|
9021
|
+
"readOnly": true
|
|
9022
|
+
}
|
|
9023
|
+
},
|
|
9024
|
+
"type": "object"
|
|
9025
|
+
},
|
|
8473
9026
|
"SpatialSceneObject": {
|
|
8474
9027
|
"properties": {
|
|
8475
9028
|
"id": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
@@ -8486,6 +9039,22 @@
|
|
|
8486
9039
|
},
|
|
8487
9040
|
"type": "object"
|
|
8488
9041
|
},
|
|
9042
|
+
"SpatialScenePrimitive": {
|
|
9043
|
+
"properties": {
|
|
9044
|
+
"id": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
9045
|
+
"createdAt": {
|
|
9046
|
+
"type": "string",
|
|
9047
|
+
"format": "date-time",
|
|
9048
|
+
"readOnly": true
|
|
9049
|
+
},
|
|
9050
|
+
"updatedAt": {
|
|
9051
|
+
"type": "string",
|
|
9052
|
+
"format": "date-time",
|
|
9053
|
+
"readOnly": true
|
|
9054
|
+
}
|
|
9055
|
+
},
|
|
9056
|
+
"type": "object"
|
|
9057
|
+
},
|
|
8489
9058
|
"SsoProvider": {
|
|
8490
9059
|
"properties": {
|
|
8491
9060
|
"id": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
@@ -9000,8 +9569,17 @@
|
|
|
9000
9569
|
"type": "object"
|
|
9001
9570
|
},
|
|
9002
9571
|
"SwagCmsExtensionsForm": {
|
|
9572
|
+
"required": ["id", "technicalName", "mailTemplateId"],
|
|
9003
9573
|
"properties": {
|
|
9004
9574
|
"id": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
9575
|
+
"cmsSlotId": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
9576
|
+
"cmsSlotVersionId": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
9577
|
+
"isTemplate": { "type": "boolean" },
|
|
9578
|
+
"technicalName": { "type": "string" },
|
|
9579
|
+
"title": { "type": "string" },
|
|
9580
|
+
"successMessage": { "type": "string" },
|
|
9581
|
+
"receivers": { "type": "object" },
|
|
9582
|
+
"mailTemplateId": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
9005
9583
|
"createdAt": {
|
|
9006
9584
|
"type": "string",
|
|
9007
9585
|
"format": "date-time",
|
|
@@ -9012,13 +9590,26 @@
|
|
|
9012
9590
|
"format": "date-time",
|
|
9013
9591
|
"readOnly": true
|
|
9014
9592
|
},
|
|
9015
|
-
"translated": { "type": "object" }
|
|
9593
|
+
"translated": { "type": "object" },
|
|
9594
|
+
"groups": {
|
|
9595
|
+
"type": "array",
|
|
9596
|
+
"items": {
|
|
9597
|
+
"$ref": "#/components/schemas/SwagCmsExtensionsFormGroup"
|
|
9598
|
+
}
|
|
9599
|
+
},
|
|
9600
|
+
"cmsSlot": { "$ref": "#/components/schemas/CmsSlot" },
|
|
9601
|
+
"mailTemplate": { "$ref": "#/components/schemas/MailTemplate" }
|
|
9016
9602
|
},
|
|
9017
9603
|
"type": "object"
|
|
9018
9604
|
},
|
|
9019
9605
|
"SwagCmsExtensionsFormGroup": {
|
|
9606
|
+
"required": ["id", "technicalName", "position"],
|
|
9020
9607
|
"properties": {
|
|
9021
9608
|
"id": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
9609
|
+
"formId": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
9610
|
+
"title": { "type": "string" },
|
|
9611
|
+
"technicalName": { "type": "string" },
|
|
9612
|
+
"position": { "type": "integer", "format": "int64" },
|
|
9022
9613
|
"createdAt": {
|
|
9023
9614
|
"type": "string",
|
|
9024
9615
|
"format": "date-time",
|
|
@@ -9029,14 +9620,38 @@
|
|
|
9029
9620
|
"format": "date-time",
|
|
9030
9621
|
"readOnly": true
|
|
9031
9622
|
},
|
|
9032
|
-
"translated": { "type": "object" }
|
|
9623
|
+
"translated": { "type": "object" },
|
|
9624
|
+
"fields": {
|
|
9625
|
+
"type": "array",
|
|
9626
|
+
"items": {
|
|
9627
|
+
"$ref": "#/components/schemas/SwagCmsExtensionsFormGroupField"
|
|
9628
|
+
}
|
|
9629
|
+
},
|
|
9630
|
+
"form": { "$ref": "#/components/schemas/SwagCmsExtensionsForm" }
|
|
9033
9631
|
},
|
|
9034
9632
|
"type": "object"
|
|
9035
9633
|
},
|
|
9036
9634
|
"SwagCmsExtensionsFormGroupField": {
|
|
9037
|
-
"required": [
|
|
9635
|
+
"required": [
|
|
9636
|
+
"id",
|
|
9637
|
+
"position",
|
|
9638
|
+
"width",
|
|
9639
|
+
"type",
|
|
9640
|
+
"technicalName",
|
|
9641
|
+
"label"
|
|
9642
|
+
],
|
|
9038
9643
|
"properties": {
|
|
9039
9644
|
"id": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
9645
|
+
"groupId": { "type": "string", "pattern": "^[0-9a-f]{32}$" },
|
|
9646
|
+
"position": { "type": "integer", "format": "int64" },
|
|
9647
|
+
"width": { "type": "integer", "format": "int64" },
|
|
9648
|
+
"type": { "type": "string" },
|
|
9649
|
+
"technicalName": { "type": "string" },
|
|
9650
|
+
"required": { "type": "boolean" },
|
|
9651
|
+
"label": { "type": "string" },
|
|
9652
|
+
"placeholder": { "type": "string" },
|
|
9653
|
+
"errorMessage": { "type": "string" },
|
|
9654
|
+
"config": { "type": "object" },
|
|
9040
9655
|
"createdAt": {
|
|
9041
9656
|
"type": "string",
|
|
9042
9657
|
"format": "date-time",
|
|
@@ -9047,7 +9662,8 @@
|
|
|
9047
9662
|
"format": "date-time",
|
|
9048
9663
|
"readOnly": true
|
|
9049
9664
|
},
|
|
9050
|
-
"translated": { "type": "object" }
|
|
9665
|
+
"translated": { "type": "object" },
|
|
9666
|
+
"group": { "$ref": "#/components/schemas/SwagCmsExtensionsFormGroup" }
|
|
9051
9667
|
},
|
|
9052
9668
|
"type": "object"
|
|
9053
9669
|
},
|
|
@@ -11421,11 +12037,7 @@
|
|
|
11421
12037
|
"description": "List of queries to restrict the search result. For more information, see [Search Queries > Query](https://shopware.stoplight.io/docs/store-api/docs/concepts/search-queries.md#query)",
|
|
11422
12038
|
"items": { "$ref": "#/components/schemas/Query" }
|
|
11423
12039
|
},
|
|
11424
|
-
"associations": {
|
|
11425
|
-
"type": "array",
|
|
11426
|
-
"description": "Associations to include. For more information, see [Search Queries > Associations](https://shopware.stoplight.io/docs/store-api/cf710bf73d0cd-search-queries#associations)",
|
|
11427
|
-
"items": { "$ref": "#/components/schemas/Association" }
|
|
11428
|
-
},
|
|
12040
|
+
"associations": { "$ref": "#/components/schemas/Associations" },
|
|
11429
12041
|
"post-filter": {
|
|
11430
12042
|
"type": "array",
|
|
11431
12043
|
"description": "Filters that applied without affecting aggregations. For more information, see [Search Queries > Post Filter](https://shopware.stoplight.io/docs/store-api/docs/concepts/search-queries.md#post-filter)",
|
|
@@ -11443,7 +12055,10 @@
|
|
|
11443
12055
|
"description": "Sorting in the search result.",
|
|
11444
12056
|
"items": { "$ref": "#/components/schemas/Sort" }
|
|
11445
12057
|
},
|
|
11446
|
-
"aggregations": {
|
|
12058
|
+
"aggregations": {
|
|
12059
|
+
"type": "array",
|
|
12060
|
+
"items": { "$ref": "#/components/schemas/Aggregation" }
|
|
12061
|
+
},
|
|
11447
12062
|
"fields": {
|
|
11448
12063
|
"type": "array",
|
|
11449
12064
|
"description": "Fields which should be returned in the search result.",
|
|
@@ -11455,63 +12070,60 @@
|
|
|
11455
12070
|
"items": { "type": "string", "description": "Name of a field" }
|
|
11456
12071
|
},
|
|
11457
12072
|
"total-count-mode": { "$ref": "#/components/schemas/TotalCountMode" },
|
|
11458
|
-
"includes": { "$ref": "#/components/schemas/
|
|
12073
|
+
"includes": { "$ref": "#/components/schemas/Includes" }
|
|
11459
12074
|
}
|
|
11460
12075
|
},
|
|
11461
|
-
"
|
|
12076
|
+
"Associations": {
|
|
11462
12077
|
"type": "object",
|
|
11463
12078
|
"additionalProperties": { "$ref": "#/components/schemas/Criteria" }
|
|
11464
12079
|
},
|
|
11465
|
-
"
|
|
12080
|
+
"Includes": {
|
|
11466
12081
|
"type": "object",
|
|
11467
12082
|
"additionalProperties": {
|
|
11468
12083
|
"type": "array",
|
|
11469
|
-
"items": { "type": "string" }
|
|
11470
|
-
}
|
|
11471
|
-
},
|
|
11472
|
-
"Aggregations": {
|
|
11473
|
-
"type": "array",
|
|
11474
|
-
"items": {
|
|
11475
|
-
"anyOf": [
|
|
11476
|
-
{ "$ref": "#/components/schemas/AggregationMetrics" },
|
|
11477
|
-
{
|
|
11478
|
-
"title": "AggregationEntity",
|
|
11479
|
-
"allOf": [
|
|
11480
|
-
{ "$ref": "#/components/schemas/AggregationEntity" },
|
|
11481
|
-
{ "$ref": "#/components/schemas/SubAggregations" }
|
|
11482
|
-
]
|
|
11483
|
-
},
|
|
11484
|
-
{
|
|
11485
|
-
"title": "AggregationFilter",
|
|
11486
|
-
"allOf": [
|
|
11487
|
-
{ "$ref": "#/components/schemas/AggregationFilter" },
|
|
11488
|
-
{ "$ref": "#/components/schemas/SubAggregations" }
|
|
11489
|
-
]
|
|
11490
|
-
},
|
|
11491
|
-
{
|
|
11492
|
-
"title": "AggregationTerms",
|
|
11493
|
-
"allOf": [
|
|
11494
|
-
{ "$ref": "#/components/schemas/AggregationTerms" },
|
|
11495
|
-
{ "$ref": "#/components/schemas/SubAggregations" }
|
|
11496
|
-
]
|
|
11497
|
-
},
|
|
11498
|
-
{
|
|
11499
|
-
"title": "AggregationHistogram",
|
|
11500
|
-
"allOf": [
|
|
11501
|
-
{ "$ref": "#/components/schemas/AggregationHistogram" },
|
|
11502
|
-
{ "$ref": "#/components/schemas/SubAggregations" }
|
|
11503
|
-
]
|
|
11504
|
-
},
|
|
11505
|
-
{
|
|
11506
|
-
"title": "AggregationRange",
|
|
11507
|
-
"allOf": [
|
|
11508
|
-
{ "$ref": "#/components/schemas/AggregationRange" },
|
|
11509
|
-
{ "$ref": "#/components/schemas/SubAggregations" }
|
|
11510
|
-
]
|
|
11511
|
-
}
|
|
11512
|
-
]
|
|
12084
|
+
"items": { "type": "string" }
|
|
11513
12085
|
}
|
|
11514
12086
|
},
|
|
12087
|
+
"Aggregation": {
|
|
12088
|
+
"anyOf": [
|
|
12089
|
+
{ "$ref": "#/components/schemas/AggregationMetrics" },
|
|
12090
|
+
{
|
|
12091
|
+
"title": "AggregationEntity",
|
|
12092
|
+
"allOf": [
|
|
12093
|
+
{ "$ref": "#/components/schemas/AggregationEntity" },
|
|
12094
|
+
{ "$ref": "#/components/schemas/SubAggregations" }
|
|
12095
|
+
]
|
|
12096
|
+
},
|
|
12097
|
+
{
|
|
12098
|
+
"title": "AggregationFilter",
|
|
12099
|
+
"allOf": [
|
|
12100
|
+
{ "$ref": "#/components/schemas/AggregationFilter" },
|
|
12101
|
+
{ "$ref": "#/components/schemas/SubAggregations" }
|
|
12102
|
+
]
|
|
12103
|
+
},
|
|
12104
|
+
{
|
|
12105
|
+
"title": "AggregationTerms",
|
|
12106
|
+
"allOf": [
|
|
12107
|
+
{ "$ref": "#/components/schemas/AggregationTerms" },
|
|
12108
|
+
{ "$ref": "#/components/schemas/SubAggregations" }
|
|
12109
|
+
]
|
|
12110
|
+
},
|
|
12111
|
+
{
|
|
12112
|
+
"title": "AggregationHistogram",
|
|
12113
|
+
"allOf": [
|
|
12114
|
+
{ "$ref": "#/components/schemas/AggregationHistogram" },
|
|
12115
|
+
{ "$ref": "#/components/schemas/SubAggregations" }
|
|
12116
|
+
]
|
|
12117
|
+
},
|
|
12118
|
+
{
|
|
12119
|
+
"title": "AggregationRange",
|
|
12120
|
+
"allOf": [
|
|
12121
|
+
{ "$ref": "#/components/schemas/AggregationRange" },
|
|
12122
|
+
{ "$ref": "#/components/schemas/SubAggregations" }
|
|
12123
|
+
]
|
|
12124
|
+
}
|
|
12125
|
+
]
|
|
12126
|
+
},
|
|
11515
12127
|
"SubAggregations": {
|
|
11516
12128
|
"type": "object",
|
|
11517
12129
|
"properties": {
|
|
@@ -11601,7 +12213,10 @@
|
|
|
11601
12213
|
"type": "object",
|
|
11602
12214
|
"properties": {
|
|
11603
12215
|
"type": { "type": "string", "enum": ["multi", "not"] },
|
|
11604
|
-
"operator": {
|
|
12216
|
+
"operator": {
|
|
12217
|
+
"type": "string",
|
|
12218
|
+
"enum": ["and", "or", "nor", "nand"]
|
|
12219
|
+
},
|
|
11605
12220
|
"queries": { "$ref": "#/components/schemas/Filters" }
|
|
11606
12221
|
},
|
|
11607
12222
|
"required": ["type", "operator", "queries"]
|
|
@@ -11746,7 +12361,9 @@
|
|
|
11746
12361
|
"promotion",
|
|
11747
12362
|
"discount",
|
|
11748
12363
|
"container",
|
|
11749
|
-
"quantity"
|
|
12364
|
+
"quantity",
|
|
12365
|
+
"dsr-line-item-discount",
|
|
12366
|
+
"dsr-cart-discount"
|
|
11750
12367
|
]
|
|
11751
12368
|
},
|
|
11752
12369
|
"LineItem": {
|
|
@@ -11852,7 +12469,28 @@
|
|
|
11852
12469
|
}
|
|
11853
12470
|
},
|
|
11854
12471
|
"type": { "$ref": "#/components/schemas/LineItemType" },
|
|
11855
|
-
"uniqueIdentifier": { "type": "string" }
|
|
12472
|
+
"uniqueIdentifier": { "type": "string" },
|
|
12473
|
+
"extensions": {
|
|
12474
|
+
"type": "object",
|
|
12475
|
+
"properties": {
|
|
12476
|
+
"meta": {
|
|
12477
|
+
"type": "object",
|
|
12478
|
+
"properties": {
|
|
12479
|
+
"attendees": {
|
|
12480
|
+
"type": "array",
|
|
12481
|
+
"items": {
|
|
12482
|
+
"type": "object",
|
|
12483
|
+
"required": ["id", "name"],
|
|
12484
|
+
"properties": {
|
|
12485
|
+
"name": { "type": "string" },
|
|
12486
|
+
"id": { "type": "string" }
|
|
12487
|
+
}
|
|
12488
|
+
}
|
|
12489
|
+
}
|
|
12490
|
+
}
|
|
12491
|
+
}
|
|
12492
|
+
}
|
|
12493
|
+
}
|
|
11856
12494
|
},
|
|
11857
12495
|
"required": ["id", "type"]
|
|
11858
12496
|
},
|
|
@@ -12411,15 +13049,10 @@
|
|
|
12411
13049
|
}
|
|
12412
13050
|
},
|
|
12413
13051
|
"BreadcrumbCollection": {
|
|
12414
|
-
"type": "
|
|
12415
|
-
"
|
|
12416
|
-
"
|
|
12417
|
-
|
|
12418
|
-
"items": { "$ref": "#/components/schemas/Breadcrumb" }
|
|
12419
|
-
},
|
|
12420
|
-
"apiAlias": { "type": "string", "enum": ["breadcrumb_collection"] }
|
|
12421
|
-
},
|
|
12422
|
-
"required": ["breadcrumbs", "apiAlias"]
|
|
13052
|
+
"type": "array",
|
|
13053
|
+
"items": {
|
|
13054
|
+
"$ref": "#/components/schemas/Breadcrumb"
|
|
13055
|
+
}
|
|
12423
13056
|
},
|
|
12424
13057
|
"NaturalLanguageSearchTermResponse": {
|
|
12425
13058
|
"type": "array",
|
|
@@ -12536,7 +13169,8 @@
|
|
|
12536
13169
|
},
|
|
12537
13170
|
"mode": {
|
|
12538
13171
|
"type": "string",
|
|
12539
|
-
"description": "The mode of the interaction"
|
|
13172
|
+
"description": "The mode of the interaction",
|
|
13173
|
+
"enum": ["guided", "self"]
|
|
12540
13174
|
},
|
|
12541
13175
|
"attendeeRestrictionType": {
|
|
12542
13176
|
"type": "string",
|
|
@@ -12546,7 +13180,7 @@
|
|
|
12546
13180
|
"videoAudioSettings": {
|
|
12547
13181
|
"type": "string",
|
|
12548
13182
|
"description": "The video and audio settings",
|
|
12549
|
-
"enum": ["none", "both", "
|
|
13183
|
+
"enum": ["none", "both", "audio-only"]
|
|
12550
13184
|
},
|
|
12551
13185
|
"canSendRequestEmail": {
|
|
12552
13186
|
"type": "boolean",
|
|
@@ -12694,8 +13328,7 @@
|
|
|
12694
13328
|
"type": "object",
|
|
12695
13329
|
"properties": {
|
|
12696
13330
|
"stateForAll": { "$ref": "#/components/schemas/StateForAll" },
|
|
12697
|
-
"stateForClients": { "$ref": "#/components/schemas/StateForClients" }
|
|
12698
|
-
"stateForMe": { "$ref": "#/components/schemas/StateForMe" }
|
|
13331
|
+
"stateForClients": { "$ref": "#/components/schemas/StateForClients" }
|
|
12699
13332
|
},
|
|
12700
13333
|
"example": {
|
|
12701
13334
|
"stateForAll": {
|
|
@@ -12728,11 +13361,6 @@
|
|
|
12728
13361
|
"hoveredElementId": null,
|
|
12729
13362
|
"extensions": []
|
|
12730
13363
|
},
|
|
12731
|
-
"stateForMe": {
|
|
12732
|
-
"attendeeName": " admin",
|
|
12733
|
-
"guideCartPermissionsGranted": false,
|
|
12734
|
-
"extensions": []
|
|
12735
|
-
},
|
|
12736
13364
|
"apiAlias": "swag_digital_sales_rooms_content_presentation_state_sales_channel_get_get_client_presentation_state_struct"
|
|
12737
13365
|
}
|
|
12738
13366
|
},
|
|
@@ -12796,73 +13424,48 @@
|
|
|
12796
13424
|
"requestedById": "7b7c358f1ca04098aacf12873c2eed94"
|
|
12797
13425
|
}
|
|
12798
13426
|
},
|
|
12799
|
-
"
|
|
13427
|
+
"DynamicInteractionBody": {
|
|
13428
|
+
"oneOf": [
|
|
13429
|
+
{ "$ref": "#/components/schemas/EmptyInteraction" },
|
|
13430
|
+
{ "$ref": "#/components/schemas/ProductInteraction" },
|
|
13431
|
+
{ "$ref": "#/components/schemas/DynamicPageOpenedInteraction" },
|
|
13432
|
+
{ "$ref": "#/components/schemas/DynamicPageClosedInteraction" },
|
|
13433
|
+
{
|
|
13434
|
+
"$ref": "#/components/schemas/DynamicProductPageOpenedInteraction"
|
|
13435
|
+
},
|
|
13436
|
+
{ "$ref": "#/components/schemas/PageViewedInteraction" },
|
|
13437
|
+
{ "$ref": "#/components/schemas/GuideHoveredInteraction" },
|
|
13438
|
+
{ "$ref": "#/components/schemas/ToggleBroadcastModeInteraction" },
|
|
13439
|
+
{ "$ref": "#/components/schemas/ViewModeChangedInteraction" },
|
|
13440
|
+
{ "$ref": "#/components/schemas/ScreenSharingToggledInteraction" }
|
|
13441
|
+
],
|
|
13442
|
+
"discriminator": {
|
|
13443
|
+
"propertyName": "name",
|
|
13444
|
+
"mapping": {
|
|
13445
|
+
"keep.alive": "#/components/schemas/EmptyInteraction",
|
|
13446
|
+
"quickview.opened": "#/components/schemas/EmptyInteraction",
|
|
13447
|
+
"quickview.closed": "#/components/schemas/EmptyInteraction",
|
|
13448
|
+
"attendee.leave": "#/components/schemas/EmptyInteraction",
|
|
13449
|
+
"remote.checkout.accepted": "#/components/schemas/EmptyInteraction",
|
|
13450
|
+
"remote.checkout.denied": "#/components/schemas/EmptyInteraction",
|
|
13451
|
+
"product.viewed": "#/components/schemas/ProductInteraction",
|
|
13452
|
+
"attendee.product.collection.liked": "#/components/schemas/ProductInteraction",
|
|
13453
|
+
"attendee.product.collection.disliked": "#/components/schemas/ProductInteraction",
|
|
13454
|
+
"attendee.product.collection.removed": "#/components/schemas/ProductInteraction",
|
|
13455
|
+
"dynamicPage.opened": "#/components/schemas/DynamicPageOpenedInteraction",
|
|
13456
|
+
"dynamicPage.closed": "#/components/schemas/DynamicPageClosedInteraction",
|
|
13457
|
+
"dynamicProductPage.opened": "#/components/schemas/DynamicProductPageOpenedInteraction",
|
|
13458
|
+
"page.viewed": "#/components/schemas/PageViewedInteraction",
|
|
13459
|
+
"guide.hovered": "#/components/schemas/GuideHoveredInteraction",
|
|
13460
|
+
"broadcastMode.toggled": "#/components/schemas/ToggleBroadcastModeInteraction",
|
|
13461
|
+
"viewMode.changed": "#/components/schemas/ViewModeChangedInteraction",
|
|
13462
|
+
"screenSharing.toggled": "#/components/schemas/ScreenSharingToggledInteraction"
|
|
13463
|
+
}
|
|
13464
|
+
}
|
|
13465
|
+
},
|
|
13466
|
+
"BaseInteraction": {
|
|
12800
13467
|
"type": "object",
|
|
12801
|
-
"required": ["name", "payload"],
|
|
12802
13468
|
"properties": {
|
|
12803
|
-
"name": {
|
|
12804
|
-
"type": "string",
|
|
12805
|
-
"description": "the name of the interaction",
|
|
12806
|
-
"enum": [
|
|
12807
|
-
"keep.alive",
|
|
12808
|
-
"product.viewed",
|
|
12809
|
-
"quickview.opened",
|
|
12810
|
-
"quickview.closed",
|
|
12811
|
-
"dynamicPage.opened",
|
|
12812
|
-
"dynamicProductPage.opened",
|
|
12813
|
-
"dynamicPage.closed",
|
|
12814
|
-
"page.viewed",
|
|
12815
|
-
"guide.hovered",
|
|
12816
|
-
"attendee.product.collection.liked",
|
|
12817
|
-
"attendee.product.collection.disliked",
|
|
12818
|
-
"attendee.product.collection.removed",
|
|
12819
|
-
"attendee.leave",
|
|
12820
|
-
"remote.checkout.accepted",
|
|
12821
|
-
"remote.checkout.denied",
|
|
12822
|
-
"broadcastMode.toggled",
|
|
12823
|
-
"viewMode.changed",
|
|
12824
|
-
"screenSharing.toggled"
|
|
12825
|
-
]
|
|
12826
|
-
},
|
|
12827
|
-
"payload": {
|
|
12828
|
-
"oneOf": [
|
|
12829
|
-
{ "$ref": "#/components/schemas/EmptyPayload" },
|
|
12830
|
-
{ "$ref": "#/components/schemas/ProductPayload" },
|
|
12831
|
-
{ "$ref": "#/components/schemas/DynamicPageOpenedPayload" },
|
|
12832
|
-
{
|
|
12833
|
-
"$ref": "#/components/schemas/DynamicProductPageOpenedPayload"
|
|
12834
|
-
},
|
|
12835
|
-
{ "$ref": "#/components/schemas/DynamicPageClosedPayload" },
|
|
12836
|
-
{ "$ref": "#/components/schemas/PageViewedPayload" },
|
|
12837
|
-
{ "$ref": "#/components/schemas/GuideHoveredPayload" },
|
|
12838
|
-
{ "$ref": "#/components/schemas/ToggleBroadcastModePayload" },
|
|
12839
|
-
{ "$ref": "#/components/schemas/ViewModeChangedPayload" },
|
|
12840
|
-
{ "$ref": "#/components/schemas/ScreenSharingToggledPayload" }
|
|
12841
|
-
],
|
|
12842
|
-
"discriminator": {
|
|
12843
|
-
"propertyName": "name",
|
|
12844
|
-
"mapping": {
|
|
12845
|
-
"keep.alive": "#/components/schemas/EmptyPayload",
|
|
12846
|
-
"product.viewed": "#/components/schemas/ProductPayload",
|
|
12847
|
-
"quickview.opened": "#/components/schemas/EmptyPayload",
|
|
12848
|
-
"quickview.closed": "#/components/schemas/EmptyPayload",
|
|
12849
|
-
"dynamicPage.opened": "#/components/schemas/DynamicPageOpenedPayload",
|
|
12850
|
-
"dynamicProductPage.opened": "#/components/schemas/DynamicProductPageOpenedPayload",
|
|
12851
|
-
"dynamicPage.closed": "#/components/schemas/DynamicPageClosedPayload",
|
|
12852
|
-
"page.viewed": "#/components/schemas/PageViewedPayload",
|
|
12853
|
-
"guide.hovered": "#/components/schemas/GuideHoveredPayload",
|
|
12854
|
-
"attendee.product.collection.liked": "#/components/schemas/ProductPayload",
|
|
12855
|
-
"attendee.product.collection.disliked": "#/components/schemas/ProductPayload",
|
|
12856
|
-
"attendee.product.collection.removed": "#/components/schemas/ProductPayload",
|
|
12857
|
-
"attendee.leave": "#/components/schemas/EmptyPayload",
|
|
12858
|
-
"remote.checkout.accepted": "#/components/schemas/EmptyPayload",
|
|
12859
|
-
"remote.checkout.denied": "#/components/schemas/EmptyPayload",
|
|
12860
|
-
"broadcastMode.toggled": "#/components/schemas/ToggleBroadcastModePayload",
|
|
12861
|
-
"viewMode.changed": "#/components/schemas/ViewModeChangedPayload",
|
|
12862
|
-
"screenSharing.toggled": "#/components/schemas/ScreenSharingToggledPayload"
|
|
12863
|
-
}
|
|
12864
|
-
}
|
|
12865
|
-
},
|
|
12866
13469
|
"triggeredAt": {
|
|
12867
13470
|
"type": "string",
|
|
12868
13471
|
"description": "The time when the interaction was triggered",
|
|
@@ -12875,6 +13478,156 @@
|
|
|
12875
13478
|
}
|
|
12876
13479
|
}
|
|
12877
13480
|
},
|
|
13481
|
+
"EmptyInteraction": {
|
|
13482
|
+
"allOf": [
|
|
13483
|
+
{ "$ref": "#/components/schemas/BaseInteraction" },
|
|
13484
|
+
{
|
|
13485
|
+
"type": "object",
|
|
13486
|
+
"required": ["name", "payload"],
|
|
13487
|
+
"properties": {
|
|
13488
|
+
"name": { "type": "string" },
|
|
13489
|
+
"payload": {
|
|
13490
|
+
"type": "object",
|
|
13491
|
+
"additionalProperties": false,
|
|
13492
|
+
"minProperties": 0,
|
|
13493
|
+
"maxProperties": 0
|
|
13494
|
+
}
|
|
13495
|
+
}
|
|
13496
|
+
}
|
|
13497
|
+
]
|
|
13498
|
+
},
|
|
13499
|
+
"ProductInteraction": {
|
|
13500
|
+
"allOf": [
|
|
13501
|
+
{ "$ref": "#/components/schemas/BaseInteraction" },
|
|
13502
|
+
{
|
|
13503
|
+
"type": "object",
|
|
13504
|
+
"required": ["name", "payload"],
|
|
13505
|
+
"properties": {
|
|
13506
|
+
"name": { "type": "string" },
|
|
13507
|
+
"payload": { "$ref": "#/components/schemas/ProductPayload" }
|
|
13508
|
+
}
|
|
13509
|
+
}
|
|
13510
|
+
]
|
|
13511
|
+
},
|
|
13512
|
+
"DynamicPageOpenedInteraction": {
|
|
13513
|
+
"allOf": [
|
|
13514
|
+
{ "$ref": "#/components/schemas/BaseInteraction" },
|
|
13515
|
+
{
|
|
13516
|
+
"type": "object",
|
|
13517
|
+
"required": ["name", "payload"],
|
|
13518
|
+
"properties": {
|
|
13519
|
+
"name": { "type": "string" },
|
|
13520
|
+
"payload": {
|
|
13521
|
+
"$ref": "#/components/schemas/DynamicPageOpenedPayload"
|
|
13522
|
+
}
|
|
13523
|
+
}
|
|
13524
|
+
}
|
|
13525
|
+
]
|
|
13526
|
+
},
|
|
13527
|
+
"DynamicProductPageOpenedInteraction": {
|
|
13528
|
+
"allOf": [
|
|
13529
|
+
{ "$ref": "#/components/schemas/BaseInteraction" },
|
|
13530
|
+
{
|
|
13531
|
+
"type": "object",
|
|
13532
|
+
"required": ["name", "payload"],
|
|
13533
|
+
"properties": {
|
|
13534
|
+
"name": { "type": "string" },
|
|
13535
|
+
"payload": {
|
|
13536
|
+
"$ref": "#/components/schemas/DynamicProductPageOpenedPayload"
|
|
13537
|
+
}
|
|
13538
|
+
}
|
|
13539
|
+
}
|
|
13540
|
+
]
|
|
13541
|
+
},
|
|
13542
|
+
"DynamicPageClosedInteraction": {
|
|
13543
|
+
"allOf": [
|
|
13544
|
+
{ "$ref": "#/components/schemas/BaseInteraction" },
|
|
13545
|
+
{
|
|
13546
|
+
"type": "object",
|
|
13547
|
+
"required": ["name", "payload"],
|
|
13548
|
+
"properties": {
|
|
13549
|
+
"name": { "type": "string" },
|
|
13550
|
+
"payload": {
|
|
13551
|
+
"$ref": "#/components/schemas/DynamicPageClosedPayload"
|
|
13552
|
+
}
|
|
13553
|
+
}
|
|
13554
|
+
}
|
|
13555
|
+
]
|
|
13556
|
+
},
|
|
13557
|
+
"PageViewedInteraction": {
|
|
13558
|
+
"allOf": [
|
|
13559
|
+
{ "$ref": "#/components/schemas/BaseInteraction" },
|
|
13560
|
+
{
|
|
13561
|
+
"type": "object",
|
|
13562
|
+
"required": ["name", "payload"],
|
|
13563
|
+
"properties": {
|
|
13564
|
+
"name": { "type": "string" },
|
|
13565
|
+
"payload": { "$ref": "#/components/schemas/PageViewedPayload" }
|
|
13566
|
+
}
|
|
13567
|
+
}
|
|
13568
|
+
]
|
|
13569
|
+
},
|
|
13570
|
+
"GuideHoveredInteraction": {
|
|
13571
|
+
"allOf": [
|
|
13572
|
+
{ "$ref": "#/components/schemas/BaseInteraction" },
|
|
13573
|
+
{
|
|
13574
|
+
"type": "object",
|
|
13575
|
+
"required": ["name", "payload"],
|
|
13576
|
+
"properties": {
|
|
13577
|
+
"name": { "type": "string" },
|
|
13578
|
+
"payload": { "$ref": "#/components/schemas/GuideHoveredPayload" }
|
|
13579
|
+
}
|
|
13580
|
+
}
|
|
13581
|
+
]
|
|
13582
|
+
},
|
|
13583
|
+
"ToggleBroadcastModeInteraction": {
|
|
13584
|
+
"allOf": [
|
|
13585
|
+
{ "$ref": "#/components/schemas/BaseInteraction" },
|
|
13586
|
+
{
|
|
13587
|
+
"type": "object",
|
|
13588
|
+
"required": ["name", "payload"],
|
|
13589
|
+
"properties": {
|
|
13590
|
+
"name": { "type": "string" },
|
|
13591
|
+
"payload": {
|
|
13592
|
+
"$ref": "#/components/schemas/ToggleBroadcastModePayload"
|
|
13593
|
+
}
|
|
13594
|
+
}
|
|
13595
|
+
}
|
|
13596
|
+
]
|
|
13597
|
+
},
|
|
13598
|
+
"ViewModeChangedInteraction": {
|
|
13599
|
+
"allOf": [
|
|
13600
|
+
{ "$ref": "#/components/schemas/BaseInteraction" },
|
|
13601
|
+
{
|
|
13602
|
+
"type": "object",
|
|
13603
|
+
"required": ["name", "payload"],
|
|
13604
|
+
"properties": {
|
|
13605
|
+
"name": { "type": "string" },
|
|
13606
|
+
"payload": {
|
|
13607
|
+
"$ref": "#/components/schemas/ViewModeChangedPayload"
|
|
13608
|
+
}
|
|
13609
|
+
}
|
|
13610
|
+
}
|
|
13611
|
+
]
|
|
13612
|
+
},
|
|
13613
|
+
"ScreenSharingToggledInteraction": {
|
|
13614
|
+
"allOf": [
|
|
13615
|
+
{ "$ref": "#/components/schemas/BaseInteraction" },
|
|
13616
|
+
{
|
|
13617
|
+
"type": "object",
|
|
13618
|
+
"required": ["name", "payload"],
|
|
13619
|
+
"properties": {
|
|
13620
|
+
"name": { "type": "string" },
|
|
13621
|
+
"payload": {
|
|
13622
|
+
"$ref": "#/components/schemas/ScreenSharingToggledPayload"
|
|
13623
|
+
}
|
|
13624
|
+
}
|
|
13625
|
+
}
|
|
13626
|
+
]
|
|
13627
|
+
},
|
|
13628
|
+
"CreateInteractionRequestBody": {
|
|
13629
|
+
"$ref": "#/components/schemas/DynamicInteractionBody"
|
|
13630
|
+
},
|
|
12878
13631
|
"DynamicPageClosedPayload": {
|
|
12879
13632
|
"type": "object",
|
|
12880
13633
|
"properties": {
|
|
@@ -12996,6 +13749,24 @@
|
|
|
12996
13749
|
"isPreview": {
|
|
12997
13750
|
"type": "boolean",
|
|
12998
13751
|
"description": "To see if it's a preview appointment"
|
|
13752
|
+
},
|
|
13753
|
+
"attendeeName": {
|
|
13754
|
+
"oneOf": [{ "type": "string" }, { "type": "null" }],
|
|
13755
|
+
"description": "The name of the attendee"
|
|
13756
|
+
},
|
|
13757
|
+
"videoUserId": {
|
|
13758
|
+
"oneOf": [{ "type": "string" }, { "type": "null" }],
|
|
13759
|
+
"description": "The video user id that attendee could use"
|
|
13760
|
+
},
|
|
13761
|
+
"b2bFeatures": {
|
|
13762
|
+
"type": "object",
|
|
13763
|
+
"description": "The b2b features that available for the appointment",
|
|
13764
|
+
"properties": {
|
|
13765
|
+
"quoteManagement": {
|
|
13766
|
+
"type": "boolean",
|
|
13767
|
+
"description": "To know if the quote management is enabled for current customer"
|
|
13768
|
+
}
|
|
13769
|
+
}
|
|
12999
13770
|
}
|
|
13000
13771
|
},
|
|
13001
13772
|
"example": {
|
|
@@ -13008,6 +13779,9 @@
|
|
|
13008
13779
|
"JWTMercureSubscriberToken": "jwt token for subscribing to updates",
|
|
13009
13780
|
"mercureHubPublicUrl": "http://localhost:8081/.well-known/mercure",
|
|
13010
13781
|
"JWTMercurePublisherToken": "jwt token for publishing updates",
|
|
13782
|
+
"attendeeName": "attendee name",
|
|
13783
|
+
"videoUserId": null,
|
|
13784
|
+
"b2bFeatures": { "feature1": false, "feature2": true },
|
|
13011
13785
|
"id": "2d2c358f1ca04098aacf12873c2eed82",
|
|
13012
13786
|
"newContextToken": "new context token to call the other routes",
|
|
13013
13787
|
"attendeeId": "b6358241e4ad4a4e99d0f729d21d63be",
|
|
@@ -13019,6 +13793,21 @@
|
|
|
13019
13793
|
"apiAlias": "swag_digital_sales_rooms_content_appointment_struct_appointment_join_struct"
|
|
13020
13794
|
}
|
|
13021
13795
|
},
|
|
13796
|
+
"DiscountLineItemPayload": {
|
|
13797
|
+
"type": "object",
|
|
13798
|
+
"properties": {
|
|
13799
|
+
"discountType": {
|
|
13800
|
+
"type": "string",
|
|
13801
|
+
"enum": ["percentage", "absolute"]
|
|
13802
|
+
},
|
|
13803
|
+
"discountValue": {
|
|
13804
|
+
"type": "number",
|
|
13805
|
+
"format": "float",
|
|
13806
|
+
"maximum": 0
|
|
13807
|
+
},
|
|
13808
|
+
"discountPrice": { "type": "number", "format": "float", "maximum": 0 }
|
|
13809
|
+
}
|
|
13810
|
+
},
|
|
13022
13811
|
"PageViewedPayload": {
|
|
13023
13812
|
"type": "object",
|
|
13024
13813
|
"required": ["pageId", "sectionId", "slideAlias"],
|
|
@@ -13048,47 +13837,62 @@
|
|
|
13048
13837
|
}
|
|
13049
13838
|
}
|
|
13050
13839
|
},
|
|
13051
|
-
"
|
|
13052
|
-
"type": "object",
|
|
13840
|
+
"PresentationCmsPage": {
|
|
13053
13841
|
"allOf": [
|
|
13842
|
+
{ "$ref": "#/components/schemas/DsrPresentationCmsPage" },
|
|
13054
13843
|
{
|
|
13844
|
+
"type": "object",
|
|
13055
13845
|
"properties": {
|
|
13056
|
-
"
|
|
13057
|
-
|
|
13058
|
-
|
|
13059
|
-
|
|
13060
|
-
|
|
13061
|
-
|
|
13062
|
-
|
|
13063
|
-
|
|
13846
|
+
"pickedProductIds": {
|
|
13847
|
+
"anyOf": [
|
|
13848
|
+
{
|
|
13849
|
+
"type": "array",
|
|
13850
|
+
"items": {
|
|
13851
|
+
"type": "string",
|
|
13852
|
+
"pattern": "^[0-9a-f]{32}$",
|
|
13853
|
+
"description": "Product id"
|
|
13854
|
+
}
|
|
13855
|
+
},
|
|
13856
|
+
{ "type": "null" }
|
|
13857
|
+
],
|
|
13858
|
+
"description": "The product id is assigned to presentation if it's product listing or instant listing"
|
|
13064
13859
|
}
|
|
13065
13860
|
}
|
|
13066
13861
|
}
|
|
13067
|
-
]
|
|
13068
|
-
|
|
13069
|
-
|
|
13862
|
+
]
|
|
13863
|
+
},
|
|
13864
|
+
"BasePresentationSlideData": {
|
|
13865
|
+
"properties": {
|
|
13866
|
+
"cmsPage": { "$ref": "#/components/schemas/CmsPage" },
|
|
13867
|
+
"extensions": {
|
|
13070
13868
|
"type": "object",
|
|
13071
|
-
"description": "A product result contains product information and product variant/configuration information. It corresponds with presentation product page",
|
|
13072
13869
|
"properties": {
|
|
13073
|
-
"
|
|
13074
|
-
|
|
13075
|
-
"type": "array",
|
|
13076
|
-
"items": { "$ref": "#/components/schemas/PropertyGroup" }
|
|
13870
|
+
"cmsPageRelation": {
|
|
13871
|
+
"$ref": "#/components/schemas/PresentationCmsPage"
|
|
13077
13872
|
}
|
|
13078
13873
|
}
|
|
13079
|
-
}
|
|
13080
|
-
|
|
13874
|
+
}
|
|
13875
|
+
}
|
|
13876
|
+
},
|
|
13877
|
+
"PresentationSlideData": {
|
|
13878
|
+
"type": "object",
|
|
13879
|
+
"properties": {
|
|
13880
|
+
"cmsPage": { "$ref": "#/components/schemas/CmsPage" },
|
|
13881
|
+
"extensions": {
|
|
13081
13882
|
"type": "object",
|
|
13082
|
-
"description": "A category result contains category information. It corresponds with a presentation category page",
|
|
13083
13883
|
"properties": {
|
|
13084
|
-
"
|
|
13884
|
+
"cmsPageRelation": {
|
|
13885
|
+
"$ref": "#/components/schemas/PresentationCmsPage"
|
|
13886
|
+
}
|
|
13085
13887
|
}
|
|
13086
13888
|
},
|
|
13087
|
-
{
|
|
13088
|
-
|
|
13089
|
-
|
|
13889
|
+
"product": { "$ref": "#/components/schemas/Product" },
|
|
13890
|
+
"category": { "$ref": "#/components/schemas/Category" },
|
|
13891
|
+
"configurator": {
|
|
13892
|
+
"type": "array",
|
|
13893
|
+
"items": { "$ref": "#/components/schemas/PropertyGroup" }
|
|
13090
13894
|
}
|
|
13091
|
-
|
|
13895
|
+
},
|
|
13092
13896
|
"example": {
|
|
13093
13897
|
"extensions": {
|
|
13094
13898
|
"cmsPageRelation": {
|
|
@@ -13539,6 +14343,7 @@
|
|
|
13539
14343
|
},
|
|
13540
14344
|
"PresentationStructure": {
|
|
13541
14345
|
"type": "object",
|
|
14346
|
+
"required": ["cmsPageResults", "navigation"],
|
|
13542
14347
|
"properties": {
|
|
13543
14348
|
"cmsPageResults": {
|
|
13544
14349
|
"type": "array",
|
|
@@ -13563,6 +14368,14 @@
|
|
|
13563
14368
|
"type": "array",
|
|
13564
14369
|
"items": {
|
|
13565
14370
|
"type": "object",
|
|
14371
|
+
"required": [
|
|
14372
|
+
"cmsPageId",
|
|
14373
|
+
"groupId",
|
|
14374
|
+
"groupName",
|
|
14375
|
+
"index",
|
|
14376
|
+
"sectionId",
|
|
14377
|
+
"sectionName"
|
|
14378
|
+
],
|
|
13566
14379
|
"properties": {
|
|
13567
14380
|
"index": {
|
|
13568
14381
|
"type": "integer",
|
|
@@ -14654,16 +15467,6 @@
|
|
|
14654
15467
|
"extensions": { "type": "array", "default": [] }
|
|
14655
15468
|
}
|
|
14656
15469
|
},
|
|
14657
|
-
"StateForMe": {
|
|
14658
|
-
"type": "object",
|
|
14659
|
-
"properties": {
|
|
14660
|
-
"attendeeName": {
|
|
14661
|
-
"anyOf": [{ "type": "string" }, { "type": "null" }]
|
|
14662
|
-
},
|
|
14663
|
-
"guideCartPermissionsGranted": { "type": "boolean", "default": null },
|
|
14664
|
-
"extensions": { "type": "array", "default": [] }
|
|
14665
|
-
}
|
|
14666
|
-
},
|
|
14667
15470
|
"ToggleBroadcastModePayload": {
|
|
14668
15471
|
"type": "object",
|
|
14669
15472
|
"required": ["active"],
|
|
@@ -15015,6 +15818,7 @@
|
|
|
15015
15818
|
"content": {
|
|
15016
15819
|
"application/json": {
|
|
15017
15820
|
"schema": {
|
|
15821
|
+
"type": "object",
|
|
15018
15822
|
"required": ["salutationId", "firstName", "lastName"],
|
|
15019
15823
|
"properties": {
|
|
15020
15824
|
"salutationId": {
|
|
@@ -15033,10 +15837,6 @@
|
|
|
15033
15837
|
"description": "Customer last name. Value will be reused for shipping and billing address if not provided explicitly.",
|
|
15034
15838
|
"type": "string"
|
|
15035
15839
|
},
|
|
15036
|
-
"company": {
|
|
15037
|
-
"description": "Company of the customer. Only required when `accountType` is `business`.",
|
|
15038
|
-
"type": "string"
|
|
15039
|
-
},
|
|
15040
15840
|
"birthdayDay": {
|
|
15041
15841
|
"description": "Birthday day",
|
|
15042
15842
|
"type": "integer"
|
|
@@ -15050,7 +15850,40 @@
|
|
|
15050
15850
|
"type": "integer"
|
|
15051
15851
|
}
|
|
15052
15852
|
},
|
|
15053
|
-
"
|
|
15853
|
+
"oneOf": [
|
|
15854
|
+
{
|
|
15855
|
+
"properties": {
|
|
15856
|
+
"accountType": {
|
|
15857
|
+
"description": "Type of the customer account. Default value is 'private'.",
|
|
15858
|
+
"type": "string",
|
|
15859
|
+
"enum": ["private"],
|
|
15860
|
+
"default": "private"
|
|
15861
|
+
},
|
|
15862
|
+
"company": { "type": "null" },
|
|
15863
|
+
"vatIds": { "type": "null" }
|
|
15864
|
+
}
|
|
15865
|
+
},
|
|
15866
|
+
{
|
|
15867
|
+
"required": ["accountType", "company", "vatIds"],
|
|
15868
|
+
"properties": {
|
|
15869
|
+
"accountType": {
|
|
15870
|
+
"description": "Type of the customer account. Can be `private` or `business`.",
|
|
15871
|
+
"type": "string",
|
|
15872
|
+
"enum": ["business"]
|
|
15873
|
+
},
|
|
15874
|
+
"company": {
|
|
15875
|
+
"description": "Company of the customer. Only required when `accountType` is `business`.",
|
|
15876
|
+
"type": "string"
|
|
15877
|
+
},
|
|
15878
|
+
"vatIds": {
|
|
15879
|
+
"description": "VAT IDs of the customer's company. Only valid when `accountType` is `business`.",
|
|
15880
|
+
"type": "array",
|
|
15881
|
+
"items": { "type": "string" },
|
|
15882
|
+
"minItems": 1
|
|
15883
|
+
}
|
|
15884
|
+
}
|
|
15885
|
+
}
|
|
15886
|
+
]
|
|
15054
15887
|
}
|
|
15055
15888
|
}
|
|
15056
15889
|
}
|
|
@@ -15582,11 +16415,6 @@
|
|
|
15582
16415
|
"shippingAddress": {
|
|
15583
16416
|
"$ref": "#/components/schemas/CustomerAddress"
|
|
15584
16417
|
},
|
|
15585
|
-
"accountType": {
|
|
15586
|
-
"description": "Account type of the customer which can be either `private` or `business`.",
|
|
15587
|
-
"type": "string",
|
|
15588
|
-
"default": "private"
|
|
15589
|
-
},
|
|
15590
16418
|
"guest": {
|
|
15591
16419
|
"description": "If set, will create a guest customer. Guest customers can re-use an email address and don't need a password.",
|
|
15592
16420
|
"type": "boolean",
|
|
@@ -15627,6 +16455,40 @@
|
|
|
15627
16455
|
"storefrontUrl",
|
|
15628
16456
|
"billingAddress"
|
|
15629
16457
|
],
|
|
16458
|
+
"oneOf": [
|
|
16459
|
+
{
|
|
16460
|
+
"properties": {
|
|
16461
|
+
"accountType": {
|
|
16462
|
+
"description": "Type of the customer account. Default value is 'private'.",
|
|
16463
|
+
"type": "string",
|
|
16464
|
+
"enum": ["private"],
|
|
16465
|
+
"default": "private"
|
|
16466
|
+
},
|
|
16467
|
+
"company": { "type": "null" },
|
|
16468
|
+
"vatIds": { "type": "null" }
|
|
16469
|
+
}
|
|
16470
|
+
},
|
|
16471
|
+
{
|
|
16472
|
+
"required": ["accountType", "company", "vatIds"],
|
|
16473
|
+
"properties": {
|
|
16474
|
+
"accountType": {
|
|
16475
|
+
"description": "Type of the customer account. Can be `private` or `business`.",
|
|
16476
|
+
"type": "string",
|
|
16477
|
+
"enum": ["business"]
|
|
16478
|
+
},
|
|
16479
|
+
"company": {
|
|
16480
|
+
"description": "Company of the customer. Only required when `accountType` is `business`.",
|
|
16481
|
+
"type": "string"
|
|
16482
|
+
},
|
|
16483
|
+
"vatIds": {
|
|
16484
|
+
"description": "VAT IDs of the customer's company. Only valid when `accountType` is `business`.",
|
|
16485
|
+
"type": "array",
|
|
16486
|
+
"items": { "type": "string" },
|
|
16487
|
+
"minItems": 1
|
|
16488
|
+
}
|
|
16489
|
+
}
|
|
16490
|
+
}
|
|
16491
|
+
],
|
|
15630
16492
|
"type": "object"
|
|
15631
16493
|
}
|
|
15632
16494
|
}
|
|
@@ -18471,7 +19333,7 @@
|
|
|
18471
19333
|
"/employee/create": {
|
|
18472
19334
|
"post": {
|
|
18473
19335
|
"tags": ["B2B Employee Management"],
|
|
18474
|
-
"summary": "Create a single employee and
|
|
19336
|
+
"summary": "Create a single employee and return the employee",
|
|
18475
19337
|
"description": "This route is used to create and return an employee",
|
|
18476
19338
|
"operationId": "createEmployee",
|
|
18477
19339
|
"parameters": [],
|
|
@@ -18493,13 +19355,18 @@
|
|
|
18493
19355
|
"description": "Email of the new employee",
|
|
18494
19356
|
"type": "string"
|
|
18495
19357
|
},
|
|
19358
|
+
"languageId": {
|
|
19359
|
+
"description": "Identifier of the [language](#/System%20%26%20Context/readLanguages) to be set for the new employee.",
|
|
19360
|
+
"type": "string",
|
|
19361
|
+
"pattern": "^[0-9a-f]{32}$"
|
|
19362
|
+
},
|
|
18496
19363
|
"roleId": {
|
|
18497
19364
|
"description": "Id of the role of the new employee",
|
|
18498
19365
|
"type": "string",
|
|
18499
19366
|
"pattern": "^[0-9a-f]{32}$"
|
|
18500
19367
|
}
|
|
18501
19368
|
},
|
|
18502
|
-
"required": ["firstName", "lastName", "email"],
|
|
19369
|
+
"required": ["firstName", "lastName", "email", "languageId"],
|
|
18503
19370
|
"type": "object"
|
|
18504
19371
|
}
|
|
18505
19372
|
}
|
|
@@ -18519,7 +19386,7 @@
|
|
|
18519
19386
|
}
|
|
18520
19387
|
},
|
|
18521
19388
|
"/employee": {
|
|
18522
|
-
"
|
|
19389
|
+
"get": {
|
|
18523
19390
|
"tags": ["B2B Employee Management"],
|
|
18524
19391
|
"summary": "Fetch a list of employees",
|
|
18525
19392
|
"description": "This route is used to load employees",
|
|
@@ -18562,6 +19429,50 @@
|
|
|
18562
19429
|
}
|
|
18563
19430
|
},
|
|
18564
19431
|
"security": [{ "ApiKey": [] }]
|
|
19432
|
+
},
|
|
19433
|
+
"post": {
|
|
19434
|
+
"tags": ["B2B Employee Management"],
|
|
19435
|
+
"summary": "Fetch a list of employees",
|
|
19436
|
+
"description": "This route is used to load employees",
|
|
19437
|
+
"operationId": "readEmployeesPOST",
|
|
19438
|
+
"parameters": [],
|
|
19439
|
+
"requestBody": {
|
|
19440
|
+
"required": false,
|
|
19441
|
+
"content": {
|
|
19442
|
+
"application/json": {
|
|
19443
|
+
"schema": {
|
|
19444
|
+
"allOf": [{ "$ref": "#/components/schemas/Criteria" }]
|
|
19445
|
+
}
|
|
19446
|
+
}
|
|
19447
|
+
}
|
|
19448
|
+
},
|
|
19449
|
+
"responses": {
|
|
19450
|
+
"200": {
|
|
19451
|
+
"description": "Entity search result containing employees",
|
|
19452
|
+
"content": {
|
|
19453
|
+
"application/json": {
|
|
19454
|
+
"schema": {
|
|
19455
|
+
"type": "object",
|
|
19456
|
+
"allOf": [
|
|
19457
|
+
{
|
|
19458
|
+
"properties": {
|
|
19459
|
+
"elements": {
|
|
19460
|
+
"type": "array",
|
|
19461
|
+
"items": {
|
|
19462
|
+
"$ref": "#/components/schemas/B2bEmployee"
|
|
19463
|
+
}
|
|
19464
|
+
}
|
|
19465
|
+
},
|
|
19466
|
+
"type": "object"
|
|
19467
|
+
},
|
|
19468
|
+
{ "$ref": "#/components/schemas/EntitySearchResult" }
|
|
19469
|
+
]
|
|
19470
|
+
}
|
|
19471
|
+
}
|
|
19472
|
+
}
|
|
19473
|
+
}
|
|
19474
|
+
},
|
|
19475
|
+
"security": [{ "ApiKey": [] }]
|
|
18565
19476
|
}
|
|
18566
19477
|
},
|
|
18567
19478
|
"/employee/{id}": {
|
|
@@ -18592,8 +19503,8 @@
|
|
|
18592
19503
|
"security": [{ "ApiKey": [] }]
|
|
18593
19504
|
},
|
|
18594
19505
|
"patch": {
|
|
18595
|
-
"tags": ["B2B"],
|
|
18596
|
-
"summary": "Update
|
|
19506
|
+
"tags": ["B2B Employee Management"],
|
|
19507
|
+
"summary": "Update one employee by id",
|
|
18597
19508
|
"description": "This route is used to update one employee by id",
|
|
18598
19509
|
"operationId": "updateEmployee",
|
|
18599
19510
|
"parameters": [
|
|
@@ -18646,8 +19557,8 @@
|
|
|
18646
19557
|
"security": [{ "ApiKey": [] }]
|
|
18647
19558
|
},
|
|
18648
19559
|
"delete": {
|
|
18649
|
-
"tags": ["B2B"],
|
|
18650
|
-
"summary": "Delete
|
|
19560
|
+
"tags": ["B2B Employee Management"],
|
|
19561
|
+
"summary": "Delete one employee by id",
|
|
18651
19562
|
"description": "This route is used to delete one employee by id",
|
|
18652
19563
|
"operationId": "deleteEmployee",
|
|
18653
19564
|
"parameters": [
|
|
@@ -18707,10 +19618,120 @@
|
|
|
18707
19618
|
"security": [{ "ApiKey": [] }]
|
|
18708
19619
|
}
|
|
18709
19620
|
},
|
|
19621
|
+
"/permission": {
|
|
19622
|
+
"get": {
|
|
19623
|
+
"tags": ["B2B Employee Management"],
|
|
19624
|
+
"summary": "Fetch all available permissions",
|
|
19625
|
+
"description": "This route is used to fetch all available permissions",
|
|
19626
|
+
"operationId": "readPermissions",
|
|
19627
|
+
"responses": {
|
|
19628
|
+
"200": {
|
|
19629
|
+
"description": "Permission collection",
|
|
19630
|
+
"content": {
|
|
19631
|
+
"application/json": {
|
|
19632
|
+
"schema": {
|
|
19633
|
+
"type": "object",
|
|
19634
|
+
"allOf": [
|
|
19635
|
+
{
|
|
19636
|
+
"properties": {
|
|
19637
|
+
"elements": {
|
|
19638
|
+
"type": "array",
|
|
19639
|
+
"items": {
|
|
19640
|
+
"type": "object",
|
|
19641
|
+
"properties": {
|
|
19642
|
+
"permissionName": { "type": "string" },
|
|
19643
|
+
"permissionDependencies": {
|
|
19644
|
+
"type": "array",
|
|
19645
|
+
"items": { "type": "string" }
|
|
19646
|
+
},
|
|
19647
|
+
"permissionGroupName": { "type": "string" }
|
|
19648
|
+
}
|
|
19649
|
+
}
|
|
19650
|
+
}
|
|
19651
|
+
},
|
|
19652
|
+
"type": "object"
|
|
19653
|
+
},
|
|
19654
|
+
{ "$ref": "#/components/schemas/EntitySearchResult" }
|
|
19655
|
+
]
|
|
19656
|
+
}
|
|
19657
|
+
}
|
|
19658
|
+
}
|
|
19659
|
+
}
|
|
19660
|
+
},
|
|
19661
|
+
"security": [{ "ApiKey": [] }]
|
|
19662
|
+
},
|
|
19663
|
+
"post": {
|
|
19664
|
+
"tags": ["B2B Employee Management"],
|
|
19665
|
+
"summary": "Add a new permission",
|
|
19666
|
+
"description": "This route is used to add a new permissions",
|
|
19667
|
+
"operationId": "addPermission",
|
|
19668
|
+
"requestBody": {
|
|
19669
|
+
"required": true,
|
|
19670
|
+
"content": {
|
|
19671
|
+
"application/json": {
|
|
19672
|
+
"schema": {
|
|
19673
|
+
"properties": {
|
|
19674
|
+
"name": {
|
|
19675
|
+
"description": "Name of the new permission",
|
|
19676
|
+
"type": "string"
|
|
19677
|
+
},
|
|
19678
|
+
"group": {
|
|
19679
|
+
"description": "Group of the new permission",
|
|
19680
|
+
"type": "string"
|
|
19681
|
+
},
|
|
19682
|
+
"dependencies": {
|
|
19683
|
+
"description": "Optional dependencies for the new permission",
|
|
19684
|
+
"type": "array",
|
|
19685
|
+
"items": { "type": "string" }
|
|
19686
|
+
}
|
|
19687
|
+
},
|
|
19688
|
+
"type": "object"
|
|
19689
|
+
}
|
|
19690
|
+
}
|
|
19691
|
+
}
|
|
19692
|
+
},
|
|
19693
|
+
"parameters": [],
|
|
19694
|
+
"responses": {
|
|
19695
|
+
"200": {
|
|
19696
|
+
"description": "Permission collection",
|
|
19697
|
+
"content": {
|
|
19698
|
+
"application/json": {
|
|
19699
|
+
"schema": {
|
|
19700
|
+
"type": "object",
|
|
19701
|
+
"allOf": [
|
|
19702
|
+
{
|
|
19703
|
+
"properties": {
|
|
19704
|
+
"elements": {
|
|
19705
|
+
"type": "array",
|
|
19706
|
+
"items": {
|
|
19707
|
+
"type": "object",
|
|
19708
|
+
"properties": {
|
|
19709
|
+
"permissionName": { "type": "string" },
|
|
19710
|
+
"permissionDependencies": {
|
|
19711
|
+
"type": "array",
|
|
19712
|
+
"items": { "type": "string" }
|
|
19713
|
+
},
|
|
19714
|
+
"permissionGroupName": { "type": "string" }
|
|
19715
|
+
}
|
|
19716
|
+
}
|
|
19717
|
+
}
|
|
19718
|
+
},
|
|
19719
|
+
"type": "object"
|
|
19720
|
+
},
|
|
19721
|
+
{ "$ref": "#/components/schemas/EntitySearchResult" }
|
|
19722
|
+
]
|
|
19723
|
+
}
|
|
19724
|
+
}
|
|
19725
|
+
}
|
|
19726
|
+
}
|
|
19727
|
+
},
|
|
19728
|
+
"security": [{ "ApiKey": [] }]
|
|
19729
|
+
}
|
|
19730
|
+
},
|
|
18710
19731
|
"/role/create": {
|
|
18711
19732
|
"post": {
|
|
18712
19733
|
"tags": ["B2B Employee Management"],
|
|
18713
|
-
"summary": "Create a single role and
|
|
19734
|
+
"summary": "Create a single role and return the role",
|
|
18714
19735
|
"description": "This route is used to create and return an role",
|
|
18715
19736
|
"operationId": "createRole",
|
|
18716
19737
|
"parameters": [],
|
|
@@ -18798,7 +19819,7 @@
|
|
|
18798
19819
|
"security": [{ "ApiKey": [] }]
|
|
18799
19820
|
},
|
|
18800
19821
|
"post": {
|
|
18801
|
-
"tags": ["B2B"],
|
|
19822
|
+
"tags": ["B2B Employee Management"],
|
|
18802
19823
|
"summary": "Fetch a list of roles",
|
|
18803
19824
|
"description": "This route is used to load roles",
|
|
18804
19825
|
"operationId": "readRolesPOST",
|
|
@@ -18845,7 +19866,7 @@
|
|
|
18845
19866
|
"/role/{id}": {
|
|
18846
19867
|
"get": {
|
|
18847
19868
|
"tags": ["B2B Employee Management"],
|
|
18848
|
-
"summary": "Fetch
|
|
19869
|
+
"summary": "Fetch one role by id",
|
|
18849
19870
|
"description": "This route is used to fetch one role by id",
|
|
18850
19871
|
"operationId": "readRole",
|
|
18851
19872
|
"parameters": [
|
|
@@ -18870,8 +19891,8 @@
|
|
|
18870
19891
|
"security": [{ "ApiKey": [] }]
|
|
18871
19892
|
},
|
|
18872
19893
|
"patch": {
|
|
18873
|
-
"tags": ["B2B"],
|
|
18874
|
-
"summary": "Update
|
|
19894
|
+
"tags": ["B2B Employee Management"],
|
|
19895
|
+
"summary": "Update one role by id",
|
|
18875
19896
|
"description": "This route is used to update one role by id",
|
|
18876
19897
|
"operationId": "updateRole",
|
|
18877
19898
|
"parameters": [
|
|
@@ -18921,8 +19942,8 @@
|
|
|
18921
19942
|
"security": [{ "ApiKey": [] }]
|
|
18922
19943
|
},
|
|
18923
19944
|
"delete": {
|
|
18924
|
-
"tags": ["B2B"],
|
|
18925
|
-
"summary": "Delete
|
|
19945
|
+
"tags": ["B2B Employee Management"],
|
|
19946
|
+
"summary": "Delete one role by id",
|
|
18926
19947
|
"description": "This route is used to delete one role by id",
|
|
18927
19948
|
"operationId": "deleteRole",
|
|
18928
19949
|
"parameters": [
|
|
@@ -18938,49 +19959,6 @@
|
|
|
18938
19959
|
"security": [{ "ApiKey": [] }]
|
|
18939
19960
|
}
|
|
18940
19961
|
},
|
|
18941
|
-
"/role/permissions": {
|
|
18942
|
-
"get": {
|
|
18943
|
-
"tags": ["B2B Employee Management"],
|
|
18944
|
-
"summary": "Fetch a available permissions",
|
|
18945
|
-
"description": "This route is used to fetch all available permissions",
|
|
18946
|
-
"operationId": "readPermissions",
|
|
18947
|
-
"responses": {
|
|
18948
|
-
"200": {
|
|
18949
|
-
"description": "Permission collection",
|
|
18950
|
-
"content": {
|
|
18951
|
-
"application/json": {
|
|
18952
|
-
"schema": {
|
|
18953
|
-
"type": "object",
|
|
18954
|
-
"allOf": [
|
|
18955
|
-
{
|
|
18956
|
-
"properties": {
|
|
18957
|
-
"elements": {
|
|
18958
|
-
"type": "array",
|
|
18959
|
-
"items": {
|
|
18960
|
-
"type": "object",
|
|
18961
|
-
"properties": {
|
|
18962
|
-
"permissionName": { "type": "string" },
|
|
18963
|
-
"permissionDependencies": {
|
|
18964
|
-
"type": "array",
|
|
18965
|
-
"items": { "type": "string" }
|
|
18966
|
-
},
|
|
18967
|
-
"permissionGroupName": { "type": "string" }
|
|
18968
|
-
}
|
|
18969
|
-
}
|
|
18970
|
-
}
|
|
18971
|
-
},
|
|
18972
|
-
"type": "object"
|
|
18973
|
-
},
|
|
18974
|
-
{ "$ref": "#/components/schemas/EntitySearchResult" }
|
|
18975
|
-
]
|
|
18976
|
-
}
|
|
18977
|
-
}
|
|
18978
|
-
}
|
|
18979
|
-
}
|
|
18980
|
-
},
|
|
18981
|
-
"security": [{ "ApiKey": [] }]
|
|
18982
|
-
}
|
|
18983
|
-
},
|
|
18984
19962
|
"/role/default": {
|
|
18985
19963
|
"post": {
|
|
18986
19964
|
"tags": ["B2B Employee Management"],
|
|
@@ -19880,7 +20858,7 @@
|
|
|
19880
20858
|
"security": [{ "ApiKey": [] }]
|
|
19881
20859
|
}
|
|
19882
20860
|
},
|
|
19883
|
-
"/
|
|
20861
|
+
"/shopping-list": {
|
|
19884
20862
|
"post": {
|
|
19885
20863
|
"tags": ["B2B Shopping Lists"],
|
|
19886
20864
|
"summary": "Create new shopping list",
|
|
@@ -19952,7 +20930,7 @@
|
|
|
19952
20930
|
"security": [{ "ApiKey": [] }]
|
|
19953
20931
|
}
|
|
19954
20932
|
},
|
|
19955
|
-
"/
|
|
20933
|
+
"/shopping-lists": {
|
|
19956
20934
|
"post": {
|
|
19957
20935
|
"tags": ["B2B Shopping Lists"],
|
|
19958
20936
|
"summary": "Load shopping lists",
|
|
@@ -19994,12 +20972,20 @@
|
|
|
19994
20972
|
"security": [{ "ApiKey": [] }]
|
|
19995
20973
|
}
|
|
19996
20974
|
},
|
|
19997
|
-
"/
|
|
20975
|
+
"/shopping-list/{id}": {
|
|
19998
20976
|
"post": {
|
|
19999
20977
|
"tags": ["B2B Shopping Lists"],
|
|
20000
20978
|
"summary": "Load one shopping list",
|
|
20001
20979
|
"description": "This route is used to load one shopping list",
|
|
20002
20980
|
"operationId": "readShoppingList",
|
|
20981
|
+
"requestBody": {
|
|
20982
|
+
"required": false,
|
|
20983
|
+
"content": {
|
|
20984
|
+
"application/json": {
|
|
20985
|
+
"schema": { "$ref": "#/components/schemas/Criteria" }
|
|
20986
|
+
}
|
|
20987
|
+
}
|
|
20988
|
+
},
|
|
20003
20989
|
"parameters": [
|
|
20004
20990
|
{
|
|
20005
20991
|
"name": "id",
|
|
@@ -20024,7 +21010,7 @@
|
|
|
20024
21010
|
"security": [{ "ApiKey": [] }]
|
|
20025
21011
|
}
|
|
20026
21012
|
},
|
|
20027
|
-
"/
|
|
21013
|
+
"/shopping-list/{id}/change-name": {
|
|
20028
21014
|
"patch": {
|
|
20029
21015
|
"tags": ["B2B Shopping Lists"],
|
|
20030
21016
|
"summary": "Update shopping list name",
|
|
@@ -20060,7 +21046,7 @@
|
|
|
20060
21046
|
"security": [{ "ApiKey": [] }]
|
|
20061
21047
|
}
|
|
20062
21048
|
},
|
|
20063
|
-
"/
|
|
21049
|
+
"/shopping-list/{id}/duplicate": {
|
|
20064
21050
|
"post": {
|
|
20065
21051
|
"tags": ["B2B Shopping Lists"],
|
|
20066
21052
|
"summary": "Duplicate new shopping list",
|
|
@@ -20113,7 +21099,7 @@
|
|
|
20113
21099
|
"security": [{ "ApiKey": [] }]
|
|
20114
21100
|
}
|
|
20115
21101
|
},
|
|
20116
|
-
"/
|
|
21102
|
+
"/shopping-list/{id}/summary": {
|
|
20117
21103
|
"get": {
|
|
20118
21104
|
"tags": ["B2B Shopping Lists"],
|
|
20119
21105
|
"summary": "Price summary for shopping list",
|
|
@@ -20169,7 +21155,7 @@
|
|
|
20169
21155
|
"security": [{ "ApiKey": [] }]
|
|
20170
21156
|
}
|
|
20171
21157
|
},
|
|
20172
|
-
"/
|
|
21158
|
+
"/shopping-list/{id}/add": {
|
|
20173
21159
|
"post": {
|
|
20174
21160
|
"tags": ["B2B Shopping Lists"],
|
|
20175
21161
|
"summary": "Add more product to shopping list",
|
|
@@ -20219,8 +21205,8 @@
|
|
|
20219
21205
|
"security": [{ "ApiKey": [] }]
|
|
20220
21206
|
}
|
|
20221
21207
|
},
|
|
20222
|
-
"/
|
|
20223
|
-
"
|
|
21208
|
+
"/shopping-list/line-item/remove": {
|
|
21209
|
+
"post": {
|
|
20224
21210
|
"tags": ["B2B Shopping Lists"],
|
|
20225
21211
|
"summary": "Delete shopping list line items",
|
|
20226
21212
|
"description": "This route is used to delete shopping list line items",
|
|
@@ -20232,12 +21218,21 @@
|
|
|
20232
21218
|
"application/json": {
|
|
20233
21219
|
"schema": {
|
|
20234
21220
|
"type": "object",
|
|
20235
|
-
"required": ["ids"],
|
|
20236
21221
|
"properties": {
|
|
20237
21222
|
"ids": {
|
|
20238
21223
|
"description": "Line items ids",
|
|
20239
21224
|
"type": "array",
|
|
20240
21225
|
"items": { "type": "string", "pattern": "^[0-9a-f]{32}$" }
|
|
21226
|
+
},
|
|
21227
|
+
"productIds": {
|
|
21228
|
+
"description": "Product ids",
|
|
21229
|
+
"type": "array",
|
|
21230
|
+
"items": { "type": "string", "pattern": "^[0-9a-f]{32}$" }
|
|
21231
|
+
},
|
|
21232
|
+
"listId": {
|
|
21233
|
+
"description": "List id",
|
|
21234
|
+
"type": "string",
|
|
21235
|
+
"pattern": "^[0-9a-f]{32}$"
|
|
20241
21236
|
}
|
|
20242
21237
|
}
|
|
20243
21238
|
}
|
|
@@ -20248,8 +21243,8 @@
|
|
|
20248
21243
|
"security": [{ "ApiKey": [] }]
|
|
20249
21244
|
}
|
|
20250
21245
|
},
|
|
20251
|
-
"/
|
|
20252
|
-
"
|
|
21246
|
+
"/shopping-list/line-item/{id}/change-quantity": {
|
|
21247
|
+
"post": {
|
|
20253
21248
|
"tags": ["B2B Shopping Lists"],
|
|
20254
21249
|
"summary": "Update shopping list line item quantity",
|
|
20255
21250
|
"description": "This route is used to update shopping list line item quantity",
|
|
@@ -20561,7 +21556,7 @@
|
|
|
20561
21556
|
"description": "The token will be attached to the invitation response link in the invitation mail",
|
|
20562
21557
|
"type": "string"
|
|
20563
21558
|
},
|
|
20564
|
-
"
|
|
21559
|
+
"answer": {
|
|
20565
21560
|
"description": "The status you respond to",
|
|
20566
21561
|
"type": "string",
|
|
20567
21562
|
"enum": ["accepted", "maybe", "declined"]
|
|
@@ -21009,4 +22004,4 @@
|
|
|
21009
22004
|
}
|
|
21010
22005
|
}
|
|
21011
22006
|
]
|
|
21012
|
-
}
|
|
22007
|
+
}
|