@labdigital/commercetools-mock 2.63.0 → 2.65.0
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/dist/index.d.mts +388 -136
- package/dist/index.mjs +59 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/orderSearch.ts +40 -0
- package/src/repositories/customer/index.ts +35 -1
- package/src/repositories/order/index.ts +17 -8
- package/src/services/customer.test.ts +50 -0
- package/src/services/customer.ts +12 -5
- package/src/services/order.ts +9 -0
package/dist/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import express from "express";
|
|
2
2
|
import * as msw0 from "msw";
|
|
3
3
|
import { SetupServer, SetupServerApi } from "msw/node";
|
|
4
|
-
import * as
|
|
5
|
-
import { Address, AssociateRole, AssociateRoleDraft, AttributeGroup, AttributeGroupDraft, BaseResource, BusinessUnit, BusinessUnitDraft, Cart, CartDiscount, CartDiscountDraft, CartDraft, CartReference, Category, CategoryDraft, Channel, ChannelDraft, ChannelReference, ChannelResourceIdentifier, CustomObject, CustomObjectDraft, Customer, CustomerCreatePasswordResetToken, CustomerDraft, CustomerGroup, CustomerGroupDraft, CustomerResetPassword, CustomerToken, DiscountCode, DiscountCodeDraft, DiscountGroup, DiscountGroupDraft, Extension, ExtensionDraft, FacetResults, FilteredFacetResult, InventoryEntry, InventoryEntryDraft, LineItem, LineItemDraft, MyCustomerChangePassword, MyCustomerEmailVerify, MyCustomerResetPassword, MyOrderFromCartDraft, MyQuoteRequestDraft, Order, OrderEdit, OrderEditDraft, OrderFromCartDraft, OrderImportDraft, Payment, PaymentDraft, Product, ProductDiscount, ProductDiscountDraft, ProductDraft, ProductPagedSearchResponse, ProductProjection, ProductProjectionPagedSearchResponse, ProductSearchRequest, ProductSelection, ProductSelectionDraft, ProductTailoring, ProductType, ProductTypeDraft, Project, QueryParam, Quote, QuoteDraft, QuoteRequest, QuoteRequestDraft, RangeFacetResult, RecurrencePolicy, RecurrencePolicyDraft, RecurringOrder, RecurringOrderDraft, ResourceIdentifier, Review, ReviewDraft, ReviewRatingStatistics, ShippingInfo, ShippingMethod, ShippingMethodDraft, ShippingMethodReference, ShoppingList, ShoppingListDraft, ShoppingListLineItem, StagedQuote, StagedQuoteDraft, StandalonePrice, StandalonePriceDraft, State, StateDraft, Store, StoreDraft, StoreKeyReference, Subscription, SubscriptionDraft, TaxCategory, TaxCategoryDraft, TermFacetResult, Type, TypeDraft, UpdateAction, Zone, ZoneDraft, ZoneReference } from "@commercetools/platform-sdk";
|
|
4
|
+
import * as _commercetools_platform_sdk0 from "@commercetools/platform-sdk";
|
|
5
|
+
import { Address, AssociateRole, AssociateRoleDraft, AttributeGroup, AttributeGroupDraft, BaseResource, BusinessUnit, BusinessUnitDraft, Cart, CartDiscount, CartDiscountDraft, CartDraft, CartReference, Category, CategoryDraft, Channel, ChannelDraft, ChannelReference, ChannelResourceIdentifier, CustomObject, CustomObjectDraft, Customer, CustomerCreatePasswordResetToken, CustomerDraft, CustomerGroup, CustomerGroupDraft, CustomerResetPassword, CustomerToken, DiscountCode, DiscountCodeDraft, DiscountGroup, DiscountGroupDraft, Extension, ExtensionDraft, FacetResults, FilteredFacetResult, InventoryEntry, InventoryEntryDraft, LineItem, LineItemDraft, MyCustomerChangePassword, MyCustomerEmailVerify, MyCustomerResetPassword, MyOrderFromCartDraft, MyQuoteRequestDraft, Order, OrderEdit, OrderEditDraft, OrderFromCartDraft, OrderImportDraft, OrderPagedSearchResponse, OrderSearchRequest, Payment, PaymentDraft, Product, ProductDiscount, ProductDiscountDraft, ProductDraft, ProductPagedSearchResponse, ProductProjection, ProductProjectionPagedSearchResponse, ProductSearchRequest, ProductSelection, ProductSelectionDraft, ProductTailoring, ProductType, ProductTypeDraft, Project, QueryParam, Quote, QuoteDraft, QuoteRequest, QuoteRequestDraft, RangeFacetResult, RecurrencePolicy, RecurrencePolicyDraft, RecurringOrder, RecurringOrderDraft, ResourceIdentifier, Review, ReviewDraft, ReviewRatingStatistics, ShippingInfo, ShippingMethod, ShippingMethodDraft, ShippingMethodReference, ShoppingList, ShoppingListDraft, ShoppingListLineItem, StagedQuote, StagedQuoteDraft, StandalonePrice, StandalonePriceDraft, State, StateDraft, Store, StoreDraft, StoreKeyReference, Subscription, SubscriptionDraft, TaxCategory, TaxCategoryDraft, TermFacetResult, Type, TypeDraft, UpdateAction, Zone, ZoneDraft, ZoneReference } from "@commercetools/platform-sdk";
|
|
6
6
|
|
|
7
7
|
//#region src/oauth/store.d.ts
|
|
8
8
|
type Token = {
|
|
@@ -94,8 +94,16 @@ declare class CartRepository extends AbstractResourceRepository<"cart"> {
|
|
|
94
94
|
createShippingInfo(context: RepositoryContext, resource: Writable<Cart>, shippingMethodRef: NonNullable<CartDraft["shippingMethod"]>): NonNullable<Cart["shippingInfo"]>;
|
|
95
95
|
}
|
|
96
96
|
//#endregion
|
|
97
|
+
//#region src/orderSearch.d.ts
|
|
98
|
+
declare class OrderSearch {
|
|
99
|
+
protected _storage: AbstractStorage;
|
|
100
|
+
constructor(config: Config);
|
|
101
|
+
search(projectKey: string, params: OrderSearchRequest): OrderPagedSearchResponse;
|
|
102
|
+
}
|
|
103
|
+
//#endregion
|
|
97
104
|
//#region src/repositories/order/index.d.ts
|
|
98
105
|
declare class OrderRepository extends AbstractResourceRepository<"order"> {
|
|
106
|
+
protected _searchService: OrderSearch;
|
|
99
107
|
constructor(config: Config);
|
|
100
108
|
create(context: RepositoryContext, draft: OrderFromCartDraft): Order;
|
|
101
109
|
createFromCart(context: RepositoryContext, cartReference: CartReference, orderNumber?: string): Order;
|
|
@@ -104,6 +112,7 @@ declare class OrderRepository extends AbstractResourceRepository<"order"> {
|
|
|
104
112
|
private customLineItemFromImportDraft;
|
|
105
113
|
getWithOrderNumber(context: RepositoryContext, orderNumber: string, params?: QueryParams$1): Order | undefined;
|
|
106
114
|
createShippingInfo(context: RepositoryContext, resource: Writable<Order>, shippingMethodRef: ShippingMethodReference): ShippingInfo;
|
|
115
|
+
search(context: RepositoryContext, searchRequest: OrderSearchRequest): OrderPagedSearchResponse;
|
|
107
116
|
}
|
|
108
117
|
//#endregion
|
|
109
118
|
//#region src/repositories/quote-request/index.d.ts
|
|
@@ -171,7 +180,7 @@ declare class CustomObjectRepository extends AbstractResourceRepository<"key-val
|
|
|
171
180
|
constructor(config: Config);
|
|
172
181
|
create(context: RepositoryContext, draft: Writable<CustomObjectDraft>): CustomObject;
|
|
173
182
|
getWithContainerAndKey(context: RepositoryContext, container: string, key: string): CustomObject | undefined;
|
|
174
|
-
queryWithContainer(context: RepositoryContext, container: string, params?: QueryParams$1):
|
|
183
|
+
queryWithContainer(context: RepositoryContext, container: string, params?: QueryParams$1): _commercetools_platform_sdk0.CustomObjectPagedQueryResponse;
|
|
175
184
|
}
|
|
176
185
|
//#endregion
|
|
177
186
|
//#region src/repositories/customer/index.d.ts
|
|
@@ -199,7 +208,251 @@ declare class CustomerRepository extends AbstractResourceRepository<"customer">
|
|
|
199
208
|
anonymousId?: string | undefined;
|
|
200
209
|
attributedTo?: {
|
|
201
210
|
clientId?: string | undefined;
|
|
202
|
-
source:
|
|
211
|
+
source: _commercetools_platform_sdk0.AttributionSource;
|
|
212
|
+
} | undefined;
|
|
213
|
+
associate?: {
|
|
214
|
+
typeId: "customer";
|
|
215
|
+
id: string;
|
|
216
|
+
obj?: /*elided*/any | undefined;
|
|
217
|
+
} | undefined;
|
|
218
|
+
} | undefined;
|
|
219
|
+
createdBy?: {
|
|
220
|
+
clientId?: string | undefined;
|
|
221
|
+
externalUserId?: string | undefined;
|
|
222
|
+
customer?: {
|
|
223
|
+
typeId: "customer";
|
|
224
|
+
id: string;
|
|
225
|
+
obj?: /*elided*/any | undefined;
|
|
226
|
+
} | undefined;
|
|
227
|
+
anonymousId?: string | undefined;
|
|
228
|
+
attributedTo?: {
|
|
229
|
+
clientId?: string | undefined;
|
|
230
|
+
source: _commercetools_platform_sdk0.AttributionSource;
|
|
231
|
+
} | undefined;
|
|
232
|
+
associate?: {
|
|
233
|
+
typeId: "customer";
|
|
234
|
+
id: string;
|
|
235
|
+
obj?: /*elided*/any | undefined;
|
|
236
|
+
} | undefined;
|
|
237
|
+
} | undefined;
|
|
238
|
+
email: string;
|
|
239
|
+
password?: string | undefined;
|
|
240
|
+
firstName?: string | undefined;
|
|
241
|
+
lastName?: string | undefined;
|
|
242
|
+
middleName?: string | undefined;
|
|
243
|
+
title?: string | undefined;
|
|
244
|
+
dateOfBirth?: string | undefined;
|
|
245
|
+
companyName?: string | undefined;
|
|
246
|
+
vatId?: string | undefined;
|
|
247
|
+
addresses: WritableArray<Address>;
|
|
248
|
+
defaultShippingAddressId?: string | undefined;
|
|
249
|
+
shippingAddressIds?: WritableArray<string> | undefined;
|
|
250
|
+
defaultBillingAddressId?: string | undefined;
|
|
251
|
+
billingAddressIds?: WritableArray<string> | undefined;
|
|
252
|
+
isEmailVerified: boolean;
|
|
253
|
+
customerGroup?: {
|
|
254
|
+
typeId: "customer-group";
|
|
255
|
+
id: string;
|
|
256
|
+
obj?: {
|
|
257
|
+
id: string;
|
|
258
|
+
version: number;
|
|
259
|
+
createdAt: string;
|
|
260
|
+
lastModifiedAt: string;
|
|
261
|
+
lastModifiedBy?: {
|
|
262
|
+
clientId?: string | undefined;
|
|
263
|
+
externalUserId?: string | undefined;
|
|
264
|
+
customer?: {
|
|
265
|
+
typeId: "customer";
|
|
266
|
+
id: string;
|
|
267
|
+
obj?: /*elided*/any | undefined;
|
|
268
|
+
} | undefined;
|
|
269
|
+
anonymousId?: string | undefined;
|
|
270
|
+
attributedTo?: {
|
|
271
|
+
clientId?: string | undefined;
|
|
272
|
+
source: _commercetools_platform_sdk0.AttributionSource;
|
|
273
|
+
} | undefined;
|
|
274
|
+
associate?: {
|
|
275
|
+
typeId: "customer";
|
|
276
|
+
id: string;
|
|
277
|
+
obj?: /*elided*/any | undefined;
|
|
278
|
+
} | undefined;
|
|
279
|
+
} | undefined;
|
|
280
|
+
createdBy?: {
|
|
281
|
+
clientId?: string | undefined;
|
|
282
|
+
externalUserId?: string | undefined;
|
|
283
|
+
customer?: {
|
|
284
|
+
typeId: "customer";
|
|
285
|
+
id: string;
|
|
286
|
+
obj?: /*elided*/any | undefined;
|
|
287
|
+
} | undefined;
|
|
288
|
+
anonymousId?: string | undefined;
|
|
289
|
+
attributedTo?: {
|
|
290
|
+
clientId?: string | undefined;
|
|
291
|
+
source: _commercetools_platform_sdk0.AttributionSource;
|
|
292
|
+
} | undefined;
|
|
293
|
+
associate?: {
|
|
294
|
+
typeId: "customer";
|
|
295
|
+
id: string;
|
|
296
|
+
obj?: /*elided*/any | undefined;
|
|
297
|
+
} | undefined;
|
|
298
|
+
} | undefined;
|
|
299
|
+
key?: string | undefined;
|
|
300
|
+
name: string;
|
|
301
|
+
custom?: {
|
|
302
|
+
type: {
|
|
303
|
+
typeId: "type";
|
|
304
|
+
id: string;
|
|
305
|
+
obj?: {
|
|
306
|
+
id: string;
|
|
307
|
+
version: number;
|
|
308
|
+
createdAt: string;
|
|
309
|
+
lastModifiedAt: string;
|
|
310
|
+
lastModifiedBy?: {
|
|
311
|
+
clientId?: string | undefined;
|
|
312
|
+
externalUserId?: string | undefined;
|
|
313
|
+
customer?: {
|
|
314
|
+
typeId: "customer";
|
|
315
|
+
id: string;
|
|
316
|
+
obj?: /*elided*/any | undefined;
|
|
317
|
+
} | undefined;
|
|
318
|
+
anonymousId?: string | undefined;
|
|
319
|
+
attributedTo?: {
|
|
320
|
+
clientId?: string | undefined;
|
|
321
|
+
source: _commercetools_platform_sdk0.AttributionSource;
|
|
322
|
+
} | undefined;
|
|
323
|
+
associate?: {
|
|
324
|
+
typeId: "customer";
|
|
325
|
+
id: string;
|
|
326
|
+
obj?: /*elided*/any | undefined;
|
|
327
|
+
} | undefined;
|
|
328
|
+
} | undefined;
|
|
329
|
+
createdBy?: {
|
|
330
|
+
clientId?: string | undefined;
|
|
331
|
+
externalUserId?: string | undefined;
|
|
332
|
+
customer?: {
|
|
333
|
+
typeId: "customer";
|
|
334
|
+
id: string;
|
|
335
|
+
obj?: /*elided*/any | undefined;
|
|
336
|
+
} | undefined;
|
|
337
|
+
anonymousId?: string | undefined;
|
|
338
|
+
attributedTo?: {
|
|
339
|
+
clientId?: string | undefined;
|
|
340
|
+
source: _commercetools_platform_sdk0.AttributionSource;
|
|
341
|
+
} | undefined;
|
|
342
|
+
associate?: {
|
|
343
|
+
typeId: "customer";
|
|
344
|
+
id: string;
|
|
345
|
+
obj?: /*elided*/any | undefined;
|
|
346
|
+
} | undefined;
|
|
347
|
+
} | undefined;
|
|
348
|
+
key: string;
|
|
349
|
+
name: {
|
|
350
|
+
[x: string]: string;
|
|
351
|
+
};
|
|
352
|
+
description?: {
|
|
353
|
+
[x: string]: string;
|
|
354
|
+
} | undefined;
|
|
355
|
+
resourceTypeIds: WritableArray<_commercetools_platform_sdk0.ResourceTypeId>;
|
|
356
|
+
fieldDefinitions: WritableArray<_commercetools_platform_sdk0.FieldDefinition>;
|
|
357
|
+
} | undefined;
|
|
358
|
+
};
|
|
359
|
+
fields: {
|
|
360
|
+
[x: string]: any;
|
|
361
|
+
};
|
|
362
|
+
} | undefined;
|
|
363
|
+
} | undefined;
|
|
364
|
+
} | undefined;
|
|
365
|
+
customerGroupAssignments?: WritableArray<_commercetools_platform_sdk0.CustomerGroupAssignment> | undefined;
|
|
366
|
+
custom?: {
|
|
367
|
+
type: {
|
|
368
|
+
typeId: "type";
|
|
369
|
+
id: string;
|
|
370
|
+
obj?: {
|
|
371
|
+
id: string;
|
|
372
|
+
version: number;
|
|
373
|
+
createdAt: string;
|
|
374
|
+
lastModifiedAt: string;
|
|
375
|
+
lastModifiedBy?: {
|
|
376
|
+
clientId?: string | undefined;
|
|
377
|
+
externalUserId?: string | undefined;
|
|
378
|
+
customer?: {
|
|
379
|
+
typeId: "customer";
|
|
380
|
+
id: string;
|
|
381
|
+
obj?: /*elided*/any | undefined;
|
|
382
|
+
} | undefined;
|
|
383
|
+
anonymousId?: string | undefined;
|
|
384
|
+
attributedTo?: {
|
|
385
|
+
clientId?: string | undefined;
|
|
386
|
+
source: _commercetools_platform_sdk0.AttributionSource;
|
|
387
|
+
} | undefined;
|
|
388
|
+
associate?: {
|
|
389
|
+
typeId: "customer";
|
|
390
|
+
id: string;
|
|
391
|
+
obj?: /*elided*/any | undefined;
|
|
392
|
+
} | undefined;
|
|
393
|
+
} | undefined;
|
|
394
|
+
createdBy?: {
|
|
395
|
+
clientId?: string | undefined;
|
|
396
|
+
externalUserId?: string | undefined;
|
|
397
|
+
customer?: {
|
|
398
|
+
typeId: "customer";
|
|
399
|
+
id: string;
|
|
400
|
+
obj?: /*elided*/any | undefined;
|
|
401
|
+
} | undefined;
|
|
402
|
+
anonymousId?: string | undefined;
|
|
403
|
+
attributedTo?: {
|
|
404
|
+
clientId?: string | undefined;
|
|
405
|
+
source: _commercetools_platform_sdk0.AttributionSource;
|
|
406
|
+
} | undefined;
|
|
407
|
+
associate?: {
|
|
408
|
+
typeId: "customer";
|
|
409
|
+
id: string;
|
|
410
|
+
obj?: /*elided*/any | undefined;
|
|
411
|
+
} | undefined;
|
|
412
|
+
} | undefined;
|
|
413
|
+
key: string;
|
|
414
|
+
name: {
|
|
415
|
+
[x: string]: string;
|
|
416
|
+
};
|
|
417
|
+
description?: {
|
|
418
|
+
[x: string]: string;
|
|
419
|
+
} | undefined;
|
|
420
|
+
resourceTypeIds: WritableArray<_commercetools_platform_sdk0.ResourceTypeId>;
|
|
421
|
+
fieldDefinitions: WritableArray<_commercetools_platform_sdk0.FieldDefinition>;
|
|
422
|
+
} | undefined;
|
|
423
|
+
};
|
|
424
|
+
fields: {
|
|
425
|
+
[x: string]: any;
|
|
426
|
+
};
|
|
427
|
+
} | undefined;
|
|
428
|
+
locale?: string | undefined;
|
|
429
|
+
salutation?: string | undefined;
|
|
430
|
+
stores: WritableArray<StoreKeyReference>;
|
|
431
|
+
authenticationMode: _commercetools_platform_sdk0.AuthenticationMode;
|
|
432
|
+
};
|
|
433
|
+
emailToken(context: RepositoryContext, id: string): CustomerToken;
|
|
434
|
+
emailTokenConfirm(context: RepositoryContext, request: {
|
|
435
|
+
tokenValue: string;
|
|
436
|
+
}): {
|
|
437
|
+
id: string;
|
|
438
|
+
version: number;
|
|
439
|
+
key?: string | undefined;
|
|
440
|
+
customerNumber?: string | undefined;
|
|
441
|
+
externalId?: string | undefined;
|
|
442
|
+
createdAt: string;
|
|
443
|
+
lastModifiedAt: string;
|
|
444
|
+
lastModifiedBy?: {
|
|
445
|
+
clientId?: string | undefined;
|
|
446
|
+
externalUserId?: string | undefined;
|
|
447
|
+
customer?: {
|
|
448
|
+
typeId: "customer";
|
|
449
|
+
id: string;
|
|
450
|
+
obj?: /*elided*/any | undefined;
|
|
451
|
+
} | undefined;
|
|
452
|
+
anonymousId?: string | undefined;
|
|
453
|
+
attributedTo?: {
|
|
454
|
+
clientId?: string | undefined;
|
|
455
|
+
source: _commercetools_platform_sdk0.AttributionSource;
|
|
203
456
|
} | undefined;
|
|
204
457
|
associate?: {
|
|
205
458
|
typeId: "customer";
|
|
@@ -218,7 +471,7 @@ declare class CustomerRepository extends AbstractResourceRepository<"customer">
|
|
|
218
471
|
anonymousId?: string | undefined;
|
|
219
472
|
attributedTo?: {
|
|
220
473
|
clientId?: string | undefined;
|
|
221
|
-
source:
|
|
474
|
+
source: _commercetools_platform_sdk0.AttributionSource;
|
|
222
475
|
} | undefined;
|
|
223
476
|
associate?: {
|
|
224
477
|
typeId: "customer";
|
|
@@ -260,7 +513,7 @@ declare class CustomerRepository extends AbstractResourceRepository<"customer">
|
|
|
260
513
|
anonymousId?: string | undefined;
|
|
261
514
|
attributedTo?: {
|
|
262
515
|
clientId?: string | undefined;
|
|
263
|
-
source:
|
|
516
|
+
source: _commercetools_platform_sdk0.AttributionSource;
|
|
264
517
|
} | undefined;
|
|
265
518
|
associate?: {
|
|
266
519
|
typeId: "customer";
|
|
@@ -279,7 +532,7 @@ declare class CustomerRepository extends AbstractResourceRepository<"customer">
|
|
|
279
532
|
anonymousId?: string | undefined;
|
|
280
533
|
attributedTo?: {
|
|
281
534
|
clientId?: string | undefined;
|
|
282
|
-
source:
|
|
535
|
+
source: _commercetools_platform_sdk0.AttributionSource;
|
|
283
536
|
} | undefined;
|
|
284
537
|
associate?: {
|
|
285
538
|
typeId: "customer";
|
|
@@ -309,7 +562,7 @@ declare class CustomerRepository extends AbstractResourceRepository<"customer">
|
|
|
309
562
|
anonymousId?: string | undefined;
|
|
310
563
|
attributedTo?: {
|
|
311
564
|
clientId?: string | undefined;
|
|
312
|
-
source:
|
|
565
|
+
source: _commercetools_platform_sdk0.AttributionSource;
|
|
313
566
|
} | undefined;
|
|
314
567
|
associate?: {
|
|
315
568
|
typeId: "customer";
|
|
@@ -328,7 +581,7 @@ declare class CustomerRepository extends AbstractResourceRepository<"customer">
|
|
|
328
581
|
anonymousId?: string | undefined;
|
|
329
582
|
attributedTo?: {
|
|
330
583
|
clientId?: string | undefined;
|
|
331
|
-
source:
|
|
584
|
+
source: _commercetools_platform_sdk0.AttributionSource;
|
|
332
585
|
} | undefined;
|
|
333
586
|
associate?: {
|
|
334
587
|
typeId: "customer";
|
|
@@ -343,8 +596,8 @@ declare class CustomerRepository extends AbstractResourceRepository<"customer">
|
|
|
343
596
|
description?: {
|
|
344
597
|
[x: string]: string;
|
|
345
598
|
} | undefined;
|
|
346
|
-
resourceTypeIds: WritableArray<
|
|
347
|
-
fieldDefinitions: WritableArray<
|
|
599
|
+
resourceTypeIds: WritableArray<_commercetools_platform_sdk0.ResourceTypeId>;
|
|
600
|
+
fieldDefinitions: WritableArray<_commercetools_platform_sdk0.FieldDefinition>;
|
|
348
601
|
} | undefined;
|
|
349
602
|
};
|
|
350
603
|
fields: {
|
|
@@ -353,7 +606,7 @@ declare class CustomerRepository extends AbstractResourceRepository<"customer">
|
|
|
353
606
|
} | undefined;
|
|
354
607
|
} | undefined;
|
|
355
608
|
} | undefined;
|
|
356
|
-
customerGroupAssignments?: WritableArray<
|
|
609
|
+
customerGroupAssignments?: WritableArray<_commercetools_platform_sdk0.CustomerGroupAssignment> | undefined;
|
|
357
610
|
custom?: {
|
|
358
611
|
type: {
|
|
359
612
|
typeId: "type";
|
|
@@ -374,7 +627,7 @@ declare class CustomerRepository extends AbstractResourceRepository<"customer">
|
|
|
374
627
|
anonymousId?: string | undefined;
|
|
375
628
|
attributedTo?: {
|
|
376
629
|
clientId?: string | undefined;
|
|
377
|
-
source:
|
|
630
|
+
source: _commercetools_platform_sdk0.AttributionSource;
|
|
378
631
|
} | undefined;
|
|
379
632
|
associate?: {
|
|
380
633
|
typeId: "customer";
|
|
@@ -393,7 +646,7 @@ declare class CustomerRepository extends AbstractResourceRepository<"customer">
|
|
|
393
646
|
anonymousId?: string | undefined;
|
|
394
647
|
attributedTo?: {
|
|
395
648
|
clientId?: string | undefined;
|
|
396
|
-
source:
|
|
649
|
+
source: _commercetools_platform_sdk0.AttributionSource;
|
|
397
650
|
} | undefined;
|
|
398
651
|
associate?: {
|
|
399
652
|
typeId: "customer";
|
|
@@ -408,8 +661,8 @@ declare class CustomerRepository extends AbstractResourceRepository<"customer">
|
|
|
408
661
|
description?: {
|
|
409
662
|
[x: string]: string;
|
|
410
663
|
} | undefined;
|
|
411
|
-
resourceTypeIds: WritableArray<
|
|
412
|
-
fieldDefinitions: WritableArray<
|
|
664
|
+
resourceTypeIds: WritableArray<_commercetools_platform_sdk0.ResourceTypeId>;
|
|
665
|
+
fieldDefinitions: WritableArray<_commercetools_platform_sdk0.FieldDefinition>;
|
|
413
666
|
} | undefined;
|
|
414
667
|
};
|
|
415
668
|
fields: {
|
|
@@ -419,9 +672,8 @@ declare class CustomerRepository extends AbstractResourceRepository<"customer">
|
|
|
419
672
|
locale?: string | undefined;
|
|
420
673
|
salutation?: string | undefined;
|
|
421
674
|
stores: WritableArray<StoreKeyReference>;
|
|
422
|
-
authenticationMode:
|
|
675
|
+
authenticationMode: _commercetools_platform_sdk0.AuthenticationMode;
|
|
423
676
|
};
|
|
424
|
-
verifyEmailToken(context: RepositoryContext, id: string): CustomerToken;
|
|
425
677
|
private storeReferenceToStoreKeyReference;
|
|
426
678
|
}
|
|
427
679
|
//#endregion
|
|
@@ -477,7 +729,7 @@ declare class MyCustomerRepository extends CustomerRepository {
|
|
|
477
729
|
anonymousId?: string | undefined;
|
|
478
730
|
attributedTo?: {
|
|
479
731
|
clientId?: string | undefined;
|
|
480
|
-
source:
|
|
732
|
+
source: _commercetools_platform_sdk0.AttributionSource;
|
|
481
733
|
} | undefined;
|
|
482
734
|
associate?: {
|
|
483
735
|
typeId: "customer";
|
|
@@ -496,7 +748,7 @@ declare class MyCustomerRepository extends CustomerRepository {
|
|
|
496
748
|
anonymousId?: string | undefined;
|
|
497
749
|
attributedTo?: {
|
|
498
750
|
clientId?: string | undefined;
|
|
499
|
-
source:
|
|
751
|
+
source: _commercetools_platform_sdk0.AttributionSource;
|
|
500
752
|
} | undefined;
|
|
501
753
|
associate?: {
|
|
502
754
|
typeId: "customer";
|
|
@@ -513,7 +765,7 @@ declare class MyCustomerRepository extends CustomerRepository {
|
|
|
513
765
|
dateOfBirth?: string | undefined;
|
|
514
766
|
companyName?: string | undefined;
|
|
515
767
|
vatId?: string | undefined;
|
|
516
|
-
addresses: WritableArray<
|
|
768
|
+
addresses: WritableArray<_commercetools_platform_sdk0.Address>;
|
|
517
769
|
defaultShippingAddressId?: string | undefined;
|
|
518
770
|
shippingAddressIds?: WritableArray<string> | undefined;
|
|
519
771
|
defaultBillingAddressId?: string | undefined;
|
|
@@ -538,7 +790,7 @@ declare class MyCustomerRepository extends CustomerRepository {
|
|
|
538
790
|
anonymousId?: string | undefined;
|
|
539
791
|
attributedTo?: {
|
|
540
792
|
clientId?: string | undefined;
|
|
541
|
-
source:
|
|
793
|
+
source: _commercetools_platform_sdk0.AttributionSource;
|
|
542
794
|
} | undefined;
|
|
543
795
|
associate?: {
|
|
544
796
|
typeId: "customer";
|
|
@@ -557,7 +809,7 @@ declare class MyCustomerRepository extends CustomerRepository {
|
|
|
557
809
|
anonymousId?: string | undefined;
|
|
558
810
|
attributedTo?: {
|
|
559
811
|
clientId?: string | undefined;
|
|
560
|
-
source:
|
|
812
|
+
source: _commercetools_platform_sdk0.AttributionSource;
|
|
561
813
|
} | undefined;
|
|
562
814
|
associate?: {
|
|
563
815
|
typeId: "customer";
|
|
@@ -587,7 +839,7 @@ declare class MyCustomerRepository extends CustomerRepository {
|
|
|
587
839
|
anonymousId?: string | undefined;
|
|
588
840
|
attributedTo?: {
|
|
589
841
|
clientId?: string | undefined;
|
|
590
|
-
source:
|
|
842
|
+
source: _commercetools_platform_sdk0.AttributionSource;
|
|
591
843
|
} | undefined;
|
|
592
844
|
associate?: {
|
|
593
845
|
typeId: "customer";
|
|
@@ -606,7 +858,7 @@ declare class MyCustomerRepository extends CustomerRepository {
|
|
|
606
858
|
anonymousId?: string | undefined;
|
|
607
859
|
attributedTo?: {
|
|
608
860
|
clientId?: string | undefined;
|
|
609
|
-
source:
|
|
861
|
+
source: _commercetools_platform_sdk0.AttributionSource;
|
|
610
862
|
} | undefined;
|
|
611
863
|
associate?: {
|
|
612
864
|
typeId: "customer";
|
|
@@ -621,8 +873,8 @@ declare class MyCustomerRepository extends CustomerRepository {
|
|
|
621
873
|
description?: {
|
|
622
874
|
[x: string]: string;
|
|
623
875
|
} | undefined;
|
|
624
|
-
resourceTypeIds: WritableArray<
|
|
625
|
-
fieldDefinitions: WritableArray<
|
|
876
|
+
resourceTypeIds: WritableArray<_commercetools_platform_sdk0.ResourceTypeId>;
|
|
877
|
+
fieldDefinitions: WritableArray<_commercetools_platform_sdk0.FieldDefinition>;
|
|
626
878
|
} | undefined;
|
|
627
879
|
};
|
|
628
880
|
fields: {
|
|
@@ -631,7 +883,7 @@ declare class MyCustomerRepository extends CustomerRepository {
|
|
|
631
883
|
} | undefined;
|
|
632
884
|
} | undefined;
|
|
633
885
|
} | undefined;
|
|
634
|
-
customerGroupAssignments?: WritableArray<
|
|
886
|
+
customerGroupAssignments?: WritableArray<_commercetools_platform_sdk0.CustomerGroupAssignment> | undefined;
|
|
635
887
|
custom?: {
|
|
636
888
|
type: {
|
|
637
889
|
typeId: "type";
|
|
@@ -652,7 +904,7 @@ declare class MyCustomerRepository extends CustomerRepository {
|
|
|
652
904
|
anonymousId?: string | undefined;
|
|
653
905
|
attributedTo?: {
|
|
654
906
|
clientId?: string | undefined;
|
|
655
|
-
source:
|
|
907
|
+
source: _commercetools_platform_sdk0.AttributionSource;
|
|
656
908
|
} | undefined;
|
|
657
909
|
associate?: {
|
|
658
910
|
typeId: "customer";
|
|
@@ -671,7 +923,7 @@ declare class MyCustomerRepository extends CustomerRepository {
|
|
|
671
923
|
anonymousId?: string | undefined;
|
|
672
924
|
attributedTo?: {
|
|
673
925
|
clientId?: string | undefined;
|
|
674
|
-
source:
|
|
926
|
+
source: _commercetools_platform_sdk0.AttributionSource;
|
|
675
927
|
} | undefined;
|
|
676
928
|
associate?: {
|
|
677
929
|
typeId: "customer";
|
|
@@ -686,8 +938,8 @@ declare class MyCustomerRepository extends CustomerRepository {
|
|
|
686
938
|
description?: {
|
|
687
939
|
[x: string]: string;
|
|
688
940
|
} | undefined;
|
|
689
|
-
resourceTypeIds: WritableArray<
|
|
690
|
-
fieldDefinitions: WritableArray<
|
|
941
|
+
resourceTypeIds: WritableArray<_commercetools_platform_sdk0.ResourceTypeId>;
|
|
942
|
+
fieldDefinitions: WritableArray<_commercetools_platform_sdk0.FieldDefinition>;
|
|
691
943
|
} | undefined;
|
|
692
944
|
};
|
|
693
945
|
fields: {
|
|
@@ -696,8 +948,8 @@ declare class MyCustomerRepository extends CustomerRepository {
|
|
|
696
948
|
} | undefined;
|
|
697
949
|
locale?: string | undefined;
|
|
698
950
|
salutation?: string | undefined;
|
|
699
|
-
stores: WritableArray<
|
|
700
|
-
authenticationMode:
|
|
951
|
+
stores: WritableArray<_commercetools_platform_sdk0.StoreKeyReference>;
|
|
952
|
+
authenticationMode: _commercetools_platform_sdk0.AuthenticationMode;
|
|
701
953
|
};
|
|
702
954
|
confirmEmail(context: RepositoryContext, resetPassword: MyCustomerEmailVerify): {
|
|
703
955
|
id: string;
|
|
@@ -718,7 +970,7 @@ declare class MyCustomerRepository extends CustomerRepository {
|
|
|
718
970
|
anonymousId?: string | undefined;
|
|
719
971
|
attributedTo?: {
|
|
720
972
|
clientId?: string | undefined;
|
|
721
|
-
source:
|
|
973
|
+
source: _commercetools_platform_sdk0.AttributionSource;
|
|
722
974
|
} | undefined;
|
|
723
975
|
associate?: {
|
|
724
976
|
typeId: "customer";
|
|
@@ -737,7 +989,7 @@ declare class MyCustomerRepository extends CustomerRepository {
|
|
|
737
989
|
anonymousId?: string | undefined;
|
|
738
990
|
attributedTo?: {
|
|
739
991
|
clientId?: string | undefined;
|
|
740
|
-
source:
|
|
992
|
+
source: _commercetools_platform_sdk0.AttributionSource;
|
|
741
993
|
} | undefined;
|
|
742
994
|
associate?: {
|
|
743
995
|
typeId: "customer";
|
|
@@ -754,7 +1006,7 @@ declare class MyCustomerRepository extends CustomerRepository {
|
|
|
754
1006
|
dateOfBirth?: string | undefined;
|
|
755
1007
|
companyName?: string | undefined;
|
|
756
1008
|
vatId?: string | undefined;
|
|
757
|
-
addresses: WritableArray<
|
|
1009
|
+
addresses: WritableArray<_commercetools_platform_sdk0.Address>;
|
|
758
1010
|
defaultShippingAddressId?: string | undefined;
|
|
759
1011
|
shippingAddressIds?: WritableArray<string> | undefined;
|
|
760
1012
|
defaultBillingAddressId?: string | undefined;
|
|
@@ -779,7 +1031,7 @@ declare class MyCustomerRepository extends CustomerRepository {
|
|
|
779
1031
|
anonymousId?: string | undefined;
|
|
780
1032
|
attributedTo?: {
|
|
781
1033
|
clientId?: string | undefined;
|
|
782
|
-
source:
|
|
1034
|
+
source: _commercetools_platform_sdk0.AttributionSource;
|
|
783
1035
|
} | undefined;
|
|
784
1036
|
associate?: {
|
|
785
1037
|
typeId: "customer";
|
|
@@ -798,7 +1050,7 @@ declare class MyCustomerRepository extends CustomerRepository {
|
|
|
798
1050
|
anonymousId?: string | undefined;
|
|
799
1051
|
attributedTo?: {
|
|
800
1052
|
clientId?: string | undefined;
|
|
801
|
-
source:
|
|
1053
|
+
source: _commercetools_platform_sdk0.AttributionSource;
|
|
802
1054
|
} | undefined;
|
|
803
1055
|
associate?: {
|
|
804
1056
|
typeId: "customer";
|
|
@@ -828,7 +1080,7 @@ declare class MyCustomerRepository extends CustomerRepository {
|
|
|
828
1080
|
anonymousId?: string | undefined;
|
|
829
1081
|
attributedTo?: {
|
|
830
1082
|
clientId?: string | undefined;
|
|
831
|
-
source:
|
|
1083
|
+
source: _commercetools_platform_sdk0.AttributionSource;
|
|
832
1084
|
} | undefined;
|
|
833
1085
|
associate?: {
|
|
834
1086
|
typeId: "customer";
|
|
@@ -847,7 +1099,7 @@ declare class MyCustomerRepository extends CustomerRepository {
|
|
|
847
1099
|
anonymousId?: string | undefined;
|
|
848
1100
|
attributedTo?: {
|
|
849
1101
|
clientId?: string | undefined;
|
|
850
|
-
source:
|
|
1102
|
+
source: _commercetools_platform_sdk0.AttributionSource;
|
|
851
1103
|
} | undefined;
|
|
852
1104
|
associate?: {
|
|
853
1105
|
typeId: "customer";
|
|
@@ -862,8 +1114,8 @@ declare class MyCustomerRepository extends CustomerRepository {
|
|
|
862
1114
|
description?: {
|
|
863
1115
|
[x: string]: string;
|
|
864
1116
|
} | undefined;
|
|
865
|
-
resourceTypeIds: WritableArray<
|
|
866
|
-
fieldDefinitions: WritableArray<
|
|
1117
|
+
resourceTypeIds: WritableArray<_commercetools_platform_sdk0.ResourceTypeId>;
|
|
1118
|
+
fieldDefinitions: WritableArray<_commercetools_platform_sdk0.FieldDefinition>;
|
|
867
1119
|
} | undefined;
|
|
868
1120
|
};
|
|
869
1121
|
fields: {
|
|
@@ -872,7 +1124,7 @@ declare class MyCustomerRepository extends CustomerRepository {
|
|
|
872
1124
|
} | undefined;
|
|
873
1125
|
} | undefined;
|
|
874
1126
|
} | undefined;
|
|
875
|
-
customerGroupAssignments?: WritableArray<
|
|
1127
|
+
customerGroupAssignments?: WritableArray<_commercetools_platform_sdk0.CustomerGroupAssignment> | undefined;
|
|
876
1128
|
custom?: {
|
|
877
1129
|
type: {
|
|
878
1130
|
typeId: "type";
|
|
@@ -893,7 +1145,7 @@ declare class MyCustomerRepository extends CustomerRepository {
|
|
|
893
1145
|
anonymousId?: string | undefined;
|
|
894
1146
|
attributedTo?: {
|
|
895
1147
|
clientId?: string | undefined;
|
|
896
|
-
source:
|
|
1148
|
+
source: _commercetools_platform_sdk0.AttributionSource;
|
|
897
1149
|
} | undefined;
|
|
898
1150
|
associate?: {
|
|
899
1151
|
typeId: "customer";
|
|
@@ -912,7 +1164,7 @@ declare class MyCustomerRepository extends CustomerRepository {
|
|
|
912
1164
|
anonymousId?: string | undefined;
|
|
913
1165
|
attributedTo?: {
|
|
914
1166
|
clientId?: string | undefined;
|
|
915
|
-
source:
|
|
1167
|
+
source: _commercetools_platform_sdk0.AttributionSource;
|
|
916
1168
|
} | undefined;
|
|
917
1169
|
associate?: {
|
|
918
1170
|
typeId: "customer";
|
|
@@ -927,8 +1179,8 @@ declare class MyCustomerRepository extends CustomerRepository {
|
|
|
927
1179
|
description?: {
|
|
928
1180
|
[x: string]: string;
|
|
929
1181
|
} | undefined;
|
|
930
|
-
resourceTypeIds: WritableArray<
|
|
931
|
-
fieldDefinitions: WritableArray<
|
|
1182
|
+
resourceTypeIds: WritableArray<_commercetools_platform_sdk0.ResourceTypeId>;
|
|
1183
|
+
fieldDefinitions: WritableArray<_commercetools_platform_sdk0.FieldDefinition>;
|
|
932
1184
|
} | undefined;
|
|
933
1185
|
};
|
|
934
1186
|
fields: {
|
|
@@ -937,8 +1189,8 @@ declare class MyCustomerRepository extends CustomerRepository {
|
|
|
937
1189
|
} | undefined;
|
|
938
1190
|
locale?: string | undefined;
|
|
939
1191
|
salutation?: string | undefined;
|
|
940
|
-
stores: WritableArray<
|
|
941
|
-
authenticationMode:
|
|
1192
|
+
stores: WritableArray<_commercetools_platform_sdk0.StoreKeyReference>;
|
|
1193
|
+
authenticationMode: _commercetools_platform_sdk0.AuthenticationMode;
|
|
942
1194
|
};
|
|
943
1195
|
deleteMe(context: RepositoryContext): Customer | undefined;
|
|
944
1196
|
getMe(context: RepositoryContext): Customer | undefined;
|
|
@@ -1078,7 +1330,7 @@ declare class ProductProjectionRepository extends AbstractResourceRepository<"pr
|
|
|
1078
1330
|
limit: number;
|
|
1079
1331
|
results: ProductProjection[];
|
|
1080
1332
|
};
|
|
1081
|
-
search(context: RepositoryContext, query: ProductProjectionQueryParams):
|
|
1333
|
+
search(context: RepositoryContext, query: ProductProjectionQueryParams): _commercetools_platform_sdk0.ProductProjectionPagedSearchResponse;
|
|
1082
1334
|
}
|
|
1083
1335
|
//#endregion
|
|
1084
1336
|
//#region src/repositories/product-selection.d.ts
|
|
@@ -1140,24 +1392,24 @@ declare class ShippingMethodRepository extends AbstractResourceRepository<"shipp
|
|
|
1140
1392
|
results: {
|
|
1141
1393
|
zoneRates: {
|
|
1142
1394
|
zone: ZoneReference;
|
|
1143
|
-
shippingRates:
|
|
1395
|
+
shippingRates: _commercetools_platform_sdk0.ShippingRate[];
|
|
1144
1396
|
}[];
|
|
1145
1397
|
id: string;
|
|
1146
1398
|
version: number;
|
|
1147
1399
|
createdAt: string;
|
|
1148
1400
|
lastModifiedAt: string;
|
|
1149
|
-
lastModifiedBy?:
|
|
1150
|
-
createdBy?:
|
|
1401
|
+
lastModifiedBy?: _commercetools_platform_sdk0.LastModifiedBy;
|
|
1402
|
+
createdBy?: _commercetools_platform_sdk0.CreatedBy;
|
|
1151
1403
|
key?: string;
|
|
1152
1404
|
name: string;
|
|
1153
|
-
localizedName?:
|
|
1405
|
+
localizedName?: _commercetools_platform_sdk0.LocalizedString;
|
|
1154
1406
|
description?: string;
|
|
1155
|
-
localizedDescription?:
|
|
1156
|
-
taxCategory:
|
|
1407
|
+
localizedDescription?: _commercetools_platform_sdk0.LocalizedString;
|
|
1408
|
+
taxCategory: _commercetools_platform_sdk0.TaxCategoryReference;
|
|
1157
1409
|
active: boolean;
|
|
1158
1410
|
isDefault: boolean;
|
|
1159
1411
|
predicate?: string;
|
|
1160
|
-
custom?:
|
|
1412
|
+
custom?: _commercetools_platform_sdk0.CustomFields;
|
|
1161
1413
|
}[];
|
|
1162
1414
|
limit?: number;
|
|
1163
1415
|
count: number;
|
|
@@ -1272,90 +1524,90 @@ interface WritableArray<T> extends Array<Writable<T>> {}
|
|
|
1272
1524
|
type ShallowWritable<T> = { -readonly [P in keyof T]: T[P] };
|
|
1273
1525
|
type ResourceType = keyof ResourceMap & keyof RepositoryMap;
|
|
1274
1526
|
type ResourceMap = {
|
|
1275
|
-
"attribute-group":
|
|
1276
|
-
"associate-role":
|
|
1277
|
-
"business-unit":
|
|
1278
|
-
"cart-discount":
|
|
1279
|
-
cart:
|
|
1280
|
-
category:
|
|
1281
|
-
channel:
|
|
1527
|
+
"attribute-group": _commercetools_platform_sdk0.AttributeGroup;
|
|
1528
|
+
"associate-role": _commercetools_platform_sdk0.AssociateRole;
|
|
1529
|
+
"business-unit": _commercetools_platform_sdk0.BusinessUnit;
|
|
1530
|
+
"cart-discount": _commercetools_platform_sdk0.CartDiscount;
|
|
1531
|
+
cart: _commercetools_platform_sdk0.Cart;
|
|
1532
|
+
category: _commercetools_platform_sdk0.Category;
|
|
1533
|
+
channel: _commercetools_platform_sdk0.Channel;
|
|
1282
1534
|
"customer-email-token": never;
|
|
1283
|
-
"customer-group":
|
|
1535
|
+
"customer-group": _commercetools_platform_sdk0.CustomerGroup;
|
|
1284
1536
|
"customer-password-token": never;
|
|
1285
|
-
customer:
|
|
1286
|
-
"discount-code":
|
|
1287
|
-
"discount-group":
|
|
1288
|
-
extension:
|
|
1289
|
-
"inventory-entry":
|
|
1290
|
-
"key-value-document":
|
|
1291
|
-
"order-edit":
|
|
1292
|
-
order:
|
|
1293
|
-
payment:
|
|
1294
|
-
"product-discount":
|
|
1295
|
-
"product-price":
|
|
1296
|
-
"product-projection":
|
|
1297
|
-
"product-selection":
|
|
1298
|
-
"product-tailoring":
|
|
1299
|
-
"product-type":
|
|
1300
|
-
product:
|
|
1301
|
-
"quote-request":
|
|
1302
|
-
quote:
|
|
1303
|
-
review:
|
|
1304
|
-
"shipping-method":
|
|
1305
|
-
"shopping-list":
|
|
1306
|
-
"staged-quote":
|
|
1307
|
-
"standalone-price":
|
|
1308
|
-
state:
|
|
1309
|
-
store:
|
|
1310
|
-
subscription:
|
|
1311
|
-
"recurring-order":
|
|
1312
|
-
"recurrence-policy":
|
|
1313
|
-
"tax-category":
|
|
1314
|
-
type:
|
|
1315
|
-
zone:
|
|
1537
|
+
customer: _commercetools_platform_sdk0.Customer;
|
|
1538
|
+
"discount-code": _commercetools_platform_sdk0.DiscountCode;
|
|
1539
|
+
"discount-group": _commercetools_platform_sdk0.DiscountGroup;
|
|
1540
|
+
extension: _commercetools_platform_sdk0.Extension;
|
|
1541
|
+
"inventory-entry": _commercetools_platform_sdk0.InventoryEntry;
|
|
1542
|
+
"key-value-document": _commercetools_platform_sdk0.CustomObject;
|
|
1543
|
+
"order-edit": _commercetools_platform_sdk0.OrderEdit;
|
|
1544
|
+
order: _commercetools_platform_sdk0.Order;
|
|
1545
|
+
payment: _commercetools_platform_sdk0.Payment;
|
|
1546
|
+
"product-discount": _commercetools_platform_sdk0.ProductDiscount;
|
|
1547
|
+
"product-price": _commercetools_platform_sdk0.StandalonePrice;
|
|
1548
|
+
"product-projection": _commercetools_platform_sdk0.ProductProjection;
|
|
1549
|
+
"product-selection": _commercetools_platform_sdk0.ProductSelection;
|
|
1550
|
+
"product-tailoring": _commercetools_platform_sdk0.ProductTailoring;
|
|
1551
|
+
"product-type": _commercetools_platform_sdk0.ProductType;
|
|
1552
|
+
product: _commercetools_platform_sdk0.Product;
|
|
1553
|
+
"quote-request": _commercetools_platform_sdk0.QuoteRequest;
|
|
1554
|
+
quote: _commercetools_platform_sdk0.Quote;
|
|
1555
|
+
review: _commercetools_platform_sdk0.Review;
|
|
1556
|
+
"shipping-method": _commercetools_platform_sdk0.ShippingMethod;
|
|
1557
|
+
"shopping-list": _commercetools_platform_sdk0.ShoppingList;
|
|
1558
|
+
"staged-quote": _commercetools_platform_sdk0.StagedQuote;
|
|
1559
|
+
"standalone-price": _commercetools_platform_sdk0.StandalonePrice;
|
|
1560
|
+
state: _commercetools_platform_sdk0.State;
|
|
1561
|
+
store: _commercetools_platform_sdk0.Store;
|
|
1562
|
+
subscription: _commercetools_platform_sdk0.Subscription;
|
|
1563
|
+
"recurring-order": _commercetools_platform_sdk0.RecurringOrder;
|
|
1564
|
+
"recurrence-policy": _commercetools_platform_sdk0.RecurrencePolicy;
|
|
1565
|
+
"tax-category": _commercetools_platform_sdk0.TaxCategory;
|
|
1566
|
+
type: _commercetools_platform_sdk0.Type;
|
|
1567
|
+
zone: _commercetools_platform_sdk0.Zone;
|
|
1316
1568
|
};
|
|
1317
1569
|
type PagedQueryResponseMap = {
|
|
1318
|
-
"attribute-group":
|
|
1319
|
-
"associate-role":
|
|
1320
|
-
"business-unit":
|
|
1321
|
-
"cart-discount":
|
|
1322
|
-
cart:
|
|
1323
|
-
category:
|
|
1324
|
-
channel:
|
|
1570
|
+
"attribute-group": _commercetools_platform_sdk0.AttributeGroupPagedQueryResponse;
|
|
1571
|
+
"associate-role": _commercetools_platform_sdk0.AssociateRolePagedQueryResponse;
|
|
1572
|
+
"business-unit": _commercetools_platform_sdk0.BusinessUnitPagedQueryResponse;
|
|
1573
|
+
"cart-discount": _commercetools_platform_sdk0.CartDiscountPagedQueryResponse;
|
|
1574
|
+
cart: _commercetools_platform_sdk0.CartPagedQueryResponse;
|
|
1575
|
+
category: _commercetools_platform_sdk0.CategoryPagedQueryResponse;
|
|
1576
|
+
channel: _commercetools_platform_sdk0.ChannelPagedQueryResponse;
|
|
1325
1577
|
"customer-email-token": never;
|
|
1326
|
-
"customer-group":
|
|
1578
|
+
"customer-group": _commercetools_platform_sdk0.CustomerGroupPagedQueryResponse;
|
|
1327
1579
|
"customer-password-token": never;
|
|
1328
|
-
customer:
|
|
1329
|
-
"discount-code":
|
|
1330
|
-
"discount-group":
|
|
1331
|
-
extension:
|
|
1332
|
-
"inventory-entry":
|
|
1333
|
-
"key-value-document":
|
|
1334
|
-
"order-edit":
|
|
1335
|
-
order:
|
|
1336
|
-
payment:
|
|
1337
|
-
"product-discount":
|
|
1338
|
-
"product-price":
|
|
1339
|
-
"product-projection":
|
|
1340
|
-
"product-selection":
|
|
1341
|
-
"product-tailoring":
|
|
1342
|
-
"product-type":
|
|
1343
|
-
product:
|
|
1344
|
-
"quote-request":
|
|
1345
|
-
quote:
|
|
1346
|
-
review:
|
|
1347
|
-
"shipping-method":
|
|
1348
|
-
"shopping-list":
|
|
1349
|
-
"staged-quote":
|
|
1350
|
-
"standalone-price":
|
|
1351
|
-
state:
|
|
1352
|
-
store:
|
|
1353
|
-
subscription:
|
|
1354
|
-
"recurring-order":
|
|
1355
|
-
"recurrence-policy":
|
|
1356
|
-
"tax-category":
|
|
1357
|
-
type:
|
|
1358
|
-
zone:
|
|
1580
|
+
customer: _commercetools_platform_sdk0.CustomerPagedQueryResponse;
|
|
1581
|
+
"discount-code": _commercetools_platform_sdk0.DiscountCodePagedQueryResponse;
|
|
1582
|
+
"discount-group": _commercetools_platform_sdk0.DiscountGroupPagedQueryResponse;
|
|
1583
|
+
extension: _commercetools_platform_sdk0.ExtensionPagedQueryResponse;
|
|
1584
|
+
"inventory-entry": _commercetools_platform_sdk0.InventoryPagedQueryResponse;
|
|
1585
|
+
"key-value-document": _commercetools_platform_sdk0.CustomObjectPagedQueryResponse;
|
|
1586
|
+
"order-edit": _commercetools_platform_sdk0.OrderEditPagedQueryResponse;
|
|
1587
|
+
order: _commercetools_platform_sdk0.OrderPagedQueryResponse;
|
|
1588
|
+
payment: _commercetools_platform_sdk0.PaymentPagedQueryResponse;
|
|
1589
|
+
"product-discount": _commercetools_platform_sdk0.ProductDiscountPagedQueryResponse;
|
|
1590
|
+
"product-price": _commercetools_platform_sdk0.StandalonePricePagedQueryResponse;
|
|
1591
|
+
"product-projection": _commercetools_platform_sdk0.ProductProjectionPagedQueryResponse;
|
|
1592
|
+
"product-selection": _commercetools_platform_sdk0.ProductSelectionPagedQueryResponse;
|
|
1593
|
+
"product-tailoring": _commercetools_platform_sdk0.ProductTailoringPagedQueryResponse;
|
|
1594
|
+
"product-type": _commercetools_platform_sdk0.ProductTypePagedQueryResponse;
|
|
1595
|
+
product: _commercetools_platform_sdk0.ProductPagedQueryResponse;
|
|
1596
|
+
"quote-request": _commercetools_platform_sdk0.QuoteRequestPagedQueryResponse;
|
|
1597
|
+
quote: _commercetools_platform_sdk0.QuotePagedQueryResponse;
|
|
1598
|
+
review: _commercetools_platform_sdk0.ReviewPagedQueryResponse;
|
|
1599
|
+
"shipping-method": _commercetools_platform_sdk0.ShippingMethodPagedQueryResponse;
|
|
1600
|
+
"shopping-list": _commercetools_platform_sdk0.ShoppingListPagedQueryResponse;
|
|
1601
|
+
"staged-quote": _commercetools_platform_sdk0.StagedQuotePagedQueryResponse;
|
|
1602
|
+
"standalone-price": _commercetools_platform_sdk0.StandalonePricePagedQueryResponse;
|
|
1603
|
+
state: _commercetools_platform_sdk0.StatePagedQueryResponse;
|
|
1604
|
+
store: _commercetools_platform_sdk0.StorePagedQueryResponse;
|
|
1605
|
+
subscription: _commercetools_platform_sdk0.SubscriptionPagedQueryResponse;
|
|
1606
|
+
"recurring-order": _commercetools_platform_sdk0.RecurringOrderPagedQueryResponse;
|
|
1607
|
+
"recurrence-policy": _commercetools_platform_sdk0.RecurrencePolicyPagedQueryResponse;
|
|
1608
|
+
"tax-category": _commercetools_platform_sdk0.TaxCategoryPagedQueryResponse;
|
|
1609
|
+
type: _commercetools_platform_sdk0.TypePagedQueryResponse;
|
|
1610
|
+
zone: _commercetools_platform_sdk0.ZonePagedQueryResponse;
|
|
1359
1611
|
};
|
|
1360
1612
|
//#endregion
|
|
1361
1613
|
//#region src/storage/abstract.d.ts
|