@cinerino/sdk 13.1.0 → 13.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,4 +1,5 @@
1
1
  import { IAdditionalOptions, IOptions } from '../service';
2
+ import type { AcceptedPaymentMethodService } from './search/acceptedPaymentMethod';
2
3
  import type { CreativeWorkService } from './search/creativeWork';
3
4
  import type { EventOfferService } from './search/eventOffer';
4
5
  import type { PaymentProductService } from './search/paymentService';
@@ -10,6 +11,13 @@ import type { SeatOfferService } from './search/seatOffer';
10
11
  * publicリソース検索サービス群
11
12
  */
12
13
  export declare namespace service {
14
+ /**
15
+ * 対応決済方法サービス
16
+ */
17
+ type AcceptedPaymentMethod = AcceptedPaymentMethodService;
18
+ namespace AcceptedPaymentMethod {
19
+ let svc: typeof AcceptedPaymentMethodService | undefined;
20
+ }
13
21
  /**
14
22
  * コンテンツサービス
15
23
  */
@@ -66,6 +74,10 @@ export declare namespace service {
66
74
  export declare class CloudSearch {
67
75
  options: Pick<IOptions, 'auth' | 'endpoint' | 'disableAutoRetry' | 'defaultPath'>;
68
76
  constructor(options: Pick<IOptions, 'auth' | 'endpoint' | 'disableAutoRetry' | 'defaultPath'>);
77
+ /**
78
+ * 対応決済方法サービスインスタンス生成
79
+ */
80
+ createAcceptedPaymentMethodInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<AcceptedPaymentMethodService>;
69
81
  /**
70
82
  * コンテンツサービスインスタンス生成
71
83
  */
@@ -55,6 +55,9 @@ var http_status_1 = require("http-status");
55
55
  */
56
56
  var service;
57
57
  (function (service) {
58
+ var AcceptedPaymentMethod;
59
+ (function (AcceptedPaymentMethod) {
60
+ })(AcceptedPaymentMethod = service.AcceptedPaymentMethod || (service.AcceptedPaymentMethod = {}));
58
61
  var CreativeWork;
59
62
  (function (CreativeWork) {
60
63
  })(CreativeWork = service.CreativeWork || (service.CreativeWork = {}));
@@ -85,6 +88,26 @@ var CloudSearch = /** @class */ (function () {
85
88
  function CloudSearch(options) {
86
89
  this.options = options;
87
90
  }
91
+ /**
92
+ * 対応決済方法サービスインスタンス生成
93
+ */
94
+ CloudSearch.prototype.createAcceptedPaymentMethodInstance = function (params) {
95
+ return __awaiter(this, void 0, void 0, function () {
96
+ var _a;
97
+ return __generator(this, function (_b) {
98
+ switch (_b.label) {
99
+ case 0:
100
+ if (!(service.AcceptedPaymentMethod.svc === undefined)) return [3 /*break*/, 2];
101
+ _a = service.AcceptedPaymentMethod;
102
+ return [4 /*yield*/, Promise.resolve().then(function () { return require('./search/acceptedPaymentMethod'); })];
103
+ case 1:
104
+ _a.svc = (_b.sent()).AcceptedPaymentMethodService;
105
+ _b.label = 2;
106
+ case 2: return [2 /*return*/, new service.AcceptedPaymentMethod.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: defaultRetryableStatusCodes }))];
107
+ }
108
+ });
109
+ });
110
+ };
88
111
  /**
89
112
  * コンテンツサービスインスタンス生成
90
113
  */