@wix/auto_sdk_payments_payment-acceptance-configurations 1.0.31 → 1.0.33

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.
@@ -1,25 +1,25 @@
1
1
  /** PaymentAcceptanceConfiguration */
2
2
  interface PaymentAcceptanceConfiguration {
3
3
  /**
4
- * id
4
+ * Id
5
5
  * @format GUID
6
6
  * @readonly
7
7
  * @immutable
8
8
  */
9
9
  _id?: string | null;
10
10
  /**
11
- * app_id
11
+ * App id
12
12
  * @format GUID
13
13
  * @immutable
14
14
  */
15
15
  appId?: string | null;
16
16
  /**
17
- * rules
17
+ * Rules
18
18
  * @maxSize 1000
19
19
  */
20
20
  rules?: PaymentAcceptanceRule[];
21
21
  /**
22
- * revision
22
+ * Revision
23
23
  * @readonly
24
24
  */
25
25
  revision?: string | null;
@@ -41,18 +41,77 @@ interface PaymentAcceptanceConfiguration {
41
41
  }
42
42
  interface PaymentAcceptanceRule {
43
43
  /**
44
- * payment_method_type_id
44
+ * Payment method type id
45
45
  * @format GUID
46
46
  */
47
47
  paymentMethodTypeId?: string;
48
48
  /**
49
- * account_connection_id
49
+ * Account connection id
50
50
  * @format GUID
51
51
  */
52
52
  accountConnectionId?: string;
53
- /** merchant_enabled */
53
+ /** Merchant enabled */
54
54
  merchantEnabled?: boolean;
55
55
  }
56
+ interface PaymentBrands {
57
+ /**
58
+ * Payment brand ids
59
+ * @maxSize 200
60
+ * @format GUID
61
+ */
62
+ paymentBrandIds?: string[];
63
+ }
64
+ interface Countries {
65
+ /**
66
+ * Country codes
67
+ * @maxSize 200
68
+ * @format COUNTRY
69
+ */
70
+ countryCodes?: string[];
71
+ }
72
+ interface Currencies {
73
+ /**
74
+ * Currency codes
75
+ * @maxSize 200
76
+ * @format CURRENCY
77
+ */
78
+ currencyCodes?: string[];
79
+ }
80
+ interface Restrictions extends RestrictionsPaymentBrandsOneOf, RestrictionsCountriesOneOf, RestrictionsCurrenciesOneOf {
81
+ /** Allowed payment brands */
82
+ allowedPaymentBrands?: PaymentBrands;
83
+ /** Prohibited payment brands */
84
+ prohibitedPaymentBrands?: PaymentBrands;
85
+ /** Allowed countries */
86
+ allowedCountries?: Countries;
87
+ /** Prohibited countries */
88
+ prohibitedCountries?: Countries;
89
+ /** Allowed currencies */
90
+ allowedCurrencies?: Currencies;
91
+ /** Prohibited currencies */
92
+ prohibitedCurrencies?: Currencies;
93
+ }
94
+ /** @oneof */
95
+ interface RestrictionsPaymentBrandsOneOf {
96
+ /** Allowed payment brands */
97
+ allowedPaymentBrands?: PaymentBrands;
98
+ /** Prohibited payment brands */
99
+ prohibitedPaymentBrands?: PaymentBrands;
100
+ }
101
+ /** @oneof */
102
+ interface RestrictionsCountriesOneOf {
103
+ /** Allowed countries */
104
+ allowedCountries?: Countries;
105
+ /** Prohibited countries */
106
+ prohibitedCountries?: Countries;
107
+ }
108
+ /** @oneof */
109
+ interface RestrictionsCurrenciesOneOf {
110
+ /** Allowed currencies */
111
+ allowedCurrencies?: Currencies;
112
+ /** Prohibited currencies */
113
+ prohibitedCurrencies?: Currencies;
114
+ }
56
115
  interface ExtendedFields {
57
116
  /**
58
117
  * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
@@ -893,25 +952,25 @@ declare enum WebhookIdentityType {
893
952
  type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
894
953
  interface UpdatePaymentAcceptanceConfiguration {
895
954
  /**
896
- * id
955
+ * Id
897
956
  * @format GUID
898
957
  * @readonly
899
958
  * @immutable
900
959
  */
901
960
  _id?: string | null;
902
961
  /**
903
- * app_id
962
+ * App id
904
963
  * @format GUID
905
964
  * @immutable
906
965
  */
907
966
  appId?: string | null;
908
967
  /**
909
- * rules
968
+ * Rules
910
969
  * @maxSize 1000
911
970
  */
912
971
  rules?: PaymentAcceptanceRule[];
913
972
  /**
914
- * revision
973
+ * Revision
915
974
  * @readonly
916
975
  */
917
976
  revision?: string | null;
@@ -1021,4 +1080,4 @@ interface BulkUpdatePaymentAcceptanceConfigurationTagsByFilterOptions {
1021
1080
  unassignTags?: Tags;
1022
1081
  }
1023
1082
 
1024
- export { type ActionEvent, type ApplicationError, type Asset, type BulkActionMetadata, type BulkUpdatePaymentAcceptanceConfigurationTagsByFilterOptions, type BulkUpdatePaymentAcceptanceConfigurationTagsByFilterRequest, type BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponse, type BulkUpdatePaymentAcceptanceConfigurationTagsOptions, type BulkUpdatePaymentAcceptanceConfigurationTagsRequest, type BulkUpdatePaymentAcceptanceConfigurationTagsResponse, type BulkUpdatePaymentAcceptanceConfigurationTagsResult, type CreatePaymentAcceptanceConfigurationRequest, type CreatePaymentAcceptanceConfigurationResponse, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type DeleteContext, type DeletePaymentAcceptanceConfigurationRequest, type DeletePaymentAcceptanceConfigurationResponse, DeleteStatus, type DeleteStatusWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type ExtendedFields, type GetPaymentAcceptanceConfigurationRequest, type GetPaymentAcceptanceConfigurationResponse, type IdentificationData, type IdentificationDataIdOneOf, type ItemMetadata, type MessageEnvelope, type MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf, Namespace, type NamespaceChanged, type NamespaceWithLiterals, type OdeditorAssigned, type OdeditorUnassigned, type PaymentAcceptanceConfiguration, type PaymentAcceptanceConfigurationsQueryBuilder, type PaymentAcceptanceConfigurationsQueryResult, type PaymentAcceptanceRule, type PicassoAssigned, type PicassoUnassigned, type QueryPaymentAcceptanceConfigurationsRequest, type QueryPaymentAcceptanceConfigurationsResponse, type RestoreInfo, type ServiceProvisioned, type ServiceRemoved, type SiteCreated, SiteCreatedContext, type SiteCreatedContextWithLiterals, type SiteDeleted, type SiteHardDeleted, type SiteMarkedAsTemplate, type SiteMarkedAsWixSite, type SitePublished, type SitePurgedExternally, type SiteRenamed, type SiteTransferred, type SiteUndeleted, type SiteUnpublished, type SiteUrlChanged, SortOrder, type SortOrderWithLiterals, type Sorting, State, type StateWithLiterals, type StudioAssigned, type StudioUnassigned, type TagList, type Tags, type UpdatePaymentAcceptanceConfiguration, type UpdatePaymentAcceptanceConfigurationRequest, type UpdatePaymentAcceptanceConfigurationResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals };
1083
+ export { type ActionEvent, type ApplicationError, type Asset, type BulkActionMetadata, type BulkUpdatePaymentAcceptanceConfigurationTagsByFilterOptions, type BulkUpdatePaymentAcceptanceConfigurationTagsByFilterRequest, type BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponse, type BulkUpdatePaymentAcceptanceConfigurationTagsOptions, type BulkUpdatePaymentAcceptanceConfigurationTagsRequest, type BulkUpdatePaymentAcceptanceConfigurationTagsResponse, type BulkUpdatePaymentAcceptanceConfigurationTagsResult, type Countries, type CreatePaymentAcceptanceConfigurationRequest, type CreatePaymentAcceptanceConfigurationResponse, type Currencies, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type DeleteContext, type DeletePaymentAcceptanceConfigurationRequest, type DeletePaymentAcceptanceConfigurationResponse, DeleteStatus, type DeleteStatusWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type ExtendedFields, type GetPaymentAcceptanceConfigurationRequest, type GetPaymentAcceptanceConfigurationResponse, type IdentificationData, type IdentificationDataIdOneOf, type ItemMetadata, type MessageEnvelope, type MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf, Namespace, type NamespaceChanged, type NamespaceWithLiterals, type OdeditorAssigned, type OdeditorUnassigned, type PaymentAcceptanceConfiguration, type PaymentAcceptanceConfigurationsQueryBuilder, type PaymentAcceptanceConfigurationsQueryResult, type PaymentAcceptanceRule, type PaymentBrands, type PicassoAssigned, type PicassoUnassigned, type QueryPaymentAcceptanceConfigurationsRequest, type QueryPaymentAcceptanceConfigurationsResponse, type RestoreInfo, type Restrictions, type RestrictionsCountriesOneOf, type RestrictionsCurrenciesOneOf, type RestrictionsPaymentBrandsOneOf, type ServiceProvisioned, type ServiceRemoved, type SiteCreated, SiteCreatedContext, type SiteCreatedContextWithLiterals, type SiteDeleted, type SiteHardDeleted, type SiteMarkedAsTemplate, type SiteMarkedAsWixSite, type SitePublished, type SitePurgedExternally, type SiteRenamed, type SiteTransferred, type SiteUndeleted, type SiteUnpublished, type SiteUrlChanged, SortOrder, type SortOrderWithLiterals, type Sorting, State, type StateWithLiterals, type StudioAssigned, type StudioUnassigned, type TagList, type Tags, type UpdatePaymentAcceptanceConfiguration, type UpdatePaymentAcceptanceConfigurationRequest, type UpdatePaymentAcceptanceConfigurationResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals };