@@ -400,6 +400,8 @@ export enum ColonyActionType {
400
400
CreateDomainMotion = 'CREATE_DOMAIN_MOTION' ,
401
401
/** An action related to creating an expenditure (advanced payment) */
402
402
CreateExpenditure = 'CREATE_EXPENDITURE' ,
403
+ /** An action related to creating a streaming payment */
404
+ CreateStreamingPayment = 'CREATE_STREAMING_PAYMENT' ,
403
405
/** An action related to editing a domain's details */
404
406
EditDomain = 'EDIT_DOMAIN' ,
405
407
/** An action related to editing a domain's details via a motion */
@@ -449,6 +451,8 @@ export enum ColonyActionType {
449
451
PaymentMotion = 'PAYMENT_MOTION' ,
450
452
/** An action related to the recovery functionality of a Colony */
451
453
Recovery = 'RECOVERY' ,
454
+ /** An action related to a motion to release a staged payment */
455
+ ReleaseStagedPaymentMotion = 'RELEASE_STAGED_PAYMENT_MOTION' ,
452
456
/** An action related to removing verified members */
453
457
RemoveVerifiedMembers = 'REMOVE_VERIFIED_MEMBERS' ,
454
458
RemoveVerifiedMembersMotion = 'REMOVE_VERIFIED_MEMBERS_MOTION' ,
@@ -1403,6 +1407,7 @@ export type CreateExpenditureInput = {
1403
1407
} ;
1404
1408
1405
1409
export type CreateExpenditureMetadataInput = {
1410
+ distributionType ?: InputMaybe < SplitPaymentDistributionType > ;
1406
1411
fundFromDomainNativeId : Scalars [ 'Int' ] ;
1407
1412
id ?: InputMaybe < Scalars [ 'ID' ] > ;
1408
1413
stages ?: InputMaybe < Array < ExpenditureStageInput > > ;
@@ -1973,6 +1978,11 @@ export type ExpenditureFundingItemInput = {
1973
1978
export type ExpenditureMetadata = {
1974
1979
__typename ?: 'ExpenditureMetadata' ;
1975
1980
createdAt : Scalars [ 'AWSDateTime' ] ;
1981
+ /**
1982
+ * Specifies the distribution type selected when creating a split payment
1983
+ * Will be null for other payment types
1984
+ */
1985
+ distributionType ?: Maybe < SplitPaymentDistributionType > ;
1976
1986
fundFromDomainNativeId : Scalars [ 'Int' ] ;
1977
1987
id : Scalars [ 'ID' ] ;
1978
1988
stages ?: Maybe < Array < ExpenditureStage > > ;
@@ -3040,6 +3050,7 @@ export type ModelExpenditureFilterInput = {
3040
3050
3041
3051
export type ModelExpenditureMetadataConditionInput = {
3042
3052
and ?: InputMaybe < Array < InputMaybe < ModelExpenditureMetadataConditionInput > > > ;
3053
+ distributionType ?: InputMaybe < ModelSplitPaymentDistributionTypeInput > ;
3043
3054
fundFromDomainNativeId ?: InputMaybe < ModelIntInput > ;
3044
3055
not ?: InputMaybe < ModelExpenditureMetadataConditionInput > ;
3045
3056
or ?: InputMaybe < Array < InputMaybe < ModelExpenditureMetadataConditionInput > > > ;
@@ -3053,6 +3064,7 @@ export type ModelExpenditureMetadataConnection = {
3053
3064
3054
3065
export type ModelExpenditureMetadataFilterInput = {
3055
3066
and ?: InputMaybe < Array < InputMaybe < ModelExpenditureMetadataFilterInput > > > ;
3067
+ distributionType ?: InputMaybe < ModelSplitPaymentDistributionTypeInput > ;
3056
3068
fundFromDomainNativeId ?: InputMaybe < ModelIntInput > ;
3057
3069
id ?: InputMaybe < ModelIdInput > ;
3058
3070
not ?: InputMaybe < ModelExpenditureMetadataFilterInput > ;
@@ -3390,6 +3402,11 @@ export enum ModelSortDirection {
3390
3402
Desc = 'DESC' ,
3391
3403
}
3392
3404
3405
+ export type ModelSplitPaymentDistributionTypeInput = {
3406
+ eq ?: InputMaybe < SplitPaymentDistributionType > ;
3407
+ ne ?: InputMaybe < SplitPaymentDistributionType > ;
3408
+ } ;
3409
+
3393
3410
export type ModelStreamingPaymentConditionInput = {
3394
3411
and ?: InputMaybe < Array < InputMaybe < ModelStreamingPaymentConditionInput > > > ;
3395
3412
createdAt ?: InputMaybe < ModelStringInput > ;
@@ -3831,6 +3848,7 @@ export type ModelSubscriptionExpenditureMetadataFilterInput = {
3831
3848
and ?: InputMaybe <
3832
3849
Array < InputMaybe < ModelSubscriptionExpenditureMetadataFilterInput > >
3833
3850
> ;
3851
+ distributionType ?: InputMaybe < ModelSubscriptionStringInput > ;
3834
3852
fundFromDomainNativeId ?: InputMaybe < ModelSubscriptionIntInput > ;
3835
3853
id ?: InputMaybe < ModelSubscriptionIdInput > ;
3836
3854
or ?: InputMaybe <
@@ -6823,6 +6841,12 @@ export enum SortingMethod {
6823
6841
ByMorePermissions = 'BY_MORE_PERMISSIONS' ,
6824
6842
}
6825
6843
6844
+ export enum SplitPaymentDistributionType {
6845
+ Equal = 'EQUAL' ,
6846
+ Reputation = 'REPUTATION' ,
6847
+ Unequal = 'UNEQUAL' ,
6848
+ }
6849
+
6826
6850
export type StakedExpenditureParams = {
6827
6851
__typename ?: 'StakedExpenditureParams' ;
6828
6852
stakeFraction : Scalars [ 'String' ] ;
@@ -7970,6 +7994,7 @@ export type UpdateExpenditureInput = {
7970
7994
} ;
7971
7995
7972
7996
export type UpdateExpenditureMetadataInput = {
7997
+ distributionType ?: InputMaybe < SplitPaymentDistributionType > ;
7973
7998
fundFromDomainNativeId ?: InputMaybe < Scalars [ 'Int' ] > ;
7974
7999
id : Scalars [ 'ID' ] ;
7975
8000
stages ?: InputMaybe < Array < ExpenditureStageInput > > ;
0 commit comments