@stock-in-the-channel/sinch-vue-components 0.0.301 → 0.0.302
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/dist/index.es.js +7647 -7481
- package/dist/style.css +1 -1
- package/dist/types/api-clients/generated/graphql.d.ts +122 -63
- package/dist/types/components/CloudChannel/Pages/Subscription/SubscriptionIndex.vue.d.ts +5 -3
- package/dist/types/components/CloudChannel/Pages/Subscription/SubscriptionsTable.vue.d.ts +9 -3
- package/dist/types/i18n/index.d.ts +2 -0
- package/dist/types/i18n/translations/index.d.ts +2 -0
- package/package.json +1 -1
- /package/dist/types/{main.d.ts → Main.d.ts} +0 -0
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.thumbnail-container{text-align:center}.q-dialog-plugin[data-v-b906ffe5]{max-width:1100px;width:80vw}.q-td{min-width:80px}
|
|
1
|
+
.thumbnail-container{text-align:center}.view-toggle-buttons[data-v-704f9162]{display:flex;justify-content:flex-end;margin-bottom:1rem}.view-toggle-buttons .q-btn.active[data-v-704f9162]{color:var(--q-primary);background-color:var(--q-primary-light)}.q-dialog-plugin[data-v-b906ffe5]{max-width:1100px;width:80vw}.q-td{min-width:80px}
|
|
@@ -377,8 +377,8 @@ export type CspGraphQlQueries = {
|
|
|
377
377
|
searchOrders?: Maybe<SearchOrdersCollectionSegment>;
|
|
378
378
|
siteTheme?: Maybe<SiteThemePayload>;
|
|
379
379
|
siteThemeForReseller?: Maybe<SiteThemePayload>;
|
|
380
|
-
subscriptionDetails?: Maybe<
|
|
381
|
-
subscriptionDetailsBySystemAndId?: Maybe<
|
|
380
|
+
subscriptionDetails?: Maybe<SubscriptionGqlModel>;
|
|
381
|
+
subscriptionDetailsBySystemAndId?: Maybe<SubscriptionGqlModel>;
|
|
382
382
|
subscriptionDetailsFromProvider?: Maybe<Subscription>;
|
|
383
383
|
subscriptionOrderDetails?: Maybe<SubscriptionOrderDetailsCollectionSegment>;
|
|
384
384
|
subscriptionOrderStatusHistoriesModel?: Maybe<SubscriptionOrderStatusHistoriesModelCollectionSegment>;
|
|
@@ -386,7 +386,6 @@ export type CspGraphQlQueries = {
|
|
|
386
386
|
subscriptionsIndexPage: SubscriptionsIndexPagePayload;
|
|
387
387
|
techDataCreateCustomerConfig: TechDataCreateCustomerConfigPayload;
|
|
388
388
|
techDataExternalSystemClient: GetTechDataExternalSystemClientPayload;
|
|
389
|
-
topCategories: Array<GetTopCategoriesPayload>;
|
|
390
389
|
vendorOrderParameters: Array<VendorOrderParameter>;
|
|
391
390
|
vendorOrderParametersByBasketId: Array<VendorOrderParameter>;
|
|
392
391
|
westcoastCreateCustomerConfig: WestcoastCreateCustomerConfigPayload;
|
|
@@ -419,10 +418,10 @@ export type CspGraphQlQueriesCustomerOfferingsArgs = {
|
|
|
419
418
|
input: GetCustomerOfferingsInput;
|
|
420
419
|
};
|
|
421
420
|
export type CspGraphQlQueriesCustomerSubscriptionsArgs = {
|
|
422
|
-
order?: InputMaybe<Array<
|
|
421
|
+
order?: InputMaybe<Array<SubscriptionGqlModelSortInput>>;
|
|
423
422
|
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
424
423
|
take?: InputMaybe<Scalars['Int']['input']>;
|
|
425
|
-
where?: InputMaybe<
|
|
424
|
+
where?: InputMaybe<SubscriptionGqlModelFilterInput>;
|
|
426
425
|
};
|
|
427
426
|
export type CspGraphQlQueriesCustomersArgs = {
|
|
428
427
|
input: GetCustomersInput;
|
|
@@ -513,10 +512,10 @@ export type CspGraphQlQueriesSubscriptionOrderStatusHistoriesModelArgs = {
|
|
|
513
512
|
where?: InputMaybe<SubscriptionOrderStatusHistoriesModelFilterInput>;
|
|
514
513
|
};
|
|
515
514
|
export type CspGraphQlQueriesSubscriptionsArgs = {
|
|
516
|
-
order?: InputMaybe<Array<
|
|
515
|
+
order?: InputMaybe<Array<SubscriptionGqlModelSortInput>>;
|
|
517
516
|
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
518
517
|
take?: InputMaybe<Scalars['Int']['input']>;
|
|
519
|
-
where?: InputMaybe<
|
|
518
|
+
where?: InputMaybe<SubscriptionGqlModelFilterInput>;
|
|
520
519
|
};
|
|
521
520
|
export type CspGraphQlQueriesSubscriptionsIndexPageArgs = {
|
|
522
521
|
cspCentralisedCustomerId?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -524,9 +523,11 @@ export type CspGraphQlQueriesSubscriptionsIndexPageArgs = {
|
|
|
524
523
|
dateFrom?: InputMaybe<Scalars['DateTime']['input']>;
|
|
525
524
|
dateTo?: InputMaybe<Scalars['DateTime']['input']>;
|
|
526
525
|
daysToRenewalDate?: InputMaybe<Scalars['Int']['input']>;
|
|
526
|
+
descending: Scalars['Boolean']['input'];
|
|
527
527
|
externalSystem?: InputMaybe<Scalars['String']['input']>;
|
|
528
528
|
externalSystemClientId?: InputMaybe<Scalars['Int']['input']>;
|
|
529
529
|
skip: Scalars['Int']['input'];
|
|
530
|
+
sortBy?: InputMaybe<Scalars['String']['input']>;
|
|
530
531
|
status?: InputMaybe<Scalars['String']['input']>;
|
|
531
532
|
subscriptionName?: InputMaybe<Scalars['String']['input']>;
|
|
532
533
|
take: Scalars['Int']['input'];
|
|
@@ -859,7 +860,7 @@ export type CustomerRemoveItemFromBasketPayload = {
|
|
|
859
860
|
export type CustomerSubscriptionsCollectionSegment = {
|
|
860
861
|
__typename?: 'CustomerSubscriptionsCollectionSegment';
|
|
861
862
|
/** A flattened list of the items. */
|
|
862
|
-
items?: Maybe<Array<
|
|
863
|
+
items?: Maybe<Array<SubscriptionGqlModel>>;
|
|
863
864
|
/** Information to aid in pagination. */
|
|
864
865
|
pageInfo: CollectionSegmentInfo;
|
|
865
866
|
totalCount: Scalars['Int']['output'];
|
|
@@ -1268,14 +1269,6 @@ export type GetTechDataExternalSystemClientPayload = {
|
|
|
1268
1269
|
settingsDistributorId: Scalars['Int']['output'];
|
|
1269
1270
|
settingsPeriod: Scalars['String']['output'];
|
|
1270
1271
|
};
|
|
1271
|
-
export type GetTopCategoriesPayload = {
|
|
1272
|
-
__typename?: 'GetTopCategoriesPayload';
|
|
1273
|
-
id: Scalars['Int']['output'];
|
|
1274
|
-
imageUrl?: Maybe<Scalars['String']['output']>;
|
|
1275
|
-
level: Scalars['Int']['output'];
|
|
1276
|
-
name: Scalars['String']['output'];
|
|
1277
|
-
parentId?: Maybe<Scalars['Int']['output']>;
|
|
1278
|
-
};
|
|
1279
1272
|
export type GetWestcoastExternalSystemClientPayload = {
|
|
1280
1273
|
__typename?: 'GetWestcoastExternalSystemClientPayload';
|
|
1281
1274
|
credentialsPassword: Scalars['String']['output'];
|
|
@@ -1775,6 +1768,7 @@ export type Query = {
|
|
|
1775
1768
|
__typename?: 'Query';
|
|
1776
1769
|
acronisCreateCustomerConfig: AcronisCreateCustomerConfigPayload;
|
|
1777
1770
|
acronisExternalSystemClient: GetAcronisExternalSystemClientPayload;
|
|
1771
|
+
applySortingToSubscription: Array<SubscriptionGqlModel>;
|
|
1778
1772
|
basketDetails?: Maybe<GetBasketDetailsPayload>;
|
|
1779
1773
|
checkAcronisLoginAvailability: Scalars['Boolean']['output'];
|
|
1780
1774
|
checkForProductVariants: Array<CheckForProductVariantsPayload>;
|
|
@@ -1803,8 +1797,8 @@ export type Query = {
|
|
|
1803
1797
|
searchOrders?: Maybe<SearchOrdersCollectionSegment>;
|
|
1804
1798
|
siteTheme?: Maybe<SiteThemePayload>;
|
|
1805
1799
|
siteThemeForReseller?: Maybe<SiteThemePayload>;
|
|
1806
|
-
subscriptionDetails?: Maybe<
|
|
1807
|
-
subscriptionDetailsBySystemAndId?: Maybe<
|
|
1800
|
+
subscriptionDetails?: Maybe<SubscriptionGqlModel>;
|
|
1801
|
+
subscriptionDetailsBySystemAndId?: Maybe<SubscriptionGqlModel>;
|
|
1808
1802
|
subscriptionDetailsFromProvider?: Maybe<Subscription>;
|
|
1809
1803
|
subscriptionOrderDetails?: Maybe<SubscriptionOrderDetailsCollectionSegment>;
|
|
1810
1804
|
subscriptionOrderStatusHistoriesModel?: Maybe<SubscriptionOrderStatusHistoriesModelCollectionSegment>;
|
|
@@ -1812,7 +1806,6 @@ export type Query = {
|
|
|
1812
1806
|
subscriptionsIndexPage: SubscriptionsIndexPagePayload;
|
|
1813
1807
|
techDataCreateCustomerConfig: TechDataCreateCustomerConfigPayload;
|
|
1814
1808
|
techDataExternalSystemClient: GetTechDataExternalSystemClientPayload;
|
|
1815
|
-
topCategories: Array<GetTopCategoriesPayload>;
|
|
1816
1809
|
vendorOrderParameters: Array<VendorOrderParameter>;
|
|
1817
1810
|
vendorOrderParametersByBasketId: Array<VendorOrderParameter>;
|
|
1818
1811
|
westcoastCreateCustomerConfig: WestcoastCreateCustomerConfigPayload;
|
|
@@ -1822,6 +1815,10 @@ export type Query = {
|
|
|
1822
1815
|
export type QueryAcronisExternalSystemClientArgs = {
|
|
1823
1816
|
externalSystemClientId: Scalars['Int']['input'];
|
|
1824
1817
|
};
|
|
1818
|
+
export type QueryApplySortingToSubscriptionArgs = {
|
|
1819
|
+
query: Array<SubscriptionGqlModelInput>;
|
|
1820
|
+
sortParams: SortParamsInput;
|
|
1821
|
+
};
|
|
1825
1822
|
export type QueryBasketDetailsArgs = {
|
|
1826
1823
|
basketId: Scalars['Int']['input'];
|
|
1827
1824
|
};
|
|
@@ -1845,10 +1842,10 @@ export type QueryCustomerOfferingsArgs = {
|
|
|
1845
1842
|
input: GetCustomerOfferingsInput;
|
|
1846
1843
|
};
|
|
1847
1844
|
export type QueryCustomerSubscriptionsArgs = {
|
|
1848
|
-
order?: InputMaybe<Array<
|
|
1845
|
+
order?: InputMaybe<Array<SubscriptionGqlModelSortInput>>;
|
|
1849
1846
|
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
1850
1847
|
take?: InputMaybe<Scalars['Int']['input']>;
|
|
1851
|
-
where?: InputMaybe<
|
|
1848
|
+
where?: InputMaybe<SubscriptionGqlModelFilterInput>;
|
|
1852
1849
|
};
|
|
1853
1850
|
export type QueryCustomersArgs = {
|
|
1854
1851
|
input: GetCustomersInput;
|
|
@@ -1939,10 +1936,10 @@ export type QuerySubscriptionOrderStatusHistoriesModelArgs = {
|
|
|
1939
1936
|
where?: InputMaybe<SubscriptionOrderStatusHistoriesModelFilterInput>;
|
|
1940
1937
|
};
|
|
1941
1938
|
export type QuerySubscriptionsArgs = {
|
|
1942
|
-
order?: InputMaybe<Array<
|
|
1939
|
+
order?: InputMaybe<Array<SubscriptionGqlModelSortInput>>;
|
|
1943
1940
|
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
1944
1941
|
take?: InputMaybe<Scalars['Int']['input']>;
|
|
1945
|
-
where?: InputMaybe<
|
|
1942
|
+
where?: InputMaybe<SubscriptionGqlModelFilterInput>;
|
|
1946
1943
|
};
|
|
1947
1944
|
export type QuerySubscriptionsIndexPageArgs = {
|
|
1948
1945
|
cspCentralisedCustomerId?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -1950,9 +1947,11 @@ export type QuerySubscriptionsIndexPageArgs = {
|
|
|
1950
1947
|
dateFrom?: InputMaybe<Scalars['DateTime']['input']>;
|
|
1951
1948
|
dateTo?: InputMaybe<Scalars['DateTime']['input']>;
|
|
1952
1949
|
daysToRenewalDate?: InputMaybe<Scalars['Int']['input']>;
|
|
1950
|
+
descending: Scalars['Boolean']['input'];
|
|
1953
1951
|
externalSystem?: InputMaybe<Scalars['String']['input']>;
|
|
1954
1952
|
externalSystemClientId?: InputMaybe<Scalars['Int']['input']>;
|
|
1955
1953
|
skip: Scalars['Int']['input'];
|
|
1954
|
+
sortBy?: InputMaybe<Scalars['String']['input']>;
|
|
1956
1955
|
status?: InputMaybe<Scalars['String']['input']>;
|
|
1957
1956
|
subscriptionName?: InputMaybe<Scalars['String']['input']>;
|
|
1958
1957
|
take: Scalars['Int']['input'];
|
|
@@ -2237,6 +2236,10 @@ export declare enum SortEnumType {
|
|
|
2237
2236
|
Asc = "ASC",
|
|
2238
2237
|
Desc = "DESC"
|
|
2239
2238
|
}
|
|
2239
|
+
export type SortParamsInput = {
|
|
2240
|
+
descending: Scalars['Boolean']['input'];
|
|
2241
|
+
sortBy: Scalars['String']['input'];
|
|
2242
|
+
};
|
|
2240
2243
|
export type StringOperationFilterInput = {
|
|
2241
2244
|
and?: InputMaybe<Array<StringOperationFilterInput>>;
|
|
2242
2245
|
contains?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -2275,39 +2278,8 @@ export type Subscription = {
|
|
|
2275
2278
|
totalSubscriptionPrice?: Maybe<SubscriptionPrice>;
|
|
2276
2279
|
totalSubscriptionProviderCost?: Maybe<SubscriptionPrice>;
|
|
2277
2280
|
};
|
|
2278
|
-
export type
|
|
2279
|
-
__typename?: '
|
|
2280
|
-
cost?: Maybe<Scalars['Decimal']['output']>;
|
|
2281
|
-
isMainSubscription: Scalars['Boolean']['output'];
|
|
2282
|
-
name: Scalars['String']['output'];
|
|
2283
|
-
price?: Maybe<Scalars['Decimal']['output']>;
|
|
2284
|
-
quantity: Scalars['Long']['output'];
|
|
2285
|
-
sku: Scalars['String']['output'];
|
|
2286
|
-
stockLevel?: Maybe<Scalars['Int']['output']>;
|
|
2287
|
-
subscriptionId: Scalars['Int']['output'];
|
|
2288
|
-
vendor?: Maybe<Scalars['String']['output']>;
|
|
2289
|
-
};
|
|
2290
|
-
export type SubscriptionLineFilterInput = {
|
|
2291
|
-
and?: InputMaybe<Array<SubscriptionLineFilterInput>>;
|
|
2292
|
-
cost?: InputMaybe<DecimalOperationFilterInput>;
|
|
2293
|
-
isMainSubscription?: InputMaybe<BooleanOperationFilterInput>;
|
|
2294
|
-
name?: InputMaybe<StringOperationFilterInput>;
|
|
2295
|
-
or?: InputMaybe<Array<SubscriptionLineFilterInput>>;
|
|
2296
|
-
price?: InputMaybe<DecimalOperationFilterInput>;
|
|
2297
|
-
quantity?: InputMaybe<LongOperationFilterInput>;
|
|
2298
|
-
sku?: InputMaybe<StringOperationFilterInput>;
|
|
2299
|
-
stockLevel?: InputMaybe<IntOperationFilterInput>;
|
|
2300
|
-
subscriptionId?: InputMaybe<IntOperationFilterInput>;
|
|
2301
|
-
vendor?: InputMaybe<StringOperationFilterInput>;
|
|
2302
|
-
};
|
|
2303
|
-
export type SubscriptionLineInput = {
|
|
2304
|
-
isMainSubscription: Scalars['Boolean']['input'];
|
|
2305
|
-
quantity: Scalars['Int']['input'];
|
|
2306
|
-
sku: Scalars['String']['input'];
|
|
2307
|
-
vendor?: InputMaybe<Scalars['String']['input']>;
|
|
2308
|
-
};
|
|
2309
|
-
export type SubscriptionModelGraphQl = {
|
|
2310
|
-
__typename?: 'SubscriptionModelGraphQL';
|
|
2281
|
+
export type SubscriptionGqlModel = {
|
|
2282
|
+
__typename?: 'SubscriptionGqlModel';
|
|
2311
2283
|
billingPeriod?: Maybe<Scalars['String']['output']>;
|
|
2312
2284
|
billingPeriodDuration?: Maybe<Scalars['Decimal']['output']>;
|
|
2313
2285
|
centralisedCustomerId: Scalars['Int']['output'];
|
|
@@ -2336,8 +2308,8 @@ export type SubscriptionModelGraphQl = {
|
|
|
2336
2308
|
subscriptionPeriodDuration?: Maybe<Scalars['Decimal']['output']>;
|
|
2337
2309
|
updatedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
2338
2310
|
};
|
|
2339
|
-
export type
|
|
2340
|
-
and?: InputMaybe<Array<
|
|
2311
|
+
export type SubscriptionGqlModelFilterInput = {
|
|
2312
|
+
and?: InputMaybe<Array<SubscriptionGqlModelFilterInput>>;
|
|
2341
2313
|
billingPeriod?: InputMaybe<StringOperationFilterInput>;
|
|
2342
2314
|
billingPeriodDuration?: InputMaybe<DecimalOperationFilterInput>;
|
|
2343
2315
|
centralisedCustomerId?: InputMaybe<IntOperationFilterInput>;
|
|
@@ -2354,7 +2326,7 @@ export type SubscriptionModelGraphQlFilterInput = {
|
|
|
2354
2326
|
hasPendingChanges?: InputMaybe<BooleanOperationFilterInput>;
|
|
2355
2327
|
isAutoRenewalEnabled?: InputMaybe<BooleanOperationFilterInput>;
|
|
2356
2328
|
lines?: InputMaybe<ListFilterInputTypeOfSubscriptionLineFilterInput>;
|
|
2357
|
-
or?: InputMaybe<Array<
|
|
2329
|
+
or?: InputMaybe<Array<SubscriptionGqlModelFilterInput>>;
|
|
2358
2330
|
orders?: InputMaybe<ListFilterInputTypeOfSubscriptionOrderFilterInput>;
|
|
2359
2331
|
providerCustomerId?: InputMaybe<StringOperationFilterInput>;
|
|
2360
2332
|
providerSubscriptionId?: InputMaybe<StringOperationFilterInput>;
|
|
@@ -2367,7 +2339,36 @@ export type SubscriptionModelGraphQlFilterInput = {
|
|
|
2367
2339
|
subscriptionPeriodDuration?: InputMaybe<DecimalOperationFilterInput>;
|
|
2368
2340
|
updatedAt?: InputMaybe<DateTimeOperationFilterInput>;
|
|
2369
2341
|
};
|
|
2370
|
-
export type
|
|
2342
|
+
export type SubscriptionGqlModelInput = {
|
|
2343
|
+
billingPeriod?: InputMaybe<Scalars['String']['input']>;
|
|
2344
|
+
billingPeriodDuration?: InputMaybe<Scalars['Decimal']['input']>;
|
|
2345
|
+
centralisedCustomerId: Scalars['Int']['input'];
|
|
2346
|
+
createdAt?: InputMaybe<Scalars['DateTime']['input']>;
|
|
2347
|
+
cspCustomerId: Scalars['Int']['input'];
|
|
2348
|
+
cspSubscriptionId: Scalars['Int']['input'];
|
|
2349
|
+
currency?: InputMaybe<Scalars['String']['input']>;
|
|
2350
|
+
customerName?: InputMaybe<Scalars['String']['input']>;
|
|
2351
|
+
daysToRenewal?: InputMaybe<Scalars['Int']['input']>;
|
|
2352
|
+
externalSystem: Scalars['String']['input'];
|
|
2353
|
+
externalSystemClientId: Scalars['Int']['input'];
|
|
2354
|
+
externalSystemClientName: Scalars['String']['input'];
|
|
2355
|
+
externalSystemType: ExternalSystemType;
|
|
2356
|
+
hasPendingChanges: Scalars['Boolean']['input'];
|
|
2357
|
+
isAutoRenewalEnabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2358
|
+
lines: Array<SubscriptionLineInput>;
|
|
2359
|
+
orders: Array<SubscriptionOrderInput>;
|
|
2360
|
+
providerCustomerId: Scalars['String']['input'];
|
|
2361
|
+
providerSubscriptionId: Scalars['String']['input'];
|
|
2362
|
+
renewalDate?: InputMaybe<Scalars['DateTime']['input']>;
|
|
2363
|
+
sinchAccountId?: InputMaybe<Scalars['String']['input']>;
|
|
2364
|
+
sku: Scalars['String']['input'];
|
|
2365
|
+
status: Scalars['String']['input'];
|
|
2366
|
+
subscriptionName: Scalars['String']['input'];
|
|
2367
|
+
subscriptionPeriod?: InputMaybe<Scalars['String']['input']>;
|
|
2368
|
+
subscriptionPeriodDuration?: InputMaybe<Scalars['Decimal']['input']>;
|
|
2369
|
+
updatedAt?: InputMaybe<Scalars['DateTime']['input']>;
|
|
2370
|
+
};
|
|
2371
|
+
export type SubscriptionGqlModelSortInput = {
|
|
2371
2372
|
billingPeriod?: InputMaybe<SortEnumType>;
|
|
2372
2373
|
billingPeriodDuration?: InputMaybe<SortEnumType>;
|
|
2373
2374
|
centralisedCustomerId?: InputMaybe<SortEnumType>;
|
|
@@ -2394,6 +2395,48 @@ export type SubscriptionModelGraphQlSortInput = {
|
|
|
2394
2395
|
subscriptionPeriodDuration?: InputMaybe<SortEnumType>;
|
|
2395
2396
|
updatedAt?: InputMaybe<SortEnumType>;
|
|
2396
2397
|
};
|
|
2398
|
+
export type SubscriptionLine = {
|
|
2399
|
+
__typename?: 'SubscriptionLine';
|
|
2400
|
+
cost?: Maybe<Scalars['Decimal']['output']>;
|
|
2401
|
+
isMainSubscription: Scalars['Boolean']['output'];
|
|
2402
|
+
name: Scalars['String']['output'];
|
|
2403
|
+
price?: Maybe<Scalars['Decimal']['output']>;
|
|
2404
|
+
quantity: Scalars['Long']['output'];
|
|
2405
|
+
sku: Scalars['String']['output'];
|
|
2406
|
+
stockLevel?: Maybe<Scalars['Int']['output']>;
|
|
2407
|
+
subscriptionId: Scalars['Int']['output'];
|
|
2408
|
+
vendor?: Maybe<Scalars['String']['output']>;
|
|
2409
|
+
};
|
|
2410
|
+
export type SubscriptionLineFilterInput = {
|
|
2411
|
+
and?: InputMaybe<Array<SubscriptionLineFilterInput>>;
|
|
2412
|
+
cost?: InputMaybe<DecimalOperationFilterInput>;
|
|
2413
|
+
isMainSubscription?: InputMaybe<BooleanOperationFilterInput>;
|
|
2414
|
+
name?: InputMaybe<StringOperationFilterInput>;
|
|
2415
|
+
or?: InputMaybe<Array<SubscriptionLineFilterInput>>;
|
|
2416
|
+
price?: InputMaybe<DecimalOperationFilterInput>;
|
|
2417
|
+
quantity?: InputMaybe<LongOperationFilterInput>;
|
|
2418
|
+
sku?: InputMaybe<StringOperationFilterInput>;
|
|
2419
|
+
stockLevel?: InputMaybe<IntOperationFilterInput>;
|
|
2420
|
+
subscriptionId?: InputMaybe<IntOperationFilterInput>;
|
|
2421
|
+
vendor?: InputMaybe<StringOperationFilterInput>;
|
|
2422
|
+
};
|
|
2423
|
+
export type SubscriptionLineInput = {
|
|
2424
|
+
cost?: InputMaybe<Scalars['Decimal']['input']>;
|
|
2425
|
+
isMainSubscription: Scalars['Boolean']['input'];
|
|
2426
|
+
name: Scalars['String']['input'];
|
|
2427
|
+
price?: InputMaybe<Scalars['Decimal']['input']>;
|
|
2428
|
+
quantity: Scalars['Long']['input'];
|
|
2429
|
+
sku: Scalars['String']['input'];
|
|
2430
|
+
stockLevel?: InputMaybe<Scalars['Int']['input']>;
|
|
2431
|
+
subscriptionId: Scalars['Int']['input'];
|
|
2432
|
+
vendor?: InputMaybe<Scalars['String']['input']>;
|
|
2433
|
+
};
|
|
2434
|
+
export type SubscriptionLineInputGqlInput = {
|
|
2435
|
+
isMainSubscription: Scalars['Boolean']['input'];
|
|
2436
|
+
quantity: Scalars['Int']['input'];
|
|
2437
|
+
sku: Scalars['String']['input'];
|
|
2438
|
+
vendor?: InputMaybe<Scalars['String']['input']>;
|
|
2439
|
+
};
|
|
2397
2440
|
export type SubscriptionOrder = {
|
|
2398
2441
|
__typename?: 'SubscriptionOrder';
|
|
2399
2442
|
createdAt: Scalars['DateTime']['output'];
|
|
@@ -2424,6 +2467,15 @@ export type SubscriptionOrderFilterInput = {
|
|
|
2424
2467
|
subscriptionOrderItems?: InputMaybe<ListFilterInputTypeOfSubscriptionOrderItemFilterInput>;
|
|
2425
2468
|
total?: InputMaybe<DecimalOperationFilterInput>;
|
|
2426
2469
|
};
|
|
2470
|
+
export type SubscriptionOrderInput = {
|
|
2471
|
+
createdAt: Scalars['DateTime']['input'];
|
|
2472
|
+
cspSubscriptionOrderId: Scalars['Int']['input'];
|
|
2473
|
+
currency?: InputMaybe<Scalars['String']['input']>;
|
|
2474
|
+
providerOrderId?: InputMaybe<Scalars['String']['input']>;
|
|
2475
|
+
status: OrderPayloadStatus;
|
|
2476
|
+
subscriptionOrderItems: Array<SubscriptionOrderItemInput>;
|
|
2477
|
+
total?: InputMaybe<Scalars['Decimal']['input']>;
|
|
2478
|
+
};
|
|
2427
2479
|
export type SubscriptionOrderItem = {
|
|
2428
2480
|
__typename?: 'SubscriptionOrderItem';
|
|
2429
2481
|
cost: Scalars['Decimal']['output'];
|
|
@@ -2441,6 +2493,13 @@ export type SubscriptionOrderItemFilterInput = {
|
|
|
2441
2493
|
productName?: InputMaybe<StringOperationFilterInput>;
|
|
2442
2494
|
quantity?: InputMaybe<LongOperationFilterInput>;
|
|
2443
2495
|
};
|
|
2496
|
+
export type SubscriptionOrderItemInput = {
|
|
2497
|
+
cost: Scalars['Decimal']['input'];
|
|
2498
|
+
customerPrice: Scalars['Decimal']['input'];
|
|
2499
|
+
previousQuantity: Scalars['Long']['input'];
|
|
2500
|
+
productName?: InputMaybe<Scalars['String']['input']>;
|
|
2501
|
+
quantity: Scalars['Long']['input'];
|
|
2502
|
+
};
|
|
2444
2503
|
export type SubscriptionOrderSortInput = {
|
|
2445
2504
|
createdAt?: InputMaybe<SortEnumType>;
|
|
2446
2505
|
cspSubscriptionOrderId?: InputMaybe<SortEnumType>;
|
|
@@ -2527,14 +2586,14 @@ export type SubscriptionSummary = {
|
|
|
2527
2586
|
export type SubscriptionsCollectionSegment = {
|
|
2528
2587
|
__typename?: 'SubscriptionsCollectionSegment';
|
|
2529
2588
|
/** A flattened list of the items. */
|
|
2530
|
-
items?: Maybe<Array<
|
|
2589
|
+
items?: Maybe<Array<SubscriptionGqlModel>>;
|
|
2531
2590
|
/** Information to aid in pagination. */
|
|
2532
2591
|
pageInfo: CollectionSegmentInfo;
|
|
2533
2592
|
totalCount: Scalars['Int']['output'];
|
|
2534
2593
|
};
|
|
2535
2594
|
export type SubscriptionsIndexPagePayload = {
|
|
2536
2595
|
__typename?: 'SubscriptionsIndexPagePayload';
|
|
2537
|
-
subscriptions: Array<
|
|
2596
|
+
subscriptions: Array<SubscriptionGqlModel>;
|
|
2538
2597
|
summary: Array<SubscriptionSummary>;
|
|
2539
2598
|
totalCount: Scalars['Int']['output'];
|
|
2540
2599
|
};
|
|
@@ -2578,7 +2637,7 @@ export type UpdateSubscriptionInput = {
|
|
|
2578
2637
|
cspSubscriptionId: Scalars['Int']['input'];
|
|
2579
2638
|
externalSystemType: ExternalSystemType;
|
|
2580
2639
|
isAutoRenewalEnabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2581
|
-
lines: Array<
|
|
2640
|
+
lines: Array<SubscriptionLineInputGqlInput>;
|
|
2582
2641
|
purchaseOrderNumber?: InputMaybe<Scalars['String']['input']>;
|
|
2583
2642
|
};
|
|
2584
2643
|
export type UpdateSubscriptionPayload = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ExibitionModeEnum } from '@/types/ExibitionModeEnum';
|
|
2
|
-
import { GetResellerExternalClientsPayload,
|
|
2
|
+
import { GetResellerExternalClientsPayload, SubscriptionGqlModel } from '@/api-clients/generated/graphql';
|
|
3
3
|
import { RouteLocationNormalizedLoaded } from 'vue-router';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
5
5
|
route: RouteLocationNormalizedLoaded;
|
|
@@ -9,7 +9,8 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
9
9
|
externalSystemClients: GetResellerExternalClientsPayload[];
|
|
10
10
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
11
|
updateQueryStringFromFilter: (routeQuery: object) => void;
|
|
12
|
-
goToSubscriptionDetails: (row:
|
|
12
|
+
goToSubscriptionDetails: (row: SubscriptionGqlModel, evt: Event) => void;
|
|
13
|
+
customerRowClick: (value: SubscriptionGqlModel, evt: Event) => void;
|
|
13
14
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
14
15
|
route: RouteLocationNormalizedLoaded;
|
|
15
16
|
rowsPerPageOptions: number[];
|
|
@@ -18,7 +19,8 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
18
19
|
externalSystemClients: GetResellerExternalClientsPayload[];
|
|
19
20
|
}>>> & {
|
|
20
21
|
onUpdateQueryStringFromFilter?: ((routeQuery: object) => any) | undefined;
|
|
21
|
-
|
|
22
|
+
onCustomerRowClick?: ((value: SubscriptionGqlModel, evt: Event) => any) | undefined;
|
|
23
|
+
onGoToSubscriptionDetails?: ((row: SubscriptionGqlModel, evt: Event) => any) | undefined;
|
|
22
24
|
}, {}, {}>;
|
|
23
25
|
export default _default;
|
|
24
26
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ExibitionModeEnum } from '@/types/ExibitionModeEnum';
|
|
2
2
|
import { QTablePaginationType } from '@/types/QuasarQTablePaginationType';
|
|
3
3
|
import { SubscriptionsTableFiltersType } from './SubscriptionsTableFilters.vue';
|
|
4
|
-
import {
|
|
4
|
+
import { SubscriptionGqlModel, SubscriptionSummary } from '@/api-clients/generated/graphql';
|
|
5
5
|
export type GetSubscriptionsForIndexPageFilter = {
|
|
6
6
|
customerName?: string;
|
|
7
7
|
subscriptionName?: string;
|
|
@@ -14,6 +14,8 @@ export type GetSubscriptionsForIndexPageFilter = {
|
|
|
14
14
|
daysToRenewalDate?: number;
|
|
15
15
|
cspCentralisedCustomerId?: number;
|
|
16
16
|
externalSystemClientId?: number;
|
|
17
|
+
sortBy?: string;
|
|
18
|
+
descending: boolean;
|
|
17
19
|
};
|
|
18
20
|
declare function fetchSubscriptions(paginationReq: QTablePaginationType, filters?: SubscriptionsTableFiltersType): Promise<void>;
|
|
19
21
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
@@ -22,10 +24,12 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
22
24
|
providerCustomerId?: string | undefined;
|
|
23
25
|
cspCentralisedCustomerId?: number | undefined;
|
|
24
26
|
rowsPerPageOptions: number[];
|
|
27
|
+
hasDuplicatedExternalSystemClients: boolean;
|
|
25
28
|
}>, {
|
|
26
29
|
fetchSubscriptions: typeof fetchSubscriptions;
|
|
27
30
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
28
|
-
rowClick: (value:
|
|
31
|
+
rowClick: (value: SubscriptionGqlModel, evt: Event) => void;
|
|
32
|
+
customerRowClick: (value: SubscriptionGqlModel, evt: Event) => void;
|
|
29
33
|
errorFetchingData: (error: unknown) => void;
|
|
30
34
|
fetchSubscriptionsFinished: (summary: SubscriptionSummary[], paginationParameter: QTablePaginationType) => void;
|
|
31
35
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
@@ -34,8 +38,10 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
34
38
|
providerCustomerId?: string | undefined;
|
|
35
39
|
cspCentralisedCustomerId?: number | undefined;
|
|
36
40
|
rowsPerPageOptions: number[];
|
|
41
|
+
hasDuplicatedExternalSystemClients: boolean;
|
|
37
42
|
}>>> & {
|
|
38
|
-
onRowClick?: ((value:
|
|
43
|
+
onRowClick?: ((value: SubscriptionGqlModel, evt: Event) => any) | undefined;
|
|
44
|
+
onCustomerRowClick?: ((value: SubscriptionGqlModel, evt: Event) => any) | undefined;
|
|
39
45
|
onErrorFetchingData?: ((error: unknown) => any) | undefined;
|
|
40
46
|
onFetchSubscriptionsFinished?: ((summary: SubscriptionSummary[], paginationParameter: QTablePaginationType) => any) | undefined;
|
|
41
47
|
}, {}, {}>;
|
package/package.json
CHANGED
|
File without changes
|