@wix/auto_sdk_benefit-programs_pool-definitions 1.0.1 → 1.0.3
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/build/cjs/src/benefit-programs-v1-pool-definition-pool-definitions.context.d.ts +1 -1
- package/build/cjs/src/benefit-programs-v1-pool-definition-pool-definitions.public.d.ts +1 -1
- package/build/cjs/src/benefit-programs-v1-pool-definition-pool-definitions.public.js.map +1 -1
- package/build/cjs/src/benefit-programs-v1-pool-definition-pool-definitions.types.d.ts +211 -43
- package/build/cjs/src/benefit-programs-v1-pool-definition-pool-definitions.types.js.map +1 -1
- package/build/cjs/src/benefit-programs-v1-pool-definition-pool-definitions.universal.d.ts +245 -48
- package/build/cjs/src/benefit-programs-v1-pool-definition-pool-definitions.universal.js +6 -0
- package/build/cjs/src/benefit-programs-v1-pool-definition-pool-definitions.universal.js.map +1 -1
- package/build/es/src/benefit-programs-v1-pool-definition-pool-definitions.context.d.ts +1 -1
- package/build/es/src/benefit-programs-v1-pool-definition-pool-definitions.public.d.ts +1 -1
- package/build/es/src/benefit-programs-v1-pool-definition-pool-definitions.public.js.map +1 -1
- package/build/es/src/benefit-programs-v1-pool-definition-pool-definitions.types.d.ts +211 -43
- package/build/es/src/benefit-programs-v1-pool-definition-pool-definitions.types.js.map +1 -1
- package/build/es/src/benefit-programs-v1-pool-definition-pool-definitions.universal.d.ts +245 -48
- package/build/es/src/benefit-programs-v1-pool-definition-pool-definitions.universal.js +6 -0
- package/build/es/src/benefit-programs-v1-pool-definition-pool-definitions.universal.js.map +1 -1
- package/build/internal/cjs/src/benefit-programs-v1-pool-definition-pool-definitions.context.d.ts +1 -1
- package/build/internal/cjs/src/benefit-programs-v1-pool-definition-pool-definitions.public.d.ts +1 -1
- package/build/internal/cjs/src/benefit-programs-v1-pool-definition-pool-definitions.public.js.map +1 -1
- package/build/internal/cjs/src/benefit-programs-v1-pool-definition-pool-definitions.types.d.ts +211 -43
- package/build/internal/cjs/src/benefit-programs-v1-pool-definition-pool-definitions.types.js.map +1 -1
- package/build/internal/cjs/src/benefit-programs-v1-pool-definition-pool-definitions.universal.d.ts +245 -48
- package/build/internal/cjs/src/benefit-programs-v1-pool-definition-pool-definitions.universal.js +6 -0
- package/build/internal/cjs/src/benefit-programs-v1-pool-definition-pool-definitions.universal.js.map +1 -1
- package/build/internal/es/src/benefit-programs-v1-pool-definition-pool-definitions.context.d.ts +1 -1
- package/build/internal/es/src/benefit-programs-v1-pool-definition-pool-definitions.public.d.ts +1 -1
- package/build/internal/es/src/benefit-programs-v1-pool-definition-pool-definitions.public.js.map +1 -1
- package/build/internal/es/src/benefit-programs-v1-pool-definition-pool-definitions.types.d.ts +211 -43
- package/build/internal/es/src/benefit-programs-v1-pool-definition-pool-definitions.types.js.map +1 -1
- package/build/internal/es/src/benefit-programs-v1-pool-definition-pool-definitions.universal.d.ts +245 -48
- package/build/internal/es/src/benefit-programs-v1-pool-definition-pool-definitions.universal.js +6 -0
- package/build/internal/es/src/benefit-programs-v1-pool-definition-pool-definitions.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -12,4 +12,4 @@ export declare const addPoolDefinitionToProgramDefinition: MaybeContext<BuildRES
|
|
|
12
12
|
export declare const removePoolDefinitionFromProgramDefinition: MaybeContext<BuildRESTFunction<typeof publicRemovePoolDefinitionFromProgramDefinition> & typeof publicRemovePoolDefinitionFromProgramDefinition>;
|
|
13
13
|
export declare const findPoolDefinitionsByProgramDefinition: MaybeContext<BuildRESTFunction<typeof publicFindPoolDefinitionsByProgramDefinition> & typeof publicFindPoolDefinitionsByProgramDefinition>;
|
|
14
14
|
export { PolicyExpressionType, Type, WeekDay, RateLimitedPolicyType, Cascade, SortOrder, WebhookIdentityType, } from './benefit-programs-v1-pool-definition-pool-definitions.universal.js';
|
|
15
|
-
export { PoolDefinition, Details, Benefit, PolicyExpression, PolicyExpressionExpressionOneOf, PolicyExpressionNot, PolicyExpressionAnd, PolicyExpressionOr, Policy, PolicyPolicyOneOf, FixedIntervalPolicy, RateLimitedPolicy, RateLimitedPolicyPeriodOneOf, CustomPolicy, CreditConfiguration, RolloverConfiguration, ExtendedFields, PoolDefinitionAddedToProgramDefinition, PoolDefinitionRemovedFromProgramDefinition, CreatePoolDefinitionRequest, CreatePoolDefinitionResponse, BulkCreatePoolDefinitionsRequest, BulkCreatePoolDefinitionsResponse, BulkPoolDefinitionResult, ItemMetadata, ApplicationError, BulkActionMetadata, UpdatePoolDefinitionRequest, UpdatePoolDefinitionResponse, BulkUpdatePoolDefinitionsRequest, MaskedPoolDefinition, BulkUpdatePoolDefinitionsResponse, DeletePoolDefinitionRequest, DeletePoolDefinitionResponse, BulkDeletePoolDefinitionsRequest, BulkDeletePoolDefinitionsResponse, GetPoolDefinitionRequest, GetPoolDefinitionResponse, QueryPoolDefinitionsRequest, CursorQuery, CursorQueryPagingMethodOneOf, Sorting, CursorPaging, QueryPoolDefinitionsResponse, CursorPagingMetadata, Cursors, AddPoolDefinitionToProgramDefinitionRequest, AddPoolDefinitionToProgramDefinitionResponse, RemovePoolDefinitionFromProgramDefinitionRequest, RemovePoolDefinitionFromProgramDefinitionResponse, FindPoolDefinitionsByProgramDefinitionRequest, FindPoolDefinitionsByProgramDefinitionResponse, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, RestoreInfo, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, PoolDefinitionNonNullableFields, CreatePoolDefinitionResponseNonNullableFields, BulkCreatePoolDefinitionsResponseNonNullableFields, UpdatePoolDefinitionResponseNonNullableFields, BulkUpdatePoolDefinitionsResponseNonNullableFields, BulkDeletePoolDefinitionsResponseNonNullableFields, GetPoolDefinitionResponseNonNullableFields, QueryPoolDefinitionsResponseNonNullableFields, AddPoolDefinitionToProgramDefinitionResponseNonNullableFields, RemovePoolDefinitionFromProgramDefinitionResponseNonNullableFields, FindPoolDefinitionsByProgramDefinitionResponseNonNullableFields, CreatePoolDefinitionOptions, BulkCreatePoolDefinitionsOptions, UpdatePoolDefinition, UpdatePoolDefinitionOptions, BulkUpdatePoolDefinitionsOptions, DeletePoolDefinitionOptions, BulkDeletePoolDefinitionsOptions, PoolDefinitionsQueryResult, PoolDefinitionsQueryBuilder, AddPoolDefinitionToProgramDefinitionOptions, RemovePoolDefinitionFromProgramDefinitionOptions, FindPoolDefinitionsByProgramDefinitionOptions, } from './benefit-programs-v1-pool-definition-pool-definitions.universal.js';
|
|
15
|
+
export { PoolDefinition, Details, Benefit, PolicyExpression, PolicyExpressionExpressionOneOf, PolicyExpressionNot, PolicyExpressionAnd, PolicyExpressionOr, Policy, PolicyPolicyOneOf, FixedIntervalPolicy, RateLimitedPolicy, RateLimitedPolicyPeriodOneOf, CustomPolicy, CreditConfiguration, RolloverConfiguration, ExtendedFields, PoolDefinitionAddedToProgramDefinition, PoolDefinitionRemovedFromProgramDefinition, PoolDefinitionUpdatedProxySupport, PoolDefinitionDeletedProxySupport, CreatePoolDefinitionRequest, CreatePoolDefinitionResponse, BulkCreatePoolDefinitionsRequest, BulkCreatePoolDefinitionsResponse, BulkPoolDefinitionResult, ItemMetadata, ApplicationError, BulkActionMetadata, UpdatePoolDefinitionRequest, UpdatePoolDefinitionResponse, BulkUpdatePoolDefinitionsRequest, MaskedPoolDefinition, BulkUpdatePoolDefinitionsResponse, DeletePoolDefinitionRequest, DeletePoolDefinitionResponse, BulkDeletePoolDefinitionsRequest, BulkDeletePoolDefinitionsResponse, GetPoolDefinitionRequest, GetPoolDefinitionResponse, QueryPoolDefinitionsRequest, CursorQuery, CursorQueryPagingMethodOneOf, Sorting, CursorPaging, QueryPoolDefinitionsResponse, CursorPagingMetadata, Cursors, AddPoolDefinitionToProgramDefinitionRequest, AddPoolDefinitionToProgramDefinitionResponse, RemovePoolDefinitionFromProgramDefinitionRequest, RemovePoolDefinitionFromProgramDefinitionResponse, FindPoolDefinitionsByProgramDefinitionRequest, FindPoolDefinitionsByProgramDefinitionResponse, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, RestoreInfo, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, PoolDefinitionNonNullableFields, CreatePoolDefinitionResponseNonNullableFields, BulkCreatePoolDefinitionsResponseNonNullableFields, UpdatePoolDefinitionResponseNonNullableFields, BulkUpdatePoolDefinitionsResponseNonNullableFields, BulkDeletePoolDefinitionsResponseNonNullableFields, GetPoolDefinitionResponseNonNullableFields, QueryPoolDefinitionsResponseNonNullableFields, AddPoolDefinitionToProgramDefinitionResponseNonNullableFields, RemovePoolDefinitionFromProgramDefinitionResponseNonNullableFields, FindPoolDefinitionsByProgramDefinitionResponseNonNullableFields, CreatePoolDefinitionOptions, BulkCreatePoolDefinitionsOptions, UpdatePoolDefinition, UpdatePoolDefinitionOptions, BulkUpdatePoolDefinitionsOptions, DeletePoolDefinitionOptions, BulkDeletePoolDefinitionsOptions, PoolDefinitionsQueryResult, PoolDefinitionsQueryBuilder, AddPoolDefinitionToProgramDefinitionOptions, RemovePoolDefinitionFromProgramDefinitionOptions, FindPoolDefinitionsByProgramDefinitionOptions, } from './benefit-programs-v1-pool-definition-pool-definitions.universal.js';
|
|
@@ -120,4 +120,4 @@ interface FindPoolDefinitionsByProgramDefinitionSignature {
|
|
|
120
120
|
*/
|
|
121
121
|
(programDefinitionId: string, options: FindPoolDefinitionsByProgramDefinitionOptions): Promise<FindPoolDefinitionsByProgramDefinitionResponse & FindPoolDefinitionsByProgramDefinitionResponseNonNullableFields>;
|
|
122
122
|
}
|
|
123
|
-
export { ActionEvent, AddPoolDefinitionToProgramDefinitionOptions, AddPoolDefinitionToProgramDefinitionRequest, AddPoolDefinitionToProgramDefinitionResponse, AddPoolDefinitionToProgramDefinitionResponseNonNullableFields, ApplicationError, Benefit, BulkActionMetadata, BulkCreatePoolDefinitionsOptions, BulkCreatePoolDefinitionsRequest, BulkCreatePoolDefinitionsResponse, BulkCreatePoolDefinitionsResponseNonNullableFields, BulkDeletePoolDefinitionsOptions, BulkDeletePoolDefinitionsRequest, BulkDeletePoolDefinitionsResponse, BulkDeletePoolDefinitionsResponseNonNullableFields, BulkPoolDefinitionResult, BulkUpdatePoolDefinitionsOptions, BulkUpdatePoolDefinitionsRequest, BulkUpdatePoolDefinitionsResponse, BulkUpdatePoolDefinitionsResponseNonNullableFields, Cascade, CreatePoolDefinitionOptions, CreatePoolDefinitionRequest, CreatePoolDefinitionResponse, CreatePoolDefinitionResponseNonNullableFields, CreditConfiguration, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomPolicy, DeletePoolDefinitionOptions, DeletePoolDefinitionRequest, DeletePoolDefinitionResponse, Details, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, ExtendedFields, FindPoolDefinitionsByProgramDefinitionOptions, FindPoolDefinitionsByProgramDefinitionRequest, FindPoolDefinitionsByProgramDefinitionResponse, FindPoolDefinitionsByProgramDefinitionResponseNonNullableFields, FixedIntervalPolicy, GetPoolDefinitionRequest, GetPoolDefinitionResponse, GetPoolDefinitionResponseNonNullableFields, IdentificationData, IdentificationDataIdOneOf, ItemMetadata, MaskedPoolDefinition, MessageEnvelope, Policy, PolicyExpression, PolicyExpressionAnd, PolicyExpressionExpressionOneOf, PolicyExpressionNot, PolicyExpressionOr, PolicyExpressionType, PolicyPolicyOneOf, PoolDefinition, PoolDefinitionAddedToProgramDefinition, PoolDefinitionNonNullableFields, PoolDefinitionRemovedFromProgramDefinition, PoolDefinitionsQueryBuilder, PoolDefinitionsQueryResult, QueryPoolDefinitionsRequest, QueryPoolDefinitionsResponse, QueryPoolDefinitionsResponseNonNullableFields, RateLimitedPolicy, RateLimitedPolicyPeriodOneOf, RateLimitedPolicyType, RemovePoolDefinitionFromProgramDefinitionOptions, RemovePoolDefinitionFromProgramDefinitionRequest, RemovePoolDefinitionFromProgramDefinitionResponse, RemovePoolDefinitionFromProgramDefinitionResponseNonNullableFields, RestoreInfo, RolloverConfiguration, SortOrder, Sorting, Type, UpdatePoolDefinition, UpdatePoolDefinitionOptions, UpdatePoolDefinitionRequest, UpdatePoolDefinitionResponse, UpdatePoolDefinitionResponseNonNullableFields, WebhookIdentityType, WeekDay, } from './benefit-programs-v1-pool-definition-pool-definitions.universal.js';
|
|
123
|
+
export { ActionEvent, AddPoolDefinitionToProgramDefinitionOptions, AddPoolDefinitionToProgramDefinitionRequest, AddPoolDefinitionToProgramDefinitionResponse, AddPoolDefinitionToProgramDefinitionResponseNonNullableFields, ApplicationError, Benefit, BulkActionMetadata, BulkCreatePoolDefinitionsOptions, BulkCreatePoolDefinitionsRequest, BulkCreatePoolDefinitionsResponse, BulkCreatePoolDefinitionsResponseNonNullableFields, BulkDeletePoolDefinitionsOptions, BulkDeletePoolDefinitionsRequest, BulkDeletePoolDefinitionsResponse, BulkDeletePoolDefinitionsResponseNonNullableFields, BulkPoolDefinitionResult, BulkUpdatePoolDefinitionsOptions, BulkUpdatePoolDefinitionsRequest, BulkUpdatePoolDefinitionsResponse, BulkUpdatePoolDefinitionsResponseNonNullableFields, Cascade, CreatePoolDefinitionOptions, CreatePoolDefinitionRequest, CreatePoolDefinitionResponse, CreatePoolDefinitionResponseNonNullableFields, CreditConfiguration, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomPolicy, DeletePoolDefinitionOptions, DeletePoolDefinitionRequest, DeletePoolDefinitionResponse, Details, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, ExtendedFields, FindPoolDefinitionsByProgramDefinitionOptions, FindPoolDefinitionsByProgramDefinitionRequest, FindPoolDefinitionsByProgramDefinitionResponse, FindPoolDefinitionsByProgramDefinitionResponseNonNullableFields, FixedIntervalPolicy, GetPoolDefinitionRequest, GetPoolDefinitionResponse, GetPoolDefinitionResponseNonNullableFields, IdentificationData, IdentificationDataIdOneOf, ItemMetadata, MaskedPoolDefinition, MessageEnvelope, Policy, PolicyExpression, PolicyExpressionAnd, PolicyExpressionExpressionOneOf, PolicyExpressionNot, PolicyExpressionOr, PolicyExpressionType, PolicyPolicyOneOf, PoolDefinition, PoolDefinitionAddedToProgramDefinition, PoolDefinitionDeletedProxySupport, PoolDefinitionNonNullableFields, PoolDefinitionRemovedFromProgramDefinition, PoolDefinitionUpdatedProxySupport, PoolDefinitionsQueryBuilder, PoolDefinitionsQueryResult, QueryPoolDefinitionsRequest, QueryPoolDefinitionsResponse, QueryPoolDefinitionsResponseNonNullableFields, RateLimitedPolicy, RateLimitedPolicyPeriodOneOf, RateLimitedPolicyType, RemovePoolDefinitionFromProgramDefinitionOptions, RemovePoolDefinitionFromProgramDefinitionRequest, RemovePoolDefinitionFromProgramDefinitionResponse, RemovePoolDefinitionFromProgramDefinitionResponseNonNullableFields, RestoreInfo, RolloverConfiguration, SortOrder, Sorting, Type, UpdatePoolDefinition, UpdatePoolDefinitionOptions, UpdatePoolDefinitionRequest, UpdatePoolDefinitionResponse, UpdatePoolDefinitionResponseNonNullableFields, WebhookIdentityType, WeekDay, } from './benefit-programs-v1-pool-definition-pool-definitions.universal.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"benefit-programs-v1-pool-definition-pool-definitions.public.js","sourceRoot":"","sources":["../../../src/benefit-programs-v1-pool-definition-pool-definitions.public.ts"],"names":[],"mappings":";;;AACA,2JAqC6E;AAEhE,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,uBAAuB,EAAE,CAAC;AAEpE,SAAgB,oBAAoB,CAClC,UAAsB;IAEtB,OAAO,CACL,cAA8B,EAC9B,OAAqC,EACrC,EAAE,CACF,IAAA,wFAA6B,EAC3B,cAAc,EACd,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAbD,oDAaC;AAoBD,SAAgB,yBAAyB,CACvC,UAAsB;IAEtB,OAAO,CACL,eAAiC,EACjC,O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,CAAC;AACN,CAAC;AARD,oDAQC;AAiBD,SAAgB,oCAAoC,CAClD,UAAsB;IAEtB,OAAO,CACL,gBAAwB,EACxB,OAAoD,EACpD,EAAE,CACF,IAAA,wGAA6C,EAC3C,gBAAgB,EAChB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAbD,oFAaC;AAkBD,SAAgB,yCAAyC,CACvD,UAAsB;IAEtB,OAAO,CACL,gBAAwB,EACxB,OAAyD,EACzD,EAAE,CACF,IAAA,6GAAkD,EAChD,gBAAgB,EAChB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAbD,8FAaC;AAoBD,SAAgB,sCAAsC,CACpD,UAAsB;IAEtB,OAAO,CACL,mBAA2B,EAC3B,OAAsD,EACtD,EAAE,CACF,IAAA,0GAA+C,EAC7C,mBAAmB,EACnB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAbD,wFAaC;AAkBD,
|
|
1
|
+
{"version":3,"file":"benefit-programs-v1-pool-definition-pool-definitions.public.js","sourceRoot":"","sources":["../../../src/benefit-programs-v1-pool-definition-pool-definitions.public.ts"],"names":[],"mappings":";;;AACA,2JAqC6E;AAEhE,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,uBAAuB,EAAE,CAAC;AAEpE,SAAgB,oBAAoB,CAClC,UAAsB;IAEtB,OAAO,CACL,cAA8B,EAC9B,OAAqC,EACrC,EAAE,CACF,IAAA,wFAA6B,EAC3B,cAAc,EACd,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAbD,oDAaC;AAoBD,SAAgB,yBAAyB,CACvC,UAAsB;IAEtB,OAAO,CACL,eAAiC,EACjC,OAA0C,EAC1C,EAAE,CACF,IAAA,6FAAkC,EAChC,eAAe,EACf,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AAC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pD,EAAE,CACF,IAAA,wGAA6C,EAC3C,gBAAgB,EAChB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAbD,oFAaC;AAkBD,SAAgB,yCAAyC,CACvD,UAAsB;IAEtB,OAAO,CACL,gBAAwB,EACxB,OAAyD,EACzD,EAAE,CACF,IAAA,6GAAkD,EAChD,gBAAgB,EAChB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAbD,8FAaC;AAoBD,SAAgB,sCAAsC,CACpD,UAAsB;IAEtB,OAAO,CACL,mBAA2B,EAC3B,OAAsD,EACtD,EAAE,CACF,IAAA,0GAA+C,EAC7C,mBAAmB,EACnB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAbD,wFAaC;AAkBD,yJA+F6E;AAzE3E,4JAAA,OAAO,OAAA;AAyCP,yKAAA,oBAAoB,OAAA;AAepB,0KAAA,qBAAqB,OAAA;AAOrB,8JAAA,SAAS,OAAA;AAET,yJAAA,IAAI,OAAA;AAMJ,wKAAA,mBAAmB,OAAA;AACnB,4JAAA,OAAO,OAAA"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export interface PoolDefinition {
|
|
2
2
|
/**
|
|
3
3
|
* Pool definition ID.
|
|
4
|
+
* @format GUID
|
|
4
5
|
* @readonly
|
|
5
6
|
*/
|
|
6
7
|
id?: string | null;
|
|
@@ -22,9 +23,16 @@ export interface PoolDefinition {
|
|
|
22
23
|
* @readonly
|
|
23
24
|
*/
|
|
24
25
|
updatedDate?: Date | null;
|
|
25
|
-
/**
|
|
26
|
+
/**
|
|
27
|
+
* Name of the pool definition.
|
|
28
|
+
* @maxLength 128
|
|
29
|
+
*/
|
|
26
30
|
displayName?: string;
|
|
27
|
-
/**
|
|
31
|
+
/**
|
|
32
|
+
* List of program definitions that are associated with this pool definition.
|
|
33
|
+
* @format GUID
|
|
34
|
+
* @maxSize 100
|
|
35
|
+
*/
|
|
28
36
|
programDefinitionIds?: string[];
|
|
29
37
|
/**
|
|
30
38
|
* Benefit pool information.
|
|
@@ -38,6 +46,9 @@ export interface PoolDefinition {
|
|
|
38
46
|
* This namespace is used to organize and retrieve pool definitions and their associated benefit pools.
|
|
39
47
|
*
|
|
40
48
|
* It should match the namespace used in the program definitions.
|
|
49
|
+
* @immutable
|
|
50
|
+
* @minLength 1
|
|
51
|
+
* @maxLength 50
|
|
41
52
|
*/
|
|
42
53
|
namespace?: string | null;
|
|
43
54
|
/**
|
|
@@ -48,7 +59,10 @@ export interface PoolDefinition {
|
|
|
48
59
|
extendedFields?: ExtendedFields;
|
|
49
60
|
}
|
|
50
61
|
export interface Details {
|
|
51
|
-
/**
|
|
62
|
+
/**
|
|
63
|
+
* Array of benefits, each containing price and policy settings specific to that benefit within the pool.
|
|
64
|
+
* @maxSize 10
|
|
65
|
+
*/
|
|
52
66
|
benefits?: Benefit[];
|
|
53
67
|
/**
|
|
54
68
|
* Settings that control the initial credits and renewal cycle configurations of the benefit pool.
|
|
@@ -78,6 +92,7 @@ export interface Benefit {
|
|
|
78
92
|
* An unique identifier for a pool benefit.
|
|
79
93
|
*
|
|
80
94
|
* This key is consistent across the pool definition and all its associated benefit pools.
|
|
95
|
+
* @maxLength 64
|
|
81
96
|
*/
|
|
82
97
|
benefitKey?: string;
|
|
83
98
|
/**
|
|
@@ -86,6 +101,8 @@ export interface Benefit {
|
|
|
86
101
|
* This ID is returned when calling Create Item.
|
|
87
102
|
*
|
|
88
103
|
* It is used to link the specific benefit item to its corresponding location within the benefit pool, ensuring proper association between the item and the pool definition.
|
|
104
|
+
* @format GUID
|
|
105
|
+
* @immutable
|
|
89
106
|
* @readonly
|
|
90
107
|
*/
|
|
91
108
|
itemSetId?: string | null;
|
|
@@ -94,6 +111,7 @@ export interface Benefit {
|
|
|
94
111
|
* Represents the cost to redeem the benefit.
|
|
95
112
|
*
|
|
96
113
|
* Don't set a price if the `details.creditConfiguration` is empty. Since the benefits have an unlimited redemption limit, they can't have an associated price.
|
|
114
|
+
* @decimalValue options { gte:0, maxScale:4 }
|
|
97
115
|
*/
|
|
98
116
|
price?: string | null;
|
|
99
117
|
/**
|
|
@@ -104,11 +122,21 @@ export interface Benefit {
|
|
|
104
122
|
policyExpression?: PolicyExpression;
|
|
105
123
|
/** Additional info that was set by the benefit provider. */
|
|
106
124
|
additionalData?: Record<string, any> | null;
|
|
107
|
-
/**
|
|
125
|
+
/**
|
|
126
|
+
* ID of the app providing the benefit.
|
|
127
|
+
* @format GUID
|
|
128
|
+
* @immutable
|
|
129
|
+
*/
|
|
108
130
|
providerAppId?: string | null;
|
|
109
|
-
/**
|
|
131
|
+
/**
|
|
132
|
+
* Benefit display name.
|
|
133
|
+
* @maxLength 40
|
|
134
|
+
*/
|
|
110
135
|
displayName?: string | null;
|
|
111
|
-
/**
|
|
136
|
+
/**
|
|
137
|
+
* Benefit description.
|
|
138
|
+
* @maxLength 255
|
|
139
|
+
*/
|
|
112
140
|
description?: string | null;
|
|
113
141
|
}
|
|
114
142
|
export interface PolicyExpression extends PolicyExpressionExpressionOneOf {
|
|
@@ -154,11 +182,19 @@ export interface PolicyExpressionNot {
|
|
|
154
182
|
expression?: PolicyExpression;
|
|
155
183
|
}
|
|
156
184
|
export interface PolicyExpressionAnd {
|
|
157
|
-
/**
|
|
185
|
+
/**
|
|
186
|
+
* Specify policy terms where all policy conditions must be met. Must specify an object with an `expressions` property.
|
|
187
|
+
* @minSize 2
|
|
188
|
+
* @maxSize 10
|
|
189
|
+
*/
|
|
158
190
|
expressions?: PolicyExpression[];
|
|
159
191
|
}
|
|
160
192
|
export interface PolicyExpressionOr {
|
|
161
|
-
/**
|
|
193
|
+
/**
|
|
194
|
+
* Specify policy terms where at least one of the possible specified policy conditions is met. Must specify an object with an `expressions` property.
|
|
195
|
+
* @minSize 2
|
|
196
|
+
* @maxSize 10
|
|
197
|
+
*/
|
|
162
198
|
expressions?: PolicyExpression[];
|
|
163
199
|
}
|
|
164
200
|
export interface Policy extends PolicyPolicyOneOf {
|
|
@@ -194,13 +230,25 @@ export interface FixedIntervalPolicy {
|
|
|
194
230
|
fromWeekDay?: WeekDay;
|
|
195
231
|
/** Weekday that this interval ends at. If this field is set, then `fromWeekDay` must also be set. */
|
|
196
232
|
toWeekDay?: WeekDay;
|
|
197
|
-
/**
|
|
233
|
+
/**
|
|
234
|
+
* Hour that this interval starts from. If this field is set, then `toHour` must also be set.
|
|
235
|
+
* @max 23
|
|
236
|
+
*/
|
|
198
237
|
fromHour?: number | null;
|
|
199
|
-
/**
|
|
238
|
+
/**
|
|
239
|
+
* Hour that this interval ends at. If this field is set, then `fromHour` must also be set.
|
|
240
|
+
* @max 23
|
|
241
|
+
*/
|
|
200
242
|
toHour?: number | null;
|
|
201
|
-
/**
|
|
243
|
+
/**
|
|
244
|
+
* Minute that this interval starts from. If this field is set, then `toMinute` must also be set.
|
|
245
|
+
* @max 59
|
|
246
|
+
*/
|
|
202
247
|
fromMinute?: number | null;
|
|
203
|
-
/**
|
|
248
|
+
/**
|
|
249
|
+
* Minute that this interval ends at. If this field is set, then `fromMinute` must also be set.
|
|
250
|
+
* @max 59
|
|
251
|
+
*/
|
|
204
252
|
toMinute?: number | null;
|
|
205
253
|
}
|
|
206
254
|
export declare enum WeekDay {
|
|
@@ -252,19 +300,31 @@ export declare enum RateLimitedPolicyType {
|
|
|
252
300
|
}
|
|
253
301
|
/** Custom policy as implemented by the Entitlement Policy Provider */
|
|
254
302
|
export interface CustomPolicy {
|
|
255
|
-
/**
|
|
303
|
+
/**
|
|
304
|
+
* References a specific custom policy on the provider's system
|
|
305
|
+
* @format GUID
|
|
306
|
+
*/
|
|
256
307
|
id?: string;
|
|
257
|
-
/**
|
|
308
|
+
/**
|
|
309
|
+
* Custom policy provider id
|
|
310
|
+
* @format GUID
|
|
311
|
+
*/
|
|
258
312
|
appId?: string | null;
|
|
259
313
|
/** Additional info for this custom policy. It's going to be passed to the policy provider during eligibility checks */
|
|
260
314
|
additionalData?: Record<string, any> | null;
|
|
261
315
|
}
|
|
262
316
|
export interface CreditConfiguration {
|
|
263
|
-
/**
|
|
317
|
+
/**
|
|
318
|
+
* The initial total amount of credits available in this benefit pool.
|
|
319
|
+
* @decimalValue options { gte:0, maxScale:4 }
|
|
320
|
+
*/
|
|
264
321
|
amount?: string;
|
|
265
322
|
/** Rollover configuration. */
|
|
266
323
|
rolloverConfiguration?: RolloverConfiguration;
|
|
267
|
-
/**
|
|
324
|
+
/**
|
|
325
|
+
* Display name of the unit.
|
|
326
|
+
* @maxLength 32
|
|
327
|
+
*/
|
|
268
328
|
unitDisplayName?: string | null;
|
|
269
329
|
}
|
|
270
330
|
export interface RolloverConfiguration {
|
|
@@ -274,6 +334,7 @@ export interface RolloverConfiguration {
|
|
|
274
334
|
* The maximum amount of credits that can be transferred to the next benefit renewal cycle.
|
|
275
335
|
*
|
|
276
336
|
* If current balance exceeds this cap, no credits will transfer into the next renewal cycle until the balance is within the allowable limit.
|
|
337
|
+
* @decimalValue options { gte:0, maxScale:4 }
|
|
277
338
|
*/
|
|
278
339
|
balanceCap?: string | null;
|
|
279
340
|
}
|
|
@@ -291,7 +352,10 @@ export interface ExtendedFields {
|
|
|
291
352
|
export interface PoolDefinitionAddedToProgramDefinition {
|
|
292
353
|
/** PoolDefinition that was added to the program definition */
|
|
293
354
|
poolDefinition?: PoolDefinition;
|
|
294
|
-
/**
|
|
355
|
+
/**
|
|
356
|
+
* Program Definition that the pool definition was added to
|
|
357
|
+
* @format GUID
|
|
358
|
+
*/
|
|
295
359
|
programDefinitionId?: string;
|
|
296
360
|
/** Type of cascade */
|
|
297
361
|
cascadeType?: Cascade;
|
|
@@ -321,11 +385,26 @@ export declare enum Cascade {
|
|
|
321
385
|
export interface PoolDefinitionRemovedFromProgramDefinition {
|
|
322
386
|
/** PoolDefinition that was removed from the program definition */
|
|
323
387
|
poolDefinition?: PoolDefinition;
|
|
324
|
-
/**
|
|
388
|
+
/**
|
|
389
|
+
* Program Definition that the pool definition was removed from
|
|
390
|
+
* @format GUID
|
|
391
|
+
*/
|
|
325
392
|
programDefinitionId?: string;
|
|
326
393
|
/** Type of cascade */
|
|
327
394
|
cascadeType?: Cascade;
|
|
328
395
|
}
|
|
396
|
+
/** This event is needed to support legacy benefit notification event. Should be only consumed in the proxy. */
|
|
397
|
+
export interface PoolDefinitionUpdatedProxySupport {
|
|
398
|
+
/** PoolDefinition after the update */
|
|
399
|
+
currentPoolDefinition?: PoolDefinition;
|
|
400
|
+
/** PoolDefinition before the update */
|
|
401
|
+
previousPoolDefinition?: PoolDefinition;
|
|
402
|
+
}
|
|
403
|
+
/** This event is needed to support legacy benefit notification event. Should be only consumed in the proxy. */
|
|
404
|
+
export interface PoolDefinitionDeletedProxySupport {
|
|
405
|
+
/** PoolDefinition which was deleted */
|
|
406
|
+
deletedPoolDefinition?: PoolDefinition;
|
|
407
|
+
}
|
|
329
408
|
export interface CreatePoolDefinitionRequest {
|
|
330
409
|
/** Pool definition to create. */
|
|
331
410
|
poolDefinition: PoolDefinition;
|
|
@@ -341,7 +420,11 @@ export interface CreatePoolDefinitionResponse {
|
|
|
341
420
|
poolDefinition?: PoolDefinition;
|
|
342
421
|
}
|
|
343
422
|
export interface BulkCreatePoolDefinitionsRequest {
|
|
344
|
-
/**
|
|
423
|
+
/**
|
|
424
|
+
* Pool definitions to create.
|
|
425
|
+
* @minSize 1
|
|
426
|
+
* @maxSize 100
|
|
427
|
+
*/
|
|
345
428
|
poolDefinitions: PoolDefinition[];
|
|
346
429
|
/**
|
|
347
430
|
* Specifies the timing of updates to associated benefit pools.
|
|
@@ -361,6 +444,8 @@ export interface BulkCreatePoolDefinitionsResponse {
|
|
|
361
444
|
* List of results for each pool definition.
|
|
362
445
|
*
|
|
363
446
|
* Includes the pool definition and whether the creation was successful.
|
|
447
|
+
* @minSize 1
|
|
448
|
+
* @maxSize 100
|
|
364
449
|
*/
|
|
365
450
|
results?: BulkPoolDefinitionResult[];
|
|
366
451
|
/** Bulk action metadata. */
|
|
@@ -373,7 +458,10 @@ export interface BulkPoolDefinitionResult {
|
|
|
373
458
|
poolDefinition?: PoolDefinition;
|
|
374
459
|
}
|
|
375
460
|
export interface ItemMetadata {
|
|
376
|
-
/**
|
|
461
|
+
/**
|
|
462
|
+
* Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
|
|
463
|
+
* @format GUID
|
|
464
|
+
*/
|
|
377
465
|
id?: string | null;
|
|
378
466
|
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
379
467
|
originalIndex?: number;
|
|
@@ -413,7 +501,11 @@ export interface UpdatePoolDefinitionResponse {
|
|
|
413
501
|
poolDefinition?: PoolDefinition;
|
|
414
502
|
}
|
|
415
503
|
export interface BulkUpdatePoolDefinitionsRequest {
|
|
416
|
-
/**
|
|
504
|
+
/**
|
|
505
|
+
* Pool definitions to update.
|
|
506
|
+
* @minSize 1
|
|
507
|
+
* @maxSize 100
|
|
508
|
+
*/
|
|
417
509
|
poolDefinitions?: MaskedPoolDefinition[];
|
|
418
510
|
/**
|
|
419
511
|
* Specifies the timing of updates to associated benefit pools.
|
|
@@ -439,13 +531,18 @@ export interface BulkUpdatePoolDefinitionsResponse {
|
|
|
439
531
|
* List of results for each pool definition.
|
|
440
532
|
*
|
|
441
533
|
* Includes the pool definition and whether the update was successful.
|
|
534
|
+
* @minSize 1
|
|
535
|
+
* @maxSize 100
|
|
442
536
|
*/
|
|
443
537
|
results?: BulkPoolDefinitionResult[];
|
|
444
538
|
/** Bulk action metadata. */
|
|
445
539
|
bulkActionMetadata?: BulkActionMetadata;
|
|
446
540
|
}
|
|
447
541
|
export interface DeletePoolDefinitionRequest {
|
|
448
|
-
/**
|
|
542
|
+
/**
|
|
543
|
+
* ID of the pool definition to delete.
|
|
544
|
+
* @format GUID
|
|
545
|
+
*/
|
|
449
546
|
poolDefinitionId: string;
|
|
450
547
|
/**
|
|
451
548
|
* Defines how the delete operation cascades to related pools.
|
|
@@ -457,7 +554,12 @@ export interface DeletePoolDefinitionRequest {
|
|
|
457
554
|
export interface DeletePoolDefinitionResponse {
|
|
458
555
|
}
|
|
459
556
|
export interface BulkDeletePoolDefinitionsRequest {
|
|
460
|
-
/**
|
|
557
|
+
/**
|
|
558
|
+
* ID of the pool definitions to delete.
|
|
559
|
+
* @minSize 1
|
|
560
|
+
* @maxSize 100
|
|
561
|
+
* @format GUID
|
|
562
|
+
*/
|
|
461
563
|
poolDefinitionIds: string[];
|
|
462
564
|
/**
|
|
463
565
|
* Specifies the timing of updates to associated benefit pools.
|
|
@@ -470,13 +572,18 @@ export interface BulkDeletePoolDefinitionsResponse {
|
|
|
470
572
|
* List of results for each pool definition.
|
|
471
573
|
*
|
|
472
574
|
* Includes the pool definition and whether the deletion was successful.
|
|
575
|
+
* @minSize 1
|
|
576
|
+
* @maxSize 100
|
|
473
577
|
*/
|
|
474
578
|
results?: BulkPoolDefinitionResult[];
|
|
475
579
|
/** Bulk action metadata. */
|
|
476
580
|
bulkActionMetadata?: BulkActionMetadata;
|
|
477
581
|
}
|
|
478
582
|
export interface GetPoolDefinitionRequest {
|
|
479
|
-
/**
|
|
583
|
+
/**
|
|
584
|
+
* ID of the pool definition to retrieve.
|
|
585
|
+
* @format GUID
|
|
586
|
+
*/
|
|
480
587
|
poolDefinitionId: string;
|
|
481
588
|
}
|
|
482
589
|
export interface GetPoolDefinitionResponse {
|
|
@@ -502,6 +609,7 @@ export interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
|
502
609
|
/**
|
|
503
610
|
* Sort object in the following format:
|
|
504
611
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
612
|
+
* @maxSize 5
|
|
505
613
|
*/
|
|
506
614
|
sort?: Sorting[];
|
|
507
615
|
}
|
|
@@ -511,7 +619,10 @@ export interface CursorQueryPagingMethodOneOf {
|
|
|
511
619
|
cursorPaging?: CursorPaging;
|
|
512
620
|
}
|
|
513
621
|
export interface Sorting {
|
|
514
|
-
/**
|
|
622
|
+
/**
|
|
623
|
+
* Name of the field to sort by.
|
|
624
|
+
* @maxLength 512
|
|
625
|
+
*/
|
|
515
626
|
fieldName?: string;
|
|
516
627
|
/** Sort order. */
|
|
517
628
|
order?: SortOrder;
|
|
@@ -523,13 +634,17 @@ export declare enum SortOrder {
|
|
|
523
634
|
DESC = "DESC"
|
|
524
635
|
}
|
|
525
636
|
export interface CursorPaging {
|
|
526
|
-
/**
|
|
637
|
+
/**
|
|
638
|
+
* Maximum number of items to return in the results.
|
|
639
|
+
* @max 100
|
|
640
|
+
*/
|
|
527
641
|
limit?: number | null;
|
|
528
642
|
/**
|
|
529
643
|
* Pointer to the next or previous page in the list of results.
|
|
530
644
|
*
|
|
531
645
|
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
532
646
|
* Not relevant for the first request.
|
|
647
|
+
* @maxLength 16000
|
|
533
648
|
*/
|
|
534
649
|
cursor?: string | null;
|
|
535
650
|
}
|
|
@@ -553,15 +668,27 @@ export interface CursorPagingMetadata {
|
|
|
553
668
|
hasNext?: boolean | null;
|
|
554
669
|
}
|
|
555
670
|
export interface Cursors {
|
|
556
|
-
/**
|
|
671
|
+
/**
|
|
672
|
+
* Cursor string pointing to the next page in the list of results.
|
|
673
|
+
* @maxLength 16000
|
|
674
|
+
*/
|
|
557
675
|
next?: string | null;
|
|
558
|
-
/**
|
|
676
|
+
/**
|
|
677
|
+
* Cursor pointing to the previous page in the list of results.
|
|
678
|
+
* @maxLength 16000
|
|
679
|
+
*/
|
|
559
680
|
prev?: string | null;
|
|
560
681
|
}
|
|
561
682
|
export interface AddPoolDefinitionToProgramDefinitionRequest {
|
|
562
|
-
/**
|
|
683
|
+
/**
|
|
684
|
+
* Pool definition to assign to the program definition.
|
|
685
|
+
* @format GUID
|
|
686
|
+
*/
|
|
563
687
|
poolDefinitionId: string;
|
|
564
|
-
/**
|
|
688
|
+
/**
|
|
689
|
+
* Program definition that the pool definition is assigned to.
|
|
690
|
+
* @format GUID
|
|
691
|
+
*/
|
|
565
692
|
programDefinitionId: string;
|
|
566
693
|
/**
|
|
567
694
|
* Specifies the timing of updates to associated benefit pools.
|
|
@@ -574,9 +701,15 @@ export interface AddPoolDefinitionToProgramDefinitionResponse {
|
|
|
574
701
|
poolDefinition?: PoolDefinition;
|
|
575
702
|
}
|
|
576
703
|
export interface RemovePoolDefinitionFromProgramDefinitionRequest {
|
|
577
|
-
/**
|
|
704
|
+
/**
|
|
705
|
+
* ID of the pool definition to be removed from the program definition.
|
|
706
|
+
* @format GUID
|
|
707
|
+
*/
|
|
578
708
|
poolDefinitionId: string;
|
|
579
|
-
/**
|
|
709
|
+
/**
|
|
710
|
+
* ID of the program definition being removed from the pool definition.
|
|
711
|
+
* @format GUID
|
|
712
|
+
*/
|
|
580
713
|
programDefinitionId: string;
|
|
581
714
|
/**
|
|
582
715
|
* Specifies the timing of updates to associated benefit pools.
|
|
@@ -589,7 +722,10 @@ export interface RemovePoolDefinitionFromProgramDefinitionResponse {
|
|
|
589
722
|
poolDefinition?: PoolDefinition;
|
|
590
723
|
}
|
|
591
724
|
export interface FindPoolDefinitionsByProgramDefinitionRequest {
|
|
592
|
-
/**
|
|
725
|
+
/**
|
|
726
|
+
* ID of the program definition of which its assigned pool definitions are retrieved.
|
|
727
|
+
* @format GUID
|
|
728
|
+
*/
|
|
593
729
|
programDefinitionId: string;
|
|
594
730
|
/**
|
|
595
731
|
* Application sub-module that represents the source of the pool definition. Specified by the external developer.
|
|
@@ -597,6 +733,8 @@ export interface FindPoolDefinitionsByProgramDefinitionRequest {
|
|
|
597
733
|
* This namespace is used to organize and retrieve pool definitions and their associated benefit pools.
|
|
598
734
|
*
|
|
599
735
|
* It should match the namespace used in the program definitions.
|
|
736
|
+
* @minLength 1
|
|
737
|
+
* @maxLength 50
|
|
600
738
|
*/
|
|
601
739
|
namespace: string;
|
|
602
740
|
}
|
|
@@ -677,9 +815,15 @@ export interface ActionEvent {
|
|
|
677
815
|
bodyAsJson?: string;
|
|
678
816
|
}
|
|
679
817
|
export interface MessageEnvelope {
|
|
680
|
-
/**
|
|
818
|
+
/**
|
|
819
|
+
* App instance ID.
|
|
820
|
+
* @format GUID
|
|
821
|
+
*/
|
|
681
822
|
instanceId?: string | null;
|
|
682
|
-
/**
|
|
823
|
+
/**
|
|
824
|
+
* Event type.
|
|
825
|
+
* @maxLength 150
|
|
826
|
+
*/
|
|
683
827
|
eventType?: string;
|
|
684
828
|
/** The identification type and identity data. */
|
|
685
829
|
identity?: IdentificationData;
|
|
@@ -687,26 +831,50 @@ export interface MessageEnvelope {
|
|
|
687
831
|
data?: string;
|
|
688
832
|
}
|
|
689
833
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
690
|
-
/**
|
|
834
|
+
/**
|
|
835
|
+
* ID of a site visitor that has not logged in to the site.
|
|
836
|
+
* @format GUID
|
|
837
|
+
*/
|
|
691
838
|
anonymousVisitorId?: string;
|
|
692
|
-
/**
|
|
839
|
+
/**
|
|
840
|
+
* ID of a site visitor that has logged in to the site.
|
|
841
|
+
* @format GUID
|
|
842
|
+
*/
|
|
693
843
|
memberId?: string;
|
|
694
|
-
/**
|
|
844
|
+
/**
|
|
845
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
846
|
+
* @format GUID
|
|
847
|
+
*/
|
|
695
848
|
wixUserId?: string;
|
|
696
|
-
/**
|
|
849
|
+
/**
|
|
850
|
+
* ID of an app.
|
|
851
|
+
* @format GUID
|
|
852
|
+
*/
|
|
697
853
|
appId?: string;
|
|
698
854
|
/** @readonly */
|
|
699
855
|
identityType?: WebhookIdentityType;
|
|
700
856
|
}
|
|
701
857
|
/** @oneof */
|
|
702
858
|
export interface IdentificationDataIdOneOf {
|
|
703
|
-
/**
|
|
859
|
+
/**
|
|
860
|
+
* ID of a site visitor that has not logged in to the site.
|
|
861
|
+
* @format GUID
|
|
862
|
+
*/
|
|
704
863
|
anonymousVisitorId?: string;
|
|
705
|
-
/**
|
|
864
|
+
/**
|
|
865
|
+
* ID of a site visitor that has logged in to the site.
|
|
866
|
+
* @format GUID
|
|
867
|
+
*/
|
|
706
868
|
memberId?: string;
|
|
707
|
-
/**
|
|
869
|
+
/**
|
|
870
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
871
|
+
* @format GUID
|
|
872
|
+
*/
|
|
708
873
|
wixUserId?: string;
|
|
709
|
-
/**
|
|
874
|
+
/**
|
|
875
|
+
* ID of an app.
|
|
876
|
+
* @format GUID
|
|
877
|
+
*/
|
|
710
878
|
appId?: string;
|
|
711
879
|
}
|
|
712
880
|
export declare enum WebhookIdentityType {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"benefit-programs-v1-pool-definition-pool-definitions.types.js","sourceRoot":"","sources":["../../../src/benefit-programs-v1-pool-definition-pool-definitions.types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"benefit-programs-v1-pool-definition-pool-definitions.types.js","sourceRoot":"","sources":["../../../src/benefit-programs-v1-pool-definition-pool-definitions.types.ts"],"names":[],"mappings":";;;AA6KA,IAAY,oBAUX;AAVD,WAAY,oBAAoB;IAC9B,2CAAmB,CAAA;IACnB,gDAAgD;IAChD,qDAA6B,CAAA;IAC7B,gDAAgD;IAChD,qDAA6B,CAAA;IAC7B,+CAA+C;IAC/C,mDAA2B,CAAA;IAC3B,8DAA8D;IAC9D,yCAAiB,CAAA;AACnB,CAAC,EAVW,oBAAoB,oCAApB,oBAAoB,QAU/B;AA8CD,IAAY,IAQX;AARD,WAAY,IAAI;IACd,2BAA2B;IAC3B,2BAAmB,CAAA;IACnB,kCAAkC;IAClC,yCAAiC,CAAA;IACjC,gCAAgC;IAChC,qCAA6B,CAAA;IAC7B,yBAAiB,CAAA;AACnB,CAAC,EARW,IAAI,oBAAJ,IAAI,QAQf;AA6BD,IAAY,OAiBX;AAjBD,WAAY,OAAO;IACjB,uBAAuB;IACvB,8BAAmB,CAAA;IACnB,cAAc;IACd,4BAAiB,CAAA;I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