@alexochihua/protos 1.0.0

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.
Files changed (94) hide show
  1. package/README.md +26 -0
  2. package/buf.gen.yaml +14 -0
  3. package/buf.yaml +9 -0
  4. package/dist/generated/kapital/accounts/v1/accounts.d.ts +145 -0
  5. package/dist/generated/kapital/accounts/v1/accounts.js +787 -0
  6. package/dist/generated/kapital/accounts/v1/accounts.js.map +1 -0
  7. package/dist/generated/kapital/accounts/v1/accounts_types.d.ts +39 -0
  8. package/dist/generated/kapital/accounts/v1/accounts_types.js +314 -0
  9. package/dist/generated/kapital/accounts/v1/accounts_types.js.map +1 -0
  10. package/dist/generated/kapital/accumulates/v1/accumulates_service.d.ts +145 -0
  11. package/dist/generated/kapital/accumulates/v1/accumulates_service.js +771 -0
  12. package/dist/generated/kapital/accumulates/v1/accumulates_service.js.map +1 -0
  13. package/dist/generated/kapital/accumulates/v1/accumulates_types.d.ts +37 -0
  14. package/dist/generated/kapital/accumulates/v1/accumulates_types.js +290 -0
  15. package/dist/generated/kapital/accumulates/v1/accumulates_types.js.map +1 -0
  16. package/dist/generated/kapital/cards/v1/cards.d.ts +507 -0
  17. package/dist/generated/kapital/cards/v1/cards.js +2996 -0
  18. package/dist/generated/kapital/cards/v1/cards.js.map +1 -0
  19. package/dist/generated/kapital/cards/v1/cards_types.d.ts +125 -0
  20. package/dist/generated/kapital/cards/v1/cards_types.js +1268 -0
  21. package/dist/generated/kapital/cards/v1/cards_types.js.map +1 -0
  22. package/dist/generated/kapital/common/v1/error.d.ts +24 -0
  23. package/dist/generated/kapital/common/v1/error.js +119 -0
  24. package/dist/generated/kapital/common/v1/error.js.map +1 -0
  25. package/dist/generated/kapital/common/v1/meta.d.ts +20 -0
  26. package/dist/generated/kapital/common/v1/meta.js +86 -0
  27. package/dist/generated/kapital/common/v1/meta.js.map +1 -0
  28. package/dist/generated/kapital/common/v1/pagination.d.ts +26 -0
  29. package/dist/generated/kapital/common/v1/pagination.js +149 -0
  30. package/dist/generated/kapital/common/v1/pagination.js.map +1 -0
  31. package/dist/generated/kapital/contracts/v1/contracts.d.ts +829 -0
  32. package/dist/generated/kapital/contracts/v1/contracts.js +5840 -0
  33. package/dist/generated/kapital/contracts/v1/contracts.js.map +1 -0
  34. package/dist/generated/kapital/contracts/v1/contracts_types.d.ts +293 -0
  35. package/dist/generated/kapital/contracts/v1/contracts_types.js +3101 -0
  36. package/dist/generated/kapital/contracts/v1/contracts_types.js.map +1 -0
  37. package/dist/generated/kapital/credit_accounts/v1/credit_accounts.d.ts +57 -0
  38. package/dist/generated/kapital/credit_accounts/v1/credit_accounts.js +193 -0
  39. package/dist/generated/kapital/credit_accounts/v1/credit_accounts.js.map +1 -0
  40. package/dist/generated/kapital/credit_accounts/v1/credit_accounts_types.d.ts +37 -0
  41. package/dist/generated/kapital/credit_accounts/v1/credit_accounts_types.js +283 -0
  42. package/dist/generated/kapital/credit_accounts/v1/credit_accounts_types.js.map +1 -0
  43. package/dist/generated/kapital/customers/v1/customers.d.ts +493 -0
  44. package/dist/generated/kapital/customers/v1/customers.js +2542 -0
  45. package/dist/generated/kapital/customers/v1/customers.js.map +1 -0
  46. package/dist/generated/kapital/customers/v1/customers_types.d.ts +95 -0
  47. package/dist/generated/kapital/customers/v1/customers_types.js +951 -0
  48. package/dist/generated/kapital/customers/v1/customers_types.js.map +1 -0
  49. package/dist/generated/kapital/payments/v1/payments.d.ts +145 -0
  50. package/dist/generated/kapital/payments/v1/payments.js +915 -0
  51. package/dist/generated/kapital/payments/v1/payments.js.map +1 -0
  52. package/dist/generated/kapital/payments/v1/payments_types.d.ts +26 -0
  53. package/dist/generated/kapital/payments/v1/payments_types.js +163 -0
  54. package/dist/generated/kapital/payments/v1/payments_types.js.map +1 -0
  55. package/dist/generated/kapital/products/v1/products.d.ts +234 -0
  56. package/dist/generated/kapital/products/v1/products.js +1369 -0
  57. package/dist/generated/kapital/products/v1/products.js.map +1 -0
  58. package/dist/generated/kapital/products/v1/products_types.d.ts +159 -0
  59. package/dist/generated/kapital/products/v1/products_types.js +1696 -0
  60. package/dist/generated/kapital/products/v1/products_types.js.map +1 -0
  61. package/dist/generated/kapital/transactions/v1/transactions.d.ts +122 -0
  62. package/dist/generated/kapital/transactions/v1/transactions.js +632 -0
  63. package/dist/generated/kapital/transactions/v1/transactions.js.map +1 -0
  64. package/dist/generated/kapital/transactions/v1/transactions_types.d.ts +99 -0
  65. package/dist/generated/kapital/transactions/v1/transactions_types.js +1023 -0
  66. package/dist/generated/kapital/transactions/v1/transactions_types.js.map +1 -0
  67. package/dist/index.d.ts +22 -0
  68. package/dist/index.js +59 -0
  69. package/dist/index.js.map +1 -0
  70. package/dist/runtime/grpc.d.ts +2 -0
  71. package/dist/runtime/grpc.js +9 -0
  72. package/dist/runtime/grpc.js.map +1 -0
  73. package/package.json +195 -0
  74. package/proto/kapital/accounts/v1/accounts.proto +80 -0
  75. package/proto/kapital/accounts/v1/accounts_types.proto +31 -0
  76. package/proto/kapital/accumulates/v1/accumulates_service.proto +81 -0
  77. package/proto/kapital/accumulates/v1/accumulates_types.proto +30 -0
  78. package/proto/kapital/cards/v1/cards.proto +298 -0
  79. package/proto/kapital/cards/v1/cards_types.proto +117 -0
  80. package/proto/kapital/common/v1/error.proto +18 -0
  81. package/proto/kapital/common/v1/meta.proto +13 -0
  82. package/proto/kapital/common/v1/pagination.proto +18 -0
  83. package/proto/kapital/contracts/v1/contracts.proto +629 -0
  84. package/proto/kapital/contracts/v1/contracts_types.proto +316 -0
  85. package/proto/kapital/credit_accounts/v1/credit_accounts.proto +28 -0
  86. package/proto/kapital/credit_accounts/v1/credit_accounts_types.proto +29 -0
  87. package/proto/kapital/customers/v1/customers.proto +235 -0
  88. package/proto/kapital/customers/v1/customers_types.proto +87 -0
  89. package/proto/kapital/payments/v1/payments.proto +94 -0
  90. package/proto/kapital/payments/v1/payments_types.proto +18 -0
  91. package/proto/kapital/products/v1/products.proto +139 -0
  92. package/proto/kapital/products/v1/products_types.proto +156 -0
  93. package/proto/kapital/transactions/v1/transactions.proto +70 -0
  94. package/proto/kapital/transactions/v1/transactions_types.proto +91 -0
@@ -0,0 +1,94 @@
1
+ syntax = "proto3";
2
+
3
+ package kapital.payments.v1;
4
+
5
+ option go_package = "kapital/payments/v1;paymentsv1";
6
+
7
+ import "kapital/common/v1/meta.proto";
8
+ import "kapital/payments/v1/payments_types.proto";
9
+
10
+ service PaymentsService {
11
+ rpc GetExistsContract (GetExistsContractRequest) returns (GetExistsContractResponse);
12
+ rpc CreatePayment (CreatePaymentRequest) returns (CreatePaymentResponse);
13
+ rpc GetPaymentHistory (GetPaymentHistoryRequest) returns (GetPaymentHistoryResponse);
14
+ }
15
+
16
+ // ================== GetExistsContract ==================
17
+ message GetExistsContractRequest {
18
+ string contract_id = 1;
19
+ }
20
+
21
+ message GetExistsContractResponse {
22
+ kapital.common.v1.ResponseMeta meta = 1;
23
+ string contract_id = 2;
24
+ bool exists = 3;
25
+ }
26
+
27
+ // ================== CreatePayment ==================
28
+ message CreatePaymentRequest {
29
+ string contract_id = 1;
30
+
31
+ string transaction_id = 2;
32
+ double amount = 3;
33
+ string type = 4;
34
+ string description = 5;
35
+ string location = 6;
36
+ int32 location_type = 7;
37
+ double provider_assessed_fee = 8;
38
+ int32 verify_only = 9;
39
+ string merchant_id = 10;
40
+ string partner = 11;
41
+ string retail_chain = 12;
42
+ string retail_sale_transaction_key = 13;
43
+ string store_address_1 = 14;
44
+ string store_address_2 = 15;
45
+ string store_latitude = 16;
46
+ string store_longitude = 17;
47
+ string store_number = 18;
48
+ string store_name = 19;
49
+ string store_transaction_date = 20;
50
+ string store_city = 21;
51
+ string store_zip = 22;
52
+ double hold_amount = 23;
53
+ string hold_expiration_date_time = 24;
54
+ string hold_description = 25;
55
+ string hold_external_id = 26;
56
+ string reference_id = 27;
57
+ string originator_name = 28;
58
+ string receiver_name = 29;
59
+ }
60
+
61
+ message CreatePaymentResponse {
62
+ kapital.common.v1.ResponseMeta meta = 1;
63
+ double old_balance = 2;
64
+ double new_balance = 3;
65
+ string fee_amount = 4;
66
+ int64 payment_trans_id = 5;
67
+ string transaction_id = 6;
68
+ int64 hold_id = 7;
69
+ }
70
+
71
+ // ================== GetPaymentHistory ==================
72
+ message GetPaymentHistoryRequest {
73
+ string contract_id = 1;
74
+
75
+ string provider_id = 2;
76
+ string transaction_id = 3;
77
+ string account_number = 4;
78
+ string start_date = 5;
79
+ string end_date = 6;
80
+ int32 include_related = 7;
81
+ int32 record_count = 8;
82
+ int32 page = 9;
83
+ }
84
+
85
+ message GetPaymentHistoryResponse {
86
+ kapital.common.v1.ResponseMeta meta = 1;
87
+ int32 transaction_count = 2;
88
+ int32 page = 3;
89
+ int32 total_record_count = 4;
90
+ int32 number_of_pages = 5;
91
+ string start_date = 6;
92
+ string end_date = 7;
93
+ repeated Payment payments = 8;
94
+ }
@@ -0,0 +1,18 @@
1
+ syntax = "proto3";
2
+
3
+ package kapital.payments.v1;
4
+
5
+ option go_package = "kapital/payments/v1;paymentsv1";
6
+
7
+ message Payment {
8
+ string pmt_id = 1;
9
+ string details = 2;
10
+ string amount = 3;
11
+ string timestamp = 4;
12
+ string source_id = 5;
13
+ string ach_transaction_id = 6;
14
+ string external_trans_id = 7;
15
+ string hold_days = 8;
16
+ string status = 9;
17
+ string status_description = 10;
18
+ }
@@ -0,0 +1,139 @@
1
+ syntax = "proto3";
2
+
3
+ package kapital.products.v1;
4
+
5
+ option go_package = "kapital/products/v1;productsv1";
6
+
7
+ import "kapital/common/v1/meta.proto";
8
+ import "kapital/common/v1/pagination.proto";
9
+ import "kapital/products/v1/products_types.proto";
10
+
11
+ service ProductsService {
12
+ rpc GetProducts(GetProductsRequest) returns (GetProductsResponse);
13
+ rpc GetProductById(GetProductByIdRequest) returns (GetProductByIdResponse);
14
+ rpc CreateProduct(CreateProductRequest) returns (CreateProductResponse);
15
+ rpc UpdateProduct(UpdateProductRequest) returns (UpdateProductResponse);
16
+ rpc ValidateBinSubBin(ValidateBinSubBinRequest) returns (ValidateBinSubBinResponse);
17
+ rpc GetStatementConfig(GetStatementConfigRequest) returns (GetStatementConfigResponse);
18
+ rpc SaveStatementConfig(SaveStatementConfigRequest) returns (SaveStatementConfigResponse);
19
+ }
20
+
21
+ // ============================================================================
22
+ // Request / Response Messages
23
+ // ============================================================================
24
+
25
+ message GetProductsRequest {
26
+ kapital.common.v1.PageRequest page_request = 1;
27
+ string q = 2;
28
+ string status = 3;
29
+ string name = 4;
30
+ string product_type = 5;
31
+ string brand = 6;
32
+ string bin = 7;
33
+ string sub_bin = 8;
34
+ }
35
+
36
+ message GetProductsResponse {
37
+ kapital.common.v1.ResponseMeta meta = 1;
38
+ kapital.common.v1.PageResponse page_response = 2;
39
+ repeated Product products = 3;
40
+ }
41
+
42
+ message GetProductByIdRequest {
43
+ string product_id = 1;
44
+ }
45
+
46
+ message GetProductByIdResponse {
47
+ kapital.common.v1.ResponseMeta meta = 1;
48
+ Product product = 2;
49
+ }
50
+
51
+ message CreateProductRequest {
52
+ string name = 1;
53
+ string description = 2;
54
+ string effective_at = 3;
55
+ string product_type = 4;
56
+ string person_type = 5;
57
+ string brand = 6;
58
+ string bin = 7;
59
+ string sub_bin = 8;
60
+ string country = 9;
61
+ string city = 10;
62
+ bool multi_currency = 11;
63
+ repeated string currencies = 12;
64
+ string main_currency = 13;
65
+ string product_key = 14;
66
+ repeated CurrencyAllocation currency_allocations = 15;
67
+ repeated ProductRule rules = 16;
68
+ ProductConfigurations configurations = 17;
69
+ repeated string commissions = 18;
70
+ string created_by = 19;
71
+ repeated string offers = 20;
72
+
73
+ }
74
+
75
+ message CreateProductResponse {
76
+ kapital.common.v1.ResponseMeta meta = 1;
77
+ Product product = 2;
78
+ }
79
+
80
+ message UpdateProductRequest {
81
+ string product_id = 1;
82
+ string name = 2;
83
+ string description = 3;
84
+ string effective_at = 4;
85
+ string product_type = 5;
86
+ string person_type = 6;
87
+ string brand = 7;
88
+ string bin = 8;
89
+ string sub_bin = 9;
90
+ string country = 10;
91
+ string city = 11;
92
+ bool multi_currency = 12;
93
+ repeated string currencies = 13;
94
+ string main_currency = 14;
95
+ repeated CurrencyAllocation currency_allocations = 15;
96
+ repeated ProductRule rules = 16;
97
+ repeated string commissions = 18;
98
+ bool active = 19;
99
+ bool deleted = 20;
100
+ string updated_by = 21;
101
+ repeated string offers = 22;
102
+
103
+ }
104
+
105
+ message UpdateProductResponse {
106
+ kapital.common.v1.ResponseMeta meta = 1;
107
+ Product product = 2;
108
+ }
109
+
110
+ message ValidateBinSubBinRequest {
111
+ string bin = 1;
112
+ string sub_bin = 2;
113
+ string exclude_product_id = 3;
114
+ }
115
+
116
+ message ValidateBinSubBinResponse {
117
+ kapital.common.v1.ResponseMeta meta = 1;
118
+ bool is_valid = 2;
119
+ string message = 3;
120
+ }
121
+
122
+ message GetStatementConfigRequest {
123
+ string product_id = 1;
124
+ }
125
+
126
+ message GetStatementConfigResponse {
127
+ kapital.common.v1.ResponseMeta meta = 1;
128
+ ProductStatement statement = 2;
129
+ }
130
+
131
+ message SaveStatementConfigRequest {
132
+ string product_id = 1;
133
+ ProductStatement statement = 2;
134
+ }
135
+
136
+ message SaveStatementConfigResponse {
137
+ kapital.common.v1.ResponseMeta meta = 1;
138
+ ProductStatement statement = 2;
139
+ }
@@ -0,0 +1,156 @@
1
+ syntax = "proto3";
2
+
3
+ package kapital.products.v1;
4
+
5
+ option go_package = "kapital/products/v1;productsv1";
6
+
7
+ // ============================================================================
8
+ // Product Entity
9
+ // ============================================================================
10
+
11
+ message CurrencyAllocation {
12
+ string currency = 1;
13
+ string currency_code = 2;
14
+ string currency_label = 3;
15
+ int32 order = 4;
16
+ double percentage = 5;
17
+ }
18
+
19
+ message ProductRule {
20
+ string parameter = 1;
21
+ string operator = 2;
22
+ string value = 3;
23
+ double value_amount = 4;
24
+ double value_percentage = 5;
25
+ double value_number = 6;
26
+ repeated string value_days = 7;
27
+ string value_start = 8;
28
+ string value_end = 9;
29
+ repeated string value_country_groups = 10;
30
+ repeated string value_mcc_groups = 11;
31
+ repeated string value_merchant_groups = 12;
32
+ repeated string channels = 13;
33
+ }
34
+
35
+ message CreditConfig {
36
+ string credit_type = 1;
37
+ string rate_type = 2;
38
+ double min_limit = 3;
39
+ double max_limit = 4;
40
+ bool overdraft_enabled = 5;
41
+ string overdraft_type = 6;
42
+ double overdraft_amount = 7;
43
+ double overdraft_percentage = 8;
44
+ double ordinary_min_interest_rate = 9;
45
+ double ordinary_max_interest_rate = 10;
46
+ double late_interest_rate = 11;
47
+ double disposition_interest_rate = 12;
48
+ int32 delinquency_days_for_penalty = 13;
49
+ int32 delinquency_days_for_suspension = 14;
50
+ repeated int32 cutoff_days = 15;
51
+ int32 days_between_cutoff_and_payment = 16;
52
+ string refinancing_option = 17;
53
+ int32 decimals = 18;
54
+ string rounding_type = 19;
55
+ string min_payment_method = 20;
56
+ }
57
+
58
+ message CardSettings {
59
+ repeated string card_personalization = 1;
60
+ int32 max_cards_per_client = 2;
61
+ }
62
+
63
+ message AccessMethods {
64
+ bool physical_card = 1;
65
+ string physical_card_validity = 2;
66
+ bool digital_card = 3;
67
+ string digital_card_validity = 4;
68
+ }
69
+
70
+ message CardUsageCoverage {
71
+ bool national_level = 1;
72
+ bool international_level = 2;
73
+ }
74
+
75
+ message OriginationChannels {
76
+ bool branches = 1;
77
+ bool app = 2;
78
+ bool electronic_banking = 3;
79
+ }
80
+
81
+ message DispositionMethods {
82
+ bool branches = 1;
83
+ bool national_atm_network = 2;
84
+ bool international_atm_network = 3;
85
+ }
86
+
87
+ message PurchaseMethods {
88
+ bool card_present = 1;
89
+ bool card_not_present = 2;
90
+ bool ecommerce = 3;
91
+ bool wallet = 4;
92
+ }
93
+
94
+ message ProductConfigurations {
95
+ CreditConfig credit = 1;
96
+ CardSettings card_settings = 2;
97
+ AccessMethods access_methods = 3;
98
+ CardUsageCoverage card_usage_coverage = 4;
99
+ OriginationChannels origination_channels = 5;
100
+ DispositionMethods disposition_methods = 6;
101
+ PurchaseMethods purchase_methods = 7;
102
+ }
103
+
104
+ message ProductCommission {
105
+ repeated string application_conditions = 1;
106
+ string commission_type = 2;
107
+ string currency = 3;
108
+ repeated string exemptions = 4;
109
+ string periodicity = 5;
110
+ string rate_type = 6;
111
+ double rate_value_amount = 7;
112
+ double rate_value_percentage = 8;
113
+ bool vat_applicable = 9;
114
+ double vat_percentage = 10;
115
+ }
116
+
117
+ message ProductStatement {
118
+ string terms_and_conditions = 1;
119
+ string important_messages = 2;
120
+ string informative_notes = 3;
121
+ string legal_notices = 4;
122
+ string logo = 5;
123
+ string card_image = 6;
124
+ }
125
+
126
+ message Product {
127
+ string id = 1;
128
+ string name = 2;
129
+ string description = 3;
130
+ string effective_at = 4;
131
+ string product_type = 5;
132
+ string person_type = 6;
133
+ string brand = 7;
134
+ string bin = 8;
135
+ string sub_bin = 9;
136
+ string country = 10;
137
+ string city = 11;
138
+ bool multi_currency = 12;
139
+ repeated string currencies = 13;
140
+ string main_currency = 14;
141
+ bool active = 15;
142
+ string product_key = 16;
143
+ string currency_bin = 17;
144
+ repeated CurrencyAllocation currency_allocations = 18;
145
+ repeated ProductRule rules = 19;
146
+ ProductConfigurations configurations = 20;
147
+ repeated string commissions = 21;
148
+ ProductStatement statement = 22;
149
+ bool deleted = 23;
150
+ string created_by = 24;
151
+ string updated_by = 25;
152
+ string created_at = 26;
153
+ string updated_at = 27;
154
+ repeated string offers = 28;
155
+
156
+ }
@@ -0,0 +1,70 @@
1
+ syntax = "proto3";
2
+
3
+ package kapital.transactions.v1;
4
+
5
+ option go_package = "kapital/transactions/v1;transactionsv1";
6
+
7
+ import "kapital/common/v1/meta.proto";
8
+ import "kapital/transactions/v1/transactions_types.proto";
9
+
10
+ service TransactionsService {
11
+ rpc GetExistsContract (GetExistsContractRequest) returns (GetExistsContractResponse);
12
+ rpc GetTransactionsPosted (GetTransactionsPostedRequest) returns (GetTransactionsPostedResponse);
13
+ rpc GetAllTransactions (GetAllTransactionsRequest) returns (GetAllTransactionsResponse);
14
+ }
15
+
16
+ // ================== GetExistsContract ==================
17
+ message GetExistsContractRequest {
18
+ string contract_id = 1;
19
+ }
20
+
21
+ message GetExistsContractResponse {
22
+ kapital.common.v1.ResponseMeta meta = 1;
23
+ string contract_id = 2;
24
+ bool exists = 3;
25
+ }
26
+
27
+ // ================== GetTransactionsPosted ==================
28
+ message GetTransactionsPostedRequest {
29
+ string contract_id = 1;
30
+ string transaction_id = 2;
31
+ string start_date = 3;
32
+ string end_date = 4;
33
+ int32 record_count = 5;
34
+ int32 page = 6;
35
+ int32 included_related = 7;
36
+ }
37
+
38
+ message GetTransactionsPostedResponse {
39
+ kapital.common.v1.ResponseMeta meta = 1;
40
+ string start_date = 2;
41
+ string end_date = 3;
42
+ int32 number_of_pages = 4;
43
+ int32 page = 5;
44
+ int32 total_record_count = 6;
45
+ repeated Transaction transactions = 7;
46
+ }
47
+
48
+ // ================== GetAllTransactions ==================
49
+ message GetAllTransactionsRequest {
50
+ string contract_id = 1;
51
+ string transaction_id = 2;
52
+ string start_date = 3;
53
+ string end_date = 4;
54
+ int32 record_count = 5;
55
+ int32 page = 6;
56
+ }
57
+
58
+ message GetAllTransactionsResponse {
59
+ kapital.common.v1.ResponseMeta meta = 1;
60
+ int32 transaction_count = 2;
61
+ int32 page = 3;
62
+ int32 total_record_count = 4;
63
+ int32 number_of_pages = 5;
64
+ string start_date = 6;
65
+ string end_date = 7;
66
+ Sums sums = 8;
67
+ repeated TransactionDetail transactions = 9;
68
+ double beginning_balance = 10;
69
+ }
70
+
@@ -0,0 +1,91 @@
1
+ syntax = "proto3";
2
+
3
+ package kapital.transactions.v1;
4
+
5
+ option go_package = "kapital/transactions/v1;transactionsv1";
6
+
7
+ message TransactionDetail {
8
+ bool is_savings = 1;
9
+ string deny_code = 2;
10
+ bool disputable = 3;
11
+ string details = 4;
12
+ string act_type = 5;
13
+ string act_type_description = 6;
14
+ string latest_incremental_id = 7;
15
+ string original_incremental_id = 8;
16
+ string post_ts = 9;
17
+ double amt = 10;
18
+ string source_id = 11;
19
+ string type = 12;
20
+ string type_description = 13;
21
+ string trans_code = 14;
22
+ string arn = 15;
23
+ string merchant_id = 16;
24
+ string external_trans_id = 17;
25
+ double calculated_balance = 18;
26
+ string ach_trans_id = 19;
27
+ string auth_ts = 20;
28
+ string prior_id = 21;
29
+ string card_id = 22;
30
+ string formatted_merchant_desc = 23;
31
+ string network_code = 24;
32
+ string auth_id = 25;
33
+ double local_amt = 26;
34
+ string local_curr_code = 27;
35
+ double settle_amt = 28;
36
+ string settle_curr_code = 29;
37
+ double billing_amt = 30;
38
+ string billing_curr_code = 31;
39
+ string pmt_ref_no = 32;
40
+ string mcc_code = 33;
41
+ string credit_ind = 34;
42
+ double iac_tax = 35;
43
+ double iva_tax = 36;
44
+ string funding_account_prn = 37;
45
+ string spending_account_prn = 38;
46
+ }
47
+
48
+ message Sums {
49
+ double unsettled = 1;
50
+ double settled = 2;
51
+ double adjustment = 3;
52
+ double fee = 4;
53
+ double payment = 5;
54
+ }
55
+
56
+ message Transaction {
57
+ string pmt_ref_no = 1;
58
+ string act_id = 2;
59
+ string act_type = 3;
60
+ string post_ts = 4;
61
+ string amt = 5;
62
+ string details = 6;
63
+ string description = 7;
64
+ string source_id = 8;
65
+ string bal_id = 9;
66
+ string prod_id = 10;
67
+ string auth_ts = 11;
68
+ string trans_code = 12;
69
+ string ach_transaction_id = 13;
70
+ string external_trans_id = 14;
71
+ string original_auth_id = 15;
72
+ string network_code = 16;
73
+ string local_amt = 17;
74
+ string local_curr_code = 18;
75
+ string settle_amt = 19;
76
+ string settle_curr_code = 20;
77
+ string billing_amt = 21;
78
+ string billing_curr_code = 22;
79
+ string mcc = 23;
80
+ string merchant_id = 24;
81
+ string formatted_merchant_desc = 25;
82
+ string terminal_id = 26;
83
+ string card_id = 27;
84
+ string credit_ind = 28;
85
+ double iac_tax = 29;
86
+ double iva_tax = 30;
87
+ string funding_account_prn = 31;
88
+ string spending_account_prn = 32;
89
+ int64 original_incremental_id = 33;
90
+ int64 latest_incremental_id = 34;
91
+ }