@happyvertical/smrt-subscriptions 0.57.35 → 0.57.37
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/AGENTS.md +1 -0
- package/dist/chunks/{SubscriptionPlanCollection-CqlYYtPg.js → SubscriptionPlanCollection-Dmkorx_Q.js} +15 -9
- package/dist/chunks/SubscriptionPlanCollection-Dmkorx_Q.js.map +1 -0
- package/dist/chunks/{SubscriptionPlanVersionCollection-CV0QPmp0.js → SubscriptionPlanVersionCollection-yTE_Y-2z.js} +15 -11
- package/dist/chunks/SubscriptionPlanVersionCollection-yTE_Y-2z.js.map +1 -0
- package/dist/chunks/{plan-versioning-Bp0NqTJf.js → plan-versioning-ChDyHPvn.js} +3 -3
- package/dist/chunks/{plan-versioning-Bp0NqTJf.js.map → plan-versioning-ChDyHPvn.js.map} +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +267 -38
- package/dist/index.js.map +1 -1
- package/dist/manifest.json +580 -35
- package/dist/models/SubscriptionPlan.d.ts.map +1 -1
- package/dist/models/SubscriptionPlanVersion.d.ts.map +1 -1
- package/dist/models/TenantSubscription.d.ts.map +1 -1
- package/dist/models/commercial.d.ts.map +1 -1
- package/dist/recipes.d.ts +338 -0
- package/dist/recipes.d.ts.map +1 -0
- package/dist/smrt-knowledge.json +464 -48
- package/package.json +6 -6
- package/dist/chunks/SubscriptionPlanCollection-CqlYYtPg.js.map +0 -1
- package/dist/chunks/SubscriptionPlanVersionCollection-CV0QPmp0.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SubscriptionPlan.d.ts","sourceRoot":"","sources":["../../src/models/SubscriptionPlan.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"SubscriptionPlan.d.ts","sourceRoot":"","sources":["../../src/models/SubscriptionPlan.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,UAAU,EACV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,OAAO,CAAC,IAAI,CAAC;IAc7D;;;;;;;;OAQG;IACG,YAAY,CAChB,OAAO,GAAE;QAAE,aAAa,CAAC,EAAE,IAAI,CAAA;KAAO,GACrC,OAAO,CAAC,uBAAuB,CAAC;IAUnC,+DAA+D;IACzD,iBAAiB,CACrB,EAAE,OAAa,GACd,OAAO,CAAC,uBAAuB,GAAG,IAAI,CAAC;IAW1C,gBAAgB,IAAI,gBAAgB,EAAE;IAMtC,gBAAgB,CAAC,MAAM,EAAE,KAAK,CAAC,MAAM,GAAG,gBAAgB,CAAC,GAAG,IAAI;IAIhE,cAAc,IAAI,MAAM,EAAE;IAM1B,aAAa,IAAI,aAAa,EAAE;IAMhC,aAAa,CAAC,UAAU,EAAE,aAAa,EAAE,GAAG,IAAI;IAIhD,WAAW,IAAI,UAAU;IAIzB,WAAW,CAAC,QAAQ,EAAE,UAAU,GAAG,IAAI;cAIvB,kBAAkB,IAAI,OAAO,CAAC,IAAI,CAAC;CAsDpD;AAED,eAAe,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SubscriptionPlanVersion.d.ts","sourceRoot":"","sources":["../../src/models/SubscriptionPlanVersion.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"SubscriptionPlanVersion.d.ts","sourceRoot":"","sources":["../../src/models/SubscriptionPlanVersion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,UAAU,EAAQ,MAAM,0BAA0B,CAAC;AAW/E,OAAO,KAAK,EACV,eAAe,EACf,gBAAgB,EAChB,SAAS,EACT,aAAa,EACb,WAAW,EACX,sBAAsB,EACtB,8BAA8B,EAC/B,MAAM,aAAa,CAAC;AAKrB;;;;;;;;;;;GAWG;AACH,qBAUa,uBAAwB,SAAQ,UAAW,YAAW,SAAS;IAC1E,uEAAuE;IAEvE,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAQ;IAE/B,wDAAwD;IAGxD,MAAM,EAAE,MAAM,CAAM;IAEpB,yEAAyE;IAIzE,OAAO,EAAE,MAAM,CAAM;IACrB,kEAAkE;IAIlE,OAAO,EAAE,MAAM,CAAK;IACpB,kDAAkD;IAIlD,aAAa,EAAE,IAAI,CAAc;IACjC,gEAAgE;IAIhE,IAAI,EAAE,MAAM,CAAM;IAKlB,MAAM,EAAE,sBAAsB,CAAY;IAC1C,+CAA+C;IAK/C,WAAW,EAAE,MAAM,CAAK;IAExB,QAAQ,EAAE,MAAM,CAAS;IAKzB,eAAe,EAAE,eAAe,CAAW;IAK3C,WAAW,EAAE,WAAW,CAAW;IACnC,2BAA2B;IAK3B,aAAa,EAAE,MAAM,CAAK;IAC1B,2BAA2B;IAK3B,eAAe,EAAE,MAAM,CAAK;IAC5B,QAAQ,EAAE,MAAM,CAAQ;IACxB,UAAU,EAAE,MAAM,CAAQ;gBAEd,OAAO,GAAE,8BAAmC;IAyBxD,QAAQ,IAAI,OAAO;IAInB,QAAQ,IAAI,SAAS;IAIrB,gBAAgB,IAAI,gBAAgB,EAAE;IAMtC,cAAc,IAAI,MAAM,EAAE;IAI1B,aAAa,IAAI,aAAa,EAAE;IAIhC,sEAAsE;IACtE,SAAS,CAAC,YAAY,IAAI,IAAI;cAMd,kBAAkB,IAAI,OAAO,CAAC,IAAI,CAAC;CAqEpD;AAED,eAAe,uBAAuB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TenantSubscription.d.ts","sourceRoot":"","sources":["../../src/models/TenantSubscription.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"TenantSubscription.d.ts","sourceRoot":"","sources":["../../src/models/TenantSubscription.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,UAAU,EAAQ,MAAM,0BAA0B,CAAC;AAS/E,OAAO,EACL,KAAK,sBAAsB,EAE5B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EACV,UAAU,EACV,oBAAoB,EACpB,UAAU,EACV,cAAc,EAC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AE,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,GACpD,OAAO,CAAC,IAAI,CAAC;IAWhB;;;;;;;OAOG;IACH,UAAU,CAAC,GAAG,OAAa,GAAG,OAAO;IAgBrC;;;;OAIG;IACH,aAAa,IAAI,UAAU,GAAG,IAAI;IAiBlC,WAAW,IAAI,UAAU;IAIzB,WAAW,CAAC,QAAQ,EAAE,UAAU,GAAG,IAAI;CAGxC;AAED,eAAe,kBAAkB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commercial.d.ts","sourceRoot":"","sources":["../../src/models/commercial.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"commercial.d.ts","sourceRoot":"","sources":["../../src/models/commercial.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,cAAc,EACd,UAAU,EAEX,MAAM,0BAA0B,CAAC;AAUlC,MAAM,MAAM,eAAe,GACvB,YAAY,GACZ,WAAW,GACX,YAAY,GACZ,QAAQ,GACR,kBAAkB,GAClB,MAAM,GACN,QAAQ,CAAC;AACb,MAAM,MAAM,sBAAsB,GAC9B,SAAS,GACT,MAAM,GACN,OAAO,GACP,mBAAmB,CAAC;AACxB;;;GAGG;AACH,MAAM,MAAM,cAAc,GACtB,KAAK,GACL,MAAM,GACN,OAAO,GACP,MAAM,GACN,SAAS,GACT,SAAS,CAAC;AACd;;;;;;;;;GASG;AACH,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,QAAQ,GAAG,WAAW,CAAC;AAE9D,qBAOa,WAAY,SAAQ,UAAU;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC9B,OAAO,EAAE,MAAM,CAAM;IACrB,SAAS,EAAE,MAAM,CAAM;IACvB,UAAU,EAAE,MAAM,CAAM;IACxB,QAAQ,EAAE,eAAe,CAAgB;IACzC,QAAQ,EAAE,MAAM,CAAS;IACzB,aAAa,EAAE,IAAI,CAAc;IACjC,WAAW,EAAE,IAAI,GAAG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C;IAmBD;;;;;;;;;;OAUG;cACa,yBAAyB,CACvC,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC,GAC9C,OAAO,CAAC,IAAI,CAAC;CAejB;AAED,qBAAa,qBAAsB,SAAQ,cAAc,CAAC,WAAW,CAAC;IACpE,MAAM,CAAC,QAAQ,CAAC,UAAU,qBAAe;CAC1C;AACD,qBAAa,sBAAuB,SAAQ,cAAc,CAAC,YAAY,CAAC;IACtE,MAAM,CAAC,QAAQ,CAAC,UAAU,sBAAgB;CAC3C;AACD,qBAAa,2BAA4B,SAAQ,cAAc,CAAC,iBAAiB,CAAC;IAChF,MAAM,CAAC,QAAQ,CAAC,UAAU,2BAAqB;CAChD;AACD,qBAAa,wBAAyB,SAAQ,cAAc,CAAC,cAAc,CAAC;IAC1E,MAAM,CAAC,QAAQ,CAAC,UAAU,wBAAkB;CAC7C"}
|
|
@@ -0,0 +1,338 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Declared recipes for smrt-subscriptions (#4409): user-facing units of
|
|
3
|
+
* functionality an app or agent can pick instead of the whole package.
|
|
4
|
+
* The scanner reads these statics into the `recipes` array of `manifest.json`
|
|
5
|
+
* and `smrt-knowledge.json`; nothing here runs at that point.
|
|
6
|
+
*
|
|
7
|
+
* @packageDocumentation
|
|
8
|
+
*/
|
|
9
|
+
import { SmrtRecipe } from '@happyvertical/smrt-core';
|
|
10
|
+
import { ClientCharge } from './models/commercial.js';
|
|
11
|
+
import { SubscriptionPlan } from './models/SubscriptionPlan.js';
|
|
12
|
+
import { SubscriptionPlanVersion } from './models/SubscriptionPlanVersion.js';
|
|
13
|
+
import { TenantSubscription } from './models/TenantSubscription.js';
|
|
14
|
+
/**
|
|
15
|
+
* Subscriptions: the plans you sell, who is subscribed to which, the terms
|
|
16
|
+
* each paid period is held to, and what usage was charged. Reseller pricing
|
|
17
|
+
* (price books, pricing rules, credits) stays out: it is a wholesale concern,
|
|
18
|
+
* not something a person opens day to day.
|
|
19
|
+
*/
|
|
20
|
+
export declare class SubscriptionPlansRecipe extends SmrtRecipe {
|
|
21
|
+
static id: string;
|
|
22
|
+
static help: string;
|
|
23
|
+
static label: string;
|
|
24
|
+
static summary: string;
|
|
25
|
+
static synonyms: string[];
|
|
26
|
+
static section: {
|
|
27
|
+
id: string;
|
|
28
|
+
label: string;
|
|
29
|
+
icon: string;
|
|
30
|
+
description: string;
|
|
31
|
+
};
|
|
32
|
+
static models: (typeof SubscriptionPlanVersion | typeof TenantSubscription | typeof SubscriptionPlan | typeof ClientCharge)[];
|
|
33
|
+
static nav: ({
|
|
34
|
+
label: string;
|
|
35
|
+
model: typeof SubscriptionPlan;
|
|
36
|
+
icon: string;
|
|
37
|
+
description: string;
|
|
38
|
+
noun: string;
|
|
39
|
+
} | {
|
|
40
|
+
label: string;
|
|
41
|
+
model: typeof TenantSubscription;
|
|
42
|
+
icon: string;
|
|
43
|
+
description: string;
|
|
44
|
+
noun: string;
|
|
45
|
+
} | {
|
|
46
|
+
label: string;
|
|
47
|
+
model: typeof SubscriptionPlanVersion;
|
|
48
|
+
icon: string;
|
|
49
|
+
description: string;
|
|
50
|
+
noun: string;
|
|
51
|
+
} | {
|
|
52
|
+
label: string;
|
|
53
|
+
model: typeof ClientCharge;
|
|
54
|
+
icon: string;
|
|
55
|
+
description: string;
|
|
56
|
+
noun: string;
|
|
57
|
+
})[];
|
|
58
|
+
static options: {
|
|
59
|
+
readonly SubscriptionPlan: {
|
|
60
|
+
readonly fields: {
|
|
61
|
+
readonly name: {
|
|
62
|
+
readonly order: 1;
|
|
63
|
+
};
|
|
64
|
+
readonly planKey: {
|
|
65
|
+
readonly label: "Plan code";
|
|
66
|
+
readonly order: 2;
|
|
67
|
+
};
|
|
68
|
+
readonly description: {
|
|
69
|
+
readonly order: 3;
|
|
70
|
+
};
|
|
71
|
+
readonly status: {
|
|
72
|
+
readonly order: 4;
|
|
73
|
+
};
|
|
74
|
+
readonly priceAmount: {
|
|
75
|
+
readonly label: "Price (in cents)";
|
|
76
|
+
readonly order: 5;
|
|
77
|
+
};
|
|
78
|
+
readonly currency: {
|
|
79
|
+
readonly order: 6;
|
|
80
|
+
};
|
|
81
|
+
readonly billingInterval: {
|
|
82
|
+
readonly label: "Billed every";
|
|
83
|
+
readonly order: 7;
|
|
84
|
+
};
|
|
85
|
+
readonly pricingMode: {
|
|
86
|
+
readonly label: "How it is priced";
|
|
87
|
+
readonly order: 8;
|
|
88
|
+
};
|
|
89
|
+
readonly minimumAmount: {
|
|
90
|
+
readonly label: "Minimum (in cents)";
|
|
91
|
+
readonly visibility: "advanced";
|
|
92
|
+
};
|
|
93
|
+
readonly suggestedAmount: {
|
|
94
|
+
readonly label: "Suggested (in cents)";
|
|
95
|
+
readonly visibility: "advanced";
|
|
96
|
+
};
|
|
97
|
+
readonly sortOrder: {
|
|
98
|
+
readonly label: "Position in list";
|
|
99
|
+
readonly visibility: "advanced";
|
|
100
|
+
};
|
|
101
|
+
readonly tenantId: {
|
|
102
|
+
readonly visibility: "hidden";
|
|
103
|
+
};
|
|
104
|
+
readonly features: {
|
|
105
|
+
readonly visibility: "hidden";
|
|
106
|
+
};
|
|
107
|
+
readonly thresholds: {
|
|
108
|
+
readonly visibility: "hidden";
|
|
109
|
+
};
|
|
110
|
+
readonly externalProvider: {
|
|
111
|
+
readonly visibility: "hidden";
|
|
112
|
+
};
|
|
113
|
+
readonly providerProductId: {
|
|
114
|
+
readonly visibility: "hidden";
|
|
115
|
+
};
|
|
116
|
+
readonly providerPriceId: {
|
|
117
|
+
readonly visibility: "hidden";
|
|
118
|
+
};
|
|
119
|
+
readonly stripeProductId: {
|
|
120
|
+
readonly visibility: "hidden";
|
|
121
|
+
};
|
|
122
|
+
readonly stripePriceId: {
|
|
123
|
+
readonly visibility: "hidden";
|
|
124
|
+
};
|
|
125
|
+
readonly metadata: {
|
|
126
|
+
readonly visibility: "hidden";
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
readonly SubscriptionPlanVersion: {
|
|
131
|
+
readonly fields: {
|
|
132
|
+
readonly planId: {
|
|
133
|
+
readonly label: "Plan";
|
|
134
|
+
readonly order: 1;
|
|
135
|
+
};
|
|
136
|
+
readonly version: {
|
|
137
|
+
readonly label: "Version number";
|
|
138
|
+
readonly order: 2;
|
|
139
|
+
};
|
|
140
|
+
readonly effectiveFrom: {
|
|
141
|
+
readonly label: "In force from";
|
|
142
|
+
readonly order: 3;
|
|
143
|
+
};
|
|
144
|
+
readonly name: {
|
|
145
|
+
readonly order: 4;
|
|
146
|
+
};
|
|
147
|
+
readonly status: {
|
|
148
|
+
readonly order: 5;
|
|
149
|
+
};
|
|
150
|
+
readonly priceAmount: {
|
|
151
|
+
readonly label: "Price (in cents)";
|
|
152
|
+
readonly order: 6;
|
|
153
|
+
};
|
|
154
|
+
readonly currency: {
|
|
155
|
+
readonly order: 7;
|
|
156
|
+
};
|
|
157
|
+
readonly billingInterval: {
|
|
158
|
+
readonly label: "Billed every";
|
|
159
|
+
readonly order: 8;
|
|
160
|
+
};
|
|
161
|
+
readonly planKey: {
|
|
162
|
+
readonly label: "Plan code";
|
|
163
|
+
readonly visibility: "advanced";
|
|
164
|
+
};
|
|
165
|
+
readonly pricingMode: {
|
|
166
|
+
readonly label: "How it is priced";
|
|
167
|
+
readonly visibility: "advanced";
|
|
168
|
+
};
|
|
169
|
+
readonly minimumAmount: {
|
|
170
|
+
readonly label: "Minimum (in cents)";
|
|
171
|
+
readonly visibility: "advanced";
|
|
172
|
+
};
|
|
173
|
+
readonly suggestedAmount: {
|
|
174
|
+
readonly label: "Suggested (in cents)";
|
|
175
|
+
readonly visibility: "advanced";
|
|
176
|
+
};
|
|
177
|
+
readonly tenantId: {
|
|
178
|
+
readonly visibility: "hidden";
|
|
179
|
+
};
|
|
180
|
+
readonly features: {
|
|
181
|
+
readonly visibility: "hidden";
|
|
182
|
+
};
|
|
183
|
+
readonly thresholds: {
|
|
184
|
+
readonly visibility: "hidden";
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
};
|
|
188
|
+
readonly TenantSubscription: {
|
|
189
|
+
readonly fields: {
|
|
190
|
+
readonly planId: {
|
|
191
|
+
readonly label: "Plan";
|
|
192
|
+
readonly order: 1;
|
|
193
|
+
};
|
|
194
|
+
readonly status: {
|
|
195
|
+
readonly order: 2;
|
|
196
|
+
};
|
|
197
|
+
readonly startedAt: {
|
|
198
|
+
readonly label: "Started on";
|
|
199
|
+
readonly order: 3;
|
|
200
|
+
};
|
|
201
|
+
readonly currentPeriodStart: {
|
|
202
|
+
readonly label: "Current period starts";
|
|
203
|
+
readonly order: 4;
|
|
204
|
+
};
|
|
205
|
+
readonly currentPeriodEnd: {
|
|
206
|
+
readonly label: "Current period ends";
|
|
207
|
+
readonly order: 5;
|
|
208
|
+
};
|
|
209
|
+
readonly trialEndsAt: {
|
|
210
|
+
readonly label: "Trial ends";
|
|
211
|
+
readonly order: 6;
|
|
212
|
+
};
|
|
213
|
+
readonly cancelAtPeriodEnd: {
|
|
214
|
+
readonly label: "Cancel at end of period";
|
|
215
|
+
readonly order: 7;
|
|
216
|
+
};
|
|
217
|
+
readonly canceledAt: {
|
|
218
|
+
readonly label: "Cancelled on";
|
|
219
|
+
readonly visibility: "advanced";
|
|
220
|
+
};
|
|
221
|
+
readonly agreedAmount: {
|
|
222
|
+
readonly label: "Agreed amount (in cents)";
|
|
223
|
+
readonly visibility: "advanced";
|
|
224
|
+
};
|
|
225
|
+
readonly subscriberKind: {
|
|
226
|
+
readonly label: "Subscriber type";
|
|
227
|
+
readonly visibility: "advanced";
|
|
228
|
+
};
|
|
229
|
+
readonly subscriberExternalId: {
|
|
230
|
+
readonly label: "Outside subscriber";
|
|
231
|
+
readonly visibility: "advanced";
|
|
232
|
+
};
|
|
233
|
+
readonly planVersionId: {
|
|
234
|
+
readonly label: "Plan version";
|
|
235
|
+
readonly visibility: "advanced";
|
|
236
|
+
readonly locked: true;
|
|
237
|
+
};
|
|
238
|
+
readonly tenantId: {
|
|
239
|
+
readonly visibility: "hidden";
|
|
240
|
+
};
|
|
241
|
+
readonly planVersionPinnedAt: {
|
|
242
|
+
readonly visibility: "hidden";
|
|
243
|
+
};
|
|
244
|
+
readonly planVersionPinReason: {
|
|
245
|
+
readonly visibility: "hidden";
|
|
246
|
+
};
|
|
247
|
+
readonly planVersionPinNote: {
|
|
248
|
+
readonly visibility: "hidden";
|
|
249
|
+
};
|
|
250
|
+
readonly retainsPaidPeriod: {
|
|
251
|
+
readonly visibility: "hidden";
|
|
252
|
+
};
|
|
253
|
+
readonly externalProvider: {
|
|
254
|
+
readonly visibility: "hidden";
|
|
255
|
+
};
|
|
256
|
+
readonly stripeCustomerId: {
|
|
257
|
+
readonly visibility: "hidden";
|
|
258
|
+
};
|
|
259
|
+
readonly stripeSubscriptionId: {
|
|
260
|
+
readonly visibility: "hidden";
|
|
261
|
+
};
|
|
262
|
+
readonly stripeCheckoutSessionId: {
|
|
263
|
+
readonly visibility: "hidden";
|
|
264
|
+
};
|
|
265
|
+
readonly metadata: {
|
|
266
|
+
readonly visibility: "hidden";
|
|
267
|
+
};
|
|
268
|
+
};
|
|
269
|
+
};
|
|
270
|
+
readonly ClientCharge: {
|
|
271
|
+
readonly fields: {
|
|
272
|
+
readonly metricKey: {
|
|
273
|
+
readonly label: "What was used";
|
|
274
|
+
readonly order: 1;
|
|
275
|
+
};
|
|
276
|
+
readonly quantity: {
|
|
277
|
+
readonly label: "How much";
|
|
278
|
+
readonly order: 2;
|
|
279
|
+
};
|
|
280
|
+
readonly amount: {
|
|
281
|
+
readonly label: "Amount (in cents)";
|
|
282
|
+
readonly order: 3;
|
|
283
|
+
};
|
|
284
|
+
readonly currency: {
|
|
285
|
+
readonly order: 4;
|
|
286
|
+
};
|
|
287
|
+
readonly status: {
|
|
288
|
+
readonly order: 5;
|
|
289
|
+
};
|
|
290
|
+
readonly approvedAt: {
|
|
291
|
+
readonly label: "Approved on";
|
|
292
|
+
readonly order: 6;
|
|
293
|
+
};
|
|
294
|
+
readonly serviceKey: {
|
|
295
|
+
readonly label: "Service";
|
|
296
|
+
readonly visibility: "advanced";
|
|
297
|
+
};
|
|
298
|
+
readonly provider: {
|
|
299
|
+
readonly visibility: "advanced";
|
|
300
|
+
};
|
|
301
|
+
readonly tenantId: {
|
|
302
|
+
readonly visibility: "hidden";
|
|
303
|
+
};
|
|
304
|
+
readonly usageEventId: {
|
|
305
|
+
readonly visibility: "hidden";
|
|
306
|
+
};
|
|
307
|
+
readonly usageTenantId: {
|
|
308
|
+
readonly visibility: "hidden";
|
|
309
|
+
};
|
|
310
|
+
readonly subscriberKind: {
|
|
311
|
+
readonly visibility: "hidden";
|
|
312
|
+
};
|
|
313
|
+
readonly subscriberExternalId: {
|
|
314
|
+
readonly visibility: "hidden";
|
|
315
|
+
};
|
|
316
|
+
readonly projectId: {
|
|
317
|
+
readonly visibility: "hidden";
|
|
318
|
+
};
|
|
319
|
+
readonly workRefType: {
|
|
320
|
+
readonly visibility: "hidden";
|
|
321
|
+
};
|
|
322
|
+
readonly workRefId: {
|
|
323
|
+
readonly visibility: "hidden";
|
|
324
|
+
};
|
|
325
|
+
readonly pricingRuleId: {
|
|
326
|
+
readonly visibility: "hidden";
|
|
327
|
+
};
|
|
328
|
+
readonly priceBookId: {
|
|
329
|
+
readonly visibility: "hidden";
|
|
330
|
+
};
|
|
331
|
+
readonly pricingSnapshot: {
|
|
332
|
+
readonly visibility: "hidden";
|
|
333
|
+
};
|
|
334
|
+
};
|
|
335
|
+
};
|
|
336
|
+
};
|
|
337
|
+
}
|
|
338
|
+
//# sourceMappingURL=recipes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recipes.d.ts","sourceRoot":"","sources":["../src/recipes.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEpE;;;;;GAKG;AACH,qBAAa,uBAAwB,SAAQ,UAAU;IACrD,MAAM,CAAC,EAAE,SAAyB;IAClC,MAAM,CAAC,IAAI,SAAuB;IAClC,MAAM,CAAC,KAAK,SAAmB;IAC/B,MAAM,CAAC,OAAO,SACwE;IACtF,MAAM,CAAC,QAAQ,WAOb;IACF,MAAM,CAAC,OAAO;;;;;MAKZ;IACF,MAAM,CAAC,MAAM,iHAKX;IACF,MAAM,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;SAgCR;IACF,MAAM,CAAC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAmHH;CACZ"}
|