@openmeter/client 1.0.0-beta.229 → 1.0.0-beta.231

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.
Files changed (135) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +364 -66
  3. package/dist/core.d.ts +0 -1
  4. package/dist/core.js +8 -1
  5. package/dist/funcs/addons.d.ts +49 -1
  6. package/dist/funcs/addons.js +161 -29
  7. package/dist/funcs/apps.d.ts +14 -1
  8. package/dist/funcs/apps.js +52 -9
  9. package/dist/funcs/billing.d.ts +46 -1
  10. package/dist/funcs/billing.js +126 -17
  11. package/dist/funcs/currencies.d.ts +30 -1
  12. package/dist/funcs/currencies.js +113 -23
  13. package/dist/funcs/customers.d.ts +167 -2
  14. package/dist/funcs/customers.js +580 -90
  15. package/dist/funcs/defaults.d.ts +10 -1
  16. package/dist/funcs/defaults.js +35 -5
  17. package/dist/funcs/entitlements.d.ts +5 -1
  18. package/dist/funcs/entitlements.js +25 -6
  19. package/dist/funcs/events.d.ts +14 -1
  20. package/dist/funcs/events.js +41 -9
  21. package/dist/funcs/features.d.ts +42 -1
  22. package/dist/funcs/features.js +142 -28
  23. package/dist/funcs/governance.d.ts +14 -1
  24. package/dist/funcs/governance.js +42 -10
  25. package/dist/funcs/index.d.ts +1 -1
  26. package/dist/funcs/index.js +2 -1
  27. package/dist/funcs/invoices.d.ts +51 -0
  28. package/dist/funcs/invoices.js +125 -0
  29. package/dist/funcs/llmCost.d.ts +36 -1
  30. package/dist/funcs/llmCost.js +114 -24
  31. package/dist/funcs/meters.d.ts +55 -2
  32. package/dist/funcs/meters.js +172 -28
  33. package/dist/funcs/planAddons.d.ts +35 -1
  34. package/dist/funcs/planAddons.js +139 -29
  35. package/dist/funcs/plans.d.ts +49 -1
  36. package/dist/funcs/plans.js +163 -25
  37. package/dist/funcs/subscriptions.d.ts +61 -2
  38. package/dist/funcs/subscriptions.js +238 -40
  39. package/dist/funcs/tax.d.ts +25 -1
  40. package/dist/funcs/tax.js +104 -22
  41. package/dist/index.d.ts +6 -4
  42. package/dist/index.js +4 -3
  43. package/dist/lib/config.d.ts +9 -1
  44. package/dist/lib/config.js +1 -1
  45. package/dist/lib/encodings.d.ts +1 -2
  46. package/dist/lib/encodings.js +6 -5
  47. package/dist/lib/paginate.d.ts +56 -0
  48. package/dist/lib/paginate.js +60 -0
  49. package/dist/lib/request.d.ts +0 -1
  50. package/dist/lib/request.js +1 -1
  51. package/dist/lib/to-error.d.ts +0 -1
  52. package/dist/lib/to-error.js +1 -1
  53. package/dist/lib/types.d.ts +0 -1
  54. package/dist/lib/types.js +1 -1
  55. package/dist/lib/version.d.ts +1 -0
  56. package/dist/lib/version.js +5 -0
  57. package/dist/lib/wire.d.ts +20 -0
  58. package/dist/lib/wire.js +401 -0
  59. package/dist/models/errors.d.ts +13 -2
  60. package/dist/models/errors.js +31 -4
  61. package/dist/models/operations/addons.d.ts +17 -6
  62. package/dist/models/operations/addons.js +1 -1
  63. package/dist/models/operations/apps.d.ts +4 -6
  64. package/dist/models/operations/apps.js +1 -1
  65. package/dist/models/operations/billing.d.ts +5 -5
  66. package/dist/models/operations/billing.js +1 -1
  67. package/dist/models/operations/currencies.d.ts +27 -10
  68. package/dist/models/operations/currencies.js +1 -1
  69. package/dist/models/operations/customers.d.ts +87 -33
  70. package/dist/models/operations/customers.js +1 -1
  71. package/dist/models/operations/defaults.d.ts +2 -2
  72. package/dist/models/operations/defaults.js +1 -1
  73. package/dist/models/operations/entitlements.d.ts +0 -1
  74. package/dist/models/operations/entitlements.js +1 -1
  75. package/dist/models/operations/events.d.ts +20 -5
  76. package/dist/models/operations/events.js +1 -1
  77. package/dist/models/operations/features.d.ts +24 -9
  78. package/dist/models/operations/features.js +1 -1
  79. package/dist/models/operations/governance.d.ts +3 -3
  80. package/dist/models/operations/governance.js +1 -1
  81. package/dist/models/operations/invoices.d.ts +45 -0
  82. package/dist/models/operations/invoices.js +2 -0
  83. package/dist/models/operations/llmCost.d.ts +16 -5
  84. package/dist/models/operations/llmCost.js +1 -1
  85. package/dist/models/operations/meters.d.ts +29 -9
  86. package/dist/models/operations/meters.js +1 -1
  87. package/dist/models/operations/planAddons.d.ts +7 -7
  88. package/dist/models/operations/planAddons.js +1 -1
  89. package/dist/models/operations/plans.d.ts +14 -6
  90. package/dist/models/operations/plans.js +1 -1
  91. package/dist/models/operations/subscriptions.d.ts +36 -11
  92. package/dist/models/operations/subscriptions.js +1 -1
  93. package/dist/models/operations/tax.d.ts +6 -6
  94. package/dist/models/operations/tax.js +1 -1
  95. package/dist/models/schemas.d.ts +27484 -3125
  96. package/dist/models/schemas.js +6247 -495
  97. package/dist/models/types.d.ts +4548 -1398
  98. package/dist/models/types.js +1 -1
  99. package/dist/sdk/addons.d.ts +60 -1
  100. package/dist/sdk/addons.js +63 -1
  101. package/dist/sdk/apps.d.ts +25 -1
  102. package/dist/sdk/apps.js +28 -1
  103. package/dist/sdk/billing.d.ts +57 -1
  104. package/dist/sdk/billing.js +60 -1
  105. package/dist/sdk/customers.d.ts +213 -2
  106. package/dist/sdk/customers.js +228 -2
  107. package/dist/sdk/defaults.d.ts +10 -1
  108. package/dist/sdk/defaults.js +11 -1
  109. package/dist/sdk/entitlements.d.ts +5 -1
  110. package/dist/sdk/entitlements.js +6 -1
  111. package/dist/sdk/events.d.ts +25 -1
  112. package/dist/sdk/events.js +28 -1
  113. package/dist/sdk/features.d.ts +53 -1
  114. package/dist/sdk/features.js +56 -1
  115. package/dist/sdk/internal.d.ts +180 -0
  116. package/dist/sdk/internal.js +224 -0
  117. package/dist/sdk/llmCost.d.ts +57 -1
  118. package/dist/sdk/llmCost.js +62 -1
  119. package/dist/sdk/meters.d.ts +66 -2
  120. package/dist/sdk/meters.js +71 -2
  121. package/dist/sdk/planAddons.d.ts +46 -1
  122. package/dist/sdk/planAddons.js +49 -1
  123. package/dist/sdk/plans.d.ts +60 -1
  124. package/dist/sdk/plans.js +63 -1
  125. package/dist/sdk/sdk.d.ts +9 -7
  126. package/dist/sdk/sdk.js +11 -10
  127. package/dist/sdk/subscriptions.d.ts +71 -1
  128. package/dist/sdk/subscriptions.js +76 -1
  129. package/dist/sdk/tax.d.ts +34 -1
  130. package/dist/sdk/tax.js +37 -1
  131. package/package.json +31 -6
  132. package/dist/sdk/currencies.d.ts +0 -12
  133. package/dist/sdk/currencies.js +0 -21
  134. package/dist/sdk/governance.d.ts +0 -9
  135. package/dist/sdk/governance.js +0 -12
@@ -1,8 +1,20 @@
1
+ import type { AcceptDateStrings } from '../../lib/wire.js';
1
2
  import type { ListLlmCostPricesParamsFilter, LlmCostOverrideCreate, LlmCostPrice, PricePagePaginatedResponse, SortQueryInput } from '../types.js';
2
3
  export interface ListLlmCostPricesQuery {
3
4
  /** Filter prices. */
4
5
  filter?: ListLlmCostPricesParamsFilter;
5
- /** Sort prices returned in the response. Supported sort attributes are: - `id` - `provider.id` - `model.id` (default) - `effective_from` - `effective_to` The `asc` suffix is optional as the default sort order is ascending. The `desc` suffix is used to specify a descending order. */
6
+ /**
7
+ * Sort prices returned in the response. Supported sort attributes are:
8
+ *
9
+ * - `id`
10
+ * - `provider.id`
11
+ * - `model.id` (default)
12
+ * - `effective_from`
13
+ * - `effective_to`
14
+ *
15
+ * The `asc` suffix is optional as the default sort order is ascending. The `desc`
16
+ * suffix is used to specify a descending order.
17
+ */
6
18
  sort?: SortQueryInput;
7
19
  /** Determines which page of the collection to retrieve. */
8
20
  page?: {
@@ -10,7 +22,7 @@ export interface ListLlmCostPricesQuery {
10
22
  number?: number;
11
23
  };
12
24
  }
13
- export type ListLlmCostPricesRequest = ListLlmCostPricesQuery;
25
+ export type ListLlmCostPricesRequest = AcceptDateStrings<ListLlmCostPricesQuery>;
14
26
  export type ListLlmCostPricesResponse = PricePagePaginatedResponse;
15
27
  export type GetLlmCostPriceRequest = {
16
28
  priceId: string;
@@ -24,12 +36,11 @@ export interface ListLlmCostOverridesQuery {
24
36
  number?: number;
25
37
  };
26
38
  }
27
- export type ListLlmCostOverridesRequest = ListLlmCostOverridesQuery;
39
+ export type ListLlmCostOverridesRequest = AcceptDateStrings<ListLlmCostOverridesQuery>;
28
40
  export type ListLlmCostOverridesResponse = PricePagePaginatedResponse;
29
- export type CreateLlmCostOverrideRequest = LlmCostOverrideCreate;
41
+ export type CreateLlmCostOverrideRequest = AcceptDateStrings<LlmCostOverrideCreate>;
30
42
  export type CreateLlmCostOverrideResponse = LlmCostPrice;
31
43
  export type DeleteLlmCostOverrideRequest = {
32
44
  priceId: string;
33
45
  };
34
46
  export type DeleteLlmCostOverrideResponse = void;
35
- //# sourceMappingURL=llmCost.d.ts.map
@@ -1,2 +1,2 @@
1
+ // Code generated by @openmeter/typespec-typescript. DO NOT EDIT.
1
2
  export {};
2
- //# sourceMappingURL=llmCost.js.map
@@ -1,5 +1,6 @@
1
+ import type { AcceptDateStrings } from '../../lib/wire.js';
1
2
  import type { CreateMeterRequest as CreateMeterRequestBody, ListMetersParamsFilter, Meter, MeterPagePaginatedResponse, MeterQueryRequestInput, MeterQueryResult, SortQueryInput, UpdateMeterRequest as UpdateMeterRequestBody } from '../types.js';
2
- export type CreateMeterRequest = CreateMeterRequestBody;
3
+ export type CreateMeterRequest = AcceptDateStrings<CreateMeterRequestBody>;
3
4
  export type CreateMeterResponse = Meter;
4
5
  export type GetMeterRequest = {
5
6
  meterId: string;
@@ -11,25 +12,44 @@ export interface ListMetersQuery {
11
12
  size?: number;
12
13
  number?: number;
13
14
  };
14
- /** Sort meters returned in the response. Supported sort attributes are: - `key` - `name` - `aggregation` - `createdAt` (default) - `updatedAt` The `asc` suffix is optional as the default sort order is ascending. The `desc` suffix is used to specify a descending order. */
15
+ /**
16
+ * Sort meters returned in the response. Supported sort attributes are:
17
+ *
18
+ * - `key`
19
+ * - `name`
20
+ * - `aggregation`
21
+ * - `created_at` (default)
22
+ * - `updated_at`
23
+ *
24
+ * The `asc` suffix is optional as the default sort order is ascending. The `desc`
25
+ * suffix is used to specify a descending order.
26
+ */
15
27
  sort?: SortQueryInput;
16
- /** Filter meters returned in the response. To filter meters by key add the following query param: filter[key]=my-meter-key */
28
+ /**
29
+ * Filter meters returned in the response.
30
+ *
31
+ * To filter meters by key add the following query param: filter[key]=my-meter-key
32
+ */
17
33
  filter?: ListMetersParamsFilter;
18
34
  }
19
- export type ListMetersRequest = ListMetersQuery;
35
+ export type ListMetersRequest = AcceptDateStrings<ListMetersQuery>;
20
36
  export type ListMetersResponse = MeterPagePaginatedResponse;
21
- export type UpdateMeterRequest = {
37
+ export type UpdateMeterRequest = AcceptDateStrings<{
22
38
  meterId: string;
23
39
  body: UpdateMeterRequestBody;
24
- };
40
+ }>;
25
41
  export type UpdateMeterResponse = Meter;
26
42
  export type DeleteMeterRequest = {
27
43
  meterId: string;
28
44
  };
29
45
  export type DeleteMeterResponse = void;
30
- export type QueryMeterRequest = {
46
+ export type QueryMeterRequest = AcceptDateStrings<{
31
47
  meterId: string;
32
48
  body: MeterQueryRequestInput;
33
- };
49
+ }>;
34
50
  export type QueryMeterResponse = MeterQueryResult;
35
- //# sourceMappingURL=meters.d.ts.map
51
+ export type QueryMeterCsvRequest = AcceptDateStrings<{
52
+ meterId: string;
53
+ body: MeterQueryRequestInput;
54
+ }>;
55
+ export type QueryMeterCsvResponse = string;
@@ -1,2 +1,2 @@
1
+ // Code generated by @openmeter/typespec-typescript. DO NOT EDIT.
1
2
  export {};
2
- //# sourceMappingURL=meters.js.map
@@ -1,3 +1,4 @@
1
+ import type { AcceptDateStrings } from '../../lib/wire.js';
1
2
  import type { CreatePlanAddonRequest as CreatePlanAddonRequestBody, PlanAddon, PlanAddonPagePaginatedResponse, UpsertPlanAddonRequest } from '../types.js';
2
3
  export interface ListPlanAddonsQuery {
3
4
  /** Determines which page of the collection to retrieve. */
@@ -6,29 +7,28 @@ export interface ListPlanAddonsQuery {
6
7
  number?: number;
7
8
  };
8
9
  }
9
- export type ListPlanAddonsRequest = ListPlanAddonsQuery & {
10
+ export type ListPlanAddonsRequest = AcceptDateStrings<ListPlanAddonsQuery & {
10
11
  planId: string;
11
- };
12
+ }>;
12
13
  export type ListPlanAddonsResponse = PlanAddonPagePaginatedResponse;
13
- export type CreatePlanAddonRequest = {
14
+ export type CreatePlanAddonRequest = AcceptDateStrings<{
14
15
  planId: string;
15
16
  body: CreatePlanAddonRequestBody;
16
- };
17
+ }>;
17
18
  export type CreatePlanAddonResponse = PlanAddon;
18
19
  export type GetPlanAddonRequest = {
19
20
  planId: string;
20
21
  planAddonId: string;
21
22
  };
22
23
  export type GetPlanAddonResponse = PlanAddon;
23
- export type UpdatePlanAddonRequest = {
24
+ export type UpdatePlanAddonRequest = AcceptDateStrings<{
24
25
  planId: string;
25
26
  planAddonId: string;
26
27
  body: UpsertPlanAddonRequest;
27
- };
28
+ }>;
28
29
  export type UpdatePlanAddonResponse = PlanAddon;
29
30
  export type DeletePlanAddonRequest = {
30
31
  planId: string;
31
32
  planAddonId: string;
32
33
  };
33
34
  export type DeletePlanAddonResponse = void;
34
- //# sourceMappingURL=planAddons.d.ts.map
@@ -1,2 +1,2 @@
1
+ // Code generated by @openmeter/typespec-typescript. DO NOT EDIT.
1
2
  export {};
2
- //# sourceMappingURL=planAddons.js.map
@@ -1,3 +1,4 @@
1
+ import type { AcceptDateStrings } from '../../lib/wire.js';
1
2
  import type { CreatePlanRequestInput, ListPlansParamsFilter, Plan, PlanPagePaginatedResponse, SortQueryInput, UpsertPlanRequestInput } from '../types.js';
2
3
  export interface ListPlansQuery {
3
4
  /** Determines which page of the collection to retrieve. */
@@ -5,19 +6,27 @@ export interface ListPlansQuery {
5
6
  size?: number;
6
7
  number?: number;
7
8
  };
8
- /** Sort plans returned in the response. Supported sort attributes are: - `id` - `key` - `version` - `created_at` (default) - `updated_at` */
9
+ /**
10
+ * Sort plans returned in the response. Supported sort attributes are:
11
+ *
12
+ * - `id`
13
+ * - `key`
14
+ * - `version`
15
+ * - `created_at` (default)
16
+ * - `updated_at`
17
+ */
9
18
  sort?: SortQueryInput;
10
19
  /** Filter plans returned in the response. */
11
20
  filter?: ListPlansParamsFilter;
12
21
  }
13
- export type ListPlansRequest = ListPlansQuery;
22
+ export type ListPlansRequest = AcceptDateStrings<ListPlansQuery>;
14
23
  export type ListPlansResponse = PlanPagePaginatedResponse;
15
- export type CreatePlanRequest = CreatePlanRequestInput;
24
+ export type CreatePlanRequest = AcceptDateStrings<CreatePlanRequestInput>;
16
25
  export type CreatePlanResponse = Plan;
17
- export type UpdatePlanRequest = {
26
+ export type UpdatePlanRequest = AcceptDateStrings<{
18
27
  planId: string;
19
28
  body: UpsertPlanRequestInput;
20
- };
29
+ }>;
21
30
  export type UpdatePlanResponse = Plan;
22
31
  export type GetPlanRequest = {
23
32
  planId: string;
@@ -35,4 +44,3 @@ export type PublishPlanRequest = {
35
44
  planId: string;
36
45
  };
37
46
  export type PublishPlanResponse = Plan;
38
- //# sourceMappingURL=plans.d.ts.map
@@ -1,2 +1,2 @@
1
+ // Code generated by @openmeter/typespec-typescript. DO NOT EDIT.
1
2
  export {};
2
- //# sourceMappingURL=plans.js.map
@@ -1,5 +1,6 @@
1
- import type { ListSubscriptionsParamsFilter, SortQueryInput, Subscription, SubscriptionAddon, SubscriptionAddonPagePaginatedResponse, SubscriptionCancelInput, SubscriptionChange, SubscriptionChangeResponse, SubscriptionCreate, SubscriptionPagePaginatedResponse } from '../types.js';
2
- export type CreateSubscriptionRequest = SubscriptionCreate;
1
+ import type { AcceptDateStrings } from '../../lib/wire.js';
2
+ import type { CreateSubscriptionAddonRequest as CreateSubscriptionAddonRequestBody, ListSubscriptionsParamsFilter, SortQueryInput, Subscription, SubscriptionAddon, SubscriptionAddonPagePaginatedResponse, SubscriptionCancelInput, SubscriptionChange, SubscriptionChangeResponse, SubscriptionCreate, SubscriptionPagePaginatedResponse } from '../types.js';
3
+ export type CreateSubscriptionRequest = AcceptDateStrings<SubscriptionCreate>;
3
4
  export type CreateSubscriptionResponse = Subscription;
4
5
  export interface ListSubscriptionsQuery {
5
6
  /** Determines which page of the collection to retrieve. */
@@ -7,46 +8,70 @@ export interface ListSubscriptionsQuery {
7
8
  size?: number;
8
9
  number?: number;
9
10
  };
10
- /** Sort subscriptions returned in the response. Supported sort attributes are: - `id` - `active_from` (default) - `active_to` The `asc` suffix is optional as the default sort order is ascending. The `desc` suffix is used to specify a descending order. */
11
+ /**
12
+ * Sort subscriptions returned in the response. Supported sort attributes are:
13
+ *
14
+ * - `id`
15
+ * - `active_from` (default)
16
+ * - `active_to`
17
+ *
18
+ * The `asc` suffix is optional as the default sort order is ascending. The `desc`
19
+ * suffix is used to specify a descending order.
20
+ */
11
21
  sort?: SortQueryInput;
12
22
  /** Filter subscriptions. */
13
23
  filter?: ListSubscriptionsParamsFilter;
14
24
  }
15
- export type ListSubscriptionsRequest = ListSubscriptionsQuery;
25
+ export type ListSubscriptionsRequest = AcceptDateStrings<ListSubscriptionsQuery>;
16
26
  export type ListSubscriptionsResponse = SubscriptionPagePaginatedResponse;
17
27
  export type GetSubscriptionRequest = {
18
28
  subscriptionId: string;
19
29
  };
20
30
  export type GetSubscriptionResponse = Subscription;
21
- export type CancelSubscriptionRequest = {
31
+ export type CancelSubscriptionRequest = AcceptDateStrings<{
22
32
  subscriptionId: string;
23
33
  body: SubscriptionCancelInput;
24
- };
34
+ }>;
25
35
  export type CancelSubscriptionResponse = Subscription;
26
36
  export type UnscheduleCancelationRequest = {
27
37
  subscriptionId: string;
28
38
  };
29
39
  export type UnscheduleCancelationResponse = Subscription;
30
- export type ChangeSubscriptionRequest = {
40
+ export type ChangeSubscriptionRequest = AcceptDateStrings<{
31
41
  subscriptionId: string;
32
42
  body: SubscriptionChange;
33
- };
43
+ }>;
34
44
  export type ChangeSubscriptionResponse = SubscriptionChangeResponse;
45
+ export type CreateSubscriptionAddonRequest = AcceptDateStrings<{
46
+ subscriptionId: string;
47
+ body: CreateSubscriptionAddonRequestBody;
48
+ }>;
49
+ export type CreateSubscriptionAddonResponse = SubscriptionAddon;
35
50
  export interface ListSubscriptionAddonsQuery {
36
51
  /** Determines which page of the collection to retrieve. */
37
52
  page?: {
38
53
  size?: number;
39
54
  number?: number;
40
55
  };
56
+ /**
57
+ * Sort subscription addons returned in the response. Supported sort attributes
58
+ * are:
59
+ *
60
+ * - `id`
61
+ * - `created_at` (default)
62
+ * - `updated_at`
63
+ *
64
+ * The `asc` suffix is optional as the default sort order is ascending. The `desc`
65
+ * suffix is used to specify a descending order.
66
+ */
41
67
  sort?: SortQueryInput;
42
68
  }
43
- export type ListSubscriptionAddonsRequest = ListSubscriptionAddonsQuery & {
69
+ export type ListSubscriptionAddonsRequest = AcceptDateStrings<ListSubscriptionAddonsQuery & {
44
70
  subscriptionId: string;
45
- };
71
+ }>;
46
72
  export type ListSubscriptionAddonsResponse = SubscriptionAddonPagePaginatedResponse;
47
73
  export type GetSubscriptionAddonRequest = {
48
74
  subscriptionId: string;
49
75
  subscriptionAddonId: string;
50
76
  };
51
77
  export type GetSubscriptionAddonResponse = SubscriptionAddon;
52
- //# sourceMappingURL=subscriptions.d.ts.map
@@ -1,2 +1,2 @@
1
+ // Code generated by @openmeter/typespec-typescript. DO NOT EDIT.
1
2
  export {};
2
- //# sourceMappingURL=subscriptions.js.map
@@ -1,5 +1,6 @@
1
+ import type { AcceptDateStrings } from '../../lib/wire.js';
1
2
  import type { CreateTaxCodeRequest as CreateTaxCodeRequestBody, TaxCode, TaxCodePagePaginatedResponse, UpsertTaxCodeRequest as UpsertTaxCodeRequestBody } from '../types.js';
2
- export type CreateTaxCodeRequest = CreateTaxCodeRequestBody;
3
+ export type CreateTaxCodeRequest = AcceptDateStrings<CreateTaxCodeRequestBody>;
3
4
  export type CreateTaxCodeResponse = TaxCode;
4
5
  export type GetTaxCodeRequest = {
5
6
  taxCodeId: string;
@@ -12,17 +13,16 @@ export interface ListTaxCodesQuery {
12
13
  number?: number;
13
14
  };
14
15
  /** Include deleted tax codes in the response. */
15
- include_deleted?: boolean;
16
+ includeDeleted?: boolean;
16
17
  }
17
- export type ListTaxCodesRequest = ListTaxCodesQuery;
18
+ export type ListTaxCodesRequest = AcceptDateStrings<ListTaxCodesQuery>;
18
19
  export type ListTaxCodesResponse = TaxCodePagePaginatedResponse;
19
- export type UpsertTaxCodeRequest = {
20
+ export type UpsertTaxCodeRequest = AcceptDateStrings<{
20
21
  taxCodeId: string;
21
22
  body: UpsertTaxCodeRequestBody;
22
- };
23
+ }>;
23
24
  export type UpsertTaxCodeResponse = TaxCode;
24
25
  export type DeleteTaxCodeRequest = {
25
26
  taxCodeId: string;
26
27
  };
27
28
  export type DeleteTaxCodeResponse = void;
28
- //# sourceMappingURL=tax.d.ts.map
@@ -1,2 +1,2 @@
1
+ // Code generated by @openmeter/typespec-typescript. DO NOT EDIT.
1
2
  export {};
2
- //# sourceMappingURL=tax.js.map