@wix/payments 1.0.9 → 1.0.11

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,3 +1,3 @@
1
1
  export * as onboardingAvailability from '@wix/payments_onboarding-availability/context';
2
- export * as callbacks from '@wix/payments_callbacks/context';
2
+ export * as pspCallbacks from '@wix/payments_psp-callbacks/context';
3
3
  export * as refunds from '@wix/payments_refunds/context';
@@ -23,8 +23,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.refunds = exports.callbacks = exports.onboardingAvailability = void 0;
26
+ exports.refunds = exports.pspCallbacks = exports.onboardingAvailability = void 0;
27
27
  exports.onboardingAvailability = __importStar(require("@wix/payments_onboarding-availability/context"));
28
- exports.callbacks = __importStar(require("@wix/payments_callbacks/context"));
28
+ exports.pspCallbacks = __importStar(require("@wix/payments_psp-callbacks/context"));
29
29
  exports.refunds = __importStar(require("@wix/payments_refunds/context"));
30
30
  //# sourceMappingURL=context.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"context.js","sourceRoot":"","sources":["../../context.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wGAAwF;AACxF,6EAA6D;AAC7D,yEAAyD"}
1
+ {"version":3,"file":"context.js","sourceRoot":"","sources":["../../context.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wGAAwF;AACxF,oFAAoE;AACpE,yEAAyD"}
@@ -1,4 +1,4 @@
1
1
  import * as onboardingAvailability from '@wix/payments_onboarding-availability';
2
- import * as callbacks from '@wix/payments_callbacks';
2
+ import * as pspCallbacks from '@wix/payments_psp-callbacks';
3
3
  import * as refunds from '@wix/payments_refunds';
4
- export { onboardingAvailability, callbacks, refunds };
4
+ export { onboardingAvailability, pspCallbacks, refunds };
@@ -23,11 +23,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.refunds = exports.callbacks = exports.onboardingAvailability = void 0;
26
+ exports.refunds = exports.pspCallbacks = exports.onboardingAvailability = void 0;
27
27
  const onboardingAvailability = __importStar(require("@wix/payments_onboarding-availability"));
28
28
  exports.onboardingAvailability = onboardingAvailability;
29
- const callbacks = __importStar(require("@wix/payments_callbacks"));
30
- exports.callbacks = callbacks;
29
+ const pspCallbacks = __importStar(require("@wix/payments_psp-callbacks"));
30
+ exports.pspCallbacks = pspCallbacks;
31
31
  const refunds = __importStar(require("@wix/payments_refunds"));
32
32
  exports.refunds = refunds;
33
33
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8FAAgF;AAIvE,wDAAsB;AAH/B,mEAAqD;AAGpB,8BAAS;AAF1C,+DAAiD;AAEL,0BAAO"}
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"}
@@ -1,3 +1,3 @@
1
1
  export * as onboardingAvailability from '@wix/payments_onboarding-availability/meta';
2
- export * as callbacks from '@wix/payments_callbacks/meta';
2
+ export * as pspCallbacks from '@wix/payments_psp-callbacks/meta';
3
3
  export * as refunds from '@wix/payments_refunds/meta';
package/build/cjs/meta.js CHANGED
@@ -23,8 +23,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.refunds = exports.callbacks = exports.onboardingAvailability = void 0;
26
+ exports.refunds = exports.pspCallbacks = exports.onboardingAvailability = void 0;
27
27
  exports.onboardingAvailability = __importStar(require("@wix/payments_onboarding-availability/meta"));
28
- exports.callbacks = __importStar(require("@wix/payments_callbacks/meta"));
28
+ exports.pspCallbacks = __importStar(require("@wix/payments_psp-callbacks/meta"));
29
29
  exports.refunds = __importStar(require("@wix/payments_refunds/meta"));
30
30
  //# sourceMappingURL=meta.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qGAAqF;AACrF,0EAA0D;AAC1D,sEAAsD"}
1
+ {"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qGAAqF;AACrF,iFAAiE;AACjE,sEAAsD"}
@@ -1,3 +1,3 @@
1
1
  export * as onboardingAvailability from '@wix/payments_onboarding-availability/context';
2
- export * as callbacks from '@wix/payments_callbacks/context';
2
+ export * as pspCallbacks from '@wix/payments_psp-callbacks/context';
3
3
  export * as refunds from '@wix/payments_refunds/context';
@@ -1,4 +1,4 @@
1
1
  export * as onboardingAvailability from '@wix/payments_onboarding-availability/context';
2
- export * as callbacks from '@wix/payments_callbacks/context';
2
+ export * as pspCallbacks from '@wix/payments_psp-callbacks/context';
3
3
  export * as refunds from '@wix/payments_refunds/context';
4
4
  //# sourceMappingURL=context.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"context.js","sourceRoot":"","sources":["../../context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,sBAAsB,MAAM,+CAA+C,CAAC;AACxF,OAAO,KAAK,SAAS,MAAM,iCAAiC,CAAC;AAC7D,OAAO,KAAK,OAAO,MAAM,+BAA+B,CAAC"}
1
+ {"version":3,"file":"context.js","sourceRoot":"","sources":["../../context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,sBAAsB,MAAM,+CAA+C,CAAC;AACxF,OAAO,KAAK,YAAY,MAAM,qCAAqC,CAAC;AACpE,OAAO,KAAK,OAAO,MAAM,+BAA+B,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import * as onboardingAvailability from '@wix/payments_onboarding-availability';
2
- import * as callbacks from '@wix/payments_callbacks';
2
+ import * as pspCallbacks from '@wix/payments_psp-callbacks';
3
3
  import * as refunds from '@wix/payments_refunds';
4
- export { onboardingAvailability, callbacks, refunds };
4
+ export { onboardingAvailability, pspCallbacks, refunds };
package/build/es/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as onboardingAvailability from '@wix/payments_onboarding-availability';
2
- import * as callbacks from '@wix/payments_callbacks';
2
+ import * as pspCallbacks from '@wix/payments_psp-callbacks';
3
3
  import * as refunds from '@wix/payments_refunds';
4
- export { onboardingAvailability, callbacks, refunds };
4
+ export { onboardingAvailability, pspCallbacks, refunds };
5
5
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,sBAAsB,MAAM,uCAAuC,CAAC;AAChF,OAAO,KAAK,SAAS,MAAM,yBAAyB,CAAC;AACrD,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,OAAO,EAAE,sBAAsB,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,sBAAsB,MAAM,uCAAuC,CAAC;AAChF,OAAO,KAAK,YAAY,MAAM,6BAA6B,CAAC;AAC5D,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,OAAO,EAAE,sBAAsB,EAAE,YAAY,EAAE,OAAO,EAAE,CAAC"}
@@ -1,3 +1,3 @@
1
1
  export * as onboardingAvailability from '@wix/payments_onboarding-availability/meta';
2
- export * as callbacks from '@wix/payments_callbacks/meta';
2
+ export * as pspCallbacks from '@wix/payments_psp-callbacks/meta';
3
3
  export * as refunds from '@wix/payments_refunds/meta';
package/build/es/meta.js CHANGED
@@ -1,4 +1,4 @@
1
1
  export * as onboardingAvailability from '@wix/payments_onboarding-availability/meta';
2
- export * as callbacks from '@wix/payments_callbacks/meta';
2
+ export * as pspCallbacks from '@wix/payments_psp-callbacks/meta';
3
3
  export * as refunds from '@wix/payments_refunds/meta';
4
4
  //# sourceMappingURL=meta.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,sBAAsB,MAAM,4CAA4C,CAAC;AACrF,OAAO,KAAK,SAAS,MAAM,8BAA8B,CAAC;AAC1D,OAAO,KAAK,OAAO,MAAM,4BAA4B,CAAC"}
1
+ {"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,sBAAsB,MAAM,4CAA4C,CAAC;AACrF,OAAO,KAAK,YAAY,MAAM,kCAAkC,CAAC;AACjE,OAAO,KAAK,OAAO,MAAM,4BAA4B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/payments",
3
- "version": "1.0.9",
3
+ "version": "1.0.11",
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_callbacks": "1.0.0",
22
- "@wix/payments_onboarding-availability": "1.0.2",
23
- "@wix/payments_refunds": "1.0.9"
21
+ "@wix/payments_onboarding-availability": "1.0.3",
22
+ "@wix/payments_psp-callbacks": "1.0.0",
23
+ "@wix/payments_refunds": "1.0.10"
24
24
  },
25
25
  "devDependencies": {
26
26
  "glob": "^10.4.1",
@@ -45,5 +45,5 @@
45
45
  "fqdn": ""
46
46
  }
47
47
  },
48
- "falconPackageHash": "0facd23423af70d0f11e73bcb707269a974251b5ea1f10364f7d1493"
48
+ "falconPackageHash": "fa2de4d682103fe0676cab88994655798245f057b6edf72dfedba282"
49
49
  }
@@ -398,18 +398,12 @@ interface UpdatePartnerFlowSignature {
398
398
  declare const onOnboardingAvailabilityCreated$1: EventDefinition<OnboardingAvailabilityCreatedEnvelope, "wix.cashier.onboarding_availability.v1.onboarding_availability_created">;
399
399
  declare const onOnboardingAvailabilityUpdated$1: EventDefinition<OnboardingAvailabilityUpdatedEnvelope, "wix.cashier.onboarding_availability.v1.onboarding_availability_updated">;
400
400
 
401
- declare function createRESTModule$2<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
402
-
403
401
  declare function createEventModule$1<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
404
402
 
405
- type _publicGetOnboardingAvailabilityType = typeof getOnboardingAvailability$1;
406
- declare const getOnboardingAvailability: ReturnType<typeof createRESTModule$2<_publicGetOnboardingAvailabilityType>>;
407
- type _publicUpdateCbdFlowType = typeof updateCbdFlow$1;
408
- declare const updateCbdFlow: ReturnType<typeof createRESTModule$2<_publicUpdateCbdFlowType>>;
409
- type _publicUpdateRestrictedGoodsFlowType = typeof updateRestrictedGoodsFlow$1;
410
- declare const updateRestrictedGoodsFlow: ReturnType<typeof createRESTModule$2<_publicUpdateRestrictedGoodsFlowType>>;
411
- type _publicUpdatePartnerFlowType = typeof updatePartnerFlow$1;
412
- declare const updatePartnerFlow: ReturnType<typeof createRESTModule$2<_publicUpdatePartnerFlowType>>;
403
+ declare const getOnboardingAvailability: BuildRESTFunction<typeof getOnboardingAvailability$1> & typeof getOnboardingAvailability$1;
404
+ declare const updateCbdFlow: BuildRESTFunction<typeof updateCbdFlow$1> & typeof updateCbdFlow$1;
405
+ declare const updateRestrictedGoodsFlow: BuildRESTFunction<typeof updateRestrictedGoodsFlow$1> & typeof updateRestrictedGoodsFlow$1;
406
+ declare const updatePartnerFlow: BuildRESTFunction<typeof updatePartnerFlow$1> & typeof updatePartnerFlow$1;
413
407
 
414
408
  type _publicOnOnboardingAvailabilityCreatedType = typeof onOnboardingAvailabilityCreated$1;
415
409
  /** */
@@ -448,12 +442,8 @@ type context$2_UpdateRestrictedGoodsFlowOptions = UpdateRestrictedGoodsFlowOptio
448
442
  type context$2_UpdateRestrictedGoodsFlowRequest = UpdateRestrictedGoodsFlowRequest;
449
443
  type context$2_UpdateRestrictedGoodsFlowResponse = UpdateRestrictedGoodsFlowResponse;
450
444
  type context$2_UpdateRestrictedGoodsFlowResponseNonNullableFields = UpdateRestrictedGoodsFlowResponseNonNullableFields;
451
- type context$2__publicGetOnboardingAvailabilityType = _publicGetOnboardingAvailabilityType;
452
445
  type context$2__publicOnOnboardingAvailabilityCreatedType = _publicOnOnboardingAvailabilityCreatedType;
453
446
  type context$2__publicOnOnboardingAvailabilityUpdatedType = _publicOnOnboardingAvailabilityUpdatedType;
454
- type context$2__publicUpdateCbdFlowType = _publicUpdateCbdFlowType;
455
- type context$2__publicUpdatePartnerFlowType = _publicUpdatePartnerFlowType;
456
- type context$2__publicUpdateRestrictedGoodsFlowType = _publicUpdateRestrictedGoodsFlowType;
457
447
  declare const context$2_getOnboardingAvailability: typeof getOnboardingAvailability;
458
448
  declare const context$2_onOnboardingAvailabilityCreated: typeof onOnboardingAvailabilityCreated;
459
449
  declare const context$2_onOnboardingAvailabilityUpdated: typeof onOnboardingAvailabilityUpdated;
@@ -461,7 +451,7 @@ declare const context$2_updateCbdFlow: typeof updateCbdFlow;
461
451
  declare const context$2_updatePartnerFlow: typeof updatePartnerFlow;
462
452
  declare const context$2_updateRestrictedGoodsFlow: typeof updateRestrictedGoodsFlow;
463
453
  declare namespace context$2 {
464
- 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 context$2_RestoreInfo 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__publicGetOnboardingAvailabilityType as _publicGetOnboardingAvailabilityType, type context$2__publicOnOnboardingAvailabilityCreatedType as _publicOnOnboardingAvailabilityCreatedType, type context$2__publicOnOnboardingAvailabilityUpdatedType as _publicOnOnboardingAvailabilityUpdatedType, type context$2__publicUpdateCbdFlowType as _publicUpdateCbdFlowType, type context$2__publicUpdatePartnerFlowType as _publicUpdatePartnerFlowType, type context$2__publicUpdateRestrictedGoodsFlowType as _publicUpdateRestrictedGoodsFlowType, 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 };
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 context$2_RestoreInfo 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 };
465
455
  }
466
456
 
467
457
  /** Provider platform event */
@@ -570,10 +560,7 @@ interface SubmitEventSignature {
570
560
  (event: ProviderPlatformEvent): Promise<void>;
571
561
  }
572
562
 
573
- declare function createRESTModule$1<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
574
-
575
- type _publicSubmitEventType = typeof submitEvent$1;
576
- declare const submitEvent: ReturnType<typeof createRESTModule$1<_publicSubmitEventType>>;
563
+ declare const submitEvent: BuildRESTFunction<typeof submitEvent$1> & typeof submitEvent$1;
577
564
 
578
565
  type context$1_CardDetails = CardDetails;
579
566
  type context$1_CardReference = CardReference;
@@ -586,10 +573,9 @@ type context$1_RefundEvent = RefundEvent;
586
573
  type context$1_SubmitEventRequest = SubmitEventRequest;
587
574
  type context$1_SubmitEventResponse = SubmitEventResponse;
588
575
  type context$1_TransactionEvent = TransactionEvent;
589
- type context$1__publicSubmitEventType = _publicSubmitEventType;
590
576
  declare const context$1_submitEvent: typeof submitEvent;
591
577
  declare namespace context$1 {
592
- export { type context$1_CardDetails as CardDetails, type context$1_CardReference as CardReference, type context$1_CredentialsOnFile as CredentialsOnFile, type context$1_CredentialsOnFileInfoOneOf as CredentialsOnFileInfoOneOf, type context$1_PaymentMethodReference as PaymentMethodReference, type context$1_ProviderPlatformEvent as ProviderPlatformEvent, type context$1_ProviderPlatformEventResourceOneOf as ProviderPlatformEventResourceOneOf, type context$1_RefundEvent as RefundEvent, type context$1_SubmitEventRequest as SubmitEventRequest, type context$1_SubmitEventResponse as SubmitEventResponse, type context$1_TransactionEvent as TransactionEvent, type context$1__publicSubmitEventType as _publicSubmitEventType, context$1_submitEvent as submitEvent };
578
+ export { type context$1_CardDetails as CardDetails, type context$1_CardReference as CardReference, type context$1_CredentialsOnFile as CredentialsOnFile, type context$1_CredentialsOnFileInfoOneOf as CredentialsOnFileInfoOneOf, type context$1_PaymentMethodReference as PaymentMethodReference, type context$1_ProviderPlatformEvent as ProviderPlatformEvent, type context$1_ProviderPlatformEventResourceOneOf as ProviderPlatformEventResourceOneOf, type context$1_RefundEvent as RefundEvent, type context$1_SubmitEventRequest as SubmitEventRequest, type context$1_SubmitEventResponse as SubmitEventResponse, type context$1_TransactionEvent as TransactionEvent, context$1_submitEvent as submitEvent };
593
579
  }
594
580
 
595
581
  /**
@@ -1271,20 +1257,13 @@ interface GetRefundabilitySignature {
1271
1257
  declare const onRefundCreated$1: EventDefinition<RefundCreatedEnvelope, "wix.payments.refunds.v1.refund_created">;
1272
1258
  declare const onRefundUpdated$1: EventDefinition<RefundUpdatedEnvelope, "wix.payments.refunds.v1.refund_updated">;
1273
1259
 
1274
- declare function createRESTModule<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
1275
-
1276
1260
  declare function createEventModule<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
1277
1261
 
1278
- type _publicCreateRefundType = typeof createRefund$1;
1279
- declare const createRefund: ReturnType<typeof createRESTModule<_publicCreateRefundType>>;
1280
- type _publicGetRefundType = typeof getRefund$1;
1281
- declare const getRefund: ReturnType<typeof createRESTModule<_publicGetRefundType>>;
1282
- type _publicQueryRefundsType = typeof queryRefunds$1;
1283
- declare const queryRefunds: ReturnType<typeof createRESTModule<_publicQueryRefundsType>>;
1284
- type _publicUpdateExtendedFieldsType = typeof updateExtendedFields$1;
1285
- declare const updateExtendedFields: ReturnType<typeof createRESTModule<_publicUpdateExtendedFieldsType>>;
1286
- type _publicGetRefundabilityType = typeof getRefundability$1;
1287
- declare const getRefundability: ReturnType<typeof createRESTModule<_publicGetRefundabilityType>>;
1262
+ declare const createRefund: BuildRESTFunction<typeof createRefund$1> & typeof createRefund$1;
1263
+ declare const getRefund: BuildRESTFunction<typeof getRefund$1> & typeof getRefund$1;
1264
+ declare const queryRefunds: BuildRESTFunction<typeof queryRefunds$1> & typeof queryRefunds$1;
1265
+ declare const updateExtendedFields: BuildRESTFunction<typeof updateExtendedFields$1> & typeof updateExtendedFields$1;
1266
+ declare const getRefundability: BuildRESTFunction<typeof getRefundability$1> & typeof getRefundability$1;
1288
1267
 
1289
1268
  type _publicOnRefundCreatedType = typeof onRefundCreated$1;
1290
1269
  /** */
@@ -1352,13 +1331,8 @@ type context_UpdateExtendedFieldsResponse = UpdateExtendedFieldsResponse;
1352
1331
  type context_UpdateExtendedFieldsResponseNonNullableFields = UpdateExtendedFieldsResponseNonNullableFields;
1353
1332
  type context_WebhookIdentityType = WebhookIdentityType;
1354
1333
  declare const context_WebhookIdentityType: typeof WebhookIdentityType;
1355
- type context__publicCreateRefundType = _publicCreateRefundType;
1356
- type context__publicGetRefundType = _publicGetRefundType;
1357
- type context__publicGetRefundabilityType = _publicGetRefundabilityType;
1358
1334
  type context__publicOnRefundCreatedType = _publicOnRefundCreatedType;
1359
1335
  type context__publicOnRefundUpdatedType = _publicOnRefundUpdatedType;
1360
- type context__publicQueryRefundsType = _publicQueryRefundsType;
1361
- type context__publicUpdateExtendedFieldsType = _publicUpdateExtendedFieldsType;
1362
1336
  declare const context_createRefund: typeof createRefund;
1363
1337
  declare const context_getRefund: typeof getRefund;
1364
1338
  declare const context_getRefundability: typeof getRefundability;
@@ -1367,7 +1341,7 @@ declare const context_onRefundUpdated: typeof onRefundUpdated;
1367
1341
  declare const context_queryRefunds: typeof queryRefunds;
1368
1342
  declare const context_updateExtendedFields: typeof updateExtendedFields;
1369
1343
  declare namespace context {
1370
- 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__publicCreateRefundType as _publicCreateRefundType, type context__publicGetRefundType as _publicGetRefundType, type context__publicGetRefundabilityType as _publicGetRefundabilityType, type context__publicOnRefundCreatedType as _publicOnRefundCreatedType, type context__publicOnRefundUpdatedType as _publicOnRefundUpdatedType, type context__publicQueryRefundsType as _publicQueryRefundsType, type context__publicUpdateExtendedFieldsType as _publicUpdateExtendedFieldsType, 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 };
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 };
1371
1345
  }
1372
1346
 
1373
- export { context$1 as callbacks, context$2 as onboardingAvailability, context as refunds };
1347
+ export { context$2 as onboardingAvailability, context$1 as pspCallbacks, context as refunds };
@@ -398,18 +398,12 @@ interface UpdatePartnerFlowSignature {
398
398
  declare const onOnboardingAvailabilityCreated$1: EventDefinition<OnboardingAvailabilityCreatedEnvelope, "wix.cashier.onboarding_availability.v1.onboarding_availability_created">;
399
399
  declare const onOnboardingAvailabilityUpdated$1: EventDefinition<OnboardingAvailabilityUpdatedEnvelope, "wix.cashier.onboarding_availability.v1.onboarding_availability_updated">;
400
400
 
401
- declare function createRESTModule$2<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
402
-
403
401
  declare function createEventModule$1<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
404
402
 
405
- type _publicGetOnboardingAvailabilityType = typeof getOnboardingAvailability$1;
406
- declare const getOnboardingAvailability: ReturnType<typeof createRESTModule$2<_publicGetOnboardingAvailabilityType>>;
407
- type _publicUpdateCbdFlowType = typeof updateCbdFlow$1;
408
- declare const updateCbdFlow: ReturnType<typeof createRESTModule$2<_publicUpdateCbdFlowType>>;
409
- type _publicUpdateRestrictedGoodsFlowType = typeof updateRestrictedGoodsFlow$1;
410
- declare const updateRestrictedGoodsFlow: ReturnType<typeof createRESTModule$2<_publicUpdateRestrictedGoodsFlowType>>;
411
- type _publicUpdatePartnerFlowType = typeof updatePartnerFlow$1;
412
- declare const updatePartnerFlow: ReturnType<typeof createRESTModule$2<_publicUpdatePartnerFlowType>>;
403
+ declare const getOnboardingAvailability: BuildRESTFunction<typeof getOnboardingAvailability$1> & typeof getOnboardingAvailability$1;
404
+ declare const updateCbdFlow: BuildRESTFunction<typeof updateCbdFlow$1> & typeof updateCbdFlow$1;
405
+ declare const updateRestrictedGoodsFlow: BuildRESTFunction<typeof updateRestrictedGoodsFlow$1> & typeof updateRestrictedGoodsFlow$1;
406
+ declare const updatePartnerFlow: BuildRESTFunction<typeof updatePartnerFlow$1> & typeof updatePartnerFlow$1;
413
407
 
414
408
  type _publicOnOnboardingAvailabilityCreatedType = typeof onOnboardingAvailabilityCreated$1;
415
409
  /** */
@@ -448,12 +442,8 @@ type index_d$2_UpdateRestrictedGoodsFlowOptions = UpdateRestrictedGoodsFlowOptio
448
442
  type index_d$2_UpdateRestrictedGoodsFlowRequest = UpdateRestrictedGoodsFlowRequest;
449
443
  type index_d$2_UpdateRestrictedGoodsFlowResponse = UpdateRestrictedGoodsFlowResponse;
450
444
  type index_d$2_UpdateRestrictedGoodsFlowResponseNonNullableFields = UpdateRestrictedGoodsFlowResponseNonNullableFields;
451
- type index_d$2__publicGetOnboardingAvailabilityType = _publicGetOnboardingAvailabilityType;
452
445
  type index_d$2__publicOnOnboardingAvailabilityCreatedType = _publicOnOnboardingAvailabilityCreatedType;
453
446
  type index_d$2__publicOnOnboardingAvailabilityUpdatedType = _publicOnOnboardingAvailabilityUpdatedType;
454
- type index_d$2__publicUpdateCbdFlowType = _publicUpdateCbdFlowType;
455
- type index_d$2__publicUpdatePartnerFlowType = _publicUpdatePartnerFlowType;
456
- type index_d$2__publicUpdateRestrictedGoodsFlowType = _publicUpdateRestrictedGoodsFlowType;
457
447
  declare const index_d$2_getOnboardingAvailability: typeof getOnboardingAvailability;
458
448
  declare const index_d$2_onOnboardingAvailabilityCreated: typeof onOnboardingAvailabilityCreated;
459
449
  declare const index_d$2_onOnboardingAvailabilityUpdated: typeof onOnboardingAvailabilityUpdated;
@@ -461,7 +451,7 @@ declare const index_d$2_updateCbdFlow: typeof updateCbdFlow;
461
451
  declare const index_d$2_updatePartnerFlow: typeof updatePartnerFlow;
462
452
  declare const index_d$2_updateRestrictedGoodsFlow: typeof updateRestrictedGoodsFlow;
463
453
  declare namespace index_d$2 {
464
- 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 index_d$2_RestoreInfo 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__publicGetOnboardingAvailabilityType as _publicGetOnboardingAvailabilityType, type index_d$2__publicOnOnboardingAvailabilityCreatedType as _publicOnOnboardingAvailabilityCreatedType, type index_d$2__publicOnOnboardingAvailabilityUpdatedType as _publicOnOnboardingAvailabilityUpdatedType, type index_d$2__publicUpdateCbdFlowType as _publicUpdateCbdFlowType, type index_d$2__publicUpdatePartnerFlowType as _publicUpdatePartnerFlowType, type index_d$2__publicUpdateRestrictedGoodsFlowType as _publicUpdateRestrictedGoodsFlowType, 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 };
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 index_d$2_RestoreInfo 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 };
465
455
  }
466
456
 
467
457
  /** Provider platform event */
@@ -570,10 +560,7 @@ interface SubmitEventSignature {
570
560
  (event: ProviderPlatformEvent): Promise<void>;
571
561
  }
572
562
 
573
- declare function createRESTModule$1<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
574
-
575
- type _publicSubmitEventType = typeof submitEvent$1;
576
- declare const submitEvent: ReturnType<typeof createRESTModule$1<_publicSubmitEventType>>;
563
+ declare const submitEvent: BuildRESTFunction<typeof submitEvent$1> & typeof submitEvent$1;
577
564
 
578
565
  type index_d$1_CardDetails = CardDetails;
579
566
  type index_d$1_CardReference = CardReference;
@@ -586,10 +573,9 @@ type index_d$1_RefundEvent = RefundEvent;
586
573
  type index_d$1_SubmitEventRequest = SubmitEventRequest;
587
574
  type index_d$1_SubmitEventResponse = SubmitEventResponse;
588
575
  type index_d$1_TransactionEvent = TransactionEvent;
589
- type index_d$1__publicSubmitEventType = _publicSubmitEventType;
590
576
  declare const index_d$1_submitEvent: typeof submitEvent;
591
577
  declare namespace index_d$1 {
592
- export { type index_d$1_CardDetails as CardDetails, type index_d$1_CardReference as CardReference, type index_d$1_CredentialsOnFile as CredentialsOnFile, type index_d$1_CredentialsOnFileInfoOneOf as CredentialsOnFileInfoOneOf, type index_d$1_PaymentMethodReference as PaymentMethodReference, type index_d$1_ProviderPlatformEvent as ProviderPlatformEvent, type index_d$1_ProviderPlatformEventResourceOneOf as ProviderPlatformEventResourceOneOf, type index_d$1_RefundEvent as RefundEvent, type index_d$1_SubmitEventRequest as SubmitEventRequest, type index_d$1_SubmitEventResponse as SubmitEventResponse, type index_d$1_TransactionEvent as TransactionEvent, type index_d$1__publicSubmitEventType as _publicSubmitEventType, index_d$1_submitEvent as submitEvent };
578
+ export { type index_d$1_CardDetails as CardDetails, type index_d$1_CardReference as CardReference, type index_d$1_CredentialsOnFile as CredentialsOnFile, type index_d$1_CredentialsOnFileInfoOneOf as CredentialsOnFileInfoOneOf, type index_d$1_PaymentMethodReference as PaymentMethodReference, type index_d$1_ProviderPlatformEvent as ProviderPlatformEvent, type index_d$1_ProviderPlatformEventResourceOneOf as ProviderPlatformEventResourceOneOf, type index_d$1_RefundEvent as RefundEvent, type index_d$1_SubmitEventRequest as SubmitEventRequest, type index_d$1_SubmitEventResponse as SubmitEventResponse, type index_d$1_TransactionEvent as TransactionEvent, index_d$1_submitEvent as submitEvent };
593
579
  }
594
580
 
595
581
  /**
@@ -1271,20 +1257,13 @@ interface GetRefundabilitySignature {
1271
1257
  declare const onRefundCreated$1: EventDefinition<RefundCreatedEnvelope, "wix.payments.refunds.v1.refund_created">;
1272
1258
  declare const onRefundUpdated$1: EventDefinition<RefundUpdatedEnvelope, "wix.payments.refunds.v1.refund_updated">;
1273
1259
 
1274
- declare function createRESTModule<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
1275
-
1276
1260
  declare function createEventModule<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
1277
1261
 
1278
- type _publicCreateRefundType = typeof createRefund$1;
1279
- declare const createRefund: ReturnType<typeof createRESTModule<_publicCreateRefundType>>;
1280
- type _publicGetRefundType = typeof getRefund$1;
1281
- declare const getRefund: ReturnType<typeof createRESTModule<_publicGetRefundType>>;
1282
- type _publicQueryRefundsType = typeof queryRefunds$1;
1283
- declare const queryRefunds: ReturnType<typeof createRESTModule<_publicQueryRefundsType>>;
1284
- type _publicUpdateExtendedFieldsType = typeof updateExtendedFields$1;
1285
- declare const updateExtendedFields: ReturnType<typeof createRESTModule<_publicUpdateExtendedFieldsType>>;
1286
- type _publicGetRefundabilityType = typeof getRefundability$1;
1287
- declare const getRefundability: ReturnType<typeof createRESTModule<_publicGetRefundabilityType>>;
1262
+ declare const createRefund: BuildRESTFunction<typeof createRefund$1> & typeof createRefund$1;
1263
+ declare const getRefund: BuildRESTFunction<typeof getRefund$1> & typeof getRefund$1;
1264
+ declare const queryRefunds: BuildRESTFunction<typeof queryRefunds$1> & typeof queryRefunds$1;
1265
+ declare const updateExtendedFields: BuildRESTFunction<typeof updateExtendedFields$1> & typeof updateExtendedFields$1;
1266
+ declare const getRefundability: BuildRESTFunction<typeof getRefundability$1> & typeof getRefundability$1;
1288
1267
 
1289
1268
  type _publicOnRefundCreatedType = typeof onRefundCreated$1;
1290
1269
  /** */
@@ -1352,13 +1331,8 @@ type index_d_UpdateExtendedFieldsResponse = UpdateExtendedFieldsResponse;
1352
1331
  type index_d_UpdateExtendedFieldsResponseNonNullableFields = UpdateExtendedFieldsResponseNonNullableFields;
1353
1332
  type index_d_WebhookIdentityType = WebhookIdentityType;
1354
1333
  declare const index_d_WebhookIdentityType: typeof WebhookIdentityType;
1355
- type index_d__publicCreateRefundType = _publicCreateRefundType;
1356
- type index_d__publicGetRefundType = _publicGetRefundType;
1357
- type index_d__publicGetRefundabilityType = _publicGetRefundabilityType;
1358
1334
  type index_d__publicOnRefundCreatedType = _publicOnRefundCreatedType;
1359
1335
  type index_d__publicOnRefundUpdatedType = _publicOnRefundUpdatedType;
1360
- type index_d__publicQueryRefundsType = _publicQueryRefundsType;
1361
- type index_d__publicUpdateExtendedFieldsType = _publicUpdateExtendedFieldsType;
1362
1336
  declare const index_d_createRefund: typeof createRefund;
1363
1337
  declare const index_d_getRefund: typeof getRefund;
1364
1338
  declare const index_d_getRefundability: typeof getRefundability;
@@ -1367,7 +1341,7 @@ declare const index_d_onRefundUpdated: typeof onRefundUpdated;
1367
1341
  declare const index_d_queryRefunds: typeof queryRefunds;
1368
1342
  declare const index_d_updateExtendedFields: typeof updateExtendedFields;
1369
1343
  declare namespace index_d {
1370
- 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__publicCreateRefundType as _publicCreateRefundType, type index_d__publicGetRefundType as _publicGetRefundType, type index_d__publicGetRefundabilityType as _publicGetRefundabilityType, type index_d__publicOnRefundCreatedType as _publicOnRefundCreatedType, type index_d__publicOnRefundUpdatedType as _publicOnRefundUpdatedType, type index_d__publicQueryRefundsType as _publicQueryRefundsType, type index_d__publicUpdateExtendedFieldsType as _publicUpdateExtendedFieldsType, 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 };
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 };
1371
1345
  }
1372
1346
 
1373
- export { index_d$1 as callbacks, index_d$2 as onboardingAvailability, index_d as refunds };
1347
+ export { index_d$2 as onboardingAvailability, index_d$1 as pspCallbacks, index_d as refunds };
@@ -1280,4 +1280,4 @@ declare namespace meta {
1280
1280
  export { type meta___PublicMethodMetaInfo as __PublicMethodMetaInfo, meta_createRefund as createRefund, meta_getRefund as getRefund, meta_getRefundability as getRefundability, meta_queryRefunds as queryRefunds, meta_updateExtendedFields as updateExtendedFields };
1281
1281
  }
1282
1282
 
1283
- export { meta$1 as callbacks, meta$2 as onboardingAvailability, meta as refunds };
1283
+ export { meta$2 as onboardingAvailability, meta$1 as pspCallbacks, meta as refunds };