@wix/pricing-plans 1.0.71 → 1.0.73
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.
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@wix/pricing-plans",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.73",
|
4
4
|
"publishConfig": {
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
6
6
|
"access": "public"
|
@@ -18,10 +18,11 @@
|
|
18
18
|
"type-bundles"
|
19
19
|
],
|
20
20
|
"dependencies": {
|
21
|
-
"@wix/pricing-plans_orders": "1.0.
|
22
|
-
"@wix/pricing-plans_plans": "1.0.
|
21
|
+
"@wix/pricing-plans_orders": "1.0.26",
|
22
|
+
"@wix/pricing-plans_plans": "1.0.28"
|
23
23
|
},
|
24
24
|
"devDependencies": {
|
25
|
+
"@wix/sdk": "https://cdn.dev.wixpress.com/@wix/sdk/02e8069ab2fd783e0e6a080fc7d590e76cb26ab93c8389574286305b.tar.gz",
|
25
26
|
"glob": "^10.4.1",
|
26
27
|
"rollup": "^4.18.0",
|
27
28
|
"rollup-plugin-dts": "^6.1.1",
|
@@ -43,5 +44,5 @@
|
|
43
44
|
"fqdn": ""
|
44
45
|
}
|
45
46
|
},
|
46
|
-
"falconPackageHash": "
|
47
|
+
"falconPackageHash": "11e683b92efa7de5a684135926a7ba88550e7f0dac03fcc506464c13"
|
47
48
|
}
|
@@ -1385,7 +1385,6 @@ interface ManagementListOrdersOptions {
|
|
1385
1385
|
type RESTFunctionDescriptor$1<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient$1) => T;
|
1386
1386
|
interface HttpClient$1 {
|
1387
1387
|
request<TResponse, TData = any>(req: RequestOptionsFactory$1<TResponse, TData>): Promise<HttpResponse$1<TResponse>>;
|
1388
|
-
fetchWithAuth: (url: string | URL, init?: RequestInit) => Promise<Response>;
|
1389
1388
|
}
|
1390
1389
|
type RequestOptionsFactory$1<TResponse = any, TData = any> = (context: any) => RequestOptions$1<TResponse, TData>;
|
1391
1390
|
type HttpResponse$1<T = any> = {
|
@@ -1411,20 +1410,13 @@ type EventDefinition$1<Payload = unknown, Type extends string = string> = {
|
|
1411
1410
|
__type: 'event-definition';
|
1412
1411
|
type: Type;
|
1413
1412
|
isDomainEvent?: boolean;
|
1414
|
-
transformations?:
|
1413
|
+
transformations?: unknown;
|
1415
1414
|
__payload: Payload;
|
1416
1415
|
};
|
1417
|
-
declare function EventDefinition$1<Type extends string>(type: Type, isDomainEvent?: boolean,
|
1416
|
+
declare function EventDefinition$1<Type extends string>(type: Type, isDomainEvent?: boolean, _transformations?: unknown): <Payload = unknown>() => EventDefinition$1<Payload, Type>;
|
1418
1417
|
type EventHandler$1<T extends EventDefinition$1> = (payload: T['__payload']) => void | Promise<void>;
|
1419
1418
|
type BuildEventDefinition$1<T extends EventDefinition$1<any, string>> = (handler: EventHandler$1<T>) => void;
|
1420
1419
|
|
1421
|
-
declare global {
|
1422
|
-
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
1423
|
-
interface SymbolConstructor {
|
1424
|
-
readonly observable: symbol;
|
1425
|
-
}
|
1426
|
-
}
|
1427
|
-
|
1428
1420
|
declare function memberGetOrder$1(httpClient: HttpClient$1): (_id: string, options?: MemberGetOrderOptions) => Promise<Order & {
|
1429
1421
|
_id: string;
|
1430
1422
|
planId: string;
|
@@ -2238,7 +2230,6 @@ interface UpdatePlan {
|
|
2238
2230
|
type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
|
2239
2231
|
interface HttpClient {
|
2240
2232
|
request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
|
2241
|
-
fetchWithAuth: (url: string | URL, init?: RequestInit) => Promise<Response>;
|
2242
2233
|
}
|
2243
2234
|
type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
|
2244
2235
|
type HttpResponse<T = any> = {
|
@@ -2264,20 +2255,13 @@ type EventDefinition<Payload = unknown, Type extends string = string> = {
|
|
2264
2255
|
__type: 'event-definition';
|
2265
2256
|
type: Type;
|
2266
2257
|
isDomainEvent?: boolean;
|
2267
|
-
transformations?:
|
2258
|
+
transformations?: unknown;
|
2268
2259
|
__payload: Payload;
|
2269
2260
|
};
|
2270
|
-
declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean,
|
2261
|
+
declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, _transformations?: unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
|
2271
2262
|
type EventHandler<T extends EventDefinition> = (payload: T['__payload']) => void | Promise<void>;
|
2272
2263
|
type BuildEventDefinition<T extends EventDefinition<any, string>> = (handler: EventHandler<T>) => void;
|
2273
2264
|
|
2274
|
-
declare global {
|
2275
|
-
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
2276
|
-
interface SymbolConstructor {
|
2277
|
-
readonly observable: symbol;
|
2278
|
-
}
|
2279
|
-
}
|
2280
|
-
|
2281
2265
|
declare function listPublicPlans$1(httpClient: HttpClient): (options?: ListPublicPlansOptions) => Promise<ListPublicPlansResponse & ListPublicPlansResponseNonNullableFields>;
|
2282
2266
|
declare function queryPublicPlans$1(httpClient: HttpClient): () => PlansQueryBuilder;
|
2283
2267
|
declare function getPlan$1(httpClient: HttpClient): (_id: string) => Promise<Plan & {
|
@@ -2045,7 +2045,6 @@ interface ManagementListOrdersOptions {
|
|
2045
2045
|
|
2046
2046
|
interface HttpClient$1 {
|
2047
2047
|
request<TResponse, TData = any>(req: RequestOptionsFactory$1<TResponse, TData>): Promise<HttpResponse$1<TResponse>>;
|
2048
|
-
fetchWithAuth: (url: string | URL, init?: RequestInit) => Promise<Response>;
|
2049
2048
|
}
|
2050
2049
|
type RequestOptionsFactory$1<TResponse = any, TData = any> = (context: any) => RequestOptions$1<TResponse, TData>;
|
2051
2050
|
type HttpResponse$1<T = any> = {
|
@@ -2070,17 +2069,10 @@ type EventDefinition$1<Payload = unknown, Type extends string = string> = {
|
|
2070
2069
|
__type: 'event-definition';
|
2071
2070
|
type: Type;
|
2072
2071
|
isDomainEvent?: boolean;
|
2073
|
-
transformations?:
|
2072
|
+
transformations?: unknown;
|
2074
2073
|
__payload: Payload;
|
2075
2074
|
};
|
2076
|
-
declare function EventDefinition$1<Type extends string>(type: Type, isDomainEvent?: boolean,
|
2077
|
-
|
2078
|
-
declare global {
|
2079
|
-
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
2080
|
-
interface SymbolConstructor {
|
2081
|
-
readonly observable: symbol;
|
2082
|
-
}
|
2083
|
-
}
|
2075
|
+
declare function EventDefinition$1<Type extends string>(type: Type, isDomainEvent?: boolean, _transformations?: unknown): <Payload = unknown>() => EventDefinition$1<Payload, Type>;
|
2084
2076
|
|
2085
2077
|
declare const __metadata$1: {
|
2086
2078
|
PACKAGE_NAME: string;
|
@@ -3362,7 +3354,6 @@ interface UpdatePlan {
|
|
3362
3354
|
|
3363
3355
|
interface HttpClient {
|
3364
3356
|
request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
|
3365
|
-
fetchWithAuth: (url: string | URL, init?: RequestInit) => Promise<Response>;
|
3366
3357
|
}
|
3367
3358
|
type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
|
3368
3359
|
type HttpResponse<T = any> = {
|
@@ -3387,17 +3378,10 @@ type EventDefinition<Payload = unknown, Type extends string = string> = {
|
|
3387
3378
|
__type: 'event-definition';
|
3388
3379
|
type: Type;
|
3389
3380
|
isDomainEvent?: boolean;
|
3390
|
-
transformations?:
|
3381
|
+
transformations?: unknown;
|
3391
3382
|
__payload: Payload;
|
3392
3383
|
};
|
3393
|
-
declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean,
|
3394
|
-
|
3395
|
-
declare global {
|
3396
|
-
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
3397
|
-
interface SymbolConstructor {
|
3398
|
-
readonly observable: symbol;
|
3399
|
-
}
|
3400
|
-
}
|
3384
|
+
declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, _transformations?: unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
|
3401
3385
|
|
3402
3386
|
declare const __metadata: {
|
3403
3387
|
PACKAGE_NAME: string;
|