gsintegrations 0.0.494 → 0.0.495

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,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/dist/bundle.esm.js.map
3
- size: 59749977 bytes
4
- sha256: 072b22f0cc402121c04a33913c4972d67e9e157435622ba1cc4dcbf7569788a3
3
+ size: 59760411 bytes
4
+ sha256: eae62f8da63e30ce6ae185094fbf0b6a4ba2fd2b9259fd6b027cd60e8cf2fbf1
package/dist/index.d.ts CHANGED
@@ -20991,6 +20991,16 @@ declare const FinancialAccountPage: React__default.FunctionComponent<FinancialAc
20991
20991
 
20992
20992
  declare const _default$7: React__default.NamedExoticComponent<{
20993
20993
  onBack: () => void;
20994
+ income: {
20995
+ month: number;
20996
+ year: number;
20997
+ totalAmount: string | number;
20998
+ };
20999
+ outcome: {
21000
+ month: number;
21001
+ year: number;
21002
+ totalAmount: string | number;
21003
+ };
20994
21004
  monthlyFee: {
20995
21005
  id: string;
20996
21006
  monthlyFee: string | number;
@@ -21026,16 +21036,6 @@ declare const _default$7: React__default.NamedExoticComponent<{
21026
21036
  onSelectAccount: (args_0: string) => void;
21027
21037
  onAddAccount: () => void;
21028
21038
  onEditMonthlyFee: (args_0: string) => void;
21029
- outcome: {
21030
- month: number;
21031
- year: number;
21032
- totalAmount: string | number;
21033
- };
21034
- income: {
21035
- month: number;
21036
- year: number;
21037
- totalAmount: string | number;
21038
- };
21039
21039
  periodLabel?: string | undefined;
21040
21040
  periodInputValue?: string | undefined;
21041
21041
  periodInputMin?: string | undefined;
@@ -21794,6 +21794,16 @@ declare const FinancialAccountsListPropsSchema: z.ZodObject<{
21794
21794
  transparencyPeriodLabel: z.ZodOptional<z.ZodString>;
21795
21795
  }, "strip", z.ZodTypeAny, {
21796
21796
  onBack: () => void;
21797
+ income: {
21798
+ month: number;
21799
+ year: number;
21800
+ totalAmount: string | number;
21801
+ };
21802
+ outcome: {
21803
+ month: number;
21804
+ year: number;
21805
+ totalAmount: string | number;
21806
+ };
21797
21807
  monthlyFee: {
21798
21808
  id: string;
21799
21809
  monthlyFee: string | number;
@@ -21829,16 +21839,6 @@ declare const FinancialAccountsListPropsSchema: z.ZodObject<{
21829
21839
  onSelectAccount: (args_0: string) => void;
21830
21840
  onAddAccount: () => void;
21831
21841
  onEditMonthlyFee: (args_0: string) => void;
21832
- outcome: {
21833
- month: number;
21834
- year: number;
21835
- totalAmount: string | number;
21836
- };
21837
- income: {
21838
- month: number;
21839
- year: number;
21840
- totalAmount: string | number;
21841
- };
21842
21842
  periodLabel?: string | undefined;
21843
21843
  periodInputValue?: string | undefined;
21844
21844
  periodInputMin?: string | undefined;
@@ -21919,6 +21919,16 @@ declare const FinancialAccountsListPropsSchema: z.ZodObject<{
21919
21919
  transparencyPeriodLabel?: string | undefined;
21920
21920
  }, {
21921
21921
  onBack: () => void;
21922
+ income: {
21923
+ month: number;
21924
+ year: number;
21925
+ totalAmount: string | number;
21926
+ };
21927
+ outcome: {
21928
+ month: number;
21929
+ year: number;
21930
+ totalAmount: string | number;
21931
+ };
21922
21932
  monthlyFee: {
21923
21933
  id: string;
21924
21934
  monthlyFee: string | number;
@@ -21954,16 +21964,6 @@ declare const FinancialAccountsListPropsSchema: z.ZodObject<{
21954
21964
  onSelectAccount: (args_0: string) => void;
21955
21965
  onAddAccount: () => void;
21956
21966
  onEditMonthlyFee: (args_0: string) => void;
21957
- outcome: {
21958
- month: number;
21959
- year: number;
21960
- totalAmount: string | number;
21961
- };
21962
- income: {
21963
- month: number;
21964
- year: number;
21965
- totalAmount: string | number;
21966
- };
21967
21967
  periodLabel?: string | undefined;
21968
21968
  periodInputValue?: string | undefined;
21969
21969
  periodInputMin?: string | undefined;
@@ -22182,10 +22182,15 @@ type FinancialSummaryDetailLine = {
22182
22182
  label: string;
22183
22183
  value: string;
22184
22184
  };
22185
+ type FinancialMovementKind$1 = "income" | "outcome";
22185
22186
  type FinancialSummaryHeaderProps = {
22186
22187
  embedded?: boolean;
22187
22188
  variant?: "balance" | "monthlyFee" | "movements";
22188
22189
  balanceLabel: string;
22190
+ movementKind?: FinancialMovementKind$1;
22191
+ incomeTotalLabel?: string;
22192
+ outcomeTotalLabel?: string;
22193
+ onMovementKindChange?: (kind: FinancialMovementKind$1) => void;
22189
22194
  isLoading?: boolean;
22190
22195
  periodLabel?: string;
22191
22196
  periodInputValue?: string;
@@ -24167,10 +24172,12 @@ declare const _default$6: React__default.NamedExoticComponent<{
24167
24172
  onResetToCurrentPeriod?: (() => void) | undefined;
24168
24173
  onBack?: ((...args: unknown[]) => void) | undefined;
24169
24174
  onAdd?: ((...args: unknown[]) => void) | undefined;
24175
+ movementKind?: "income" | "outcome" | undefined;
24176
+ incomeTotalLabel?: string | undefined;
24177
+ outcomeTotalLabel?: string | undefined;
24178
+ onMovementKindChange?: ((args_0: "income" | "outcome") => void) | undefined;
24170
24179
  showPeriodFilter?: boolean | undefined;
24171
24180
  onToggleSettlementStatus?: ((args_0: string, args_1: "PROJECTED" | "CONSOLIDATED") => void) | undefined;
24172
- movementKind?: "outcome" | "income" | undefined;
24173
- onMovementKindChange?: ((args_0: "outcome" | "income") => void) | undefined;
24174
24181
  }>;
24175
24182
 
24176
24183
  declare const MonthlyFeePaymentStatusSchema: z.ZodEnum<["PENDING", "APPROVED", "REJECTED", "CANCELLED", "NOT_PAID"]>;
@@ -25002,10 +25009,12 @@ declare const _default$5: React__default.NamedExoticComponent<{
25002
25009
  onResetToCurrentPeriod?: (() => void) | undefined;
25003
25010
  onBack?: ((...args: unknown[]) => void) | undefined;
25004
25011
  onAdd?: ((...args: unknown[]) => void) | undefined;
25012
+ movementKind?: "income" | "outcome" | undefined;
25013
+ incomeTotalLabel?: string | undefined;
25014
+ outcomeTotalLabel?: string | undefined;
25015
+ onMovementKindChange?: ((args_0: "income" | "outcome") => void) | undefined;
25005
25016
  showPeriodFilter?: boolean | undefined;
25006
25017
  onToggleSettlementStatus?: ((args_0: string, args_1: "PROJECTED" | "CONSOLIDATED") => void) | undefined;
25007
- movementKind?: "outcome" | "income" | undefined;
25008
- onMovementKindChange?: ((args_0: "outcome" | "income") => void) | undefined;
25009
25018
  }>;
25010
25019
 
25011
25020
  /**
@@ -1,6 +1,16 @@
1
1
  import React from "react";
2
2
  declare const _default: React.NamedExoticComponent<{
3
3
  onBack: () => void;
4
+ income: {
5
+ month: number;
6
+ year: number;
7
+ totalAmount: string | number;
8
+ };
9
+ outcome: {
10
+ month: number;
11
+ year: number;
12
+ totalAmount: string | number;
13
+ };
4
14
  monthlyFee: {
5
15
  id: string;
6
16
  monthlyFee: string | number;
@@ -36,16 +46,6 @@ declare const _default: React.NamedExoticComponent<{
36
46
  onSelectAccount: (args_0: string) => void;
37
47
  onAddAccount: () => void;
38
48
  onEditMonthlyFee: (args_0: string) => void;
39
- outcome: {
40
- month: number;
41
- year: number;
42
- totalAmount: string | number;
43
- };
44
- income: {
45
- month: number;
46
- year: number;
47
- totalAmount: string | number;
48
- };
49
49
  periodLabel?: string | undefined;
50
50
  periodInputValue?: string | undefined;
51
51
  periodInputMin?: string | undefined;
@@ -899,6 +899,16 @@ export declare const FinancialAccountsListPropsSchema: z.ZodObject<{
899
899
  transparencyPeriodLabel: z.ZodOptional<z.ZodString>;
900
900
  }, "strip", z.ZodTypeAny, {
901
901
  onBack: () => void;
902
+ income: {
903
+ month: number;
904
+ year: number;
905
+ totalAmount: string | number;
906
+ };
907
+ outcome: {
908
+ month: number;
909
+ year: number;
910
+ totalAmount: string | number;
911
+ };
902
912
  monthlyFee: {
903
913
  id: string;
904
914
  monthlyFee: string | number;
@@ -934,16 +944,6 @@ export declare const FinancialAccountsListPropsSchema: z.ZodObject<{
934
944
  onSelectAccount: (args_0: string) => void;
935
945
  onAddAccount: () => void;
936
946
  onEditMonthlyFee: (args_0: string) => void;
937
- outcome: {
938
- month: number;
939
- year: number;
940
- totalAmount: string | number;
941
- };
942
- income: {
943
- month: number;
944
- year: number;
945
- totalAmount: string | number;
946
- };
947
947
  periodLabel?: string | undefined;
948
948
  periodInputValue?: string | undefined;
949
949
  periodInputMin?: string | undefined;
@@ -1024,6 +1024,16 @@ export declare const FinancialAccountsListPropsSchema: z.ZodObject<{
1024
1024
  transparencyPeriodLabel?: string | undefined;
1025
1025
  }, {
1026
1026
  onBack: () => void;
1027
+ income: {
1028
+ month: number;
1029
+ year: number;
1030
+ totalAmount: string | number;
1031
+ };
1032
+ outcome: {
1033
+ month: number;
1034
+ year: number;
1035
+ totalAmount: string | number;
1036
+ };
1027
1037
  monthlyFee: {
1028
1038
  id: string;
1029
1039
  monthlyFee: string | number;
@@ -1059,16 +1069,6 @@ export declare const FinancialAccountsListPropsSchema: z.ZodObject<{
1059
1069
  onSelectAccount: (args_0: string) => void;
1060
1070
  onAddAccount: () => void;
1061
1071
  onEditMonthlyFee: (args_0: string) => void;
1062
- outcome: {
1063
- month: number;
1064
- year: number;
1065
- totalAmount: string | number;
1066
- };
1067
- income: {
1068
- month: number;
1069
- year: number;
1070
- totalAmount: string | number;
1071
- };
1072
1072
  periodLabel?: string | undefined;
1073
1073
  periodInputValue?: string | undefined;
1074
1074
  periodInputMin?: string | undefined;
@@ -4,10 +4,15 @@ export type FinancialSummaryDetailLine = {
4
4
  label: string;
5
5
  value: string;
6
6
  };
7
+ export type FinancialMovementKind = "income" | "outcome";
7
8
  export type FinancialSummaryHeaderProps = {
8
9
  embedded?: boolean;
9
10
  variant?: "balance" | "monthlyFee" | "movements";
10
11
  balanceLabel: string;
12
+ movementKind?: FinancialMovementKind;
13
+ incomeTotalLabel?: string;
14
+ outcomeTotalLabel?: string;
15
+ onMovementKindChange?: (kind: FinancialMovementKind) => void;
11
16
  isLoading?: boolean;
12
17
  periodLabel?: string;
13
18
  periodInputValue?: string;
@@ -45,9 +45,11 @@ declare const _default: React.NamedExoticComponent<{
45
45
  onResetToCurrentPeriod?: (() => void) | undefined;
46
46
  onBack?: ((...args: unknown[]) => void) | undefined;
47
47
  onAdd?: ((...args: unknown[]) => void) | undefined;
48
+ movementKind?: "income" | "outcome" | undefined;
49
+ incomeTotalLabel?: string | undefined;
50
+ outcomeTotalLabel?: string | undefined;
51
+ onMovementKindChange?: ((args_0: "income" | "outcome") => void) | undefined;
48
52
  showPeriodFilter?: boolean | undefined;
49
53
  onToggleSettlementStatus?: ((args_0: string, args_1: "PROJECTED" | "CONSOLIDATED") => void) | undefined;
50
- movementKind?: "outcome" | "income" | undefined;
51
- onMovementKindChange?: ((args_0: "outcome" | "income") => void) | undefined;
52
54
  }>;
53
55
  export default _default;
@@ -372,6 +372,8 @@ export declare const IncomeListPagePropsSchema: z.ZodObject<{
372
372
  onToggleSettlementStatus: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodString, z.ZodEnum<["PROJECTED", "CONSOLIDATED"]>], null>, z.ZodVoid>>;
373
373
  movementKind: z.ZodOptional<z.ZodEnum<["income", "outcome"]>>;
374
374
  onMovementKindChange: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodEnum<["income", "outcome"]>], null>, z.ZodVoid>>;
375
+ incomeTotalLabel: z.ZodOptional<z.ZodString>;
376
+ outcomeTotalLabel: z.ZodOptional<z.ZodString>;
375
377
  data: z.ZodOptional<z.ZodObject<{
376
378
  month: z.ZodNumber;
377
379
  year: z.ZodNumber;
@@ -602,10 +604,12 @@ export declare const IncomeListPagePropsSchema: z.ZodObject<{
602
604
  onResetToCurrentPeriod?: (() => void) | undefined;
603
605
  onBack?: ((...args: unknown[]) => void) | undefined;
604
606
  onAdd?: ((...args: unknown[]) => void) | undefined;
607
+ movementKind?: "income" | "outcome" | undefined;
608
+ incomeTotalLabel?: string | undefined;
609
+ outcomeTotalLabel?: string | undefined;
610
+ onMovementKindChange?: ((args_0: "income" | "outcome") => void) | undefined;
605
611
  showPeriodFilter?: boolean | undefined;
606
612
  onToggleSettlementStatus?: ((args_0: string, args_1: "PROJECTED" | "CONSOLIDATED") => void) | undefined;
607
- movementKind?: "outcome" | "income" | undefined;
608
- onMovementKindChange?: ((args_0: "outcome" | "income") => void) | undefined;
609
613
  }, {
610
614
  onSelect?: ((args_0: string, ...args: unknown[]) => void) | undefined;
611
615
  data?: {
@@ -650,12 +654,14 @@ export declare const IncomeListPagePropsSchema: z.ZodObject<{
650
654
  onResetToCurrentPeriod?: (() => void) | undefined;
651
655
  onBack?: ((...args: unknown[]) => void) | undefined;
652
656
  onAdd?: ((...args: unknown[]) => void) | undefined;
657
+ movementKind?: "income" | "outcome" | undefined;
658
+ incomeTotalLabel?: string | undefined;
659
+ outcomeTotalLabel?: string | undefined;
660
+ onMovementKindChange?: ((args_0: "income" | "outcome") => void) | undefined;
653
661
  showPeriodFilter?: boolean | undefined;
654
662
  canConfirmTransactions?: boolean | undefined;
655
663
  isUpdatingSettlementStatus?: boolean | undefined;
656
664
  onToggleSettlementStatus?: ((args_0: string, args_1: "PROJECTED" | "CONSOLIDATED") => void) | undefined;
657
- movementKind?: "outcome" | "income" | undefined;
658
- onMovementKindChange?: ((args_0: "outcome" | "income") => void) | undefined;
659
665
  }>;
660
666
  export type BankAccountOption = z.infer<typeof BankAccountOptionSchema>;
661
667
  export type BankAccount = z.infer<typeof BankAccountSchema>;
@@ -47,9 +47,11 @@ declare const _default: React.NamedExoticComponent<{
47
47
  onResetToCurrentPeriod?: (() => void) | undefined;
48
48
  onBack?: ((...args: unknown[]) => void) | undefined;
49
49
  onAdd?: ((...args: unknown[]) => void) | undefined;
50
+ movementKind?: "income" | "outcome" | undefined;
51
+ incomeTotalLabel?: string | undefined;
52
+ outcomeTotalLabel?: string | undefined;
53
+ onMovementKindChange?: ((args_0: "income" | "outcome") => void) | undefined;
50
54
  showPeriodFilter?: boolean | undefined;
51
55
  onToggleSettlementStatus?: ((args_0: string, args_1: "PROJECTED" | "CONSOLIDATED") => void) | undefined;
52
- movementKind?: "outcome" | "income" | undefined;
53
- onMovementKindChange?: ((args_0: "outcome" | "income") => void) | undefined;
54
56
  }>;
55
57
  export default _default;
@@ -388,6 +388,8 @@ export declare const OutcomeListPagePropsSchema: z.ZodObject<{
388
388
  onToggleSettlementStatus: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodString, z.ZodEnum<["PROJECTED", "CONSOLIDATED"]>], null>, z.ZodVoid>>;
389
389
  movementKind: z.ZodOptional<z.ZodEnum<["income", "outcome"]>>;
390
390
  onMovementKindChange: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodEnum<["income", "outcome"]>], null>, z.ZodVoid>>;
391
+ incomeTotalLabel: z.ZodOptional<z.ZodString>;
392
+ outcomeTotalLabel: z.ZodOptional<z.ZodString>;
391
393
  data: z.ZodOptional<z.ZodObject<{
392
394
  month: z.ZodNumber;
393
395
  year: z.ZodNumber;
@@ -630,10 +632,12 @@ export declare const OutcomeListPagePropsSchema: z.ZodObject<{
630
632
  onResetToCurrentPeriod?: (() => void) | undefined;
631
633
  onBack?: ((...args: unknown[]) => void) | undefined;
632
634
  onAdd?: ((...args: unknown[]) => void) | undefined;
635
+ movementKind?: "income" | "outcome" | undefined;
636
+ incomeTotalLabel?: string | undefined;
637
+ outcomeTotalLabel?: string | undefined;
638
+ onMovementKindChange?: ((args_0: "income" | "outcome") => void) | undefined;
633
639
  showPeriodFilter?: boolean | undefined;
634
640
  onToggleSettlementStatus?: ((args_0: string, args_1: "PROJECTED" | "CONSOLIDATED") => void) | undefined;
635
- movementKind?: "outcome" | "income" | undefined;
636
- onMovementKindChange?: ((args_0: "outcome" | "income") => void) | undefined;
637
641
  }, {
638
642
  onSelect?: ((args_0: string, ...args: unknown[]) => void) | undefined;
639
643
  data?: {
@@ -680,12 +684,14 @@ export declare const OutcomeListPagePropsSchema: z.ZodObject<{
680
684
  onResetToCurrentPeriod?: (() => void) | undefined;
681
685
  onBack?: ((...args: unknown[]) => void) | undefined;
682
686
  onAdd?: ((...args: unknown[]) => void) | undefined;
687
+ movementKind?: "income" | "outcome" | undefined;
688
+ incomeTotalLabel?: string | undefined;
689
+ outcomeTotalLabel?: string | undefined;
690
+ onMovementKindChange?: ((args_0: "income" | "outcome") => void) | undefined;
683
691
  showPeriodFilter?: boolean | undefined;
684
692
  canConfirmTransactions?: boolean | undefined;
685
693
  isUpdatingSettlementStatus?: boolean | undefined;
686
694
  onToggleSettlementStatus?: ((args_0: string, args_1: "PROJECTED" | "CONSOLIDATED") => void) | undefined;
687
- movementKind?: "outcome" | "income" | undefined;
688
- onMovementKindChange?: ((args_0: "outcome" | "income") => void) | undefined;
689
695
  }>;
690
696
  export type BankAccountOption = z.infer<typeof BankAccountOptionSchema>;
691
697
  export type BankAccount = z.infer<typeof BankAccountSchema>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gsintegrations",
3
- "version": "0.0.494",
3
+ "version": "0.0.495",
4
4
  "description": "A React component library template with TypeScript, Storybook, and testing setup",
5
5
  "main": "dist/bundle.cjs.js",
6
6
  "module": "dist/bundle.esm.js",