@wix/auto_sdk_benefit-programs_pool-definitions 1.0.23 → 1.0.24

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.
@@ -1,3 +1,5 @@
1
+ import { NonNullablePaths } from '@wix/sdk-types';
2
+
1
3
  interface PoolDefinition {
2
4
  /**
3
5
  * Pool definition ID.
@@ -827,6 +829,43 @@ declare enum WebhookIdentityType {
827
829
  }
828
830
  /** @enumType */
829
831
  type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
832
+ type UpdatePoolDefinitionValidationErrors = {
833
+ ruleName?: 'cascade_is_required';
834
+ } | {
835
+ ruleName?: 'cascade_value_not_supported';
836
+ };
837
+ type BulkUpdatePoolDefinitionsValidationErrors = {
838
+ ruleName?: 'cascade_is_required';
839
+ } | {
840
+ ruleName?: 'cascade_value_not_supported';
841
+ };
842
+ type AddPoolDefinitionToProgramDefinitionValidationErrors = {
843
+ ruleName?: 'cascade_is_required';
844
+ } | {
845
+ ruleName?: 'cascade_value_not_supported';
846
+ };
847
+ type RemovePoolDefinitionFromProgramDefinitionValidationErrors = {
848
+ ruleName?: 'cascade_is_required';
849
+ } | {
850
+ ruleName?: 'cascade_value_not_supported';
851
+ };
852
+ /**
853
+ * Creates a pool definition.
854
+ * @param poolDefinition - Pool definition to create.
855
+ * @public
856
+ * @documentationMaturity preview
857
+ * @requiredField poolDefinition
858
+ * @requiredField poolDefinition.details
859
+ * @requiredField poolDefinition.details.benefits
860
+ * @requiredField poolDefinition.details.benefits.benefitKey
861
+ * @requiredField poolDefinition.details.benefits.providerAppId
862
+ * @requiredField poolDefinition.namespace
863
+ * @permissionId BENEFIT_PROGRAMS.POOL_DEFINITION_CREATE
864
+ * @applicableIdentity APP
865
+ * @returns Created pool definition.
866
+ * @fqn wix.benefit_programs.v1.pool_definition.PoolDefinitionService.CreatePoolDefinition
867
+ */
868
+ declare function createPoolDefinition(poolDefinition: NonNullablePaths<PoolDefinition, `details` | `details.benefits` | `details.benefits.${number}.benefitKey` | `details.benefits.${number}.providerAppId` | `namespace`, 5>, options?: CreatePoolDefinitionOptions): Promise<NonNullablePaths<PoolDefinition, `displayName` | `programDefinitionIds` | `details.benefits` | `details.benefits.${number}.benefitKey` | `details.creditConfiguration.amount` | `programDefinitions` | `programDefinitions.${number}._id`, 5>>;
830
869
  interface CreatePoolDefinitionOptions {
831
870
  /**
832
871
  * Determines when the changes to the program definitions containing this pool definition will be applied to associated programs.
@@ -835,6 +874,22 @@ interface CreatePoolDefinitionOptions {
835
874
  */
836
875
  cascade?: CascadeWithLiterals;
837
876
  }
877
+ /**
878
+ * Creates pool definitions.
879
+ * @param poolDefinitions - Pool definitions to create.
880
+ * @public
881
+ * @documentationMaturity preview
882
+ * @requiredField poolDefinitions
883
+ * @requiredField poolDefinitions.details
884
+ * @requiredField poolDefinitions.details.benefits
885
+ * @requiredField poolDefinitions.details.benefits.benefitKey
886
+ * @requiredField poolDefinitions.details.benefits.providerAppId
887
+ * @requiredField poolDefinitions.namespace
888
+ * @permissionId BENEFIT_PROGRAMS.POOL_DEFINITION_CREATE
889
+ * @applicableIdentity APP
890
+ * @fqn wix.benefit_programs.v1.pool_definition.PoolDefinitionService.BulkCreatePoolDefinitions
891
+ */
892
+ declare function bulkCreatePoolDefinitions(poolDefinitions: NonNullablePaths<PoolDefinition, `details` | `details.benefits` | `details.benefits.${number}.benefitKey` | `details.benefits.${number}.providerAppId` | `namespace`, 5>[], options?: BulkCreatePoolDefinitionsOptions): Promise<NonNullablePaths<BulkCreatePoolDefinitionsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.poolDefinition.displayName` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
838
893
  interface BulkCreatePoolDefinitionsOptions {
839
894
  /**
840
895
  * Determines when the changes to the program definitions containing these pool definitions will be applied to associated programs.
@@ -849,6 +904,28 @@ interface BulkCreatePoolDefinitionsOptions {
849
904
  */
850
905
  returnEntity?: boolean;
851
906
  }
907
+ /**
908
+ * Updates a pool definition.
909
+ *
910
+ * Each time the pool definition is updated,
911
+ * `revision` increments by 1.
912
+ * The current `revision` must be passed when updating the pool definition.
913
+ * This ensures you're working with the latest pool definition
914
+ * and prevents unintended overwrites.
915
+ * @param _id - Pool definition ID.
916
+ * @public
917
+ * @documentationMaturity preview
918
+ * @requiredField _id
919
+ * @requiredField poolDefinition
920
+ * @requiredField poolDefinition.revision
921
+ * @permissionId BENEFIT_PROGRAMS.POOL_DEFINITION_UPDATE
922
+ * @applicableIdentity APP
923
+ * @returns Updated pool definition.
924
+ * @fqn wix.benefit_programs.v1.pool_definition.PoolDefinitionService.UpdatePoolDefinition
925
+ */
926
+ declare function updatePoolDefinition(_id: string, poolDefinition: NonNullablePaths<UpdatePoolDefinition, `revision`, 2>, options?: UpdatePoolDefinitionOptions): Promise<NonNullablePaths<PoolDefinition, `displayName` | `programDefinitionIds` | `details.benefits` | `details.benefits.${number}.benefitKey` | `details.creditConfiguration.amount` | `programDefinitions` | `programDefinitions.${number}._id`, 5> & {
927
+ __validationErrorsType?: UpdatePoolDefinitionValidationErrors;
928
+ }>;
852
929
  interface UpdatePoolDefinition {
853
930
  /**
854
931
  * Pool definition ID.
@@ -913,6 +990,20 @@ interface UpdatePoolDefinitionOptions {
913
990
  /** Required.** Determines when the changes to this pool definition and program definitions containing it will be applied to associated programs and pools. */
914
991
  cascade?: CascadeWithLiterals;
915
992
  }
993
+ /**
994
+ * Updates pool definitions.
995
+ * @public
996
+ * @documentationMaturity preview
997
+ * @requiredField options.poolDefinitions.poolDefinition
998
+ * @requiredField options.poolDefinitions.poolDefinition._id
999
+ * @requiredField options.poolDefinitions.poolDefinition.revision
1000
+ * @permissionId BENEFIT_PROGRAMS.POOL_DEFINITION_UPDATE
1001
+ * @applicableIdentity APP
1002
+ * @fqn wix.benefit_programs.v1.pool_definition.PoolDefinitionService.BulkUpdatePoolDefinitions
1003
+ */
1004
+ declare function bulkUpdatePoolDefinitions(options?: NonNullablePaths<BulkUpdatePoolDefinitionsOptions, `poolDefinitions.${number}.poolDefinition` | `poolDefinitions.${number}.poolDefinition._id` | `poolDefinitions.${number}.poolDefinition.revision`, 5>): Promise<NonNullablePaths<BulkUpdatePoolDefinitionsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.poolDefinition.displayName` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6> & {
1005
+ __validationErrorsType?: BulkUpdatePoolDefinitionsValidationErrors;
1006
+ }>;
916
1007
  interface BulkUpdatePoolDefinitionsOptions {
917
1008
  /**
918
1009
  * Pool definitions to update.
@@ -929,14 +1020,69 @@ interface BulkUpdatePoolDefinitionsOptions {
929
1020
  */
930
1021
  returnEntity?: boolean;
931
1022
  }
1023
+ /**
1024
+ * Deletes a pool definition.
1025
+ * @param poolDefinitionId - ID of the pool definition to delete.
1026
+ * @public
1027
+ * @documentationMaturity preview
1028
+ * @requiredField poolDefinitionId
1029
+ * @permissionId BENEFIT_PROGRAMS.POOL_DEFINITION_DELETE
1030
+ * @applicableIdentity APP
1031
+ * @fqn wix.benefit_programs.v1.pool_definition.PoolDefinitionService.DeletePoolDefinition
1032
+ */
1033
+ declare function deletePoolDefinition(poolDefinitionId: string, options?: DeletePoolDefinitionOptions): Promise<void>;
932
1034
  interface DeletePoolDefinitionOptions {
933
1035
  /** Required**. Determines when the changes to this pool definition the program definitions containing it will be applied to associated programs and pools. */
934
1036
  cascade?: CascadeWithLiterals;
935
1037
  }
1038
+ /**
1039
+ * Deletes pool definitions.
1040
+ * @param poolDefinitionIds - List of IDs of the pool definitions to delete.
1041
+ * @public
1042
+ * @documentationMaturity preview
1043
+ * @requiredField poolDefinitionIds
1044
+ * @permissionId BENEFIT_PROGRAMS.POOL_DEFINITION_DELETE
1045
+ * @applicableIdentity APP
1046
+ * @fqn wix.benefit_programs.v1.pool_definition.PoolDefinitionService.BulkDeletePoolDefinitions
1047
+ */
1048
+ declare function bulkDeletePoolDefinitions(poolDefinitionIds: string[], options?: BulkDeletePoolDefinitionsOptions): Promise<NonNullablePaths<BulkDeletePoolDefinitionsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.poolDefinition.displayName` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
936
1049
  interface BulkDeletePoolDefinitionsOptions {
937
1050
  /** Required**. Determines when the changes to these pool definitions the program definitions containing it will be applied to associated programs and pools. */
938
1051
  cascade?: CascadeWithLiterals;
939
1052
  }
1053
+ /**
1054
+ * Retrieves a pool definition.
1055
+ * @param poolDefinitionId - ID of the pool definition to retrieve.
1056
+ * @public
1057
+ * @documentationMaturity preview
1058
+ * @requiredField poolDefinitionId
1059
+ * @permissionId BENEFIT_PROGRAMS.POOL_DEFINITION_READ
1060
+ * @applicableIdentity APP
1061
+ * @applicableIdentity VISITOR
1062
+ * @returns Retrieved pool definition.
1063
+ * @fqn wix.benefit_programs.v1.pool_definition.PoolDefinitionService.GetPoolDefinition
1064
+ */
1065
+ declare function getPoolDefinition(poolDefinitionId: string): Promise<NonNullablePaths<PoolDefinition, `displayName` | `programDefinitionIds` | `details.benefits` | `details.benefits.${number}.benefitKey` | `details.creditConfiguration.amount` | `programDefinitions` | `programDefinitions.${number}._id`, 5>>;
1066
+ /**
1067
+ * Creates a query to retrieve a list of pool definitions.
1068
+ *
1069
+ * The Query Pool Definitions method builds a query to retrieve a list of pool definitions and returns a `PoolDefinitionsQueryBuilder` object.
1070
+ *
1071
+ * The returned object contains the query definition, which is used to run the query using the `find()` method.
1072
+ *
1073
+ * You can refine the query by chaining `PoolDefinitionsQueryBuilder` methods onto the query. `PoolDefinitionsQueryBuilder` methods enable you to filter, sort, and control the results that Query Pool Definitions returns.
1074
+ *
1075
+ * Query Pool Definitions has a default paging limit of 50, which you can override.
1076
+ *
1077
+ * For a full description of the item object, see the object returned for the `items` property in `PoolDefinitionsQueryResult`.
1078
+ * @public
1079
+ * @documentationMaturity preview
1080
+ * @permissionId BENEFIT_PROGRAMS.POOL_DEFINITION_READ
1081
+ * @applicableIdentity APP
1082
+ * @applicableIdentity VISITOR
1083
+ * @fqn wix.benefit_programs.v1.pool_definition.PoolDefinitionService.QueryPoolDefinitions
1084
+ */
1085
+ declare function queryPoolDefinitions(): PoolDefinitionsQueryBuilder;
940
1086
  interface QueryCursorResult {
941
1087
  cursors: Cursors;
942
1088
  hasNext: () => boolean;
@@ -1019,6 +1165,24 @@ interface PoolDefinitionsQueryBuilder {
1019
1165
  /** @documentationMaturity preview */
1020
1166
  find: () => Promise<PoolDefinitionsQueryResult>;
1021
1167
  }
1168
+ /**
1169
+ * Adds a pool definition to a program definition.
1170
+ *
1171
+ * Pool definitions can be contained by multiple program definitions, so this doesn't affect other program definitions that contain this pool definition.
1172
+ * @param poolDefinitionId - ID of the pool definition to add to the program definition.
1173
+ * @public
1174
+ * @documentationMaturity preview
1175
+ * @requiredField options
1176
+ * @requiredField options.cascade
1177
+ * @requiredField options.programDefinitionId
1178
+ * @requiredField poolDefinitionId
1179
+ * @permissionId BENEFIT_PROGRAMS.POOL_DEFINITION_UPDATE
1180
+ * @applicableIdentity APP
1181
+ * @fqn wix.benefit_programs.v1.pool_definition.PoolDefinitionService.AddPoolDefinitionToProgramDefinition
1182
+ */
1183
+ declare function addPoolDefinitionToProgramDefinition(poolDefinitionId: string, options: NonNullablePaths<AddPoolDefinitionToProgramDefinitionOptions, `cascade` | `programDefinitionId`, 2>): Promise<NonNullablePaths<AddPoolDefinitionToProgramDefinitionResponse, `poolDefinition.displayName` | `poolDefinition.programDefinitionIds` | `poolDefinition.details.benefits` | `poolDefinition.details.benefits.${number}.benefitKey` | `poolDefinition.details.creditConfiguration.amount` | `poolDefinition.programDefinitions` | `poolDefinition.programDefinitions.${number}._id`, 6> & {
1184
+ __validationErrorsType?: AddPoolDefinitionToProgramDefinitionValidationErrors;
1185
+ }>;
1022
1186
  interface AddPoolDefinitionToProgramDefinitionOptions {
1023
1187
  /**
1024
1188
  * ID of the program definition to add the pool definition to.
@@ -1028,6 +1192,24 @@ interface AddPoolDefinitionToProgramDefinitionOptions {
1028
1192
  /** Determines when the changes to this program definition and pool definition will be applied to associated programs and pools. */
1029
1193
  cascade: CascadeWithLiterals;
1030
1194
  }
1195
+ /**
1196
+ * Removes a pool definition from a program definition.
1197
+ *
1198
+ * Pool definitions don't need to be contained by a program definition, so this doesn't affect the usability of this pool definition.
1199
+ * @param poolDefinitionId - ID of the pool definition to remove from the program definition.
1200
+ * @public
1201
+ * @documentationMaturity preview
1202
+ * @requiredField options
1203
+ * @requiredField options.cascade
1204
+ * @requiredField options.programDefinitionId
1205
+ * @requiredField poolDefinitionId
1206
+ * @permissionId BENEFIT_PROGRAMS.POOL_DEFINITION_UPDATE
1207
+ * @applicableIdentity APP
1208
+ * @fqn wix.benefit_programs.v1.pool_definition.PoolDefinitionService.RemovePoolDefinitionFromProgramDefinition
1209
+ */
1210
+ declare function removePoolDefinitionFromProgramDefinition(poolDefinitionId: string, options: NonNullablePaths<RemovePoolDefinitionFromProgramDefinitionOptions, `cascade` | `programDefinitionId`, 2>): Promise<NonNullablePaths<RemovePoolDefinitionFromProgramDefinitionResponse, `poolDefinition.displayName` | `poolDefinition.programDefinitionIds` | `poolDefinition.details.benefits` | `poolDefinition.details.benefits.${number}.benefitKey` | `poolDefinition.details.creditConfiguration.amount` | `poolDefinition.programDefinitions` | `poolDefinition.programDefinitions.${number}._id`, 6> & {
1211
+ __validationErrorsType?: RemovePoolDefinitionFromProgramDefinitionValidationErrors;
1212
+ }>;
1031
1213
  interface RemovePoolDefinitionFromProgramDefinitionOptions {
1032
1214
  /**
1033
1215
  * ID of the program definition to remove the pool definition from.
@@ -1037,6 +1219,20 @@ interface RemovePoolDefinitionFromProgramDefinitionOptions {
1037
1219
  /** Determines when the changes to this program definition and pool definition will be applied to associated programs and pools. */
1038
1220
  cascade: CascadeWithLiterals;
1039
1221
  }
1222
+ /**
1223
+ * Retrieve all a program definition's pool definitions.
1224
+ * @param programDefinitionId - ID of the program definition to retrieve its pool definitions.
1225
+ * @public
1226
+ * @documentationMaturity preview
1227
+ * @requiredField options
1228
+ * @requiredField options.namespace
1229
+ * @requiredField programDefinitionId
1230
+ * @permissionId BENEFIT_PROGRAMS.POOL_DEFINITION_READ
1231
+ * @applicableIdentity APP
1232
+ * @applicableIdentity VISITOR
1233
+ * @fqn wix.benefit_programs.v1.pool_definition.PoolDefinitionService.FindPoolDefinitionsByProgramDefinition
1234
+ */
1235
+ declare function findPoolDefinitionsByProgramDefinition(programDefinitionId: string, options: NonNullablePaths<FindPoolDefinitionsByProgramDefinitionOptions, `namespace`, 2>): Promise<NonNullablePaths<FindPoolDefinitionsByProgramDefinitionResponse, `poolDefinitions` | `poolDefinitions.${number}.displayName` | `poolDefinitions.${number}.details.creditConfiguration.amount`, 6>>;
1040
1236
  interface FindPoolDefinitionsByProgramDefinitionOptions {
1041
1237
  /**
1042
1238
  * Namespace for your app or site's benefit programs. Namespaces allow you to distinguish between entities that you created and entities that other apps created.
@@ -1046,4 +1242,4 @@ interface FindPoolDefinitionsByProgramDefinitionOptions {
1046
1242
  namespace: string;
1047
1243
  }
1048
1244
 
1049
- export { type UpdatePoolDefinitionRequest as $, type AddPoolDefinitionToProgramDefinitionOptions as A, type BulkCreatePoolDefinitionsOptions as B, type CreatePoolDefinitionOptions as C, type DeletePoolDefinitionOptions as D, type CustomPolicy as E, type FindPoolDefinitionsByProgramDefinitionOptions as F, type CreditConfiguration as G, type RolloverConfiguration as H, type ExtendedFields as I, type ProgramDefinitionInfo as J, type PoolDefinitionAddedToProgramDefinition as K, type PoolDefinitionRemovedFromProgramDefinition as L, type PoolDefinitionUpdatedProxySupport as M, type PoolDefinitionDeletedProxySupport as N, type CreatePoolDefinitionRequest as O, type PoolDefinition as P, type CreatePoolDefinitionResponse as Q, type RemovePoolDefinitionFromProgramDefinitionOptions as R, SortOrder as S, Type as T, type UpdatePoolDefinition as U, type BulkCreatePoolDefinitionsRequest as V, WeekDay as W, type BulkPoolDefinitionResult as X, type ItemMetadata as Y, type ApplicationError as Z, type BulkActionMetadata as _, type BulkCreatePoolDefinitionsResponse as a, type UpdatePoolDefinitionResponse as a0, type BulkUpdatePoolDefinitionsRequest as a1, type MaskedPoolDefinition as a2, type DeletePoolDefinitionRequest as a3, type DeletePoolDefinitionResponse as a4, type BulkDeletePoolDefinitionsRequest as a5, type GetPoolDefinitionRequest as a6, type GetPoolDefinitionResponse as a7, type QueryPoolDefinitionsRequest as a8, type CursorQuery as a9, type CursorQueryPagingMethodOneOf as aa, type Sorting as ab, type CursorPaging as ac, type QueryPoolDefinitionsResponse as ad, type CursorPagingMetadata as ae, type Cursors as af, type AddPoolDefinitionToProgramDefinitionRequest as ag, type RemovePoolDefinitionFromProgramDefinitionRequest as ah, type FindPoolDefinitionsByProgramDefinitionRequest as ai, type DomainEvent as aj, type DomainEventBodyOneOf as ak, type EntityCreatedEvent as al, type RestoreInfo as am, type EntityUpdatedEvent as an, type EntityDeletedEvent as ao, type ActionEvent as ap, type MessageEnvelope as aq, type IdentificationData as ar, type IdentificationDataIdOneOf as as, type PoolDefinitionsQueryResult as at, type UpdatePoolDefinitionOptions as b, type BulkUpdatePoolDefinitionsOptions as c, type BulkUpdatePoolDefinitionsResponse as d, type BulkDeletePoolDefinitionsOptions as e, type BulkDeletePoolDefinitionsResponse as f, type PoolDefinitionsQueryBuilder as g, type AddPoolDefinitionToProgramDefinitionResponse as h, type RemovePoolDefinitionFromProgramDefinitionResponse as i, type FindPoolDefinitionsByProgramDefinitionResponse as j, PolicyExpressionType as k, RateLimitedPolicyType as l, Cascade as m, WebhookIdentityType as n, type Details as o, type Benefit as p, type PolicyExpression as q, type PolicyExpressionExpressionOneOf as r, type PolicyExpressionNot as s, type PolicyExpressionAnd as t, type PolicyExpressionOr as u, type Policy as v, type PolicyPolicyOneOf as w, type FixedIntervalPolicy as x, type RateLimitedPolicy as y, type RateLimitedPolicyPeriodOneOf as z };
1245
+ export { type ActionEvent, type AddPoolDefinitionToProgramDefinitionOptions, type AddPoolDefinitionToProgramDefinitionRequest, type AddPoolDefinitionToProgramDefinitionResponse, type AddPoolDefinitionToProgramDefinitionValidationErrors, type ApplicationError, type Benefit, type BulkActionMetadata, type BulkCreatePoolDefinitionsOptions, type BulkCreatePoolDefinitionsRequest, type BulkCreatePoolDefinitionsResponse, type BulkDeletePoolDefinitionsOptions, type BulkDeletePoolDefinitionsRequest, type BulkDeletePoolDefinitionsResponse, type BulkPoolDefinitionResult, type BulkUpdatePoolDefinitionsOptions, type BulkUpdatePoolDefinitionsRequest, type BulkUpdatePoolDefinitionsResponse, type BulkUpdatePoolDefinitionsValidationErrors, Cascade, type CascadeWithLiterals, type CreatePoolDefinitionOptions, type CreatePoolDefinitionRequest, type CreatePoolDefinitionResponse, type CreditConfiguration, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomPolicy, type DeletePoolDefinitionOptions, type DeletePoolDefinitionRequest, type DeletePoolDefinitionResponse, type Details, type DomainEvent, type DomainEventBodyOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type ExtendedFields, type FindPoolDefinitionsByProgramDefinitionOptions, type FindPoolDefinitionsByProgramDefinitionRequest, type FindPoolDefinitionsByProgramDefinitionResponse, type FixedIntervalPolicy, type GetPoolDefinitionRequest, type GetPoolDefinitionResponse, type IdentificationData, type IdentificationDataIdOneOf, type ItemMetadata, type MaskedPoolDefinition, type MessageEnvelope, type Policy, type PolicyExpression, type PolicyExpressionAnd, type PolicyExpressionExpressionOneOf, type PolicyExpressionNot, type PolicyExpressionOr, PolicyExpressionType, type PolicyExpressionTypeWithLiterals, type PolicyPolicyOneOf, type PoolDefinition, type PoolDefinitionAddedToProgramDefinition, type PoolDefinitionDeletedProxySupport, type PoolDefinitionRemovedFromProgramDefinition, type PoolDefinitionUpdatedProxySupport, type PoolDefinitionsQueryBuilder, type PoolDefinitionsQueryResult, type ProgramDefinitionInfo, type QueryPoolDefinitionsRequest, type QueryPoolDefinitionsResponse, type RateLimitedPolicy, type RateLimitedPolicyPeriodOneOf, RateLimitedPolicyType, type RateLimitedPolicyTypeWithLiterals, type RemovePoolDefinitionFromProgramDefinitionOptions, type RemovePoolDefinitionFromProgramDefinitionRequest, type RemovePoolDefinitionFromProgramDefinitionResponse, type RemovePoolDefinitionFromProgramDefinitionValidationErrors, type RestoreInfo, type RolloverConfiguration, SortOrder, type SortOrderWithLiterals, type Sorting, Type, type TypeWithLiterals, type UpdatePoolDefinition, type UpdatePoolDefinitionOptions, type UpdatePoolDefinitionRequest, type UpdatePoolDefinitionResponse, type UpdatePoolDefinitionValidationErrors, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeekDay, type WeekDayWithLiterals, addPoolDefinitionToProgramDefinition, bulkCreatePoolDefinitions, bulkDeletePoolDefinitions, bulkUpdatePoolDefinitions, createPoolDefinition, deletePoolDefinition, findPoolDefinitionsByProgramDefinition, getPoolDefinition, queryPoolDefinitions, removePoolDefinitionFromProgramDefinition, updatePoolDefinition };