@paydock/client-sdk 1.133.1-beta → 1.136.0-beta

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 (39) hide show
  1. package/README.md +1 -0
  2. package/bundles/index.cjs +870 -855
  3. package/bundles/index.cjs.d.ts +45 -44
  4. package/bundles/index.mjs +870 -855
  5. package/bundles/index.mjs.d.ts +45 -44
  6. package/bundles/types/api/api-checkout-internal.d.ts +2 -2
  7. package/bundles/types/api/api-checkout-internal.d.ts.map +1 -1
  8. package/bundles/types/checkout/images/card-icons.d.ts +2 -1
  9. package/bundles/types/checkout/images/card-icons.d.ts.map +1 -1
  10. package/bundles/types/checkout/v1/instructions/index.d.ts.map +1 -1
  11. package/bundles/types/checkout/v1/instructions/instruction.apple_pay_form.show.d.ts.map +1 -1
  12. package/bundles/types/checkout/v1/instructions/instruction.google_pay_form.show.d.ts.map +1 -1
  13. package/bundles/types/checkout/v1/instructions/instruction.paypal_form.show.d.ts.map +1 -1
  14. package/bundles/types/checkout/v3/components/go-back-to-payments-button/go-back-to-payments.d.ts +1 -0
  15. package/bundles/types/checkout/v3/components/go-back-to-payments-button/go-back-to-payments.d.ts.map +1 -1
  16. package/bundles/types/checkout/v3/instructions/instruction.apple_pay_form.show.d.ts.map +1 -1
  17. package/bundles/types/checkout/v3/instructions/instruction.card_form.show.d.ts.map +1 -1
  18. package/bundles/types/checkout/v3/instructions/instruction.google_pay_form.show.d.ts.map +1 -1
  19. package/bundles/types/checkout/v3/instructions/instruction.paypal_form.show.d.ts.map +1 -1
  20. package/bundles/types/checkout/v3/instructions/instruction.saved_card_form.show.d.ts +13 -2
  21. package/bundles/types/checkout/v3/instructions/instruction.saved_card_form.show.d.ts.map +1 -1
  22. package/bundles/types/checkout/v3/models/card.model.d.ts +3 -2
  23. package/bundles/types/checkout/v3/models/card.model.d.ts.map +1 -1
  24. package/bundles/types/checkout/v3/models/payment-methods.model.d.ts.map +1 -1
  25. package/bundles/types/components/param.d.ts +1 -0
  26. package/bundles/types/components/param.d.ts.map +1 -1
  27. package/bundles/types/paypal-save-payment-source/paypal-save-payment-source.d.ts.map +1 -1
  28. package/bundles/types/paypal-save-payment-source/paypal-save-payment-source.service.d.ts.map +1 -1
  29. package/bundles/types/shared-ui/components/modal.d.ts +18 -0
  30. package/bundles/types/shared-ui/components/modal.d.ts.map +1 -0
  31. package/bundles/types/wallet-buttons/wallet-services/paypal.wallet-service.d.ts.map +1 -1
  32. package/bundles/types/widget/index.d.ts +4 -3
  33. package/bundles/types/widget/index.d.ts.map +1 -1
  34. package/bundles/widget.umd.js +870 -855
  35. package/bundles/widget.umd.js.d.ts +45 -44
  36. package/bundles/widget.umd.js.min.d.ts +45 -44
  37. package/bundles/widget.umd.min.js +1 -1
  38. package/docs/api-widget.md +1 -0
  39. package/package.json +7 -4
@@ -411,6 +411,7 @@ declare const SUPPORTED_CARD_TYPES: {
411
411
  VISA_WHITE: string;
412
412
  EFTPOS: string;
413
413
  EFTPOS_WHITE: string;
414
+ UNIONPAY: string;
414
415
  };
415
416
  interface IIcons {
416
417
  paypal_checkout_button?: string;
@@ -920,6 +921,50 @@ declare class Configuration {
920
921
  disableResultMessage(): void;
921
922
  }
922
923
 
924
+ interface ITriggerData {
925
+ configuration_token?: string;
926
+ tab_number?: number;
927
+ elements?: string;
928
+ form_values?: string;
929
+ }
930
+ /**
931
+ * Interface for classes that represent a trigger data.
932
+ * @interface ITriggerData
933
+ *
934
+ * @param {string} [configuration_token]
935
+ * @param {string} [tab_number]
936
+ * @param {string} [elements]
937
+ * @param {string} [form_values]
938
+ * */
939
+ /**
940
+ * List of available triggers
941
+ *
942
+ * @type {object}
943
+ * @param {string} SUBMIT_FORM=submit_form
944
+ * @param {string} CHANGE_TAB=tab
945
+ * @param {string} HIDE_ELEMENTS=hide_elements
946
+ * @param {string} SHOW_ELEMENTS=show_elements
947
+ * @param {string} REFRESH_CHECKOUT=refresh_checkout
948
+ * @param {string} UPDATE_FORM_VALUES=update_form_values
949
+ * @param {string} INIT_CHECKOUT=init_checkout
950
+ * @param {string} INJECT_CUSTOMER_DATA=inject_customer_data
951
+ */
952
+ declare const TRIGGER: {
953
+ SUBMIT_FORM: string;
954
+ CHANGE_TAB: string;
955
+ HIDE_ELEMENTS: string;
956
+ SHOW_ELEMENTS: string;
957
+ REFRESH_CHECKOUT: string;
958
+ UPDATE_FORM_VALUES: string;
959
+ INIT_CHECKOUT: string;
960
+ INJECT_CUSTOMER_DATA: string;
961
+ };
962
+ declare class Trigger {
963
+ protected iFrame: IFrame;
964
+ constructor(iFrame: IFrame);
965
+ push(triggerName: string, data?: ITriggerData): void;
966
+ }
967
+
923
968
  /**
924
969
  * Current constant include available type of element for styling
925
970
  * @const STYLABLE_ELEMENT
@@ -1310,50 +1355,6 @@ declare class MultiWidget {
1310
1355
  }): void;
1311
1356
  }
1312
1357
 
1313
- interface ITriggerData {
1314
- configuration_token?: string;
1315
- tab_number?: number;
1316
- elements?: string;
1317
- form_values?: string;
1318
- }
1319
- /**
1320
- * Interface for classes that represent a trigger data.
1321
- * @interface ITriggerData
1322
- *
1323
- * @param {string} [configuration_token]
1324
- * @param {string} [tab_number]
1325
- * @param {string} [elements]
1326
- * @param {string} [form_values]
1327
- * */
1328
- /**
1329
- * List of available triggers
1330
- *
1331
- * @type {object}
1332
- * @param {string} SUBMIT_FORM=submit_form
1333
- * @param {string} CHANGE_TAB=tab
1334
- * @param {string} HIDE_ELEMENTS=hide_elements
1335
- * @param {string} SHOW_ELEMENTS=show_elements
1336
- * @param {string} REFRESH_CHECKOUT=refresh_checkout
1337
- * @param {string} UPDATE_FORM_VALUES=update_form_values
1338
- * @param {string} INIT_CHECKOUT=init_checkout
1339
- * @param {string} INJECT_CUSTOMER_DATA=inject_customer_data
1340
- */
1341
- declare const TRIGGER: {
1342
- SUBMIT_FORM: string;
1343
- CHANGE_TAB: string;
1344
- HIDE_ELEMENTS: string;
1345
- SHOW_ELEMENTS: string;
1346
- REFRESH_CHECKOUT: string;
1347
- UPDATE_FORM_VALUES: string;
1348
- INIT_CHECKOUT: string;
1349
- INJECT_CUSTOMER_DATA: string;
1350
- };
1351
- declare class Trigger {
1352
- protected iFrame: IFrame;
1353
- constructor(iFrame: IFrame);
1354
- push(triggerName: string, data?: ITriggerData): void;
1355
- }
1356
-
1357
1358
  interface IEventMetaData extends IEventData$1 {
1358
1359
  configuration_token: string;
1359
1360
  type: string;
@@ -411,6 +411,7 @@ declare const SUPPORTED_CARD_TYPES: {
411
411
  VISA_WHITE: string;
412
412
  EFTPOS: string;
413
413
  EFTPOS_WHITE: string;
414
+ UNIONPAY: string;
414
415
  };
415
416
  interface IIcons {
416
417
  paypal_checkout_button?: string;
@@ -920,6 +921,50 @@ declare class Configuration {
920
921
  disableResultMessage(): void;
921
922
  }
922
923
 
924
+ interface ITriggerData {
925
+ configuration_token?: string;
926
+ tab_number?: number;
927
+ elements?: string;
928
+ form_values?: string;
929
+ }
930
+ /**
931
+ * Interface for classes that represent a trigger data.
932
+ * @interface ITriggerData
933
+ *
934
+ * @param {string} [configuration_token]
935
+ * @param {string} [tab_number]
936
+ * @param {string} [elements]
937
+ * @param {string} [form_values]
938
+ * */
939
+ /**
940
+ * List of available triggers
941
+ *
942
+ * @type {object}
943
+ * @param {string} SUBMIT_FORM=submit_form
944
+ * @param {string} CHANGE_TAB=tab
945
+ * @param {string} HIDE_ELEMENTS=hide_elements
946
+ * @param {string} SHOW_ELEMENTS=show_elements
947
+ * @param {string} REFRESH_CHECKOUT=refresh_checkout
948
+ * @param {string} UPDATE_FORM_VALUES=update_form_values
949
+ * @param {string} INIT_CHECKOUT=init_checkout
950
+ * @param {string} INJECT_CUSTOMER_DATA=inject_customer_data
951
+ */
952
+ declare const TRIGGER: {
953
+ SUBMIT_FORM: string;
954
+ CHANGE_TAB: string;
955
+ HIDE_ELEMENTS: string;
956
+ SHOW_ELEMENTS: string;
957
+ REFRESH_CHECKOUT: string;
958
+ UPDATE_FORM_VALUES: string;
959
+ INIT_CHECKOUT: string;
960
+ INJECT_CUSTOMER_DATA: string;
961
+ };
962
+ declare class Trigger {
963
+ protected iFrame: IFrame;
964
+ constructor(iFrame: IFrame);
965
+ push(triggerName: string, data?: ITriggerData): void;
966
+ }
967
+
923
968
  /**
924
969
  * Current constant include available type of element for styling
925
970
  * @const STYLABLE_ELEMENT
@@ -1310,50 +1355,6 @@ declare class MultiWidget {
1310
1355
  }): void;
1311
1356
  }
1312
1357
 
1313
- interface ITriggerData {
1314
- configuration_token?: string;
1315
- tab_number?: number;
1316
- elements?: string;
1317
- form_values?: string;
1318
- }
1319
- /**
1320
- * Interface for classes that represent a trigger data.
1321
- * @interface ITriggerData
1322
- *
1323
- * @param {string} [configuration_token]
1324
- * @param {string} [tab_number]
1325
- * @param {string} [elements]
1326
- * @param {string} [form_values]
1327
- * */
1328
- /**
1329
- * List of available triggers
1330
- *
1331
- * @type {object}
1332
- * @param {string} SUBMIT_FORM=submit_form
1333
- * @param {string} CHANGE_TAB=tab
1334
- * @param {string} HIDE_ELEMENTS=hide_elements
1335
- * @param {string} SHOW_ELEMENTS=show_elements
1336
- * @param {string} REFRESH_CHECKOUT=refresh_checkout
1337
- * @param {string} UPDATE_FORM_VALUES=update_form_values
1338
- * @param {string} INIT_CHECKOUT=init_checkout
1339
- * @param {string} INJECT_CUSTOMER_DATA=inject_customer_data
1340
- */
1341
- declare const TRIGGER: {
1342
- SUBMIT_FORM: string;
1343
- CHANGE_TAB: string;
1344
- HIDE_ELEMENTS: string;
1345
- SHOW_ELEMENTS: string;
1346
- REFRESH_CHECKOUT: string;
1347
- UPDATE_FORM_VALUES: string;
1348
- INIT_CHECKOUT: string;
1349
- INJECT_CUSTOMER_DATA: string;
1350
- };
1351
- declare class Trigger {
1352
- protected iFrame: IFrame;
1353
- constructor(iFrame: IFrame);
1354
- push(triggerName: string, data?: ITriggerData): void;
1355
- }
1356
-
1357
1358
  interface IEventMetaData extends IEventData$1 {
1358
1359
  configuration_token: string;
1359
1360
  type: string;