@chevre/factory 4.177.0 → 4.181.0-alpha.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.
@@ -27,6 +27,14 @@ export interface IPendingTransaction {
27
27
  typeOf: AccountFactory.transactionType;
28
28
  id: string;
29
29
  transactionNumber?: string;
30
+ object: {
31
+ fromLocation?: {
32
+ /**
33
+ * 口座番号
34
+ */
35
+ accountNumber: string;
36
+ };
37
+ };
30
38
  }
31
39
  export import ICreditCardSales = GMO.factory.credit.IAlterTranResult;
32
40
  /**
@@ -10,6 +10,7 @@ import SortType from './sortType';
10
10
  export interface IHasOfferCatalog {
11
11
  typeOf: 'OfferCatalog';
12
12
  id?: string;
13
+ identifier?: string;
13
14
  }
14
15
  export interface IAttributes<T extends EventType> {
15
16
  project: IProject;
@@ -138,7 +138,17 @@ export interface ISearchConditions {
138
138
  * 所有者
139
139
  */
140
140
  ownedBy?: {
141
- id?: string;
141
+ id?: string | {
142
+ $in?: string[];
143
+ };
144
+ memberOf?: {
145
+ membershipNumber?: {
146
+ $in?: string[];
147
+ };
148
+ };
149
+ typeOf?: {
150
+ $eq?: string;
151
+ };
142
152
  };
143
153
  ownedFromGte?: Date;
144
154
  ownedFromLte?: Date;
@@ -59,11 +59,13 @@ export interface ISearchConditions {
59
59
  };
60
60
  branchCode?: {
61
61
  $eq?: string;
62
+ $in?: string[];
62
63
  $regex?: string;
63
64
  };
64
65
  containedInPlace?: {
65
66
  branchCode?: {
66
67
  $eq?: string;
68
+ $in?: string[];
67
69
  };
68
70
  containedInPlace: {
69
71
  branchCode?: {
@@ -61,6 +61,21 @@ export interface IPointAward {
61
61
  identifier?: string;
62
62
  };
63
63
  }
64
+ /**
65
+ * 外部サービス認証情報
66
+ */
67
+ export interface ICredentials {
68
+ siteId?: string;
69
+ sitePass?: string;
70
+ authorizeServerDomain?: string;
71
+ clientId?: string;
72
+ clientSecret?: string;
73
+ }
74
+ export interface IAvailableChannel {
75
+ typeOf: 'ServiceChannel';
76
+ serviceUrl?: string;
77
+ credentials?: ICredentials;
78
+ }
64
79
  /**
65
80
  * プロダクトインターフェース
66
81
  * {@link https://schema.org/Product}
@@ -69,6 +84,7 @@ export interface IProduct extends IThing {
69
84
  project: IProject;
70
85
  typeOf: ProductType;
71
86
  id?: string;
87
+ availableChannel?: IAvailableChannel;
72
88
  /**
73
89
  * Indicates an OfferCatalog listing for this Organization, Person, or Service.
74
90
  */
@@ -69,7 +69,6 @@ export interface ISettings {
69
69
  sendgridApiKey?: string;
70
70
  transactionWebhookUrls?: string[];
71
71
  useMyCreditCards?: boolean;
72
- useTransactionClientUser?: boolean;
73
72
  useUsernameAsGMOMemberId?: boolean;
74
73
  }
75
74
  /**
@@ -1,22 +1,8 @@
1
1
  import { IOrganization } from '../organization';
2
+ import { IAvailableChannel } from '../product';
2
3
  import { IProject } from '../project';
3
4
  import { IServiceType } from '../serviceType';
4
5
  import { IThing } from '../thing';
5
- /**
6
- * 外部サービス認証情報
7
- */
8
- export interface ICredentials {
9
- siteId?: string;
10
- sitePass?: string;
11
- authorizeServerDomain?: string;
12
- clientId?: string;
13
- clientSecret?: string;
14
- }
15
- export interface IAvailableChannel {
16
- typeOf: 'ServiceChannel';
17
- serviceUrl?: string;
18
- credentials?: ICredentials;
19
- }
20
6
  export declare enum PaymentServiceType {
21
7
  CreditCard = "CreditCard",
22
8
  FaceToFace = "FaceToFace",
@@ -1,6 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PaymentServiceType = void 0;
4
+ // export interface IServiceOutput {
5
+ // /**
6
+ // * 決済方法タイプ
7
+ // */
8
+ // typeOf: string;
9
+ // }
4
10
  var PaymentServiceType;
5
11
  (function (PaymentServiceType) {
6
12
  PaymentServiceType["CreditCard"] = "CreditCard";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.177.0",
3
+ "version": "4.181.0-alpha.0",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",