@opexa/portal-sdk 0.45.1 → 0.45.3

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.
package/dist/index.cjs CHANGED
@@ -921,6 +921,13 @@ var DEPOSIT_QUERY = gql`
921
921
  checkoutUrl
922
922
  error
923
923
  }
924
+ ... on AiOGcashDeposit {
925
+ id
926
+ type
927
+ status
928
+ checkoutUrl
929
+ error
930
+ }
924
931
  ... on MayaDeposit {
925
932
  id
926
933
  type
@@ -8169,6 +8176,18 @@ var Sdk = class {
8169
8176
  });
8170
8177
  if (!res.ok) return res;
8171
8178
  }
8179
+ if (input.type === "AIO_GCASH") {
8180
+ const res = await this.walletService.createAIOGcashDeposit({
8181
+ input: {
8182
+ id,
8183
+ amount: input.amount.toString(),
8184
+ promo: input.promo,
8185
+ redirectUrl: input.redirectUrl
8186
+ },
8187
+ reCAPTCHAResponse: input.reCAPTCHAResponse
8188
+ });
8189
+ if (!res.ok) return res;
8190
+ }
8172
8191
  if (input.type === "AIO_ONLINE_BANK") {
8173
8192
  const res = await this.walletService.createAIOOnlineBankDeposit({
8174
8193
  input: {