@actschurch/ccms-sdk 0.0.12 → 0.0.13

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 (86) hide show
  1. package/dist/core/Config.d.ts +9 -0
  2. package/dist/core/Config.d.ts.map +1 -1
  3. package/dist/core/Config.js.map +1 -1
  4. package/dist/models/orders/ModelView/OrderLineModelView.d.ts +4 -4
  5. package/dist/models/orders/ModelView/OrderModelView.d.ts +4 -4
  6. package/dist/models/orders/OrderLine.d.ts +4 -4
  7. package/dist/models/orders/ShopOrder.d.ts +4 -4
  8. package/dist/models/vendorcatalog/CacheKeys/EventStockCacheKeys.d.ts +1 -1
  9. package/dist/models/vendorcatalog/CacheKeys/EventStockCacheKeys.js +1 -1
  10. package/dist/models/vendorcatalog/CacheKeys/VendorProductVariantCacheKeys.d.ts +29 -0
  11. package/dist/models/vendorcatalog/CacheKeys/{VendorProductVarientCacheKeys.d.ts.map → VendorProductVariantCacheKeys.d.ts.map} +1 -1
  12. package/dist/models/vendorcatalog/CacheKeys/VendorProductVariantCacheKeys.js +30 -0
  13. package/dist/models/vendorcatalog/CacheKeys/{VendorProductVarientCacheKeys.js.map → VendorProductVariantCacheKeys.js.map} +1 -1
  14. package/dist/models/vendorcatalog/CacheKeys/index.d.ts +1 -1
  15. package/dist/models/vendorcatalog/CacheKeys/index.js +1 -1
  16. package/dist/models/vendorcatalog/EventVariantStock.d.ts +3 -3
  17. package/dist/models/vendorcatalog/ModelView/ProductStockStatusModelView.d.ts +13 -4
  18. package/dist/models/vendorcatalog/ModelView/ProductStockStatusModelView.d.ts.map +1 -1
  19. package/dist/models/vendorcatalog/ModelView/ProductStockStatusModelView.js +1 -0
  20. package/dist/models/vendorcatalog/ModelView/ProductStockStatusModelView.js.map +1 -1
  21. package/dist/models/vendorcatalog/ModelView/ShopEventProductModelView.d.ts +2 -2
  22. package/dist/models/vendorcatalog/ModelView/VendorProductDetailModelView.d.ts +2 -2
  23. package/dist/models/vendorcatalog/ModelView/VendorProductFilterModel.d.ts +3 -3
  24. package/dist/models/vendorcatalog/ModelView/VendorProductListViewResponse.d.ts +3 -3
  25. package/dist/models/vendorcatalog/ModelView/VendorProductRequests.d.ts +5 -5
  26. package/dist/models/vendorcatalog/ModelView/{VendorProductVarientModelView.d.ts → VendorProductVariantModelView.d.ts} +8 -8
  27. package/dist/models/vendorcatalog/ModelView/{VendorProductVarientModelView.d.ts.map → VendorProductVariantModelView.d.ts.map} +1 -1
  28. package/dist/models/vendorcatalog/ModelView/VendorProductVariantModelView.js +2 -0
  29. package/dist/models/vendorcatalog/ModelView/VendorProductVariantModelView.js.map +1 -0
  30. package/dist/models/vendorcatalog/ModelView/index.d.ts +1 -1
  31. package/dist/models/vendorcatalog/ModelView/index.js +1 -1
  32. package/dist/models/vendorcatalog/{VendorProductVarient.d.ts → VendorProductVariant.d.ts} +7 -7
  33. package/dist/models/vendorcatalog/{VendorProductVarient.d.ts.map → VendorProductVariant.d.ts.map} +1 -1
  34. package/dist/models/vendorcatalog/VendorProductVariant.js +2 -0
  35. package/dist/models/vendorcatalog/VendorProductVariant.js.map +1 -0
  36. package/dist/models/vendorcatalog/index.d.ts +2 -2
  37. package/dist/models/vendorcatalog/index.js +2 -2
  38. package/dist/models/vendorrating/VendorKpi.d.ts +1 -1
  39. package/dist/models/vendorrating/VendorTrackRecord.d.ts +2 -2
  40. package/dist/react/CCMSProvider.d.ts.map +1 -1
  41. package/dist/react/CCMSProvider.js +19 -1
  42. package/dist/react/CCMSProvider.js.map +1 -1
  43. package/dist/react/hooks/services/useVendorCatalogServices.d.ts +3 -3
  44. package/dist/react/hooks/services/useVendorCatalogServices.js +3 -3
  45. package/dist/react/hooks/useCCMS.d.ts +7 -0
  46. package/dist/react/hooks/useCCMS.d.ts.map +1 -1
  47. package/dist/react/hooks/useCCMS.js +11 -0
  48. package/dist/react/hooks/useCCMS.js.map +1 -1
  49. package/dist/realtime/index.d.ts +1 -0
  50. package/dist/realtime/index.d.ts.map +1 -1
  51. package/dist/realtime/index.js +1 -0
  52. package/dist/realtime/index.js.map +1 -1
  53. package/dist/realtime/stock/StockClient.d.ts +38 -0
  54. package/dist/realtime/stock/StockClient.d.ts.map +1 -0
  55. package/dist/realtime/stock/StockClient.js +78 -0
  56. package/dist/realtime/stock/StockClient.js.map +1 -0
  57. package/dist/realtime/stock/hooks/useEventStock.d.ts +15 -0
  58. package/dist/realtime/stock/hooks/useEventStock.d.ts.map +1 -0
  59. package/dist/realtime/stock/hooks/useEventStock.js +159 -0
  60. package/dist/realtime/stock/hooks/useEventStock.js.map +1 -0
  61. package/dist/realtime/stock/index.d.ts +8 -0
  62. package/dist/realtime/stock/index.d.ts.map +1 -0
  63. package/dist/realtime/stock/index.js +7 -0
  64. package/dist/realtime/stock/index.js.map +1 -0
  65. package/dist/realtime/stock/types.d.ts +54 -0
  66. package/dist/realtime/stock/types.d.ts.map +1 -0
  67. package/dist/realtime/stock/types.js +6 -0
  68. package/dist/realtime/stock/types.js.map +1 -0
  69. package/dist/services/vendor-portal/VendorPortalProductVariantService.d.ts +16 -16
  70. package/dist/services/vendorcatalog/StockPortalService.d.ts +2 -2
  71. package/dist/services/vendorcatalog/StockPortalService.js +3 -3
  72. package/dist/services/vendorcatalog/{VendorProductVarientService.d.ts → VendorProductVariantService.d.ts} +6 -6
  73. package/dist/services/vendorcatalog/{VendorProductVarientService.d.ts.map → VendorProductVariantService.d.ts.map} +1 -1
  74. package/dist/services/vendorcatalog/{VendorProductVarientService.js → VendorProductVariantService.js} +7 -7
  75. package/dist/services/vendorcatalog/{VendorProductVarientService.js.map → VendorProductVariantService.js.map} +1 -1
  76. package/dist/services/vendorcatalog/index.d.ts +3 -3
  77. package/dist/services/vendorcatalog/index.js +3 -3
  78. package/dist/services/vendorcatalog/models/StockRequestModels.d.ts +6 -3
  79. package/dist/services/vendorcatalog/models/StockRequestModels.d.ts.map +1 -1
  80. package/package.json +1 -1
  81. package/dist/models/vendorcatalog/CacheKeys/VendorProductVarientCacheKeys.d.ts +0 -29
  82. package/dist/models/vendorcatalog/CacheKeys/VendorProductVarientCacheKeys.js +0 -30
  83. package/dist/models/vendorcatalog/ModelView/VendorProductVarientModelView.js +0 -2
  84. package/dist/models/vendorcatalog/ModelView/VendorProductVarientModelView.js.map +0 -1
  85. package/dist/models/vendorcatalog/VendorProductVarient.js +0 -2
  86. package/dist/models/vendorcatalog/VendorProductVarient.js.map +0 -1
@@ -1,3 +1,4 @@
1
+ import type { SignalRClientOptions } from '../realtime/shared/types';
1
2
  /**
2
3
  * Presence client options for activity detection and configuration
3
4
  */
@@ -33,6 +34,12 @@ export interface CCMSConfig {
33
34
  * If not provided, falls back to baseUrl
34
35
  */
35
36
  dashboardsUrl?: string;
37
+ /**
38
+ * Base URL for Stock WebSocket service (e.g., "https://ccms.actschurch.co.za/ws/stock")
39
+ * SDK automatically appends "/stockhub" endpoint
40
+ * If not provided, real-time stock updates are disabled (falls back to HTTP polling)
41
+ */
42
+ stockHubUrl?: string;
36
43
  /** API key for authentication (alternative to JWT) */
37
44
  apiKey?: string;
38
45
  /** Function to retrieve JWT access token */
@@ -47,6 +54,8 @@ export interface CCMSConfig {
47
54
  debug?: boolean;
48
55
  /** Presence client options (activity detection, timeouts, etc.) */
49
56
  presenceOptions?: PresenceOptions;
57
+ /** Stock SignalR client options (reconnection, timeouts, etc.) */
58
+ stockOptions?: SignalRClientOptions;
50
59
  }
51
60
  /**
52
61
  * CCMS SDK version constant
@@ -1 +1 @@
1
- {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/core/Config.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,qGAAqG;IACrG,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB,0FAA0F;IAC1F,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAElC,kEAAkE;IAClE,QAAQ,CAAC,EAAE,KAAK,GAAG,cAAc,CAAC;CACnC;AAED;;GAEG;AACH,MAAM,WAAW,U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AC,EAAE,MAAM,CAAC;IAEjB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,sDAAsD;IACtD,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,MAAM,MAAM,GAAG,IAAI,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAExD,qCAAqC;IACrC,WAAW,CAAC,EAAE,MAAM,MAAM,GAAG,IAAI,CAAC;IAElC,6BAA6B;IAC7B,WAAW,CAAC,EAAE,KAAK,GAAG,IAAI,GAAG,MAAM,CAAC;IAEpC,4DAA4D;IAC5D,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,2BAA2B;IAC3B,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB,mEAAmE;IACnE,eAAe,CAAC,EAAE,eAAe,CAAC;IAElC,kEAAkE;IAClE,YAAY,CAAC,EAAE,oBAAoB,CAAC;CACrC;AAED;;GAEG;AACH,eAAO,MAAM,gBAAgB,UAAU,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Config.js","sourceRoot":"","sources":["../../src/core/Config.ts"],"names":[],"mappings":"AAgEA;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,OAAO,CAAC"}
1
+ {"version":3,"file":"Config.js","sourceRoot":"","sources":["../../src/core/Config.ts"],"names":[],"mappings":"AA4EA;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,OAAO,CAAC"}
@@ -29,14 +29,14 @@ export interface OrderLineModelView {
29
29
  vendorName?: string | null;
30
30
  vendorCode?: string | null;
31
31
  /** @deprecated Use variants collection instead */
32
- varientID?: number | null;
32
+ variantID?: number | null;
33
33
  /** @deprecated Use variants collection instead */
34
- varientName?: string | null;
34
+ variantName?: string | null;
35
35
  /** @deprecated Use variants collection instead */
36
- varientValue?: string | null;
36
+ variantValue?: string | null;
37
37
  basePrice?: number | null;
38
38
  /** @deprecated Use variants collection instead */
39
- varientAdditionalPrice?: number | null;
39
+ variantAdditionalPrice?: number | null;
40
40
  amount: number;
41
41
  notes?: string | null;
42
42
  createdDateTime: number;
@@ -129,11 +129,11 @@ export interface CreateOrderLineRequest {
129
129
  sizeId: number;
130
130
  locationId: number;
131
131
  vendorId?: number | null;
132
- varientId?: number | null;
133
- varientName?: string | null;
134
- varientValue?: string | null;
132
+ variantId?: number | null;
133
+ variantName?: string | null;
134
+ variantValue?: string | null;
135
135
  basePrice?: number | null;
136
- varientAdditionalPrice?: number | null;
136
+ variantAdditionalPrice?: number | null;
137
137
  notes?: string | null;
138
138
  }
139
139
  /**
@@ -11,14 +11,14 @@ export interface OrderLine {
11
11
  productDescription?: string | null;
12
12
  vendorID?: number | null;
13
13
  /** @deprecated Use OrderLineVariant table instead */
14
- varientID?: number | null;
14
+ variantID?: number | null;
15
15
  /** @deprecated Use OrderLineVariant table instead */
16
- varientName?: string | null;
16
+ variantName?: string | null;
17
17
  /** @deprecated Use OrderLineVariant table instead */
18
- varientValue?: string | null;
18
+ variantValue?: string | null;
19
19
  basePrice?: number | null;
20
20
  /** @deprecated Use OrderLineVariant table instead */
21
- varientAdditionalPrice?: number | null;
21
+ variantAdditionalPrice?: number | null;
22
22
  quantity: number;
23
23
  unitPrice: number;
24
24
  colorID: number;
@@ -27,11 +27,11 @@ export interface ShopOrderLineRequest {
27
27
  quantity: number;
28
28
  unitPrice: number;
29
29
  vendorId?: number | null;
30
- varientId?: number | null;
31
- varientName?: string | null;
32
- varientValue?: string | null;
30
+ variantId?: number | null;
31
+ variantName?: string | null;
32
+ variantValue?: string | null;
33
33
  basePrice?: number | null;
34
- varientAdditionalPrice?: number | null;
34
+ variantAdditionalPrice?: number | null;
35
35
  addOns?: ShopOrderLineAddOnRequest[] | null;
36
36
  variants?: ShopOrderLineVariantRequest[] | null;
37
37
  }
@@ -37,7 +37,7 @@ export declare const EventStockInterestKeys: {
37
37
  * Interest counter key for a variant.
38
38
  * Example: CCMS:Stock:Interest:10:variant:15
39
39
  */
40
- readonly variant: (eventId: number, varientId: number) => string;
40
+ readonly variant: (eventId: number, variantId: number) => string;
41
41
  /**
42
42
  * Interest counter key for an add-on.
43
43
  * Example: CCMS:Stock:Interest:10:addon:5
@@ -39,7 +39,7 @@ export const EventStockInterestKeys = {
39
39
  * Interest counter key for a variant.
40
40
  * Example: CCMS:Stock:Interest:10:variant:15
41
41
  */
42
- variant: (eventId, varientId) => `${INTEREST_PREFIX}:${eventId}:variant:${varientId}`,
42
+ variant: (eventId, variantId) => `${INTEREST_PREFIX}:${eventId}:variant:${variantId}`,
43
43
  /**
44
44
  * Interest counter key for an add-on.
45
45
  * Example: CCMS:Stock:Interest:10:addon:5
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Vendor Product Variant Cache Keys
3
+ *
4
+ * Centralized cache keys for VendorProductVariant entity.
5
+ * Pattern: CCMS:VendorCatalog:VendorProductVariant:{operation}:{id}
6
+ */
7
+ export declare const VendorProductVariantCacheKeys: {
8
+ /**
9
+ * Cache key for individual vendor product variant by ID.
10
+ * Example: CCMS:VendorCatalog:VendorProductVariant:123
11
+ */
12
+ readonly item: (variantId: number) => string;
13
+ /**
14
+ * Cache key for all vendor product variants list.
15
+ * Example: CCMS:VendorCatalog:VendorProductVariant:All
16
+ */
17
+ readonly all: () => string;
18
+ /**
19
+ * Cache key for variants by product.
20
+ * Example: CCMS:VendorCatalog:VendorProductVariant:Product:123
21
+ */
22
+ readonly byProduct: (productId: number) => string;
23
+ /**
24
+ * Pattern for wildcard deletion.
25
+ * Example: CCMS:VendorCatalog:VendorProductVariant:*
26
+ */
27
+ readonly pattern: () => string;
28
+ };
29
+ //# sourceMappingURL=VendorProductVariantCacheKeys.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"VendorProductVarientCacheKeys.d.ts","sourceRoot":"","sources":["../../../../src/models/vendorcatalog/CacheKeys/VendorProductVarientCacheKeys.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,eAAO,MAAM,6BAA6B;IACxC;;;OAGG;+BACe,MAAM,KAAG,MAAM;IAEjC;;;OAGG;wBACM,MAAM;IAEf;;;OAGG;oCACoB,MAAM,KAAG,MAAM;IAEtC;;;OAGG;4BACU,MAAM;CACX,CAAC"}
1
+ {"version":3,"file":"VendorProductVariantCacheKeys.d.ts","sourceRoot":"","sources":["../../../../src/models/vendorcatalog/CacheKeys/VendorProductVariantCacheKeys.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,eAAO,MAAM,6BAA6B;IACxC;;;OAGG;+BACe,MAAM,KAAG,MAAM;IAEjC;;;OAGG;wBACM,MAAM;IAEf;;;OAGG;oCACoB,MAAM,KAAG,MAAM;IAEtC;;;OAGG;4BACU,MAAM;CACX,CAAC"}
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Vendor Product Variant Cache Keys
3
+ *
4
+ * Centralized cache keys for VendorProductVariant entity.
5
+ * Pattern: CCMS:VendorCatalog:VendorProductVariant:{operation}:{id}
6
+ */
7
+ const PREFIX = 'CCMS:VendorCatalog:VendorProductVariant';
8
+ export const VendorProductVariantCacheKeys = {
9
+ /**
10
+ * Cache key for individual vendor product variant by ID.
11
+ * Example: CCMS:VendorCatalog:VendorProductVariant:123
12
+ */
13
+ item: (variantId) => `${PREFIX}:${variantId}`,
14
+ /**
15
+ * Cache key for all vendor product variants list.
16
+ * Example: CCMS:VendorCatalog:VendorProductVariant:All
17
+ */
18
+ all: () => `${PREFIX}:All`,
19
+ /**
20
+ * Cache key for variants by product.
21
+ * Example: CCMS:VendorCatalog:VendorProductVariant:Product:123
22
+ */
23
+ byProduct: (productId) => `${PREFIX}:Product:${productId}`,
24
+ /**
25
+ * Pattern for wildcard deletion.
26
+ * Example: CCMS:VendorCatalog:VendorProductVariant:*
27
+ */
28
+ pattern: () => `${PREFIX}:*`,
29
+ };
30
+ //# sourceMappingURL=VendorProductVariantCacheKeys.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"VendorProductVarientCacheKeys.js","sourceRoot":"","sources":["../../../../src/models/vendorcatalog/CacheKeys/VendorProductVarientCacheKeys.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,MAAM,GAAG,yCAAyC,CAAC;AAEzD,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC3C;;;OAGG;IACH,IAAI,EAAE,CAAC,SAAiB,EAAU,EAAE,CAAC,GAAG,MAAM,IAAI,SAAS,EAAE;IAE7D;;;OAGG;IACH,GAAG,EAAE,GAAW,EAAE,CAAC,GAAG,MAAM,MAAM;IAElC;;;OAGG;IACH,SAAS,EAAE,CAAC,SAAiB,EAAU,EAAE,CAAC,GAAG,MAAM,YAAY,SAAS,EAAE;IAE1E;;;OAGG;IACH,OAAO,EAAE,GAAW,EAAE,CAAC,GAAG,MAAM,IAAI;CAC5B,CAAC"}
1
+ {"version":3,"file":"VendorProductVariantCacheKeys.js","sourceRoot":"","sources":["../../../../src/models/vendorcatalog/CacheKeys/VendorProductVariantCacheKeys.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,MAAM,GAAG,yCAAyC,CAAC;AAEzD,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC3C;;;OAGG;IACH,IAAI,EAAE,CAAC,SAAiB,EAAU,EAAE,CAAC,GAAG,MAAM,IAAI,SAAS,EAAE;IAE7D;;;OAGG;IACH,GAAG,EAAE,GAAW,EAAE,CAAC,GAAG,MAAM,MAAM;IAElC;;;OAGG;IACH,SAAS,EAAE,CAAC,SAAiB,EAAU,EAAE,CAAC,GAAG,MAAM,YAAY,SAAS,EAAE;IAE1E;;;OAGG;IACH,OAAO,EAAE,GAAW,EAAE,CAAC,GAAG,MAAM,IAAI;CAC5B,CAAC"}
@@ -5,7 +5,7 @@ export * from './VendorProductCacheKeys';
5
5
  export * from './VendorProductStatusCacheKeys';
6
6
  export * from './VendorProductTypeCacheKeys';
7
7
  export * from './VendorProductCategoryCacheKeys';
8
- export * from './VendorProductVarientCacheKeys';
8
+ export * from './VendorProductVariantCacheKeys';
9
9
  export * from './VendorProductMediaCacheKeys';
10
10
  export * from './VendorProductMediaTypeCacheKeys';
11
11
  export * from './VendorProductAnalyticCacheKeys';
@@ -5,7 +5,7 @@ export * from './VendorProductCacheKeys';
5
5
  export * from './VendorProductStatusCacheKeys';
6
6
  export * from './VendorProductTypeCacheKeys';
7
7
  export * from './VendorProductCategoryCacheKeys';
8
- export * from './VendorProductVarientCacheKeys';
8
+ export * from './VendorProductVariantCacheKeys';
9
9
  export * from './VendorProductMediaCacheKeys';
10
10
  export * from './VendorProductMediaTypeCacheKeys';
11
11
  export * from './VendorProductAnalyticCacheKeys';
@@ -2,12 +2,12 @@
2
2
  * Event Variant Stock Entity
3
3
  *
4
4
  * Represents the stock level for a specific variant at a specific event.
5
- * Uses composite key (VarientID, EventID).
5
+ * Uses composite key (VariantID, EventID).
6
6
  * Maps to the EventVariantStock table in the database.
7
7
  */
8
8
  export interface EventVariantStock {
9
- /** Variant ID (Composite Key to VendorProductVarient) */
10
- varientID: number;
9
+ /** Variant ID (Composite Key to VendorProductVariant) */
10
+ variantID: number;
11
11
  /** Event ID (Composite Key to Event) */
12
12
  eventID: number;
13
13
  /** Maximum total quantity available for this variant at the event */
@@ -11,7 +11,8 @@
11
11
  export declare enum StockAvailability {
12
12
  Available = "Available",
13
13
  LowStock = "LowStock",
14
- SoldOut = "SoldOut"
14
+ SoldOut = "SoldOut",
15
+ Unavailable = "Unavailable"
15
16
  }
16
17
  /**
17
18
  * Product stock status at a specific event
@@ -21,6 +22,10 @@ export interface ProductStockStatusModelView {
21
22
  productID: number;
22
23
  /** Event ID */
23
24
  eventID: number;
25
+ /** Product name */
26
+ productName: string;
27
+ /** Product code / SKU */
28
+ productCode?: string | null;
24
29
  /** Maximum total quantity available */
25
30
  maxTotalQuantity: number;
26
31
  /** Number of units sold */
@@ -43,11 +48,11 @@ export interface ProductStockStatusModelView {
43
48
  */
44
49
  export interface VariantStockStatusModelView {
45
50
  /** Variant ID */
46
- varientID: number;
51
+ variantID: number;
47
52
  /** Variant name (e.g., "Small", "Red") */
48
- varientName?: string | null;
53
+ variantName?: string | null;
49
54
  /** Variant value */
50
- varientValue?: string | null;
55
+ variantValue?: string | null;
51
56
  /** Maximum total quantity available */
52
57
  maxTotalQuantity: number;
53
58
  /** Number of units sold */
@@ -58,6 +63,8 @@ export interface VariantStockStatusModelView {
58
63
  availability: StockAvailability;
59
64
  /** Number of people interested in this variant */
60
65
  interestedCount: number;
66
+ /** Whether this variant has been manually marked unavailable by the vendor */
67
+ isUnavailable: boolean;
61
68
  }
62
69
  /**
63
70
  * Add-on stock status at a specific event
@@ -77,5 +84,7 @@ export interface AddOnStockStatusModelView {
77
84
  availability: StockAvailability;
78
85
  /** Number of people interested in this add-on */
79
86
  interestedCount: number;
87
+ /** Whether this add-on has been manually marked unavailable by the vendor */
88
+ isUnavailable: boolean;
80
89
  }
81
90
  //# sourceMappingURL=ProductStockStatusModelView.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProductStockStatusModelView.d.ts","sourceRoot":"","sources":["../../../../src/models/vendorcatalog/ModelView/ProductStockStatusModelView.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;GAEG;AACH,oBAAY,iBAAiB;IAC3B,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,OAAO,YAAY;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C,iBAAiB;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,uCAAuC;IACvC,gBAAgB,EAAE,MAAM,CAAC;IACzB,2BAA2B;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,kDAAkD;IAClD,cAAc,EAAE,MAAM,CAAC;IACvB,gDAAgD;IAChD,mBAAmB,EAAE,MAAM,CAAC;IAC5B,0BAA0B;IAC1B,YAAY,EAAE,iBAAiB,CAAC;IAChC,qEAAqE;IACrE,eAAe,EAAE,MAAM,CAAC;IACxB,wEAAwE;IACxE,YAAY,CAAC,EAAE,2BAA2B,EAAE,GAAG,IAAI,CAAC;IACpD,sEAAsE;IACtE,UAAU,CAAC,EAAE,yBAAyB,EAAE,GAAG,IAAI,CAAC;CACjD;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C,iBAAiB;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,0CAA0C;IAC1C,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,oBAAoB;IACpB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,uCAAuC;IACvC,gBAAgB,EAAE,MAAM,CAAC;IACzB,2BAA2B;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,gCAAgC;IAChC,cAAc,EAAE,MAAM,CAAC;IACvB,0BAA0B;IAC1B,YAAY,EAAE,iBAAiB,CAAC;IAChC,kDAAkD;IAClD,eAAe,EAAE,MAAM,CAAC;CACzB;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC,gBAAgB;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,kBAAkB;IAClB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,uCAAuC;IACvC,gBAAgB,EAAE,MAAM,CAAC;IACzB,2BAA2B;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,gCAAgC;IAChC,cAAc,EAAE,MAAM,CAAC;IACvB,0BAA0B;IAC1B,YAAY,EAAE,iBAAiB,CAAC;IAChC,iDAAiD;IACjD,eAAe,EAAE,MAAM,CAAC;CACzB"}
1
+ {"version":3,"file":"ProductStockStatusModelView.d.ts","sourceRoot":"","sources":["../../../../src/models/vendorcatalog/ModelView/ProductStockStatusModelView.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;GAEG;AACH,oBAAY,iBAAiB;IAC3B,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,OA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gBAAgB;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,kBAAkB;IAClB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,uCAAuC;IACvC,gBAAgB,EAAE,MAAM,CAAC;IACzB,2BAA2B;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,gCAAgC;IAChC,cAAc,EAAE,MAAM,CAAC;IACvB,0BAA0B;IAC1B,YAAY,EAAE,iBAAiB,CAAC;IAChC,iDAAiD;IACjD,eAAe,EAAE,MAAM,CAAC;IACxB,6EAA6E;IAC7E,aAAa,EAAE,OAAO,CAAC;CACxB"}
@@ -13,5 +13,6 @@ export var StockAvailability;
13
13
  StockAvailability["Available"] = "Available";
14
14
  StockAvailability["LowStock"] = "LowStock";
15
15
  StockAvailability["SoldOut"] = "SoldOut";
16
+ StockAvailability["Unavailable"] = "Unavailable";
16
17
  })(StockAvailability || (StockAvailability = {}));
17
18
  //# sourceMappingURL=ProductStockStatusModelView.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProductStockStatusModelView.js","sourceRoot":"","sources":["../../../../src/models/vendorcatalog/ModelView/ProductStockStatusModelView.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;GAEG;AACH,MAAM,CAAN,IAAY,iBAIX;AAJD,WAAY,iBAAiB;IAC3B,4CAAuB,CAAA;IACvB,0CAAqB,CAAA;IACrB,wCAAmB,CAAA;AACrB,CAAC,EAJW,iBAAiB,KAAjB,iBAAiB,QAI5B"}
1
+ {"version":3,"file":"ProductStockStatusModelView.js","sourceRoot":"","sources":["../../../../src/models/vendorcatalog/ModelView/ProductStockStatusModelView.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;GAEG;AACH,MAAM,CAAN,IAAY,iBAKX;AALD,WAAY,iBAAiB;IAC3B,4CAAuB,CAAA;IACvB,0CAAqB,CAAA;IACrB,wCAAmB,CAAA;IACnB,gDAA2B,CAAA;AAC7B,CAAC,EALW,iBAAiB,KAAjB,iBAAiB,QAK5B"}
@@ -6,7 +6,7 @@
6
6
  * Maps to: CCMSLib.Models.VendorCatalog.ModelView.ShopEventProductModelView
7
7
  */
8
8
  import type { VendorProductMediaModelView } from './VendorProductMediaModelView';
9
- import type { VendorProductVarientModelView } from './VendorProductVarientModelView';
9
+ import type { VendorProductVariantModelView } from './VendorProductVariantModelView';
10
10
  import type { VendorProductAddOnModelView } from './VendorProductAddOnModelView';
11
11
  import type { ProductStockStatusModelView } from './ProductStockStatusModelView';
12
12
  export interface ShopEventProductModelView {
@@ -59,7 +59,7 @@ export interface ShopEventProductModelView {
59
59
  /** All media files for this product */
60
60
  mediaFiles?: VendorProductMediaModelView[] | null;
61
61
  /** Active product variants */
62
- productVarients?: VendorProductVarientModelView[] | null;
62
+ productVariants?: VendorProductVariantModelView[] | null;
63
63
  /** Active product add-ons */
64
64
  productAddOns?: VendorProductAddOnModelView[] | null;
65
65
  /** Full stock status with variant/addon breakdown */
@@ -5,7 +5,7 @@
5
5
  * Extends VendorProductModelView.
6
6
  */
7
7
  import { VendorProductModelView } from './VendorProductModelView';
8
- import { VendorProductVarientModelView } from './VendorProductVarientModelView';
8
+ import { VendorProductVariantModelView } from './VendorProductVariantModelView';
9
9
  import { VendorProductMediaModelView } from './VendorProductMediaModelView';
10
10
  import { VendorProductRuleModelView } from './VendorProductRuleModelView';
11
11
  import { VendorProductEventLimitModelView } from './VendorProductEventLimitModelView';
@@ -13,7 +13,7 @@ import { VendorProductLogModelView } from './VendorProductLogModelView';
13
13
  import { VendorProductAnalyticsSummary } from './VendorProductAnalyticModelView';
14
14
  export interface VendorProductDetailModelView extends VendorProductModelView {
15
15
  /** Product variants */
16
- variants?: VendorProductVarientModelView[] | null;
16
+ variants?: VendorProductVariantModelView[] | null;
17
17
  /** Product media */
18
18
  media?: VendorProductMediaModelView[] | null;
19
19
  /** Product rules */
@@ -36,11 +36,11 @@ export interface VendorProductFilterModel {
36
36
  sortDescending: boolean;
37
37
  }
38
38
  /**
39
- * Vendor Product Varient Filter Model
39
+ * Vendor Product Variant Filter Model
40
40
  *
41
41
  * Filter model for querying vendor product variants.
42
42
  */
43
- export interface VendorProductVarientFilterModel {
43
+ export interface VendorProductVariantFilterModel {
44
44
  /** Page number (1-based) */
45
45
  page: number;
46
46
  /** Number of items per page */
@@ -50,7 +50,7 @@ export interface VendorProductVarientFilterModel {
50
50
  /** Filter by active status */
51
51
  isActive?: boolean | null;
52
52
  /** Filter by variant name */
53
- varientName?: string | null;
53
+ variantName?: string | null;
54
54
  /** Search term */
55
55
  searchTerm?: string | null;
56
56
  /** Field to sort by */
@@ -4,7 +4,7 @@
4
4
  * Paginated response wrappers for vendor product lists with summary statistics.
5
5
  */
6
6
  import type { VendorProductModelView } from './VendorProductModelView';
7
- import type { VendorProductVarientModelView } from './VendorProductVarientModelView';
7
+ import type { VendorProductVariantModelView } from './VendorProductVariantModelView';
8
8
  import type { VendorProductMediaModelView } from './VendorProductMediaModelView';
9
9
  /**
10
10
  * Paginated response wrapper for vendor product lists.
@@ -36,9 +36,9 @@ export interface VendorProductListViewResponse {
36
36
  /**
37
37
  * Paginated response wrapper for vendor product variant lists.
38
38
  */
39
- export interface VendorProductVarientListViewResponse {
39
+ export interface VendorProductVariantListViewResponse {
40
40
  /** List of variants */
41
- variants: VendorProductVarientModelView[];
41
+ variants: VendorProductVariantModelView[];
42
42
  /** Total number of variants matching the filter */
43
43
  totalCount: number;
44
44
  /** Current page number */
@@ -32,7 +32,7 @@ export interface CreateVendorProductRequest {
32
32
  /** Maximum order quantity (defaults to 100) */
33
33
  maxOrderQuantity?: number;
34
34
  /** Optional initial variants to create */
35
- variants?: CreateVendorProductVarientRequest[] | null;
35
+ variants?: CreateVendorProductVariantRequest[] | null;
36
36
  /** Optional initial media to create */
37
37
  media?: CreateVendorProductMediaRequest[] | null;
38
38
  }
@@ -68,15 +68,15 @@ export interface UpdateVendorProductRequest {
68
68
  /**
69
69
  * Request model for creating a product variant.
70
70
  */
71
- export interface CreateVendorProductVarientRequest {
71
+ export interface CreateVendorProductVariantRequest {
72
72
  /** Variant ID (optional, for updates) */
73
- varientID?: number | null;
73
+ variantID?: number | null;
74
74
  /** Product ID (required) */
75
75
  productID: number;
76
76
  /** Variant name (required, 1-100 characters) */
77
- varientName: string;
77
+ variantName: string;
78
78
  /** Variant value (required, 1-100 characters) */
79
- varientValue: string;
79
+ variantValue: string;
80
80
  /** Additional price for this variant */
81
81
  additionalPrice?: number;
82
82
  /** Whether variant is active (defaults to true) */
@@ -1,17 +1,17 @@
1
1
  /**
2
- * Vendor Product Varient Model View
2
+ * Vendor Product Variant Model View
3
3
  *
4
- * Enriched view model for VendorProductVarient with product details.
4
+ * Enriched view model for VendorProductVariant with product details.
5
5
  */
6
- export interface VendorProductVarientModelView {
6
+ export interface VendorProductVariantModelView {
7
7
  /** Unique variant identifier */
8
- varientID: number;
8
+ variantID: number;
9
9
  /** Product ID */
10
10
  productID: number;
11
11
  /** Variant name (e.g., Size, Color) */
12
- varientName?: string | null;
12
+ variantName?: string | null;
13
13
  /** Variant value (e.g., Large, Red) */
14
- varientValue?: string | null;
14
+ variantValue?: string | null;
15
15
  /** Additional price for this variant */
16
16
  additionalPrice: number;
17
17
  /** Whether this variant is active */
@@ -27,7 +27,7 @@ export interface VendorProductVarientModelView {
27
27
  /** Last modification timestamp (yyyyMMddHHmmss) */
28
28
  modifiedDateTime: number;
29
29
  /** Variant display string (e.g., "Size: Large") */
30
- varientDisplay: string;
30
+ variantDisplay: string;
31
31
  /** Total price (base + additional) */
32
32
  totalPrice: number;
33
33
  /** Total price display string */
@@ -37,4 +37,4 @@ export interface VendorProductVarientModelView {
37
37
  /** Status display (Active/Inactive) */
38
38
  statusDisplay: string;
39
39
  }
40
- //# sourceMappingURL=VendorProductVarientModelView.d.ts.map
40
+ //# sourceMappingURL=VendorProductVariantModelView.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"VendorProductVarientModelView.d.ts","sourceRoot":"","sources":["../../../../src/models/vendorcatalog/ModelView/VendorProductVarientModelView.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,6BAA6B;IAE5C,gCAAgC;IAChC,SAAS,EAAE,MAAM,CAAC;IAClB,iBAAiB;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,uCAAuC;IACvC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,uCAAuC;IACvC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,wCAAwC;IACxC,eAAe,EAAE,MAAM,CAAC;IACxB,qCAAqC;IACrC,QAAQ,EAAE,OAAO,CAAC;IAGlB,mBAAmB;IACnB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,mBAAmB;IACnB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,yBAAyB;IACzB,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGjC,0CAA0C;IAC1C,eAAe,EAAE,MAAM,CAAC;IACxB,mDAAmD;IACnD,gBAAgB,EAAE,MAAM,CAAC;IAGzB,mDAAmD;IACnD,cAAc,EAAE,MAAM,CAAC;IACvB,sCAAsC;IACtC,UAAU,EAAE,MAAM,CAAC;IACnB,iCAAiC;IACjC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,uDAAuD;IACvD,sBAAsB,EAAE,MAAM,CAAC;IAC/B,uCAAuC;IACvC,aAAa,EAAE,MAAM,CAAC;CACvB"}
1
+ {"version":3,"file":"VendorProductVariantModelView.d.ts","sourceRoot":"","sources":["../../../../src/models/vendorcatalog/ModelView/VendorProductVariantModelView.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,6BAA6B;IAE5C,gCAAgC;IAChC,SAAS,EAAE,MAAM,CAAC;IAClB,iBAAiB;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,uCAAuC;IACvC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,uCAAuC;IACvC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,wCAAwC;IACxC,eAAe,EAAE,MAAM,CAAC;IACxB,qCAAqC;IACrC,QAAQ,EAAE,OAAO,CAAC;IAGlB,mBAAmB;IACnB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,mBAAmB;IACnB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,yBAAyB;IACzB,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGjC,0CAA0C;IAC1C,eAAe,EAAE,MAAM,CAAC;IACxB,mDAAmD;IACnD,gBAAgB,EAAE,MAAM,CAAC;IAGzB,mDAAmD;IACnD,cAAc,EAAE,MAAM,CAAC;IACvB,sCAAsC;IACtC,UAAU,EAAE,MAAM,CAAC;IACnB,iCAAiC;IACjC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,uDAAuD;IACvD,sBAAsB,EAAE,MAAM,CAAC;IAC/B,uCAAuC;IACvC,aAAa,EAAE,MAAM,CAAC;CACvB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=VendorProductVariantModelView.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VendorProductVariantModelView.js","sourceRoot":"","sources":["../../../../src/models/vendorcatalog/ModelView/VendorProductVariantModelView.ts"],"names":[],"mappings":""}
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export * from './VendorProductModelView';
5
5
  export * from './VendorProductDetailModelView';
6
- export * from './VendorProductVarientModelView';
6
+ export * from './VendorProductVariantModelView';
7
7
  export * from './VendorProductMediaModelView';
8
8
  export * from './VendorProductRuleModelView';
9
9
  export * from './VendorProductEventLimitModelView';
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export * from './VendorProductModelView';
5
5
  export * from './VendorProductDetailModelView';
6
- export * from './VendorProductVarientModelView';
6
+ export * from './VendorProductVariantModelView';
7
7
  export * from './VendorProductMediaModelView';
8
8
  export * from './VendorProductRuleModelView';
9
9
  export * from './VendorProductEventLimitModelView';
@@ -1,18 +1,18 @@
1
1
  /**
2
- * Vendor Product Varient Entity
2
+ * Vendor Product Variant Entity
3
3
  *
4
4
  * Represents variants associated with vendor products.
5
- * Maps to the VendorProductVarient table in the database.
5
+ * Maps to the VendorProductVariant table in the database.
6
6
  */
7
- export interface VendorProductVarient {
7
+ export interface VendorProductVariant {
8
8
  /** Unique variant identifier (Primary Key - Auto Identity) */
9
- varientID: number;
9
+ variantID: number;
10
10
  /** Product ID (Foreign Key to VendorProduct) */
11
11
  productID: number;
12
12
  /** Variant name (e.g., Size, Color) */
13
- varientName?: string | null;
13
+ variantName?: string | null;
14
14
  /** Variant value (e.g., Large, Red) */
15
- varientValue?: string | null;
15
+ variantValue?: string | null;
16
16
  /** FK to VendorProductVariantCategory (optional) */
17
17
  vendorProductVariantCategoryID?: number | null;
18
18
  /** Additional price for this variant */
@@ -24,4 +24,4 @@ export interface VendorProductVarient {
24
24
  /** Last modification timestamp (yyyyMMddHHmmss) */
25
25
  modifiedDateTime: number;
26
26
  }
27
- //# sourceMappingURL=VendorProductVarient.d.ts.map
27
+ //# sourceMappingURL=VendorProductVariant.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"VendorProductVarient.d.ts","sourceRoot":"","sources":["../../../src/models/vendorcatalog/VendorProductVarient.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,WAAW,oBAAoB;IACnC,8DAA8D;IAC9D,SAAS,EAAE,MAAM,CAAC;IAClB,gDAAgD;IAChD,SAAS,EAAE,MAAM,CAAC;IAClB,uCAAuC;IACvC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,uCAAuC;IACvC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,oDAAoD;IACpD,8BAA8B,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/C,wCAAwC;IACxC,eAAe,EAAE,MAAM,CAAC;IACxB,qCAAqC;IACrC,QAAQ,EAAE,OAAO,CAAC;IAClB,0CAA0C;IAC1C,eAAe,EAAE,MAAM,CAAC;IACxB,mDAAmD;IACnD,gBAAgB,EAAE,MAAM,CAAC;CAC1B"}
1
+ {"version":3,"file":"VendorProductVariant.d.ts","sourceRoot":"","sources":["../../../src/models/vendorcatalog/VendorProductVariant.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,WAAW,oBAAoB;IACnC,8DAA8D;IAC9D,SAAS,EAAE,MAAM,CAAC;IAClB,gDAAgD;IAChD,SAAS,EAAE,MAAM,CAAC;IAClB,uCAAuC;IACvC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,uCAAuC;IACvC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,oDAAoD;IACpD,8BAA8B,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/C,wCAAwC;IACxC,eAAe,EAAE,MAAM,CAAC;IACxB,qCAAqC;IACrC,QAAQ,EAAE,OAAO,CAAC;IAClB,0CAA0C;IAC1C,eAAe,EAAE,MAAM,CAAC;IACxB,mDAAmD;IACnD,gBAAgB,EAAE,MAAM,CAAC;CAC1B"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=VendorProductVariant.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VendorProductVariant.js","sourceRoot":"","sources":["../../../src/models/vendorcatalog/VendorProductVariant.ts"],"names":[],"mappings":""}
@@ -2,7 +2,7 @@
2
2
  * VendorCatalog Domain Exports
3
3
  *
4
4
  * This module exports all VendorCatalog domain models including:
5
- * - Core entities (VendorProduct, VendorProductVarient, VendorProductMedia, etc.)
5
+ * - Core entities (VendorProduct, VendorProductVariant, VendorProductMedia, etc.)
6
6
  * - Reference data (VendorProductStatus, VendorProductType, VendorProductMediaType, etc.)
7
7
  * - ModelViews (enriched view models with computed properties)
8
8
  * - CacheKeys (centralized cache key management)
@@ -11,7 +11,7 @@ export * from './VendorProduct';
11
11
  export * from './VendorProductStatus';
12
12
  export * from './VendorProductType';
13
13
  export * from './VendorProductCategory';
14
- export * from './VendorProductVarient';
14
+ export * from './VendorProductVariant';
15
15
  export * from './VendorProductMedia';
16
16
  export * from './VendorProductMediaType';
17
17
  export * from './VendorProductAnalytic';
@@ -2,7 +2,7 @@
2
2
  * VendorCatalog Domain Exports
3
3
  *
4
4
  * This module exports all VendorCatalog domain models including:
5
- * - Core entities (VendorProduct, VendorProductVarient, VendorProductMedia, etc.)
5
+ * - Core entities (VendorProduct, VendorProductVariant, VendorProductMedia, etc.)
6
6
  * - Reference data (VendorProductStatus, VendorProductType, VendorProductMediaType, etc.)
7
7
  * - ModelViews (enriched view models with computed properties)
8
8
  * - CacheKeys (centralized cache key management)
@@ -12,7 +12,7 @@ export * from './VendorProduct';
12
12
  export * from './VendorProductStatus';
13
13
  export * from './VendorProductType';
14
14
  export * from './VendorProductCategory';
15
- export * from './VendorProductVarient';
15
+ export * from './VendorProductVariant';
16
16
  export * from './VendorProductMedia';
17
17
  export * from './VendorProductMediaType';
18
18
  export * from './VendorProductAnalytic';
@@ -7,7 +7,7 @@ export interface VendorKpi {
7
7
  /** Unique KPI identifier (Primary Key) */
8
8
  kpiID: number;
9
9
  /** Vendor ID this KPI is for */
10
- vendorId: number;
10
+ vendorID: number;
11
11
  /** Period start date (ISO format) */
12
12
  periodStart: string;
13
13
  /** Period end date (ISO format) */
@@ -7,9 +7,9 @@ export interface VendorTrackRecord {
7
7
  /** Unique track record identifier (Primary Key) */
8
8
  id: number;
9
9
  /** Vendor ID this record is for */
10
- vendorId: number;
10
+ vendorID: number;
11
11
  /** Term period ID */
12
- termPeriodId: number;
12
+ termPeriodID: number;
13
13
  /** Year of the track record */
14
14
  year: number;
15
15
  /** Total revenue for the period */
@@ -1 +1 @@
1
- {"version":3,"file":"CCMSProvider.d.ts","sourceRoot":"","sources":["../../src/react/CCMSProvider.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAE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