@wix/payments 1.0.12 → 1.0.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.
- package/build/cjs/context.js +0 -1
- package/build/cjs/index.js +0 -1
- package/build/cjs/meta.js +0 -1
- package/package.json +5 -5
- package/type-bundles/context.bundle.d.ts +17 -6
- package/type-bundles/index.bundle.d.ts +17 -6
- package/build/cjs/context.js.map +0 -1
- package/build/cjs/index.js.map +0 -1
- package/build/cjs/meta.js.map +0 -1
package/build/cjs/context.js
CHANGED
|
@@ -27,4 +27,3 @@ exports.refunds = exports.pspCallbacks = exports.onboardingAvailability = void 0
|
|
|
27
27
|
exports.onboardingAvailability = __importStar(require("@wix/payments_onboarding-availability/context"));
|
|
28
28
|
exports.pspCallbacks = __importStar(require("@wix/payments_psp-callbacks/context"));
|
|
29
29
|
exports.refunds = __importStar(require("@wix/payments_refunds/context"));
|
|
30
|
-
//# sourceMappingURL=context.js.map
|
package/build/cjs/index.js
CHANGED
package/build/cjs/meta.js
CHANGED
|
@@ -27,4 +27,3 @@ exports.refunds = exports.pspCallbacks = exports.onboardingAvailability = void 0
|
|
|
27
27
|
exports.onboardingAvailability = __importStar(require("@wix/payments_onboarding-availability/meta"));
|
|
28
28
|
exports.pspCallbacks = __importStar(require("@wix/payments_psp-callbacks/meta"));
|
|
29
29
|
exports.refunds = __importStar(require("@wix/payments_refunds/meta"));
|
|
30
|
-
//# sourceMappingURL=meta.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/payments",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.14",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"type-bundles"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@wix/payments_onboarding-availability": "1.0.
|
|
22
|
-
"@wix/payments_psp-callbacks": "1.0.
|
|
23
|
-
"@wix/payments_refunds": "1.0.
|
|
21
|
+
"@wix/payments_onboarding-availability": "1.0.5",
|
|
22
|
+
"@wix/payments_psp-callbacks": "1.0.2",
|
|
23
|
+
"@wix/payments_refunds": "1.0.13"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"glob": "^10.4.1",
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"fqdn": ""
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
|
-
"falconPackageHash": "
|
|
48
|
+
"falconPackageHash": "f2e6c0edf6de8193f0bf4a5accf744b8ae935ac51771670f7350e0f9"
|
|
49
49
|
}
|
|
@@ -213,7 +213,7 @@ interface DomainEventBodyOneOf$1 {
|
|
|
213
213
|
interface EntityCreatedEvent$1 {
|
|
214
214
|
entity?: string;
|
|
215
215
|
}
|
|
216
|
-
interface RestoreInfo {
|
|
216
|
+
interface RestoreInfo$1 {
|
|
217
217
|
deletedDate?: Date;
|
|
218
218
|
}
|
|
219
219
|
interface EntityUpdatedEvent$1 {
|
|
@@ -424,7 +424,6 @@ type context$2_OnboardingAvailabilityUpdatedEnvelope = OnboardingAvailabilityUpd
|
|
|
424
424
|
type context$2_PartnerFlow = PartnerFlow;
|
|
425
425
|
type context$2_PartnerFlowStatus = PartnerFlowStatus;
|
|
426
426
|
declare const context$2_PartnerFlowStatus: typeof PartnerFlowStatus;
|
|
427
|
-
type context$2_RestoreInfo = RestoreInfo;
|
|
428
427
|
type context$2_RestrictedGoodsCategory = RestrictedGoodsCategory;
|
|
429
428
|
declare const context$2_RestrictedGoodsCategory: typeof RestrictedGoodsCategory;
|
|
430
429
|
type context$2_RestrictedGoodsFlow = RestrictedGoodsFlow;
|
|
@@ -451,7 +450,7 @@ declare const context$2_updateCbdFlow: typeof updateCbdFlow;
|
|
|
451
450
|
declare const context$2_updatePartnerFlow: typeof updatePartnerFlow;
|
|
452
451
|
declare const context$2_updateRestrictedGoodsFlow: typeof updateRestrictedGoodsFlow;
|
|
453
452
|
declare namespace context$2 {
|
|
454
|
-
export { type ActionEvent$1 as ActionEvent, type context$2_AttestationInfo as AttestationInfo, type BaseEventMetadata$1 as BaseEventMetadata, type context$2_CbdFlow as CbdFlow, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type context$2_GetOnboardingAvailabilityRequest as GetOnboardingAvailabilityRequest, type context$2_GetOnboardingAvailabilityResponse as GetOnboardingAvailabilityResponse, type context$2_GetOnboardingAvailabilityResponseNonNullableFields as GetOnboardingAvailabilityResponseNonNullableFields, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type MessageEnvelope$1 as MessageEnvelope, type context$2_OnboardingAvailability as OnboardingAvailability, type context$2_OnboardingAvailabilityCreatedEnvelope as OnboardingAvailabilityCreatedEnvelope, type context$2_OnboardingAvailabilityUpdatedEnvelope as OnboardingAvailabilityUpdatedEnvelope, type context$2_PartnerFlow as PartnerFlow, context$2_PartnerFlowStatus as PartnerFlowStatus, type
|
|
453
|
+
export { type ActionEvent$1 as ActionEvent, type context$2_AttestationInfo as AttestationInfo, type BaseEventMetadata$1 as BaseEventMetadata, type context$2_CbdFlow as CbdFlow, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type context$2_GetOnboardingAvailabilityRequest as GetOnboardingAvailabilityRequest, type context$2_GetOnboardingAvailabilityResponse as GetOnboardingAvailabilityResponse, type context$2_GetOnboardingAvailabilityResponseNonNullableFields as GetOnboardingAvailabilityResponseNonNullableFields, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type MessageEnvelope$1 as MessageEnvelope, type context$2_OnboardingAvailability as OnboardingAvailability, type context$2_OnboardingAvailabilityCreatedEnvelope as OnboardingAvailabilityCreatedEnvelope, type context$2_OnboardingAvailabilityUpdatedEnvelope as OnboardingAvailabilityUpdatedEnvelope, type context$2_PartnerFlow as PartnerFlow, context$2_PartnerFlowStatus as PartnerFlowStatus, type RestoreInfo$1 as RestoreInfo, context$2_RestrictedGoodsCategory as RestrictedGoodsCategory, type context$2_RestrictedGoodsFlow as RestrictedGoodsFlow, context$2_RestrictedGoodsFlowStatus as RestrictedGoodsFlowStatus, Status$1 as Status, type context$2_UpdateCbdFlowOptions as UpdateCbdFlowOptions, type context$2_UpdateCbdFlowRequest as UpdateCbdFlowRequest, type context$2_UpdateCbdFlowResponse as UpdateCbdFlowResponse, type context$2_UpdateCbdFlowResponseNonNullableFields as UpdateCbdFlowResponseNonNullableFields, type context$2_UpdatePartnerFlowOptions as UpdatePartnerFlowOptions, type context$2_UpdatePartnerFlowRequest as UpdatePartnerFlowRequest, type context$2_UpdatePartnerFlowResponse as UpdatePartnerFlowResponse, type context$2_UpdatePartnerFlowResponseNonNullableFields as UpdatePartnerFlowResponseNonNullableFields, type context$2_UpdateRestrictedGoodsFlowOptions as UpdateRestrictedGoodsFlowOptions, type context$2_UpdateRestrictedGoodsFlowRequest as UpdateRestrictedGoodsFlowRequest, type context$2_UpdateRestrictedGoodsFlowResponse as UpdateRestrictedGoodsFlowResponse, type context$2_UpdateRestrictedGoodsFlowResponseNonNullableFields as UpdateRestrictedGoodsFlowResponseNonNullableFields, WebhookIdentityType$1 as WebhookIdentityType, type context$2__publicOnOnboardingAvailabilityCreatedType as _publicOnOnboardingAvailabilityCreatedType, type context$2__publicOnOnboardingAvailabilityUpdatedType as _publicOnOnboardingAvailabilityUpdatedType, context$2_getOnboardingAvailability as getOnboardingAvailability, context$2_onOnboardingAvailabilityCreated as onOnboardingAvailabilityCreated, context$2_onOnboardingAvailabilityUpdated as onOnboardingAvailabilityUpdated, onOnboardingAvailabilityCreated$1 as publicOnOnboardingAvailabilityCreated, onOnboardingAvailabilityUpdated$1 as publicOnOnboardingAvailabilityUpdated, context$2_updateCbdFlow as updateCbdFlow, context$2_updatePartnerFlow as updatePartnerFlow, context$2_updateRestrictedGoodsFlow as updateRestrictedGoodsFlow };
|
|
455
454
|
}
|
|
456
455
|
|
|
457
456
|
/** Provider platform event */
|
|
@@ -975,7 +974,7 @@ interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
975
974
|
slug?: string;
|
|
976
975
|
/** ID of the entity associated with the event. */
|
|
977
976
|
entityId?: string;
|
|
978
|
-
/** Event timestamp. */
|
|
977
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
979
978
|
eventTime?: Date;
|
|
980
979
|
/**
|
|
981
980
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -1004,6 +1003,9 @@ interface DomainEventBodyOneOf {
|
|
|
1004
1003
|
interface EntityCreatedEvent {
|
|
1005
1004
|
entity?: string;
|
|
1006
1005
|
}
|
|
1006
|
+
interface RestoreInfo {
|
|
1007
|
+
deletedDate?: Date;
|
|
1008
|
+
}
|
|
1007
1009
|
interface EntityUpdatedEvent {
|
|
1008
1010
|
/**
|
|
1009
1011
|
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
@@ -1116,7 +1118,7 @@ interface EventMetadata extends BaseEventMetadata {
|
|
|
1116
1118
|
slug?: string;
|
|
1117
1119
|
/** ID of the entity associated with the event. */
|
|
1118
1120
|
entityId?: string;
|
|
1119
|
-
/** Event timestamp. */
|
|
1121
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
1120
1122
|
eventTime?: Date;
|
|
1121
1123
|
/**
|
|
1122
1124
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -1176,6 +1178,14 @@ interface RefundsQueryBuilder {
|
|
|
1176
1178
|
eq: (propertyName: 'chargeId', value: any) => RefundsQueryBuilder;
|
|
1177
1179
|
/** @documentationMaturity preview */
|
|
1178
1180
|
in: (propertyName: 'chargeId', value: any) => RefundsQueryBuilder;
|
|
1181
|
+
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
1182
|
+
* @documentationMaturity preview
|
|
1183
|
+
*/
|
|
1184
|
+
ascending: (...propertyNames: Array<'_createdDate'>) => RefundsQueryBuilder;
|
|
1185
|
+
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
1186
|
+
* @documentationMaturity preview
|
|
1187
|
+
*/
|
|
1188
|
+
descending: (...propertyNames: Array<'_createdDate'>) => RefundsQueryBuilder;
|
|
1179
1189
|
/** @param limit - Number of items to return, which is also the `pageSize` of the results object.
|
|
1180
1190
|
* @documentationMaturity preview
|
|
1181
1191
|
*/
|
|
@@ -1317,6 +1327,7 @@ type context_RefundsQueryResult = RefundsQueryResult;
|
|
|
1317
1327
|
type context_Rejection = Rejection;
|
|
1318
1328
|
type context_RejectionReason = RejectionReason;
|
|
1319
1329
|
declare const context_RejectionReason: typeof RejectionReason;
|
|
1330
|
+
type context_RestoreInfo = RestoreInfo;
|
|
1320
1331
|
type context_SortOrder = SortOrder;
|
|
1321
1332
|
declare const context_SortOrder: typeof SortOrder;
|
|
1322
1333
|
type context_Sorting = Sorting;
|
|
@@ -1341,7 +1352,7 @@ declare const context_onRefundUpdated: typeof onRefundUpdated;
|
|
|
1341
1352
|
declare const context_queryRefunds: typeof queryRefunds;
|
|
1342
1353
|
declare const context_updateExtendedFields: typeof updateExtendedFields;
|
|
1343
1354
|
declare namespace context {
|
|
1344
|
-
export { type context_ActionEvent as ActionEvent, type context_BaseEventMetadata as BaseEventMetadata, type context_CreateRefundOptions as CreateRefundOptions, type context_CreateRefundRequest as CreateRefundRequest, type context_CreateRefundResponse as CreateRefundResponse, type context_CreateRefundResponseNonNullableFields as CreateRefundResponseNonNullableFields, type context_CursorPaging as CursorPaging, type context_CursorPagingMetadata as CursorPagingMetadata, type context_CursorQuery as CursorQuery, type context_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, type context_Cursors as Cursors, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, type context_EventMetadata as EventMetadata, type context_ExtendedFields as ExtendedFields, type context_GetRefundRequest as GetRefundRequest, type context_GetRefundResponse as GetRefundResponse, type context_GetRefundResponseNonNullableFields as GetRefundResponseNonNullableFields, type context_GetRefundabilityRequest as GetRefundabilityRequest, type context_GetRefundabilityResponse as GetRefundabilityResponse, type context_GetRefundabilityResponseNonNullableFields as GetRefundabilityResponseNonNullableFields, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, context_Initiator as Initiator, type context_MessageEnvelope as MessageEnvelope, type context_QueryRefundsRequest as QueryRefundsRequest, type context_QueryRefundsResponse as QueryRefundsResponse, type context_QueryRefundsResponseNonNullableFields as QueryRefundsResponseNonNullableFields, type context_Refund as Refund, type context_RefundCreatedEnvelope as RefundCreatedEnvelope, type context_RefundNonNullableFields as RefundNonNullableFields, type context_RefundOptions as RefundOptions, type context_RefundUpdatedEnvelope as RefundUpdatedEnvelope, type context_Refundability as Refundability, type context_RefundabilityDetailsOneOf as RefundabilityDetailsOneOf, type context_RefundsQueryBuilder as RefundsQueryBuilder, type context_RefundsQueryResult as RefundsQueryResult, type context_Rejection as Rejection, context_RejectionReason as RejectionReason, context_SortOrder as SortOrder, type context_Sorting as Sorting, context_Status as Status, type context_StatusInfo as StatusInfo, type context_SyncRefundRequest as SyncRefundRequest, type context_SyncRefundResponse as SyncRefundResponse, type context_UpdateExtendedFieldsOptions as UpdateExtendedFieldsOptions, type context_UpdateExtendedFieldsRequest as UpdateExtendedFieldsRequest, type context_UpdateExtendedFieldsResponse as UpdateExtendedFieldsResponse, type context_UpdateExtendedFieldsResponseNonNullableFields as UpdateExtendedFieldsResponseNonNullableFields, context_WebhookIdentityType as WebhookIdentityType, type context__publicOnRefundCreatedType as _publicOnRefundCreatedType, type context__publicOnRefundUpdatedType as _publicOnRefundUpdatedType, context_createRefund as createRefund, context_getRefund as getRefund, context_getRefundability as getRefundability, context_onRefundCreated as onRefundCreated, context_onRefundUpdated as onRefundUpdated, onRefundCreated$1 as publicOnRefundCreated, onRefundUpdated$1 as publicOnRefundUpdated, context_queryRefunds as queryRefunds, context_updateExtendedFields as updateExtendedFields };
|
|
1355
|
+
export { type context_ActionEvent as ActionEvent, type context_BaseEventMetadata as BaseEventMetadata, type context_CreateRefundOptions as CreateRefundOptions, type context_CreateRefundRequest as CreateRefundRequest, type context_CreateRefundResponse as CreateRefundResponse, type context_CreateRefundResponseNonNullableFields as CreateRefundResponseNonNullableFields, type context_CursorPaging as CursorPaging, type context_CursorPagingMetadata as CursorPagingMetadata, type context_CursorQuery as CursorQuery, type context_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, type context_Cursors as Cursors, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, type context_EventMetadata as EventMetadata, type context_ExtendedFields as ExtendedFields, type context_GetRefundRequest as GetRefundRequest, type context_GetRefundResponse as GetRefundResponse, type context_GetRefundResponseNonNullableFields as GetRefundResponseNonNullableFields, type context_GetRefundabilityRequest as GetRefundabilityRequest, type context_GetRefundabilityResponse as GetRefundabilityResponse, type context_GetRefundabilityResponseNonNullableFields as GetRefundabilityResponseNonNullableFields, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, context_Initiator as Initiator, type context_MessageEnvelope as MessageEnvelope, type context_QueryRefundsRequest as QueryRefundsRequest, type context_QueryRefundsResponse as QueryRefundsResponse, type context_QueryRefundsResponseNonNullableFields as QueryRefundsResponseNonNullableFields, type context_Refund as Refund, type context_RefundCreatedEnvelope as RefundCreatedEnvelope, type context_RefundNonNullableFields as RefundNonNullableFields, type context_RefundOptions as RefundOptions, type context_RefundUpdatedEnvelope as RefundUpdatedEnvelope, type context_Refundability as Refundability, type context_RefundabilityDetailsOneOf as RefundabilityDetailsOneOf, type context_RefundsQueryBuilder as RefundsQueryBuilder, type context_RefundsQueryResult as RefundsQueryResult, type context_Rejection as Rejection, context_RejectionReason as RejectionReason, type context_RestoreInfo as RestoreInfo, context_SortOrder as SortOrder, type context_Sorting as Sorting, context_Status as Status, type context_StatusInfo as StatusInfo, type context_SyncRefundRequest as SyncRefundRequest, type context_SyncRefundResponse as SyncRefundResponse, type context_UpdateExtendedFieldsOptions as UpdateExtendedFieldsOptions, type context_UpdateExtendedFieldsRequest as UpdateExtendedFieldsRequest, type context_UpdateExtendedFieldsResponse as UpdateExtendedFieldsResponse, type context_UpdateExtendedFieldsResponseNonNullableFields as UpdateExtendedFieldsResponseNonNullableFields, context_WebhookIdentityType as WebhookIdentityType, type context__publicOnRefundCreatedType as _publicOnRefundCreatedType, type context__publicOnRefundUpdatedType as _publicOnRefundUpdatedType, context_createRefund as createRefund, context_getRefund as getRefund, context_getRefundability as getRefundability, context_onRefundCreated as onRefundCreated, context_onRefundUpdated as onRefundUpdated, onRefundCreated$1 as publicOnRefundCreated, onRefundUpdated$1 as publicOnRefundUpdated, context_queryRefunds as queryRefunds, context_updateExtendedFields as updateExtendedFields };
|
|
1345
1356
|
}
|
|
1346
1357
|
|
|
1347
1358
|
export { context$2 as onboardingAvailability, context$1 as pspCallbacks, context as refunds };
|
|
@@ -213,7 +213,7 @@ interface DomainEventBodyOneOf$1 {
|
|
|
213
213
|
interface EntityCreatedEvent$1 {
|
|
214
214
|
entity?: string;
|
|
215
215
|
}
|
|
216
|
-
interface RestoreInfo {
|
|
216
|
+
interface RestoreInfo$1 {
|
|
217
217
|
deletedDate?: Date;
|
|
218
218
|
}
|
|
219
219
|
interface EntityUpdatedEvent$1 {
|
|
@@ -424,7 +424,6 @@ type index_d$2_OnboardingAvailabilityUpdatedEnvelope = OnboardingAvailabilityUpd
|
|
|
424
424
|
type index_d$2_PartnerFlow = PartnerFlow;
|
|
425
425
|
type index_d$2_PartnerFlowStatus = PartnerFlowStatus;
|
|
426
426
|
declare const index_d$2_PartnerFlowStatus: typeof PartnerFlowStatus;
|
|
427
|
-
type index_d$2_RestoreInfo = RestoreInfo;
|
|
428
427
|
type index_d$2_RestrictedGoodsCategory = RestrictedGoodsCategory;
|
|
429
428
|
declare const index_d$2_RestrictedGoodsCategory: typeof RestrictedGoodsCategory;
|
|
430
429
|
type index_d$2_RestrictedGoodsFlow = RestrictedGoodsFlow;
|
|
@@ -451,7 +450,7 @@ declare const index_d$2_updateCbdFlow: typeof updateCbdFlow;
|
|
|
451
450
|
declare const index_d$2_updatePartnerFlow: typeof updatePartnerFlow;
|
|
452
451
|
declare const index_d$2_updateRestrictedGoodsFlow: typeof updateRestrictedGoodsFlow;
|
|
453
452
|
declare namespace index_d$2 {
|
|
454
|
-
export { type ActionEvent$1 as ActionEvent, type index_d$2_AttestationInfo as AttestationInfo, type BaseEventMetadata$1 as BaseEventMetadata, type index_d$2_CbdFlow as CbdFlow, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type index_d$2_GetOnboardingAvailabilityRequest as GetOnboardingAvailabilityRequest, type index_d$2_GetOnboardingAvailabilityResponse as GetOnboardingAvailabilityResponse, type index_d$2_GetOnboardingAvailabilityResponseNonNullableFields as GetOnboardingAvailabilityResponseNonNullableFields, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type MessageEnvelope$1 as MessageEnvelope, type index_d$2_OnboardingAvailability as OnboardingAvailability, type index_d$2_OnboardingAvailabilityCreatedEnvelope as OnboardingAvailabilityCreatedEnvelope, type index_d$2_OnboardingAvailabilityUpdatedEnvelope as OnboardingAvailabilityUpdatedEnvelope, type index_d$2_PartnerFlow as PartnerFlow, index_d$2_PartnerFlowStatus as PartnerFlowStatus, type
|
|
453
|
+
export { type ActionEvent$1 as ActionEvent, type index_d$2_AttestationInfo as AttestationInfo, type BaseEventMetadata$1 as BaseEventMetadata, type index_d$2_CbdFlow as CbdFlow, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type index_d$2_GetOnboardingAvailabilityRequest as GetOnboardingAvailabilityRequest, type index_d$2_GetOnboardingAvailabilityResponse as GetOnboardingAvailabilityResponse, type index_d$2_GetOnboardingAvailabilityResponseNonNullableFields as GetOnboardingAvailabilityResponseNonNullableFields, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type MessageEnvelope$1 as MessageEnvelope, type index_d$2_OnboardingAvailability as OnboardingAvailability, type index_d$2_OnboardingAvailabilityCreatedEnvelope as OnboardingAvailabilityCreatedEnvelope, type index_d$2_OnboardingAvailabilityUpdatedEnvelope as OnboardingAvailabilityUpdatedEnvelope, type index_d$2_PartnerFlow as PartnerFlow, index_d$2_PartnerFlowStatus as PartnerFlowStatus, type RestoreInfo$1 as RestoreInfo, index_d$2_RestrictedGoodsCategory as RestrictedGoodsCategory, type index_d$2_RestrictedGoodsFlow as RestrictedGoodsFlow, index_d$2_RestrictedGoodsFlowStatus as RestrictedGoodsFlowStatus, Status$1 as Status, type index_d$2_UpdateCbdFlowOptions as UpdateCbdFlowOptions, type index_d$2_UpdateCbdFlowRequest as UpdateCbdFlowRequest, type index_d$2_UpdateCbdFlowResponse as UpdateCbdFlowResponse, type index_d$2_UpdateCbdFlowResponseNonNullableFields as UpdateCbdFlowResponseNonNullableFields, type index_d$2_UpdatePartnerFlowOptions as UpdatePartnerFlowOptions, type index_d$2_UpdatePartnerFlowRequest as UpdatePartnerFlowRequest, type index_d$2_UpdatePartnerFlowResponse as UpdatePartnerFlowResponse, type index_d$2_UpdatePartnerFlowResponseNonNullableFields as UpdatePartnerFlowResponseNonNullableFields, type index_d$2_UpdateRestrictedGoodsFlowOptions as UpdateRestrictedGoodsFlowOptions, type index_d$2_UpdateRestrictedGoodsFlowRequest as UpdateRestrictedGoodsFlowRequest, type index_d$2_UpdateRestrictedGoodsFlowResponse as UpdateRestrictedGoodsFlowResponse, type index_d$2_UpdateRestrictedGoodsFlowResponseNonNullableFields as UpdateRestrictedGoodsFlowResponseNonNullableFields, WebhookIdentityType$1 as WebhookIdentityType, type index_d$2__publicOnOnboardingAvailabilityCreatedType as _publicOnOnboardingAvailabilityCreatedType, type index_d$2__publicOnOnboardingAvailabilityUpdatedType as _publicOnOnboardingAvailabilityUpdatedType, index_d$2_getOnboardingAvailability as getOnboardingAvailability, index_d$2_onOnboardingAvailabilityCreated as onOnboardingAvailabilityCreated, index_d$2_onOnboardingAvailabilityUpdated as onOnboardingAvailabilityUpdated, onOnboardingAvailabilityCreated$1 as publicOnOnboardingAvailabilityCreated, onOnboardingAvailabilityUpdated$1 as publicOnOnboardingAvailabilityUpdated, index_d$2_updateCbdFlow as updateCbdFlow, index_d$2_updatePartnerFlow as updatePartnerFlow, index_d$2_updateRestrictedGoodsFlow as updateRestrictedGoodsFlow };
|
|
455
454
|
}
|
|
456
455
|
|
|
457
456
|
/** Provider platform event */
|
|
@@ -975,7 +974,7 @@ interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
975
974
|
slug?: string;
|
|
976
975
|
/** ID of the entity associated with the event. */
|
|
977
976
|
entityId?: string;
|
|
978
|
-
/** Event timestamp. */
|
|
977
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
979
978
|
eventTime?: Date;
|
|
980
979
|
/**
|
|
981
980
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -1004,6 +1003,9 @@ interface DomainEventBodyOneOf {
|
|
|
1004
1003
|
interface EntityCreatedEvent {
|
|
1005
1004
|
entity?: string;
|
|
1006
1005
|
}
|
|
1006
|
+
interface RestoreInfo {
|
|
1007
|
+
deletedDate?: Date;
|
|
1008
|
+
}
|
|
1007
1009
|
interface EntityUpdatedEvent {
|
|
1008
1010
|
/**
|
|
1009
1011
|
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
@@ -1116,7 +1118,7 @@ interface EventMetadata extends BaseEventMetadata {
|
|
|
1116
1118
|
slug?: string;
|
|
1117
1119
|
/** ID of the entity associated with the event. */
|
|
1118
1120
|
entityId?: string;
|
|
1119
|
-
/** Event timestamp. */
|
|
1121
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
1120
1122
|
eventTime?: Date;
|
|
1121
1123
|
/**
|
|
1122
1124
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -1176,6 +1178,14 @@ interface RefundsQueryBuilder {
|
|
|
1176
1178
|
eq: (propertyName: 'chargeId', value: any) => RefundsQueryBuilder;
|
|
1177
1179
|
/** @documentationMaturity preview */
|
|
1178
1180
|
in: (propertyName: 'chargeId', value: any) => RefundsQueryBuilder;
|
|
1181
|
+
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
1182
|
+
* @documentationMaturity preview
|
|
1183
|
+
*/
|
|
1184
|
+
ascending: (...propertyNames: Array<'_createdDate'>) => RefundsQueryBuilder;
|
|
1185
|
+
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
1186
|
+
* @documentationMaturity preview
|
|
1187
|
+
*/
|
|
1188
|
+
descending: (...propertyNames: Array<'_createdDate'>) => RefundsQueryBuilder;
|
|
1179
1189
|
/** @param limit - Number of items to return, which is also the `pageSize` of the results object.
|
|
1180
1190
|
* @documentationMaturity preview
|
|
1181
1191
|
*/
|
|
@@ -1317,6 +1327,7 @@ type index_d_RefundsQueryResult = RefundsQueryResult;
|
|
|
1317
1327
|
type index_d_Rejection = Rejection;
|
|
1318
1328
|
type index_d_RejectionReason = RejectionReason;
|
|
1319
1329
|
declare const index_d_RejectionReason: typeof RejectionReason;
|
|
1330
|
+
type index_d_RestoreInfo = RestoreInfo;
|
|
1320
1331
|
type index_d_SortOrder = SortOrder;
|
|
1321
1332
|
declare const index_d_SortOrder: typeof SortOrder;
|
|
1322
1333
|
type index_d_Sorting = Sorting;
|
|
@@ -1341,7 +1352,7 @@ declare const index_d_onRefundUpdated: typeof onRefundUpdated;
|
|
|
1341
1352
|
declare const index_d_queryRefunds: typeof queryRefunds;
|
|
1342
1353
|
declare const index_d_updateExtendedFields: typeof updateExtendedFields;
|
|
1343
1354
|
declare namespace index_d {
|
|
1344
|
-
export { type index_d_ActionEvent as ActionEvent, type index_d_BaseEventMetadata as BaseEventMetadata, type index_d_CreateRefundOptions as CreateRefundOptions, type index_d_CreateRefundRequest as CreateRefundRequest, type index_d_CreateRefundResponse as CreateRefundResponse, type index_d_CreateRefundResponseNonNullableFields as CreateRefundResponseNonNullableFields, type index_d_CursorPaging as CursorPaging, type index_d_CursorPagingMetadata as CursorPagingMetadata, type index_d_CursorQuery as CursorQuery, type index_d_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, type index_d_Cursors as Cursors, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, type index_d_EventMetadata as EventMetadata, type index_d_ExtendedFields as ExtendedFields, type index_d_GetRefundRequest as GetRefundRequest, type index_d_GetRefundResponse as GetRefundResponse, type index_d_GetRefundResponseNonNullableFields as GetRefundResponseNonNullableFields, type index_d_GetRefundabilityRequest as GetRefundabilityRequest, type index_d_GetRefundabilityResponse as GetRefundabilityResponse, type index_d_GetRefundabilityResponseNonNullableFields as GetRefundabilityResponseNonNullableFields, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, index_d_Initiator as Initiator, type index_d_MessageEnvelope as MessageEnvelope, type index_d_QueryRefundsRequest as QueryRefundsRequest, type index_d_QueryRefundsResponse as QueryRefundsResponse, type index_d_QueryRefundsResponseNonNullableFields as QueryRefundsResponseNonNullableFields, type index_d_Refund as Refund, type index_d_RefundCreatedEnvelope as RefundCreatedEnvelope, type index_d_RefundNonNullableFields as RefundNonNullableFields, type index_d_RefundOptions as RefundOptions, type index_d_RefundUpdatedEnvelope as RefundUpdatedEnvelope, type index_d_Refundability as Refundability, type index_d_RefundabilityDetailsOneOf as RefundabilityDetailsOneOf, type index_d_RefundsQueryBuilder as RefundsQueryBuilder, type index_d_RefundsQueryResult as RefundsQueryResult, type index_d_Rejection as Rejection, index_d_RejectionReason as RejectionReason, index_d_SortOrder as SortOrder, type index_d_Sorting as Sorting, index_d_Status as Status, type index_d_StatusInfo as StatusInfo, type index_d_SyncRefundRequest as SyncRefundRequest, type index_d_SyncRefundResponse as SyncRefundResponse, type index_d_UpdateExtendedFieldsOptions as UpdateExtendedFieldsOptions, type index_d_UpdateExtendedFieldsRequest as UpdateExtendedFieldsRequest, type index_d_UpdateExtendedFieldsResponse as UpdateExtendedFieldsResponse, type index_d_UpdateExtendedFieldsResponseNonNullableFields as UpdateExtendedFieldsResponseNonNullableFields, index_d_WebhookIdentityType as WebhookIdentityType, type index_d__publicOnRefundCreatedType as _publicOnRefundCreatedType, type index_d__publicOnRefundUpdatedType as _publicOnRefundUpdatedType, index_d_createRefund as createRefund, index_d_getRefund as getRefund, index_d_getRefundability as getRefundability, index_d_onRefundCreated as onRefundCreated, index_d_onRefundUpdated as onRefundUpdated, onRefundCreated$1 as publicOnRefundCreated, onRefundUpdated$1 as publicOnRefundUpdated, index_d_queryRefunds as queryRefunds, index_d_updateExtendedFields as updateExtendedFields };
|
|
1355
|
+
export { type index_d_ActionEvent as ActionEvent, type index_d_BaseEventMetadata as BaseEventMetadata, type index_d_CreateRefundOptions as CreateRefundOptions, type index_d_CreateRefundRequest as CreateRefundRequest, type index_d_CreateRefundResponse as CreateRefundResponse, type index_d_CreateRefundResponseNonNullableFields as CreateRefundResponseNonNullableFields, type index_d_CursorPaging as CursorPaging, type index_d_CursorPagingMetadata as CursorPagingMetadata, type index_d_CursorQuery as CursorQuery, type index_d_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, type index_d_Cursors as Cursors, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, type index_d_EventMetadata as EventMetadata, type index_d_ExtendedFields as ExtendedFields, type index_d_GetRefundRequest as GetRefundRequest, type index_d_GetRefundResponse as GetRefundResponse, type index_d_GetRefundResponseNonNullableFields as GetRefundResponseNonNullableFields, type index_d_GetRefundabilityRequest as GetRefundabilityRequest, type index_d_GetRefundabilityResponse as GetRefundabilityResponse, type index_d_GetRefundabilityResponseNonNullableFields as GetRefundabilityResponseNonNullableFields, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, index_d_Initiator as Initiator, type index_d_MessageEnvelope as MessageEnvelope, type index_d_QueryRefundsRequest as QueryRefundsRequest, type index_d_QueryRefundsResponse as QueryRefundsResponse, type index_d_QueryRefundsResponseNonNullableFields as QueryRefundsResponseNonNullableFields, type index_d_Refund as Refund, type index_d_RefundCreatedEnvelope as RefundCreatedEnvelope, type index_d_RefundNonNullableFields as RefundNonNullableFields, type index_d_RefundOptions as RefundOptions, type index_d_RefundUpdatedEnvelope as RefundUpdatedEnvelope, type index_d_Refundability as Refundability, type index_d_RefundabilityDetailsOneOf as RefundabilityDetailsOneOf, type index_d_RefundsQueryBuilder as RefundsQueryBuilder, type index_d_RefundsQueryResult as RefundsQueryResult, type index_d_Rejection as Rejection, index_d_RejectionReason as RejectionReason, type index_d_RestoreInfo as RestoreInfo, index_d_SortOrder as SortOrder, type index_d_Sorting as Sorting, index_d_Status as Status, type index_d_StatusInfo as StatusInfo, type index_d_SyncRefundRequest as SyncRefundRequest, type index_d_SyncRefundResponse as SyncRefundResponse, type index_d_UpdateExtendedFieldsOptions as UpdateExtendedFieldsOptions, type index_d_UpdateExtendedFieldsRequest as UpdateExtendedFieldsRequest, type index_d_UpdateExtendedFieldsResponse as UpdateExtendedFieldsResponse, type index_d_UpdateExtendedFieldsResponseNonNullableFields as UpdateExtendedFieldsResponseNonNullableFields, index_d_WebhookIdentityType as WebhookIdentityType, type index_d__publicOnRefundCreatedType as _publicOnRefundCreatedType, type index_d__publicOnRefundUpdatedType as _publicOnRefundUpdatedType, index_d_createRefund as createRefund, index_d_getRefund as getRefund, index_d_getRefundability as getRefundability, index_d_onRefundCreated as onRefundCreated, index_d_onRefundUpdated as onRefundUpdated, onRefundCreated$1 as publicOnRefundCreated, onRefundUpdated$1 as publicOnRefundUpdated, index_d_queryRefunds as queryRefunds, index_d_updateExtendedFields as updateExtendedFields };
|
|
1345
1356
|
}
|
|
1346
1357
|
|
|
1347
1358
|
export { index_d$2 as onboardingAvailability, index_d$1 as pspCallbacks, index_d as refunds };
|
package/build/cjs/context.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../context.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wGAAwF;AACxF,oFAAoE;AACpE,yEAAyD"}
|
package/build/cjs/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8FAAgF;AAIvE,wDAAsB;AAH/B,0EAA4D;AAG3B,oCAAY;AAF7C,+DAAiD;AAEF,0BAAO"}
|
package/build/cjs/meta.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qGAAqF;AACrF,iFAAiE;AACjE,sEAAsD"}
|