zova-module-a-pay 5.0.9 → 5.0.10

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,6 +1,6 @@
1
1
  /** model: begin */
2
- export * from '../model/paymentSession.js';
3
- import { IModelOptionsPaymentSession } from '../model/paymentSession.js';
2
+ export * from '../model/paymentSession.ts';
3
+ import { IModelOptionsPaymentSession } from '../model/paymentSession.ts';
4
4
  import 'zova-module-a-model';
5
5
  declare module 'zova-module-a-model' {
6
6
  interface IModelRecord {
@@ -18,7 +18,7 @@ declare module 'zova-module-a-pay' {
18
18
  }
19
19
  /** model: end */
20
20
  /** model: begin */
21
- import type { ModelPaymentSession } from '../model/paymentSession.js';
21
+ import type { ModelPaymentSession } from '../model/paymentSession.ts';
22
22
  import 'zova';
23
23
  declare module 'zova' {
24
24
  interface IBeanRecordGeneral {
@@ -27,7 +27,7 @@ declare module 'zova' {
27
27
  }
28
28
  /** model: end */
29
29
  /** api: begin */
30
- export * from '../api/payPaymentSession.js';
30
+ export * from '../api/payPaymentSession.ts';
31
31
  import 'zova';
32
32
  declare module 'zova' {
33
33
  }
@@ -41,7 +41,7 @@ declare module 'zova-module-a-pay' {
41
41
  }
42
42
  /** api: end */
43
43
  /** api: begin */
44
- import type { ApiPayPaymentSession } from '../api/payPaymentSession.js';
44
+ import type { ApiPayPaymentSession } from '../api/payPaymentSession.ts';
45
45
  export interface IModuleApi {
46
46
  'payPaymentSession': ApiPayPaymentSession;
47
47
  }
@@ -55,10 +55,10 @@ declare module 'zova' {
55
55
  }
56
56
  /** api: end */
57
57
  /** openapi: begin */
58
- export * from '../api/openapi/index.js';
58
+ export * from '../api/openapi/index.ts';
59
59
  /** openapi: end */
60
60
  /** apiSchema: begin */
61
- export * from '../apiSchema/payPaymentSession.js';
61
+ export * from '../apiSchema/payPaymentSession.ts';
62
62
  import 'zova';
63
63
  declare module 'zova' {
64
64
  }
@@ -72,7 +72,7 @@ declare module 'zova-module-a-pay' {
72
72
  }
73
73
  /** apiSchema: end */
74
74
  /** apiSchema: begin */
75
- import type { ApiSchemaPayPaymentSession } from '../apiSchema/payPaymentSession.js';
75
+ import type { ApiSchemaPayPaymentSession } from '../apiSchema/payPaymentSession.ts';
76
76
  export interface IModuleApiSchema {
77
77
  'payPaymentSession': ApiSchemaPayPaymentSession;
78
78
  }
@@ -86,7 +86,7 @@ declare module 'zova' {
86
86
  }
87
87
  /** apiSchema: end */
88
88
  /** service: begin */
89
- export * from '../service/paymentCoordinator.js';
89
+ export * from '../service/paymentCoordinator.ts';
90
90
  import 'zova-module-a-bean';
91
91
  declare module 'zova-module-a-bean' {
92
92
  interface IServiceRecord {
@@ -103,7 +103,7 @@ declare module 'zova-module-a-pay' {
103
103
  }
104
104
  /** service: end */
105
105
  /** service: begin */
106
- import type { ServicePaymentCoordinator } from '../service/paymentCoordinator.js';
106
+ import type { ServicePaymentCoordinator } from '../service/paymentCoordinator.ts';
107
107
  import 'zova';
108
108
  declare module 'zova' {
109
109
  interface IBeanRecordGeneral {
@@ -1,3 +1,3 @@
1
1
  export declare const __ThisModule__ = "a-pay";
2
- export { ScopeModuleAPay as ScopeModule } from './index.js';
2
+ export { ScopeModuleAPay as ScopeModule } from './index.ts';
3
3
  //# sourceMappingURL=this.d.ts.map
@@ -1,4 +1,4 @@
1
- export * from './baseURL.js';
2
- export * from './schemas.js';
3
- export * from './types.js';
1
+ export * from './baseURL.ts';
2
+ export * from './schemas.ts';
3
+ export * from './types.ts';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- import type { components } from './types.js';
1
+ import type { components } from './types.ts';
2
2
  export type ApiSchemaTestVonaDtoPostCreate = components['schemas']['test-vona.dto.postCreate'];
3
3
  export type ApiSchemaTestVonaDtoPostCreatePartial = Partial<ApiSchemaTestVonaDtoPostCreate>;
4
4
  export type ApiSchemaTestVonaDtoUserCreate = components['schemas']['test-vona.dto.userCreate'];
@@ -1,6 +1,6 @@
1
1
  import type { IApiActionOptions } from 'zova-module-a-api';
2
2
  import { BeanApiBase } from 'zova-module-a-api';
3
- import type { paths } from './openapi/index.js';
3
+ import type { paths } from './openapi/index.ts';
4
4
  /** PayPaymentSession_start */
5
5
  export declare const ApiApiPayPaymentSessionstartPath = "/api/pay/payment-session/{id}/start";
6
6
  export type ApiApiPayPaymentSessionstartPath = '/api/pay/payment-session/{id}/start';
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export * from './lib/index.js';
2
- export * from './types/index.js';
3
- export * from './.metadata/index.js';
1
+ export * from './lib/index.ts';
2
+ export * from './types/index.ts';
3
+ export * from './.metadata/index.ts';
4
4
  //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -97,8 +97,6 @@ var ServicePaymentCoordinator = (_dec$1 = Service(), _dec2$1 = BeanInfo({ module
97
97
  }) || _class$1) || _class$1);
98
98
  //#endregion
99
99
  //#region src/.metadata/index.ts
100
- /** service: end */
101
- /** scope: begin */
102
100
  var _dec;
103
101
  var _dec2;
104
102
  var _class;
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../src/model/paymentSession.ts","../src/api/openapi/baseURL.ts","../src/api/payPaymentSession.ts","../src/apiSchema/payPaymentSession.ts","../src/service/paymentCoordinator.ts","../src/.metadata/index.ts"],"sourcesContent":["var _dec, _dec2, _class;\nimport { \"BeanInfo\" as __z_BeanInfo } from \"zova\";\nimport { BeanModelBase, Model } from 'zova-module-a-model';\nexport let ModelPaymentSession = (_dec = Model(), _dec2 = __z_BeanInfo({\n module: \"a-pay\"\n}), _dec(_class = _dec2(_class = class ModelPaymentSession extends BeanModelBase {\n view(id) {\n if (this.$ssr.cookieDisabledOnServer) return;\n if (!this.$passport.isAuthenticated) return;\n return this.$useStateData({\n queryKey: ['view', id],\n queryFn: async () => {\n return await this.scope.api.payPaymentSession.view({\n params: {\n id\n }\n });\n }\n });\n }\n reconcile(id) {\n return this.$useMutationData({\n mutationKey: ['reconcile', id],\n mutationFn: async () => {\n return await this.scope.api.payPaymentSession.reconcile(undefined, {\n params: {\n id\n }\n });\n },\n onSuccess: async () => {\n await this.$invalidateQueries({\n queryKey: ['view', id]\n });\n }\n });\n }\n start(id) {\n return this.$useMutationData({\n mutationKey: ['start', id],\n mutationFn: async () => {\n return await this.scope.api.payPaymentSession.start(undefined, {\n params: {\n id\n }\n });\n },\n onSuccess: async () => {\n await this.$invalidateQueries({\n queryKey: ['view', id]\n });\n }\n });\n }\n}) || _class) || _class);","export const OpenApiBaseURL = sys => {\n return sys.util.getOpenApiBaseURL('OPENAPI_BASE_URL_A_PAY');\n};","var _dec, _dec2, _class;\nimport { \"BeanInfo\" as __z_BeanInfo } from \"zova\";\nimport { Api, BeanApiBase } from 'zova-module-a-api';\nimport { OpenApiBaseURL } from './openapi/index.js';\n\n/** PayPaymentSession_start */\nexport const ApiApiPayPaymentSessionstartPath = '/api/pay/payment-session/{id}/start';\n/** PayPaymentSession_reconcile */\nexport const ApiApiPayPaymentSessionreconcilePath = '/api/pay/payment-session/{id}/reconcile';\n/** PayPaymentSession_view */\nexport const ApiApiPayPaymentSessionviewPath = '/api/pay/payment-session/{id}';\nexport let ApiPayPaymentSession = (_dec = Api(), _dec2 = __z_BeanInfo({\n module: \"a-pay\"\n}), _dec(_class = _dec2(_class = class ApiPayPaymentSession extends BeanApiBase {\n start(body, options) {\n return this.$fetch.post(this.$pathTranslate(ApiApiPayPaymentSessionstartPath, options.params), body, this.$configPrepare(OpenApiBaseURL(this.sys), options, true));\n }\n reconcile(body, options) {\n return this.$fetch.post(this.$pathTranslate(ApiApiPayPaymentSessionreconcilePath, options.params), body, this.$configPrepare(OpenApiBaseURL(this.sys), options, true));\n }\n view(options) {\n return this.$fetch.get(this.$pathTranslate(ApiApiPayPaymentSessionviewPath, options.params), this.$configPrepare(OpenApiBaseURL(this.sys), options, true));\n }\n}) || _class) || _class);","var _dec, _dec2, _class;\nimport { \"BeanInfo\" as __z_BeanInfo } from \"zova\";\nimport { BeanBase } from 'zova';\nimport { ApiSchema } from 'zova-module-a-api';\nimport { ApiApiPayPaymentSessionstartPath, ApiApiPayPaymentSessionreconcilePath, ApiApiPayPaymentSessionviewPath } from '../api/payPaymentSession.js';\nexport let ApiSchemaPayPaymentSession = (_dec = ApiSchema(), _dec2 = __z_BeanInfo({\n module: \"a-pay\"\n}), _dec(_class = _dec2(_class = class ApiSchemaPayPaymentSession extends BeanBase {\n start(options) {\n return this.$sdk.createApiSchemas(ApiApiPayPaymentSessionstartPath, 'post', options);\n }\n reconcile(options) {\n return this.$sdk.createApiSchemas(ApiApiPayPaymentSessionreconcilePath, 'post', options);\n }\n view(options) {\n return this.$sdk.createApiSchemas(ApiApiPayPaymentSessionviewPath, 'get', options);\n }\n}) || _class) || _class);","var _dec, _dec2, _class;\nimport { \"BeanInfo\" as __z_BeanInfo } from \"zova\";\nimport { BeanBase } from 'zova';\nimport { Service } from 'zova-module-a-bean';\nexport let ServicePaymentCoordinator = (_dec = Service(), _dec2 = __z_BeanInfo({\n module: \"a-pay\"\n}), _dec(_class = _dec2(_class = class ServicePaymentCoordinator extends BeanBase {\n async execute(action) {\n if (action.kind !== 'redirect') return;\n if (!process.env.CLIENT) return;\n window.location.assign(action.url);\n }\n}) || _class) || _class);","var _dec, _dec2, _class;\nimport { \"BeanInfo\" as __z_BeanInfo } from \"zova\";\n// eslint-disable\n/** model: begin */\nexport * from '../model/paymentSession.js';\nimport 'zova-module-a-model';\n/** model: end */\n/** model: begin */\n\nimport 'zova';\n/** model: end */\n/** api: begin */\nexport * from '../api/payPaymentSession.js';\nimport 'zova';\n\n/** api: end */\n/** api: begin */\n\n/** api: end */\n/** api: begin */\n\nimport 'zova';\n/** api: end */\n/** openapi: begin */\nexport * from '../api/openapi/index.js';\n/** openapi: end */\n/** apiSchema: begin */\nexport * from '../apiSchema/payPaymentSession.js';\nimport 'zova';\n\n/** apiSchema: end */\n/** apiSchema: begin */\n\n/** apiSchema: end */\n/** apiSchema: begin */\n\nimport 'zova';\n/** apiSchema: end */\n/** service: begin */\nexport * from '../service/paymentCoordinator.js';\nimport 'zova-module-a-bean';\n/** service: end */\n/** service: begin */\n\nimport 'zova';\n/** service: end */\n/** scope: begin */\nimport { BeanScopeBase } from 'zova';\nimport { Scope } from 'zova-module-a-bean';\nexport let ScopeModuleAPay = (_dec = Scope(), _dec2 = __z_BeanInfo({\n module: \"a-pay\"\n}), _dec(_class = _dec2(_class = class ScopeModuleAPay extends BeanScopeBase {}) || _class) || _class);\nimport 'zova';\n\n/** scope: end */"],"mappings":";;;;;AAAA,IAAI;AAAM,IAAA;AAAO,IAAA;AAGjB,IAAW,uBAAuB,SAAO,MAAM,GAAG,UAAQ,SAAa,EACrE,QAAQ,QACV,CAAC,GAAG,OAAK,WAAS,QAAM,WAAS,MAAM,4BAA4B,cAAc;CAC/E,KAAK,IAAI;EACP,IAAI,KAAK,KAAK,wBAAwB;EACtC,IAAI,CAAC,KAAK,UAAU,iBAAiB;EACrC,OAAO,KAAK,cAAc;GACxB,UAAU,CAAC,QAAQ,EAAE;GACrB,SAAS,YAAY;IACnB,OAAO,MAAM,KAAK,MAAM,IAAI,kBAAkB,KAAK,EACjD,QAAQ,EACN,GACF,EACF,CAAC;GACH;EACF,CAAC;CACH;CACA,UAAU,IAAI;EACZ,OAAO,KAAK,iBAAiB;GAC3B,aAAa,CAAC,aAAa,EAAE;GAC7B,YAAY,YAAY;IACtB,OAAO,MAAM,KAAK,MAAM,IAAI,kBAAkB,UAAU,KAAA,GAAW,EACjE,QAAQ,EACN,GACF,EACF,CAAC;GACH;GACA,WAAW,YAAY;IACrB,MAAM,KAAK,mBAAmB,EAC5B,UAAU,CAAC,QAAQ,EAAE,EACvB,CAAC;GACH;EACF,CAAC;CACH;CACA,MAAM,IAAI;EACR,OAAO,KAAK,iBAAiB;GAC3B,aAAa,CAAC,SAAS,EAAE;GACzB,YAAY,YAAY;IACtB,OAAO,MAAM,KAAK,MAAM,IAAI,kBAAkB,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AAQ,OAAO;CACrF;CACA,UAAU,SAAS;EACjB,OAAO,KAAK,KAAK,iBAAA,2CAAuD,QAAQ,OAAO;CACzF;CACA,KAAK,SAAS;EACZ,OAAO,KAAK,KAAK,iBAAA,iCAAkD,OAAO,OAAO;CACnF;AACF,CAAC,KAAK,QAAM,KAAK;;;ACjBjB,IAAI;AAAM,IAAA;AAAO,IAAA;AAIjB,IAAW,6BAA6B,SAAO,QAAQ,GAAG,UAAQ,SAAa,EAC7E,QAAQ,QACV,CAAC,GAAG,OAAK,WAAS,QAAM,WAAS,MAAM,kCAAkC,SAAS;CAChF,MAAM,QAAQ,QAAQ;EACpB,IAAI,OAAO,SAAS,YAAY;EAChC,IAAI,CAAC,QAAQ,IAAI,QAAQ;EACzB,OAAO,SAAS,OAAO,OAAO,GAAG;CACnC;AACF,CAAC,KAAK,QAAM,KAAK;;;;;ACZjB,IAAI;AAAM,IAAA;AAAO,IAAA;AAiDjB,IAAW,mBAAmB,OAAO,MAAM,GAAG,QAAQ,SAAa,EACjE,QAAQ,QACV,CAAC,GAAG,KAAK,SAAS,MAAM,SAAS,MAAM,wBAAwB,cAAc,CAAC,CAAC,KAAK,MAAM,KAAK"}
1
+ {"version":3,"file":"index.js","names":["_dec","_dec2","_class","__z_BeanInfo","_dec","_dec2","_class","__z_BeanInfo","_dec","_dec2","_class","__z_BeanInfo","_dec","_dec2","_class","__z_BeanInfo","__z_BeanInfo"],"sources":["../src/model/paymentSession.ts","../src/api/openapi/baseURL.ts","../src/api/payPaymentSession.ts","../src/apiSchema/payPaymentSession.ts","../src/service/paymentCoordinator.ts","../src/.metadata/index.ts"],"sourcesContent":["var _dec, _dec2, _class;\nimport { \"BeanInfo\" as __z_BeanInfo } from \"zova\";\nimport { BeanModelBase, Model } from 'zova-module-a-model';\nexport let ModelPaymentSession = (_dec = Model(), _dec2 = __z_BeanInfo({\n module: \"a-pay\"\n}), _dec(_class = _dec2(_class = class ModelPaymentSession extends BeanModelBase {\n view(id) {\n if (this.$ssr.cookieDisabledOnServer) return;\n if (!this.$passport.isAuthenticated) return;\n return this.$useStateData({\n queryKey: ['view', id],\n queryFn: async () => {\n return await this.scope.api.payPaymentSession.view({\n params: {\n id\n }\n });\n }\n });\n }\n reconcile(id) {\n return this.$useMutationData({\n mutationKey: ['reconcile', id],\n mutationFn: async () => {\n return await this.scope.api.payPaymentSession.reconcile(undefined, {\n params: {\n id\n }\n });\n },\n onSuccess: async () => {\n await this.$invalidateQueries({\n queryKey: ['view', id]\n });\n }\n });\n }\n start(id) {\n return this.$useMutationData({\n mutationKey: ['start', id],\n mutationFn: async () => {\n return await this.scope.api.payPaymentSession.start(undefined, {\n params: {\n id\n }\n });\n },\n onSuccess: async () => {\n await this.$invalidateQueries({\n queryKey: ['view', id]\n });\n }\n });\n }\n}) || _class) || _class);","export const OpenApiBaseURL = sys => {\n return sys.util.getOpenApiBaseURL('OPENAPI_BASE_URL_A_PAY');\n};","var _dec, _dec2, _class;\nimport { \"BeanInfo\" as __z_BeanInfo } from \"zova\";\nimport { Api, BeanApiBase } from 'zova-module-a-api';\nimport { OpenApiBaseURL } from './openapi/index.ts';\n\n/** PayPaymentSession_start */\nexport const ApiApiPayPaymentSessionstartPath = '/api/pay/payment-session/{id}/start';\n/** PayPaymentSession_reconcile */\nexport const ApiApiPayPaymentSessionreconcilePath = '/api/pay/payment-session/{id}/reconcile';\n/** PayPaymentSession_view */\nexport const ApiApiPayPaymentSessionviewPath = '/api/pay/payment-session/{id}';\nexport let ApiPayPaymentSession = (_dec = Api(), _dec2 = __z_BeanInfo({\n module: \"a-pay\"\n}), _dec(_class = _dec2(_class = class ApiPayPaymentSession extends BeanApiBase {\n start(body, options) {\n return this.$fetch.post(this.$pathTranslate(ApiApiPayPaymentSessionstartPath, options.params), body, this.$configPrepare(OpenApiBaseURL(this.sys), options, true));\n }\n reconcile(body, options) {\n return this.$fetch.post(this.$pathTranslate(ApiApiPayPaymentSessionreconcilePath, options.params), body, this.$configPrepare(OpenApiBaseURL(this.sys), options, true));\n }\n view(options) {\n return this.$fetch.get(this.$pathTranslate(ApiApiPayPaymentSessionviewPath, options.params), this.$configPrepare(OpenApiBaseURL(this.sys), options, true));\n }\n}) || _class) || _class);","var _dec, _dec2, _class;\nimport { \"BeanInfo\" as __z_BeanInfo } from \"zova\";\nimport { BeanBase } from 'zova';\nimport { ApiSchema } from 'zova-module-a-api';\nimport { ApiApiPayPaymentSessionstartPath, ApiApiPayPaymentSessionreconcilePath, ApiApiPayPaymentSessionviewPath } from '../api/payPaymentSession.ts';\nexport let ApiSchemaPayPaymentSession = (_dec = ApiSchema(), _dec2 = __z_BeanInfo({\n module: \"a-pay\"\n}), _dec(_class = _dec2(_class = class ApiSchemaPayPaymentSession extends BeanBase {\n start(options) {\n return this.$sdk.createApiSchemas(ApiApiPayPaymentSessionstartPath, 'post', options);\n }\n reconcile(options) {\n return this.$sdk.createApiSchemas(ApiApiPayPaymentSessionreconcilePath, 'post', options);\n }\n view(options) {\n return this.$sdk.createApiSchemas(ApiApiPayPaymentSessionviewPath, 'get', options);\n }\n}) || _class) || _class);","var _dec, _dec2, _class;\nimport { \"BeanInfo\" as __z_BeanInfo } from \"zova\";\nimport { BeanBase } from 'zova';\nimport { Service } from 'zova-module-a-bean';\nexport let ServicePaymentCoordinator = (_dec = Service(), _dec2 = __z_BeanInfo({\n module: \"a-pay\"\n}), _dec(_class = _dec2(_class = class ServicePaymentCoordinator extends BeanBase {\n async execute(action) {\n if (action.kind !== 'redirect') return;\n if (!process.env.CLIENT) return;\n window.location.assign(action.url);\n }\n}) || _class) || _class);","var _dec, _dec2, _class;\nimport { \"BeanInfo\" as __z_BeanInfo } from \"zova\";\n// eslint-disable\n/** model: begin */\nexport * from '../model/paymentSession.ts';\nimport 'zova-module-a-model';\n/** model: end */\n/** model: begin */\n\nimport 'zova';\n/** model: end */\n/** api: begin */\nexport * from '../api/payPaymentSession.ts';\nimport 'zova';\n\n/** api: end */\n/** api: begin */\n\n/** api: end */\n/** api: begin */\n\nimport 'zova';\n/** api: end */\n/** openapi: begin */\nexport * from '../api/openapi/index.ts';\n/** openapi: end */\n/** apiSchema: begin */\nexport * from '../apiSchema/payPaymentSession.ts';\nimport 'zova';\n\n/** apiSchema: end */\n/** apiSchema: begin */\n\n/** apiSchema: end */\n/** apiSchema: begin */\n\nimport 'zova';\n/** apiSchema: end */\n/** service: begin */\nexport * from '../service/paymentCoordinator.ts';\nimport 'zova-module-a-bean';\n/** service: end */\n/** service: begin */\n\nimport 'zova';\n/** service: end */\n/** scope: begin */\nimport { BeanScopeBase } from 'zova';\nimport { Scope } from 'zova-module-a-bean';\nexport let ScopeModuleAPay = (_dec = Scope(), _dec2 = __z_BeanInfo({\n module: \"a-pay\"\n}), _dec(_class = _dec2(_class = class ScopeModuleAPay extends BeanScopeBase {}) || _class) || _class);\nimport 'zova';\n\n/** scope: end */"],"mappings":";;;;;AAAA,IAAIA;AAAMC,IAAAA;AAAOC,IAAAA;AAGjB,IAAW,uBAAuB,SAAO,MAAM,GAAG,UAAQC,SAAa,EACrE,QAAQ,QACV,CAAC,GAAGH,OAAK,WAASC,QAAM,WAAS,MAAM,4BAA4B,cAAc;CAC/E,KAAK,IAAI;EACP,IAAI,KAAK,KAAK,wBAAwB;EACtC,IAAI,CAAC,KAAK,UAAU,iBAAiB;EACrC,OAAO,KAAK,cAAc;GACxB,UAAU,CAAC,QAAQ,EAAE;GACrB,SAAS,YAAY;IACnB,OAAO,MAAM,KAAK,MAAM,IAAI,kBAAkB,KAAK,EACjD,QAAQ,EACN,GACF,EACF,CAAC;GACH;EACF,CAAC;CACH;CACA,UAAU,IAAI;EACZ,OAAO,KAAK,iBAAiB;GAC3B,aAAa,CAAC,aAAa,EAAE;GAC7B,YAAY,YAAY;IACtB,OAAO,MAAM,KAAK,MAAM,IAAI,kBAAkB,UAAU,KAAA,GAAW,EACjE,QAAQ,EACN,GACF,EACF,CAAC;GACH;GACA,WAAW,YAAY;IACrB,MAAM,KAAK,mBAAmB,EAC5B,UAAU,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AAAA;AAAOC,IAAAA;AAKjB,IAAW,8BAA8B,SAAO,UAAU,GAAG,UAAQC,SAAa,EAChF,QAAQ,QACV,CAAC,GAAGH,OAAK,WAASC,QAAM,WAAS,MAAM,mCAAmC,SAAS;CACjF,MAAM,SAAS;EACb,OAAO,KAAK,KAAK,iBAAA,uCAAmD,QAAQ,OAAO;CACrF;CACA,UAAU,SAAS;EACjB,OAAO,KAAK,KAAK,iBAAA,2CAAuD,QAAQ,OAAO;CACzF;CACA,KAAK,SAAS;EACZ,OAAO,KAAK,KAAK,iBAAA,iCAAkD,OAAO,OAAO;CACnF;AACF,CAAC,KAAKC,QAAM,KAAKA;;;ACjBjB,IAAIE;AAAMC,IAAAA;AAAOC,IAAAA;AAIjB,IAAW,6BAA6B,SAAO,QAAQ,GAAG,UAAQC,SAAa,EAC7E,QAAQ,QACV,CAAC,GAAGH,OAAK,WAASC,QAAM,WAAS,MAAM,kCAAkC,SAAS;CAChF,MAAM,QAAQ,QAAQ;EACpB,IAAI,OAAO,SAAS,YAAY;EAChC,IAAI,CAAC,QAAQ,IAAI,QAAQ;EACzB,OAAO,SAAS,OAAO,OAAO,GAAG;CACnC;AACF,CAAC,KAAKC,QAAM,KAAKA;;;ACZjB,IAAI;AAAM,IAAA;AAAO,IAAA;AAiDjB,IAAW,mBAAmB,OAAO,MAAM,GAAG,QAAQE,SAAa,EACjE,QAAQ,QACV,CAAC,GAAG,KAAK,SAAS,MAAM,SAAS,MAAM,wBAAwB,cAAc,CAAC,CAAC,KAAK,MAAM,KAAK"}
@@ -1,5 +1,5 @@
1
1
  import { BeanBase } from 'zova';
2
- import type { TypePaymentNextAction } from '../types/payment.js';
2
+ import type { TypePaymentNextAction } from '../types/payment.ts';
3
3
  export declare class ServicePaymentCoordinator extends BeanBase {
4
4
  execute(action: TypePaymentNextAction): Promise<void>;
5
5
  }
@@ -1,2 +1,2 @@
1
- export * from './payment.js';
1
+ export * from './payment.ts';
2
2
  //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zova-module-a-pay",
3
- "version": "5.0.9",
3
+ "version": "5.0.10",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "Zova Module"
@@ -31,5 +31,5 @@
31
31
  },
32
32
  "dependencies": {},
33
33
  "title": "a-pay",
34
- "gitHead": "27cdde61955152716c2521b04f883bddd425dd89"
34
+ "gitHead": "c27fb3b5f3566b676b7d635e2e26545c6d389ad7"
35
35
  }
@@ -1,7 +1,7 @@
1
1
  // eslint-disable
2
2
  /** model: begin */
3
- export * from '../model/paymentSession.js';
4
- import { IModelOptionsPaymentSession } from '../model/paymentSession.js';
3
+ export * from '../model/paymentSession.ts';
4
+ import { IModelOptionsPaymentSession } from '../model/paymentSession.ts';
5
5
  import 'zova-module-a-model';
6
6
  declare module 'zova-module-a-model' {
7
7
 
@@ -26,7 +26,7 @@ declare module 'zova-module-a-pay' {
26
26
  }
27
27
  /** model: end */
28
28
  /** model: begin */
29
- import type { ModelPaymentSession } from '../model/paymentSession.js';
29
+ import type { ModelPaymentSession } from '../model/paymentSession.ts';
30
30
  import 'zova';
31
31
  declare module 'zova' {
32
32
  export interface IBeanRecordGeneral {
@@ -35,7 +35,7 @@ declare module 'zova' {
35
35
  }
36
36
  /** model: end */
37
37
  /** api: begin */
38
- export * from '../api/payPaymentSession.js';
38
+ export * from '../api/payPaymentSession.ts';
39
39
 
40
40
  import 'zova';
41
41
  declare module 'zova' {
@@ -57,7 +57,7 @@ declare module 'zova-module-a-pay' {
57
57
  }
58
58
  /** api: end */
59
59
  /** api: begin */
60
- import type { ApiPayPaymentSession } from '../api/payPaymentSession.js';
60
+ import type { ApiPayPaymentSession } from '../api/payPaymentSession.ts';
61
61
  export interface IModuleApi {
62
62
  'payPaymentSession': ApiPayPaymentSession;
63
63
  }
@@ -72,10 +72,10 @@ declare module 'zova' {
72
72
  }
73
73
  /** api: end */
74
74
  /** openapi: begin */
75
- export * from '../api/openapi/index.js';
75
+ export * from '../api/openapi/index.ts';
76
76
  /** openapi: end */
77
77
  /** apiSchema: begin */
78
- export * from '../apiSchema/payPaymentSession.js';
78
+ export * from '../apiSchema/payPaymentSession.ts';
79
79
 
80
80
  import 'zova';
81
81
  declare module 'zova' {
@@ -97,7 +97,7 @@ declare module 'zova-module-a-pay' {
97
97
  }
98
98
  /** apiSchema: end */
99
99
  /** apiSchema: begin */
100
- import type { ApiSchemaPayPaymentSession } from '../apiSchema/payPaymentSession.js';
100
+ import type { ApiSchemaPayPaymentSession } from '../apiSchema/payPaymentSession.ts';
101
101
  export interface IModuleApiSchema {
102
102
  'payPaymentSession': ApiSchemaPayPaymentSession;
103
103
  }
@@ -112,7 +112,7 @@ declare module 'zova' {
112
112
  }
113
113
  /** apiSchema: end */
114
114
  /** service: begin */
115
- export * from '../service/paymentCoordinator.js';
115
+ export * from '../service/paymentCoordinator.ts';
116
116
 
117
117
  import 'zova-module-a-bean';
118
118
  declare module 'zova-module-a-bean' {
@@ -138,7 +138,7 @@ declare module 'zova-module-a-pay' {
138
138
  }
139
139
  /** service: end */
140
140
  /** service: begin */
141
- import type { ServicePaymentCoordinator } from '../service/paymentCoordinator.js';
141
+ import type { ServicePaymentCoordinator } from '../service/paymentCoordinator.ts';
142
142
  import 'zova';
143
143
  declare module 'zova' {
144
144
  export interface IBeanRecordGeneral {
@@ -1,2 +1,2 @@
1
1
  export const __ThisModule__ = 'a-pay';
2
- export { ScopeModuleAPay as ScopeModule } from './index.js';
2
+ export { ScopeModuleAPay as ScopeModule } from './index.ts';
@@ -1,3 +1,3 @@
1
- export * from './baseURL.js';
2
- export * from './schemas.js';
3
- export * from './types.js';
1
+ export * from './baseURL.ts';
2
+ export * from './schemas.ts';
3
+ export * from './types.ts';
@@ -1,5 +1,5 @@
1
1
  // eslint-disable
2
- import type { components } from './types.js';
2
+ import type { components } from './types.ts';
3
3
  export type ApiSchemaTestVonaDtoPostCreate = components['schemas']['test-vona.dto.postCreate'];
4
4
  export type ApiSchemaTestVonaDtoPostCreatePartial = Partial<ApiSchemaTestVonaDtoPostCreate>;
5
5
  export type ApiSchemaTestVonaDtoUserCreate = components['schemas']['test-vona.dto.userCreate'];
@@ -2,9 +2,9 @@ import type { IApiActionOptions } from 'zova-module-a-api';
2
2
 
3
3
  import { Api, BeanApiBase } from 'zova-module-a-api';
4
4
 
5
- import type { paths } from './openapi/index.js';
5
+ import type { paths } from './openapi/index.ts';
6
6
 
7
- import { OpenApiBaseURL } from './openapi/index.js';
7
+ import { OpenApiBaseURL } from './openapi/index.ts';
8
8
 
9
9
  /** PayPaymentSession_start */
10
10
  export const ApiApiPayPaymentSessionstartPath = '/api/pay/payment-session/{id}/start';
@@ -7,7 +7,7 @@ import {
7
7
  ApiApiPayPaymentSessionstartPath,
8
8
  ApiApiPayPaymentSessionreconcilePath,
9
9
  ApiApiPayPaymentSessionviewPath,
10
- } from '../api/payPaymentSession.js';
10
+ } from '../api/payPaymentSession.ts';
11
11
 
12
12
  @ApiSchema()
13
13
  export class ApiSchemaPayPaymentSession extends BeanBase {
package/src/index.ts CHANGED
@@ -1,3 +1,3 @@
1
- export * from './lib/index.js';
2
- export * from './types/index.js';
3
- export * from './.metadata/index.js';
1
+ export * from './lib/index.ts';
2
+ export * from './types/index.ts';
3
+ export * from './.metadata/index.ts';
@@ -1,7 +1,7 @@
1
1
  import { BeanBase } from 'zova';
2
2
  import { Service } from 'zova-module-a-bean';
3
3
 
4
- import type { TypePaymentNextAction } from '../types/payment.js';
4
+ import type { TypePaymentNextAction } from '../types/payment.ts';
5
5
 
6
6
  @Service()
7
7
  export class ServicePaymentCoordinator extends BeanBase {
@@ -1 +1 @@
1
- export * from './payment.js';
1
+ export * from './payment.ts';