@viu/emporix-sdk 2.36.0 → 2.36.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/CHANGELOG.md +24 -0
- package/dist/cart.d.cts +21 -3
- package/dist/cart.d.ts +21 -3
- package/dist/category.d.cts +4 -0
- package/dist/category.d.ts +4 -0
- package/dist/companies.d.cts +2 -2
- package/dist/companies.d.ts +2 -2
- package/dist/contacts.d.cts +1 -1
- package/dist/contacts.d.ts +1 -1
- package/dist/{customer-groups-D0OCm8kJ.d.cts → customer-groups-BfHDqExS.d.cts} +2 -0
- package/dist/{customer-groups-WSt4aT62.d.ts → customer-groups-Cs6-Cwzg.d.ts} +2 -0
- package/dist/customer-groups.d.cts +1 -1
- package/dist/customer-groups.d.ts +1 -1
- package/dist/customer.d.cts +20 -0
- package/dist/customer.d.ts +20 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +504 -18
- package/dist/index.d.ts +504 -18
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/locations.d.cts +2 -2
- package/dist/locations.d.ts +2 -2
- package/dist/media.d.cts +24 -0
- package/dist/media.d.ts +24 -0
- package/dist/orders.d.cts +118 -6
- package/dist/orders.d.ts +118 -6
- package/dist/payment.d.cts +39 -0
- package/dist/payment.d.ts +39 -0
- package/dist/price.d.cts +45 -0
- package/dist/price.d.ts +45 -0
- package/dist/product.d.cts +20 -0
- package/dist/product.d.ts +20 -0
- package/dist/{types.gen-C_wOXYZB.d.cts → types.gen-fWB4nrso.d.cts} +52 -0
- package/dist/{types.gen-C_wOXYZB.d.ts → types.gen-fWB4nrso.d.ts} +52 -0
- package/package.json +5 -5
package/dist/index.d.cts
CHANGED
|
@@ -21,14 +21,14 @@ export { Segment, SegmentAssignmentBulkResult, SegmentBulkItem, SegmentBulkResul
|
|
|
21
21
|
import { CompaniesService } from './companies.cjs';
|
|
22
22
|
import { ContactsService } from './contacts.cjs';
|
|
23
23
|
import { LocationsService } from './locations.cjs';
|
|
24
|
-
import { m as UserResponse, U as UserCreateRequest, l as UserIdResponse, k as UserExtendedResponse, o as UserUpdateRequest, j as GroupsQueryDocument, n as UserScopesResponse, a as AccessControlQueryDocument, G as GroupCreateRequest, h as GroupIdResponse, i as GroupUpdateRequest, c as AssignmentCreateRequest, d as AssignmentIdResponse, b as AccessControlUpsertRequest, A as AccessControlIdResponse, e as CustomScopeQueryDocument, f as CustomScopeUpsertRequest, C as CustomScopeIdResponse, g as CustomerGroupsService } from './customer-groups-
|
|
24
|
+
import { m as UserResponse, U as UserCreateRequest, l as UserIdResponse, k as UserExtendedResponse, o as UserUpdateRequest, j as GroupsQueryDocument, n as UserScopesResponse, a as AccessControlQueryDocument, G as GroupCreateRequest, h as GroupIdResponse, i as GroupUpdateRequest, c as AssignmentCreateRequest, d as AssignmentIdResponse, b as AccessControlUpsertRequest, A as AccessControlIdResponse, e as CustomScopeQueryDocument, f as CustomScopeUpsertRequest, C as CustomScopeIdResponse, g as CustomerGroupsService } from './customer-groups-BfHDqExS.cjs';
|
|
25
25
|
import { OrdersService, SalesOrdersService } from './orders.cjs';
|
|
26
26
|
export { GetOrderOptions, ListLegalEntityOrdersOptions, ListMyOrdersOptions, ListSalesOrdersOptions, Order, OrderEntry, OrderStatus, OrderTransitionOptions, SalesOrder, SalesOrderCalculationInput, SalesOrderCreateInput, SalesOrderCreated, SalesOrderEntriesInput, SalesOrderHistoricalTransitions, SalesOrderPatch, SalesOrderReplaceInput, SalesOrderSearchInput, SalesOrderSplitInput, SalesOrderSplitResult, Transition, UpdateSalesOrderOptions } from './orders.cjs';
|
|
27
27
|
import { AvailabilityService } from './availability.cjs';
|
|
28
28
|
export { Availability, AvailabilityBulkDeleteInput, AvailabilityBulkInput, AvailabilityBulkResult, AvailabilityCreated, AvailabilityInput, AvailabilityOptions } from './availability.cjs';
|
|
29
29
|
import { a as QueryFor } from './query-mLQs2WFr.cjs';
|
|
30
30
|
export { B as BuiltQuery, Q as QueryCapability, r as resolveQuery } from './query-mLQs2WFr.cjs';
|
|
31
|
-
export { A as AccountLimit, C as ContactAssignment, a as ContactAssignmentCreate, b as ContactAssignmentUpdate, c as ContactDetails, d as CustomerGroup, L as LegalEntity, e as LegalEntityCreate, f as LegalEntityUpdate, g as LegalInfo, h as Location, i as LocationCreate, j as LocationUpdate } from './types.gen-
|
|
31
|
+
export { A as AccountLimit, C as ContactAssignment, a as ContactAssignmentCreate, b as ContactAssignmentUpdate, c as ContactDetails, d as CustomerGroup, L as LegalEntity, e as LegalEntityCreate, f as LegalEntityUpdate, g as LegalInfo, h as Location, i as LocationCreate, j as LocationUpdate } from './types.gen-fWB4nrso.cjs';
|
|
32
32
|
|
|
33
33
|
/** Base class for every error thrown by the SDK. */
|
|
34
34
|
declare class EmporixError extends Error {
|
|
@@ -235,6 +235,8 @@ declare function createServerStorage(jar: ServerCookieJar): EmporixStorage;
|
|
|
235
235
|
declare function serverAuth(storage: EmporixStorage): AuthContext;
|
|
236
236
|
|
|
237
237
|
/**
|
|
238
|
+
* Address
|
|
239
|
+
*
|
|
238
240
|
* Site address.
|
|
239
241
|
*/
|
|
240
242
|
type AddressDto = {
|
|
@@ -254,6 +256,9 @@ type AddressDto = {
|
|
|
254
256
|
* Currency used by the site, compliant with the ISO 4217 standard.
|
|
255
257
|
*/
|
|
256
258
|
type CurrencyDto = string;
|
|
259
|
+
/**
|
|
260
|
+
* Metadata
|
|
261
|
+
*/
|
|
257
262
|
type DefaultDtoMetadata$1 = {
|
|
258
263
|
/**
|
|
259
264
|
* Mixin schema URLs.
|
|
@@ -264,6 +269,8 @@ type DefaultDtoMetadata$1 = {
|
|
|
264
269
|
version?: number;
|
|
265
270
|
};
|
|
266
271
|
/**
|
|
272
|
+
* HomeBase
|
|
273
|
+
*
|
|
267
274
|
* Site location.
|
|
268
275
|
*/
|
|
269
276
|
type HomeBaseDto = {
|
|
@@ -286,6 +293,8 @@ type HomeBaseDto = {
|
|
|
286
293
|
timezone?: string;
|
|
287
294
|
};
|
|
288
295
|
/**
|
|
296
|
+
* Location
|
|
297
|
+
*
|
|
289
298
|
* Site geographical location.
|
|
290
299
|
*/
|
|
291
300
|
type LocationDto = {
|
|
@@ -293,6 +302,8 @@ type LocationDto = {
|
|
|
293
302
|
longitude?: number;
|
|
294
303
|
};
|
|
295
304
|
/**
|
|
305
|
+
* Site
|
|
306
|
+
*
|
|
296
307
|
* Information about the site.
|
|
297
308
|
*/
|
|
298
309
|
type SiteDto = {
|
|
@@ -366,6 +377,9 @@ type SiteDto = {
|
|
|
366
377
|
*/
|
|
367
378
|
cartCalculationScale?: number;
|
|
368
379
|
};
|
|
380
|
+
/**
|
|
381
|
+
* Service Configuration
|
|
382
|
+
*/
|
|
369
383
|
type ServiceConfigurationDto = {
|
|
370
384
|
/**
|
|
371
385
|
* Service configuration's unique identifier.
|
|
@@ -383,6 +397,9 @@ type ServiceConfigurationDto = {
|
|
|
383
397
|
active?: boolean;
|
|
384
398
|
configuration?: ServiceSettingsDto;
|
|
385
399
|
};
|
|
400
|
+
/**
|
|
401
|
+
* Service Settings
|
|
402
|
+
*/
|
|
386
403
|
type ServiceSettingsDto = {
|
|
387
404
|
public?: {
|
|
388
405
|
[key: string]: unknown;
|
|
@@ -391,6 +408,9 @@ type ServiceSettingsDto = {
|
|
|
391
408
|
[key: string]: unknown;
|
|
392
409
|
};
|
|
393
410
|
};
|
|
411
|
+
/**
|
|
412
|
+
* ResourceLocation
|
|
413
|
+
*/
|
|
394
414
|
type ResourceLocation$2 = {
|
|
395
415
|
/**
|
|
396
416
|
* Resource identifier.
|
|
@@ -398,17 +418,24 @@ type ResourceLocation$2 = {
|
|
|
398
418
|
id?: string;
|
|
399
419
|
};
|
|
400
420
|
/**
|
|
421
|
+
* Mixin
|
|
422
|
+
*
|
|
401
423
|
* Represents a single mixin. The payload is represented as a map with a single key and value, where key represents a mixin group name and value represents a map with keys and values.
|
|
402
424
|
*/
|
|
403
425
|
type Mixin = {
|
|
404
426
|
[key: string]: unknown;
|
|
405
427
|
};
|
|
406
428
|
/**
|
|
429
|
+
* Mixins
|
|
430
|
+
*
|
|
407
431
|
* Represents mixins. The object is represented as a map with keys and values, where key represents a mixin group name and value represents a map with keys and values.
|
|
408
432
|
*/
|
|
409
433
|
type Mixins = {
|
|
410
434
|
[key: string]: unknown;
|
|
411
435
|
};
|
|
436
|
+
/**
|
|
437
|
+
* AssistedBuying
|
|
438
|
+
*/
|
|
412
439
|
type AssistedBuying$1 = {
|
|
413
440
|
/**
|
|
414
441
|
* Storefront URL, where an employee should be redirected when the assisted buying mechanism is used.
|
|
@@ -510,6 +537,8 @@ declare class SiteService {
|
|
|
510
537
|
}
|
|
511
538
|
|
|
512
539
|
/**
|
|
540
|
+
* ContextAttribute
|
|
541
|
+
*
|
|
513
542
|
* Context attribute
|
|
514
543
|
*/
|
|
515
544
|
type ContextAttribute = {
|
|
@@ -530,6 +559,8 @@ type SessionContextGet = SessionContextBase & {
|
|
|
530
559
|
metadata?: Metadata$9;
|
|
531
560
|
};
|
|
532
561
|
/**
|
|
562
|
+
* SessionContextPartialUpdateRequest
|
|
563
|
+
*
|
|
533
564
|
* Request body for partially updating own session context (PATCH /me/context).
|
|
534
565
|
* Only the following fields can be updated; all other fields are ignored.
|
|
535
566
|
*
|
|
@@ -554,6 +585,9 @@ type SessionContextPatch$1 = {
|
|
|
554
585
|
context?: Context;
|
|
555
586
|
metadata: MetadataUpdate$2;
|
|
556
587
|
};
|
|
588
|
+
/**
|
|
589
|
+
* SessionContextBase
|
|
590
|
+
*/
|
|
557
591
|
type SessionContextBase = {
|
|
558
592
|
/**
|
|
559
593
|
* Unique identifier of the customer's session.
|
|
@@ -593,6 +627,9 @@ type SessionContextBase = {
|
|
|
593
627
|
*/
|
|
594
628
|
language?: string;
|
|
595
629
|
};
|
|
630
|
+
/**
|
|
631
|
+
* Metadata
|
|
632
|
+
*/
|
|
596
633
|
type MetadataUpdate$2 = {
|
|
597
634
|
/**
|
|
598
635
|
* Version of the session context object.
|
|
@@ -609,6 +646,9 @@ type Metadata$9 = MetadataUpdate$2 & {
|
|
|
609
646
|
*/
|
|
610
647
|
modifiedAt?: string;
|
|
611
648
|
};
|
|
649
|
+
/**
|
|
650
|
+
* Context
|
|
651
|
+
*/
|
|
612
652
|
type Context = {
|
|
613
653
|
[key: string]: {
|
|
614
654
|
[key: string]: unknown;
|
|
@@ -737,6 +777,9 @@ declare class IamService {
|
|
|
737
777
|
};
|
|
738
778
|
}
|
|
739
779
|
|
|
780
|
+
/**
|
|
781
|
+
* BaseConfiguration
|
|
782
|
+
*/
|
|
740
783
|
type BaseConfiguration = {
|
|
741
784
|
/**
|
|
742
785
|
* Configuration key.
|
|
@@ -934,11 +977,13 @@ type MetadataFilter$1 = {
|
|
|
934
977
|
key?: string;
|
|
935
978
|
/**
|
|
936
979
|
* Name of the field.
|
|
980
|
+
*
|
|
937
981
|
* @deprecated
|
|
938
982
|
*/
|
|
939
983
|
name?: string;
|
|
940
984
|
/**
|
|
941
985
|
* Description of the field.
|
|
986
|
+
*
|
|
942
987
|
* @deprecated
|
|
943
988
|
*/
|
|
944
989
|
description?: string;
|
|
@@ -1248,6 +1293,8 @@ type Fee$2 = {
|
|
|
1248
1293
|
yrn?: Yrn;
|
|
1249
1294
|
};
|
|
1250
1295
|
/**
|
|
1296
|
+
* Monetary Amount
|
|
1297
|
+
*
|
|
1251
1298
|
* Schema defining monetary amount in given currency.
|
|
1252
1299
|
*/
|
|
1253
1300
|
type MonetaryAmount$1 = {
|
|
@@ -1261,6 +1308,8 @@ type MonetaryAmount$1 = {
|
|
|
1261
1308
|
currency: string;
|
|
1262
1309
|
};
|
|
1263
1310
|
/**
|
|
1311
|
+
* Timespan
|
|
1312
|
+
*
|
|
1264
1313
|
* Restricts the active fees to be only applied in the specified
|
|
1265
1314
|
* timespan.
|
|
1266
1315
|
*/
|
|
@@ -1287,6 +1336,8 @@ type ItemFee$1 = {
|
|
|
1287
1336
|
feeIds: Array<string>;
|
|
1288
1337
|
};
|
|
1289
1338
|
/**
|
|
1339
|
+
* YRN
|
|
1340
|
+
*
|
|
1290
1341
|
* A unique identifier of a global resource, which stores information about the resource, such as its type, ID or name of the tenant.
|
|
1291
1342
|
*/
|
|
1292
1343
|
type Yrn = string;
|
|
@@ -1636,6 +1687,8 @@ type WebhookConfigCreation = WebhookConfigUpdate & {
|
|
|
1636
1687
|
code: ConfigCode;
|
|
1637
1688
|
};
|
|
1638
1689
|
/**
|
|
1690
|
+
* Webhook event
|
|
1691
|
+
*
|
|
1639
1692
|
* Events that you can subscribe to.
|
|
1640
1693
|
*/
|
|
1641
1694
|
type WebhookEvent = {
|
|
@@ -1669,6 +1722,8 @@ type WebhookEvent = {
|
|
|
1669
1722
|
};
|
|
1670
1723
|
};
|
|
1671
1724
|
/**
|
|
1725
|
+
* Webhook subscription
|
|
1726
|
+
*
|
|
1672
1727
|
* Subscription per event.
|
|
1673
1728
|
*/
|
|
1674
1729
|
type WebhookSubscription$1 = {
|
|
@@ -1684,6 +1739,8 @@ type WebhookSubscription$1 = {
|
|
|
1684
1739
|
excludedFields?: Array<string>;
|
|
1685
1740
|
};
|
|
1686
1741
|
/**
|
|
1742
|
+
* Webhook subscription update item
|
|
1743
|
+
*
|
|
1687
1744
|
* Object used to subscribe to/unsubscribe from an event.
|
|
1688
1745
|
*/
|
|
1689
1746
|
type WebhookSubscriptionUpdateItem$1 = {
|
|
@@ -1706,6 +1763,8 @@ type WebhookSubscriptionUpdateItem$1 = {
|
|
|
1706
1763
|
fieldsToSubscribe?: Array<string>;
|
|
1707
1764
|
};
|
|
1708
1765
|
/**
|
|
1766
|
+
* Metadata
|
|
1767
|
+
*
|
|
1709
1768
|
* Auditing details.
|
|
1710
1769
|
*/
|
|
1711
1770
|
type Metadata$8 = {
|
|
@@ -1723,6 +1782,8 @@ type Metadata$8 = {
|
|
|
1723
1782
|
version?: number;
|
|
1724
1783
|
};
|
|
1725
1784
|
/**
|
|
1785
|
+
* Metadata for update
|
|
1786
|
+
*
|
|
1726
1787
|
* Auditing details.
|
|
1727
1788
|
*/
|
|
1728
1789
|
type MetadataForUpdate = {
|
|
@@ -1732,6 +1793,8 @@ type MetadataForUpdate = {
|
|
|
1732
1793
|
version?: number;
|
|
1733
1794
|
};
|
|
1734
1795
|
/**
|
|
1796
|
+
* Update subscription result response
|
|
1797
|
+
*
|
|
1735
1798
|
* Object containing the result of event subscription.
|
|
1736
1799
|
*/
|
|
1737
1800
|
type UpdateSubscriptionResponse = {
|
|
@@ -1750,6 +1813,9 @@ type DashboardAccess = {
|
|
|
1750
1813
|
*/
|
|
1751
1814
|
token?: string;
|
|
1752
1815
|
};
|
|
1816
|
+
/**
|
|
1817
|
+
* Webhook monthly statistics
|
|
1818
|
+
*/
|
|
1753
1819
|
type MonthStatistics = {
|
|
1754
1820
|
/**
|
|
1755
1821
|
* Month for which statistics should be retrieved, provided in the "YYYY-MM" format.
|
|
@@ -1760,6 +1826,9 @@ type MonthStatistics = {
|
|
|
1760
1826
|
*/
|
|
1761
1827
|
succesfullySentWebhooks?: number;
|
|
1762
1828
|
};
|
|
1829
|
+
/**
|
|
1830
|
+
* Webhooks limit statistics
|
|
1831
|
+
*/
|
|
1763
1832
|
type WebhookStatistics$1 = {
|
|
1764
1833
|
monthStatistics?: Array<MonthStatistics>;
|
|
1765
1834
|
/**
|
|
@@ -2168,12 +2237,6 @@ type CustomInstanceResponse = {
|
|
|
2168
2237
|
* Unique identifier of the custom instance.
|
|
2169
2238
|
*/
|
|
2170
2239
|
id?: string;
|
|
2171
|
-
/**
|
|
2172
|
-
* Localized custom type name in a form of a map of translations.
|
|
2173
|
-
*/
|
|
2174
|
-
name?: {
|
|
2175
|
-
[key: string]: unknown;
|
|
2176
|
-
};
|
|
2177
2240
|
/**
|
|
2178
2241
|
* Custom schema type to which custom instance is related.
|
|
2179
2242
|
*/
|
|
@@ -2600,6 +2663,8 @@ type AgenticRequest = {
|
|
|
2600
2663
|
*/
|
|
2601
2664
|
type AgentType = 'generic' | 'complaint' | 'anti_fraud';
|
|
2602
2665
|
/**
|
|
2666
|
+
* TextGenerationRequest
|
|
2667
|
+
*
|
|
2603
2668
|
* Represents a request body for a text generation operation.
|
|
2604
2669
|
*/
|
|
2605
2670
|
type TextGenerationRequest = {
|
|
@@ -3805,6 +3870,9 @@ type AgentSessionResponse = {
|
|
|
3805
3870
|
duration?: number;
|
|
3806
3871
|
metadata?: MetadataResponse$1;
|
|
3807
3872
|
};
|
|
3873
|
+
/**
|
|
3874
|
+
* CompletionRequest
|
|
3875
|
+
*/
|
|
3808
3876
|
type CompletionRequest$1 = {
|
|
3809
3877
|
/**
|
|
3810
3878
|
* Identifier of the request. The value is not mandatory - if provided, then the ID is returned in the text generation response.
|
|
@@ -3812,7 +3880,7 @@ type CompletionRequest$1 = {
|
|
|
3812
3880
|
id?: string;
|
|
3813
3881
|
messages: Array<{
|
|
3814
3882
|
/**
|
|
3815
|
-
* Specifies the role of the message. `SYSTEM` - Provides instructions or context to the AI about the conversation.
|
|
3883
|
+
* Specifies the role of the message. `SYSTEM` - Provides instructions or context to the AI about the conversation. `USER` - Represents a message sent by the user. `ASSISTANT` - Represents a message generated by the AI.
|
|
3816
3884
|
*/
|
|
3817
3885
|
role: 'USER' | 'SYSTEM' | 'ASSISTANT';
|
|
3818
3886
|
/**
|
|
@@ -4366,6 +4434,8 @@ type Metadata$7 = {
|
|
|
4366
4434
|
version?: number;
|
|
4367
4435
|
};
|
|
4368
4436
|
/**
|
|
4437
|
+
* taxCreation
|
|
4438
|
+
*
|
|
4369
4439
|
* Tax configuration for a specified location. It consists of a country code and a list of tax classes applicable in that country.
|
|
4370
4440
|
*/
|
|
4371
4441
|
type TaxCreation = {
|
|
@@ -4376,6 +4446,8 @@ type TaxCreation = {
|
|
|
4376
4446
|
taxClasses: Array<TaxClass>;
|
|
4377
4447
|
};
|
|
4378
4448
|
/**
|
|
4449
|
+
* taxRetrieval
|
|
4450
|
+
*
|
|
4379
4451
|
* Tax configuration for a specified location. It consists of a country code and a list of tax classes applicable in that country.
|
|
4380
4452
|
*/
|
|
4381
4453
|
type TaxRetrieval = {
|
|
@@ -4388,6 +4460,8 @@ type TaxRetrieval = {
|
|
|
4388
4460
|
metadata?: Metadata$7;
|
|
4389
4461
|
};
|
|
4390
4462
|
/**
|
|
4463
|
+
* taxClass
|
|
4464
|
+
*
|
|
4391
4465
|
* Single tax class.
|
|
4392
4466
|
*/
|
|
4393
4467
|
type TaxClass = {
|
|
@@ -4434,6 +4508,9 @@ type TaxClass = {
|
|
|
4434
4508
|
*/
|
|
4435
4509
|
isDefault?: boolean;
|
|
4436
4510
|
};
|
|
4511
|
+
/**
|
|
4512
|
+
* taxCreationResponse
|
|
4513
|
+
*/
|
|
4437
4514
|
type TaxCreationResponse = {
|
|
4438
4515
|
/**
|
|
4439
4516
|
* Code of country for which the tax configuration has been created.
|
|
@@ -4557,6 +4634,9 @@ type Location$2 = {
|
|
|
4557
4634
|
*/
|
|
4558
4635
|
countryCode: string;
|
|
4559
4636
|
};
|
|
4637
|
+
/**
|
|
4638
|
+
* taxUpdate
|
|
4639
|
+
*/
|
|
4560
4640
|
type TaxUpdate = TaxCreation & {
|
|
4561
4641
|
metadata: Metadata$7;
|
|
4562
4642
|
};
|
|
@@ -4623,6 +4703,8 @@ declare class TaxService {
|
|
|
4623
4703
|
|
|
4624
4704
|
type Coupons = Array<CouponWithIdAndStatus>;
|
|
4625
4705
|
/**
|
|
4706
|
+
* Coupon response/update payload
|
|
4707
|
+
*
|
|
4626
4708
|
* Coupons describe voucher alike commerce capabilities, e.g. 10% off winter accessories.
|
|
4627
4709
|
*/
|
|
4628
4710
|
type BaseCoupon = {
|
|
@@ -4719,6 +4801,8 @@ type Coupon$2 = BaseCoupon & {
|
|
|
4719
4801
|
deleted?: boolean;
|
|
4720
4802
|
};
|
|
4721
4803
|
/**
|
|
4804
|
+
* Coupon creation payload
|
|
4805
|
+
*
|
|
4722
4806
|
* Coupon creation schema.
|
|
4723
4807
|
*/
|
|
4724
4808
|
type CouponCreation = {
|
|
@@ -4800,6 +4884,8 @@ type SegmentRestricted = boolean;
|
|
|
4800
4884
|
*/
|
|
4801
4885
|
type CategoryRestricted = boolean;
|
|
4802
4886
|
/**
|
|
4887
|
+
* Money amount
|
|
4888
|
+
*
|
|
4803
4889
|
* Defines an amount in a specific currency.
|
|
4804
4890
|
*/
|
|
4805
4891
|
type CurrencyAmount = {
|
|
@@ -4813,6 +4899,8 @@ type CurrencyAmount = {
|
|
|
4813
4899
|
currency?: string;
|
|
4814
4900
|
};
|
|
4815
4901
|
/**
|
|
4902
|
+
* Coupon Redemption
|
|
4903
|
+
*
|
|
4816
4904
|
* Defines a coupon redemption response.
|
|
4817
4905
|
*/
|
|
4818
4906
|
type Redemption = RedemptionCreation & {
|
|
@@ -4826,6 +4914,8 @@ type Redemption = RedemptionCreation & {
|
|
|
4826
4914
|
redeemedAt?: string;
|
|
4827
4915
|
};
|
|
4828
4916
|
/**
|
|
4917
|
+
* Coupon Redemption Request
|
|
4918
|
+
*
|
|
4829
4919
|
* Defines a coupon redemption request payload that affects a coupon instance.
|
|
4830
4920
|
*/
|
|
4831
4921
|
type RedemptionCreation = {
|
|
@@ -4896,6 +4986,8 @@ type CouponWithIdAndStatus = Coupon$2 & {
|
|
|
4896
4986
|
status?: 'VALID' | 'INACTIVE' | 'EXPIRED' | 'USED';
|
|
4897
4987
|
};
|
|
4898
4988
|
/**
|
|
4989
|
+
* Coupon
|
|
4990
|
+
*
|
|
4899
4991
|
* Coupons describe voucher alike commerce capabilities.
|
|
4900
4992
|
*/
|
|
4901
4993
|
type ReferralCoupon = {
|
|
@@ -5058,7 +5150,13 @@ declare class CouponService {
|
|
|
5058
5150
|
createReferralCoupon(customerNumber: string, auth?: AuthContext): Promise<ReferralCoupon>;
|
|
5059
5151
|
}
|
|
5060
5152
|
|
|
5153
|
+
/**
|
|
5154
|
+
* Collection of Summaries
|
|
5155
|
+
*/
|
|
5061
5156
|
type CustomerSummaryBatchOut = Array<PointsSummaryOut>;
|
|
5157
|
+
/**
|
|
5158
|
+
* pointsSummaryOut
|
|
5159
|
+
*/
|
|
5062
5160
|
type PointsSummaryOut = {
|
|
5063
5161
|
/**
|
|
5064
5162
|
* Id of the customer to whom the points are assigned
|
|
@@ -5070,6 +5168,9 @@ type PointsSummaryOut = {
|
|
|
5070
5168
|
activePoints?: number;
|
|
5071
5169
|
summary?: CustomerSummary;
|
|
5072
5170
|
};
|
|
5171
|
+
/**
|
|
5172
|
+
* addedPoints
|
|
5173
|
+
*/
|
|
5073
5174
|
type AddedPoints = {
|
|
5074
5175
|
id?: string;
|
|
5075
5176
|
/**
|
|
@@ -5099,6 +5200,9 @@ type AddedPoints = {
|
|
|
5099
5200
|
usedPoints?: number;
|
|
5100
5201
|
usedWith?: Array<string>;
|
|
5101
5202
|
};
|
|
5203
|
+
/**
|
|
5204
|
+
* redeemedPoints
|
|
5205
|
+
*/
|
|
5102
5206
|
type RedeemedPoints = {
|
|
5103
5207
|
/**
|
|
5104
5208
|
* Identifier of the redeemed points
|
|
@@ -5121,11 +5225,20 @@ type RedeemedPoints = {
|
|
|
5121
5225
|
*/
|
|
5122
5226
|
allPointsAfterCreation?: number;
|
|
5123
5227
|
};
|
|
5228
|
+
/**
|
|
5229
|
+
* customerSummary
|
|
5230
|
+
*/
|
|
5124
5231
|
type CustomerSummary = {
|
|
5125
5232
|
addedPointsList: Array<AddedPoints>;
|
|
5126
5233
|
redeemedPointsList?: Array<RedeemedPoints>;
|
|
5127
5234
|
};
|
|
5235
|
+
/**
|
|
5236
|
+
* redeemOptions
|
|
5237
|
+
*/
|
|
5128
5238
|
type RedeemOptions = Array<RedeemOption>;
|
|
5239
|
+
/**
|
|
5240
|
+
* redeemOption
|
|
5241
|
+
*/
|
|
5129
5242
|
type RedeemOption = {
|
|
5130
5243
|
/**
|
|
5131
5244
|
* ID of the redemption option to be used at reward points exchange
|
|
@@ -5164,6 +5277,9 @@ type RedeemOption = {
|
|
|
5164
5277
|
modifiedAt?: string;
|
|
5165
5278
|
};
|
|
5166
5279
|
};
|
|
5280
|
+
/**
|
|
5281
|
+
* CouponCode
|
|
5282
|
+
*/
|
|
5167
5283
|
type RedeemCouponOut = {
|
|
5168
5284
|
/**
|
|
5169
5285
|
* Coupon code received after exchanging points
|
|
@@ -5171,6 +5287,8 @@ type RedeemCouponOut = {
|
|
|
5171
5287
|
code?: string;
|
|
5172
5288
|
};
|
|
5173
5289
|
/**
|
|
5290
|
+
* Coupon API
|
|
5291
|
+
*
|
|
5174
5292
|
* Coupons describe voucher-like commerce capabilities.
|
|
5175
5293
|
*/
|
|
5176
5294
|
type Coupon = {
|
|
@@ -5195,6 +5313,8 @@ type Coupon = {
|
|
|
5195
5313
|
*/
|
|
5196
5314
|
discountPercentage?: number;
|
|
5197
5315
|
/**
|
|
5316
|
+
* Money Amount
|
|
5317
|
+
*
|
|
5198
5318
|
* Must be specified only if type is 'ABSOLUTE'
|
|
5199
5319
|
*/
|
|
5200
5320
|
discountAbsolute?: {
|
|
@@ -5262,6 +5382,9 @@ type NewCustomerIn = {
|
|
|
5262
5382
|
customerId?: string;
|
|
5263
5383
|
startPoints?: AddedPoints;
|
|
5264
5384
|
};
|
|
5385
|
+
/**
|
|
5386
|
+
* Restrictions
|
|
5387
|
+
*/
|
|
5265
5388
|
type Restrictions = {
|
|
5266
5389
|
/**
|
|
5267
5390
|
* A list of identifiers of customers that can redeem the coupon. Cannot be specified for coupons which can be redeemed by anonymous users.
|
|
@@ -5276,6 +5399,8 @@ type Restrictions = {
|
|
|
5276
5399
|
*/
|
|
5277
5400
|
validUntil?: string;
|
|
5278
5401
|
/**
|
|
5402
|
+
* Money Amount
|
|
5403
|
+
*
|
|
5279
5404
|
* Minimum order value which entitles the customer to redeem the coupon
|
|
5280
5405
|
*/
|
|
5281
5406
|
minOrderValue?: {
|
|
@@ -5365,7 +5490,13 @@ declare class RewardPointsService {
|
|
|
5365
5490
|
deleteRedeemOption(redeemOptionId: string, auth?: AuthContext): Promise<void>;
|
|
5366
5491
|
}
|
|
5367
5492
|
|
|
5493
|
+
/**
|
|
5494
|
+
* Collection of Brands
|
|
5495
|
+
*/
|
|
5368
5496
|
type Brands = Array<BrandResponse>;
|
|
5497
|
+
/**
|
|
5498
|
+
* Brand
|
|
5499
|
+
*/
|
|
5369
5500
|
type Brand$1 = {
|
|
5370
5501
|
/**
|
|
5371
5502
|
* Unique identifier of a brand.
|
|
@@ -5392,6 +5523,9 @@ type Brand$1 = {
|
|
|
5392
5523
|
[key: string]: string;
|
|
5393
5524
|
};
|
|
5394
5525
|
};
|
|
5526
|
+
/**
|
|
5527
|
+
* Brand
|
|
5528
|
+
*/
|
|
5395
5529
|
type UpdateBrand = {
|
|
5396
5530
|
/**
|
|
5397
5531
|
* Brand name.
|
|
@@ -5415,6 +5549,9 @@ type UpdateBrand = {
|
|
|
5415
5549
|
};
|
|
5416
5550
|
metadata?: UpdateMetaData;
|
|
5417
5551
|
};
|
|
5552
|
+
/**
|
|
5553
|
+
* Brand Response
|
|
5554
|
+
*/
|
|
5418
5555
|
type BrandResponse = {
|
|
5419
5556
|
/**
|
|
5420
5557
|
* Brand name.
|
|
@@ -5454,6 +5591,9 @@ type BrandResponse = {
|
|
|
5454
5591
|
id?: string;
|
|
5455
5592
|
metadata?: MetaData$1;
|
|
5456
5593
|
};
|
|
5594
|
+
/**
|
|
5595
|
+
* Metadata
|
|
5596
|
+
*/
|
|
5457
5597
|
type MetaData$1 = {
|
|
5458
5598
|
/**
|
|
5459
5599
|
* Date and time when the object was created compliant with the ISO 8601 standard.
|
|
@@ -5468,6 +5608,9 @@ type MetaData$1 = {
|
|
|
5468
5608
|
*/
|
|
5469
5609
|
version?: number;
|
|
5470
5610
|
};
|
|
5611
|
+
/**
|
|
5612
|
+
* Metadata
|
|
5613
|
+
*/
|
|
5471
5614
|
type UpdateMetaData = {
|
|
5472
5615
|
/**
|
|
5473
5616
|
* Object version.
|
|
@@ -5570,6 +5713,8 @@ type Overlay = {
|
|
|
5570
5713
|
position: number;
|
|
5571
5714
|
};
|
|
5572
5715
|
/**
|
|
5716
|
+
* Metadata
|
|
5717
|
+
*
|
|
5573
5718
|
* Metadata
|
|
5574
5719
|
*/
|
|
5575
5720
|
type Metadata$6 = {
|
|
@@ -5640,6 +5785,9 @@ type Metadata$5 = {
|
|
|
5640
5785
|
*/
|
|
5641
5786
|
version: number;
|
|
5642
5787
|
};
|
|
5788
|
+
/**
|
|
5789
|
+
* Country
|
|
5790
|
+
*/
|
|
5643
5791
|
type Country$1 = {
|
|
5644
5792
|
/**
|
|
5645
5793
|
* The country code which consists of two capital letters and is compliant with ISO-3166-1 specification.
|
|
@@ -5661,6 +5809,9 @@ type Country$1 = {
|
|
|
5661
5809
|
active?: boolean;
|
|
5662
5810
|
metadata?: Metadata$5;
|
|
5663
5811
|
};
|
|
5812
|
+
/**
|
|
5813
|
+
* Region
|
|
5814
|
+
*/
|
|
5664
5815
|
type Region$1 = {
|
|
5665
5816
|
/**
|
|
5666
5817
|
* The region code.
|
|
@@ -5674,6 +5825,9 @@ type Region$1 = {
|
|
|
5674
5825
|
};
|
|
5675
5826
|
metadata?: Metadata$5;
|
|
5676
5827
|
};
|
|
5828
|
+
/**
|
|
5829
|
+
* Country update
|
|
5830
|
+
*/
|
|
5677
5831
|
type CountryUpdate$1 = {
|
|
5678
5832
|
/**
|
|
5679
5833
|
* The field indicates whether the given country is active for the tenant or not. Only active countries are visible in the system.
|
|
@@ -5747,6 +5901,8 @@ type UpdateMetadata$1 = {
|
|
|
5747
5901
|
version: number;
|
|
5748
5902
|
};
|
|
5749
5903
|
/**
|
|
5904
|
+
* currencyCreation
|
|
5905
|
+
*
|
|
5750
5906
|
* Represents a single currency creation. The currency consists of a code compliant with the ISO-4217 standard (https://www.iso.org/iso-4217-currency-codes.html) and a currency name. The `name` field is localized.
|
|
5751
5907
|
*/
|
|
5752
5908
|
type CurrencyCreation = {
|
|
@@ -5765,6 +5921,8 @@ type CurrencyCreation = {
|
|
|
5765
5921
|
};
|
|
5766
5922
|
};
|
|
5767
5923
|
/**
|
|
5924
|
+
* currencyUpdate
|
|
5925
|
+
*
|
|
5768
5926
|
* Represents a single currency update.
|
|
5769
5927
|
*/
|
|
5770
5928
|
type CurrencyUpdate$1 = {
|
|
@@ -5779,6 +5937,8 @@ type CurrencyUpdate$1 = {
|
|
|
5779
5937
|
metadata: UpdateMetadata$1;
|
|
5780
5938
|
};
|
|
5781
5939
|
/**
|
|
5940
|
+
* currencyCreationResponse
|
|
5941
|
+
*
|
|
5782
5942
|
* Represents the response after a successful currency creation.
|
|
5783
5943
|
*/
|
|
5784
5944
|
type CurrencyCreationResponse = {
|
|
@@ -5789,6 +5949,8 @@ type CurrencyCreationResponse = {
|
|
|
5789
5949
|
code?: string;
|
|
5790
5950
|
};
|
|
5791
5951
|
/**
|
|
5952
|
+
* exchangeRateResponse
|
|
5953
|
+
*
|
|
5792
5954
|
* Represents the response after a successful exchange rate creation.
|
|
5793
5955
|
*/
|
|
5794
5956
|
type ExchangeRateResponse = {
|
|
@@ -5799,6 +5961,8 @@ type ExchangeRateResponse = {
|
|
|
5799
5961
|
code?: string;
|
|
5800
5962
|
};
|
|
5801
5963
|
/**
|
|
5964
|
+
* currencyRetrieval
|
|
5965
|
+
*
|
|
5802
5966
|
* Represents a single currency. The currency consists of a code compliant with ISO-4217 (https://www.iso.org/iso-4217-currency-codes.html) and a currency name. The name field is localized.
|
|
5803
5967
|
*/
|
|
5804
5968
|
type CurrencyRetrieval = {
|
|
@@ -5818,6 +5982,9 @@ type CurrencyRetrieval = {
|
|
|
5818
5982
|
};
|
|
5819
5983
|
metadata?: Metadata$4;
|
|
5820
5984
|
};
|
|
5985
|
+
/**
|
|
5986
|
+
* exchangeRateUpdateRequest
|
|
5987
|
+
*/
|
|
5821
5988
|
type ExchangeRateUpdateRequest = {
|
|
5822
5989
|
/**
|
|
5823
5990
|
* Represents the exchange rate.
|
|
@@ -5827,6 +5994,9 @@ type ExchangeRateUpdateRequest = {
|
|
|
5827
5994
|
rate: string;
|
|
5828
5995
|
metadata: UpdateMetadata$1;
|
|
5829
5996
|
};
|
|
5997
|
+
/**
|
|
5998
|
+
* exchangeRate
|
|
5999
|
+
*/
|
|
5830
6000
|
type ExchangeRateCreationRequest = {
|
|
5831
6001
|
/**
|
|
5832
6002
|
* The source currency code. The currency symbol must consist of three capital letters and must be a valid ISO-4217 code (https://www.iso.org/iso-4217-currency-codes.html) defined in the system.
|
|
@@ -5843,6 +6013,9 @@ type ExchangeRateCreationRequest = {
|
|
|
5843
6013
|
*/
|
|
5844
6014
|
rate: string;
|
|
5845
6015
|
};
|
|
6016
|
+
/**
|
|
6017
|
+
* exchangeRateRetrieval
|
|
6018
|
+
*/
|
|
5846
6019
|
type ExchangeRateRetrieval = {
|
|
5847
6020
|
/**
|
|
5848
6021
|
* Identifier of the exchange rate. The identifier consists of the source currency and the target currency separated by an underscore.
|
|
@@ -5922,6 +6095,9 @@ declare class CurrencyService {
|
|
|
5922
6095
|
deleteExchangeRate(code: string, auth?: AuthContext): Promise<void>;
|
|
5923
6096
|
}
|
|
5924
6097
|
|
|
6098
|
+
/**
|
|
6099
|
+
* Collection of actual delivery windows
|
|
6100
|
+
*/
|
|
5925
6101
|
type ActualDeliveryWindows = Array<ActualDeliveryWindow>;
|
|
5926
6102
|
type Patch = Array<{
|
|
5927
6103
|
/**
|
|
@@ -5940,6 +6116,8 @@ type Patch = Array<{
|
|
|
5940
6116
|
};
|
|
5941
6117
|
}>;
|
|
5942
6118
|
/**
|
|
6119
|
+
* Actual delivery window
|
|
6120
|
+
*
|
|
5943
6121
|
* Delivery window is a range of times when the shipment can be delivered to the customers.
|
|
5944
6122
|
*/
|
|
5945
6123
|
type ActualDeliveryWindow = {
|
|
@@ -5974,6 +6152,9 @@ type ActualDeliveryWindow = {
|
|
|
5974
6152
|
slotId?: string;
|
|
5975
6153
|
metadata?: MetaData;
|
|
5976
6154
|
};
|
|
6155
|
+
/**
|
|
6156
|
+
* Delivery Time
|
|
6157
|
+
*/
|
|
5977
6158
|
type BasicDeliveryTime = {
|
|
5978
6159
|
/**
|
|
5979
6160
|
* Delivery Time ID: Autogenerated (if not provided in request) or User-Defined
|
|
@@ -6013,9 +6194,15 @@ type BasicDeliveryTime = {
|
|
|
6013
6194
|
*/
|
|
6014
6195
|
deliveryDayShift?: number;
|
|
6015
6196
|
};
|
|
6197
|
+
/**
|
|
6198
|
+
* Delivery Time
|
|
6199
|
+
*/
|
|
6016
6200
|
type DeliveryTime$2 = BasicDeliveryTime & {
|
|
6017
6201
|
metadata?: MetaData;
|
|
6018
6202
|
};
|
|
6203
|
+
/**
|
|
6204
|
+
* Delivery Time
|
|
6205
|
+
*/
|
|
6019
6206
|
type UpdateDeliveryTime = BasicDeliveryTime & {
|
|
6020
6207
|
/**
|
|
6021
6208
|
* metadata of the document
|
|
@@ -6027,6 +6214,9 @@ type UpdateDeliveryTime = BasicDeliveryTime & {
|
|
|
6027
6214
|
version: number;
|
|
6028
6215
|
};
|
|
6029
6216
|
};
|
|
6217
|
+
/**
|
|
6218
|
+
* Slot
|
|
6219
|
+
*/
|
|
6030
6220
|
type SlotCreation = {
|
|
6031
6221
|
/**
|
|
6032
6222
|
* Delivery Time Slot ID: Autogenerated (if not provided in request) or User-Defined
|
|
@@ -6044,6 +6234,8 @@ type SlotCreation = {
|
|
|
6044
6234
|
capacity: number;
|
|
6045
6235
|
};
|
|
6046
6236
|
/**
|
|
6237
|
+
* Delivery Cycle
|
|
6238
|
+
*
|
|
6047
6239
|
* Object which encapsulates all the fields needed to generate delivery cycle.
|
|
6048
6240
|
*/
|
|
6049
6241
|
type DeliveryCycle = {
|
|
@@ -6061,6 +6253,8 @@ type DeliveryCycle = {
|
|
|
6061
6253
|
deliveryDate: string;
|
|
6062
6254
|
};
|
|
6063
6255
|
/**
|
|
6256
|
+
* Delivery Day
|
|
6257
|
+
*
|
|
6064
6258
|
* This attribute holds the time configuration for which the Delivery Time is valid. Only a single attribute can be set at any given moment.
|
|
6065
6259
|
*/
|
|
6066
6260
|
type DeliveryDay = {
|
|
@@ -6087,6 +6281,8 @@ type DeliveryDay = {
|
|
|
6087
6281
|
};
|
|
6088
6282
|
};
|
|
6089
6283
|
/**
|
|
6284
|
+
* Cut-Off Time
|
|
6285
|
+
*
|
|
6090
6286
|
* This denotes the latest point in time by which an action (such as an order or request) must be completed for a specific Delivery Time. This attribute is key in determining the end of a time window for certain operations and helps maintain efficiency in the delivery process.
|
|
6091
6287
|
*/
|
|
6092
6288
|
type CutOffTIme = {
|
|
@@ -6104,6 +6300,8 @@ type CutOffTIme = {
|
|
|
6104
6300
|
deliveryCycleName?: string;
|
|
6105
6301
|
};
|
|
6106
6302
|
/**
|
|
6303
|
+
* Time range
|
|
6304
|
+
*
|
|
6107
6305
|
* A `from` to `to` time range for which the object is valid
|
|
6108
6306
|
*/
|
|
6109
6307
|
type TimeRange = {
|
|
@@ -6117,6 +6315,8 @@ type TimeRange = {
|
|
|
6117
6315
|
endTime: string;
|
|
6118
6316
|
};
|
|
6119
6317
|
/**
|
|
6318
|
+
* Time range
|
|
6319
|
+
*
|
|
6120
6320
|
* A `from` to `to` time range for which the object is valid
|
|
6121
6321
|
*/
|
|
6122
6322
|
type DeliveryTimeRange = {
|
|
@@ -6140,8 +6340,13 @@ type MetaData = {
|
|
|
6140
6340
|
modifiedAt?: string;
|
|
6141
6341
|
version?: number;
|
|
6142
6342
|
};
|
|
6343
|
+
/**
|
|
6344
|
+
* Collection of sites.
|
|
6345
|
+
*/
|
|
6143
6346
|
type Sites = Array<Site>;
|
|
6144
6347
|
/**
|
|
6348
|
+
* Site
|
|
6349
|
+
*
|
|
6145
6350
|
* A site is a specific virtual or real shop.
|
|
6146
6351
|
*/
|
|
6147
6352
|
type Site = {
|
|
@@ -6156,8 +6361,13 @@ type Site = {
|
|
|
6156
6361
|
zones?: Array<ZoneWithActualDeliveryWindows>;
|
|
6157
6362
|
metadata?: MetaData;
|
|
6158
6363
|
};
|
|
6364
|
+
/**
|
|
6365
|
+
* Collection of zones
|
|
6366
|
+
*/
|
|
6159
6367
|
type Zones = Array<Zone$1>;
|
|
6160
6368
|
/**
|
|
6369
|
+
* Zone
|
|
6370
|
+
*
|
|
6161
6371
|
* The zone is an area where shipments can be delivered.
|
|
6162
6372
|
*/
|
|
6163
6373
|
type Zone$1 = {
|
|
@@ -6177,6 +6387,8 @@ type ZoneWithActualDeliveryWindows = Zone$1 & {
|
|
|
6177
6387
|
actualDeliveryWindows?: ActualDeliveryWindows;
|
|
6178
6388
|
};
|
|
6179
6389
|
/**
|
|
6390
|
+
* Resource created
|
|
6391
|
+
*
|
|
6180
6392
|
* Link to created resource with unique resource identifier.
|
|
6181
6393
|
*/
|
|
6182
6394
|
type ResourceCreatedResponse = {
|
|
@@ -6185,8 +6397,13 @@ type ResourceCreatedResponse = {
|
|
|
6185
6397
|
*/
|
|
6186
6398
|
id?: string;
|
|
6187
6399
|
};
|
|
6400
|
+
/**
|
|
6401
|
+
* Collection of shipping methods
|
|
6402
|
+
*/
|
|
6188
6403
|
type Methods = Array<Method>;
|
|
6189
6404
|
/**
|
|
6405
|
+
* Shipping method
|
|
6406
|
+
*
|
|
6190
6407
|
* Shipping methods define the types of deliveries and properties such as delivery fees.
|
|
6191
6408
|
*/
|
|
6192
6409
|
type Method = {
|
|
@@ -6207,8 +6424,13 @@ type Method = {
|
|
|
6207
6424
|
*/
|
|
6208
6425
|
shippingGroupId?: string;
|
|
6209
6426
|
};
|
|
6427
|
+
/**
|
|
6428
|
+
* Collection of fees
|
|
6429
|
+
*/
|
|
6210
6430
|
type Fees = Array<Fee>;
|
|
6211
6431
|
/**
|
|
6432
|
+
* Fee
|
|
6433
|
+
*
|
|
6212
6434
|
* Fee is a shipping cost for a given shipping method and parameters.
|
|
6213
6435
|
*/
|
|
6214
6436
|
type Fee = {
|
|
@@ -6220,6 +6442,8 @@ type Fee = {
|
|
|
6220
6442
|
shippingGroupId?: string;
|
|
6221
6443
|
};
|
|
6222
6444
|
/**
|
|
6445
|
+
* Monetary amount
|
|
6446
|
+
*
|
|
6223
6447
|
* Amount of money in a given currency.
|
|
6224
6448
|
*/
|
|
6225
6449
|
type MonetaryAmount = {
|
|
@@ -6233,6 +6457,8 @@ type MonetaryAmount = {
|
|
|
6233
6457
|
amount: number;
|
|
6234
6458
|
};
|
|
6235
6459
|
/**
|
|
6460
|
+
* Find site request payload
|
|
6461
|
+
*
|
|
6236
6462
|
* Payload with parameters for price finding.
|
|
6237
6463
|
*/
|
|
6238
6464
|
type FindSiteRequest = {
|
|
@@ -6246,10 +6472,14 @@ type FindSiteRequest = {
|
|
|
6246
6472
|
country?: string;
|
|
6247
6473
|
};
|
|
6248
6474
|
/**
|
|
6475
|
+
* ShipTo
|
|
6476
|
+
*
|
|
6249
6477
|
* Collection of shipping destinations
|
|
6250
6478
|
*/
|
|
6251
6479
|
type ShipTo = Array<ShipToItem>;
|
|
6252
6480
|
/**
|
|
6481
|
+
* shipToItem
|
|
6482
|
+
*
|
|
6253
6483
|
* Shipping destination containing country and postal code.
|
|
6254
6484
|
*/
|
|
6255
6485
|
type ShipToItem = {
|
|
@@ -6263,6 +6493,8 @@ type ShipToItem = {
|
|
|
6263
6493
|
postalCode?: string;
|
|
6264
6494
|
};
|
|
6265
6495
|
/**
|
|
6496
|
+
* Quote request payload
|
|
6497
|
+
*
|
|
6266
6498
|
* Example of payload for shipping cost calculation.
|
|
6267
6499
|
*/
|
|
6268
6500
|
type QuotePayload = {
|
|
@@ -6287,6 +6519,8 @@ type QuotePayload = {
|
|
|
6287
6519
|
shipToAddress: Address$2;
|
|
6288
6520
|
};
|
|
6289
6521
|
/**
|
|
6522
|
+
* Quote slot request schema
|
|
6523
|
+
*
|
|
6290
6524
|
* Example of payload for shipping cost calculation.
|
|
6291
6525
|
*/
|
|
6292
6526
|
type QuoteSlot = {
|
|
@@ -6319,6 +6553,8 @@ type QuoteSlot = {
|
|
|
6319
6553
|
deliveryWindowId: string;
|
|
6320
6554
|
};
|
|
6321
6555
|
/**
|
|
6556
|
+
* Address
|
|
6557
|
+
*
|
|
6322
6558
|
* Address of billing or delivery that contains customer or company name and location including street, street number, zipcode, and country.
|
|
6323
6559
|
*/
|
|
6324
6560
|
type Address$2 = {
|
|
@@ -6337,10 +6573,14 @@ type Address$2 = {
|
|
|
6337
6573
|
country: string;
|
|
6338
6574
|
};
|
|
6339
6575
|
/**
|
|
6576
|
+
* Quote response
|
|
6577
|
+
*
|
|
6340
6578
|
* Example quote response which contains a list of fees for various methods and delivery zone.
|
|
6341
6579
|
*/
|
|
6342
6580
|
type QuoteResponse$1 = Array<QuoteResponseItem>;
|
|
6343
6581
|
/**
|
|
6582
|
+
* Quote response item
|
|
6583
|
+
*
|
|
6344
6584
|
* Example quote response which contains fee for specific method and zone.
|
|
6345
6585
|
*/
|
|
6346
6586
|
type QuoteResponseItem = {
|
|
@@ -6354,6 +6594,8 @@ type QuoteResponseItem = {
|
|
|
6354
6594
|
methods?: Array<QuoteResponseMethods>;
|
|
6355
6595
|
};
|
|
6356
6596
|
/**
|
|
6597
|
+
* Quote response shipping methods
|
|
6598
|
+
*
|
|
6357
6599
|
* Example quote response which contains fee for specific method.
|
|
6358
6600
|
*/
|
|
6359
6601
|
type QuoteResponseMethods = {
|
|
@@ -6366,12 +6608,16 @@ type LocalizedValue = string | {
|
|
|
6366
6608
|
[key: string]: string;
|
|
6367
6609
|
};
|
|
6368
6610
|
/**
|
|
6611
|
+
* Minimum fee
|
|
6612
|
+
*
|
|
6369
6613
|
* Minimum available delivery fee for given parameters.
|
|
6370
6614
|
*/
|
|
6371
6615
|
type MinimumFee$1 = {
|
|
6372
6616
|
fee?: MonetaryAmount;
|
|
6373
6617
|
};
|
|
6374
6618
|
/**
|
|
6619
|
+
* Group
|
|
6620
|
+
*
|
|
6375
6621
|
* Shipping groups can be used for customer grouping with use customer group relations.
|
|
6376
6622
|
*/
|
|
6377
6623
|
type Group = {
|
|
@@ -6382,10 +6628,14 @@ type Group = {
|
|
|
6382
6628
|
description?: LocalizedValue;
|
|
6383
6629
|
};
|
|
6384
6630
|
/**
|
|
6631
|
+
* Collection of groups
|
|
6632
|
+
*
|
|
6385
6633
|
* Collection of shipping groups.
|
|
6386
6634
|
*/
|
|
6387
6635
|
type GroupList = Array<Group>;
|
|
6388
6636
|
/**
|
|
6637
|
+
* Customer-group relation
|
|
6638
|
+
*
|
|
6389
6639
|
* Customer-group relation allows to assign user for specific group.
|
|
6390
6640
|
*/
|
|
6391
6641
|
type CgRelation$1 = {
|
|
@@ -6398,7 +6648,13 @@ type CgRelation$1 = {
|
|
|
6398
6648
|
*/
|
|
6399
6649
|
groupId?: string;
|
|
6400
6650
|
};
|
|
6651
|
+
/**
|
|
6652
|
+
* Collection of customer-group relation
|
|
6653
|
+
*/
|
|
6401
6654
|
type CgRelationList$1 = Array<CgRelation$1>;
|
|
6655
|
+
/**
|
|
6656
|
+
* DeliveryWindowValidationDto
|
|
6657
|
+
*/
|
|
6402
6658
|
type DeliveryWindowValidationDto = {
|
|
6403
6659
|
/**
|
|
6404
6660
|
* The selected delivery window
|
|
@@ -7582,6 +7838,8 @@ type QuoteHistory$1 = Array<{
|
|
|
7582
7838
|
modifiedAt?: string;
|
|
7583
7839
|
}>;
|
|
7584
7840
|
/**
|
|
7841
|
+
* QuoteCreateFromCartRequest
|
|
7842
|
+
*
|
|
7585
7843
|
* This schema includes the attributes that are required to be provided when creating a quote from the cart.
|
|
7586
7844
|
*/
|
|
7587
7845
|
type QuoteCreateFromCartRequest = {
|
|
@@ -7738,6 +7996,8 @@ type CalculatedFinalPrice = {
|
|
|
7738
7996
|
finalPrice?: CalculatedPrice$1;
|
|
7739
7997
|
};
|
|
7740
7998
|
/**
|
|
7999
|
+
* metadataCore
|
|
8000
|
+
*
|
|
7741
8001
|
* Core metadata fields shared across multiple objects.
|
|
7742
8002
|
*/
|
|
7743
8003
|
type MetadataCore = {
|
|
@@ -7749,6 +8009,8 @@ type MetadataCore = {
|
|
|
7749
8009
|
};
|
|
7750
8010
|
};
|
|
7751
8011
|
/**
|
|
8012
|
+
* metadataUpdate
|
|
8013
|
+
*
|
|
7752
8014
|
* Metadata fields required when updating an existing object.
|
|
7753
8015
|
*/
|
|
7754
8016
|
type MetadataUpdate$1 = MetadataCore & {
|
|
@@ -7758,6 +8020,8 @@ type MetadataUpdate$1 = MetadataCore & {
|
|
|
7758
8020
|
version: number;
|
|
7759
8021
|
};
|
|
7760
8022
|
/**
|
|
8023
|
+
* metadataResponse
|
|
8024
|
+
*
|
|
7761
8025
|
* Metadata fields returned by the API.
|
|
7762
8026
|
* Extends `metadataUpdate` with timestamps indicating when the object
|
|
7763
8027
|
* was created and last modified.
|
|
@@ -7774,6 +8038,8 @@ type MetadataResponse = MetadataUpdate$1 & {
|
|
|
7774
8038
|
modifiedAt?: string;
|
|
7775
8039
|
};
|
|
7776
8040
|
/**
|
|
8041
|
+
* basicReturn
|
|
8042
|
+
*
|
|
7777
8043
|
* Base schema for a return.
|
|
7778
8044
|
*/
|
|
7779
8045
|
type BasicReturn = {
|
|
@@ -7804,6 +8070,8 @@ type BasicReturn = {
|
|
|
7804
8070
|
};
|
|
7805
8071
|
type BasicCustomerReturn = BasicReturn;
|
|
7806
8072
|
/**
|
|
8073
|
+
* A return request created on behalf of a customer.
|
|
8074
|
+
*
|
|
7807
8075
|
* Base schema for returns created by an employee FOR A REGISTERED CUSTOMER.
|
|
7808
8076
|
*/
|
|
7809
8077
|
type BasicEmployeeReturn = BasicEmployeeReturnBase & {
|
|
@@ -7818,6 +8086,8 @@ type BasicEmployeeReturn = BasicEmployeeReturnBase & {
|
|
|
7818
8086
|
};
|
|
7819
8087
|
};
|
|
7820
8088
|
/**
|
|
8089
|
+
* A return request created on behalf of a customer FOR AN ANONYMOUS ORDER.
|
|
8090
|
+
*
|
|
7821
8091
|
* Base schema for returns created by an employee for an ANONYMOUS ORDER.
|
|
7822
8092
|
*/
|
|
7823
8093
|
type EmployeeReturnForAnonymousOrder = BasicEmployeeReturnBase & {
|
|
@@ -7840,6 +8110,8 @@ type EmployeeReturnForAnonymousOrder = BasicEmployeeReturnBase & {
|
|
|
7840
8110
|
};
|
|
7841
8111
|
};
|
|
7842
8112
|
/**
|
|
8113
|
+
* Base schema for returns created by an employee.
|
|
8114
|
+
*
|
|
7843
8115
|
* Common structure for returns created by an employee on behalf of a customer.
|
|
7844
8116
|
*/
|
|
7845
8117
|
type BasicEmployeeReturnBase = BasicReturn & {
|
|
@@ -7907,6 +8179,8 @@ type BasicEmployeeReturnBase = BasicReturn & {
|
|
|
7907
8179
|
expiryDate?: string;
|
|
7908
8180
|
};
|
|
7909
8181
|
/**
|
|
8182
|
+
* A return updated by a customer
|
|
8183
|
+
*
|
|
7910
8184
|
* Base schema for a return requested by a customer.
|
|
7911
8185
|
*/
|
|
7912
8186
|
type UpdateCustomerReturn = {
|
|
@@ -7918,6 +8192,8 @@ type UpdateCustomerReturn = {
|
|
|
7918
8192
|
metadata: MetadataUpdate$1;
|
|
7919
8193
|
};
|
|
7920
8194
|
/**
|
|
8195
|
+
* A return updated on behalf of a customer.
|
|
8196
|
+
*
|
|
7921
8197
|
* Base schema for a return requested by an employee.
|
|
7922
8198
|
*/
|
|
7923
8199
|
type UpdateEmployeeReturn = UpdateCustomerReturn & {
|
|
@@ -7976,6 +8252,8 @@ type UpdateEmployeeReturn = UpdateCustomerReturn & {
|
|
|
7976
8252
|
expiryDate?: string;
|
|
7977
8253
|
};
|
|
7978
8254
|
/**
|
|
8255
|
+
* A customer return object.
|
|
8256
|
+
*
|
|
7979
8257
|
* Schema for retrieving returns by a customer.
|
|
7980
8258
|
*/
|
|
7981
8259
|
type FullCustomerReturn = BasicCustomerReturn & AssistedBuying & {
|
|
@@ -8001,6 +8279,8 @@ type FullCustomerReturn = BasicCustomerReturn & AssistedBuying & {
|
|
|
8001
8279
|
calculatedPrice?: CalculatedFinalPrice;
|
|
8002
8280
|
};
|
|
8003
8281
|
/**
|
|
8282
|
+
* A return object for an employee
|
|
8283
|
+
*
|
|
8004
8284
|
* Schema for retrieving returns by an employee.
|
|
8005
8285
|
*/
|
|
8006
8286
|
type FullEmployeeReturn = FullCustomerReturn & {
|
|
@@ -8143,12 +8423,18 @@ type OrderItem = {
|
|
|
8143
8423
|
details?: string;
|
|
8144
8424
|
};
|
|
8145
8425
|
};
|
|
8426
|
+
/**
|
|
8427
|
+
* returnId
|
|
8428
|
+
*/
|
|
8146
8429
|
type ReturnId = {
|
|
8147
8430
|
/**
|
|
8148
8431
|
* Unique identifier of the created return.
|
|
8149
8432
|
*/
|
|
8150
8433
|
id?: string;
|
|
8151
8434
|
};
|
|
8435
|
+
/**
|
|
8436
|
+
* patchRequest
|
|
8437
|
+
*/
|
|
8152
8438
|
type PatchOperation = {
|
|
8153
8439
|
/**
|
|
8154
8440
|
* Indicates an operation which should be done on a return. Available operations: `add` `remove` and `replace`
|
|
@@ -8165,6 +8451,9 @@ type PatchOperation = {
|
|
|
8165
8451
|
[key: string]: unknown;
|
|
8166
8452
|
} | string;
|
|
8167
8453
|
};
|
|
8454
|
+
/**
|
|
8455
|
+
* AssistedBuyingEntry
|
|
8456
|
+
*/
|
|
8168
8457
|
type AssistedBuyingEntry = {
|
|
8169
8458
|
/**
|
|
8170
8459
|
* Identifier of an employee who performed an action on behalf of a customer.
|
|
@@ -8180,6 +8469,8 @@ type AssistedBuyingEntry = {
|
|
|
8180
8469
|
timestamp?: string;
|
|
8181
8470
|
};
|
|
8182
8471
|
/**
|
|
8472
|
+
* assistedBuying
|
|
8473
|
+
*
|
|
8183
8474
|
* The field is populated only if an assisted buying operation was performed. The field is read-only. There is no possibility to update it by PUT/PATCH operation.
|
|
8184
8475
|
*/
|
|
8185
8476
|
type AssistedBuying = {
|
|
@@ -8330,6 +8621,9 @@ type ReindexRequest = {
|
|
|
8330
8621
|
*/
|
|
8331
8622
|
rag?: boolean;
|
|
8332
8623
|
};
|
|
8624
|
+
/**
|
|
8625
|
+
* IndexPublicConfiguration
|
|
8626
|
+
*/
|
|
8333
8627
|
type IndexPublicConfiguration = {
|
|
8334
8628
|
/**
|
|
8335
8629
|
* API Key used for search purposes.
|
|
@@ -8352,6 +8646,9 @@ type IndexPublicConfiguration = {
|
|
|
8352
8646
|
*/
|
|
8353
8647
|
active?: boolean;
|
|
8354
8648
|
};
|
|
8649
|
+
/**
|
|
8650
|
+
* IndexConfiguration
|
|
8651
|
+
*/
|
|
8355
8652
|
type IndexConfiguration = IndexPublicConfiguration & {
|
|
8356
8653
|
/**
|
|
8357
8654
|
* API key used for write purposes.
|
|
@@ -8369,12 +8666,18 @@ type IndexConfiguration = IndexPublicConfiguration & {
|
|
|
8369
8666
|
*/
|
|
8370
8667
|
includedMixinPaths?: Array<string>;
|
|
8371
8668
|
};
|
|
8669
|
+
/**
|
|
8670
|
+
* IndexCreationResponse
|
|
8671
|
+
*/
|
|
8372
8672
|
type IndexCreationResponse = {
|
|
8373
8673
|
/**
|
|
8374
8674
|
* Identifier of a newly created configuration.
|
|
8375
8675
|
*/
|
|
8376
8676
|
id?: string;
|
|
8377
8677
|
};
|
|
8678
|
+
/**
|
|
8679
|
+
* Reindex
|
|
8680
|
+
*/
|
|
8378
8681
|
type Reindex = {
|
|
8379
8682
|
/**
|
|
8380
8683
|
* Indicates reindex mode. Supported modes: `FULL`.
|
|
@@ -8460,6 +8763,8 @@ declare class IndexingService {
|
|
|
8460
8763
|
}
|
|
8461
8764
|
|
|
8462
8765
|
/**
|
|
8766
|
+
* Import configuration
|
|
8767
|
+
*
|
|
8463
8768
|
* An import configuration grouping one or more streams.
|
|
8464
8769
|
*/
|
|
8465
8770
|
type ImportConfig$1 = {
|
|
@@ -8501,6 +8806,8 @@ type ImportConfig$1 = {
|
|
|
8501
8806
|
updatedAt?: string;
|
|
8502
8807
|
};
|
|
8503
8808
|
/**
|
|
8809
|
+
* Stream
|
|
8810
|
+
*
|
|
8504
8811
|
* A stream that extracts from a source, maps fields, and upserts into an Emporix target type.
|
|
8505
8812
|
*/
|
|
8506
8813
|
type ImportStream$1 = {
|
|
@@ -8538,6 +8845,8 @@ type ImportStream$1 = {
|
|
|
8538
8845
|
enabled?: boolean;
|
|
8539
8846
|
};
|
|
8540
8847
|
/**
|
|
8848
|
+
* Schedule
|
|
8849
|
+
*
|
|
8541
8850
|
* A cron schedule for a configuration.
|
|
8542
8851
|
*/
|
|
8543
8852
|
type Schedule = {
|
|
@@ -8567,6 +8876,8 @@ type Schedule = {
|
|
|
8567
8876
|
nextFireAt?: string;
|
|
8568
8877
|
};
|
|
8569
8878
|
/**
|
|
8879
|
+
* Run
|
|
8880
|
+
*
|
|
8570
8881
|
* An import run and its reconciled counters.
|
|
8571
8882
|
*/
|
|
8572
8883
|
type ImportRun$1 = {
|
|
@@ -8632,6 +8943,8 @@ type ImportRun$1 = {
|
|
|
8632
8943
|
message?: string;
|
|
8633
8944
|
};
|
|
8634
8945
|
/**
|
|
8946
|
+
* Run stream progress
|
|
8947
|
+
*
|
|
8635
8948
|
* The per-stream progress within a run.
|
|
8636
8949
|
*/
|
|
8637
8950
|
type ImportRunStream$1 = {
|
|
@@ -8685,6 +8998,8 @@ type ImportRunStream$1 = {
|
|
|
8685
8998
|
message?: string;
|
|
8686
8999
|
};
|
|
8687
9000
|
/**
|
|
9001
|
+
* Run detail
|
|
9002
|
+
*
|
|
8688
9003
|
* A run together with its per-stream progress.
|
|
8689
9004
|
*/
|
|
8690
9005
|
type RunDetail = {
|
|
@@ -8695,6 +9010,8 @@ type RunDetail = {
|
|
|
8695
9010
|
streams?: Array<ImportRunStream$1>;
|
|
8696
9011
|
};
|
|
8697
9012
|
/**
|
|
9013
|
+
* Cancellation result
|
|
9014
|
+
*
|
|
8698
9015
|
* The outcome of a cancellation request.
|
|
8699
9016
|
*/
|
|
8700
9017
|
type CancelResult = {
|
|
@@ -8712,6 +9029,8 @@ type CancelResult = {
|
|
|
8712
9029
|
accepted?: boolean;
|
|
8713
9030
|
};
|
|
8714
9031
|
/**
|
|
9032
|
+
* Error record
|
|
9033
|
+
*
|
|
8715
9034
|
* A single error recorded during a run.
|
|
8716
9035
|
*/
|
|
8717
9036
|
type ErrorRecord = {
|
|
@@ -8753,6 +9072,8 @@ type ErrorRecord = {
|
|
|
8753
9072
|
createdAt?: string;
|
|
8754
9073
|
};
|
|
8755
9074
|
/**
|
|
9075
|
+
* Imported record
|
|
9076
|
+
*
|
|
8756
9077
|
* A record that was imported. Holds keys and outcome; for composite parents it also holds the embedded child arrays.
|
|
8757
9078
|
*/
|
|
8758
9079
|
type ImportedRecord$1 = {
|
|
@@ -9260,8 +9581,8 @@ type Catalog$1 = {
|
|
|
9260
9581
|
* Catalog's unique identifier, generated when the catalog is created.
|
|
9261
9582
|
*/
|
|
9262
9583
|
id: string;
|
|
9263
|
-
name?:
|
|
9264
|
-
description?:
|
|
9584
|
+
name?: Object$1 & unknown;
|
|
9585
|
+
description?: Object$1 & unknown;
|
|
9265
9586
|
status?: Status & unknown;
|
|
9266
9587
|
visibility?: VisibilityInformation;
|
|
9267
9588
|
/**
|
|
@@ -9282,8 +9603,8 @@ type CreateCatalog = {
|
|
|
9282
9603
|
* Custom catalog identifier. If not provided, it is automatically generated.
|
|
9283
9604
|
*/
|
|
9284
9605
|
id?: string;
|
|
9285
|
-
name:
|
|
9286
|
-
description?:
|
|
9606
|
+
name: Object$1;
|
|
9607
|
+
description?: Object$1;
|
|
9287
9608
|
visibility?: VisibilityInformation;
|
|
9288
9609
|
/**
|
|
9289
9610
|
* List of site identifiers on which the catalog is published.
|
|
@@ -9323,7 +9644,7 @@ type Metadata$2 = {
|
|
|
9323
9644
|
/**
|
|
9324
9645
|
* Localized field that must be provided as a map of language codes to translations.
|
|
9325
9646
|
*/
|
|
9326
|
-
type
|
|
9647
|
+
type Object$1 = string | {
|
|
9327
9648
|
[key: string]: string;
|
|
9328
9649
|
};
|
|
9329
9650
|
/**
|
|
@@ -9334,8 +9655,8 @@ type Status = 'not_visible' | 'visible';
|
|
|
9334
9655
|
* Payload for updating a catalog.
|
|
9335
9656
|
*/
|
|
9336
9657
|
type UpdateCatalog = {
|
|
9337
|
-
name:
|
|
9338
|
-
description?:
|
|
9658
|
+
name: Object$1;
|
|
9659
|
+
description?: Object$1;
|
|
9339
9660
|
visibility?: VisibilityInformation;
|
|
9340
9661
|
/**
|
|
9341
9662
|
* List of site identifiers on which the catalog is published.
|
|
@@ -9351,8 +9672,8 @@ type UpdateCatalog = {
|
|
|
9351
9672
|
* Payload for partially updating a catalog.
|
|
9352
9673
|
*/
|
|
9353
9674
|
type UpdateCatalogProperties = {
|
|
9354
|
-
name?:
|
|
9355
|
-
description?:
|
|
9675
|
+
name?: Object$1;
|
|
9676
|
+
description?: Object$1;
|
|
9356
9677
|
visibility?: VisibilityInformation;
|
|
9357
9678
|
/**
|
|
9358
9679
|
* List of site identifiers on which the catalog is published.
|
|
@@ -9447,12 +9768,18 @@ type Metadata$1 = MetadataUpdate & {
|
|
|
9447
9768
|
*/
|
|
9448
9769
|
modifiedAt?: string;
|
|
9449
9770
|
};
|
|
9771
|
+
/**
|
|
9772
|
+
* Resource
|
|
9773
|
+
*/
|
|
9450
9774
|
type ResourceId = {
|
|
9451
9775
|
/**
|
|
9452
9776
|
* Id of a resource.
|
|
9453
9777
|
*/
|
|
9454
9778
|
id?: string;
|
|
9455
9779
|
};
|
|
9780
|
+
/**
|
|
9781
|
+
* Vendor
|
|
9782
|
+
*/
|
|
9456
9783
|
type Vendor$1 = {
|
|
9457
9784
|
/**
|
|
9458
9785
|
* The vendor unique identifier.
|
|
@@ -9487,6 +9814,9 @@ type Vendor$1 = {
|
|
|
9487
9814
|
[key: string]: unknown;
|
|
9488
9815
|
};
|
|
9489
9816
|
};
|
|
9817
|
+
/**
|
|
9818
|
+
* Vendor Legal Information
|
|
9819
|
+
*/
|
|
9490
9820
|
type LegalInfo = {
|
|
9491
9821
|
/**
|
|
9492
9822
|
* The legal name of the vendor.
|
|
@@ -9505,6 +9835,9 @@ type LegalInfo = {
|
|
|
9505
9835
|
*/
|
|
9506
9836
|
taxRegistrationNumber?: string;
|
|
9507
9837
|
};
|
|
9838
|
+
/**
|
|
9839
|
+
* Contact Details
|
|
9840
|
+
*/
|
|
9508
9841
|
type VendorContactDetails = {
|
|
9509
9842
|
/**
|
|
9510
9843
|
* The list of contact emails.
|
|
@@ -9535,6 +9868,9 @@ type VendorContactDetails = {
|
|
|
9535
9868
|
*/
|
|
9536
9869
|
countryCode?: string;
|
|
9537
9870
|
};
|
|
9871
|
+
/**
|
|
9872
|
+
* Vendor create payload
|
|
9873
|
+
*/
|
|
9538
9874
|
type VendorCreate = {
|
|
9539
9875
|
/**
|
|
9540
9876
|
* Custom vendor identifier. If not provided, it is automatically generated.
|
|
@@ -9568,6 +9904,9 @@ type VendorCreate = {
|
|
|
9568
9904
|
[key: string]: unknown;
|
|
9569
9905
|
};
|
|
9570
9906
|
};
|
|
9907
|
+
/**
|
|
9908
|
+
* Vendor update payload
|
|
9909
|
+
*/
|
|
9571
9910
|
type VendorUpdate$1 = {
|
|
9572
9911
|
/**
|
|
9573
9912
|
* The name of the vendor.
|
|
@@ -9598,6 +9937,9 @@ type VendorUpdate$1 = {
|
|
|
9598
9937
|
[key: string]: unknown;
|
|
9599
9938
|
};
|
|
9600
9939
|
};
|
|
9940
|
+
/**
|
|
9941
|
+
* Location
|
|
9942
|
+
*/
|
|
9601
9943
|
type Location$1 = {
|
|
9602
9944
|
/**
|
|
9603
9945
|
* The location unique identifier.
|
|
@@ -9620,6 +9962,9 @@ type Location$1 = {
|
|
|
9620
9962
|
[key: string]: unknown;
|
|
9621
9963
|
};
|
|
9622
9964
|
};
|
|
9965
|
+
/**
|
|
9966
|
+
* Location create payload
|
|
9967
|
+
*/
|
|
9623
9968
|
type LocationCreate = {
|
|
9624
9969
|
/**
|
|
9625
9970
|
* Custom location identifier. If not provided, it is automatically generated.
|
|
@@ -9641,6 +9986,9 @@ type LocationCreate = {
|
|
|
9641
9986
|
[key: string]: unknown;
|
|
9642
9987
|
};
|
|
9643
9988
|
};
|
|
9989
|
+
/**
|
|
9990
|
+
* Location update payload
|
|
9991
|
+
*/
|
|
9644
9992
|
type LocationUpdate = {
|
|
9645
9993
|
/**
|
|
9646
9994
|
* The name of the location.
|
|
@@ -9659,6 +10007,9 @@ type LocationUpdate = {
|
|
|
9659
10007
|
[key: string]: unknown;
|
|
9660
10008
|
};
|
|
9661
10009
|
};
|
|
10010
|
+
/**
|
|
10011
|
+
* Contact Details
|
|
10012
|
+
*/
|
|
9662
10013
|
type ContactDetails = {
|
|
9663
10014
|
/**
|
|
9664
10015
|
* The list of contact emails.
|
|
@@ -9879,6 +10230,9 @@ type PackagingProductsChange = {
|
|
|
9879
10230
|
*/
|
|
9880
10231
|
packedCount: number;
|
|
9881
10232
|
};
|
|
10233
|
+
/**
|
|
10234
|
+
* Assignee
|
|
10235
|
+
*/
|
|
9882
10236
|
type Assignee$1 = {
|
|
9883
10237
|
/**
|
|
9884
10238
|
* Identifier of an assignment
|
|
@@ -9897,6 +10251,9 @@ type Assignee$1 = {
|
|
|
9897
10251
|
*/
|
|
9898
10252
|
lastName: string;
|
|
9899
10253
|
};
|
|
10254
|
+
/**
|
|
10255
|
+
* Order
|
|
10256
|
+
*/
|
|
9900
10257
|
type Order = {
|
|
9901
10258
|
/**
|
|
9902
10259
|
* The id of the packed order
|
|
@@ -9950,6 +10307,9 @@ type Order = {
|
|
|
9950
10307
|
*/
|
|
9951
10308
|
holdingAreaNumber?: number;
|
|
9952
10309
|
};
|
|
10310
|
+
/**
|
|
10311
|
+
* Entry
|
|
10312
|
+
*/
|
|
9953
10313
|
type Entry = {
|
|
9954
10314
|
/**
|
|
9955
10315
|
* The entry id
|
|
@@ -10009,6 +10369,9 @@ type Entry = {
|
|
|
10009
10369
|
basePrice?: BasePrice;
|
|
10010
10370
|
mhd?: string;
|
|
10011
10371
|
};
|
|
10372
|
+
/**
|
|
10373
|
+
* Customer
|
|
10374
|
+
*/
|
|
10012
10375
|
type Customer = {
|
|
10013
10376
|
id?: string;
|
|
10014
10377
|
title?: string;
|
|
@@ -10019,6 +10382,9 @@ type Customer = {
|
|
|
10019
10382
|
email?: string;
|
|
10020
10383
|
phoneNumber?: string;
|
|
10021
10384
|
};
|
|
10385
|
+
/**
|
|
10386
|
+
* Delivery
|
|
10387
|
+
*/
|
|
10022
10388
|
type Delivery = {
|
|
10023
10389
|
deliveryTimeModel?: DeliveryTime;
|
|
10024
10390
|
deliveryAddressModel?: DeliveryAddress;
|
|
@@ -10026,15 +10392,24 @@ type Delivery = {
|
|
|
10026
10392
|
deliveryOptionModel?: DeliveryOption;
|
|
10027
10393
|
deliveryWindow?: DeliveryWindow$1;
|
|
10028
10394
|
};
|
|
10395
|
+
/**
|
|
10396
|
+
* Payment
|
|
10397
|
+
*/
|
|
10029
10398
|
type Payment$1 = {
|
|
10030
10399
|
invoiceNumber?: string;
|
|
10031
10400
|
invoiceAddress?: InvoiceAddress;
|
|
10032
10401
|
methods?: Array<string>;
|
|
10033
10402
|
};
|
|
10403
|
+
/**
|
|
10404
|
+
* PricingMeasure
|
|
10405
|
+
*/
|
|
10034
10406
|
type PricingMeasure = {
|
|
10035
10407
|
unitCode?: string;
|
|
10036
10408
|
value?: string;
|
|
10037
10409
|
};
|
|
10410
|
+
/**
|
|
10411
|
+
* Location
|
|
10412
|
+
*/
|
|
10038
10413
|
type Location = {
|
|
10039
10414
|
zone?: string;
|
|
10040
10415
|
rack?: string;
|
|
@@ -10043,6 +10418,9 @@ type Location = {
|
|
|
10043
10418
|
section?: string;
|
|
10044
10419
|
bin?: string;
|
|
10045
10420
|
};
|
|
10421
|
+
/**
|
|
10422
|
+
* BasePrice
|
|
10423
|
+
*/
|
|
10046
10424
|
type BasePrice = {
|
|
10047
10425
|
effectiveAmount?: string;
|
|
10048
10426
|
originalAmount?: string;
|
|
@@ -10050,12 +10428,18 @@ type BasePrice = {
|
|
|
10050
10428
|
basePriceFactor?: string;
|
|
10051
10429
|
measurementUnit?: MeasurementUnit;
|
|
10052
10430
|
};
|
|
10431
|
+
/**
|
|
10432
|
+
* DeliveryTime
|
|
10433
|
+
*/
|
|
10053
10434
|
type DeliveryTime = {
|
|
10054
10435
|
deliveryDate?: string;
|
|
10055
10436
|
deliveryTimeFrom?: string;
|
|
10056
10437
|
deliveryTimeTo?: string;
|
|
10057
10438
|
deliveryChargeType?: string;
|
|
10058
10439
|
};
|
|
10440
|
+
/**
|
|
10441
|
+
* DeliveryAddress
|
|
10442
|
+
*/
|
|
10059
10443
|
type DeliveryAddress = {
|
|
10060
10444
|
title?: string;
|
|
10061
10445
|
contactName?: string;
|
|
@@ -10067,10 +10451,16 @@ type DeliveryAddress = {
|
|
|
10067
10451
|
city?: string;
|
|
10068
10452
|
country?: string;
|
|
10069
10453
|
};
|
|
10454
|
+
/**
|
|
10455
|
+
* DeliveryCost
|
|
10456
|
+
*/
|
|
10070
10457
|
type DeliveryCost = {
|
|
10071
10458
|
amount?: number;
|
|
10072
10459
|
currency?: string;
|
|
10073
10460
|
};
|
|
10461
|
+
/**
|
|
10462
|
+
* DeliveryOption
|
|
10463
|
+
*/
|
|
10074
10464
|
type DeliveryOption = {
|
|
10075
10465
|
packaging?: string;
|
|
10076
10466
|
replacement?: boolean;
|
|
@@ -10078,6 +10468,8 @@ type DeliveryOption = {
|
|
|
10078
10468
|
deliveryNote?: string;
|
|
10079
10469
|
};
|
|
10080
10470
|
/**
|
|
10471
|
+
* DeliveryWindow
|
|
10472
|
+
*
|
|
10081
10473
|
* This object contains attributes that are related to selected delivery window for a given order and allows to group orders by delivery cycle and sort by delivery time for a better and more efficient packing experience
|
|
10082
10474
|
*/
|
|
10083
10475
|
type DeliveryWindow$1 = {
|
|
@@ -10094,6 +10486,9 @@ type DeliveryWindow$1 = {
|
|
|
10094
10486
|
*/
|
|
10095
10487
|
deliveryTimeTo?: string;
|
|
10096
10488
|
};
|
|
10489
|
+
/**
|
|
10490
|
+
* InvoiceAddress
|
|
10491
|
+
*/
|
|
10097
10492
|
type InvoiceAddress = {
|
|
10098
10493
|
title?: string;
|
|
10099
10494
|
contactName?: string;
|
|
@@ -10105,11 +10500,17 @@ type InvoiceAddress = {
|
|
|
10105
10500
|
city?: string;
|
|
10106
10501
|
country?: string;
|
|
10107
10502
|
};
|
|
10503
|
+
/**
|
|
10504
|
+
* RecalculationJobOrder
|
|
10505
|
+
*/
|
|
10108
10506
|
type RecalculationJobOrder = {
|
|
10109
10507
|
orderId?: string;
|
|
10110
10508
|
message?: string;
|
|
10111
10509
|
jobOrderStatus?: 'SUCCESS' | 'FAILURE' | 'PENDING';
|
|
10112
10510
|
};
|
|
10511
|
+
/**
|
|
10512
|
+
* RecalculationJob
|
|
10513
|
+
*/
|
|
10113
10514
|
type RecalculationJob$1 = {
|
|
10114
10515
|
id?: string;
|
|
10115
10516
|
jobType?: 'AUTOMATIC' | 'MANUAL';
|
|
@@ -10118,6 +10519,9 @@ type RecalculationJob$1 = {
|
|
|
10118
10519
|
startedAt?: string;
|
|
10119
10520
|
finishedAt?: string;
|
|
10120
10521
|
};
|
|
10522
|
+
/**
|
|
10523
|
+
* RecalculationJobCreation
|
|
10524
|
+
*/
|
|
10121
10525
|
type RecalculationJobCreation = {
|
|
10122
10526
|
/**
|
|
10123
10527
|
* The order identifiers requiring recalculation. This attribute is optional. In case the job type is `AUTOMATIC` the orders for recalculation will be selected automatically based on last packing events.
|
|
@@ -10130,6 +10534,9 @@ type RecalculationJobCreation = {
|
|
|
10130
10534
|
*/
|
|
10131
10535
|
jobType: 'AUTOMATIC' | 'MANUAL';
|
|
10132
10536
|
};
|
|
10537
|
+
/**
|
|
10538
|
+
* MeasurementUnit
|
|
10539
|
+
*/
|
|
10133
10540
|
type MeasurementUnit = {
|
|
10134
10541
|
/**
|
|
10135
10542
|
* The unit code of the measured quantity
|
|
@@ -10140,6 +10547,9 @@ type MeasurementUnit = {
|
|
|
10140
10547
|
*/
|
|
10141
10548
|
quantity?: number;
|
|
10142
10549
|
};
|
|
10550
|
+
/**
|
|
10551
|
+
* OrderList
|
|
10552
|
+
*/
|
|
10143
10553
|
type OrderList = {
|
|
10144
10554
|
/**
|
|
10145
10555
|
* The id of the order
|
|
@@ -10286,6 +10696,9 @@ type Address$1 = {
|
|
|
10286
10696
|
[key: string]: unknown;
|
|
10287
10697
|
};
|
|
10288
10698
|
};
|
|
10699
|
+
/**
|
|
10700
|
+
* AddressCommonDto
|
|
10701
|
+
*/
|
|
10289
10702
|
type AddressCommonDto = {
|
|
10290
10703
|
contactName?: string;
|
|
10291
10704
|
companyName?: string;
|
|
@@ -10403,6 +10816,9 @@ type CustomerCreateDto = {
|
|
|
10403
10816
|
type CustomerCommonDto = CustomerCreateDto & {
|
|
10404
10817
|
metadata?: DefaultDtoMetadata;
|
|
10405
10818
|
};
|
|
10819
|
+
/**
|
|
10820
|
+
* CustomerForSellerDto
|
|
10821
|
+
*/
|
|
10406
10822
|
type CustomerForSellerDto = CustomerCommonDto & {
|
|
10407
10823
|
/**
|
|
10408
10824
|
* Customer unique number generated when the customer profile is created.
|
|
@@ -10576,6 +10992,8 @@ type CustomerPatchBySellerDto = CustomerUpdateBySellerDto & {
|
|
|
10576
10992
|
contactEmail?: string;
|
|
10577
10993
|
};
|
|
10578
10994
|
/**
|
|
10995
|
+
* DefaultDtoMetadata
|
|
10996
|
+
*
|
|
10579
10997
|
* Links to mixin schemas.
|
|
10580
10998
|
*/
|
|
10581
10999
|
type BasicMetadataDto = {
|
|
@@ -10583,10 +11001,15 @@ type BasicMetadataDto = {
|
|
|
10583
11001
|
[key: string]: unknown;
|
|
10584
11002
|
};
|
|
10585
11003
|
};
|
|
11004
|
+
/**
|
|
11005
|
+
* DefaultDtoMetadata
|
|
11006
|
+
*/
|
|
10586
11007
|
type DefaultDtoMetadata = BasicMetadataDto & {
|
|
10587
11008
|
version?: number;
|
|
10588
11009
|
};
|
|
10589
11010
|
/**
|
|
11011
|
+
* Resource Location
|
|
11012
|
+
*
|
|
10590
11013
|
* Schema for showing location of the new resource.
|
|
10591
11014
|
*/
|
|
10592
11015
|
type ResourceLocation = {
|
|
@@ -10770,6 +11193,8 @@ declare class CustomerAdminService {
|
|
|
10770
11193
|
}
|
|
10771
11194
|
|
|
10772
11195
|
/**
|
|
11196
|
+
* basicApproval
|
|
11197
|
+
*
|
|
10773
11198
|
* Base schema for an approval.
|
|
10774
11199
|
*/
|
|
10775
11200
|
type BasicApproval = GenericApprovalForCreate & {
|
|
@@ -10777,6 +11202,8 @@ type BasicApproval = GenericApprovalForCreate & {
|
|
|
10777
11202
|
details?: Details;
|
|
10778
11203
|
};
|
|
10779
11204
|
/**
|
|
11205
|
+
* basicApproval
|
|
11206
|
+
*
|
|
10780
11207
|
* Base schema for an approval creation.
|
|
10781
11208
|
*/
|
|
10782
11209
|
type GenericApprovalForCreate = {
|
|
@@ -10796,6 +11223,8 @@ type GenericApprovalForCreate = {
|
|
|
10796
11223
|
comment?: string;
|
|
10797
11224
|
};
|
|
10798
11225
|
/**
|
|
11226
|
+
* additional information
|
|
11227
|
+
*
|
|
10799
11228
|
* Checkout details for **cart** approvals. **Required** when `resourceType` is `CART`.
|
|
10800
11229
|
*
|
|
10801
11230
|
*/
|
|
@@ -10835,6 +11264,8 @@ type Address = {
|
|
|
10835
11264
|
type?: 'SHIPPING' | 'BILLING';
|
|
10836
11265
|
};
|
|
10837
11266
|
/**
|
|
11267
|
+
* Shipping information
|
|
11268
|
+
*
|
|
10838
11269
|
* Information about the shipping.
|
|
10839
11270
|
*/
|
|
10840
11271
|
type Shipping = {
|
|
@@ -10860,6 +11291,8 @@ type Shipping = {
|
|
|
10860
11291
|
shippingTaxCode?: string;
|
|
10861
11292
|
};
|
|
10862
11293
|
/**
|
|
11294
|
+
* Payment information
|
|
11295
|
+
*
|
|
10863
11296
|
* Information about the payment.
|
|
10864
11297
|
*/
|
|
10865
11298
|
type Payment = {
|
|
@@ -10903,6 +11336,9 @@ type PaymentMethod = {
|
|
|
10903
11336
|
*/
|
|
10904
11337
|
amount?: number;
|
|
10905
11338
|
};
|
|
11339
|
+
/**
|
|
11340
|
+
* user schema
|
|
11341
|
+
*/
|
|
10906
11342
|
type User = {
|
|
10907
11343
|
/**
|
|
10908
11344
|
* An identifier of the user.
|
|
@@ -10918,22 +11354,33 @@ type User = {
|
|
|
10918
11354
|
lastName: string;
|
|
10919
11355
|
};
|
|
10920
11356
|
/**
|
|
11357
|
+
* A type of a resource
|
|
11358
|
+
*
|
|
10921
11359
|
* Type of resource under approval.
|
|
10922
11360
|
*
|
|
10923
11361
|
*/
|
|
10924
11362
|
type ResourceType = 'CART' | 'QUOTE';
|
|
10925
11363
|
/**
|
|
11364
|
+
* An approval action
|
|
11365
|
+
*
|
|
10926
11366
|
* Base schema for an approval action type.
|
|
10927
11367
|
*/
|
|
10928
11368
|
type ApprovalAction = 'CHECKOUT';
|
|
10929
11369
|
/**
|
|
11370
|
+
* A status of the approval
|
|
11371
|
+
*
|
|
10930
11372
|
* Base schema for the approval status.
|
|
10931
11373
|
*/
|
|
10932
11374
|
type ApprovalStatus = 'PENDING' | 'APPROVED' | 'CLOSED' | 'EXPIRED' | 'DECLINED';
|
|
10933
11375
|
/**
|
|
11376
|
+
* An expiration date
|
|
11377
|
+
*
|
|
10934
11378
|
* An expiration date which defines when the approval will expire. The value is approved as an ISO-8601 representation of an Instant. For example: `2022-04-31T13:18:02.379Z`
|
|
10935
11379
|
*/
|
|
10936
11380
|
type ExpiryDate = string;
|
|
11381
|
+
/**
|
|
11382
|
+
* An approval response
|
|
11383
|
+
*/
|
|
10937
11384
|
type GetApprovalResponse = BasicApproval & {
|
|
10938
11385
|
/**
|
|
10939
11386
|
* An identifier of the approval document.
|
|
@@ -10953,6 +11400,8 @@ type GetApprovalResponse = BasicApproval & {
|
|
|
10953
11400
|
metadata?: Metadata;
|
|
10954
11401
|
};
|
|
10955
11402
|
/**
|
|
11403
|
+
* Legal entity
|
|
11404
|
+
*
|
|
10956
11405
|
* Legal entity (company) the approval belongs to. Set when the approval is created from the customer token.
|
|
10957
11406
|
*
|
|
10958
11407
|
*/
|
|
@@ -10963,6 +11412,8 @@ type LegalEntity = {
|
|
|
10963
11412
|
id: string;
|
|
10964
11413
|
};
|
|
10965
11414
|
/**
|
|
11415
|
+
* Created resource
|
|
11416
|
+
*
|
|
10966
11417
|
* Resource created when the approval flow completes and the approved action is executed. Present once the downstream system has created the linked entity; omitted until then.
|
|
10967
11418
|
*
|
|
10968
11419
|
* For checkout approvals (`action: CHECKOUT`), `id` is typically the order identifier (for example, from Order Service).
|
|
@@ -10975,6 +11426,8 @@ type CreatedResource = {
|
|
|
10975
11426
|
id: string;
|
|
10976
11427
|
};
|
|
10977
11428
|
/**
|
|
11429
|
+
* approval permitted response
|
|
11430
|
+
*
|
|
10978
11431
|
* Base schema for approval permitted response.
|
|
10979
11432
|
*/
|
|
10980
11433
|
type ApprovalPermittedResponse = {
|
|
@@ -10990,6 +11443,8 @@ type ApprovalPermittedResponse = {
|
|
|
10990
11443
|
approvalId?: string;
|
|
10991
11444
|
};
|
|
10992
11445
|
/**
|
|
11446
|
+
* Resource
|
|
11447
|
+
*
|
|
10993
11448
|
* Resource of the approval.
|
|
10994
11449
|
*/
|
|
10995
11450
|
type ResourceResponse = {
|
|
@@ -11008,6 +11463,8 @@ type ResourceResponse = {
|
|
|
11008
11463
|
deliveryWindow?: DeliveryWindow;
|
|
11009
11464
|
};
|
|
11010
11465
|
/**
|
|
11466
|
+
* Resource item
|
|
11467
|
+
*
|
|
11011
11468
|
* Item of the resource.
|
|
11012
11469
|
*/
|
|
11013
11470
|
type ResourceItem = {
|
|
@@ -11018,6 +11475,7 @@ type ResourceItem = {
|
|
|
11018
11475
|
itemPrice?: ResourceItemPrice;
|
|
11019
11476
|
/**
|
|
11020
11477
|
* YRN which identifies the product.
|
|
11478
|
+
*
|
|
11021
11479
|
* @deprecated
|
|
11022
11480
|
*/
|
|
11023
11481
|
itemYrn?: string;
|
|
@@ -11027,6 +11485,8 @@ type ResourceItem = {
|
|
|
11027
11485
|
itemId?: string;
|
|
11028
11486
|
};
|
|
11029
11487
|
/**
|
|
11488
|
+
* Resource item price
|
|
11489
|
+
*
|
|
11030
11490
|
* Per-line price; used for resource line items.
|
|
11031
11491
|
*/
|
|
11032
11492
|
type ResourceItemPrice = {
|
|
@@ -11036,6 +11496,7 @@ type ResourceItemPrice = {
|
|
|
11036
11496
|
currency?: string;
|
|
11037
11497
|
/**
|
|
11038
11498
|
* Deprecated; prefer `unitPrice`, `newUnitPrice`, or `calculatedPrice`.
|
|
11499
|
+
*
|
|
11039
11500
|
* @deprecated
|
|
11040
11501
|
*/
|
|
11041
11502
|
amount?: number;
|
|
@@ -11049,6 +11510,9 @@ type ResourceItemPrice = {
|
|
|
11049
11510
|
newUnitPrice?: number;
|
|
11050
11511
|
calculatedPrice?: CalculatedPrice;
|
|
11051
11512
|
};
|
|
11513
|
+
/**
|
|
11514
|
+
* Calculated price breakdown
|
|
11515
|
+
*/
|
|
11052
11516
|
type CalculatedPrice = {
|
|
11053
11517
|
price?: {
|
|
11054
11518
|
/**
|
|
@@ -11066,6 +11530,8 @@ type CalculatedPrice = {
|
|
|
11066
11530
|
};
|
|
11067
11531
|
};
|
|
11068
11532
|
/**
|
|
11533
|
+
* Price value
|
|
11534
|
+
*
|
|
11069
11535
|
* Aggregated price (totals, subtotals) with currency and optional tax breakdown.
|
|
11070
11536
|
*/
|
|
11071
11537
|
type Price = {
|
|
@@ -11075,6 +11541,7 @@ type Price = {
|
|
|
11075
11541
|
currency?: string;
|
|
11076
11542
|
/**
|
|
11077
11543
|
* Deprecated; use `netValue`, `grossValue`, and `taxValue` when present.
|
|
11544
|
+
*
|
|
11078
11545
|
* @deprecated
|
|
11079
11546
|
*/
|
|
11080
11547
|
amount?: number;
|
|
@@ -11092,6 +11559,8 @@ type Price = {
|
|
|
11092
11559
|
taxValue?: number;
|
|
11093
11560
|
};
|
|
11094
11561
|
/**
|
|
11562
|
+
* Taxable price value
|
|
11563
|
+
*
|
|
11095
11564
|
* Price value with the currency and tax information.
|
|
11096
11565
|
*/
|
|
11097
11566
|
type TaxablePrice = {
|
|
@@ -11113,6 +11582,8 @@ type TaxablePrice = {
|
|
|
11113
11582
|
taxValue?: number;
|
|
11114
11583
|
};
|
|
11115
11584
|
/**
|
|
11585
|
+
* Delivery Window
|
|
11586
|
+
*
|
|
11116
11587
|
* delivery window required for order.
|
|
11117
11588
|
*/
|
|
11118
11589
|
type DeliveryWindow = {
|
|
@@ -11129,6 +11600,9 @@ type DeliveryWindow = {
|
|
|
11129
11600
|
*/
|
|
11130
11601
|
deliveryDate?: string;
|
|
11131
11602
|
};
|
|
11603
|
+
/**
|
|
11604
|
+
* Create a cart approval
|
|
11605
|
+
*/
|
|
11132
11606
|
type CreateCartApprovalRequest = GenericApprovalForCreate & {
|
|
11133
11607
|
/**
|
|
11134
11608
|
* An identifier of the approval document.
|
|
@@ -11141,6 +11615,9 @@ type CreateCartApprovalRequest = GenericApprovalForCreate & {
|
|
|
11141
11615
|
resourceType: 'CART';
|
|
11142
11616
|
details: Details;
|
|
11143
11617
|
};
|
|
11618
|
+
/**
|
|
11619
|
+
* Create a quote approval
|
|
11620
|
+
*/
|
|
11144
11621
|
type CreateQuoteApprovalRequest = GenericApprovalForCreate & {
|
|
11145
11622
|
/**
|
|
11146
11623
|
* An identifier of the approval document.
|
|
@@ -11180,12 +11657,18 @@ type Metadata = BasicMetadata & {
|
|
|
11180
11657
|
*/
|
|
11181
11658
|
modifiedAt: string;
|
|
11182
11659
|
};
|
|
11660
|
+
/**
|
|
11661
|
+
* approvalId
|
|
11662
|
+
*/
|
|
11183
11663
|
type ApprovalId = {
|
|
11184
11664
|
/**
|
|
11185
11665
|
* Unique identifier of the created approval.
|
|
11186
11666
|
*/
|
|
11187
11667
|
id?: string;
|
|
11188
11668
|
};
|
|
11669
|
+
/**
|
|
11670
|
+
* approval permitted request
|
|
11671
|
+
*/
|
|
11189
11672
|
type ApprovalPermittedRequest = {
|
|
11190
11673
|
resourceType: ResourceType;
|
|
11191
11674
|
/**
|
|
@@ -11194,6 +11677,9 @@ type ApprovalPermittedRequest = {
|
|
|
11194
11677
|
resourceId: string;
|
|
11195
11678
|
action: ApprovalAction;
|
|
11196
11679
|
};
|
|
11680
|
+
/**
|
|
11681
|
+
* Search approver users request
|
|
11682
|
+
*/
|
|
11197
11683
|
type SearchUsersRequest = {
|
|
11198
11684
|
resourceType: ResourceType;
|
|
11199
11685
|
/**
|