@t-0/provider-sdk 1.1.13 → 1.1.14

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 (55) hide show
  1. package/lib/cjs/common/gen/buf/validate/validate_pb.d.ts +8 -8
  2. package/lib/cjs/common/gen/ivms101/v1/ivms/ivms101_pb.d.ts +5 -5
  3. package/lib/cjs/common/gen/tzero/v1/common/common_pb.js +1 -1
  4. package/lib/cjs/common/gen/tzero/v1/common/payment_method_pb.d.ts +589 -10
  5. package/lib/cjs/common/gen/tzero/v1/common/payment_method_pb.js +307 -3
  6. package/lib/cjs/common/gen/tzero/v1/common/payment_receipt_pb.d.ts +3 -3
  7. package/lib/cjs/common/gen/tzero/v1/common/payment_receipt_pb.js +1 -1
  8. package/lib/cjs/common/gen/tzero/v1/payment/network_pb.d.ts +52 -38
  9. package/lib/cjs/common/gen/tzero/v1/payment/network_pb.js +19 -5
  10. package/lib/cjs/common/gen/tzero/v1/payment/provider_pb.d.ts +37 -23
  11. package/lib/cjs/common/gen/tzero/v1/payment/provider_pb.js +16 -2
  12. package/lib/cjs/common/gen/tzero/v1/payment_intent/beneficiary_pb.d.ts +15 -6
  13. package/lib/cjs/common/gen/tzero/v1/payment_intent/beneficiary_pb.js +2 -2
  14. package/lib/cjs/common/gen/tzero/v1/payment_intent/network_pb.d.ts +51 -13
  15. package/lib/cjs/common/gen/tzero/v1/payment_intent/network_pb.js +10 -2
  16. package/lib/cjs/common/gen/tzero/v1/payment_intent/pay_in_provider_pb.d.ts +4 -4
  17. package/lib/cjs/common/gen/tzero/v1/payment_intent/pay_in_provider_pb.js +1 -1
  18. package/lib/cjs/common/gen/tzero/v1/payment_intent/provider/provider_pb.d.ts +2 -2
  19. package/lib/cjs/common/gen/tzero/v1/payment_intent/provider/provider_pb.js +1 -1
  20. package/lib/cjs/common/gen/tzero/v1/payment_intent/recipient/recipient_pb.d.ts +7 -7
  21. package/lib/cjs/common/gen/tzero/v1/payment_intent/recipient/recipient_pb.js +1 -1
  22. package/lib/cjs/index.d.ts +4 -0
  23. package/lib/cjs/index.js +5 -1
  24. package/lib/cjs/service/service.js +2 -1
  25. package/lib/cjs/service/validate_response.d.ts +13 -0
  26. package/lib/cjs/service/validate_response.js +38 -0
  27. package/lib/esm/common/gen/buf/validate/validate_pb.d.ts +8 -8
  28. package/lib/esm/common/gen/ivms101/v1/ivms/ivms101_pb.d.ts +5 -5
  29. package/lib/esm/common/gen/tzero/v1/common/common_pb.js +1 -1
  30. package/lib/esm/common/gen/tzero/v1/common/payment_method_pb.d.ts +589 -10
  31. package/lib/esm/common/gen/tzero/v1/common/payment_method_pb.js +305 -2
  32. package/lib/esm/common/gen/tzero/v1/common/payment_receipt_pb.d.ts +3 -3
  33. package/lib/esm/common/gen/tzero/v1/common/payment_receipt_pb.js +1 -1
  34. package/lib/esm/common/gen/tzero/v1/payment/network_pb.d.ts +52 -38
  35. package/lib/esm/common/gen/tzero/v1/payment/network_pb.js +19 -5
  36. package/lib/esm/common/gen/tzero/v1/payment/provider_pb.d.ts +37 -23
  37. package/lib/esm/common/gen/tzero/v1/payment/provider_pb.js +16 -2
  38. package/lib/esm/common/gen/tzero/v1/payment_intent/beneficiary_pb.d.ts +15 -6
  39. package/lib/esm/common/gen/tzero/v1/payment_intent/beneficiary_pb.js +2 -2
  40. package/lib/esm/common/gen/tzero/v1/payment_intent/network_pb.d.ts +51 -13
  41. package/lib/esm/common/gen/tzero/v1/payment_intent/network_pb.js +10 -2
  42. package/lib/esm/common/gen/tzero/v1/payment_intent/pay_in_provider_pb.d.ts +4 -4
  43. package/lib/esm/common/gen/tzero/v1/payment_intent/pay_in_provider_pb.js +1 -1
  44. package/lib/esm/common/gen/tzero/v1/payment_intent/provider/provider_pb.d.ts +2 -2
  45. package/lib/esm/common/gen/tzero/v1/payment_intent/provider/provider_pb.js +1 -1
  46. package/lib/esm/common/gen/tzero/v1/payment_intent/recipient/recipient_pb.d.ts +7 -7
  47. package/lib/esm/common/gen/tzero/v1/payment_intent/recipient/recipient_pb.js +1 -1
  48. package/lib/esm/index.d.ts +4 -0
  49. package/lib/esm/index.js +4 -0
  50. package/lib/esm/service/service.js +2 -1
  51. package/lib/esm/service/validate_response.d.ts +13 -0
  52. package/lib/esm/service/validate_response.js +34 -0
  53. package/lib/tsconfig.cjs.tsbuildinfo +1 -1
  54. package/lib/tsconfig.esm.tsbuildinfo +1 -1
  55. package/package.json +4 -2
@@ -3650,7 +3650,7 @@ export type RepeatedRules = Message<"buf.validate.RepeatedRules"> & {
3650
3650
  *
3651
3651
  * @generated from field: optional buf.validate.FieldRules items = 4;
3652
3652
  */
3653
- items?: FieldRules;
3653
+ items?: FieldRules | undefined;
3654
3654
  };
3655
3655
  /**
3656
3656
  * Describes the message buf.validate.RepeatedRules.
@@ -3710,7 +3710,7 @@ export type MapRules = Message<"buf.validate.MapRules"> & {
3710
3710
  *
3711
3711
  * @generated from field: optional buf.validate.FieldRules keys = 4;
3712
3712
  */
3713
- keys?: FieldRules;
3713
+ keys?: FieldRules | undefined;
3714
3714
  /**
3715
3715
  * Specifies the rules to be applied to the value of each key in the
3716
3716
  * field. Message values will still have their validations evaluated unless
@@ -3731,7 +3731,7 @@ export type MapRules = Message<"buf.validate.MapRules"> & {
3731
3731
  *
3732
3732
  * @generated from field: optional buf.validate.FieldRules values = 5;
3733
3733
  */
3734
- values?: FieldRules;
3734
+ values?: FieldRules | undefined;
3735
3735
  };
3736
3736
  /**
3737
3737
  * Describes the message buf.validate.MapRules.
@@ -3802,7 +3802,7 @@ export type DurationRules = Message<"buf.validate.DurationRules"> & {
3802
3802
  *
3803
3803
  * @generated from field: optional google.protobuf.Duration const = 2;
3804
3804
  */
3805
- const?: Duration;
3805
+ const?: Duration | undefined;
3806
3806
  /**
3807
3807
  * @generated from oneof buf.validate.DurationRules.less_than
3808
3808
  */
@@ -3973,7 +3973,7 @@ export type TimestampRules = Message<"buf.validate.TimestampRules"> & {
3973
3973
  *
3974
3974
  * @generated from field: optional google.protobuf.Timestamp const = 2;
3975
3975
  */
3976
- const?: Timestamp;
3976
+ const?: Timestamp | undefined;
3977
3977
  /**
3978
3978
  * @generated from oneof buf.validate.TimestampRules.less_than
3979
3979
  */
@@ -4110,7 +4110,7 @@ export type TimestampRules = Message<"buf.validate.TimestampRules"> & {
4110
4110
  *
4111
4111
  * @generated from field: optional google.protobuf.Duration within = 9;
4112
4112
  */
4113
- within?: Duration;
4113
+ within?: Duration | undefined;
4114
4114
  /**
4115
4115
  * `example` specifies values that the field may have. These values SHOULD
4116
4116
  * conform to other rules. `example` values will not impact validation
@@ -4225,7 +4225,7 @@ export type Violation = Message<"buf.validate.Violation"> & {
4225
4225
  *
4226
4226
  * @generated from field: optional buf.validate.FieldPath field = 5;
4227
4227
  */
4228
- field?: FieldPath;
4228
+ field?: FieldPath | undefined;
4229
4229
  /**
4230
4230
  * `rule` is a machine-readable path that points to the specific rule that failed validation.
4231
4231
  * This will be a nested field starting from the FieldRules of the field that failed validation.
@@ -4258,7 +4258,7 @@ export type Violation = Message<"buf.validate.Violation"> & {
4258
4258
  *
4259
4259
  * @generated from field: optional buf.validate.FieldPath rule = 6;
4260
4260
  */
4261
- rule?: FieldPath;
4261
+ rule?: FieldPath | undefined;
4262
4262
  /**
4263
4263
  * `rule_id` is the unique identifier of the `Rule` that was not fulfilled.
4264
4264
  * This is the same `id` that was specified in the `Rule` message, allowing easy tracing of which rule was violated.
@@ -52,7 +52,7 @@ export type NaturalPerson = Message<"ivms101.NaturalPerson"> & {
52
52
  *
53
53
  * @generated from field: ivms101.NaturalPersonName name = 1;
54
54
  */
55
- name?: NaturalPersonName;
55
+ name?: NaturalPersonName | undefined;
56
56
  /**
57
57
  * Definition: the particulars of a location at which a person may be communicated with.
58
58
  *
@@ -65,7 +65,7 @@ export type NaturalPerson = Message<"ivms101.NaturalPerson"> & {
65
65
  *
66
66
  * @generated from field: ivms101.NationalIdentification national_identification = 3;
67
67
  */
68
- nationalIdentification?: NationalIdentification;
68
+ nationalIdentification?: NationalIdentification | undefined;
69
69
  /**
70
70
  * Definition: a distinct identifier that uniquely identifies the person to the
71
71
  * institution in context.
@@ -78,7 +78,7 @@ export type NaturalPerson = Message<"ivms101.NaturalPerson"> & {
78
78
  *
79
79
  * @generated from field: ivms101.DateAndPlaceOfBirth date_and_place_of_birth = 5;
80
80
  */
81
- dateAndPlaceOfBirth?: DateAndPlaceOfBirth;
81
+ dateAndPlaceOfBirth?: DateAndPlaceOfBirth | undefined;
82
82
  /**
83
83
  * Definition: country in which a person resides (the place of a person's home).
84
84
  * The value used for the field country must be present on the ISO-3166-1 alpha-2
@@ -416,7 +416,7 @@ export type LegalPerson = Message<"ivms101.LegalPerson"> & {
416
416
  *
417
417
  * @generated from field: ivms101.LegalPersonName name = 1;
418
418
  */
419
- name?: LegalPersonName;
419
+ name?: LegalPersonName | undefined;
420
420
  /**
421
421
  * Definition: The address of the legal person.
422
422
  *
@@ -438,7 +438,7 @@ export type LegalPerson = Message<"ivms101.LegalPerson"> & {
438
438
  *
439
439
  * @generated from field: ivms101.NationalIdentification national_identification = 4;
440
440
  */
441
- nationalIdentification?: NationalIdentification;
441
+ nationalIdentification?: NationalIdentification | undefined;
442
442
  /**
443
443
  * Definition: The country in which the legal person is registered.
444
444
  * Constraint: The value used for the field country must be present on the
@@ -1,4 +1,4 @@
1
- // @generated by protoc-gen-es v2.11.0 with parameter "target=ts,import_extension=js"
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=ts,import_extension=js"
2
2
  // @generated from file tzero/v1/common/common.proto (package tzero.v1.common, syntax proto3)
3
3
  /* eslint-disable */
4
4
  import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";