Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
hillelcoren committed Dec 27, 2023
2 parents 7ec9108 + 2b6c7d5 commit 1e29930
Show file tree
Hide file tree
Showing 12 changed files with 330 additions and 132 deletions.
58 changes: 23 additions & 35 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -44,20 +44,17 @@ PODS:
- DKImagePickerController/PhotoGallery
- Flutter
- Flutter (1.0.0)
- FMDB (2.7.5):
- FMDB/standard (= 2.7.5)
- FMDB/standard (2.7.5)
- google_sign_in_ios (0.0.1):
- Flutter
- GoogleSignIn (~> 6.2)
- GoogleSignIn (6.2.4):
- GoogleSignIn (~> 7.0)
- GoogleSignIn (7.0.0):
- AppAuth (~> 1.5)
- GTMAppAuth (~> 1.3)
- GTMSessionFetcher/Core (< 3.0, >= 1.1)
- GTMAppAuth (1.3.1):
- GTMAppAuth (< 3.0, >= 1.3)
- GTMSessionFetcher/Core (< 4.0, >= 1.1)
- GTMAppAuth (2.0.0):
- AppAuth/Core (~> 1.6)
- GTMSessionFetcher/Core (< 3.0, >= 1.5)
- GTMSessionFetcher/Core (2.3.0)
- GTMSessionFetcher/Core (< 4.0, >= 1.5)
- GTMSessionFetcher/Core (3.2.0)
- image_cropper (0.0.4):
- Flutter
- TOCropViewController (~> 2.6.1)
Expand All @@ -81,16 +78,16 @@ PODS:
- Flutter
- printing (1.0.0):
- Flutter
- SDWebImage (5.18.5):
- SDWebImage/Core (= 5.18.5)
- SDWebImage/Core (5.18.5)
- Sentry/HybridSDK (8.14.2):
- SentryPrivate (= 8.14.2)
- SDWebImage (5.18.7):
- SDWebImage/Core (= 5.18.7)
- SDWebImage/Core (5.18.7)
- Sentry/HybridSDK (8.15.2):
- SentryPrivate (= 8.15.2)
- sentry_flutter (0.0.1):
- Flutter
- FlutterMacOS
- Sentry/HybridSDK (= 8.14.2)
- SentryPrivate (8.14.2)
- Sentry/HybridSDK (= 8.15.2)
- SentryPrivate (8.15.2)
- share_plus (0.0.1):
- Flutter
- shared_preferences_foundation (0.0.1):
Expand All @@ -100,9 +97,6 @@ PODS:
- Flutter
- smart_auth (0.0.1):
- Flutter
- sqflite (0.0.3):
- Flutter
- FMDB (>= 2.7.5)
- SwiftyGif (5.4.4)
- TOCropViewController (2.6.1)
- url_launcher_ios (0.0.1):
Expand Down Expand Up @@ -133,7 +127,6 @@ DEPENDENCIES:
- shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`)
- sign_in_with_apple (from `.symlinks/plugins/sign_in_with_apple/ios`)
- smart_auth (from `.symlinks/plugins/smart_auth/ios`)
- sqflite (from `.symlinks/plugins/sqflite/ios`)
- url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`)
- webview_flutter_wkwebview (from `.symlinks/plugins/webview_flutter_wkwebview/ios`)
- widget_kit_plugin (from `.symlinks/plugins/widget_kit_plugin/ios`)
Expand All @@ -143,7 +136,6 @@ SPEC REPOS:
- AppAuth
- DKImagePickerController
- DKPhotoGallery
- FMDB
- GoogleSignIn
- GTMAppAuth
- GTMSessionFetcher
Expand Down Expand Up @@ -194,8 +186,6 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/sign_in_with_apple/ios"
smart_auth:
:path: ".symlinks/plugins/smart_auth/ios"
sqflite:
:path: ".symlinks/plugins/sqflite/ios"
url_launcher_ios:
:path: ".symlinks/plugins/url_launcher_ios/ios"
webview_flutter_wkwebview:
Expand All @@ -211,11 +201,10 @@ SPEC CHECKSUMS:
DKPhotoGallery: fdfad5125a9fdda9cc57df834d49df790dbb4179
file_picker: ce3938a0df3cc1ef404671531facef740d03f920
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
FMDB: 2ce00b547f966261cd18927a3ddb07cb6f3db82a
google_sign_in_ios: 1256ff9d941db546373826966720b0c24804bcdd
GoogleSignIn: 5651ce3a61e56ca864160e79b484cd9ed3f49b7a
GTMAppAuth: 0ff230db599948a9ad7470ca667337803b3fc4dd
GTMSessionFetcher: 3a63d75eecd6aa32c2fc79f578064e1214dfdec2
google_sign_in_ios: 8115e3fbe097e6509beb819ed602d47369d9011f
GoogleSignIn: b232380cf495a429b8095d3178a8d5855b42e842
GTMAppAuth: 99fb010047ba3973b7026e45393f51f27ab965ae
GTMSessionFetcher: 41b9ef0b4c08a6db4b7eb51a21ae5183ec99a2c8
image_cropper: a3291c624a953049bc6a02e1f8c8ceb162a24b25
image_picker_ios: 4a8aadfbb6dc30ad5141a2ce3832af9214a705b5
in_app_purchase_storekit: 4fb7ee9e824b1f09107fbfbbce8c4b276366dc43
Expand All @@ -226,18 +215,17 @@ SPEC CHECKSUMS:
path_provider_foundation: 29f094ae23ebbca9d3d0cec13889cd9060c0e943
permission_handler_apple: e76247795d700c14ea09e3a2d8855d41ee80a2e6
printing: 233e1b73bd1f4a05615548e9b5a324c98588640b
SDWebImage: 7ac2b7ddc5e8484c79aa90fc4e30b149d6a2c88f
Sentry: e0ea366f95ebb68f26d6030d8c22d6b2e6d23dd0
sentry_flutter: 9a04c51c373d76ee22167bf1e65bc468c0a91fed
SentryPrivate: 949a21fa59872427edc73b524c3ec8456761d97f
SDWebImage: f9258c58221ed854cfa0e2b80ee4033710b1c6d3
Sentry: 6f5742b4c47c17c9adcf265f6f328cf4a0ed1923
sentry_flutter: 2c309a1d4b45e59d02cfa15795705687f1e2081b
SentryPrivate: b2f7996f37781080f04a946eb4e377ff63c64195
share_plus: c3fef564749587fc939ef86ffb283ceac0baf9f5
shared_preferences_foundation: 5b919d13b803cadd15ed2dc053125c68730e5126
sign_in_with_apple: f3bf75217ea4c2c8b91823f225d70230119b8440
smart_auth: 4bedbc118723912d0e45a07e8ab34039c19e04f2
sqflite: 31f7eba61e3074736dff8807a9b41581e4f7f15a
SwiftyGif: 93a1cc87bf3a51916001cf8f3d63835fb64c819f
TOCropViewController: edfd4f25713d56905ad1e0b9f5be3fbe0f59c863
url_launcher_ios: 08a3dfac5fb39e8759aeb0abbd5d9480f30fc8b4
url_launcher_ios: bf5ce03e0e2088bad9cc378ea97fa0ed5b49673b
webview_flutter_wkwebview: 2e2d318f21a5e036e2c3f26171342e95908bd60a
widget_kit_plugin: a245a5248f0cd2bde580285ebe6bee5c6f1f6ce1

Expand Down
7 changes: 6 additions & 1 deletion lib/constants.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const String kWhiteLabelUrl =
'https://app.invoiceninja.com/buy_now/?account_key=AsFmBAeLXF0IKf7tmi0eiyZfmWW9hxMT&product_id=3';
const String kPrivacyPolicyURL = 'https://www.invoiceninja.com/privacy-policy';
const String kTermsOfServiceURL = 'https://www.invoiceninja.com/terms';
const String kBankingURL = 'https://invoiceninja.com/banking/';
const String kBankingURL = 'https://invoiceninja.com/banking';
const String kTransifexURL =
'https://www.transifex.com/invoice-ninja/invoice-ninja';
const String kWebhookSiteURL = 'https://requestcatcher.com';
Expand Down Expand Up @@ -53,6 +53,11 @@ const String kFacebookUrl = 'https://www.facebook.com/invoiceninja';
const String kYouTubeUrl =
'https://www.youtube.com/channel/UCXAHcBvhW05PDtWYIq7WDFA/videos';

const String kYodleeCoverageUrl =
'https://www.yodlee.com/open-banking/data-connections';
const String kNordigenCoverageUrl =
'https://gocardless.com/bank-account-data/coverage';

const String kTaskExtensionUrl =
'https://chromewebstore.google.com/detail/invoice-ninja-tasks/dlfcbfdpemfnjbjlladogijcchfmmaaf';
const String kTaskExtensionYouTubeUrl =
Expand Down
10 changes: 9 additions & 1 deletion lib/data/models/bank_account_model.dart
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,15 @@ abstract class BankAccountEntity extends Object
disabledUpstream: false,
fromDate: '',
autoSync: false,
integrationType: '',
);
}

BankAccountEntity._();

static const String INTEGRATION_TYPE_YODLEE = 'yodlee';
static const String INTEGRATION_TYPE_NORDIGEN = 'nordigen';

@override
@memoized
int get hashCode;
Expand All @@ -103,6 +107,9 @@ abstract class BankAccountEntity extends Object
@BuiltValueField(wireName: 'disabled_upstream')
bool get disabledUpstream;

@BuiltValueField(wireName: 'integration_type')
String get integrationType;

double get balance;

String get currency;
Expand Down Expand Up @@ -203,7 +210,8 @@ abstract class BankAccountEntity extends Object
static void _initializeBuilder(BankAccountEntityBuilder builder) => builder
..fromDate = ''
..disabledUpstream = false
..autoSync = false;
..autoSync = false
..integrationType = '';

static Serializer<BankAccountEntity> get serializer =>
_$bankAccountEntitySerializer;
Expand Down
26 changes: 24 additions & 2 deletions lib/data/models/bank_account_model.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 10 additions & 2 deletions lib/data/models/transaction_model.dart
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ abstract class TransactionEntity extends Object
categoryId: '',
transactionRuleId: '',
paymentId: '',
participant: '',
participantName: '',
);
}

Expand Down Expand Up @@ -161,7 +163,11 @@ abstract class TransactionEntity extends Object
@BuiltValueField(wireName: 'bank_transaction_rule_id')
String get transactionRuleId;

@BuiltValueField(serialize: false)
@BuiltValueField(wireName: 'participant_name')
String get participantName;

String get participant;

String? get pendingVendorId;

@BuiltValueField(serialize: false)
Expand Down Expand Up @@ -383,7 +389,9 @@ abstract class TransactionEntity extends Object
..bankAccountId = ''
..transactionRuleId = ''
..paymentId = ''
..currencyId = '';
..currencyId = ''
..participantName = ''
..participant = '';

static Serializer<TransactionEntity> get serializer =>
_$transactionEntitySerializer;
Expand Down
Loading

0 comments on commit 1e29930

Please sign in to comment.