@gobob/bob-sdk 5.7.0-rc9 → 5.7.1

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 (104) hide show
  1. package/dist/gateway/client.js +9 -7
  2. package/dist/gateway/client.js.map +1 -1
  3. package/dist/gateway/error/gateway-error.d.ts +4 -2
  4. package/dist/gateway/error/gateway-error.js.map +1 -1
  5. package/dist/gateway/generated-client/apis/V3Api.d.ts +12 -11
  6. package/dist/gateway/generated-client/apis/V3Api.js +17 -17
  7. package/dist/gateway/generated-client/apis/V3Api.js.map +1 -1
  8. package/dist/gateway/generated-client/apis/index.d.ts +1 -1
  9. package/dist/gateway/generated-client/models/ChainTxInfoV3.d.ts +12 -0
  10. package/dist/gateway/generated-client/models/ChainTxInfoV3.js +47 -0
  11. package/dist/gateway/generated-client/models/ChainTxInfoV3.js.map +1 -0
  12. package/dist/gateway/generated-client/models/GatewayCreateOrderV3.d.ts +8 -0
  13. package/dist/gateway/generated-client/models/GatewayCreateOrderV3.js +52 -0
  14. package/dist/gateway/generated-client/models/GatewayCreateOrderV3.js.map +1 -0
  15. package/dist/gateway/generated-client/models/GatewayCreateOrderV3OneOf.d.ts +9 -0
  16. package/dist/gateway/generated-client/models/GatewayCreateOrderV3OneOf.js +36 -0
  17. package/dist/gateway/generated-client/models/GatewayCreateOrderV3OneOf.js.map +1 -0
  18. package/dist/gateway/generated-client/models/GatewayCreateOrderV3OneOf1.d.ts +9 -0
  19. package/dist/gateway/generated-client/models/GatewayCreateOrderV3OneOf1.js +36 -0
  20. package/dist/gateway/generated-client/models/GatewayCreateOrderV3OneOf1.js.map +1 -0
  21. package/dist/gateway/generated-client/models/GatewayCreateOrderV3OneOfOfframp.d.ts +10 -0
  22. package/dist/gateway/generated-client/models/GatewayCreateOrderV3OneOfOfframp.js +40 -0
  23. package/dist/gateway/generated-client/models/GatewayCreateOrderV3OneOfOfframp.js.map +1 -0
  24. package/dist/gateway/generated-client/models/GatewayErrorCodeV3Variants.d.ts +2 -0
  25. package/dist/gateway/generated-client/models/GatewayErrorCodeV3Variants.js +3 -1
  26. package/dist/gateway/generated-client/models/GatewayErrorCodeV3Variants.js.map +1 -1
  27. package/dist/gateway/generated-client/models/GatewayErrorDetailsV3.d.ts +15 -0
  28. package/dist/gateway/generated-client/models/GatewayErrorDetailsV3.js +101 -0
  29. package/dist/gateway/generated-client/models/GatewayErrorDetailsV3.js.map +1 -0
  30. package/dist/gateway/generated-client/models/GatewayErrorDetailsV3OneOf.d.ts +8 -0
  31. package/dist/gateway/generated-client/models/GatewayErrorDetailsV3OneOf.js +35 -0
  32. package/dist/gateway/generated-client/models/GatewayErrorDetailsV3OneOf.js.map +1 -0
  33. package/dist/gateway/generated-client/models/GatewayErrorV3.d.ts +2 -2
  34. package/dist/gateway/generated-client/models/GatewayErrorV3.js +3 -3
  35. package/dist/gateway/generated-client/models/GatewayOrderInfoV3.d.ts +17 -0
  36. package/dist/gateway/generated-client/models/GatewayOrderInfoV3.js +58 -0
  37. package/dist/gateway/generated-client/models/GatewayOrderInfoV3.js.map +1 -0
  38. package/dist/gateway/generated-client/models/GatewayOrderStatusV3.d.ts +9 -0
  39. package/dist/gateway/generated-client/models/GatewayOrderStatusV3.js +59 -0
  40. package/dist/gateway/generated-client/models/GatewayOrderStatusV3.js.map +1 -0
  41. package/dist/gateway/generated-client/models/GatewayOrderStatusV3OneOf.d.ts +9 -0
  42. package/dist/gateway/generated-client/models/GatewayOrderStatusV3OneOf.js +36 -0
  43. package/dist/gateway/generated-client/models/GatewayOrderStatusV3OneOf.js.map +1 -0
  44. package/dist/gateway/generated-client/models/GatewayOrderStatusV3OneOf1.d.ts +9 -0
  45. package/dist/gateway/generated-client/models/GatewayOrderStatusV3OneOf1.js +36 -0
  46. package/dist/gateway/generated-client/models/GatewayOrderStatusV3OneOf1.js.map +1 -0
  47. package/dist/gateway/generated-client/models/GatewayOrderStatusV3OneOf1Success.d.ts +9 -0
  48. package/dist/gateway/generated-client/models/GatewayOrderStatusV3OneOf1Success.js +36 -0
  49. package/dist/gateway/generated-client/models/GatewayOrderStatusV3OneOf1Success.js.map +1 -0
  50. package/dist/gateway/generated-client/models/GatewayOrderStatusV3OneOf2.d.ts +9 -0
  51. package/dist/gateway/generated-client/models/GatewayOrderStatusV3OneOf2.js +36 -0
  52. package/dist/gateway/generated-client/models/GatewayOrderStatusV3OneOf2.js.map +1 -0
  53. package/dist/gateway/generated-client/models/GatewayOrderStatusV3OneOf2Refunded.d.ts +9 -0
  54. package/dist/gateway/generated-client/models/GatewayOrderStatusV3OneOf2Refunded.js +36 -0
  55. package/dist/gateway/generated-client/models/GatewayOrderStatusV3OneOf2Refunded.js.map +1 -0
  56. package/dist/gateway/generated-client/models/GatewayOrderStatusV3OneOfInProgress.d.ts +11 -0
  57. package/dist/gateway/generated-client/models/GatewayOrderStatusV3OneOfInProgress.js +37 -0
  58. package/dist/gateway/generated-client/models/GatewayOrderStatusV3OneOfInProgress.js.map +1 -0
  59. package/dist/gateway/generated-client/models/GatewaySolanaTx.d.ts +9 -0
  60. package/dist/gateway/generated-client/models/GatewaySolanaTx.js +39 -0
  61. package/dist/gateway/generated-client/models/GatewaySolanaTx.js.map +1 -0
  62. package/dist/gateway/generated-client/models/GatewayTxData.d.ts +8 -0
  63. package/dist/gateway/generated-client/models/GatewayTxData.js +52 -0
  64. package/dist/gateway/generated-client/models/GatewayTxData.js.map +1 -0
  65. package/dist/gateway/generated-client/models/GatewayTxDataOneOf.d.ts +16 -0
  66. package/dist/gateway/generated-client/models/GatewayTxDataOneOf.js +55 -0
  67. package/dist/gateway/generated-client/models/GatewayTxDataOneOf.js.map +1 -0
  68. package/dist/gateway/generated-client/models/GatewayTxDataOneOf1.d.ts +17 -0
  69. package/dist/gateway/generated-client/models/GatewayTxDataOneOf1.js +59 -0
  70. package/dist/gateway/generated-client/models/GatewayTxDataOneOf1.js.map +1 -0
  71. package/dist/gateway/generated-client/models/GatewayTxDataOneOf2.d.ts +14 -0
  72. package/dist/gateway/generated-client/models/GatewayTxDataOneOf2.js +47 -0
  73. package/dist/gateway/generated-client/models/GatewayTxDataOneOf2.js.map +1 -0
  74. package/dist/gateway/generated-client/models/GatewayUserTokenTransferV3.d.ts +12 -0
  75. package/dist/gateway/generated-client/models/GatewayUserTokenTransferV3.js +49 -0
  76. package/dist/gateway/generated-client/models/GatewayUserTokenTransferV3.js.map +1 -0
  77. package/dist/gateway/generated-client/models/OrderDestinationInfoV3.d.ts +11 -0
  78. package/dist/gateway/generated-client/models/OrderDestinationInfoV3.js +45 -0
  79. package/dist/gateway/generated-client/models/OrderDestinationInfoV3.js.map +1 -0
  80. package/dist/gateway/generated-client/models/PaginatedOrdersResponseV3.d.ts +10 -0
  81. package/dist/gateway/generated-client/models/PaginatedOrdersResponseV3.js +38 -0
  82. package/dist/gateway/generated-client/models/PaginatedOrdersResponseV3.js.map +1 -0
  83. package/dist/gateway/generated-client/models/PendingBtcPaymentV3.d.ts +10 -0
  84. package/dist/gateway/generated-client/models/PendingBtcPaymentV3.js +41 -0
  85. package/dist/gateway/generated-client/models/PendingBtcPaymentV3.js.map +1 -0
  86. package/dist/gateway/generated-client/models/RegisterTxV3.d.ts +8 -0
  87. package/dist/gateway/generated-client/models/RegisterTxV3.js +52 -0
  88. package/dist/gateway/generated-client/models/RegisterTxV3.js.map +1 -0
  89. package/dist/gateway/generated-client/models/RegisterTxV3OneOf.d.ts +9 -0
  90. package/dist/gateway/generated-client/models/RegisterTxV3OneOf.js +36 -0
  91. package/dist/gateway/generated-client/models/RegisterTxV3OneOf.js.map +1 -0
  92. package/dist/gateway/generated-client/models/RegisterTxV3OneOf1.d.ts +9 -0
  93. package/dist/gateway/generated-client/models/RegisterTxV3OneOf1.js +36 -0
  94. package/dist/gateway/generated-client/models/RegisterTxV3OneOf1.js.map +1 -0
  95. package/dist/gateway/generated-client/models/RegisterTxV3OneOfOfframp.d.ts +10 -0
  96. package/dist/gateway/generated-client/models/RegisterTxV3OneOfOfframp.js +43 -0
  97. package/dist/gateway/generated-client/models/RegisterTxV3OneOfOfframp.js.map +1 -0
  98. package/dist/gateway/generated-client/models/TronTxData.d.ts +12 -0
  99. package/dist/gateway/generated-client/models/TronTxData.js +51 -0
  100. package/dist/gateway/generated-client/models/TronTxData.js.map +1 -0
  101. package/dist/gateway/generated-client/models/index.d.ts +29 -0
  102. package/dist/gateway/generated-client/models/index.js +29 -0
  103. package/dist/gateway/generated-client/models/index.js.map +1 -1
  104. package/package.json +1 -2
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.instanceOfGatewayCreateOrderV3OneOfOfframp = instanceOfGatewayCreateOrderV3OneOfOfframp;
4
+ exports.GatewayCreateOrderV3OneOfOfframpFromJSON = GatewayCreateOrderV3OneOfOfframpFromJSON;
5
+ exports.GatewayCreateOrderV3OneOfOfframpFromJSONTyped = GatewayCreateOrderV3OneOfOfframpFromJSONTyped;
6
+ exports.GatewayCreateOrderV3OneOfOfframpToJSON = GatewayCreateOrderV3OneOfOfframpToJSON;
7
+ exports.GatewayCreateOrderV3OneOfOfframpToJSONTyped = GatewayCreateOrderV3OneOfOfframpToJSONTyped;
8
+ const GatewayTxData_1 = require("./GatewayTxData");
9
+ function instanceOfGatewayCreateOrderV3OneOfOfframp(value) {
10
+ if (!('orderId' in value) || value['orderId'] === undefined)
11
+ return false;
12
+ if (!('tx' in value) || value['tx'] === undefined)
13
+ return false;
14
+ return true;
15
+ }
16
+ function GatewayCreateOrderV3OneOfOfframpFromJSON(json) {
17
+ return GatewayCreateOrderV3OneOfOfframpFromJSONTyped(json, false);
18
+ }
19
+ function GatewayCreateOrderV3OneOfOfframpFromJSONTyped(json, ignoreDiscriminator) {
20
+ if (json == null) {
21
+ return json;
22
+ }
23
+ return {
24
+ 'orderId': json['order_id'],
25
+ 'tx': (0, GatewayTxData_1.GatewayTxDataFromJSON)(json['tx']),
26
+ };
27
+ }
28
+ function GatewayCreateOrderV3OneOfOfframpToJSON(json) {
29
+ return GatewayCreateOrderV3OneOfOfframpToJSONTyped(json, false);
30
+ }
31
+ function GatewayCreateOrderV3OneOfOfframpToJSONTyped(value, ignoreDiscriminator = false) {
32
+ if (value == null) {
33
+ return value;
34
+ }
35
+ return {
36
+ 'order_id': value['orderId'],
37
+ 'tx': (0, GatewayTxData_1.GatewayTxDataToJSON)(value['tx']),
38
+ };
39
+ }
40
+ //# sourceMappingURL=GatewayCreateOrderV3OneOfOfframp.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GatewayCreateOrderV3OneOfOfframp.js","sourceRoot":"","sources":["../../../../src/gateway/generated-client/models/GatewayCreateOrderV3OneOfOfframp.ts"],"names":[],"mappings":";;AA8CA,gGAIC;AAED,4FAEC;AAED,sGASC;AAED,wFAEC;AAED,kGAUC;AAjED,mDAKyB;AAyBzB,SAAgB,0CAA0C,CAAC,KAAa;IACpE,IAAI,CAAC,CAAC,SAAS,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,SAAS,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC1E,IAAI,CAAC,CAAC,IAAI,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,wCAAwC,CAAC,IAAS;IAC9D,OAAO,6CAA6C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACtE,CAAC;AAED,SAAgB,6CAA6C,CAAC,IAAS,EAAE,mBAA4B;IACjG,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,SAAS,EAAE,IAAI,CAAC,UAAU,CAAC;QAC3B,IAAI,EAAE,IAAA,qCAAqB,EAAC,IAAI,CAAC,IAAI,CAAC,CAAC;KAC1C,CAAC;AACN,CAAC;AAED,SAAgB,sCAAsC,CAAC,IAAS;IAC5D,OAAO,2CAA2C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACpE,CAAC;AAED,SAAgB,2CAA2C,CAAC,KAA+C,EAAE,sBAA+B,KAAK;IAC7I,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC;QAC5B,IAAI,EAAE,IAAA,mCAAmB,EAAC,KAAK,CAAC,IAAI,CAAC,CAAC;KACzC,CAAC;AACN,CAAC"}
@@ -1,5 +1,7 @@
1
1
  export declare const GatewayErrorCodeV3Variants: {
2
2
  readonly BungeeNoRoute: "BUNGEE_NO_ROUTE";
3
+ readonly MissingOwnerAddress: "MISSING_OWNER_ADDRESS";
4
+ readonly NonCompliantAddresses: "NON_COMPLIANT_ADDRESSES";
3
5
  };
4
6
  export type GatewayErrorCodeV3Variants = typeof GatewayErrorCodeV3Variants[keyof typeof GatewayErrorCodeV3Variants];
5
7
  export declare function instanceOfGatewayErrorCodeV3Variants(value: any): boolean;
@@ -7,7 +7,9 @@ exports.GatewayErrorCodeV3VariantsFromJSONTyped = GatewayErrorCodeV3VariantsFrom
7
7
  exports.GatewayErrorCodeV3VariantsToJSON = GatewayErrorCodeV3VariantsToJSON;
8
8
  exports.GatewayErrorCodeV3VariantsToJSONTyped = GatewayErrorCodeV3VariantsToJSONTyped;
9
9
  exports.GatewayErrorCodeV3Variants = {
10
- BungeeNoRoute: 'BUNGEE_NO_ROUTE'
10
+ BungeeNoRoute: 'BUNGEE_NO_ROUTE',
11
+ MissingOwnerAddress: 'MISSING_OWNER_ADDRESS',
12
+ NonCompliantAddresses: 'NON_COMPLIANT_ADDRESSES'
11
13
  };
12
14
  function instanceOfGatewayErrorCodeV3Variants(value) {
13
15
  for (const key in exports.GatewayErrorCodeV3Variants) {
@@ -1 +1 @@
1
- {"version":3,"file":"GatewayErrorCodeV3Variants.js","sourceRoot":"","sources":["../../../../src/gateway/generated-client/models/GatewayErrorCodeV3Variants.ts"],"names":[],"mappings":";;;AAyBA,oFASC;AAED,gFAEC;AAED,0FAEC;AAED,4EAEC;AAED,sFAEC;AA/BY,QAAA,0BAA0B,GAAG;IACtC,aAAa,EAAE,iBAAiB;CAC1B,CAAC;AAIX,SAAgB,oCAAoC,CAAC,KAAU;IAC3D,KAAK,MAAM,GAAG,IAAI,kCAA0B,EAAE,CAAC;QAC3C,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,kCAA0B,EAAE,GAAG,CAAC,EAAE,CAAC;YACxE,IAAI,kCAA0B,CAAC,GAA8C,CAAC,KAAK,KAAK,EAAE,CAAC;gBACvF,OAAO,IAAI,CAAC;YAChB,CAAC;QACL,CAAC;IACL,CAAC;IACD,OAAO,KAAK,CAAC;AACjB,CAAC;AAED,SAAgB,kCAAkC,CAAC,IAAS;IACxD,OAAO,uCAAuC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAChE,CAAC;AAED,SAAgB,uCAAuC,CAAC,IAAS,EAAE,mBAA4B;IAC3F,OAAO,IAAkC,CAAC;AAC9C,CAAC;AAED,SAAgB,gCAAgC,CAAC,KAAyC;IACtF,OAAO,KAAY,CAAC;AACxB,CAAC;AAED,SAAgB,qCAAqC,CAAC,KAAU,EAAE,mBAA4B;IAC1F,OAAO,KAAmC,CAAC;AAC/C,CAAC"}
1
+ {"version":3,"file":"GatewayErrorCodeV3Variants.js","sourceRoot":"","sources":["../../../../src/gateway/generated-client/models/GatewayErrorCodeV3Variants.ts"],"names":[],"mappings":";;;AA2BA,oFASC;AAED,gFAEC;AAED,0FAEC;AAED,4EAEC;AAED,sFAEC;AAjCY,QAAA,0BAA0B,GAAG;IACtC,aAAa,EAAE,iBAAiB;IAChC,mBAAmB,EAAE,uBAAuB;IAC5C,qBAAqB,EAAE,yBAAyB;CAC1C,CAAC;AAIX,SAAgB,oCAAoC,CAAC,KAAU;IAC3D,KAAK,MAAM,GAAG,IAAI,kCAA0B,EAAE,CAAC;QAC3C,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,kCAA0B,EAAE,GAAG,CAAC,EAAE,CAAC;YACxE,IAAI,kCAA0B,CAAC,GAA8C,CAAC,KAAK,KAAK,EAAE,CAAC;gBACvF,OAAO,IAAI,CAAC;YAChB,CAAC;QACL,CAAC;IACL,CAAC;IACD,OAAO,KAAK,CAAC;AACjB,CAAC;AAED,SAAgB,kCAAkC,CAAC,IAAS;IACxD,OAAO,uCAAuC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAChE,CAAC;AAED,SAAgB,uCAAuC,CAAC,IAAS,EAAE,mBAA4B;IAC3F,OAAO,IAAkC,CAAC;AAC9C,CAAC;AAED,SAAgB,gCAAgC,CAAC,KAAyC;IACtF,OAAO,KAAY,CAAC;AACxB,CAAC;AAED,SAAgB,qCAAqC,CAAC,KAAU,EAAE,mBAA4B;IAC1F,OAAO,KAAmC,CAAC;AAC/C,CAAC"}
@@ -0,0 +1,15 @@
1
+ import type { GatewayErrorDetailsOneOf } from './GatewayErrorDetailsOneOf';
2
+ import type { GatewayErrorDetailsOneOf1 } from './GatewayErrorDetailsOneOf1';
3
+ import type { GatewayErrorDetailsOneOf2 } from './GatewayErrorDetailsOneOf2';
4
+ import type { GatewayErrorDetailsOneOf3 } from './GatewayErrorDetailsOneOf3';
5
+ import type { GatewayErrorDetailsOneOf4 } from './GatewayErrorDetailsOneOf4';
6
+ import type { GatewayErrorDetailsOneOf5 } from './GatewayErrorDetailsOneOf5';
7
+ import type { GatewayErrorDetailsOneOf6 } from './GatewayErrorDetailsOneOf6';
8
+ import type { GatewayErrorDetailsV2OneOf } from './GatewayErrorDetailsV2OneOf';
9
+ import type { GatewayErrorDetailsV2OneOf1 } from './GatewayErrorDetailsV2OneOf1';
10
+ import type { GatewayErrorDetailsV3OneOf } from './GatewayErrorDetailsV3OneOf';
11
+ export type GatewayErrorDetailsV3 = GatewayErrorDetailsOneOf | GatewayErrorDetailsOneOf1 | GatewayErrorDetailsOneOf2 | GatewayErrorDetailsOneOf3 | GatewayErrorDetailsOneOf4 | GatewayErrorDetailsOneOf5 | GatewayErrorDetailsOneOf6 | GatewayErrorDetailsV2OneOf | GatewayErrorDetailsV2OneOf1 | GatewayErrorDetailsV3OneOf;
12
+ export declare function GatewayErrorDetailsV3FromJSON(json: any): GatewayErrorDetailsV3;
13
+ export declare function GatewayErrorDetailsV3FromJSONTyped(json: any, ignoreDiscriminator: boolean): GatewayErrorDetailsV3;
14
+ export declare function GatewayErrorDetailsV3ToJSON(json: any): any;
15
+ export declare function GatewayErrorDetailsV3ToJSONTyped(value?: GatewayErrorDetailsV3 | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,101 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GatewayErrorDetailsV3FromJSON = GatewayErrorDetailsV3FromJSON;
4
+ exports.GatewayErrorDetailsV3FromJSONTyped = GatewayErrorDetailsV3FromJSONTyped;
5
+ exports.GatewayErrorDetailsV3ToJSON = GatewayErrorDetailsV3ToJSON;
6
+ exports.GatewayErrorDetailsV3ToJSONTyped = GatewayErrorDetailsV3ToJSONTyped;
7
+ const GatewayErrorDetailsOneOf_1 = require("./GatewayErrorDetailsOneOf");
8
+ const GatewayErrorDetailsOneOf1_1 = require("./GatewayErrorDetailsOneOf1");
9
+ const GatewayErrorDetailsOneOf2_1 = require("./GatewayErrorDetailsOneOf2");
10
+ const GatewayErrorDetailsOneOf3_1 = require("./GatewayErrorDetailsOneOf3");
11
+ const GatewayErrorDetailsOneOf4_1 = require("./GatewayErrorDetailsOneOf4");
12
+ const GatewayErrorDetailsOneOf5_1 = require("./GatewayErrorDetailsOneOf5");
13
+ const GatewayErrorDetailsOneOf6_1 = require("./GatewayErrorDetailsOneOf6");
14
+ const GatewayErrorDetailsV2OneOf_1 = require("./GatewayErrorDetailsV2OneOf");
15
+ const GatewayErrorDetailsV2OneOf1_1 = require("./GatewayErrorDetailsV2OneOf1");
16
+ const GatewayErrorDetailsV3OneOf_1 = require("./GatewayErrorDetailsV3OneOf");
17
+ function GatewayErrorDetailsV3FromJSON(json) {
18
+ return GatewayErrorDetailsV3FromJSONTyped(json, false);
19
+ }
20
+ function GatewayErrorDetailsV3FromJSONTyped(json, ignoreDiscriminator) {
21
+ if (json == null) {
22
+ return json;
23
+ }
24
+ if (typeof json !== 'object') {
25
+ return json;
26
+ }
27
+ if ((0, GatewayErrorDetailsOneOf_1.instanceOfGatewayErrorDetailsOneOf)(json)) {
28
+ return (0, GatewayErrorDetailsOneOf_1.GatewayErrorDetailsOneOfFromJSONTyped)(json, true);
29
+ }
30
+ if ((0, GatewayErrorDetailsOneOf1_1.instanceOfGatewayErrorDetailsOneOf1)(json)) {
31
+ return (0, GatewayErrorDetailsOneOf1_1.GatewayErrorDetailsOneOf1FromJSONTyped)(json, true);
32
+ }
33
+ if ((0, GatewayErrorDetailsOneOf2_1.instanceOfGatewayErrorDetailsOneOf2)(json)) {
34
+ return (0, GatewayErrorDetailsOneOf2_1.GatewayErrorDetailsOneOf2FromJSONTyped)(json, true);
35
+ }
36
+ if ((0, GatewayErrorDetailsOneOf3_1.instanceOfGatewayErrorDetailsOneOf3)(json)) {
37
+ return (0, GatewayErrorDetailsOneOf3_1.GatewayErrorDetailsOneOf3FromJSONTyped)(json, true);
38
+ }
39
+ if ((0, GatewayErrorDetailsOneOf4_1.instanceOfGatewayErrorDetailsOneOf4)(json)) {
40
+ return (0, GatewayErrorDetailsOneOf4_1.GatewayErrorDetailsOneOf4FromJSONTyped)(json, true);
41
+ }
42
+ if ((0, GatewayErrorDetailsOneOf5_1.instanceOfGatewayErrorDetailsOneOf5)(json)) {
43
+ return (0, GatewayErrorDetailsOneOf5_1.GatewayErrorDetailsOneOf5FromJSONTyped)(json, true);
44
+ }
45
+ if ((0, GatewayErrorDetailsOneOf6_1.instanceOfGatewayErrorDetailsOneOf6)(json)) {
46
+ return (0, GatewayErrorDetailsOneOf6_1.GatewayErrorDetailsOneOf6FromJSONTyped)(json, true);
47
+ }
48
+ if ((0, GatewayErrorDetailsV2OneOf_1.instanceOfGatewayErrorDetailsV2OneOf)(json)) {
49
+ return (0, GatewayErrorDetailsV2OneOf_1.GatewayErrorDetailsV2OneOfFromJSONTyped)(json, true);
50
+ }
51
+ if ((0, GatewayErrorDetailsV2OneOf1_1.instanceOfGatewayErrorDetailsV2OneOf1)(json)) {
52
+ return (0, GatewayErrorDetailsV2OneOf1_1.GatewayErrorDetailsV2OneOf1FromJSONTyped)(json, true);
53
+ }
54
+ if ((0, GatewayErrorDetailsV3OneOf_1.instanceOfGatewayErrorDetailsV3OneOf)(json)) {
55
+ return (0, GatewayErrorDetailsV3OneOf_1.GatewayErrorDetailsV3OneOfFromJSONTyped)(json, true);
56
+ }
57
+ return {};
58
+ }
59
+ function GatewayErrorDetailsV3ToJSON(json) {
60
+ return GatewayErrorDetailsV3ToJSONTyped(json, false);
61
+ }
62
+ function GatewayErrorDetailsV3ToJSONTyped(value, ignoreDiscriminator = false) {
63
+ if (value == null) {
64
+ return value;
65
+ }
66
+ if (typeof value !== 'object') {
67
+ return value;
68
+ }
69
+ if ((0, GatewayErrorDetailsOneOf_1.instanceOfGatewayErrorDetailsOneOf)(value)) {
70
+ return (0, GatewayErrorDetailsOneOf_1.GatewayErrorDetailsOneOfToJSON)(value);
71
+ }
72
+ if ((0, GatewayErrorDetailsOneOf1_1.instanceOfGatewayErrorDetailsOneOf1)(value)) {
73
+ return (0, GatewayErrorDetailsOneOf1_1.GatewayErrorDetailsOneOf1ToJSON)(value);
74
+ }
75
+ if ((0, GatewayErrorDetailsOneOf2_1.instanceOfGatewayErrorDetailsOneOf2)(value)) {
76
+ return (0, GatewayErrorDetailsOneOf2_1.GatewayErrorDetailsOneOf2ToJSON)(value);
77
+ }
78
+ if ((0, GatewayErrorDetailsOneOf3_1.instanceOfGatewayErrorDetailsOneOf3)(value)) {
79
+ return (0, GatewayErrorDetailsOneOf3_1.GatewayErrorDetailsOneOf3ToJSON)(value);
80
+ }
81
+ if ((0, GatewayErrorDetailsOneOf4_1.instanceOfGatewayErrorDetailsOneOf4)(value)) {
82
+ return (0, GatewayErrorDetailsOneOf4_1.GatewayErrorDetailsOneOf4ToJSON)(value);
83
+ }
84
+ if ((0, GatewayErrorDetailsOneOf5_1.instanceOfGatewayErrorDetailsOneOf5)(value)) {
85
+ return (0, GatewayErrorDetailsOneOf5_1.GatewayErrorDetailsOneOf5ToJSON)(value);
86
+ }
87
+ if ((0, GatewayErrorDetailsOneOf6_1.instanceOfGatewayErrorDetailsOneOf6)(value)) {
88
+ return (0, GatewayErrorDetailsOneOf6_1.GatewayErrorDetailsOneOf6ToJSON)(value);
89
+ }
90
+ if ((0, GatewayErrorDetailsV2OneOf_1.instanceOfGatewayErrorDetailsV2OneOf)(value)) {
91
+ return (0, GatewayErrorDetailsV2OneOf_1.GatewayErrorDetailsV2OneOfToJSON)(value);
92
+ }
93
+ if ((0, GatewayErrorDetailsV2OneOf1_1.instanceOfGatewayErrorDetailsV2OneOf1)(value)) {
94
+ return (0, GatewayErrorDetailsV2OneOf1_1.GatewayErrorDetailsV2OneOf1ToJSON)(value);
95
+ }
96
+ if ((0, GatewayErrorDetailsV3OneOf_1.instanceOfGatewayErrorDetailsV3OneOf)(value)) {
97
+ return (0, GatewayErrorDetailsV3OneOf_1.GatewayErrorDetailsV3OneOfToJSON)(value);
98
+ }
99
+ return {};
100
+ }
101
+ //# sourceMappingURL=GatewayErrorDetailsV3.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GatewayErrorDetailsV3.js","sourceRoot":"","sources":["../../../../src/gateway/generated-client/models/GatewayErrorDetailsV3.ts"],"names":[],"mappings":";;AA+FA,sEAEC;AAED,gFAsCC;AAED,kEAEC;AAED,4EAsCC;AAtKD,yEAKoC;AAEpC,2EAKqC;AAErC,2EAKqC;AAErC,2EAKqC;AAErC,2EAKqC;AAErC,2EAKqC;AAErC,2EAKqC;A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AO,IAAA,2DAA+B,EAAC,KAAkC,CAAC,CAAC;IAC/E,CAAC;IACD,IAAI,IAAA,+DAAmC,EAAC,KAAK,CAAC,EAAE,CAAC;QAC7C,OAAO,IAAA,2DAA+B,EAAC,KAAkC,CAAC,CAAC;IAC/E,CAAC;IACD,IAAI,IAAA,+DAAmC,EAAC,KAAK,CAAC,EAAE,CAAC;QAC7C,OAAO,IAAA,2DAA+B,EAAC,KAAkC,CAAC,CAAC;IAC/E,CAAC;IACD,IAAI,IAAA,+DAAmC,EAAC,KAAK,CAAC,EAAE,CAAC;QAC7C,OAAO,IAAA,2DAA+B,EAAC,KAAkC,CAAC,CAAC;IAC/E,CAAC;IACD,IAAI,IAAA,iEAAoC,EAAC,KAAK,CAAC,EAAE,CAAC;QAC9C,OAAO,IAAA,6DAAgC,EAAC,KAAmC,CAAC,CAAC;IACjF,CAAC;IACD,IAAI,IAAA,mEAAqC,EAAC,KAAK,CAAC,EAAE,CAAC;QAC/C,OAAO,IAAA,+DAAiC,EAAC,KAAoC,CAAC,CAAC;IACnF,CAAC;IACD,IAAI,IAAA,iEAAoC,EAAC,KAAK,CAAC,EAAE,CAAC;QAC9C,OAAO,IAAA,6DAAgC,EAAC,KAAmC,CAAC,CAAC;IACjF,CAAC;IACD,OAAO,EAAE,CAAC;AACd,CAAC"}
@@ -0,0 +1,8 @@
1
+ export interface GatewayErrorDetailsV3OneOf {
2
+ addresses: Array<string>;
3
+ }
4
+ export declare function instanceOfGatewayErrorDetailsV3OneOf(value: object): value is GatewayErrorDetailsV3OneOf;
5
+ export declare function GatewayErrorDetailsV3OneOfFromJSON(json: any): GatewayErrorDetailsV3OneOf;
6
+ export declare function GatewayErrorDetailsV3OneOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): GatewayErrorDetailsV3OneOf;
7
+ export declare function GatewayErrorDetailsV3OneOfToJSON(json: any): GatewayErrorDetailsV3OneOf;
8
+ export declare function GatewayErrorDetailsV3OneOfToJSONTyped(value?: GatewayErrorDetailsV3OneOf | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.instanceOfGatewayErrorDetailsV3OneOf = instanceOfGatewayErrorDetailsV3OneOf;
4
+ exports.GatewayErrorDetailsV3OneOfFromJSON = GatewayErrorDetailsV3OneOfFromJSON;
5
+ exports.GatewayErrorDetailsV3OneOfFromJSONTyped = GatewayErrorDetailsV3OneOfFromJSONTyped;
6
+ exports.GatewayErrorDetailsV3OneOfToJSON = GatewayErrorDetailsV3OneOfToJSON;
7
+ exports.GatewayErrorDetailsV3OneOfToJSONTyped = GatewayErrorDetailsV3OneOfToJSONTyped;
8
+ function instanceOfGatewayErrorDetailsV3OneOf(value) {
9
+ if (!('addresses' in value) || value['addresses'] === undefined)
10
+ return false;
11
+ return true;
12
+ }
13
+ function GatewayErrorDetailsV3OneOfFromJSON(json) {
14
+ return GatewayErrorDetailsV3OneOfFromJSONTyped(json, false);
15
+ }
16
+ function GatewayErrorDetailsV3OneOfFromJSONTyped(json, ignoreDiscriminator) {
17
+ if (json == null) {
18
+ return json;
19
+ }
20
+ return {
21
+ 'addresses': json['addresses'],
22
+ };
23
+ }
24
+ function GatewayErrorDetailsV3OneOfToJSON(json) {
25
+ return GatewayErrorDetailsV3OneOfToJSONTyped(json, false);
26
+ }
27
+ function GatewayErrorDetailsV3OneOfToJSONTyped(value, ignoreDiscriminator = false) {
28
+ if (value == null) {
29
+ return value;
30
+ }
31
+ return {
32
+ 'addresses': value['addresses'],
33
+ };
34
+ }
35
+ //# sourceMappingURL=GatewayErrorDetailsV3OneOf.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GatewayErrorDetailsV3OneOf.js","sourceRoot":"","sources":["../../../../src/gateway/generated-client/models/GatewayErrorDetailsV3OneOf.ts"],"names":[],"mappings":";;AAgCA,oFAGC;AAED,gFAEC;AAED,0FAQC;AAED,4EAEC;AAED,sFASC;AAhCD,SAAgB,oCAAoC,CAAC,KAAa;IAC9D,IAAI,CAAC,CAAC,WAAW,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,WAAW,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC9E,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,kCAAkC,CAAC,IAAS;IACxD,OAAO,uCAAuC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAChE,CAAC;AAED,SAAgB,uCAAuC,CAAC,IAAS,EAAE,mBAA4B;IAC3F,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC;KACjC,CAAC;AACN,CAAC;AAED,SAAgB,gCAAgC,CAAC,IAAS;IACtD,OAAO,qCAAqC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC9D,CAAC;AAED,SAAgB,qCAAqC,CAAC,KAAyC,EAAE,sBAA+B,KAAK;IACjI,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;KAClC,CAAC;AACN,CAAC"}
@@ -1,8 +1,8 @@
1
1
  import type { GatewayErrorCodeV3 } from './GatewayErrorCodeV3';
2
- import type { GatewayErrorDetailsV2 } from './GatewayErrorDetailsV2';
2
+ import type { GatewayErrorDetailsV3 } from './GatewayErrorDetailsV3';
3
3
  export interface GatewayErrorV3 {
4
4
  code: GatewayErrorCodeV3;
5
- details?: GatewayErrorDetailsV2 | null;
5
+ details?: GatewayErrorDetailsV3 | null;
6
6
  error: string;
7
7
  }
8
8
  export declare function instanceOfGatewayErrorV3(value: object): value is GatewayErrorV3;
@@ -6,7 +6,7 @@ exports.GatewayErrorV3FromJSONTyped = GatewayErrorV3FromJSONTyped;
6
6
  exports.GatewayErrorV3ToJSON = GatewayErrorV3ToJSON;
7
7
  exports.GatewayErrorV3ToJSONTyped = GatewayErrorV3ToJSONTyped;
8
8
  const GatewayErrorCodeV3_1 = require("./GatewayErrorCodeV3");
9
- const GatewayErrorDetailsV2_1 = require("./GatewayErrorDetailsV2");
9
+ const GatewayErrorDetailsV3_1 = require("./GatewayErrorDetailsV3");
10
10
  function instanceOfGatewayErrorV3(value) {
11
11
  if (!('code' in value) || value['code'] === undefined)
12
12
  return false;
@@ -23,7 +23,7 @@ function GatewayErrorV3FromJSONTyped(json, ignoreDiscriminator) {
23
23
  }
24
24
  return {
25
25
  'code': (0, GatewayErrorCodeV3_1.GatewayErrorCodeV3FromJSON)(json['code']),
26
- 'details': json['details'] == null ? undefined : (0, GatewayErrorDetailsV2_1.GatewayErrorDetailsV2FromJSON)(json['details']),
26
+ 'details': json['details'] == null ? undefined : (0, GatewayErrorDetailsV3_1.GatewayErrorDetailsV3FromJSON)(json['details']),
27
27
  'error': json['error'],
28
28
  };
29
29
  }
@@ -36,7 +36,7 @@ function GatewayErrorV3ToJSONTyped(value, ignoreDiscriminator = false) {
36
36
  }
37
37
  return {
38
38
  'code': (0, GatewayErrorCodeV3_1.GatewayErrorCodeV3ToJSON)(value['code']),
39
- 'details': (0, GatewayErrorDetailsV2_1.GatewayErrorDetailsV2ToJSON)(value['details']),
39
+ 'details': (0, GatewayErrorDetailsV3_1.GatewayErrorDetailsV3ToJSON)(value['details']),
40
40
  'error': value['error'],
41
41
  };
42
42
  }
@@ -0,0 +1,17 @@
1
+ import type { ChainTxInfoV3 } from './ChainTxInfoV3';
2
+ import type { GatewayOrderStatusV3 } from './GatewayOrderStatusV3';
3
+ import type { OrderDestinationInfoV3 } from './OrderDestinationInfoV3';
4
+ export interface GatewayOrderInfoV3 {
5
+ depositAddress?: string | null;
6
+ dstInfo: OrderDestinationInfoV3;
7
+ estimatedTimeInSecs?: number | null;
8
+ id: string;
9
+ srcInfo: ChainTxInfoV3;
10
+ status: GatewayOrderStatusV3;
11
+ timestamp: number;
12
+ }
13
+ export declare function instanceOfGatewayOrderInfoV3(value: object): value is GatewayOrderInfoV3;
14
+ export declare function GatewayOrderInfoV3FromJSON(json: any): GatewayOrderInfoV3;
15
+ export declare function GatewayOrderInfoV3FromJSONTyped(json: any, ignoreDiscriminator: boolean): GatewayOrderInfoV3;
16
+ export declare function GatewayOrderInfoV3ToJSON(json: any): GatewayOrderInfoV3;
17
+ export declare function GatewayOrderInfoV3ToJSONTyped(value?: GatewayOrderInfoV3 | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.instanceOfGatewayOrderInfoV3 = instanceOfGatewayOrderInfoV3;
4
+ exports.GatewayOrderInfoV3FromJSON = GatewayOrderInfoV3FromJSON;
5
+ exports.GatewayOrderInfoV3FromJSONTyped = GatewayOrderInfoV3FromJSONTyped;
6
+ exports.GatewayOrderInfoV3ToJSON = GatewayOrderInfoV3ToJSON;
7
+ exports.GatewayOrderInfoV3ToJSONTyped = GatewayOrderInfoV3ToJSONTyped;
8
+ const ChainTxInfoV3_1 = require("./ChainTxInfoV3");
9
+ const GatewayOrderStatusV3_1 = require("./GatewayOrderStatusV3");
10
+ const OrderDestinationInfoV3_1 = require("./OrderDestinationInfoV3");
11
+ function instanceOfGatewayOrderInfoV3(value) {
12
+ if (!('dstInfo' in value) || value['dstInfo'] === undefined)
13
+ return false;
14
+ if (!('id' in value) || value['id'] === undefined)
15
+ return false;
16
+ if (!('srcInfo' in value) || value['srcInfo'] === undefined)
17
+ return false;
18
+ if (!('status' in value) || value['status'] === undefined)
19
+ return false;
20
+ if (!('timestamp' in value) || value['timestamp'] === undefined)
21
+ return false;
22
+ return true;
23
+ }
24
+ function GatewayOrderInfoV3FromJSON(json) {
25
+ return GatewayOrderInfoV3FromJSONTyped(json, false);
26
+ }
27
+ function GatewayOrderInfoV3FromJSONTyped(json, ignoreDiscriminator) {
28
+ if (json == null) {
29
+ return json;
30
+ }
31
+ return {
32
+ 'depositAddress': json['depositAddress'] == null ? undefined : json['depositAddress'],
33
+ 'dstInfo': (0, OrderDestinationInfoV3_1.OrderDestinationInfoV3FromJSON)(json['dstInfo']),
34
+ 'estimatedTimeInSecs': json['estimatedTimeInSecs'] == null ? undefined : json['estimatedTimeInSecs'],
35
+ 'id': json['id'],
36
+ 'srcInfo': (0, ChainTxInfoV3_1.ChainTxInfoV3FromJSON)(json['srcInfo']),
37
+ 'status': (0, GatewayOrderStatusV3_1.GatewayOrderStatusV3FromJSON)(json['status']),
38
+ 'timestamp': json['timestamp'],
39
+ };
40
+ }
41
+ function GatewayOrderInfoV3ToJSON(json) {
42
+ return GatewayOrderInfoV3ToJSONTyped(json, false);
43
+ }
44
+ function GatewayOrderInfoV3ToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'depositAddress': value['depositAddress'],
50
+ 'dstInfo': (0, OrderDestinationInfoV3_1.OrderDestinationInfoV3ToJSON)(value['dstInfo']),
51
+ 'estimatedTimeInSecs': value['estimatedTimeInSecs'],
52
+ 'id': value['id'],
53
+ 'srcInfo': (0, ChainTxInfoV3_1.ChainTxInfoV3ToJSON)(value['srcInfo']),
54
+ 'status': (0, GatewayOrderStatusV3_1.GatewayOrderStatusV3ToJSON)(value['status']),
55
+ 'timestamp': value['timestamp'],
56
+ };
57
+ }
58
+ //# sourceMappingURL=GatewayOrderInfoV3.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GatewayOrderInfoV3.js","sourceRoot":"","sources":["../../../../src/gateway/generated-client/models/GatewayOrderInfoV3.ts"],"names":[],"mappings":";;AA0FA,oEAOC;AAED,gEAEC;AAED,0EAcC;AAED,4DAEC;AAED,sEAeC;AA1HD,mDAKyB;AAEzB,iEAKgC;AAEhC,qEAKkC;AAuDlC,SAAgB,4BAA4B,CAAC,KAAa;IACtD,IAAI,CAAC,CAAC,SAAS,IAAI,KAAK,CAAC,IAAI,KAAK,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AAQ,EAAE,IAAA,mDAA4B,EAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACtD,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC;KACjC,CAAC;AACN,CAAC;AAED,SAAgB,wBAAwB,CAAC,IAAS;IAC9C,OAAO,6BAA6B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACtD,CAAC;AAED,SAAgB,6BAA6B,CAAC,KAAiC,EAAE,sBAA+B,KAAK;IACjH,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,gBAAgB,EAAE,KAAK,CAAC,gBAAgB,CAAC;QACzC,SAAS,EAAE,IAAA,qDAA4B,EAAC,KAAK,CAAC,SAAS,CAAC,CAAC;QACzD,qBAAqB,EAAE,KAAK,CAAC,qBAAqB,CAAC;QACnD,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC;QACjB,SAAS,EAAE,IAAA,mCAAmB,EAAC,KAAK,CAAC,SAAS,CAAC,CAAC;QAChD,QAAQ,EAAE,IAAA,iDAA0B,EAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;QACrD,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;KAClC,CAAC;AACN,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { GatewayOrderStatusOneOf1 } from './GatewayOrderStatusOneOf1';
2
+ import type { GatewayOrderStatusV3OneOf } from './GatewayOrderStatusV3OneOf';
3
+ import type { GatewayOrderStatusV3OneOf1 } from './GatewayOrderStatusV3OneOf1';
4
+ import type { GatewayOrderStatusV3OneOf2 } from './GatewayOrderStatusV3OneOf2';
5
+ export type GatewayOrderStatusV3 = GatewayOrderStatusOneOf1 | GatewayOrderStatusV3OneOf | GatewayOrderStatusV3OneOf1 | GatewayOrderStatusV3OneOf2;
6
+ export declare function GatewayOrderStatusV3FromJSON(json: any): GatewayOrderStatusV3;
7
+ export declare function GatewayOrderStatusV3FromJSONTyped(json: any, ignoreDiscriminator: boolean): GatewayOrderStatusV3;
8
+ export declare function GatewayOrderStatusV3ToJSON(json: any): any;
9
+ export declare function GatewayOrderStatusV3ToJSONTyped(value?: GatewayOrderStatusV3 | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GatewayOrderStatusV3FromJSON = GatewayOrderStatusV3FromJSON;
4
+ exports.GatewayOrderStatusV3FromJSONTyped = GatewayOrderStatusV3FromJSONTyped;
5
+ exports.GatewayOrderStatusV3ToJSON = GatewayOrderStatusV3ToJSON;
6
+ exports.GatewayOrderStatusV3ToJSONTyped = GatewayOrderStatusV3ToJSONTyped;
7
+ const GatewayOrderStatusOneOf1_1 = require("./GatewayOrderStatusOneOf1");
8
+ const GatewayOrderStatusV3OneOf_1 = require("./GatewayOrderStatusV3OneOf");
9
+ const GatewayOrderStatusV3OneOf1_1 = require("./GatewayOrderStatusV3OneOf1");
10
+ const GatewayOrderStatusV3OneOf2_1 = require("./GatewayOrderStatusV3OneOf2");
11
+ function GatewayOrderStatusV3FromJSON(json) {
12
+ return GatewayOrderStatusV3FromJSONTyped(json, false);
13
+ }
14
+ function GatewayOrderStatusV3FromJSONTyped(json, ignoreDiscriminator) {
15
+ if (json == null) {
16
+ return json;
17
+ }
18
+ if (typeof json !== 'object') {
19
+ return json;
20
+ }
21
+ if ((0, GatewayOrderStatusOneOf1_1.instanceOfGatewayOrderStatusOneOf1)(json)) {
22
+ return (0, GatewayOrderStatusOneOf1_1.GatewayOrderStatusOneOf1FromJSONTyped)(json, true);
23
+ }
24
+ if ((0, GatewayOrderStatusV3OneOf_1.instanceOfGatewayOrderStatusV3OneOf)(json)) {
25
+ return (0, GatewayOrderStatusV3OneOf_1.GatewayOrderStatusV3OneOfFromJSONTyped)(json, true);
26
+ }
27
+ if ((0, GatewayOrderStatusV3OneOf1_1.instanceOfGatewayOrderStatusV3OneOf1)(json)) {
28
+ return (0, GatewayOrderStatusV3OneOf1_1.GatewayOrderStatusV3OneOf1FromJSONTyped)(json, true);
29
+ }
30
+ if ((0, GatewayOrderStatusV3OneOf2_1.instanceOfGatewayOrderStatusV3OneOf2)(json)) {
31
+ return (0, GatewayOrderStatusV3OneOf2_1.GatewayOrderStatusV3OneOf2FromJSONTyped)(json, true);
32
+ }
33
+ return {};
34
+ }
35
+ function GatewayOrderStatusV3ToJSON(json) {
36
+ return GatewayOrderStatusV3ToJSONTyped(json, false);
37
+ }
38
+ function GatewayOrderStatusV3ToJSONTyped(value, ignoreDiscriminator = false) {
39
+ if (value == null) {
40
+ return value;
41
+ }
42
+ if (typeof value !== 'object') {
43
+ return value;
44
+ }
45
+ if ((0, GatewayOrderStatusOneOf1_1.instanceOfGatewayOrderStatusOneOf1)(value)) {
46
+ return (0, GatewayOrderStatusOneOf1_1.GatewayOrderStatusOneOf1ToJSON)(value);
47
+ }
48
+ if ((0, GatewayOrderStatusV3OneOf_1.instanceOfGatewayOrderStatusV3OneOf)(value)) {
49
+ return (0, GatewayOrderStatusV3OneOf_1.GatewayOrderStatusV3OneOfToJSON)(value);
50
+ }
51
+ if ((0, GatewayOrderStatusV3OneOf1_1.instanceOfGatewayOrderStatusV3OneOf1)(value)) {
52
+ return (0, GatewayOrderStatusV3OneOf1_1.GatewayOrderStatusV3OneOf1ToJSON)(value);
53
+ }
54
+ if ((0, GatewayOrderStatusV3OneOf2_1.instanceOfGatewayOrderStatusV3OneOf2)(value)) {
55
+ return (0, GatewayOrderStatusV3OneOf2_1.GatewayOrderStatusV3OneOf2ToJSON)(value);
56
+ }
57
+ return {};
58
+ }
59
+ //# sourceMappingURL=GatewayOrderStatusV3.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GatewayOrderStatusV3.js","sourceRoot":"","sources":["../../../../src/gateway/generated-client/models/GatewayOrderStatusV3.ts"],"names":[],"mappings":";;AAkDA,oEAEC;AAED,8EAoBC;AAED,gEAEC;AAED,0EAoBC;AArFD,yEAKoC;AAE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CAAC;IACD,IAAI,IAAA,6DAAkC,EAAC,KAAK,CAAC,EAAE,CAAC;QAC5C,OAAO,IAAA,yDAA8B,EAAC,KAAiC,CAAC,CAAC;IAC7E,CAAC;IACD,IAAI,IAAA,+DAAmC,EAAC,KAAK,CAAC,EAAE,CAAC;QAC7C,OAAO,IAAA,2DAA+B,EAAC,KAAkC,CAAC,CAAC;IAC/E,CAAC;IACD,IAAI,IAAA,iEAAoC,EAAC,KAAK,CAAC,EAAE,CAAC;QAC9C,OAAO,IAAA,6DAAgC,EAAC,KAAmC,CAAC,CAAC;IACjF,CAAC;IACD,IAAI,IAAA,iEAAoC,EAAC,KAAK,CAAC,EAAE,CAAC;QAC9C,OAAO,IAAA,6DAAgC,EAAC,KAAmC,CAAC,CAAC;IACjF,CAAC;IACD,OAAO,EAAE,CAAC;AACd,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { GatewayOrderStatusV3OneOfInProgress } from './GatewayOrderStatusV3OneOfInProgress';
2
+ export interface GatewayOrderStatusV3OneOf {
3
+ inProgress: GatewayOrderStatusV3OneOfInProgress;
4
+ }
5
+ export declare function instanceOfGatewayOrderStatusV3OneOf(value: object): value is GatewayOrderStatusV3OneOf;
6
+ export declare function GatewayOrderStatusV3OneOfFromJSON(json: any): GatewayOrderStatusV3OneOf;
7
+ export declare function GatewayOrderStatusV3OneOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): GatewayOrderStatusV3OneOf;
8
+ export declare function GatewayOrderStatusV3OneOfToJSON(json: any): GatewayOrderStatusV3OneOf;
9
+ export declare function GatewayOrderStatusV3OneOfToJSONTyped(value?: GatewayOrderStatusV3OneOf | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.instanceOfGatewayOrderStatusV3OneOf = instanceOfGatewayOrderStatusV3OneOf;
4
+ exports.GatewayOrderStatusV3OneOfFromJSON = GatewayOrderStatusV3OneOfFromJSON;
5
+ exports.GatewayOrderStatusV3OneOfFromJSONTyped = GatewayOrderStatusV3OneOfFromJSONTyped;
6
+ exports.GatewayOrderStatusV3OneOfToJSON = GatewayOrderStatusV3OneOfToJSON;
7
+ exports.GatewayOrderStatusV3OneOfToJSONTyped = GatewayOrderStatusV3OneOfToJSONTyped;
8
+ const GatewayOrderStatusV3OneOfInProgress_1 = require("./GatewayOrderStatusV3OneOfInProgress");
9
+ function instanceOfGatewayOrderStatusV3OneOf(value) {
10
+ if (!('inProgress' in value) || value['inProgress'] === undefined)
11
+ return false;
12
+ return true;
13
+ }
14
+ function GatewayOrderStatusV3OneOfFromJSON(json) {
15
+ return GatewayOrderStatusV3OneOfFromJSONTyped(json, false);
16
+ }
17
+ function GatewayOrderStatusV3OneOfFromJSONTyped(json, ignoreDiscriminator) {
18
+ if (json == null) {
19
+ return json;
20
+ }
21
+ return {
22
+ 'inProgress': (0, GatewayOrderStatusV3OneOfInProgress_1.GatewayOrderStatusV3OneOfInProgressFromJSON)(json['inProgress']),
23
+ };
24
+ }
25
+ function GatewayOrderStatusV3OneOfToJSON(json) {
26
+ return GatewayOrderStatusV3OneOfToJSONTyped(json, false);
27
+ }
28
+ function GatewayOrderStatusV3OneOfToJSONTyped(value, ignoreDiscriminator = false) {
29
+ if (value == null) {
30
+ return value;
31
+ }
32
+ return {
33
+ 'inProgress': (0, GatewayOrderStatusV3OneOfInProgress_1.GatewayOrderStatusV3OneOfInProgressToJSON)(value['inProgress']),
34
+ };
35
+ }
36
+ //# sourceMappingURL=GatewayOrderStatusV3OneOf.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GatewayOrderStatusV3OneOf.js","sourceRoot":"","sources":["../../../../src/gateway/generated-client/models/GatewayOrderStatusV3OneOf.ts"],"names":[],"mappings":";;AAwCA,kFAGC;AAED,8EAEC;AAED,wFAQC;AAED,0EAEC;AAED,oFASC;AAxDD,+FAK+C;AAmB/C,SAAgB,mCAAmC,CAAC,KAAa;IAC7D,IAAI,CAAC,CAAC,YAAY,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,YAAY,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChF,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,iCAAiC,CAAC,IAAS;IACvD,OAAO,sCAAsC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC/D,CAAC;AAED,SAAgB,sCAAsC,CAAC,IAAS,EAAE,mBAA4B;IAC1F,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,YAAY,EAAE,IAAA,iFAA2C,EAAC,IAAI,CAAC,YAAY,CAAC,CAAC;KAChF,CAAC;AACN,CAAC;AAED,SAAgB,+BAA+B,CAAC,IAAS;IACrD,OAAO,oCAAoC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC7D,CAAC;AAED,SAAgB,oCAAoC,CAAC,KAAwC,EAAE,sBAA+B,KAAK;IAC/H,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,YAAY,EAAE,IAAA,+EAAyC,EAAC,KAAK,CAAC,YAAY,CAAC,CAAC;KAC/E,CAAC;AACN,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { GatewayOrderStatusV3OneOf1Success } from './GatewayOrderStatusV3OneOf1Success';
2
+ export interface GatewayOrderStatusV3OneOf1 {
3
+ success: GatewayOrderStatusV3OneOf1Success;
4
+ }
5
+ export declare function instanceOfGatewayOrderStatusV3OneOf1(value: object): value is GatewayOrderStatusV3OneOf1;
6
+ export declare function GatewayOrderStatusV3OneOf1FromJSON(json: any): GatewayOrderStatusV3OneOf1;
7
+ export declare function GatewayOrderStatusV3OneOf1FromJSONTyped(json: any, ignoreDiscriminator: boolean): GatewayOrderStatusV3OneOf1;
8
+ export declare function GatewayOrderStatusV3OneOf1ToJSON(json: any): GatewayOrderStatusV3OneOf1;
9
+ export declare function GatewayOrderStatusV3OneOf1ToJSONTyped(value?: GatewayOrderStatusV3OneOf1 | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.instanceOfGatewayOrderStatusV3OneOf1 = instanceOfGatewayOrderStatusV3OneOf1;
4
+ exports.GatewayOrderStatusV3OneOf1FromJSON = GatewayOrderStatusV3OneOf1FromJSON;
5
+ exports.GatewayOrderStatusV3OneOf1FromJSONTyped = GatewayOrderStatusV3OneOf1FromJSONTyped;
6
+ exports.GatewayOrderStatusV3OneOf1ToJSON = GatewayOrderStatusV3OneOf1ToJSON;
7
+ exports.GatewayOrderStatusV3OneOf1ToJSONTyped = GatewayOrderStatusV3OneOf1ToJSONTyped;
8
+ const GatewayOrderStatusV3OneOf1Success_1 = require("./GatewayOrderStatusV3OneOf1Success");
9
+ function instanceOfGatewayOrderStatusV3OneOf1(value) {
10
+ if (!('success' in value) || value['success'] === undefined)
11
+ return false;
12
+ return true;
13
+ }
14
+ function GatewayOrderStatusV3OneOf1FromJSON(json) {
15
+ return GatewayOrderStatusV3OneOf1FromJSONTyped(json, false);
16
+ }
17
+ function GatewayOrderStatusV3OneOf1FromJSONTyped(json, ignoreDiscriminator) {
18
+ if (json == null) {
19
+ return json;
20
+ }
21
+ return {
22
+ 'success': (0, GatewayOrderStatusV3OneOf1Success_1.GatewayOrderStatusV3OneOf1SuccessFromJSON)(json['success']),
23
+ };
24
+ }
25
+ function GatewayOrderStatusV3OneOf1ToJSON(json) {
26
+ return GatewayOrderStatusV3OneOf1ToJSONTyped(json, false);
27
+ }
28
+ function GatewayOrderStatusV3OneOf1ToJSONTyped(value, ignoreDiscriminator = false) {
29
+ if (value == null) {
30
+ return value;
31
+ }
32
+ return {
33
+ 'success': (0, GatewayOrderStatusV3OneOf1Success_1.GatewayOrderStatusV3OneOf1SuccessToJSON)(value['success']),
34
+ };
35
+ }
36
+ //# sourceMappingURL=GatewayOrderStatusV3OneOf1.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GatewayOrderStatusV3OneOf1.js","sourceRoot":"","sources":["../../../../src/gateway/generated-client/models/GatewayOrderStatusV3OneOf1.ts"],"names":[],"mappings":";;AAwCA,oFAGC;AAED,gFAEC;AAED,0FAQC;AAED,4EAEC;AAED,sFASC;AAxDD,2FAK6C;AAmB7C,SAAgB,oCAAoC,CAAC,KAAa;IAC9D,IAAI,CAAC,CAAC,SAAS,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,SAAS,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC1E,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,kCAAkC,CAAC,IAAS;IACxD,OAAO,uCAAuC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAChE,CAAC;AAED,SAAgB,uCAAuC,CAAC,IAAS,EAAE,mBAA4B;IAC3F,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,SAAS,EAAE,IAAA,6EAAyC,EAAC,IAAI,CAAC,SAAS,CAAC,CAAC;KACxE,CAAC;AACN,CAAC;AAED,SAAgB,gCAAgC,CAAC,IAAS;IACtD,OAAO,qCAAqC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC9D,CAAC;AAED,SAAgB,qCAAqC,CAAC,KAAyC,EAAE,sBAA+B,KAAK;IACjI,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,SAAS,EAAE,IAAA,2EAAuC,EAAC,KAAK,CAAC,SAAS,CAAC,CAAC;KACvE,CAAC;AACN,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { GatewayUserTokenTransferV3 } from './GatewayUserTokenTransferV3';
2
+ export interface GatewayOrderStatusV3OneOf1Success {
3
+ receivedTokens: Array<GatewayUserTokenTransferV3>;
4
+ }
5
+ export declare function instanceOfGatewayOrderStatusV3OneOf1Success(value: object): value is GatewayOrderStatusV3OneOf1Success;
6
+ export declare function GatewayOrderStatusV3OneOf1SuccessFromJSON(json: any): GatewayOrderStatusV3OneOf1Success;
7
+ export declare function GatewayOrderStatusV3OneOf1SuccessFromJSONTyped(json: any, ignoreDiscriminator: boolean): GatewayOrderStatusV3OneOf1Success;
8
+ export declare function GatewayOrderStatusV3OneOf1SuccessToJSON(json: any): GatewayOrderStatusV3OneOf1Success;
9
+ export declare function GatewayOrderStatusV3OneOf1SuccessToJSONTyped(value?: GatewayOrderStatusV3OneOf1Success | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.instanceOfGatewayOrderStatusV3OneOf1Success = instanceOfGatewayOrderStatusV3OneOf1Success;
4
+ exports.GatewayOrderStatusV3OneOf1SuccessFromJSON = GatewayOrderStatusV3OneOf1SuccessFromJSON;
5
+ exports.GatewayOrderStatusV3OneOf1SuccessFromJSONTyped = GatewayOrderStatusV3OneOf1SuccessFromJSONTyped;
6
+ exports.GatewayOrderStatusV3OneOf1SuccessToJSON = GatewayOrderStatusV3OneOf1SuccessToJSON;
7
+ exports.GatewayOrderStatusV3OneOf1SuccessToJSONTyped = GatewayOrderStatusV3OneOf1SuccessToJSONTyped;
8
+ const GatewayUserTokenTransferV3_1 = require("./GatewayUserTokenTransferV3");
9
+ function instanceOfGatewayOrderStatusV3OneOf1Success(value) {
10
+ if (!('receivedTokens' in value) || value['receivedTokens'] === undefined)
11
+ return false;
12
+ return true;
13
+ }
14
+ function GatewayOrderStatusV3OneOf1SuccessFromJSON(json) {
15
+ return GatewayOrderStatusV3OneOf1SuccessFromJSONTyped(json, false);
16
+ }
17
+ function GatewayOrderStatusV3OneOf1SuccessFromJSONTyped(json, ignoreDiscriminator) {
18
+ if (json == null) {
19
+ return json;
20
+ }
21
+ return {
22
+ 'receivedTokens': (json['received_tokens'].map(GatewayUserTokenTransferV3_1.GatewayUserTokenTransferV3FromJSON)),
23
+ };
24
+ }
25
+ function GatewayOrderStatusV3OneOf1SuccessToJSON(json) {
26
+ return GatewayOrderStatusV3OneOf1SuccessToJSONTyped(json, false);
27
+ }
28
+ function GatewayOrderStatusV3OneOf1SuccessToJSONTyped(value, ignoreDiscriminator = false) {
29
+ if (value == null) {
30
+ return value;
31
+ }
32
+ return {
33
+ 'received_tokens': (value['receivedTokens'].map(GatewayUserTokenTransferV3_1.GatewayUserTokenTransferV3ToJSON)),
34
+ };
35
+ }
36
+ //# sourceMappingURL=GatewayOrderStatusV3OneOf1Success.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GatewayOrderStatusV3OneOf1Success.js","sourceRoot":"","sources":["../../../../src/gateway/generated-client/models/GatewayOrderStatusV3OneOf1Success.ts"],"names":[],"mappings":";;AAwCA,kGAGC;AAED,8FAEC;AAED,wGAQC;AAED,0FAEC;AAED,oGASC;AAxDD,6EAKsC;AAmBtC,SAAgB,2CAA2C,CAAC,KAAa;IACrE,IAAI,CAAC,CAAC,gBAAgB,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,gBAAgB,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACxF,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,yCAAyC,CAAC,IAAS;IAC/D,OAAO,8CAA8C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACvE,CAAC;AAED,SAAgB,8CAA8C,CAAC,IAAS,EAAE,mBAA4B;IAClG,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,gBAAgB,EAAE,CAAE,IAAI,CAAC,iBAAiB,CAAgB,CAAC,GAAG,CAAC,+DAAkC,CAAC,CAAC;KACtG,CAAC;AACN,CAAC;AAED,SAAgB,uCAAuC,CAAC,IAAS;IAC7D,OAAO,4CAA4C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACrE,CAAC;AAED,SAAgB,4CAA4C,CAAC,KAAgD,EAAE,sBAA+B,KAAK;IAC/I,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,iBAAiB,EAAE,CAAE,KAAK,CAAC,gBAAgB,CAAgB,CAAC,GAAG,CAAC,6DAAgC,CAAC,CAAC;KACrG,CAAC;AACN,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { GatewayOrderStatusV3OneOf2Refunded } from './GatewayOrderStatusV3OneOf2Refunded';
2
+ export interface GatewayOrderStatusV3OneOf2 {
3
+ refunded: GatewayOrderStatusV3OneOf2Refunded;
4
+ }
5
+ export declare function instanceOfGatewayOrderStatusV3OneOf2(value: object): value is GatewayOrderStatusV3OneOf2;
6
+ export declare function GatewayOrderStatusV3OneOf2FromJSON(json: any): GatewayOrderStatusV3OneOf2;
7
+ export declare function GatewayOrderStatusV3OneOf2FromJSONTyped(json: any, ignoreDiscriminator: boolean): GatewayOrderStatusV3OneOf2;
8
+ export declare function GatewayOrderStatusV3OneOf2ToJSON(json: any): GatewayOrderStatusV3OneOf2;
9
+ export declare function GatewayOrderStatusV3OneOf2ToJSONTyped(value?: GatewayOrderStatusV3OneOf2 | null, ignoreDiscriminator?: boolean): any;