@wix/auto_sdk_benefit-programs_pool-definitions 1.0.1 → 1.0.2
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 +206 -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 +240 -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 +206 -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 +240 -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 +206 -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 +240 -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 +206 -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 +240 -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, 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, 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,OAA0C,EAC1C,EAAE,CACF,IAAA,6FAAkC,EAChC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,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;AACN,CAAC;AAbD,8DAaC;AAgBD,SAAgB,oBAAoB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,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,yJA8F6E;AAxE3E,4JAAA,OAAO,OAAA;AAyCP,yKAAA,oBAAoB,OAAA;AAcpB,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,21 @@ 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
|
+
}
|
|
329
403
|
export interface CreatePoolDefinitionRequest {
|
|
330
404
|
/** Pool definition to create. */
|
|
331
405
|
poolDefinition: PoolDefinition;
|
|
@@ -341,7 +415,11 @@ export interface CreatePoolDefinitionResponse {
|
|
|
341
415
|
poolDefinition?: PoolDefinition;
|
|
342
416
|
}
|
|
343
417
|
export interface BulkCreatePoolDefinitionsRequest {
|
|
344
|
-
/**
|
|
418
|
+
/**
|
|
419
|
+
* Pool definitions to create.
|
|
420
|
+
* @minSize 1
|
|
421
|
+
* @maxSize 100
|
|
422
|
+
*/
|
|
345
423
|
poolDefinitions: PoolDefinition[];
|
|
346
424
|
/**
|
|
347
425
|
* Specifies the timing of updates to associated benefit pools.
|
|
@@ -361,6 +439,8 @@ export interface BulkCreatePoolDefinitionsResponse {
|
|
|
361
439
|
* List of results for each pool definition.
|
|
362
440
|
*
|
|
363
441
|
* Includes the pool definition and whether the creation was successful.
|
|
442
|
+
* @minSize 1
|
|
443
|
+
* @maxSize 100
|
|
364
444
|
*/
|
|
365
445
|
results?: BulkPoolDefinitionResult[];
|
|
366
446
|
/** Bulk action metadata. */
|
|
@@ -373,7 +453,10 @@ export interface BulkPoolDefinitionResult {
|
|
|
373
453
|
poolDefinition?: PoolDefinition;
|
|
374
454
|
}
|
|
375
455
|
export interface ItemMetadata {
|
|
376
|
-
/**
|
|
456
|
+
/**
|
|
457
|
+
* Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
|
|
458
|
+
* @format GUID
|
|
459
|
+
*/
|
|
377
460
|
id?: string | null;
|
|
378
461
|
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
379
462
|
originalIndex?: number;
|
|
@@ -413,7 +496,11 @@ export interface UpdatePoolDefinitionResponse {
|
|
|
413
496
|
poolDefinition?: PoolDefinition;
|
|
414
497
|
}
|
|
415
498
|
export interface BulkUpdatePoolDefinitionsRequest {
|
|
416
|
-
/**
|
|
499
|
+
/**
|
|
500
|
+
* Pool definitions to update.
|
|
501
|
+
* @minSize 1
|
|
502
|
+
* @maxSize 100
|
|
503
|
+
*/
|
|
417
504
|
poolDefinitions?: MaskedPoolDefinition[];
|
|
418
505
|
/**
|
|
419
506
|
* Specifies the timing of updates to associated benefit pools.
|
|
@@ -439,13 +526,18 @@ export interface BulkUpdatePoolDefinitionsResponse {
|
|
|
439
526
|
* List of results for each pool definition.
|
|
440
527
|
*
|
|
441
528
|
* Includes the pool definition and whether the update was successful.
|
|
529
|
+
* @minSize 1
|
|
530
|
+
* @maxSize 100
|
|
442
531
|
*/
|
|
443
532
|
results?: BulkPoolDefinitionResult[];
|
|
444
533
|
/** Bulk action metadata. */
|
|
445
534
|
bulkActionMetadata?: BulkActionMetadata;
|
|
446
535
|
}
|
|
447
536
|
export interface DeletePoolDefinitionRequest {
|
|
448
|
-
/**
|
|
537
|
+
/**
|
|
538
|
+
* ID of the pool definition to delete.
|
|
539
|
+
* @format GUID
|
|
540
|
+
*/
|
|
449
541
|
poolDefinitionId: string;
|
|
450
542
|
/**
|
|
451
543
|
* Defines how the delete operation cascades to related pools.
|
|
@@ -457,7 +549,12 @@ export interface DeletePoolDefinitionRequest {
|
|
|
457
549
|
export interface DeletePoolDefinitionResponse {
|
|
458
550
|
}
|
|
459
551
|
export interface BulkDeletePoolDefinitionsRequest {
|
|
460
|
-
/**
|
|
552
|
+
/**
|
|
553
|
+
* ID of the pool definitions to delete.
|
|
554
|
+
* @minSize 1
|
|
555
|
+
* @maxSize 100
|
|
556
|
+
* @format GUID
|
|
557
|
+
*/
|
|
461
558
|
poolDefinitionIds: string[];
|
|
462
559
|
/**
|
|
463
560
|
* Specifies the timing of updates to associated benefit pools.
|
|
@@ -470,13 +567,18 @@ export interface BulkDeletePoolDefinitionsResponse {
|
|
|
470
567
|
* List of results for each pool definition.
|
|
471
568
|
*
|
|
472
569
|
* Includes the pool definition and whether the deletion was successful.
|
|
570
|
+
* @minSize 1
|
|
571
|
+
* @maxSize 100
|
|
473
572
|
*/
|
|
474
573
|
results?: BulkPoolDefinitionResult[];
|
|
475
574
|
/** Bulk action metadata. */
|
|
476
575
|
bulkActionMetadata?: BulkActionMetadata;
|
|
477
576
|
}
|
|
478
577
|
export interface GetPoolDefinitionRequest {
|
|
479
|
-
/**
|
|
578
|
+
/**
|
|
579
|
+
* ID of the pool definition to retrieve.
|
|
580
|
+
* @format GUID
|
|
581
|
+
*/
|
|
480
582
|
poolDefinitionId: string;
|
|
481
583
|
}
|
|
482
584
|
export interface GetPoolDefinitionResponse {
|
|
@@ -502,6 +604,7 @@ export interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
|
502
604
|
/**
|
|
503
605
|
* Sort object in the following format:
|
|
504
606
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
607
|
+
* @maxSize 5
|
|
505
608
|
*/
|
|
506
609
|
sort?: Sorting[];
|
|
507
610
|
}
|
|
@@ -511,7 +614,10 @@ export interface CursorQueryPagingMethodOneOf {
|
|
|
511
614
|
cursorPaging?: CursorPaging;
|
|
512
615
|
}
|
|
513
616
|
export interface Sorting {
|
|
514
|
-
/**
|
|
617
|
+
/**
|
|
618
|
+
* Name of the field to sort by.
|
|
619
|
+
* @maxLength 512
|
|
620
|
+
*/
|
|
515
621
|
fieldName?: string;
|
|
516
622
|
/** Sort order. */
|
|
517
623
|
order?: SortOrder;
|
|
@@ -523,13 +629,17 @@ export declare enum SortOrder {
|
|
|
523
629
|
DESC = "DESC"
|
|
524
630
|
}
|
|
525
631
|
export interface CursorPaging {
|
|
526
|
-
/**
|
|
632
|
+
/**
|
|
633
|
+
* Maximum number of items to return in the results.
|
|
634
|
+
* @max 100
|
|
635
|
+
*/
|
|
527
636
|
limit?: number | null;
|
|
528
637
|
/**
|
|
529
638
|
* Pointer to the next or previous page in the list of results.
|
|
530
639
|
*
|
|
531
640
|
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
532
641
|
* Not relevant for the first request.
|
|
642
|
+
* @maxLength 16000
|
|
533
643
|
*/
|
|
534
644
|
cursor?: string | null;
|
|
535
645
|
}
|
|
@@ -553,15 +663,27 @@ export interface CursorPagingMetadata {
|
|
|
553
663
|
hasNext?: boolean | null;
|
|
554
664
|
}
|
|
555
665
|
export interface Cursors {
|
|
556
|
-
/**
|
|
666
|
+
/**
|
|
667
|
+
* Cursor string pointing to the next page in the list of results.
|
|
668
|
+
* @maxLength 16000
|
|
669
|
+
*/
|
|
557
670
|
next?: string | null;
|
|
558
|
-
/**
|
|
671
|
+
/**
|
|
672
|
+
* Cursor pointing to the previous page in the list of results.
|
|
673
|
+
* @maxLength 16000
|
|
674
|
+
*/
|
|
559
675
|
prev?: string | null;
|
|
560
676
|
}
|
|
561
677
|
export interface AddPoolDefinitionToProgramDefinitionRequest {
|
|
562
|
-
/**
|
|
678
|
+
/**
|
|
679
|
+
* Pool definition to assign to the program definition.
|
|
680
|
+
* @format GUID
|
|
681
|
+
*/
|
|
563
682
|
poolDefinitionId: string;
|
|
564
|
-
/**
|
|
683
|
+
/**
|
|
684
|
+
* Program definition that the pool definition is assigned to.
|
|
685
|
+
* @format GUID
|
|
686
|
+
*/
|
|
565
687
|
programDefinitionId: string;
|
|
566
688
|
/**
|
|
567
689
|
* Specifies the timing of updates to associated benefit pools.
|
|
@@ -574,9 +696,15 @@ export interface AddPoolDefinitionToProgramDefinitionResponse {
|
|
|
574
696
|
poolDefinition?: PoolDefinition;
|
|
575
697
|
}
|
|
576
698
|
export interface RemovePoolDefinitionFromProgramDefinitionRequest {
|
|
577
|
-
/**
|
|
699
|
+
/**
|
|
700
|
+
* ID of the pool definition to be removed from the program definition.
|
|
701
|
+
* @format GUID
|
|
702
|
+
*/
|
|
578
703
|
poolDefinitionId: string;
|
|
579
|
-
/**
|
|
704
|
+
/**
|
|
705
|
+
* ID of the program definition being removed from the pool definition.
|
|
706
|
+
* @format GUID
|
|
707
|
+
*/
|
|
580
708
|
programDefinitionId: string;
|
|
581
709
|
/**
|
|
582
710
|
* Specifies the timing of updates to associated benefit pools.
|
|
@@ -589,7 +717,10 @@ export interface RemovePoolDefinitionFromProgramDefinitionResponse {
|
|
|
589
717
|
poolDefinition?: PoolDefinition;
|
|
590
718
|
}
|
|
591
719
|
export interface FindPoolDefinitionsByProgramDefinitionRequest {
|
|
592
|
-
/**
|
|
720
|
+
/**
|
|
721
|
+
* ID of the program definition of which its assigned pool definitions are retrieved.
|
|
722
|
+
* @format GUID
|
|
723
|
+
*/
|
|
593
724
|
programDefinitionId: string;
|
|
594
725
|
/**
|
|
595
726
|
* Application sub-module that represents the source of the pool definition. Specified by the external developer.
|
|
@@ -597,6 +728,8 @@ export interface FindPoolDefinitionsByProgramDefinitionRequest {
|
|
|
597
728
|
* This namespace is used to organize and retrieve pool definitions and their associated benefit pools.
|
|
598
729
|
*
|
|
599
730
|
* It should match the namespace used in the program definitions.
|
|
731
|
+
* @minLength 1
|
|
732
|
+
* @maxLength 50
|
|
600
733
|
*/
|
|
601
734
|
namespace: string;
|
|
602
735
|
}
|
|
@@ -677,9 +810,15 @@ export interface ActionEvent {
|
|
|
677
810
|
bodyAsJson?: string;
|
|
678
811
|
}
|
|
679
812
|
export interface MessageEnvelope {
|
|
680
|
-
/**
|
|
813
|
+
/**
|
|
814
|
+
* App instance ID.
|
|
815
|
+
* @format GUID
|
|
816
|
+
*/
|
|
681
817
|
instanceId?: string | null;
|
|
682
|
-
/**
|
|
818
|
+
/**
|
|
819
|
+
* Event type.
|
|
820
|
+
* @maxLength 150
|
|
821
|
+
*/
|
|
683
822
|
eventType?: string;
|
|
684
823
|
/** The identification type and identity data. */
|
|
685
824
|
identity?: IdentificationData;
|
|
@@ -687,26 +826,50 @@ export interface MessageEnvelope {
|
|
|
687
826
|
data?: string;
|
|
688
827
|
}
|
|
689
828
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
690
|
-
/**
|
|
829
|
+
/**
|
|
830
|
+
* ID of a site visitor that has not logged in to the site.
|
|
831
|
+
* @format GUID
|
|
832
|
+
*/
|
|
691
833
|
anonymousVisitorId?: string;
|
|
692
|
-
/**
|
|
834
|
+
/**
|
|
835
|
+
* ID of a site visitor that has logged in to the site.
|
|
836
|
+
* @format GUID
|
|
837
|
+
*/
|
|
693
838
|
memberId?: string;
|
|
694
|
-
/**
|
|
839
|
+
/**
|
|
840
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
841
|
+
* @format GUID
|
|
842
|
+
*/
|
|
695
843
|
wixUserId?: string;
|
|
696
|
-
/**
|
|
844
|
+
/**
|
|
845
|
+
* ID of an app.
|
|
846
|
+
* @format GUID
|
|
847
|
+
*/
|
|
697
848
|
appId?: string;
|
|
698
849
|
/** @readonly */
|
|
699
850
|
identityType?: WebhookIdentityType;
|
|
700
851
|
}
|
|
701
852
|
/** @oneof */
|
|
702
853
|
export interface IdentificationDataIdOneOf {
|
|
703
|
-
/**
|
|
854
|
+
/**
|
|
855
|
+
* ID of a site visitor that has not logged in to the site.
|
|
856
|
+
* @format GUID
|
|
857
|
+
*/
|
|
704
858
|
anonymousVisitorId?: string;
|
|
705
|
-
/**
|
|
859
|
+
/**
|
|
860
|
+
* ID of a site visitor that has logged in to the site.
|
|
861
|
+
* @format GUID
|
|
862
|
+
*/
|
|
706
863
|
memberId?: string;
|
|
707
|
-
/**
|
|
864
|
+
/**
|
|
865
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
866
|
+
* @format GUID
|
|
867
|
+
*/
|
|
708
868
|
wixUserId?: string;
|
|
709
|
-
/**
|
|
869
|
+
/**
|
|
870
|
+
* ID of an app.
|
|
871
|
+
* @format GUID
|
|
872
|
+
*/
|
|
710
873
|
appId?: string;
|
|
711
874
|
}
|
|
712
875
|
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;IACjB,eAAe;IACf,8BAAmB,CAAA;IACnB,iBAAiB;IACjB,kCAAuB,CAAA;IACvB,gBAAgB;IAChB,gCAAqB,CAAA;IACrB,cAAc;IACd,4BAAiB,CAAA;IACjB,gBAAgB;IAChB,gCAAqB,CAAA;IACrB,cAAc;IACd,4BAAiB,CAAA;AACnB,CAAC,EAjBW,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