@xyo-network/rebilly-payment-card-authorization-plugin 4.1.0 → 4.2.0

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,69 +1,5 @@
1
- import { RebillyApiDomainSettings, RebillyPublishableApiSettings, RebillyOrganizationSettings } from '@xyo-network/rebilly-payment-payload-plugin';
2
- import { SentinelConfig, SentinelParams, SentinelModuleEventData, SentinelInstance } from '@xyo-network/sentinel-model';
3
- import { AnyConfigSchema } from '@xyo-network/module-model';
4
- import { Payload } from '@xyo-network/payload-model';
5
- import { AbstractSentinel } from '@xyo-network/sentinel-abstract';
6
- import { AxiosRequestConfig } from 'axios';
7
-
8
- declare const RebillyPaymentCardAuthorizationSentinelConfigSchema = "network.xyo.sentinel.payments.payment.instrument.card.authorization.rebilly.config";
9
- type RebillyPaymentCardAuthorizationSentinelConfigSchema = typeof RebillyPaymentCardAuthorizationSentinelConfigSchema;
10
- interface RebillyPaymentCardAuthorizationSentinelConfig extends SentinelConfig<{
11
- /**
12
- * The config schema
13
- */
14
- schema: RebillyPaymentCardAuthorizationSentinelConfigSchema;
15
- }>, Partial<RebillyApiDomainSettings> {
16
- }
17
-
18
- type RebillyPaymentCardAuthorizationParams = Partial<RebillyPublishableApiSettings & RebillyOrganizationSettings>;
19
- interface RebillyPaymentCardAuthorizationSentinelParams<TConfig extends AnyConfigSchema<RebillyPaymentCardAuthorizationSentinelConfig> = AnyConfigSchema<RebillyPaymentCardAuthorizationSentinelConfig>> extends SentinelParams<TConfig> {
20
- domain?: string;
21
- organizationId?: string;
22
- publishableApiKey?: string;
23
- }
24
-
25
- declare const RebillyPaymentCardAuthorizationSentinelSchema = "network.xyo.sentinel.payments.payment.instrument.card.authorization.rebilly";
26
- type RebillyPaymentCardAuthorizationSentinelSchema = typeof RebillyPaymentCardAuthorizationSentinelSchema;
27
-
28
- declare class RebillyPaymentCardAuthorizationSentinel<TParams extends RebillyPaymentCardAuthorizationSentinelParams = RebillyPaymentCardAuthorizationSentinelParams, TEventData extends SentinelModuleEventData<SentinelInstance<TParams>> = SentinelModuleEventData<SentinelInstance<TParams>>> extends AbstractSentinel<TParams, TEventData> {
29
- static readonly configSchemas: string[];
30
- static readonly defaultConfigSchema = "network.xyo.sentinel.payments.payment.instrument.card.authorization.rebilly.config";
31
- protected _apiRoot: string | undefined;
32
- protected _domain: string | undefined;
33
- protected _headers: AxiosRequestConfig['headers'] | undefined;
34
- protected _organizationId: string | undefined;
35
- protected _publishableApiKey: string | undefined;
36
- protected _tokenEndpoint: string | undefined;
37
- /**
38
- * The Rebilly Organization API root endpoint
39
- */
40
- protected get apiRoot(): string;
41
- /**
42
- * The Rebilly domain
43
- */
44
- protected get domain(): string;
45
- /**
46
- * The headers to be included in the request for each request
47
- */
48
- protected get headers(): AxiosRequestConfig['headers'];
49
- /**
50
- * True if the environment is sandbox (testing), false otherwise
51
- */
52
- protected get isSandboxEnvironment(): boolean;
53
- /**
54
- * The Rebilly organization ID
55
- */
56
- protected get organizationId(): string;
57
- /**
58
- * The Rebilly Publishable API key
59
- */
60
- protected get publishableApiKey(): string;
61
- /**
62
- * The Rebilly Organization token creation endpoint
63
- */
64
- protected get tokenEndpoint(): string;
65
- reportHandler(payloads?: Payload[]): Promise<Payload[]>;
66
- }
67
-
68
- export { RebillyPaymentCardAuthorizationSentinel, RebillyPaymentCardAuthorizationSentinelConfigSchema, RebillyPaymentCardAuthorizationSentinelSchema };
69
- export type { RebillyPaymentCardAuthorizationParams, RebillyPaymentCardAuthorizationSentinelConfig, RebillyPaymentCardAuthorizationSentinelParams };
1
+ export * from './Config.ts';
2
+ export * from './Params.ts';
3
+ export * from './Schema.ts';
4
+ export * from './Sentinel.ts';
5
+ //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/rebilly-payment-card-authorization-plugin",
3
- "version": "4.1.0",
3
+ "version": "4.2.0",
4
4
  "description": "Typescript/Javascript Plugins for XYO Platform",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -29,23 +29,22 @@
29
29
  "module": "dist/neutral/index.mjs",
30
30
  "types": "dist/neutral/index.d.ts",
31
31
  "dependencies": {
32
- "@xylabs/assert": "^4.13.15",
33
- "@xylabs/axios": "^4.13.15",
34
- "@xyo-network/module-model": "^4.1.1",
35
- "@xyo-network/payload-builder": "^4.1.1",
36
- "@xyo-network/payload-model": "^4.1.1",
37
- "@xyo-network/payment-payload-plugins": "^4.1.0",
38
- "@xyo-network/rebilly-payment-payload-plugin": "^4.1.0",
39
- "@xyo-network/sentinel-abstract": "^4.1.1",
40
- "@xyo-network/sentinel-model": "^4.1.1",
41
- "axios": "^1.10.0"
32
+ "@xylabs/assert": "^4.15.1",
33
+ "@xylabs/axios": "^4.15.1",
34
+ "@xyo-network/module-model": "^4.3.0",
35
+ "@xyo-network/payload-builder": "^4.3.0",
36
+ "@xyo-network/payload-model": "^4.3.0",
37
+ "@xyo-network/payment-payload-plugins": "^4.2.0",
38
+ "@xyo-network/rebilly-payment-payload-plugin": "^4.2.0",
39
+ "@xyo-network/sentinel-abstract": "^4.3.0",
40
+ "@xyo-network/sentinel-model": "^4.3.0",
41
+ "axios": "^1.11.0"
42
42
  },
43
43
  "devDependencies": {
44
- "@xylabs/ts-scripts-yarn3": "^7.0.0-rc.24",
45
- "@xylabs/tsconfig": "^7.0.0-rc.24",
46
- "@xylabs/vitest-extended": "^4.13.15",
47
- "@xyo-network/boundwitness-model": "^4.1.1",
48
- "knip": "^5.61.3",
44
+ "@xylabs/ts-scripts-yarn3": "^7.0.1",
45
+ "@xylabs/tsconfig": "^7.0.1",
46
+ "@xylabs/vitest-extended": "^4.15.1",
47
+ "@xyo-network/boundwitness-model": "^4.3.0",
49
48
  "typescript": "^5.8.3",
50
49
  "vitest": "^3.2.4"
51
50
  },