@ikas/storefront-api 4.0.0-alpha.48 → 4.0.0-alpha.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/package.json +7 -7
  2. package/src/__api/models/Cart.ts +0 -2
  3. package/src/__api/models/CartStorefrontRoutingDynamicCurrencySettings.ts +0 -2
  4. package/src/__api/models/CartV2.ts +0 -7
  5. package/src/__api/models/CategoryFilterInput.ts +0 -2
  6. package/src/__api/models/CheckoutSettingsPrice.ts +0 -2
  7. package/src/__api/models/Country.ts +0 -4
  8. package/src/__api/models/CurrencyRate.ts +0 -4
  9. package/src/__api/models/LocationTranslations.ts +0 -2
  10. package/src/__api/models/OrderLineItem.ts +0 -12
  11. package/src/__api/models/OrderLineVariant.ts +0 -8
  12. package/src/__api/models/OrderLineVariantPrice.ts +0 -7
  13. package/src/__api/models/Product.ts +0 -5
  14. package/src/__api/models/ProductBackInStockRemind.ts +0 -2
  15. package/src/__api/models/ProductOptionSelectValueOtherPrice.ts +0 -2
  16. package/src/__api/models/ProductPrice.ts +0 -4
  17. package/src/__api/models/{StorefrontRaffle.ts → Raffle.ts} +16 -5
  18. package/src/__api/models/RafflePaginationResponse.ts +3 -5
  19. package/src/__api/models/RaffleParticipants.ts +10 -6
  20. package/src/__api/models/RaffleParticipantsInput.ts +4 -1
  21. package/src/__api/models/RaffleParticipantsUpdateInput.ts +24 -0
  22. package/src/__api/models/SearchProduct.ts +0 -5
  23. package/src/__api/models/SearchProductPrice.ts +0 -9
  24. package/src/__api/models/SearchVariant.ts +0 -3
  25. package/src/__api/models/StorefrontDynamicCurrencySettings.ts +0 -2
  26. package/src/__api/models/StorefrontOrder.ts +0 -2
  27. package/src/__api/models/StorefrontRouting.ts +0 -4
  28. package/src/__api/models/StorefrontTransaction.ts +0 -2
  29. package/src/__api/models/Variant.ts +0 -3
  30. package/src/__api/models/_base.ts +1 -2
  31. package/src/__api/mutations/addCouponCodeToCheckout.ts +1 -14
  32. package/src/__api/mutations/addItemToCart.ts +1 -34
  33. package/src/__api/mutations/createOrderRefundRequest.ts +1 -13
  34. package/src/__api/mutations/customerForgotPassword.ts +0 -3
  35. package/src/__api/mutations/customerLogin.ts +0 -3
  36. package/src/__api/mutations/customerRecoverPassword.ts +0 -3
  37. package/src/__api/mutations/registerCustomer.ts +0 -3
  38. package/src/__api/mutations/saveCart.ts +1 -34
  39. package/src/__api/mutations/saveCartCouponCode.ts +1 -34
  40. package/src/__api/mutations/saveCheckout.ts +1 -14
  41. package/src/__api/mutations/saveItemToCart.ts +1 -14
  42. package/src/__api/mutations/saveProductBackInStockRemind.ts +1 -2
  43. package/src/__api/mutations/saveRaffleParticipant.ts +3 -25
  44. package/src/__api/mutations/sendContactFormToMerchant.ts +0 -3
  45. package/src/__api/mutations/updateCartCampaignOffer.ts +1 -34
  46. package/src/__api/mutations/updateRaffleParticipant.ts +72 -0
  47. package/src/__api/queries/checkCustomerEmail.ts +0 -3
  48. package/src/__api/queries/getCart.ts +1 -14
  49. package/src/__api/queries/getCartById.ts +1 -34
  50. package/src/__api/queries/getCheckoutByCartId.ts +1 -14
  51. package/src/__api/queries/getCheckoutById.ts +1 -14
  52. package/src/__api/queries/getCurrencyRate.ts +1 -3
  53. package/src/__api/queries/getCustomerOrders.ts +1 -13
  54. package/src/__api/queries/getOrder.ts +1 -13
  55. package/src/__api/queries/getOrderByEmail.ts +1 -13
  56. package/src/__api/queries/getRaffleParticipants.ts +59 -0
  57. package/src/__api/queries/getRafflesByCustomerId.ts +74 -0
  58. package/src/__api/queries/getStorefront.ts +1 -4
  59. package/src/__api/queries/listCheckoutSettings.ts +1 -2
  60. package/src/__api/queries/listCountry.ts +1 -7
  61. package/src/__api/queries/listOrderTransactions.ts +1 -2
  62. package/src/__api/queries/listProduct.ts +1 -8
  63. package/src/__api/queries/listProductBackInStockRemind.ts +1 -2
  64. package/src/__api/queries/listProductOptionSet.ts +1 -3
  65. package/src/__api/queries/{listStorefrontRaffle.ts → listRaffle.ts} +10 -10
  66. package/src/__api/queries/searchProducts.ts +1 -10
  67. package/src/__api/types/index.ts +35 -183
  68. package/src/api/checkout/index.ts +1 -1
  69. package/src/api/customer/index.ts +0 -9
  70. package/src/api/file-upload/index.ts +29 -35
  71. package/src/api/location/index.ts +4 -13
  72. package/src/api/masterpass/index.ts +7 -7
  73. package/src/api/product/index.ts +3 -8
  74. package/src/api/raffle/index.ts +14 -12
  75. package/src/index.ts +7 -9
  76. package/src/__api/models/OrderLineBaseUnit.ts +0 -19
  77. package/src/__api/models/OrderLineVariantUnit.ts +0 -16
  78. package/src/__api/models/OrderLineVariantUnitType.ts +0 -16
  79. package/src/__api/models/OrderSessionInfo.ts +0 -49
  80. package/src/__api/models/OrderSessionInfoTrafficSource.ts +0 -18
  81. package/src/__api/models/OrderSessionUTM.ts +0 -21
  82. package/src/__api/models/OrderSessionUserAgent.ts +0 -18
  83. package/src/__api/models/ProductBaseUnitModel.ts +0 -21
  84. package/src/__api/models/SearchProductProductBaseUnit.ts +0 -23
  85. package/src/__api/models/SearchProductProductUnit.ts +0 -16
  86. package/src/__api/models/VariantUnitModel.ts +0 -17
  87. package/src/__api/queries/listRaffleParticipants.ts +0 -81
@@ -7,21 +7,21 @@ import {
7
7
  } from "@ikas/storefront-models";
8
8
  import { IkasStorefrontConfig } from "@ikas/storefront-config";
9
9
 
10
- import { QueryParams as ListStorefrontRaffleParams } from "../../__api/queries/listStorefrontRaffle";
10
+ import { QueryParams as ListRaffleQueryParams } from "../../__api/queries/listRaffle";
11
11
  import { QueryParams as SaveRaffleParticipantQueryParams } from "../../__api/mutations/saveRaffleParticipant";
12
12
  import { QueryParams as ListRaffleMetadataQueryParams } from "../../__api/queries/listRaffleMetadata";
13
+ import { QueryParams as GetRafflesByCustomerIdQueryParams } from "../../__api/queries/getRafflesByCustomerId";
13
14
 
14
15
  export type {
15
- ListStorefrontRaffleParams,
16
+ ListRaffleQueryParams,
16
17
  SaveRaffleParticipantQueryParams,
17
18
  ListRaffleMetadataQueryParams,
19
+ GetRafflesByCustomerIdQueryParams,
18
20
  };
19
21
 
20
- export async function listStorefrontRaffle(params: ListStorefrontRaffleParams) {
21
- const _listStorefrontRaffle = (
22
- await import("../../__api/queries/listStorefrontRaffle")
23
- ).default;
24
- const response = await _listStorefrontRaffle(params);
22
+ export async function listRaffle(params: ListRaffleQueryParams) {
23
+ const _listRaffle = (await import("../../__api/queries/listRaffle")).default;
24
+ const response = await _listRaffle(params);
25
25
  const data: IkasRaffle[] | undefined = response.data as any;
26
26
 
27
27
  data?.forEach((r) =>
@@ -45,7 +45,7 @@ export async function saveRaffleParticipant(
45
45
  ).default;
46
46
  const response = await _saveRaffleParticipant(params);
47
47
  return new APIResponse(
48
- response.data ? (response.data as unknown as IkasRaffleParticipant) : null,
48
+ response.data ? (response.data as IkasRaffleParticipant) : null,
49
49
  response.graphQLErrors
50
50
  );
51
51
  }
@@ -63,11 +63,13 @@ export async function listRaffleMetaData(
63
63
  );
64
64
  }
65
65
 
66
- export async function listRaffleParticipants() {
67
- const _listRaffleParticipants = (
68
- await import("../../__api/queries/listRaffleParticipants")
66
+ export async function getRafflesByCustomerId(
67
+ params: GetRafflesByCustomerIdQueryParams
68
+ ) {
69
+ const _getRafflesByCustomerId = (
70
+ await import("../../__api/queries/getRafflesByCustomerId")
69
71
  ).default;
70
- const response = await _listRaffleParticipants();
72
+ const response = await _getRafflesByCustomerId(params);
71
73
  const data: IkasRaffle[] | undefined = response.data as any;
72
74
 
73
75
  data?.forEach((r) =>
package/src/index.ts CHANGED
@@ -1,19 +1,12 @@
1
1
  import { APIErrorCode, Config } from "@ikas/fe-api-client";
2
2
  import { IkasStorefrontConfig } from "@ikas/storefront-config";
3
3
 
4
- IkasStorefrontConfig.addObserver({
5
- id: "ikas-storefront-api",
6
- callback: setAPIClientConfig,
7
- });
8
-
9
- export function setAPIClientConfig() {
4
+ const onConfigChange = () => {
10
5
  Config.URL = IkasStorefrontConfig.getApiUrl() || "";
11
6
  Config.HEADERS = {
12
7
  "x-api-key": IkasStorefrontConfig.getApiKey() || "",
13
8
  "x-sfid": IkasStorefrontConfig.getStorefrontId() || "",
14
9
  "x-sfrid": IkasStorefrontConfig.getStorefrontRoutingId() || "",
15
- "x-sid": IkasStorefrontConfig.getSessionId() || "",
16
- "x-vid": IkasStorefrontConfig.getVisitorId() || "",
17
10
  };
18
11
 
19
12
  if (IkasStorefrontConfig.getCustomerToken()) {
@@ -30,7 +23,12 @@ export function setAPIClientConfig() {
30
23
  ],
31
24
  };
32
25
  }
33
- }
26
+ };
27
+
28
+ IkasStorefrontConfig.addObserver({
29
+ id: "ikas-storefront-api",
30
+ callback: onConfigChange,
31
+ });
34
32
 
35
33
  export * from "./api/blog";
36
34
  export * from "./api/brand";
@@ -1,19 +0,0 @@
1
- import { DeepReadonly } from "ts-essentials";
2
- import { ProductUnitTypeEnum } from "../types";
3
- import { OrderLineVariantUnitTypeData } from "./OrderLineVariantUnitType";
4
-
5
- export class OrderLineBaseUnitData {
6
- baseAmount: number;
7
- type: ProductUnitTypeEnum;
8
- unit: OrderLineVariantUnitTypeData | null;
9
-
10
- constructor(data: Partial<OrderLineBaseUnitData> = {}) {
11
- this.baseAmount = data.baseAmount || 0;
12
- this.type = data.type || ProductUnitTypeEnum.CENTILITER;
13
- this.unit = data.unit ? new OrderLineVariantUnitTypeData(data.unit) : null;
14
- }
15
- }
16
-
17
- export class OrderLineBaseUnit extends OrderLineBaseUnitData {}
18
- export type PartialOrderLineBaseUnit = Partial<OrderLineBaseUnit>;
19
- export type ReadOnlyOrderLineBaseUnit = DeepReadonly<OrderLineBaseUnit>;
@@ -1,16 +0,0 @@
1
- import { DeepReadonly } from "ts-essentials";
2
- import { ProductUnitTypeEnum } from "../types";
3
-
4
- export class OrderLineVariantUnitData {
5
- amount: number;
6
- type: ProductUnitTypeEnum;
7
-
8
- constructor(data: Partial<OrderLineVariantUnitData> = {}) {
9
- this.amount = data.amount || 0;
10
- this.type = data.type || ProductUnitTypeEnum.CENTILITER;
11
- }
12
- }
13
-
14
- export class OrderLineVariantUnit extends OrderLineVariantUnitData {}
15
- export type PartialOrderLineVariantUnit = Partial<OrderLineVariantUnit>;
16
- export type ReadOnlyOrderLineVariantUnit = DeepReadonly<OrderLineVariantUnit>;
@@ -1,16 +0,0 @@
1
- import { DeepReadonly } from "ts-essentials";
2
-
3
- export class OrderLineVariantUnitTypeData {
4
- id: string;
5
- name: string;
6
-
7
- constructor(data: Partial<OrderLineVariantUnitTypeData> = {}) {
8
- this.id = data.id || "";
9
- this.name = data.name || "";
10
- }
11
- }
12
-
13
- export class OrderLineVariantUnitType extends OrderLineVariantUnitTypeData {}
14
- export type PartialOrderLineVariantUnitType = Partial<OrderLineVariantUnitType>;
15
- export type ReadOnlyOrderLineVariantUnitType =
16
- DeepReadonly<OrderLineVariantUnitType>;
@@ -1,49 +0,0 @@
1
- import { DeepReadonly } from "ts-essentials";
2
- import { OrderSessionInfoTrafficSourceData } from "./OrderSessionInfoTrafficSource";
3
- import { OrderSessionUserAgentData } from "./OrderSessionUserAgent";
4
- import { OrderSessionUTMData } from "./OrderSessionUTM";
5
-
6
- export class OrderSessionInfoData {
7
- countryCode: string | null;
8
- durationMS: number | null;
9
- end: any | null;
10
- host: string | null;
11
- ip: string | null;
12
- referer: string | null;
13
- salesChannelId: string | null;
14
- sessionId: string | null;
15
- start: any | null;
16
- storefrontId: string | null;
17
- trafficSource: OrderSessionInfoTrafficSourceData | null;
18
- userAgent: OrderSessionUserAgentData | null;
19
- utm: OrderSessionUTMData | null;
20
- visitorId: string | null;
21
-
22
- constructor(data: Partial<OrderSessionInfoData> = {}) {
23
- this.countryCode = data.countryCode || null;
24
- this.durationMS =
25
- data.durationMS !== undefined && data.durationMS !== null
26
- ? data.durationMS
27
- : null;
28
- this.end = data.end || null;
29
- this.host = data.host || null;
30
- this.ip = data.ip || null;
31
- this.referer = data.referer || null;
32
- this.salesChannelId = data.salesChannelId || null;
33
- this.sessionId = data.sessionId || null;
34
- this.start = data.start || null;
35
- this.storefrontId = data.storefrontId || null;
36
- this.trafficSource = data.trafficSource
37
- ? new OrderSessionInfoTrafficSourceData(data.trafficSource)
38
- : null;
39
- this.userAgent = data.userAgent
40
- ? new OrderSessionUserAgentData(data.userAgent)
41
- : null;
42
- this.utm = data.utm ? new OrderSessionUTMData(data.utm) : null;
43
- this.visitorId = data.visitorId || null;
44
- }
45
- }
46
-
47
- export class OrderSessionInfo extends OrderSessionInfoData {}
48
- export type PartialOrderSessionInfo = Partial<OrderSessionInfo>;
49
- export type ReadOnlyOrderSessionInfo = DeepReadonly<OrderSessionInfo>;
@@ -1,18 +0,0 @@
1
- import { DeepReadonly } from "ts-essentials";
2
- import { SFAnalyticsTrafficSourceEnum } from "../types";
3
-
4
- export class OrderSessionInfoTrafficSourceData {
5
- source: string | null;
6
- type: SFAnalyticsTrafficSourceEnum;
7
-
8
- constructor(data: Partial<OrderSessionInfoTrafficSourceData> = {}) {
9
- this.source = data.source || null;
10
- this.type = data.type || SFAnalyticsTrafficSourceEnum.ADS_OTHER;
11
- }
12
- }
13
-
14
- export class OrderSessionInfoTrafficSource extends OrderSessionInfoTrafficSourceData {}
15
- export type PartialOrderSessionInfoTrafficSource =
16
- Partial<OrderSessionInfoTrafficSource>;
17
- export type ReadOnlyOrderSessionInfoTrafficSource =
18
- DeepReadonly<OrderSessionInfoTrafficSource>;
@@ -1,21 +0,0 @@
1
- import { DeepReadonly } from "ts-essentials";
2
-
3
- export class OrderSessionUTMData {
4
- campaign: string | null;
5
- content: string | null;
6
- medium: string | null;
7
- source: string | null;
8
- term: string | null;
9
-
10
- constructor(data: Partial<OrderSessionUTMData> = {}) {
11
- this.campaign = data.campaign || null;
12
- this.content = data.content || null;
13
- this.medium = data.medium || null;
14
- this.source = data.source || null;
15
- this.term = data.term || null;
16
- }
17
- }
18
-
19
- export class OrderSessionUTM extends OrderSessionUTMData {}
20
- export type PartialOrderSessionUTM = Partial<OrderSessionUTM>;
21
- export type ReadOnlyOrderSessionUTM = DeepReadonly<OrderSessionUTM>;
@@ -1,18 +0,0 @@
1
- import { DeepReadonly } from "ts-essentials";
2
- import { UserAgentDeviceType } from "../types";
3
-
4
- export class OrderSessionUserAgentData {
5
- deviceType: UserAgentDeviceType;
6
- name: string;
7
- os: string;
8
-
9
- constructor(data: Partial<OrderSessionUserAgentData> = {}) {
10
- this.deviceType = data.deviceType || UserAgentDeviceType.CAMERA;
11
- this.name = data.name || "";
12
- this.os = data.os || "";
13
- }
14
- }
15
-
16
- export class OrderSessionUserAgent extends OrderSessionUserAgentData {}
17
- export type PartialOrderSessionUserAgent = Partial<OrderSessionUserAgent>;
18
- export type ReadOnlyOrderSessionUserAgent = DeepReadonly<OrderSessionUserAgent>;
@@ -1,21 +0,0 @@
1
- import { DeepReadonly } from "ts-essentials";
2
- import { ProductUnitTypeEnum } from "../types";
3
-
4
- export class ProductBaseUnitModelData {
5
- baseAmount: number | null;
6
- type: ProductUnitTypeEnum;
7
- unitId: string | null;
8
-
9
- constructor(data: Partial<ProductBaseUnitModelData> = {}) {
10
- this.baseAmount =
11
- data.baseAmount !== undefined && data.baseAmount !== null
12
- ? data.baseAmount
13
- : null;
14
- this.type = data.type || ProductUnitTypeEnum.CENTILITER;
15
- this.unitId = data.unitId || null;
16
- }
17
- }
18
-
19
- export class ProductBaseUnitModel extends ProductBaseUnitModelData {}
20
- export type PartialProductBaseUnitModel = Partial<ProductBaseUnitModel>;
21
- export type ReadOnlyProductBaseUnitModel = DeepReadonly<ProductBaseUnitModel>;
@@ -1,23 +0,0 @@
1
- import { DeepReadonly } from "ts-essentials";
2
- import { ProductUnitTypeEnum } from "../types";
3
- import { SearchProductProductUnitData } from "./SearchProductProductUnit";
4
-
5
- export class SearchProductProductBaseUnitData {
6
- baseAmount: number;
7
- type: ProductUnitTypeEnum;
8
- unit: SearchProductProductUnitData;
9
-
10
- constructor(data: Partial<SearchProductProductBaseUnitData> = {}) {
11
- this.baseAmount = data.baseAmount || 0;
12
- this.type = data.type || ProductUnitTypeEnum.CENTILITER;
13
- this.unit = data.unit
14
- ? new SearchProductProductUnitData(data.unit)
15
- : new SearchProductProductUnitData();
16
- }
17
- }
18
-
19
- export class SearchProductProductBaseUnit extends SearchProductProductBaseUnitData {}
20
- export type PartialSearchProductProductBaseUnit =
21
- Partial<SearchProductProductBaseUnit>;
22
- export type ReadOnlySearchProductProductBaseUnit =
23
- DeepReadonly<SearchProductProductBaseUnit>;
@@ -1,16 +0,0 @@
1
- import { DeepReadonly } from "ts-essentials";
2
-
3
- export class SearchProductProductUnitData {
4
- id: string;
5
- name: string;
6
-
7
- constructor(data: Partial<SearchProductProductUnitData> = {}) {
8
- this.id = data.id || "";
9
- this.name = data.name || "";
10
- }
11
- }
12
-
13
- export class SearchProductProductUnit extends SearchProductProductUnitData {}
14
- export type PartialSearchProductProductUnit = Partial<SearchProductProductUnit>;
15
- export type ReadOnlySearchProductProductUnit =
16
- DeepReadonly<SearchProductProductUnit>;
@@ -1,17 +0,0 @@
1
- import { DeepReadonly } from "ts-essentials";
2
- import { ProductUnitTypeEnum } from "../types";
3
-
4
- export class VariantUnitModelData {
5
- amount: number | null;
6
- type: ProductUnitTypeEnum;
7
-
8
- constructor(data: Partial<VariantUnitModelData> = {}) {
9
- this.amount =
10
- data.amount !== undefined && data.amount !== null ? data.amount : null;
11
- this.type = data.type || ProductUnitTypeEnum.CENTILITER;
12
- }
13
- }
14
-
15
- export class VariantUnitModel extends VariantUnitModelData {}
16
- export type PartialVariantUnitModel = Partial<VariantUnitModel>;
17
- export type ReadOnlyVariantUnitModel = DeepReadonly<VariantUnitModel>;
@@ -1,81 +0,0 @@
1
- import {
2
- fetchQuery,
3
- ConfigType,
4
- APIResponse,
5
- handleAPIError,
6
- } from "@ikas/fe-api-client";
7
- import { RaffleParticipants } from "../types";
8
-
9
- const listRaffleParticipants = async (
10
- fields?: string[],
11
- config?: ConfigType
12
- ) => {
13
- try {
14
- const { data, errors } = await fetchQuery({
15
- operationName: "listRaffleParticipants",
16
- config,
17
- allReturnFields,
18
- fields,
19
- query: (returnFields: string) => `
20
- query listRaffleParticipants {
21
- listRaffleParticipants ${returnFields}
22
- }
23
- `,
24
- });
25
-
26
- return new APIResponse<RaffleParticipants[]>(
27
- data?.listRaffleParticipants,
28
- errors
29
- );
30
- } catch (err) {
31
- return handleAPIError(err);
32
- }
33
- };
34
-
35
- export default listRaffleParticipants;
36
-
37
- const allReturnFields =
38
- "{applicationDate appliedProduct {productId variantId } createdAt customerId deleted email extraData firstName fullName id isDeliveredCargo lastName phone raffle {createdAt dateRange {end start } deleted id metadata {canonicals createdAt deleted description disableIndex id pageTitle slug targetId targetType updatedAt } name requiredCustomerAccount status updatedAt variants {productId variantId } verificationType } raffleId status updatedAt }";
39
-
40
- export enum ResponseField {
41
- APPLICATION_DATE = "applicationDate",
42
- APPLIED_PRODUCT__PRODUCT_ID = "appliedProduct.productId",
43
- APPLIED_PRODUCT__VARIANT_ID = "appliedProduct.variantId",
44
- CREATED_AT = "createdAt",
45
- CUSTOMER_ID = "customerId",
46
- DELETED = "deleted",
47
- EMAIL = "email",
48
- EXTRA_DATA = "extraData",
49
- FIRST_NAME = "firstName",
50
- FULL_NAME = "fullName",
51
- ID = "id",
52
- IS_DELIVERED_CARGO = "isDeliveredCargo",
53
- LAST_NAME = "lastName",
54
- PHONE = "phone",
55
- RAFFLE__CREATED_AT = "raffle.createdAt",
56
- RAFFLE__DATE_RANGE__END = "raffle.dateRange.end",
57
- RAFFLE__DATE_RANGE__START = "raffle.dateRange.start",
58
- RAFFLE__DELETED = "raffle.deleted",
59
- RAFFLE__ID = "raffle.id",
60
- RAFFLE__METADATA__CANONICALS = "raffle.metadata.canonicals",
61
- RAFFLE__METADATA__CREATED_AT = "raffle.metadata.createdAt",
62
- RAFFLE__METADATA__DELETED = "raffle.metadata.deleted",
63
- RAFFLE__METADATA__DESCRIPTION = "raffle.metadata.description",
64
- RAFFLE__METADATA__DISABLE_INDEX = "raffle.metadata.disableIndex",
65
- RAFFLE__METADATA__ID = "raffle.metadata.id",
66
- RAFFLE__METADATA__PAGE_TITLE = "raffle.metadata.pageTitle",
67
- RAFFLE__METADATA__SLUG = "raffle.metadata.slug",
68
- RAFFLE__METADATA__TARGET_ID = "raffle.metadata.targetId",
69
- RAFFLE__METADATA__TARGET_TYPE = "raffle.metadata.targetType",
70
- RAFFLE__METADATA__UPDATED_AT = "raffle.metadata.updatedAt",
71
- RAFFLE__NAME = "raffle.name",
72
- RAFFLE__REQUIRED_CUSTOMER_ACCOUNT = "raffle.requiredCustomerAccount",
73
- RAFFLE__STATUS = "raffle.status",
74
- RAFFLE__UPDATED_AT = "raffle.updatedAt",
75
- RAFFLE__VARIANTS__PRODUCT_ID = "raffle.variants.productId",
76
- RAFFLE__VARIANTS__VARIANT_ID = "raffle.variants.variantId",
77
- RAFFLE__VERIFICATION_TYPE = "raffle.verificationType",
78
- RAFFLE_ID = "raffleId",
79
- STATUS = "status",
80
- UPDATED_AT = "updatedAt",
81
- }